1 2012-12-11 Alan Mackenzie <acm@muc.de>
3 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5 around `forward-comment' not recognizing ^M as whitespace.
7 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
9 * progmodes/python.el (python-skeleton-class)
10 (python-skeleton-def): Do not add space after defun name.
12 2012-12-09 Chong Yidong <cyd@gnu.org>
14 * simple.el (set-mark-default-inactive): Mark as obsolete, for
17 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
19 * simple.el (just-one-space): Doc fix.
21 2012-12-07 Eli Zaretskii <eliz@gnu.org>
23 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
26 2012-12-07 Le Wang <l26wang@gmail.com>
28 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
29 narrowed buffer (bug#12361).
31 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
33 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
34 Virtually backported from trunk.
36 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
38 * vc/vc-hooks.el (vc-state): Doc fix.
40 2012-12-06 Glenn Morris <rgm@gnu.org>
42 * mail/rmail.el (rmail-maybe-display-summary):
43 Preserve buffer, in case select-window changes it. (Bug#13066)
45 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
47 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
48 cl-load-hook where they belong.
50 2012-12-06 Chong Yidong <cyd@gnu.org>
52 * ffap.el (ffap-replace-file-component): Fix typo.
54 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
56 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
57 fix open-paren-like token test (bug#12785).
59 2012-12-04 Glenn Morris <rgm@gnu.org>
61 * mail/rmailsum.el (rmail-new-summary): Tweak for
62 rmail-maybe-display-summary changing buffer. (Bug#13066)
64 2012-12-03 Juri Linkov <juri@jurta.org>
66 * info.el (Info-fontify-node): Don't hide the last newline.
69 2012-12-01 Leo Liu <sdl.web@gmail.com>
71 * files.el (dir-locals-read-from-file): Check file non-empty
72 before reading. (Bug#13038)
74 2012-11-28 Glenn Morris <rgm@gnu.org>
76 * jka-cmpr-hook.el (jka-compr-get-compression-info):
77 Remove any version extension before checking filename. (Bug#13006)
78 (jka-compr-compression-info-list): Belated :version bump.
80 2012-11-28 Chong Yidong <cyd@gnu.org>
82 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
84 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
85 (buffer-menu): Doc fix (Bug#12294).
87 2012-11-27 Roland Winkler <winkler@gnu.org>
89 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
90 of diary-show-all-entries in the diary buffer (Bug#12994).
92 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
94 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
95 "<STDIN>". This is binary safe.
97 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
99 * textmodes/table.el (table-insert): Don't use `symbol-name' on
100 lexically scoped variables (bug#13005).
102 2012-11-26 Glenn Morris <rgm@gnu.org>
104 * vc/vc-hooks.el (vc-mistrust-permissions):
105 Default to t, to avoid data-loss. (Bug#11490)
107 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
109 * progmodes/python.el (python-indent-guess-indent-offset):
110 If indentation is guessed make python-indent-offset buffer-local.
112 Fix Imenu regression.
113 * progmodes/python.el (python-nav-beginning-of-defun):
114 Fix forward movement when statement(s) separates point from defun.
115 (python-imenu-prev-index-position): New function.
117 2012-11-26 Eli Zaretskii <eliz@gnu.org>
119 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
121 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
122 Don't set buffer-file-type. Return nil. (Bug#12989)
124 2012-11-26 Glenn Morris <rgm@gnu.org>
126 * hippie-exp.el (hippie-expand-try-functions-list):
127 Re-autoload it. (Bug#12982)
129 2012-11-25 Eli Zaretskii <eliz@gnu.org>
131 * descr-text.el (describe-char-padded-string):
132 Call internal-char-font only on GUI frames. (Bug#11964)
134 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
136 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
137 and obsoletion message.
139 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
141 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
142 the constructs to keep outside of the `cl-block' (bug#12977).
144 2012-11-24 Chong Yidong <cyd@gnu.org>
146 * mouse.el (mouse-drag-line): Even if the line is not draggable,
147 keep reading until we get the up-event anyway, in order to process
148 the up-event for mouse-1-click-follows-link (Bug#12971).
150 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
152 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
153 lexical-binding (bug#12938).
155 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
157 * image-mode.el (image-transform-check-size): Use assertions only
158 for images of type imagemagick.
160 Otherwise no error, image-transform-fit-to-{width,height} is
161 silently ignored, as before. Doc fix.
163 2012-11-23 Chong Yidong <cyd@gnu.org>
165 * faces.el (color-defined-p): Doc fix (Bug#12853).
167 2012-11-23 Juri Linkov <juri@jurta.org>
169 * dired.el (dired-mark): Add optional arg `interactive'.
170 Check for `use-region-p' if `interactive' is non-nil.
171 (dired-unmark, dired-flag-file-deletion): Add optional arg
172 `interactive'. Call `dired-mark' with the arg `interactive'.
175 2012-11-23 Juri Linkov <juri@jurta.org>
177 * wdired.el: Revert 2012-10-17 change partly and replace it with
178 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
179 (wdired-finish-edit): Add marks for new file names to
180 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
181 after `revert-buffer'.
182 (wdired-do-renames): Remove calls to `dired-remove-file',
183 `dired-add-file', `dired-add-entry'. (Bug#11795)
185 2012-11-21 Alan Mackenzie <acm@muc.de>
187 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
189 Fix bugs in the state cache. Enhance a debugging mechanism.
190 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
191 "brace at column zero" strategy for C++.
192 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
193 (c-parse-state-point): New variable.
194 (c-record-parse-state-state): Record old parse state with
195 `copy-tree'. Record previous value of point.
196 (c-debug-parse-state-double-cons): New debugging function.
197 (c-debug-parse-state): Call the above new function.
198 (c-toggle-parse-state-debug): Output a confirmatory message.
200 * progmodes/cc-mode.el (c-before-change, c-after-change):
201 Call c-invalidate-state-cache from `c-before-change' instead of
204 2012-11-20 Daniel Colascione <dancol@dancol.org>
206 * term/w32-win.el (cygwin-convert-path-from-windows):
207 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
208 This change is a backport from trunk.
210 2012-11-20 Eli Zaretskii <eliz@gnu.org>
212 * simple.el (line-move): Don't call line-move-partial if
213 scroll-conservatively is in effect. (Bug#12927)
215 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
217 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
218 order to distinguish from trunk.
220 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
222 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
223 non-symbols for compiler macros (yet).
225 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
226 Fallback on completion-at-point rather than
227 pcomplete-expand-and-complete, and only if pcomplete actually failed.
228 (eshell-cmpl-initialize): Setup completion-at-point.
230 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
232 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
234 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
237 are remote, check out-of-band property for both.
239 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
241 * window.el (switch-to-buffer): Re-add the warning that was lost in the
244 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
246 More minor time fixes.
247 * calendar/time-date.el: Commentary fix.
248 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
249 too much other code depends on (0 0) time stamps.
250 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
251 Add a couple of FIXME comments.
253 Minor cleanup for times as lists of four integers.
254 * files.el (dir-locals-directory-cache):
255 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
257 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
258 * ps-bdf.el (bdf-file-newer-than-time):
259 Process four-integers time stamps, not two. Doc fixes.
261 2012-11-18 Glenn Morris <rgm@gnu.org>
263 * image.el (insert-image, insert-sliced-image): Doc fix.
265 2012-11-17 Chong Yidong <cyd@gnu.org>
267 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
270 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
272 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
273 response when the target file is in a subdirectory (Bug#12757).
275 2012-11-17 Chong Yidong <cyd@gnu.org>
277 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
279 2012-11-17 Glenn Morris <rgm@gnu.org>
281 * woman.el (woman-non-underline-faces):
282 * emacs-lisp/cl-lib.el (face-underline-p):
283 Use set-face-underline rather than the alias set-face-underline-p.
285 * window.el (with-temp-buffer-window): Doc fix.
286 * subr.el (with-output-to-temp-buffer):
287 Add doc xref to with-temp-buffer-window.
289 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
291 * emacs-lisp/cl-lib.el: Set more meaningful version number.
293 2012-11-16 Martin Rudalics <rudalics@gmx.at>
295 * window.el (enlarge-window, shrink-window): Don't mention return
296 value in doc-string (Bug#12896).
297 (window--display-buffer): Don't resize frames - it won't work
298 with all window managers and defeat pop-up-frame-alist.
299 (display-buffer-alist): In doc-string explain that CONDITION can
300 be a function and which arguments are passed to it (Bug#12854).
301 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
302 expressions (Bug#12854).
303 (display-buffer): Pass ACTION argument to
304 display-buffer-assq-regexp.
306 2012-11-16 Glenn Morris <rgm@gnu.org>
308 * window.el (fit-frame-to-buffer-bottom-margin)
309 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
311 * faces.el (face-underline-p): Use face-attribute-specified-or.
313 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
315 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
317 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
319 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
321 2012-11-15 Glenn Morris <rgm@gnu.org>
323 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
324 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
326 * faces.el (face-underline-p): Doc fix. Handle :underline being
327 things other than `t' (a string, a list).
328 (face-inverse-video-p): Doc fix.
329 (set-face-underline): Rename it back from set-face-underline-p.
330 Doc fix. Allow interactive input of values other than t.
331 (read-face-attribute): Apply formatting to :underline,
332 since like :box and :stipple it can take list values.
334 * term.el (ansi-term): Don't let C-x escape-char binding
335 clobber the more standard C-c binding. (Bug#12842)
337 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
339 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
342 2012-11-14 Glenn Morris <rgm@gnu.org>
344 * subr.el (set-temporary-overlay-map): Doc fix.
346 2012-11-13 Martin Rudalics <rudalics@gmx.at>
348 * window.el (record-window-buffer)
349 (display-buffer-record-window): When copying the markers to
350 window-point preserve window-point-insertion-type. (Bug#12588)
352 2012-11-13 Glenn Morris <rgm@gnu.org>
354 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
355 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
356 Use new names for hooks rather than obsolete aliases.
358 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
360 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
362 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
364 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
365 39 and 49. This fixes bug#12792. Also, treat unimplemented
366 parameters as 0, thereby restoring the behavior of revisions prior
367 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
369 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
371 Fix end-of-defun misbehavior.
372 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
373 python-beginning-of-defun-function. Handle nested defuns
375 (python-nav-end-of-defun): Rename from
376 python-end-of-defun-function. Ensure forward movement.
377 (python-info-current-defun): Reimplement to work as intended
378 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
379 parent defuns as soon as possible.
381 2012-11-12 Glenn Morris <rgm@gnu.org>
383 * progmodes/flymake.el (flymake-error-bitmap)
384 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
385 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
387 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
389 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
390 backward, always stop at indentation. Reverts the change from
391 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
393 2012-11-11 Glenn Morris <rgm@gnu.org>
395 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
396 Add ibuffer-filter-by-derived-mode.
398 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
399 the same name shadowing each other.
401 * window.el (with-temp-buffer-window): Doc tweak.
403 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
405 * help.el (temp-buffer-max-height):
406 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
407 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
409 2012-11-10 Leo Liu <sdl.web@gmail.com>
411 * ido.el (ido-set-matches-1): Fix split-string args to avoid
412 performance issue. (Bug#12796)
414 2012-11-10 Glenn Morris <rgm@gnu.org>
416 * term.el (term-default-fg-color, term-default-bg-color):
417 Make obsolete, rather than just saying "deprecated" in the doc.
419 * term.el (term): Rename from `term-face'.
420 (term-current-face, ansi-term-color-vector)
421 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
424 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
426 * server.el (server-create-window-system-frame): Improve comment.
428 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
430 * server.el (server-create-window-system-frame): Handle Nextstep
431 specially (Bug#12780).
433 2012-11-08 Glenn Morris <rgm@gnu.org>
435 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
436 Unautoload, and make obsolete. (Bug#7449)
438 2012-11-08 Chong Yidong <cyd@gnu.org>
440 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
441 rename from diff-remove-trailing-whitespace (Bug#12831).
443 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
445 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
446 miscompilation of trace.el.
448 2012-11-08 Glenn Morris <rgm@gnu.org>
450 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
452 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
454 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
457 2012-11-07 Chong Yidong <cyd@gnu.org>
459 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
460 a defcustom with an appropriate :set function.
461 (minibuffer-default--in-prompt-regexps): New function.
463 2012-11-07 Glenn Morris <rgm@gnu.org>
465 * emacs-lisp/cl.el (define-setf-expander, defsetf)
466 (define-modify-macro): Doc fixes.
468 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
469 (gv-define-simple-setter): Update doc of `fix-return'.
471 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
473 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
474 twice when `fix-return' is set (bug#12813).
476 * emacs-lisp/cl.el (defsetf): Pass the third arg to
477 gv-define-simple-setter (bug#12812).
479 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
481 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
484 2012-11-06 Glenn Morris <rgm@gnu.org>
486 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
488 2012-11-05 Glenn Morris <rgm@gnu.org>
490 * emacs-lisp/cl-extra.el (cl-prettyexpand):
491 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
492 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
493 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
495 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
497 2012-11-03 Glenn Morris <rgm@gnu.org>
499 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
500 Rename handler properties back from cl-- to cl-. (Bug#12788)
502 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
504 2012-11-03 Eli Zaretskii <eliz@gnu.org>
506 * term/pc-win.el: Don't load term/internal from here.
508 * loadup.el: Load term/internal from here.
510 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
512 * progmodes/python.el (inferior-python-mode): Fix hang in
513 jit-lock (Bug#12645).
515 2012-11-03 Martin Rudalics <rudalics@gmx.at>
517 * window.el (switch-to-visible-buffer)
518 (switch-to-buffer-preserve-window-point): Fix doc-strings.
520 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
522 * play/gomoku.el (gomoku-display-statistics): Update mode line
523 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
525 2012-10-31 Martin Rudalics <rudalics@gmx.at>
527 * window.el (quit-restore-window): If the window has been
528 created on an existing frame and ended up as the sole window on
529 that frame, do not delete it (Bug#12764).
531 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
533 * progmodes/sh-script.el (sh--inside-noncommand-expression):
534 Rename from sh--inside-arithmetic-expression, handle more cases
537 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
538 (sh-font-lock-open-heredoc): Use it (bug#12770).
540 2012-10-30 Glenn Morris <rgm@gnu.org>
542 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
544 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
546 2012-10-29 Chong Yidong <cyd@gnu.org>
548 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
549 function key is stored in a keyboard macro (Bug#4894).
551 * thingatpt.el (number-at-point): Apply a thing-at-point property.
553 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
555 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
557 (diff-unified->context, diff-context->unified)
558 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
560 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
562 * files.el (find-alternate-file): Only ask one question (bug#12487).
564 2012-10-29 Chong Yidong <cyd@gnu.org>
566 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
567 Suggested by Dan Nicolaescu (Bug#6326).
569 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
571 * startup.el (fancy-about-screen): Don't message (Bug#12680).
573 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
575 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
577 * face-remap.el (face-remap-add-relative): Handle the case where a
578 face-remapping-alist entry is a cons cell (Bug#12762).
580 2012-10-29 Kevin Ryde <user42@zip.com.au>
582 * woman.el (woman-parse-numeric-value): Handle picas correctly
585 2012-10-29 Glenn Morris <rgm@gnu.org>
587 * emacs-lisp/cl.el (defsetf): Doc fix.
589 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
591 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
592 syntax to the matching opener, if any (bug#12547).
593 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
594 matching open as a "case-(".
595 (sh-smie-rc-grammar): Add a corresponding rule for it.
597 2012-10-28 Daniel Hackney <dan@haxney.org>
599 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
600 "PKGNAME-autoloads.el" in case we created it.
602 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
604 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
605 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
606 (completion--twq-all): Disable too-strict assertions.
608 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
610 2012-10-27 Eli Zaretskii <eliz@gnu.org>
612 * profiler.el (profiler-report-make-entry-part): Fix help-echo
613 text to match the real keybindings.
615 2012-10-27 Juri Linkov <juri@jurta.org>
617 * wdired.el (wdired-keep-marker-rename): New defcustom.
618 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
621 * dired.el (dired-keep-marker-rename): Add reference to
622 `wdired-keep-marker-rename' in the docstring.
623 Add default character value ?R to display initially in
624 Customization UI instead of ?@.
626 2012-10-27 Martin Rudalics <rudalics@gmx.at>
628 * window.el (display-buffer): In doc-string describe
629 window-height and window-width alist entries.
631 * time.el (display-time-world): Restore fit-window-to-buffer
634 2012-10-27 Chong Yidong <cyd@gnu.org>
636 * subr.el (insert-buffer-substring-as-yank): Doc fix.
638 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
640 * minibuffer.el (completion-category-overrides): New completion
641 category `bookmark' (bug#11131).
643 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
645 * emacs-lisp/advice.el (ad-assemble-advised-definition):
646 Silence bogus compiler warnings for ad-do-it.
648 * bookmark.el (bookmark-completing-read): Set the completion category
649 to `bookmark' (bug#11131).
651 2012-10-26 Bastien <bzg@altern.org>
652 Stefan Monnier <monnier@iro.umontreal.ca>
654 * face-remap.el: Use lexical-binding.
655 (text-scale-adjust): Improve docstring. Use itself for the temporary
656 overlay-map bindings, so as to repeat the "Use..." message each time.
658 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
660 * emacs-lisp/macroexp.el (macroexp--expand-all):
661 Obey byte-compile-warning-enabled-p (bug#12486).
663 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
664 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
666 2012-10-26 Martin Rudalics <rudalics@gmx.at>
668 * mouse.el (mouse-drag-line): Move last form into preceding when
671 * help.el (resize-temp-buffer-window): Fix doc-string.
673 2012-10-25 David Engster <deng@randomsample.de>
675 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
676 Remove. This feature is already integrated in imenu.
678 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
679 always loaded. Require `speedbar' unconditionally.
681 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
683 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
685 * minibuffer.el (minibuffer-force-complete): Fix thinko.
687 * net/ldap.el (ldap-search-internal): The official ldif format starts
688 with a "version: 1" header (bug#12724).
690 * emacs-lisp/package.el (package-installed-p): Warn if not ready
693 2012-10-25 Glenn Morris <rgm@gnu.org>
695 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
697 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
699 * minibuffer.el (minibuffer-force-complete): Use one more marker
700 for the temporary-overlay-map command (bug#12619).
702 2012-10-24 Chong Yidong <cyd@gnu.org>
704 * time.el (display-time-world-mode): Derive from special-mode.
705 (display-time-world): Use display-buffer (Bug#12708).
706 (display-time-world-mode-map): Variable deleted.
707 (display-time-world-display): Wrap the final delete-char inside
710 2012-10-24 Chong Yidong <cyd@gnu.org>
712 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
715 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
717 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
719 * minibuffer.el (completion--all-sorted-completions-location): New var.
720 (completion--cache-all-sorted-completions)
721 (completion--flush-all-sorted-completions): Use it.
722 (completion-in-region, completion-in-region--postch)
723 (completion-at-point, completion-help-at-point): Use markers in
724 completion-in-region--data (bug#12619).
726 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
728 * progmodes/compile.el (compilation-start): Try to handle common
729 quoting of `cd' argument (bug#12640).
731 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
734 2012-10-23 Glenn Morris <rgm@gnu.org>
736 * progmodes/gud.el (gud-menu-map):
737 Check gdb-active-process is bound. (Bug#12358)
739 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
741 * repeat.el (repeat): Set real-this-command (bug#12232).
743 * htmlfontify.el (hfy-post-html-hook):
744 * filesets.el (filesets-cache-fill-content-hook):
745 * arc-mode.el (archive-extract-hook):
746 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
747 * net/rcirc.el (rcirc-sentinel-functions)
748 (rcirc-receive-message-functions, rcirc-activity-functions)
749 (rcirc-print-functions):
750 * net/dbus.el (dbus-event-error-functions):
751 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
752 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
753 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
754 * term/sun.el (sun-raw-prefix-hooks):
755 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
757 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
759 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
760 Set `tramp-chunksize' to 1. This improves the performance.
761 (tramp-smb-wait-for-output): Add timeout to
762 `tramp-accept-process-output' calls.
764 2012-10-23 Chong Yidong <cyd@gnu.org>
766 * faces.el (font-list-limit): Define as an obsolete variable.
768 * startup.el (command-line):
769 * cus-start.el: Don't refer to font-list-limit.
771 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
773 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
775 * subr.el (internal-temp-output-buffer-show): Rename from
776 temp-output-buffer-show, since previously compiled files expect this name.
778 2012-10-23 Glenn Morris <rgm@gnu.org>
780 * image.el (image-type-from-file-name): If multiple types match,
781 return the first one that is supported. (Bug#9045)
783 2012-10-22 Glenn Morris <rgm@gnu.org>
785 * image.el (imagemagick-enabled-types): Doc fix.
787 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
789 * progmodes/which-func.el (which-func-current): The hash-table may have
790 an explicit nil (bug#12338).
792 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
794 * electric.el (electric-pair-delete-selection-self-insert-function):
795 Rename to electric-pair-will-use-region, return a boolean.
796 (electric-pair-mode): Adjust accordingly. Don't require delsel.
798 * delsel.el (delete-selection-helper): Use a function instead of a hook.
799 (delete-selection-pre-hook): Use use-region-p.
800 (delete-selection-self-insert-function): Remove.
801 (self-insert-command): Obey self-insert-uses-region-functions.
802 (self-insert-iso): Revert to previous setting, since we don't actually
803 know what that command does.
804 (delete-selection-self-insert-hooks): Remove.
806 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
808 * delsel.el (delete-selection-helper): New function, extracted from
809 delete-selection-pre-hook.
810 (delete-selection-pre-hook): Use it.
811 (delete-selection-self-insert-function): New function.
812 (delete-selection-self-insert-hooks): New hook.
813 (self-insert-command, self-insert-iso): Use it.
814 * electric.el (electric-pair-syntax): New function, extracted from
815 electric-pair-post-self-insert-function.
816 (electric-pair-post-self-insert-function): Use it.
817 (electric-pair-delete-selection-self-insert-function): New function.
818 (electric-pair-mode): Require delsel and setup
819 delete-selection-self-insert-hooks (bug#11520).
821 2012-10-20 Chong Yidong <cyd@gnu.org>
823 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
824 no changes to show (Bug#12586).
826 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
827 list explicitly (Bug#12571).
829 2012-10-20 Arne Jørgensen <arne@arnested.dk>
831 * progmodes/flymake.el (flymake-create-temp-inplace):
834 2012-10-20 Eli Zaretskii <eliz@gnu.org>
836 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
838 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
840 * calc/calc-units.el (math-extract-units): Properly extract powers
843 2012-10-20 Daniel Colascione <dancol@dancol.org>
845 * frame.el (make-frame): Set x-display-name as we used to in order
846 to unbreak creating an X11 frame from an Emacs daemon started
849 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
851 * minibuffer.el (minibuffer-force-complete): Make the next completion use
852 the same completion-field (bug@12221).
854 2012-10-19 Martin Rudalics <rudalics@gmx.at>
856 * emacs-lisp/debug.el (debug): Record height of debugger window
857 also when debugger will be back (Bug#8789).
859 2012-10-18 Chong Yidong <cyd@gnu.org>
861 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
862 Convert to defcustom.
863 (gdb-get-source-file): Don't bind pop-up-windows.
865 * progmodes/gud.el (gud-display-line): Don't specially re-use
866 other frames for the gdb-mi case (Bug#12648).
868 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
870 * emacs-lisp/advice.el: Clean up commentary a bit.
871 (ad-do-advised-functions, ad-with-originals): Use `declare'.
872 (byte-code-function-p): Never redefine.
874 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
876 2012-10-18 Glenn Morris <rgm@gnu.org>
878 * dired.el (dired-sort-toggle): Some ls implementations only allow
879 a single option string. (Bug#12666)
881 * minibuffer.el (completion-cycle-threshold): Doc fix.
883 2012-10-17 Kenichi Handa <handa@gnu.org>
885 * international/mule.el (set-keyboard-coding-system):
886 Recover input meta mode when the new coding system doesn not use 8-bit.
887 Supply TERMINAL arg to set-input-meta-mode.
889 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
891 * wdired.el (wdired-old-marks): New variable.
892 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
893 (wdired-do-renames): Move point with renamed file and don't lose
894 mark status (Bug#11795).
896 2012-10-16 Juri Linkov <juri@jurta.org>
898 * replace.el (query-replace-help): Mention multi-buffer replacement
899 keys in the Help message. (Bug#12655)
901 2012-10-15 Chong Yidong <cyd@gnu.org>
903 * emacs-lisp/byte-run.el (defsubst): Doc fix.
905 2012-10-14 Eli Zaretskii <eliz@gnu.org>
907 * window.el (display-buffer): Doc fix.
909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
910 Adjust the msft regexp to the output of Studio 2010, and move msft
911 before edg-1. See the discussion on emacs-devel,
912 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
915 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
917 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
918 (oset): Move uses of object-class-fast macro after its definition.
920 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
922 2012-10-13 Chong Yidong <cyd@gnu.org>
924 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
925 enabled, re-enable it (Bug#11963).
927 2012-10-13 Martin Rudalics <rudalics@gmx.at>
929 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
930 non-nil, restore window configuration (Bug#12623).
932 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
934 * help-fns.el (describe-variable, describe-function-1):
935 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
937 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
939 2012-10-12 Glenn Morris <rgm@gnu.org>
941 * mail/rmailsum.el (rmail-header-summary):
942 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
944 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
946 * progmodes/python.el (python-mode-map):
947 Replace subtitute-key-definition with proper command remapping.
948 (python-nav--up-list): Fix behavior for blocks on the same level.
950 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
952 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
954 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
955 changes to the format of load-history.
957 * international/mule-cmds.el (read-char-by-name): Move let-binding of
958 completion-ignore-case in case that var is buffer-local (bug#12615).
960 2012-10-11 Kenichi Handa <handa@gnu.org>
962 * international/eucjp-ms.el: Re-generated.
964 2012-10-10 Kenichi Handa <handa@gnu.org>
966 * select.el (xselect--encode-string): If a coding is specified for
967 selection, and that is compatible with COMPOUND_TEXT, use it.
969 2012-10-10 Martin Rudalics <rudalics@gmx.at>
971 * window.el (switch-to-buffer-preserve-window-point): New option.
973 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
975 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
977 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
978 Don't document nil as a useful value (bug#12583).
980 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
982 * net/tramp.el (tramp-debug-message):
983 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
984 (with-tramp-progress-reporter): Rename from
985 `tramp-with-progress-reporter'.
986 (with-tramp-file-property, with-tramp-connection-property):
987 Move from tramp-cache.el, rename from `with-file-property' and
988 `with-connection-property', respectively.
990 * net/tramp-cache.el: Remove `with-file-property' and
991 `with-connection-property'.
996 * net/tramp-smb.el: Adapt callees.
998 * net/trampver.el: Update release number.
1000 2012-10-09 Glenn Morris <rgm@gnu.org>
1002 * w32-fns.el (set-message-beep):
1003 * term/w32-win.el (set-message-beep): Update declarations.
1005 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1008 (mode-line-widen, mode-line-input-method-map)
1009 (mode-line-coding-system-map, mode-line-remote)
1010 (mode-line-unbury-buffer, mode-line-bury-buffer)
1011 (mode-line-next-buffer, mode-line-previous-buffer):
1012 Replace save-selected-window+select-window => with-selected-window.
1014 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1015 * progmodes/cc-vars.el (bq-process): Remove, unused.
1017 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1019 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1021 Implemented `backward-up-list'-like navigation.
1022 * progmodes/python.el (python-nav-up-list)
1023 (python-nav-backward-up-list): New functions.
1024 (python-mode-map): Define substitute key for backward-up-list to
1025 python-nav-backward-up-list.
1027 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1029 * progmodes/python.el (python-fill-paragraph): Rename from
1030 python-fill-paragraph-function. Fixed fill-paragraph for
1031 decorators (Bug#12605).
1033 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1035 * progmodes/python.el (python-shell-output-filter): Handle extra
1036 carriage return in OSX (Bug#12409).
1038 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1040 Fix shell handling of unbalanced quotes and parens in output.
1041 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1042 (python-syntax-propertize-function): Use it.
1043 (python-shell-output-syntax-table): New var.
1044 (inferior-python-mode): Prevent unbalanced parens/quotes from
1045 previous output mess with current input context.
1047 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1049 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1050 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1052 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1054 * ffap.el (ffap-replace-file-component): Support Tramp file name
1055 syntax, not only ange-ftp's one.
1057 2012-10-08 Glenn Morris <rgm@gnu.org>
1059 * cus-start.el (message-log-max): Set :version.
1061 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1063 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1065 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1066 the minibuffer window (Bug#10851).
1068 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1070 Enhancements on forward-sexp movement.
1071 * progmodes/python.el (python-nav-beginning-of-statement)
1072 (python-nav-end-of-statement): Return point-marker.
1073 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1074 (python-info-current-symbol)
1075 (python-info-statement-starts-block-p): Rename from
1076 python-info-beginning-of-block-p.
1077 (python-info-statement-ends-block-p): Rename from
1078 python-info-end-of-block-p.
1079 (python-info-beginning-of-statement-p)
1080 (python-info-end-of-statement-p)
1081 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1084 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1087 frame-selected-windows.
1089 2012-10-08 Daniel Colascione <dancol@dancol.org>
1091 * battery.el (battery-status-function): Check for
1092 w32-battery-status itself, not system-time windows-nt.
1094 * frame.el: Require cl-lib.
1095 (display-format-alist): New variable mapping frame types to
1096 functions that initialize them.
1097 (window-system-for-display): New function: interprets
1098 display-format-alist.
1099 (make-frame-on-display): Remove existing display-selection logic
1100 and just forward to make-frame, which will now DTRT.
1101 (make-frame): Restructure to use window-system-for-display to
1102 figure out how to create a frame on a given display.
1103 (display-mouse-p): Look for frame-type w32, not a particular
1106 * loadup.el: Load w32 lisp code when we have the w32 feature.
1108 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1109 system-type windows-nt.
1111 * server.el (server-create-window-system-frame): Look for window
1113 (server-proces-filter): Only force a window system when windows-nt
1114 _and_ w32. Explain why.
1116 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1117 of window systems we configure for the mode.
1119 * startup.el (command-line): Mark window system is initialized
1120 after we've done it.
1122 * common-win.el (x-select-text): Look for w32, not windows-nt.
1124 * ns-win.el: Require cl-lib. Add ourselves to
1125 display-format-alist.
1126 (ns-initialize-window-system): Assert we're not initialized twice.
1128 * w32-win.el: Enable lexical binding; require cl-lib; add
1129 ourselves to display-format-alist.
1130 (w32-handle-dropped-file): Convert incoming dropped files from
1131 Windows paths to Cygwin ones before passing them on to the rest of
1133 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1134 (w32-initialize-window-system): Assert we're not initialized twice.
1136 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1137 (x-initialize-window-system): Assert we're not initialized twice.
1139 * w32-common-fns.el: New File.
1140 (w32-version, w32-using-nt, w32-get-clipboard-data)
1141 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1142 (w32-charset-info-alist, x-last-selected, text)
1143 (x-get-selection-value, x-selection-value): Move here.
1145 * w32-fns.el: Require w32-common-fns.
1146 (w32-version, w32-using-nt, w32-get-clipboard-data)
1147 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1148 (w32-charset-info-alist, x-last-selected, text)
1149 (x-get-selection-value, x-selection-value): Move to
1153 (w32-allow-system-shell, w32-system-shells): Define only in
1156 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1159 (read-passwd): Remove a few more potential sources of leaks.
1161 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1163 * progmodes/python.el (inferior-python-mode)
1164 (python-shell-make-comint): Fix initialization of local
1165 variables copied from parent buffer.
1167 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1169 * term/ns-win.el (ns-read-file-name): Update declaration to match
1171 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1172 it is set when font is acted upon.
1174 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1176 Enhancements to indentation.
1177 * progmodes/python.el (python-indent-context): Give priority to
1178 inside-string context. Make comments indentation markers.
1179 (python-indent-region): Do not mess with strings, unless it's the
1180 enclosing set of quotes.
1182 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * window.el (internal--before-save-selected-window)
1185 (internal--after-save-selected-window): New functions extracted from
1186 save-selected-window. Make sure we return the `alist' we construct.
1187 (save-selected-window): Use them.
1189 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1190 Use with-selected-window.
1192 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1193 forms that define macros (bug#12593).
1195 2012-10-07 Kenichi Handa <handa@gnu.org>
1197 * international/mule-conf.el (compound-text-with-extensions):
1198 Add :mime-charset property as x-ctext.
1200 2012-10-07 Stefan Merten <smerten@oekonux.de>
1202 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1203 (rst-indent-literal-normal, rst-indent-literal-minimized)
1204 (rst-indent-comment): Correct :version tag.
1205 (rst-official-cvs-rev): Correct version string.
1207 2012-10-07 Glenn Morris <rgm@gnu.org>
1209 * mail/rmailmm.el (rmail-mime-process-multipart):
1210 Do not confuse a multipart message with an epilogue
1211 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1213 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1215 Fix shell output retrieval and comint-prompt-regexp init.
1216 * progmodes/python.el (inferior-python-mode):
1217 (python-shell-make-comint): Fix initialization of
1218 comint-prompt-regexp from copied file local variables.
1219 (python-shell-fetched-lines): Remove var.
1220 (python-shell-output-filter-in-progress): Rename from
1221 python-shell-fetch-lines-in-progress.
1222 (python-shell-output-filter-buffer): Rename from
1223 python-shell-fetch-lines-string.
1224 (python-shell-fetch-lines-filter): Delete function.
1225 (python-shell-output-filter): New function.
1226 (python-shell-send-string-no-output): Use them.
1228 2012-10-07 Glenn Morris <rgm@gnu.org>
1230 * hi-lock.el (hi-lock-process-phrase):
1231 Try to make it less fragile. (Bug#7161)
1233 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1235 2012-10-06 Glenn Morris <rgm@gnu.org>
1237 * ehelp.el (electric-help-mode): Use help-mode rather than
1238 non-existent mode `help'.
1239 (electric-help-map): Use button-buffer-map. (Bug#10917)
1241 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1242 (reftex-create-bibtex-footer): Fix custom types.
1244 * progmodes/sh-script.el (sh-indent-after-continuation):
1245 Add explicit :group.
1247 * textmodes/rst.el (rst-preferred-decorations)
1248 (rst-shift-basic-offset): Clarify obsolescence versions.
1250 * profiler.el (profiler): Add missing group :version tag.
1251 * avoid.el (mouse-avoidance-banish-position):
1252 * proced.el (proced-renice-command):
1253 * calc/calc.el (calc-ensure-consistent-units):
1254 * calendar/icalendar.el (icalendar-import-format-uid):
1255 * net/tramp.el (tramp-save-ad-hoc-proxies):
1256 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1257 * progmodes/flymake.el (flymake-error-bitmap)
1258 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1259 * progmodes/sh-script.el (sh-indent-after-continuation):
1260 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1261 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1262 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1263 (vhdl-array-index-record-field-in-sensitivity-list)
1264 (vhdl-indent-comment-like-next-code-line):
1265 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1266 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1267 (reftex-cite-key-separator, reftex-create-bibtex-header)
1268 (reftex-create-bibtex-footer):
1269 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1270 (rst-indent-literal-normal, rst-indent-literal-minimized)
1271 (rst-indent-comment): Add missing custom :version tags.
1273 * calendar/timeclock.el (timeclock-modeline-display):
1274 Add missing obsolete alias for renamed user option.
1276 * strokes.el (strokes-modeline-string):
1277 * emulation/crisp.el (crisp-mode-modeline-string):
1278 * eshell/esh-mode.el (eshell-status-in-modeline):
1279 Aliases to defcustoms must come before the defcustom.
1281 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1282 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1283 (cal-tex-cursor-week-monday): Doc fixes.
1284 (cal-tex-cursor-week2-summary): Doc fix.
1285 Rename from cal-tex-cursor-week-at-a-glance.
1287 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1288 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1290 * calendar/calendar.el (calendar-mode-map):
1291 Add cal-tex-cursor-week2-summary.
1293 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1297 * subr.el (read-passwd-map): New var.
1298 (read-passwd): Use `read-string' again.
1299 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1301 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1303 * register.el (append-to-register, prepend-to-register):
1304 Deactivate mark, as does `copy-to-register' (bug#12389).
1306 2012-10-06 Chong Yidong <cyd@gnu.org>
1308 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1310 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1312 * international/characters.el: Fix simple mistake ((car chars) ->
1313 elt), delete duplicated code.
1315 2012-10-06 Glenn Morris <rgm@gnu.org>
1317 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1319 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1321 * color.el (color-hsl-to-rgb): Fix incorrect results for
1322 small and large hue values. (Bug#12559)
1324 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1326 Enhancements to docstring formatting when filling paragraphs.
1327 * progmodes/python.el (python-fill-docstring-style): Rename from
1328 python-fill-string-style. Added new style.
1329 (python-fill-string): Use new style. Better checks for
1332 2012-10-05 Glenn Morris <rgm@gnu.org>
1334 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1336 * color.el (color-name-to-rgb, color-rgb-to-hex)
1337 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1338 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1339 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1340 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1342 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1344 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1346 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1347 to get the correct size across symlinks.
1349 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1351 2012-10-04 Juri Linkov <juri@jurta.org>
1353 * replace.el (query-replace-interactive): Declare obsolete.
1354 (query-replace-read-from): Add the last incremental search string
1355 to the list of default values accessible via M-n.
1356 (map-query-replace-regexp): Use `read-regexp'.
1357 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1358 (map-query-replace-regexp, replace-string, replace-regexp):
1359 Fix docstrings to replace mentions of `query-replace-interactive'
1360 with alternatives. (Bug#12526)
1362 2012-10-04 Juri Linkov <juri@jurta.org>
1364 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1365 (dired-pop-to-buffer): Declare obsolete.
1366 (dired-mark-pop-up): Doc fix.
1368 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1370 Allow user to set docstring style for fill-paragraph.
1371 * progmodes/python.el
1372 (python-fill-comment-function, python-fill-string-function)
1373 (python-fill-decorator-function, python-fill-paren-function):
1374 Remove :safe for defcustoms.
1375 (python-fill-string-style): New defcustom
1376 (python-fill-paragraph-function): Enhance context detection.
1377 (python-fill-string): Honor python-fill-string-style settings.
1379 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1381 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1382 after setting its buffer (Bug#10805).
1384 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1386 Fix cornercase for string syntax.
1387 * progmodes/python.el (python-syntax-propertize-function):
1388 Simplify and enhance the regexp for unescaped quotes. Now it also
1389 matches quotes in weird situations like the single quote in
1391 (python-syntax-stringify): Simplify num-quotes detecting code.
1393 2012-10-03 Glenn Morris <rgm@gnu.org>
1395 * help-macro.el (three-step-help):
1396 Revert 2012-09-29 change. (Bug#12567)
1398 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1400 * menu-bar.el (kill-this-buffer): Don't do anything when
1401 `menu-frame' is not alive or visible (Bug#8184).
1403 * emacs-lisp/debug.el (debug): When quitting the debugger window
1404 restore current buffer (Bug#12502).
1406 2012-10-02 Chong Yidong <cyd@gnu.org>
1408 * progmodes/hideif.el (hif-lookup, hif-defined):
1409 Handle semantic-c-takeover-hideif.
1411 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1413 Change sampling interval units from ms to ns.
1414 * profiler.el (profiler-sampling-interval): Change units
1415 from ms to ns, multiplying the default by 1000000 so that
1417 (profiler-report-cpu-line-format): Give enough room for
1418 the maximum counters on 64-bit hosts.
1419 (profiler-report-render-calltree-1): Call them "CPU samples",
1420 not "Time (ms)", since they are not milliseconds now (and
1423 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1425 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1426 Fix querying BBDB for entries without a last name (Bug#11580).
1428 2012-10-02 Chong Yidong <cyd@gnu.org>
1430 * emacs-lisp/eieio.el: Restore Version header.
1432 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1434 * vc/diff-mode.el (diff--auto-refine-data): New var.
1435 (diff-hunk): Use it to delay refinement.
1436 (diff-mode): Remove overlays when we turn off font-lock.
1438 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1439 (table-initialize-table-fixed-width-mode)
1440 (table-set-table-fixed-width-mode): Remove functions.
1441 (table-command-list): Move initialization into declaration.
1442 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1443 (table-with-cache-buffer): Use `declare'.
1444 (table-span-cell): Simplify via CSE.
1445 (table-fixed-width-mode): Use define-minor-mode.
1446 (table-call-interactively, table-funcall, table-apply): Remove.
1447 (table-function): New function, to replace them.
1449 * bookmark.el (bookmark-search-pattern): Remove var.
1450 (bookmark-read-search-input): Remove function.
1451 (bookmark-bmenu-search): Reimplement using a minibuffer.
1453 * faces.el (modeline): Remove obsolete face name.
1455 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1456 and give a non-nil default value.
1457 (add-change-log-entry): Simplify accordingly.
1459 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1461 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1462 (vc-git-log-edit-toggle-amend): New function.
1463 (vc-git-log-edit-toggle-signoff): New function.
1464 (vc-git-log-edit-mode): New major mode.
1465 (vc-git-log-edit-mode-map): Keymap for it.
1466 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1468 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1470 (log-edit-toggle-header): New function.
1471 (log-edit-extract-headers): Accept function values in HEADERS alist.
1473 2012-10-01 David Engster <deng@randomsample.de>
1475 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1476 from symbol property and change message to be more consistent with
1478 (eieio-describe-generic): Add filename for each implementation.
1479 Fix indices for generic and normal methods.
1480 (eieio-method-def, eieio-class-def): New buttons.
1481 (eieio-help-find-method-definition)
1482 (eieio-help-find-class-definition): New functions.
1483 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1484 class, constructor and method definitions.
1486 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1487 information in symbol property.
1488 (scoped-class): Remove.
1489 (eieio-slot-name-index, call-next-method): Check if it is bound.
1491 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1493 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1494 (eieio-custom-mode): New major mode.
1495 (eieio-customize-object): Use it.
1497 2012-10-01 Eric Ludlam <zappo@gnu.org>
1499 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1500 specifying the expected class, and whether subclassing is allowed.
1501 (eieio-persistent-convert-list-to-object):
1502 (eieio-persistent-validate/fix-slot-value)
1503 (eieio-persistent-slot-type-is-class-p): New functions.
1504 (eieio-named::slot-missing): Doc fix.
1506 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1507 Stop using unused publd variable.
1509 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1510 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1511 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1512 (eieio-speedbar-handle-click): Do not specify a class for the
1513 method. Fixes method invocation order problems with EDE.
1515 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1517 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1518 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1520 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1522 * bookmark.el (bookmark-version-control): Give tags in the
1523 :type choices (Bug#12309), and improve doc string.
1524 (bookmark-write-file): Bind `print-circle' to `t' to allow
1525 circular custom bookmark types. (Bug#12503)
1527 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1529 Revert the FOLLOW-SYMLINKS change for file-attributes.
1530 * files.el (remote-file-name-inhibit-cache, after-find-file):
1531 * time.el (display-time-file-nonempty-p): Undo last change.
1533 * profiler.el (profiler-sampling-interval): Change default back to 1.
1534 See Stefan Monnier in
1535 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1537 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1539 Shell output catching a la gud-gdb.
1540 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1541 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1543 (python-shell-fetch-lines-filter): New function.
1544 (python-shell-send-string-no-output): Use them.
1546 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1548 * profiler.el (profiler-sampling-interval): Rename from
1549 profiler-sample-interval.
1550 (profiler-sampling-interval): Default to 10.
1551 (profiler-find-profile): New command (was profiler-find-log).
1552 (profiler-find-profile-other-window): New command.
1553 (profiler-find-profile-other-frame): New command.
1554 (profiler-profile): Introduce API-level data structure.
1556 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1558 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1559 * files.el (remote-file-name-inhibit-cache):
1560 * time.el (display-time-file-nonempty-p): Use it.
1561 * files.el (after-find-file): Don't chase links before calling
1562 file-exists-p, as file-exists-p already does the right thing.
1564 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1566 Merge from standalone RefTeX repository.
1568 The following ChangeLog entries are shortened versions of the
1569 original ones with file paths adapted. A not so strongly edited
1570 version of the original ChangeLog can be found in the commit log.
1572 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1573 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1574 Correctly handle new value type returned by `reftex-citation'.
1576 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1577 that entries with whitespace at various places are found.
1578 Doc fix. Include entries that are cross-referenced from cited entries.
1579 Include @String definitions in the resulting bib file. Add header
1580 and footer defined in `reftex-create-bibtex-header' and
1581 `reftex-create-bibtex-footer'.
1582 (reftex-do-citation): Make it possible again to insert
1583 non-existent entries. Save match data when asking for optional
1584 arguments. Return all keys, not just the first one.
1585 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1586 all citations in the same line.
1587 (reftex-parse-bibtex-entry): Accept additional optional argument
1588 `raw' and keep quotes or braces if it is non-nil. Match fields
1589 containing hyphens besides word constituents.
1590 (reftex-get-string-refs): New function.
1591 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1592 and ask if it should be reread in case it did.
1593 (reftex-pop-to-bibtex-entry)
1594 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1595 entries with spaces or tabs in front of arguments.
1596 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1597 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1598 Match entries containing numbers and symbol constituents.
1599 (reftex-do-citation, reftex-figure-out-cite-format):
1600 Use `reftex-cite-key-separator'.
1602 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1603 (reftex-mouse-view-crossref): Explain why point is set.
1605 * textmodes/reftex-global.el: Whitespace changes.
1607 * textmodes/reftex-index.el: Move provide statement to end of
1609 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1610 (reftex-index-visit-phrases-buffer): Set marker when visiting
1611 buffer. This allows for returning from the phrases file to the
1612 file one was just editing instead of the file where the last
1613 phrases was added from.
1614 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1615 punctuation syntax as it usually is not used as string quote in
1616 TeX-related modes and may occur unmatched. The change also
1617 prevents fontification of quoted content.
1618 (reftex-index-phrases-mode): Use it.
1620 * textmodes/reftex-parse.el (reftex-parse-from-file):
1621 Move backward one char if a `\' was matched after a section macro.
1622 (reftex-parse-from-file): Use beginning of match instead of end as
1625 * textmodes/reftex-ref.el: Adapt creation of
1626 `reftex-<package>-<macro>' functions to new structure of
1627 `reftex-ref-style-alist'.
1628 (reftex-reference): Use `reftex-ref-style-list' function.
1629 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1630 reference macro if `reftex-ref-macro-prompt' is non-nil.
1631 (reftex-reference): Pass refstyle to `reftex-format-special'.
1632 Determine reference macro by looking at
1633 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1634 Use only one special format function.
1635 (reftex-varioref-vref, reftex-fancyref-fref)
1636 (reftex-fancyref-Fref): Remove definitions. The functions are now
1637 generated from `reftex-ref-style-alist'.
1638 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1640 (reftex-format-special): New function.
1642 * textmodes/reftex-sel.el
1643 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1644 of `reftex-ref-style-alist'. Remove code for testing macro type.
1645 (reftex-select-toggle-varioref)
1646 (reftex-select-toggle-fancyref): Remove.
1647 (reftex-select-cycle-ref-style-internal)
1648 (reftex-select-cycle-ref-style-forward)
1649 (reftex-select-cycle-ref-style-backward): New functions.
1650 (reftex-select-label-map): Use `v' and `V' for general cycling
1651 through reference styles. Add `p' for switching between number
1652 and page reference types.
1654 * textmodes/reftex-toc.el (reftex-re-enlarge):
1655 Call `enlarge-window' only if there is something to do because in Emacs
1656 the horizontal version throws an error even if the parameter is 0.
1658 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1659 (reftex-plug-into-AUCTeX): Doc fix.
1660 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1661 string. Adapt to new name.
1662 (reftex-ref-style-alist): Change structure so that it is not
1663 possible to use multiple different package names within a style.
1664 Remove the symbols for symbols for macro type distinction.
1665 Add characters for macro selection.
1666 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1667 (reftex-create-bibtex-footer): New variables.
1668 (reftex-format-ref-function): Mention third argument of special
1670 (reftex-ref-style-alist, reftex-ref-style-default-list):
1672 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1673 to new implementation. Mark as obsolete. Add compatibility code
1674 for honoring the variable values in case they are set.
1675 (reftex-cite-format-builtin, reftex-bibliography-commands):
1676 Add support for ConTeXt.
1677 (reftex-format-ref-function, reftex-format-cite-function):
1679 (reftex-cite-key-separator): New variable.
1681 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1682 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1683 `reftex-syntax-table' because parens have to retain their paren
1684 syntax in order for parsing of BibTeX entries like @book(...) to
1686 (reftex-in-comment): Do not error out if `comment-start-skip' is
1687 not set. Deal correctly with escaped comment characters.
1688 (reftex-tie-multifile-symbols): Add doc string.
1689 Initialize `reftex-ref-style-list'.
1690 (reftex-untie-multifile-symbols): Add doc string.
1691 (reftex-add-index-macros): Doc fix.
1692 (reftex-ref-style-activate, reftex-ref-style-toggle)
1693 (reftex-ref-style-list): New functions.
1694 (reftex-mode-menu): Use them. Adapt to new structure of
1695 `reftex-ref-style-alist'.
1696 (reftex-select-with-char): Kill the RefTeX Select buffer when
1698 (reftex-remove-if): New function.
1699 (reftex-erase-all-selection-and-index-buffers)
1700 (reftex-mode-menu): Reference styles are now computed from
1701 `reftex-ref-style-alist'. Fix typo.
1702 (reftex-report-bug): New function.
1703 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1704 algorithms with O(n log n). Introduce optional argument SORT (not
1707 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1709 Enhancements for triple-quote string syntax.
1710 * progmodes/python.el (python-syntax-propertize-function):
1711 Match both quote cases in one regexp.
1712 (python-syntax-stringify): Handle matches properly.
1714 2012-09-30 Juri Linkov <juri@jurta.org>
1716 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1717 to nil around the call to `insert' to prevent
1718 directory time modification by lock_file. (Bug#2295)
1719 * tar-mode.el (tar-summarize-buffer): Idem.
1721 2012-09-30 Juri Linkov <juri@jurta.org>
1723 * facemenu.el (list-colors-sort): Add option "Luminance".
1724 (list-colors-sort-key): Implement it.
1726 * vc/diff-mode.el (diff-refine-removed):
1727 * vc/ediff-init.el (ediff-fine-diff-A):
1728 * vc/smerge-mode.el (smerge-refined-removed):
1729 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1731 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1733 * term/ns-win.el (x-file-dialog): New function.
1735 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1737 * ido.el (ido-max-directory-size): Default to nil; the current
1738 default is small for POSIX systems, and impractical on Windows 7
1739 now that lstat returns directory sizes for NTFS.
1741 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1743 In buffer display functions handle window-height/window-width
1744 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1745 * window.el (window--display-buffer): New argument ALIST.
1746 Obey window-height and window-width alist entries.
1747 (window--try-to-split-window): New argument ALIST.
1748 Bind window-combination-limit to t when the window's size shall be
1749 changed and window-combination-limit equals `window-size'.
1750 (display-buffer-in-atom-window)
1751 (display-buffer-in-major-side-window)
1752 (display-buffer-in-side-window, display-buffer-same-window)
1753 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1754 (display-buffer-pop-up-window, display-buffer-below-selected)
1755 (display-buffer-at-bottom, display-buffer-in-previous-window)
1756 (display-buffer-use-some-window): Adjust all callers of
1757 window--display-buffer and window--try-to-split-window.
1758 (fit-frame-to-buffer): New option.
1759 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1761 (display-buffer-in-major-side-window): Evaluate window-height /
1762 window-width alist entries.
1764 * help.el (temp-buffer-resize-frames)
1765 (temp-buffer-resize-regexps): Remove options.
1766 (temp-buffer-resize-mode): Adjust doc-string.
1767 (resize-temp-buffer-window): Don't consult
1768 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1769 temp-buffer-resize-frames.
1771 * dired.el (dired-mark-pop-up):
1772 Call display-buffer-below-selected with a fit-window-to-buffer alist
1775 2012-09-30 Chong Yidong <cyd@gnu.org>
1777 * server.el (server-host): Document the security implications.
1778 (server-auth-key): Doc fix.
1780 * startup.el (initial-buffer-choice): Doc fix.
1782 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1784 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1787 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1789 * help-fns.el (help-fns--obsolete): Fix last change.
1791 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1793 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1794 (minor-mode-map-alist): Remove redundant code.
1796 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1797 visited in a buffer.
1798 (cvs-insert-visited-file): New function.
1799 (find-file-hook): Use it.
1801 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1803 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1805 (log-edit-empty-buffer-p): Don't require a space after a header.
1807 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1809 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1811 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1812 a proper minor-mode.
1814 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1816 2012-09-29 Glenn Morris <rgm@gnu.org>
1818 * winner.el (winner-mode): Remove variable (let define-minor-mode
1820 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1822 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1823 (winner-mode): Use define-minor-mode.
1825 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1826 the full definition in loaddefs, rather than duplicating it.
1828 * help-macro.el (three-step-help): No need to autoload defcustom.
1830 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1831 (inferior-lisp-program, inferior-lisp-load-command)
1832 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1833 No need to autoload defcustoms.
1835 * hippie-exp.el (hippie-expand-try-functions-list)
1836 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1837 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1838 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1839 (hippie-expand-only-buffers): No need to autoload defcustoms.
1840 * progmodes/vhdl-mode.el (vhdl-line-expand):
1841 Explicitly load hippie-exp, so it does not get autoloaded
1842 while hippie-expand-try-functions-list is let-bound.
1844 2012-09-28 Glenn Morris <rgm@gnu.org>
1846 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1848 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1849 Only "cl.el" counts as cl these days.
1851 2012-09-28 Juri Linkov <juri@jurta.org>
1853 Display archive errors in the echo area instead of inserting
1856 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1857 to STDERR-TEST that can be a regexp matching a successful output.
1858 Create a temporary file and redirect stderr to it. Search for
1859 STDERR-TEST in the stderr output and display it in the echo area
1860 if no match is found.
1861 (archive-extract-by-file): New function like
1862 `archive-extract-by-stdout' but extracting archives to files
1863 and looking for successful matches in stdout. Function body is
1864 mostly copied from `archive-rar-extract'.
1865 (archive-rar-extract): Use `archive-extract-by-file'.
1866 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1868 2012-09-28 Leo Liu <sdl.web@gmail.com>
1870 * pcomplete.el (pcomplete-show-completions):
1871 Use minibuffer-message to make pcomplete usable in minibuffer.
1873 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1875 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * type-break.el: Use lexical-binding.
1878 (type-break-mode): Use define-minor-mode.
1880 * emacs-lisp/pcase.el (pcase--mark-used): New.
1881 (pcase--u1): Use it (bug#12512).
1883 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1884 in load-history with the right file name.
1886 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1888 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1889 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1890 (doc-view-get-bounding-box): Make bounding box slicing work for
1891 ODF and DVI documents.
1893 2012-09-28 Glenn Morris <rgm@gnu.org>
1895 * type-break.el (type-break-mode, type-break-interval)
1896 (type-break-good-rest-interval, type-break-keystroke-threshold):
1897 No need to autoload.
1898 (type-break-good-rest-interval, type-break-keystroke-threshold):
1901 2012-09-28 Chong Yidong <cyd@gnu.org>
1903 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1906 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1910 2012-09-27 Glenn Morris <rgm@gnu.org>
1912 * faces.el (x-display-name): Declare (for without-x builds).
1914 * linum.el (linum-format): Don't autoload it. Improve :type.
1916 * progmodes/tcl.el: Don't require outline when compiling.
1917 (outline-regexp, outline-level): Declare.
1918 * textmodes/sgml-mode.el: Don't require outline when compiling.
1919 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1921 * term.el (term-ansi-reset):
1922 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1924 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1925 files for RCS and SCCS. (Bug#9781)
1927 2012-09-27 Chong Yidong <cyd@gnu.org>
1929 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1930 change; value should be t.
1932 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * image-mode.el: Use lexical-binding.
1935 (image-mode-winprops): Use t to stand for the window of
1936 a buffer that's not displayed.
1937 * doc-view.el (doc-view-new-window-function): Handle the new
1939 (doc-view-enlarge): Make it a real nop if the size is not changed.
1940 (doc-view-display): Handle the case where the buffer is not (yet?)
1941 displayed in any window.
1942 (doc-view-saved-settings): New var.
1943 (doc-view-mode): Use it.
1944 (doc-view-fallback-mode): Set it.
1946 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1947 Set lexical-binding.
1948 (minibuffer-eldef-shorten-default): New var.
1949 (minibuffer-default-in-prompt-regexps): Use it for new default.
1950 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1952 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1954 * international/uni-bidi.el:
1955 * international/uni-category.el:
1956 * international/uni-name.el:
1957 * international/uni-numeric.el: Regenerate.
1959 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1960 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * profiler.el: New file.
1964 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1967 (testcover-reinstrument): Simplify with CSE.
1969 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1971 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1973 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1975 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1976 (verilog-auto-input, verilog-auto-insert-lisp)
1977 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1978 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1979 (verilog-auto-unused, verilog-auto-wire)
1980 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1981 newline. Reported by Andrew Jones.
1982 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1983 Reported by Brad Dobbie.
1984 (verilog-batch-delete-trailing-whitespace):
1985 Create verilog-batch-delete-trailing-whitespace.
1986 Reported by Brad Dobbie.
1987 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1988 parameters from another module. Reported by Dan Katz.
1989 (verilog-auto, verilog-auto-assign-modport)
1990 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1991 AUTOINOUTMODPORT for UVM interface module shell generation.
1992 Reported by Brad Dobbie.
1993 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1995 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1996 Reported by Matt Martin.
1998 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2000 * window.el (window--resize-child-windows): When resizing child
2001 windows proportionally, process them in reverse order to
2002 preserve the "when splitting a window the new one gets the odd
2004 (window--resize-root-window-vertically): When resizing the
2005 minibuffer window try to affect only windows at the bottom of the
2008 2012-09-25 Chong Yidong <cyd@gnu.org>
2010 * subr.el (declare): Doc fix.
2012 * help-fns.el (help-fns--obsolete): Handle macros properly.
2014 2012-09-25 Chong Yidong <cyd@gnu.org>
2016 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2017 this function obsolete.
2019 * calendar/cal-x.el (calendar-two-frame-setup)
2020 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2021 * calendar/calendar.el (american-calendar, european-calendar)
2022 (calendar-for-loop):
2023 * comint.el (comint-dynamic-simple-complete)
2024 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2025 * desktop.el (desktop-load-default):
2026 * dired-x.el (dired-omit-here-always)
2027 (dired-hack-local-variables, dired-default-directory):
2028 * emacs-lisp/derived.el (derived-mode-class):
2029 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2030 * emacs-lock.el (toggle-emacs-lock):
2031 * epa.el (epa-display-verify-result):
2032 * epg.el (epg-sign-keys, epg-start-sign-keys)
2033 (epg-passphrase-callback-function):
2034 * eshell/esh-util.el (eshell-for):
2035 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2036 (eshell-add-to-window-buffer-names):
2037 * files.el (locate-file-completion):
2038 * imenu.el (imenu-example--create-c-index)
2039 (imenu-example--create-lisp-index)
2040 (imenu-example--lisp-extract-index-name)
2041 (imenu-example--name-and-position):
2042 * international/mule-cmds.el (princ-list):
2043 * international/mule-diag.el (decode-codepage-char):
2044 * international/mule-util.el (detect-coding-with-priority):
2045 * iswitchb.el (iswitchb-read-buffer):
2046 * mail/mailalias.el (mail-complete):
2047 * mail/sendmail.el (mail-sent-via):
2048 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2049 (mouse-major-mode-menu):
2050 * password-cache.el (password-read-and-add):
2051 * pcomplete.el (pcomplete-parse-comint-arguments):
2052 * progmodes/sh-script.el (sh-maybe-here-document):
2053 * replace.el (query-replace-regexp-eval):
2054 * savehist.el (savehist-load):
2055 * simple.el (choose-completion-delete-max-match):
2056 * term.el (term-dynamic-simple-complete):
2057 * vc/ediff-init.el (ediff-check-version):
2058 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2059 * vc/vc.el (vc-diff-switches-list):
2060 * view.el (view-return-to-alist-update): Likewise.
2062 * subr.el (eval-next-after-load, makehash, insert-string)
2063 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2065 (mode-line-inverse-video): Variable deleted.
2067 * international/mule-util.el (string-to-sequence): Remove.
2069 * calendar/calendar.el (calendar-version):
2070 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2071 (icalendar-convert-diary-to-ical):
2072 * cus-edit.el (custom-mode):
2073 * ansi-color.el (ansi-color-unfontify-region):
2074 * international/latin1-disp.el (latin1-char-displayable-p):
2075 * progmodes/cwarn.el (turn-on-cwarn-mode):
2076 * progmodes/which-func.el (which-func-update-1):
2077 Use define-obsolete-function-alias.
2079 * net/newst-backend.el (newsticker-cache-filename):
2080 * net/newst-treeview.el (newsticker-groups-filename):
2081 Fix incorrect obsolescence declaration.
2083 * allout.el (allout-passphrase-hint-string): Likewise.
2084 (allout-init): Use a declare form to mark obsolete.
2086 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2087 this applies to functions.
2089 * iswitchb.el (iswitchb-read-buffer): Move code of
2090 iswitchb-define-mode-map here, and delete that obsolete function.
2092 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2093 font-lock-reference-face.
2095 2012-09-25 Glenn Morris <rgm@gnu.org>
2097 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2100 * eshell/em-term.el (eshell-term-name):
2101 Default to term-term-name. (Bug#12485)
2103 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2105 * progmodes/python.el (python-shell-send-buffer): Better handling
2106 of "if __name__ == '__main__':" conditionals when sending the buffer.
2108 2012-09-24 Glenn Morris <rgm@gnu.org>
2110 * eshell/esh-cmd.el (eshell-find-alias-function):
2111 Tighten up file-name regexp. (Bug#12499)
2113 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2115 Enhancements for triple-quote string syntax.
2116 * progmodes/python.el (python-quote-syntax): Remove.
2117 (python-syntax-propertize-function): New value.
2118 (python-syntax-count-quotes, python-syntax-stringify):
2121 2012-09-24 Chong Yidong <cyd@gnu.org>
2123 * mail/supercite.el (sc-version): Remove obsolete function.
2124 (sc-describe): Don't mark as obsolete, since it is bound.
2125 (sc-submit-bug-report): Remove.
2127 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2128 (cvs-commit-buffer-require-final-newline): Remove.
2129 (log-edit-require-final-newline)
2130 (log-edit-changelog-full-paragraphs): Default to t.
2132 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2133 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2134 * vc/vc.el (vc-checkout-carefully): Likewise.
2136 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2137 (emerge-version): Remove.
2139 * progmodes/compile.el (compile-internal): Remove.
2140 (compilation-parse-errors-function): Fix typo.
2142 * international/mule.el (set-char-table-default): Remove.
2143 (set-coding-priority, make-coding-system, generic-char-p)
2144 (charset-list, charset-bytes, charset-id): Use declare to mark
2145 functions as obsolete.
2147 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2148 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2149 * vc/vc-hooks.el (vc-default-registered): Don't use
2150 vc-master-templates.
2152 * font-lock.el (font-lock-reference-face):
2153 Use define-obsolete-variable-alias.
2155 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2156 * calendar/calendar.el (calendar-font-lock-keywords):
2157 * calendar/diary-lib.el (diary-font-lock-keywords)
2158 (diary-fancy-font-lock-keywords):
2159 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2160 * textmodes/reftex-index.el (reftex-insert-index):
2161 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2162 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2163 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2164 * progmodes/prolog.el (prolog-font-lock-keywords):
2165 * progmodes/idlwave.el (idlwave-idl-keywords):
2166 * progmodes/ada-mode.el (ada-font-lock-keywords):
2167 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2169 2012-09-24 Glenn Morris <rgm@gnu.org>
2171 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2173 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2175 * progmodes/python.el (python-indent-line): More consistent cursor
2178 2012-09-23 Stefan Merten <smerten@oekonux.de>
2180 * textmodes/rst.el: Fix compiler warning.
2182 2012-09-23 Roland Winkler <winkler@gnu.org>
2184 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2185 Transcribe also LaTeX hyphenation.
2186 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2187 bibtex-reformat-previous-options.
2189 2012-09-23 Roland Winkler <winkler@gnu.org>
2191 * proced.el (proced-renice-command): New variable.
2192 (proced-marked-processes): New function.
2193 (proced-with-processes-buffer): New macro.
2194 (proced-send-signal): Use them.
2195 (proced-renice): New command bound to r.
2197 2012-09-23 Roland Winkler <winkler@gnu.org>
2199 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2200 ibuffer-saved-filter-groups has one element, shortcut the call of
2201 completing-read. (Bug#12331)
2203 2012-09-23 Chong Yidong <cyd@gnu.org>
2205 * bindings.el (mode-line-toggle-read-only):
2206 * bs.el (bs-toggle-readonly):
2207 * buff-menu.el (Buffer-menu-toggle-read-only):
2208 * dired.el (dired-toggle-read-only):
2209 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2211 2012-09-23 Chong Yidong <cyd@gnu.org>
2213 * image.el (image-type-available-p): Adapt to init-image-library
2216 2012-09-22 Juri Linkov <juri@jurta.org>
2218 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2219 `dired-toggle-read-only'. (Bug#12462)
2221 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2223 * subr.el (temp-output-buffer-show): New function.
2224 (with-output-to-temp-buffer): Call temp-output-buffer-show
2225 instead of internal-temp-output-buffer-show.
2227 2012-09-22 Chong Yidong <cyd@gnu.org>
2229 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2232 * repeat.el (repeat): Doc fix (Bug#12348).
2234 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2237 * simple.el (shell-command-on-region): Doc fix.
2238 (read-only-mode): Doc fix.
2240 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2242 * emacs-lisp/timer.el (run-with-idle-timer)
2243 (timer-activate-when-idle): Warn against reinvoking an idle timer
2244 from within its own timer action. (Bug#12447)
2246 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2248 * cus-start.el (window-combination-limit): Add new optional
2250 * window.el (temp-buffer-window-show)
2251 (window--try-to-split-window): Handle new values of
2252 window-combination-limit (Bug#1806).
2253 (split-window): Test window-combination-limit for t instead of
2255 (display-buffer-at-bottom): New buffer display action function.
2256 * help.el (temp-buffer-resize-regexps): New option.
2257 (temp-buffer-resize-mode): Rewrite doc-string.
2258 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2259 Don't resize reused window. Suggested by Glenn Morris.
2261 2012-09-22 Stefan Merten <smerten@oekonux.de>
2263 * textmodes/rst.el: Revamp section title faces.
2264 (rst-official-version)
2265 (rst-package-emacs-version-alist): Sync with official version
2267 (rst-faces-defaults, rst-set-level-default)
2268 (rst-level-face-max, rst-level-face-base-color)
2269 (rst-level-face-base-light, rst-level-face-format-light)
2270 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2271 (rst-adornment-faces-alist): Match new setup.
2272 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2273 (rst-level-5, rst-level-6): New faces.
2275 2012-09-22 Chong Yidong <cyd@gnu.org>
2277 * simple.el (undo): Handle indirect buffers (Bug#8207).
2279 2012-09-21 Leo Liu <sdl.web@gmail.com>
2281 IDO: Disable match re-ordering for buffer switching.
2282 * ido.el (ido-buffer-disable-smart-matches): New variable.
2283 (ido-set-matches-1): Use it. (Bug#2042)
2285 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2287 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2288 Fix 2011-05-17 change. (Bug#12418)
2290 2012-09-21 Leo Liu <sdl.web@gmail.com>
2292 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2294 2012-09-21 Glenn Morris <rgm@gnu.org>
2296 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2297 Be more robust about locating simple.el.
2299 2012-09-21 Glenn Morris <rgm@gnu.org>
2301 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2303 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2305 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2307 2012-09-20 Juri Linkov <juri@jurta.org>
2309 * replace.el (query-replace-read-from): Use `read-regexp' instead
2310 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2311 (occur-read-primary-args): Use `read-regexp' instead of
2313 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2314 `read-from-minibuffer'.
2315 * isearch.el (isearch-occur): Use `read-regexp' instead of
2317 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2318 `read-from-minibuffer'.
2319 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2320 of `read-string'. (Bug#7567)
2322 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2323 and allow accepting a list of strings prepended to a list of
2324 standard default values. Doc fix. (Bug#12321)
2326 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2328 * replace.el (read-regexp): Don't add ": " when PROMPT already
2329 ends with a colon and space. (Bug#12321)
2331 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2333 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2336 2012-09-20 Stefan Merten <smerten@oekonux.de>
2338 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2339 Fixes feature request bug#11711.
2340 (rst-mode): Create `imenu-create-index-function'.
2341 (rst-get-stripped-line): Delete after refactoring.
2342 (rst-section-tree, rst-section-tree-rec)
2343 (rst-section-tree-point): Refactor and document properly.
2344 (rst-imenu-find-adornments-for-position)
2345 (rst-imenu-convert-cell, rst-imenu-create-index):
2348 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2350 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2351 (macroexp--expand-all): Use it.
2352 (macroexp--funcall-and-return): Remove by folding it into its sole
2353 caller (macroexp--warn-and-return).
2354 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2355 Use macroexp--obsolete-warning.
2357 * calc/calc.el: Fix last change by removing the whole chunk, since it
2358 was only needed back when Calc was not bundled.
2360 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2362 * emacs-lisp/debug.el (debug): Restore assignment to
2363 debugger-old-buffer removed on 2012-09-08.
2365 2012-09-20 Juri Linkov <juri@jurta.org>
2367 * dired-aux.el (dired-diff): Remove (require 'diff) since
2368 `diff-latest-backup-file' is now autoloaded.
2370 2012-09-20 Chong Yidong <cyd@gnu.org>
2372 * vc/diff.el (diff-latest-backup-file): Autoload.
2374 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2376 * calc/calc.el: Remove redundant autoload shape check.
2377 (sel-mode): Don't defvar.
2378 (calc-get-stack-element): Add `sel-mode' arg instead.
2379 (calc-top, calc-top-list): Pass it this additional argument.
2380 * calc/calc-store.el (calc-store-map):
2381 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2382 (calc-map-equation, calc-outer-product, calc-inner-product):
2383 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2385 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2387 2012-09-19 Juri Linkov <juri@jurta.org>
2389 * dired-aux.el (dired-diff): Add (require 'diff) because
2390 `diff-latest-backup-file' is not autoloaded.
2391 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2392 of `dired-get-filename' to t to not report error when there is
2393 no default file on the current line.
2395 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2397 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2398 macroexp--eval-if-compile.
2399 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2400 (macroexp--expand-all): Use them (bug#12371).
2402 * doc-view.el (doc-view-guess-paper-size)
2403 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2405 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2407 New feature: set optimal slice from BoundingBox information.
2408 * doc-view.el (doc-view-mode-map): Add keybinding.
2409 (doc-view-menu): Add menu entry.
2410 (doc-view-set-slice): Adapt docstring.
2411 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2412 (doc-view-scale-bounding-box)
2413 (doc-view-set-slice-from-bounding-box): New functions.
2414 (doc-view-paper-sizes): New defvar.
2416 2012-09-19 Glenn Morris <rgm@gnu.org>
2418 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2419 (byte-compile-log-warning): Autoload. (Bug#12371)
2421 * calendar/calendar.el (calendar-american-month-header)
2422 (calendar-european-month-header, calendar-iso-month-header)
2423 (calendar-month-header): New options.
2424 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2425 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2427 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2429 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2431 2012-09-18 Juri Linkov <juri@jurta.org>
2433 * dired-aux.el (dired-diff): Restore original functionality of
2434 getting the default value, but keep new feature of using the
2435 latest existing backup file (`diff-latest-backup-file').
2437 2012-09-18 Juri Linkov <juri@jurta.org>
2439 * dired.el (dired-mark): If the region is active in Transient Mark
2440 mode, mark all files in the active region. Doc fix.
2441 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2442 Doc fix. (Bug#10624)
2444 2012-09-18 Juri Linkov <juri@jurta.org>
2446 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2447 attributes for M-n are pulled from the file at point.
2448 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2449 Suggested by Drew Adams. (Bug#10624)
2451 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2453 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2454 whitespace after "end".
2455 (ruby-do-end-to-brace): Collapse block to one line if it fits
2458 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2460 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2462 (debug): Don't remove debugger window when debugger is expected
2465 2012-09-18 Chong Yidong <cyd@gnu.org>
2467 * custom.el (defface): Doc fix.
2469 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2471 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2473 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2474 to initialize query-on-exit; then test that instead (bug#12288).
2476 2012-09-17 Stefan Merten <smerten@oekonux.de>
2478 * textmodes/rst.el: Add support for `testcover'.
2479 (rst-defcustom-testcover, rst-testcover-add-compose)
2480 (rst-testcover-add-1value): New functions.
2481 (rst-portable-mark-active-p): Replace by `use-region-p'.
2482 (rst-update-section, rst-classify-adornment)
2483 (rst-find-title-line): Mark `1value' forms.
2484 (rst-classify-adornment): Remove superfluous form.
2485 (rst-update-section, rst-get-adornments-around)
2486 (rst-adornment-complete-p, rst-get-next-adornment)
2487 (rst-adjust, rst-promote-region)
2488 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2489 (rst-find-pfx-in-region, rst-section-tree-rec)
2490 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2491 (rst-toc-node, rst-toc, rst-forward-section)
2492 (rst-iterate-leftmost-paragraphs)
2493 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2494 (rst-bullet-list-region)
2495 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2496 (rst-compile-find-conf, rst-compile)
2497 (rst-repeat-last-character): Fix style.
2499 2012-09-17 Chong Yidong <cyd@gnu.org>
2501 * comint.el (comint--complete-file-name-data): Don't add a space
2502 if the status is `sole'; that adds a gratuitous space in the
2503 completion-cycling case (Bug#12092).
2505 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2507 2012-09-17 Richard Stallman <rms@gnu.org>
2509 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2510 only in the mime-shown mode, not in raw mode.
2511 (rmail-mime): Toggle off mime by displaying the message without
2512 mime processing. (Bug#12305)
2514 * mail/rmail.el (rmail-retry-failure):
2515 Turn off mime processing first. (Bug#12037)
2517 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2519 2012-09-17 Chong Yidong <cyd@gnu.org>
2521 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2522 (shell-dynamic-complete-functions): Convert to defcustom.
2523 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2525 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2526 * comint.el (comint-prompt-read-only):
2527 * custom.el (defcustom):
2528 * hi-lock.el (hi-lock-mode):
2529 * ibuffer.el (ibuffer-formats):
2530 * ielm.el (ielm-prompt-read-only):
2531 * novice.el (disable-command):
2532 * saveplace.el (toggle-save-place):
2533 * speedbar.el (speedbar-supported-extension-expressions):
2534 * startup.el (auto-save-list-file-prefix, init-file-user)
2535 (after-init-hook, inhibit-startup-echo-area-message):
2536 * strokes.el (strokes-help):
2537 * time-stamp.el (time-stamp):
2538 * calendar/calendar.el (calendar, diary-file):
2539 * calendar/diary-lib.el (diary-mail-entries, diary)
2540 (diary-list-entries-hook):
2541 * calendar/holidays.el (holidays, calendar-holidays):
2542 * calendar/lunar.el (lunar-phases):
2543 * calendar/solar.el (sunrise-sunset):
2544 * emulation/edt.el (edt-load-keys):
2545 * emulation/viper.el (viper-mode):
2546 * eshell/em-alias.el (eshell-command-aliases-list):
2547 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2548 * international/ogonek.el (ogonek-information):
2549 * net/tramp-cmds.el (tramp-bug):
2550 * net/quickurl.el (quickurl-reread-hook-postfix):
2551 * play/decipher.el (decipher-font-lock-keywords):
2552 * progmodes/cc-styles.el (c-set-style):
2553 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2554 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2555 * progmodes/octave-mod.el (octave-mode):
2556 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2557 * progmodes/verilog-mode.el (verilog-read-defines):
2558 * textmodes/two-column.el (2C-mode): Likewise.
2560 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2562 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2563 that holds many addresses.
2565 2012-09-16 Chong Yidong <cyd@gnu.org>
2567 * align.el (align-areas): Call the indication function with
2568 positions instead of markers for arguments (Bug#12343).
2570 * files.el (parse-colon-path): Use split-string (Bug#12351).
2572 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2573 (display-buffer-function): Mark as obsolete.
2575 * progmodes/compile.el (compilation-parse-errors): Accept list
2576 values similar to font-lock-keywords (Bug#12136).
2577 Suggested by Oleksandr Manzyuk.
2578 (compilation-error-regexp-alist): Doc fix.
2580 2012-09-15 Glenn Morris <rgm@gnu.org>
2582 * version.el (emacs-bzr-version-bzr): New function.
2583 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2585 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2586 checkouts, check the parent dirstate matches the branch.
2587 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2590 * version.el (emacs-bzr-version): Doc fix.
2591 (emacs-bzr-version-dirstate): New function.
2592 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2593 is local try and check that it matches the branch. If not, just
2594 use dirstate information. (Bug#12441)
2596 2012-09-14 Juri Linkov <juri@jurta.org>
2598 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2601 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2603 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2605 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2606 Remove obsolete byte-compiler hack that tried to silence some warnings.
2607 (edebug-submit-bug-report): Remove.
2608 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2609 Remove aliases, use the un-prefixed name instead.
2610 (edebug-pop-to-buffer): Consider other frames.
2611 (edebug-original-read):: Make it more obvious that it's always defined.
2612 (edebug--make-form-data-entry, edebug--form-data-name)
2613 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2614 single-dashed name, and implement with cl-defstruct.
2615 (edebug-set-form-data-entry): Use the standard accessors.
2616 (edebug-make-top-form-data-entry): Use push.
2617 (edebug-no-match): Drop useless `funcall'.
2618 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2620 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2621 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2622 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2623 (easy-menu-define, with-custom-print): Remove redundant specs.
2624 (edebug-outside-overriding-local-map)
2625 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2626 (edebug--display): Bind unread-command-events directly to nil rather
2627 than binding it to unread-command-events and later setting it to nil.
2628 (edebug--display): Kill edebug-eval-buffer here...
2629 (edebug--recursive-edit): ...rather than here.
2630 Bind standard-output and standard-input.
2631 (edebug-eval): Check cl-macroexpand-all is fboundp.
2632 (edebug-temp-display-freq-count): Fix last change.
2634 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2635 * subr.el (noreturn, 1value): Add `debug' spec.
2636 * emacs-lisp/advice.el: Require cl-lib.
2637 (ad-copy-tree): Remove, use copy-tree instead.
2638 (ad-dolist): Remove use dolist or cl-dolist instead.
2639 (ad-do-return): Remove, use cl-return instead.
2640 (defadvice): Add `debug' spec.
2642 2012-09-13 Juri Linkov <juri@jurta.org>
2644 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2647 2012-09-13 Glenn Morris <rgm@gnu.org>
2649 * calc/calc.el (math-compose-expr):
2650 * calc/calc-ext.el (math-compose-expr):
2651 * progmodes/cc-defs.el (cl-macroexpand-all):
2652 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2653 (cl-macroexpand-all): Update declarations.
2655 * vc/vc.el: No need to require ediff.
2656 (ediff-load-version-control): Declare.
2657 (ediff-vc-internal): Fix declaration.
2658 (vc-version-ediff): Require ediff.
2660 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2662 Use a more backwards-compatible timer format (Bug#12430).
2663 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2664 being right after USECS, as that better supports old code that
2665 inadvisedly looked directly at the timer vector.
2667 2012-09-13 Kenichi Handa <handa@gnu.org>
2669 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2670 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2671 `coding-priority' property of these language environment.
2673 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2675 Fix glitches caused by addition of psec to timers (Bug#12430).
2676 * image.el (image-animate-timer):
2677 * time.el (display-time-world-timer):
2678 Use timer--function and timer--args rather than raw access to
2681 2012-09-13 Glenn Morris <rgm@gnu.org>
2683 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2684 If not compiling a file, try using load-file-name.
2686 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2688 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2690 (edebug-update-eval-list): Use `push'.
2692 * emacs-lisp/edebug.el: Use lexical-binding.
2693 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2694 Mark unused args with underscore.
2695 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2696 (edebug-form-data): Use defvar-local.
2697 (edebug-make-before-and-after-form, edebug-make-after-form):
2699 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2700 Not dynamically scoped any more.
2701 (edebug--enter-trace): Add arguments `function' and `args'.
2702 Rename from edebug-enter-trace.
2703 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2704 (edebug--update-coverage): Add `after-index' and `value' args.
2705 Rename from edebug-update-coverage.
2706 (edebug-slow-after): Call it accordingly.
2707 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2708 edebug-recursive-edit.
2709 (edebug--display): Call it accordingly. Add args `value',
2710 `offset-index', and `arg-mode'. Rename from edebug-display.
2711 (edebug-debugger, edebug): Call it accordingly.
2712 (edebug-eval-display-list): Use dolist.
2714 2012-09-12 Juri Linkov <juri@jurta.org>
2716 * info.el (Info-search): Don't check for isearch-mode and
2717 isearch-regexp before let-binding search-spaces-regexp to
2718 Info-search-whitespace-regexp.
2719 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2720 search-whitespace-regexp if isearch-lax-whitespace or
2721 isearch-regexp-lax-whitespace is non-nil.
2722 (Info-mode): Don't set local variable search-whitespace-regexp.
2723 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2725 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2728 (debugger-env-macro): Remove support for unread-command-char.
2730 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2731 the temporary map re-appearing on emulation-mode-map-alists.
2733 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2736 * ehelp.el (with-electric-help): Accept functions in
2737 electric-help-form-to-execute.
2738 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2739 And replace unread-command-char -> unread-command-events.
2741 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2743 Sync with Tramp 2.2.6.
2745 * net/tramp.el (tramp-accept-process-output): Don't use
2746 JUST-THIS-ONE in the XEmacs case.
2748 * net/trampver.el: Update release number.
2750 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2752 * emacs-lisp/debug.el (debugger-previous-window-height):
2754 (debug): When debugger-jumping-flag is non-nil try to restore
2755 height of debugger window. (Bug#8789)
2757 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2760 overriding-local-map and pre/post-command-hook here.
2761 (edebug-recursive-edit): Do it here instead (bug#12345).
2762 (edebug-outside-unread-command-char): Remove all uses of
2763 unread-command-char.
2765 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2766 inhibit-debugger is bound instead.
2768 2012-09-11 Bastien Guerry <bzg@gnu.org>
2770 * subr.el (set-temporary-overlay-map): Add a docstring.
2773 2012-09-11 Bastien Guerry <bzg@gnu.org>
2775 * minibuffer.el (completion-table-subvert): Fix docstring.
2778 2012-09-11 Bastien Guerry <bzg@gnu.org>
2780 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2782 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2784 * progmodes/sql.el: Version 3.1
2785 (sql-db2-escape-newlines): New variable.
2786 (sql-escape-newlines-filter): Use it.
2788 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2790 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2792 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2794 * vc/diff-mode.el (diff-mode-menu):
2795 Bind diff-remove-trailing-whitespace.
2797 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2800 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2801 (emacs-lisp-byte-code-mode): New functions.
2802 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2803 (eval-defun-2): Remove bogus interactive spec.
2804 (lisp-indent-line): Remove redundant whole-exp code, now done in
2805 indent-according-to-mode.
2806 (save-match-data): Remove redundant indent data.
2808 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2811 2012-09-09 Juri Linkov <juri@jurta.org>
2813 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2814 (replace-lax-whitespace, query-replace-regexp)
2815 (query-replace-regexp-eval, replace-regexp): Doc fix.
2816 (perform-replace, replace-highlight): Let-bind
2817 isearch-lax-whitespace to replace-lax-whitespace and
2818 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2820 * isearch.el (isearch-query-replace): Let-bind
2821 replace-lax-whitespace to isearch-lax-whitespace and
2822 replace-regexp-lax-whitespace to
2823 isearch-regexp-lax-whitespace. (Bug#10885)
2825 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2829 2012-09-09 Alan Mackenzie <acm@muc.de>
2831 * progmodes/cc-engine.el (c-state-cache-init):
2832 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2833 (c-record-parse-state-state):
2834 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2836 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2838 * register.el (register-separator): Rename from
2839 separator-register. All uses changed. Doc fix.
2840 (register): Fix version.
2842 2012-09-09 Chong Yidong <cyd@gnu.org>
2844 * replace.el (query-replace-map): Bind four new symbols for
2845 requesting window scrolling.
2847 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2848 query-replace-map (Bug#8948).
2850 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2852 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2853 since they are now in query-replace-map.
2855 * window.el (scroll-other-window-down): Make the arg optional.
2857 2012-09-09 Chong Yidong <cyd@gnu.org>
2859 * files.el (hack-local-variables-confirm): Use quit-window to kill
2860 the *Local Variables* buffer.
2862 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2864 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2865 not just expect to be at its beginning. Adjust callees.
2866 Succeed when do-end block has no space before the pipe character.
2867 (ruby-brace-to-do-end): When the original block is one-liner,
2868 convert to multiline. Reindent the result.
2870 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2872 * register.el (register): New group.
2873 (separator-register): New user option.
2874 (increment-register): Route it to `append-to-register', if
2875 register contains text. Implication is that `C-x r +' can now be
2876 used for appending to a text register (bug#12217).
2877 (append-to-register, prepend-to-register): Add separator based on
2878 `separator-register'.
2880 2012-09-08 Alan Mackenzie <acm@muc.de>
2882 AWK Mode: make auto-newline work when there's "==" in the pattern.
2883 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2885 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2886 Test more rigorously for "=" token.
2888 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2890 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2891 Only fail when reached LIMIT.
2893 2012-09-08 Chong Yidong <cyd@gnu.org>
2895 * dired.el (dired-mode-map): Don't bind M-=.
2897 * dired-aux.el (dired-diff): Use backup file as default.
2899 2012-09-08 Drew Adams <drew.adams@oracle.com>
2901 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2903 2012-09-08 Chong Yidong <cyd@gnu.org>
2905 * subr.el (syntax-after, syntax-class): Doc fix.
2907 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2909 * window.el (display-buffer-in-previous-window): New buffer
2910 display action function.
2912 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2913 (debugger-previous-window): New variable.
2914 (debug): Rewrite using display-buffer-in-previous-window,
2915 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2917 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2919 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2921 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2923 * progmodes/python.el (python-shell-send-string):
2924 When default-directory is remote, create temp file on remote
2926 (python-shell-send-file): When file is remote, pass local view of
2927 file paths to remote Python interpreter. (Bug#12340)
2929 2012-09-07 Chong Yidong <cyd@gnu.org>
2931 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2933 * files.el (after-find-file): Don't fail on a read-only buffer if
2934 require-final-newline is `visit' or `visit-save' (Bug#11156).
2936 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2938 * userlock.el (ask-user-about-supersession-threat):
2939 Use read-char-choice (Bug#12093).
2941 2012-09-07 Chong Yidong <cyd@gnu.org>
2943 * subr.el (buffer-narrowed-p): New function.
2945 * ses.el (ses-widen):
2946 * simple.el (count-words--buffer-message):
2947 * net/browse-url.el (browse-url-of-buffer): Use it.
2949 * simple.el (count-words-region): Don't signal an error if there
2950 is a non-nil prefix arg and the mark is not set.
2952 * help.el (describe-key-briefly): Allow the message to be seen
2953 when invoked from the minibuffer (Bug#7014).
2955 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2957 * progmodes/ruby-mode.el (ruby-end-of-defun)
2958 (ruby-beginning-of-defun): Simplify, allow indentation before
2959 block beginning and end keywords.
2960 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2961 (ruby-end-of-defun): Expect that the point is at the beginning of
2964 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2966 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2968 (cl--make-usage-args): Strip _ from argument names.
2970 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2972 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2973 obsolete alias speedbar-key-map.
2974 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2975 (vhdl-index-menu-init): Don't use obsolete variable
2976 font-lock-maximum-size.
2978 2012-09-06 Chong Yidong <cyd@gnu.org>
2980 * frame.el (window-system-version): Mark as obsolete.
2982 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2983 of obsolete variable speedbar-key-map.
2985 2012-09-06 Juri Linkov <juri@jurta.org>
2987 * replace.el (replace-lax-whitespace): New defcustom.
2988 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2989 (replace-string, replace-regexp): Mention it in docstrings.
2990 (perform-replace, replace-highlight): Let-bind
2991 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2992 to the values of replace-lax-whitespace and regexp-flag.
2993 Don't let-bind search-whitespace-regexp. (Bug#10885)
2995 * isearch.el (isearch-query-replace): Let-bind
2996 replace-lax-whitespace instead of let-binding
2997 replace-search-function and replace-re-search-function.
2998 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2999 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3000 (isearch-toggle-symbol): Set isearch-regexp to nil
3001 in isearch-word mode (like in isearch-toggle-word).
3003 2012-09-06 Juri Linkov <juri@jurta.org>
3005 * replace.el (replace-search-function)
3006 (replace-re-search-function): Set default values to nil.
3007 (perform-replace): Let-bind isearch-related variables based on
3008 replace-related values, call `isearch-search-fun' and let-bind
3009 the result to `search-function'. Remove code that sets
3010 `search-function' and `search-string' separately for
3012 (replace-highlight): Add new argument `delimited-flag' and
3013 rename other arguments to the names used in `perform-replace'.
3014 Let-bind `isearch-word' to the argument `delimited-flag'.
3015 (Bug#10885, bug#10887)
3017 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3019 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3020 ruby-beginning-of-indent, simplify, allow all keywords to have
3021 indentation before them.
3022 (ruby-beginning-of-indent): Adjust for above. Search until the
3023 found point is not inside a string or comment.
3024 (ruby-font-lock-keywords): Allow symbols to start with "@"
3025 character, give them higher priority than variables.
3026 (ruby-syntax-propertize-function)
3027 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3028 matchers. Expression expansions are not comments when inside a
3029 string, and there comment syntax status is irrelevant.
3030 (ruby-match-expression-expansion): New function. Check that
3031 expression expansion is inside a string, and it's not escaped.
3032 (ruby-font-lock-keywords): Use it.
3034 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3036 * help.el (temp-buffer-max-height): New default value.
3037 (temp-buffer-resize-frames): New option.
3038 (resize-temp-buffer-window): Optionally resize frame.
3040 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3041 (fit-frame-to-buffer): New function.
3043 2012-09-05 Glenn Morris <rgm@gnu.org>
3045 * emulation/cua-rect.el (cua--init-rectangles):
3046 * textmodes/picture.el (picture-mode-map):
3047 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3048 like forward-char and backward-char. (Bug#12317)
3050 2012-09-05 Leo Liu <sdl.web@gmail.com>
3052 * progmodes/flymake.el (flymake-warning-re): New variable.
3053 (flymake-parse-line): Use it.
3055 2012-09-05 Glenn Morris <rgm@gnu.org>
3057 * calendar/holidays.el (holiday-christian-holidays):
3058 Rename an entry. (Bug#12289)
3060 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3065 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * loadup.el: Load macroexp. Remove hack.
3068 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3069 (macroexp--expand-all): Use it to get better warnings.
3070 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3071 (internal-macroexpand-for-load): New functions.
3072 (macroexp--pending-eager-loads): New var.
3073 (emacs-startup-hook): New hack to replace one in loadup.el.
3074 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3075 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3076 (cl-psetf): Simplify.
3077 (cl-defstruct): Add indent rule.
3079 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3081 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3082 over `user-mail-address' for the SMTP MAIL FROM envelope.
3083 (smtpmail-via-smtp): Ditto.
3085 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3087 * progmodes/ruby-mode.el: Clean up keybindings.
3088 (ruby-mode-map): Don't bind ruby-electric-brace,
3089 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3090 backward-kill-word, reindent-then-newline-and-indent.
3091 (ruby-mark-defun): Remove.
3092 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3093 (ruby-mode): Set local beginning-of-defun-function and
3094 end-of-defun-function values.
3096 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3098 * window.el (temp-buffer-window-setup-hook)
3099 (temp-buffer-window-show-hook): New hooks.
3100 (temp-buffer-window-setup, temp-buffer-window-show)
3101 (with-temp-buffer-window): New functions.
3102 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3103 (special-display-popup-frame): Make sure the window used shows BUFFER.
3105 * help.el (temp-buffer-resize-mode): Fix doc-string.
3106 (resize-temp-buffer-window): New optional argument WINDOW.
3108 * files.el (recover-file, save-buffers-kill-emacs):
3109 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3111 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3113 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3114 remote definition of `default-directory', ensure we can connect.
3116 2012-09-02 Juri Linkov <juri@jurta.org>
3118 Toggle whitespace matching mode with M-s SPC.
3119 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3121 * isearch.el (search-whitespace-regexp): Doc fix.
3122 Remove cons cell customization.
3123 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3124 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3126 (isearch-forward, isearch-forward-regexp): Doc fix.
3127 (isearch-toggle-lax-whitespace): New command.
3128 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3129 (re-search-forward-lax-whitespace)
3130 (re-search-backward-lax-whitespace): New functions.
3131 (isearch-whitespace-regexp): Remove function.
3132 (isearch-query-replace): Let-bind replace-search-function and
3133 replace-re-search-function.
3134 (isearch-occur): Let-bind search-spaces-regexp according to the
3135 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3136 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3137 condition for C-q SPC.
3138 (isearch-search-fun-default): Use new functions mentioned above.
3139 (isearch-search-forward, isearch-search-backward): Remove functions.
3140 (isearch-search): Don't let-bind search-spaces-regexp.
3141 (isearch-lazy-highlight-space-regexp): Remove variable.
3142 (isearch-lazy-highlight-lax-whitespace)
3143 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3144 (isearch-lazy-highlight-new-loop): Use them.
3145 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3147 2012-09-02 Chong Yidong <cyd@gnu.org>
3149 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3151 2012-09-02 Glenn Morris <rgm@gnu.org>
3153 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3155 2012-09-01 Glenn Morris <rgm@gnu.org>
3157 * term.el: Tidy up menu definitions.
3158 (term-mode-map): Use easymenu for In/Out, Complete menus.
3159 (term-pager-break-map): Initialize in the defvar.
3160 (term-terminal-menu, term-signals-menu): Define with easymenu.
3161 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3162 (term-pager-menu): New, extracted from term-process-pager.
3163 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3164 (term-update-mode-line): Propertize line/char and page items.
3165 (term-process-pager): Move keymap initialization elsewhere.
3167 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3169 * window.el (switch-to-prev-buffer): Handle additional values of
3170 BURY-OR-KILL argument. Don't switch in minibuffer window.
3171 (switch-to-next-buffer): Don't switch in minibuffer window.
3172 (quit-restore-window): New function based on quit-window.
3173 Handle additional values of former KILL argument.
3174 (quit-window): Call quit-restore-window with appropriate
3175 interpretation of KILL argument.
3176 (display-buffer-below-selected): New buffer display action
3179 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * minibuffer.el (completion-at-point-functions): Complete docstring
3184 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3186 Better seed support for (random).
3187 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3188 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3189 * play/mpuz.el, play/tetris.el, play/zone.el:
3190 * calc/calc-comb.el (math-init-random-base):
3191 * play/blackbox.el (bb-init-board):
3192 * play/life.el (life):
3193 * server.el (server-use-tcp):
3194 * type-break.el (type-break):
3195 Remove unnecessary call to (random t).
3196 * net/sasl.el (sasl-unique-id-function):
3197 Change (random t) to (random), now that the latter is more random.
3198 * play/life.el (life-initialized): Remove no-longer-needed var.
3200 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3202 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3203 Consider frame's buffer predicate when choosing the buffer.
3206 2012-08-30 Richard Stallman <rms@gnu.org>
3208 * simple.el (special-mode-map): Delete binding for `z'.
3210 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3212 * progmodes/compile.el (compilation-always-kill): Doc fix.
3214 2012-08-30 Chong Yidong <cyd@gnu.org>
3216 * window.el (display-buffer-reuse-frames): Make the obsolescence
3217 message more informative.
3219 2012-08-30 Glenn Morris <rgm@gnu.org>
3221 * paren.el (show-paren-delay):
3222 Add a :set function. Doc fix. (Bug#12297)
3224 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3226 * progmodes/compile.el (compilation-always-kill): New var.
3227 (compilation-start): Use it.
3229 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3232 * files.el (read-only-mode): Move to simple.el.
3234 * files.el (read-only-mode): New minor mode.
3235 (toggle-read-only): Use it and mark obsolete.
3236 (find-file--read-only):
3237 * vc/vc.el (vc-next-action, vc-checkout):
3238 * vc/vc-cvs.el (vc-cvs-checkout):
3239 * obsolete/vc-mcvs.el (vc-mcvs-update):
3240 * ffap.el (ffap--toggle-read-only): Update callers.
3242 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3244 * eshell/esh-ext.el (eshell-external-command): Do not examine
3245 remote shell scripts.
3246 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3248 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3251 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3253 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3255 2012-08-28 Leo Liu <sdl.web@gmail.com>
3257 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3258 completion-at-point. (Bug#12220)
3260 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3262 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3264 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3267 be buffer-local; add delete-trailing-whitespace (bug#12259).
3269 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3271 * progmodes/hideif.el (hif-compress-define-list):
3272 Fix typo. (Bug#11951)
3274 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3276 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3277 buffer local setting.
3279 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3280 rcirc-encode-coding-system.
3282 2012-08-28 Leo Liu <sdl.web@gmail.com>
3284 * net/rcirc.el (rcirc-split-message): New function.
3285 (rcirc-send-message): Use it. (Bug#12051)
3287 2012-08-28 Juri Linkov <juri@jurta.org>
3289 * info.el (Info-fontify-node): Hide empty lines at the end of
3290 the node. (Bug#12272)
3292 2012-08-27 Drew Adams <drew.adams@oracle.com>
3294 * dired.el (dired-pop-to-buffer): Make window start at beginning
3295 of buffer (Bug#12281).
3297 2012-08-26 Chong Yidong <cyd@gnu.org>
3299 * window.el (special-display-regexps, special-display-frame-alist)
3300 (special-display-buffer-names, special-display-function)
3301 (display-buffer-reuse-frames): Mark as obsolete.
3303 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3305 * help.el (help-print-return-message): Don't treat
3306 display-buffer-reuse-frames specially.
3308 2012-08-26 Chong Yidong <cyd@gnu.org>
3310 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3311 New variable, replacing gdb-frame-parameters.
3312 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3313 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3314 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3315 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3316 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3317 the functions directly with gdb-display-buffer-other-frame-action.
3318 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3319 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3320 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3321 (gdb-display-registers-buffer): Define directly.
3322 (def-gdb-display-buffer): Macro deleted.
3323 (gdb-display-buffer): Remove second and third args, callers don't
3324 use them. Defer to the default display-buffer behavior, apart
3325 from making windows dedicated.
3326 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3328 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3330 * window.el (display-buffer-pop-up-frame): Handle a
3331 pop-up-frame-parameters alist entry.
3332 (display-buffer): Document it.
3334 2012-08-26 Chong Yidong <cyd@gnu.org>
3336 * isearch.el (search-whitespace-regexp): Make string and nil
3337 values apply to both ordinary and regexp search. Allow a cons
3338 cell value to distinguish between the two.
3339 (isearch-whitespace-regexp, isearch-search-forward)
3340 (isearch-search-backward): New functions.
3341 (isearch-occur, isearch-search-fun-default, isearch-search)
3342 (isearch-lazy-highlight-new-loop): Use them.
3343 (isearch-forward, isearch-forward-regexp): Doc fix.
3345 2012-08-26 Chong Yidong <cyd@gnu.org>
3347 * faces.el (help-argument-name): Always inherit from italic
3350 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3352 * window.el (window--even-window-heights): Even heights when
3353 WINDOW and the selected window form a vertical combination.
3354 (display-buffer-use-some-window): Provide that window used gets
3355 sized back by quit-window. (Bug#11880) and (Bug#12091)
3357 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3359 Fix file time stamp problem with bzr and CVS (Bug#12001).
3360 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3361 in the file's time stamp, since the version control system loses
3364 2012-08-22 Juri Linkov <juri@jurta.org>
3366 * info.el (Info-fontify-node): Hide the suffix of the
3367 Info file name in the header line. (Bug#12187)
3369 2012-08-22 Glenn Morris <rgm@gnu.org>
3371 * calendar/cal-tex.el (cal-tex-weekly-common):
3372 Restore leading blank page.
3374 2012-08-22 Le Wang <l26wang@gmail.com>
3376 * misc.el (forward-to-word, backward-to-word): Activate or extend
3377 the region under `shift-select-mode'. (Bug#12231)
3379 2012-08-22 Bastien Guerry <bzg@gnu.org>
3381 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3382 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3383 gives details on why the space is never needed.
3385 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3387 * window.el (walk-window-tree, window-with-parameter):
3388 New optional argument MINIBUF to control whether these functions
3389 should run on the minibuffer window.
3390 (window-at-side-list): Don't operate on minibuffer window.
3391 (window-in-direction): Simplify and rewrite doc-string.
3392 (window--size-ignore): Rename to window--size-ignore-p.
3394 (display-buffer-in-atom-window, window--major-non-side-window)
3395 (window--major-side-window, display-buffer-in-major-side-window)
3396 (delete-side-window, display-buffer-in-side-window):
3398 (window--side-check, window-deletable-p, delete-window)
3399 (delete-other-windows, split-window): Handle side windows and
3400 atomic windows appropriately.
3401 (window--display-buffer): Call display-buffer-record-window also
3402 when the window buffer did not change.
3404 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3406 * help-fns.el (help-fns--key-bindings):
3407 Abbreviate non-symbol remap targets. (Bug#12174)
3409 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3411 * dired.el (dired-mark-remembered): Don't clobber point.
3414 2012-08-22 Glenn Morris <rgm@gnu.org>
3416 * progmodes/bug-reference.el (bug-reference): New custom group.
3417 (bug-reference-bug-regexp): Make it a defcustom.
3419 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3421 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3422 (js-paren-indent-offset, js-square-indent-offset)
3423 (js-curly-indent-offset): Add :safe (Bug#12257).
3425 2012-08-22 Edward O'Connor <hober0@gmail.com>
3427 * json.el (json-key-format): Add error properties.
3428 (json-encode-key): New function.
3429 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3430 Use json-encode-key.
3432 2012-08-22 Glenn Morris <rgm@gnu.org>
3434 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3435 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3436 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3437 Update for above change.
3439 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3441 * cus-face.el (custom-face-attributes): Fix customize type for the
3442 :underline attribute. (Bug#11805)
3444 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3446 * window.el (window-point-1, set-window-point-1): Remove.
3447 (window-in-direction, record-window-buffer)
3448 (set-window-buffer-start-and-point, split-window-below)
3449 (window--state-get-1, display-buffer-record-window):
3450 Replace calls to window-point-1 and set-window-point-1 by calls to
3451 window-point and set-window-point respectively.
3453 2012-08-21 Glenn Morris <rgm@gnu.org>
3455 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3456 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3459 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3460 (cal-tex-shortday): New function.
3461 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3462 (cal-tex-cursor-filofax-daily): Use the above.
3464 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3466 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3467 (cal-tex-cursor-filofax-week): Use them.
3469 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3471 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3472 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3474 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3475 (cal-tex-end-document): Don't rely on buffer name.
3477 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3479 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3480 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3481 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3484 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3485 (cal-tex-cursor-week, cal-tex-cursor-week2)
3486 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3487 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3488 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3489 (cal-tex-insert-preamble, cal-tex-b-document)
3490 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3491 Improve cal-tex-cmd usage.
3493 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3494 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3495 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3496 (cal-tex-weekly-paper): New function.
3497 (cal-tex-cursor-week, cal-tex-cursor-week2)
3498 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3499 (cal-tex-cursor-day): Use it.
3501 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3502 (cal-tex-cursor-filofax-week): Remove leading blank page.
3504 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3505 Add autoload cookie. For now at least, don't use color, since
3506 no other cal-tex function does.
3508 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3509 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3510 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3512 2012-08-21 Juri Linkov <juri@jurta.org>
3514 * info.el (Info-file-attributes): New variable.
3515 (info-insert-file-contents): Add file attributes to
3516 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3517 `Info-toc-nodes' when previous modtime of the Info file is less
3519 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3520 of info.el. (Bug#12230)
3522 2012-08-20 Glenn Morris <rgm@gnu.org>
3524 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3525 * calendar/holidays.el (calendar-holiday-list):
3526 Report errors with display-warning rather than beep'n'sleep.
3528 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3530 * net/tramp.el (tramp-accept-process-output): Accept only output
3531 from PROC. Otherwise, process filters and sentinels might be
3532 confused. (Bug#12145)
3534 2012-08-20 Chong Yidong <cyd@gnu.org>
3536 * descr-text.el (describe-text-properties-1): Use overlays-in to
3537 report on empty overlays (Bug#3322).
3539 2012-08-20 Glenn Morris <rgm@gnu.org>
3541 * mail/rmailout.el (rmail-output-read-file-name):
3542 Trap and report errors in rmail-output-file-alist elements.
3544 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3545 since most non-font-lock faces are not also variables).
3547 2012-08-20 Edward Reingold <reingold@iit.edu>
3549 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3550 New function. (Bug12160)
3552 2012-08-19 Glenn Morris <rgm@gnu.org>
3554 * mail/rmailout.el (rmail-output-read-file-name):
3555 Fix previous change (when the alist is nil or does not match).
3557 2012-08-19 Chong Yidong <cyd@gnu.org>
3559 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3562 2012-08-18 Chong Yidong <cyd@gnu.org>
3564 * simple.el (yank-handled-properties): New defcustom.
3565 (yank-excluded-properties): Add font-lock-face and category.
3568 * subr.el (remove-yank-excluded-properties):
3569 Obey yank-handled-properties. The special handling of font-lock-face
3570 and category is now done this way, instead of being hard-coded.
3571 (insert-for-yank-1): Remove font-lock-face handling.
3572 (yank-handle-font-lock-face-property)
3573 (yank-handle-category-property): New function.
3575 2012-08-17 Glenn Morris <rgm@gnu.org>
3577 * mail/rmailout.el (rmail-output-read-file-name):
3578 Check rmail-output-file-alist against the full message body
3579 in the correct rmail buffer. (Bug#12214)
3581 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3583 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3584 Eliminate superfluous prompt. (Bug#12203)
3586 2012-08-17 Chong Yidong <cyd@gnu.org>
3588 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3589 font spec, set the font directly (Bug#3228).
3591 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3593 * window.el (delete-window): Fix last fix.
3595 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3597 * window.el (window-valid-p): Move to window.c.
3598 (window-child, window-child-count, window-last-child)
3599 (window-normalize-window, window-combined-p)
3600 (window-combinations, window-atom-root, window-min-size)
3601 (window-sizable, window-sizable-p, window-size-fixed-p)
3602 (window-min-delta, window-max-delta, window--resizable)
3603 (window--resizable-p, window-resizable, window-total-size)
3604 (window-full-height-p, window-full-width-p, window-body-size)
3605 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3606 (minimize-window, window-deletable-p, delete-window)
3607 (delete-other-windows, set-window-buffer-start-and-point)
3608 (next-buffer, previous-buffer, split-window, balance-windows-2)
3609 (set-window-text-height, window-buffer-height)
3610 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3611 (truncated-partial-width-window-p): Minor code adjustments.
3612 In doc-strings state whether the argument window has to denote a
3613 live, valid or any window.
3615 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3617 * progmodes/subword.el (subword-forward-function)
3618 (subword-backward-function, subword-forward-regexp)
3619 (subword-backward-regexp): New variables.
3620 (subword-forward, subword-forward-internal, subword-backward-internal):
3621 Use new variables, eg so that different "word" definitions
3622 can be easily used. (Bug#11411)
3624 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3627 for composite selectors.
3628 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3629 operation just because we can't find a previous revision.
3631 2012-08-15 Chong Yidong <cyd@gnu.org>
3633 * frame.el (set-frame-font): Accept font objects.
3635 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3639 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3641 * man.el (Man-overstrike-face, Man-underline-face)
3642 (Man-reverse-face): Remove variables.
3643 (Man-overstrike, Man-underline, Man-reverse): New faces.
3644 (Man-fontify-manpage): Use them instead of the variables.
3645 (Man-cleanup-manpage): Comment change.
3646 (Man-ansi-color-map): New variable.
3647 (Man-fontify-manpage): Use it.
3648 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3650 Implement ANSI SGR parameters 22-27 (bug#12146).
3651 * ansi-color.el (ansi-colors): Doc fix.
3652 (ansi-color-context, ansi-color-context-region): Doc fix.
3653 (ansi-color--find-face): New function.
3654 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3655 Rename the local variable `face' to `codes' since it is now a list of
3656 ansi codes. Doc fix.
3657 (ansi-color-get-face): Remove.
3658 (ansi-color-parse-sequence): New function, derived from
3659 ansi-color-get-face.
3660 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3663 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3665 * subr.el (read-passwd): Allow use from a minibuffer.
3667 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3669 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3670 inside comments and strings as identifiers.
3672 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3673 expression to evaluate. This allows to evaluate expressions with
3674 embedded whitespace.
3675 (gud-tooltip-tips): Add a blank before the newline in the
3676 message-box text, for the benefit of message-box emulation on
3679 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3680 messages from GDB, pop them up in a tooltip to give feedback to
3682 (gdb-tooltip-print-1): Quote the expression to evaluate.
3683 This allows to evaluate expressions with embedded whitespace.
3684 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3685 if the TTY name is nil or empty (which happens when communicating
3686 with the inferior via pipes, e.g. on MS-Windows).
3687 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3688 don't send that to the GUD buffer.
3690 2012-08-14 Glenn Morris <rgm@gnu.org>
3692 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3693 Optimize away setq-default with no args, as for setq. (Bug#12195)
3695 2012-08-14 Chong Yidong <cyd@gnu.org>
3697 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3699 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3702 2012-08-14 Glenn Morris <rgm@gnu.org>
3704 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3706 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3708 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3709 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3710 Use cached shell name.
3712 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3714 * progmodes/python.el (python-shell-send-string):
3715 (python-shell-send-setup-code): Do not use `format' with `message'.
3717 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3719 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3720 (ruby-percent-literal-beg-re): New constant.
3721 (ruby-syntax-general-delimiters-goto-beg): Rename to
3722 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3723 (ruby-syntax-propertize-general-delimiters): Rename to
3724 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3725 popular term. Adjust comments everywhere.
3726 (ruby-syntax-propertize-percent-literal): Only propertize when not
3727 inside a simple string or comment. When the literal is unclosed,
3728 leave the text after it unpropertized.
3729 (ruby-syntax-methods-before-regexp): New constant.
3730 (ruby-syntax-propertize-function): Use it to recognize regexps.
3731 Don't look at the text after regexp, just use the whitelist.
3733 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3735 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3736 non-nil always load the compiled file if it exists. (Bug#12197)
3738 2012-08-14 Chong Yidong <cyd@gnu.org>
3740 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3741 (hi-lock-set-pattern): When deciding whether to use font lock or
3742 overlays, look at font-lock-mode instead of font-lock-fontified
3744 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3745 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3747 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3749 * subr.el (internal--after-with-selected-window): Fix typo
3752 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3754 Use `completion-table-dynamic' for completion functions.
3755 * progmodes/python.el
3756 (python-shell-completion--do-completion-at-point)
3757 (python-shell-completion--get-completions):
3759 (python-shell-completion-complete-at-point): New function.
3760 (python-completion-complete-at-point): Use it.
3762 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3764 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3765 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3767 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * subr.el (function-get): Refine `autoload' arg so it can also
3770 autoload functions for gv.el (bug#12191).
3771 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3774 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3775 Prefer pcase-let over destructuring-bind.
3776 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3777 Also, remove whitespace as we go, rather than after accumulating the
3780 * subr.el (internal--before-with-selected-window)
3781 (internal--after-with-selected-window): Fix typo seleted->selected.
3782 (with-selected-window): Adjust callers.
3783 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3785 2012-08-13 Bastien Guerry <bzg@gnu.org>
3787 * window.el (special-display-popup-frame): Minor docstring
3788 enhancement. (Bug#12172)
3790 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3792 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3794 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3797 * files.el (hack-local-variables-filter): Remove useless eval.
3799 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3801 * subr.el (with-selected-window): Fix last change.
3803 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * subr.el (internal--before-with-seleted-window)
3806 (internal--after-with-seleted-window): New functions.
3807 (with-selected-window): Use them, to replace dependency on
3810 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3812 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3813 binding for `newline'.
3814 (ruby-move-to-block): When moving backward, stop at block opening,
3816 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3817 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3818 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3819 `ruby-toggle-block'.
3821 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3823 * ibuffer.el (ibuffer-do-toggle-read-only):
3824 * dired.el (dired-toggle-read-only):
3825 * buff-menu.el (Buffer-menu-toggle-read-only):
3826 * bindings.el (mode-line-toggle-read-only):
3827 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3829 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3831 * descr-text.el (describe-char): Put the overlays over the
3832 "displayed as" character.
3834 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3836 * calc/calc-units.el (math-default-units-table): Give an
3838 (math-put-default-units): Add options to put composite units and
3839 unit systems in the default units table.
3840 (calc-convert-units): Send composite units to
3841 `math-put-default-units' when appropriate.
3843 2012-08-11 Glenn Morris <rgm@gnu.org>
3845 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3847 * tutorial.el (help-with-tutorial):
3848 * emacs-lisp/copyright.el (copyright-update-directory):
3849 * emacs-lisp/autoload.el (autoload-find-generated-file)
3850 (autoload-find-file): Disable local eval: (for insurance).
3852 * files.el (hack-local-variables-filter): If an eval: form is not
3853 known to be safe, and enable-local-variables is :safe, then ignore
3854 the form totally, as is done for non-eval forms. (Bug#12155)
3855 This is CVE-2012-3479.
3857 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3860 (rx-form): Simplify.
3862 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3864 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3865 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3866 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3867 (ruby-syntax-propertize-function): Adjust for changes in
3868 `ruby-syntax-propertize-heredoc'.
3870 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3872 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3873 binding (use `M-;' instead).
3874 (ruby-singleton-class-p): New function.
3875 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3877 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3881 2012-08-10 Chong Yidong <cyd@gnu.org>
3883 * progmodes/python.el (python-shell-get-process-name): Don't mess
3884 with same-window-buffer-names.
3886 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3887 (eshell-remove-from-window-buffer-names): Make obsolete.
3888 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3889 (eshell): Just use pop-to-buffer-same-window instead.
3891 2012-08-10 Chong Yidong <cyd@gnu.org>
3893 * bindings.el: Bind M-= back to count-words-region.
3895 * simple.el (count-words-region): Accept a prefix arg for acting
3896 on the entire buffer.
3897 (count-words--buffer-message): New helper function.
3899 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3901 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3902 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3903 (event-start, event-end): Use posn-at-point to return a more
3905 (posnp): New function.
3906 * mouse.el (popup-menu-normalize-position): Use it.
3908 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3910 * mouse.el (popup-menu-normalize-position): New function.
3911 (popup-menu): Use `popup-menu-normalize-position' to normalize
3912 the form for POSITION argument.
3914 * term/x-win.el (x-menu-bar-open):
3915 Use the value returend from (posn-at-point) as position
3916 passed to `popup-menu'.
3918 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3920 * calc/calccomp.el (math-compose-expr): Add extra argument
3921 indicating that parentheses should be put around products in
3922 denominators. Give multiplication precedence over division during
3925 2012-08-09 Chong Yidong <cyd@gnu.org>
3927 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3928 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3929 (Man-untabify-command, manual-program): Convert to defcustom
3932 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3934 * descr-text.el (describe-char): Don't insert extra newlines
3937 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3938 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3940 * align.el (align-region): Delete temporary markers (Bug#10047).
3941 Plus some code cleanups.
3943 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3945 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3946 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3947 (python-shell-internal-last-output): Use make-local-variable
3948 instead of make-variable-buffer-local.
3950 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3952 * progmodes/python.el: Enhancements to forward-sexp.
3953 (python-nav-forward-sexp): Rename from
3954 python-nav-forward-sexp-function.
3955 (python-nav--forward-sexp, python-nav--backward-sexp):
3958 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3960 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3961 modes and simplification modes.
3963 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3965 * delsel.el (delete-selection-pre-hook): Don't propagate the
3966 file-supersession signals (bug#12161).
3968 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3971 (cl-map-extents): Add compatibility aliases (bug#12135).
3973 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3976 tests by `ignore-error'.
3977 (tramp-find-shell): Open also a new shell, when cache is already
3978 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3980 2012-08-08 Juri Linkov <juri@jurta.org>
3982 * bookmark.el: Add `defaults' property to the bookmark record.
3983 (bookmark-current-buffer): Doc fix.
3984 (bookmark-make-record): Add `defaults' property with default values
3985 to the bookmark record.
3986 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3987 with `bookmark-insert-current-bookmark'.
3988 (bookmark-set): Get `defaults' property from the bookmark record
3989 and use it in `read-from-minibuffer'.
3990 (bookmark-insert-current-bookmark): Remove function.
3992 * info.el (Info-bookmark-make-record): Add `defaults' property
3993 with values of canonical Info node name, the current Info file
3994 name and the current Info node name. (Bug#12107)
3996 2012-08-08 Juri Linkov <juri@jurta.org>
3998 * files.el (basic-save-buffer): Use `buffer-name' as the default
3999 of `read-file-name' when buffer is not visiting a file (bug#12128).
4001 2012-08-08 Juri Linkov <juri@jurta.org>
4003 * info.el (Info-isearch-search): Doc fix.
4004 (Info-search): Change search-failed message from "initial node" to
4005 "end of node" (bug#12078).
4006 (Info-isearch-search): Change `isearch-string-state' to
4007 `isearch--state-string'.
4009 2012-08-08 Glenn Morris <rgm@gnu.org>
4011 * language/persian.el: Remove file.
4012 * language/misc-lang.el: Move unique part of persian.el here.
4013 * loadup.el: Remove language/persian.
4015 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4017 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4019 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4021 * progmodes/python.el Fixed defsubst warning.
4022 (python-syntax-context) Rename from python-info-ppss-context.
4023 (python-syntax-context-type): Rename from
4024 python-info-ppss-context-type.
4025 (python-syntax-comment-or-string-p): Rename from
4026 python-info-ppss-comment-or-string-p.
4028 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4030 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4032 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4034 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4035 a defcustom that is quoted with backquote.
4037 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4038 Fix handling of interactive spec when the body uses return.
4039 (math-do-arg-check, math-define-function-body): Use backquote forms.
4040 * calc/calc-ext.el (math-defcache): Likewise.
4041 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4042 * allout.el (allout-new-exposure): Likewise.
4043 * calc/calcalg2.el (math-tracing-integral): Likewise.
4044 * info.el (Info-last-menu-item): Likewise.
4045 * emulation/vip.el (vip-loop): Likewise.
4046 * textmodes/artist.el (artist-funcall): Likewise.
4047 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4048 Construct menu-item directly.
4050 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4053 2012-08-07 Chong Yidong <cyd@gnu.org>
4055 * simple.el (deactivate-mark): Preserve text properties when
4056 saving the primary selection (Bug#8384).
4058 2012-08-07 Kevin Ryde <user42@zip.com.au>
4060 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4061 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4062 and continue processing (Bug#12110).
4064 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4067 syntax-propertize-function (bug#10095).
4069 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4072 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4073 describe-function-1.
4074 (describe-function-1): Use them. Move compiler macro after sig.
4075 (help-fns--compiler-macro): Use function-get. Assume we're already in
4076 standard-output. Adjust layout to new call order.
4078 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4079 re-binding a symbol that has a symbol-macro (bug#12119).
4081 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4083 * language/persian.el: New file. (Bug#11812)
4084 * loadup.el: Add language/persian.el.
4086 2012-08-06 Chong Yidong <cyd@gnu.org>
4088 * window.el (window--maybe-raise-frame): New function.
4089 (window--display-buffer): Split off from here.
4090 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4091 (display-buffer-pop-up-window, display-buffer-use-some-window):
4092 Obey an inhibit-switch-frame action alist entry.
4093 (display-buffer): Update doc.
4095 * replace.el (occur-after-change-function): Avoid losing focus by
4096 using the inhibit-switch-frame display parameter (Bug#12139).
4098 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4100 Make internal shell process buffer names start with space.
4101 * progmodes/python.el (python-shell-make-comint): Add optional
4103 (run-python-internal): Use it.
4104 (python-shell-internal-get-or-create-process): Check for new
4105 internal buffer names.
4107 2012-08-06 Glenn Morris <rgm@gnu.org>
4109 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4110 Do less getting and setting of environment variables.
4112 2012-08-05 Chong Yidong <cyd@gnu.org>
4114 * proced.el (proced): Add substitution string to docstring to
4115 trigger autoloading of the proced library on C-h f (Bug#1768).
4117 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4118 Don't show defvars which have no second argument (Bug#8638).
4120 * imenu.el (imenu-generic-expression): Move documentation here
4121 from imenu--generic-function.
4122 (imenu--generic-function): Refer to imenu-generic-expression.
4124 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4126 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4127 indentation declaration.
4128 (viper-loop): Add indentation declaration (Bug#7025).
4130 2012-08-05 Chong Yidong <cyd@gnu.org>
4132 * help-fns.el (describe-variable): Add hyperlink for
4133 directory-local variables files. Improve buffer-local and
4134 permanent-local reporting; suggested by MON KEY (Bug#6644).
4136 * help-mode.el (help-dir-local-var-def): New button type.
4138 * files.el (kill-buffer-hook): Provide a defvar.
4140 2012-08-05 Glenn Morris <rgm@gnu.org>
4142 * eshell/esh-ext.el (eshell/addpath):
4143 Also update eshell-path-env. (Bug#12013)
4145 2012-08-05 Chong Yidong <cyd@gnu.org>
4147 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4149 * fringe.el (fringe-styles): Add docstring.
4150 (fringe--check-mode): New function.
4151 (set-fringe-mode, set-fringe-style): Use it.
4152 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4154 * files.el (set-auto-mode): Fix invalid setq call.
4156 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * isearch.el: Misc simplification; use defstruct.
4159 (isearch-mode-map): Dense maps now work like sparse ones.
4160 (isearch--state): New defstruct.
4161 (isearch-string-state, isearch-message-state, isearch-point-state)
4162 (isearch-success-state, isearch-forward-state)
4163 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4164 (isearch-wrapped-state, isearch-barrier-state)
4165 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4166 replaced by defstruct's accessors.
4167 (isearch--set-state): Rename from isearch-top-state and change
4169 (isearch-push-state): Use new isearch--get-state.
4170 (isearch-toggle-word): Disable regexp when enabling word.
4171 (isearch-message-prefix): Remove unused arg _c-q-hack.
4172 (isearch-message-suffix): Remove unused arg _ellipsis.
4174 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4176 * simple.el (list-processes--refresh): For a server use :host or
4177 :local as the address.
4178 (list-processes): Doc fix.
4180 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4182 * lisp/mpc.el: Support password in host argument.
4183 (mpc--proc-connect): Parse and use new password element.
4184 Set mpc-proc variable instead of returning process.
4185 (mpc-proc): Adjust accordingly.
4187 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4189 * whitespace.el (whitespace-display-mappings): Use Unicode
4190 codepoints, instead of emacs-mule codepoints. See
4191 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4194 * files.el (file-truename): Don't skip symlink-chasing part on
4195 windows-nt. Incorporate the resolution of 8+3 short aliases on
4196 Windows into the loop that recursively chases symlinks.
4197 Compare directory and its parent case-insensitively on MS-Windows and
4200 2012-08-03 Chong Yidong <cyd@gnu.org>
4202 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4204 * sort.el (sort-regexp-fields): Doc fix.
4206 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4208 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4209 labels regex position point at the expected place.
4211 2012-08-03 MON KEY <monkey@sandpframing.com>
4213 * net/imap.el (imap-interactive-login, imap-authenticate)
4214 (imap-mailbox-lsub, imap-mailbox-list)
4215 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4216 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4217 (imap-parse-response): Doc fix.
4219 2012-08-03 João Távora <joaotavora@gmail.com>
4221 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4222 if sexp scanning does not move point (Bug#5734).
4224 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4226 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4227 Add listings, minted, and ctable packages.
4228 (reftex-label-alist-builtin): Move listings, minted, and ctable
4229 entries before LaTeX.
4230 (reftex-label-alist): Docfix.
4232 2012-08-02 Bastien Guerry <bzg@gnu.org>
4234 * replace.el (occur): Fix docstring (bug#12122).
4236 2012-08-02 Glenn Morris <rgm@gnu.org>
4238 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4240 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4242 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4243 * international/mule-cmds.el: Create
4244 inactivate-current-input-method-function as an obsolete alias for
4245 deactivate-current-input-method-function. See Katsumi Yamaoka in
4246 <http://bugs.gnu.org/10150#46>.
4248 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4250 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4253 2012-08-01 Glenn Morris <rgm@gnu.org>
4255 * progmodes/autoconf.el (autoconf-definition-regexp):
4256 Add AH_TEMPLATE, adjust submatch numbering.
4257 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4258 (autoconf-current-defun-function): Update for above change.
4259 (autoconf-current-defun-function): First skip to end of current word.
4261 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4263 * calendar/cal-html.el (cal-html-insert-agenda-days):
4264 Fix typo. (Bug#12018)
4266 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4268 Shell processes: enhancements to startup and CEDET compatibility.
4269 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4270 (python-shell-make-comint): accept-process-output at startup.
4271 (run-python-internal): Set inferior-python-mode-hook to nil.
4272 (python-shell-internal-get-or-create-process): call sit-for.
4273 (python-preoutput-result): Add obsolete alias.
4274 (python-shell-internal-send-string): Use it.
4275 (python-shell-send-setup-code): Remove call to
4276 accept-process-output.
4278 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4280 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4283 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4285 * calc-mode.el (calc-basic-simplification-mode): Rename from
4286 `calc-limited-simplification-mode'.
4287 (calc-alg-simplification-mode): New function.
4288 (calc-set-simplify-mode): Adjust message.
4290 * calc.el (calc-set-mode-line): Adjust mode line display for
4291 basic simplification mode.
4293 * calc-help.el (calc-m-prefix-help): Update help message.
4295 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4296 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4298 2012-07-31 Bastien Guerry <bzg@gnu.org>
4300 * man.el (man): Fix comment. (bug#12101)
4302 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4304 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4305 Don't return a non-nil value when no suitable buffer was found.
4307 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4309 * progmodes/python.el (run-python-internal): Disable font lock for
4312 2012-07-30 Stefan Merten <smerten@oekonux.de>
4314 * textmodes/rst.el: Silence `checkdoc-ispell'.
4315 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4316 (rst-official-version, rst-official-cvs-rev)
4317 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4318 (rst-mode-map): New key binding.
4320 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4322 Update .PHONY listings in makefiles.
4323 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4324 autoloads, update-subdirs, updates, bzr-update, update-authors,
4325 compile-onefile, compile-calc, backup-compiled-files,
4326 compile-after-backup, compile-one-process, mh-autoloads,
4327 bootstrap-clean, distclean, maintainer-clean.
4329 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4331 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4332 (calc-set-mode-line): Don't display "AlgSimp ".
4334 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4335 (calc-lim-simplify-mode): New function.
4336 (calc-set-simplify-mode): Default to 'alg.
4337 (calc-default-simplify-mode): Make algebraic simplifications
4340 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4341 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4343 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4344 indicate new simplification modes.
4346 * calc/README: Mention new default simplification mode.
4348 * calc/calc.el (math-normalize-error): New variable.
4349 (math-normalize): Set `math-normalize-error' to t
4350 when there's an error.
4352 * calc/calc-alg.el (math-simplify): Don't simplify when
4353 `math-normalize' returns an error.
4355 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4357 * international/mule-cmds.el (set-locale-environment): Revert last
4358 change, since display-graphic-p returns nil when this function is
4359 called during startup. Instead...
4361 * term/w32console.el (terminal-init-w32console): ...setup the
4362 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4364 2012-07-29 Juri Linkov <juri@jurta.org>
4366 * simple.el (goto-line): Don't display default line number in the
4367 prompt because it should be displayed by `read-number' (bug#9952).
4368 Add the current line number to the defaults of `goto-line' to
4369 allow its easier modification by users with `M-n' (bug#9201).
4371 * subr.el (read-number): Support multiple default values like in
4372 other minibuffer reading functions. Replace `read' with
4373 `string-to-number' for consistency with `number-to-string'.
4375 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4377 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4378 * emulation/viper-init.el (viper-deactivate-input-method-action):
4379 Rename from viper-inactivate-input-method-action.
4380 (viper-deactivate-input-method):
4381 Rename from viper-inactivate-input-method.
4382 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4383 * international/mule-cmds.el (deactivate-input-method):
4384 Rename from inactivate-input-method.
4385 Also run input-method-deactivate-hook.
4386 (deactivate-current-input-method-function):
4387 Rename from inactivate-current-input-method-function.
4388 (input-method-deactivate-hook): New hook.
4389 (input-method-inactivate-hook): Mark obsolete.
4390 (inactivate-input-method): Mark obsolete.
4392 * international/quail.el (quail-activate):
4393 Also run quail-deactivate-hook.
4394 (quail-deactivate): Rename from quail-inactivate.
4395 * international/robin.el (robin-activate):
4396 Also run robin-deactivate-hook.
4397 (robin-deactivate): Rename from robin-inactivate.
4399 2012-07-29 Chong Yidong <cyd@gnu.org>
4401 * simple.el (indicate-copied-region): New function.
4402 (kill-ring-save): Split off from here.
4404 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4405 (kill-rectangle): Set deactivate-mark to t on read-only error.
4407 * register.el (copy-to-register, copy-rectangle-to-register):
4408 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4409 (append-to-register, prepend-to-register): Call indicate-copied-region.
4411 2012-07-29 Juri Linkov <juri@jurta.org>
4413 * simple.el (async-shell-command-buffer): New defcustom.
4414 (shell-command): Use it. (Bug#4719)
4416 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4418 * international/mule-cmds.el (set-locale-environment): In a
4419 console session on MS-Windows, set up keyboard and terminal
4420 encoding from the OEM codepage, not the ANSI codepage.
4423 2012-07-28 Chong Yidong <cyd@gnu.org>
4425 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4428 2012-07-28 Leo Liu <sdl.web@gmail.com>
4430 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4431 the alist (bug#12029).
4433 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4435 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4436 (compile-always, compile-first)
4437 ($(lisp)/calendar/cal-loaddefs.el)
4438 ($(lisp)/calendar/diary-loaddefs.el)
4439 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4440 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4441 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4442 instead of on update-subdirs.
4443 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4445 2012-07-28 Chong Yidong <cyd@gnu.org>
4447 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4448 directory if vc-deduce-backend returns nil (Bug#7350).
4450 * simple.el (delete-trailing-lines): New option.
4451 (delete-trailing-whitespace): Obey it (Bug#11879).
4453 2012-07-28 David Engster <deng@randomsample.de>
4455 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4456 Explanation of new 'symbol-qnames feature in doc-strings.
4457 (xml-maybe-do-ns): Return expanded names as plain symbols if
4458 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4459 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4461 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4463 Consistent completion in inferior python with emacs -nw.
4464 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4465 binding in inferior-python-mode-map with "\t".
4466 (python-shell-completion-complete-at-point)
4467 (python-completion-complete-at-point): Remove interactive spec.
4469 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4471 * calc/calccomp.el (math-compose-expr): Undo previous change.
4473 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4475 * progmodes/python.el (python-mode-map): Add keybinding for
4477 (python-shell-make-comint): Fix pop-to-buffer call.
4478 (run-python): Autoload. New arg SHOW.
4479 (python-shell-get-or-create-process): Do not pop python process
4482 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4484 * notifications.el (notifications-on-action-signal)
4485 (notifications-on-closed-signal): Use also the bus address for the map.
4486 (notifications-notify, notifications-close-notification)
4487 (notifications-get-capabilities): Add optional argument BUS.
4489 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4491 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4492 Add support for the lstlisting and minted environments, and for the
4494 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4495 labels written in keyvals syntax.
4497 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4499 * calc/calccomp.el (math-compose-expr): Use parentheses when
4500 there is a product in the denominator of a fraction.
4502 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4504 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4505 ($(lisp)/calendar/diary-loaddefs.el)
4506 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4507 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4508 Fixes failures in parallel bootstrap because subdirs.el is being
4509 rewritten while the autoload files are built at the same time,
4510 which needs to load subdirs.el.
4512 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4514 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4515 (mouse-drag-line): Don't exit tracking when a switch-frame or
4516 switch-window event occurs (Bug#12006).
4518 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * mouse.el (popup-menu): Fix last change.
4522 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4524 Autoload from Lisp with more care. Follow aliases when looking for
4525 function properties.
4526 * subr.el (autoloadp): New function.
4527 (symbol-file): Use it.
4528 (function-get): New function.
4529 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4531 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4532 (lisp-indent-function):
4533 * emacs-lisp/gv.el (gv-get):
4534 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4535 * emacs-lisp/byte-opt.el (byte-optimize-form):
4536 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4537 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4539 * emacs-lisp/cl.el: Don't propagate function properties any more.
4541 * speedbar.el (speedbar-add-localized-speedbar-support):
4542 * emacs-lisp/disass.el (disassemble-internal):
4543 * desktop.el (desktop-load-file):
4544 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4545 (describe-function-1):
4546 * emacs-lisp/find-func.el (find-function-noselect):
4547 * emacs-lisp/elp.el (elp-instrument-function):
4548 * emacs-lisp/advice.el (ad-has-proper-definition):
4549 * apropos.el (apropos-safe-documentation, apropos-macrop):
4550 * emacs-lisp/debug.el (debug-on-entry):
4551 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4552 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4553 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4555 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4557 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4558 function, not an obsolete variable (Bug#12046).
4560 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4562 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4564 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4566 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4567 window only if it is still live (Bug#12034).
4569 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4571 * subr.el (redirect-frame-focus): Add advertised calling
4572 convention (Bug#12030).
4574 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4576 Prefer typical American spelling for "acknowledgment".
4577 * vc/add-log.el (change-log-acknowledgment): Rename from
4578 change-log-acknowledgement, with an alias for the old name.
4580 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4582 * calc-alg.el (math-simplify-divide): Don't cross multiply
4583 in an equation when the lhs is a variable.
4585 2012-07-24 Julien Danjou <julien@danjou.info>
4587 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4590 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4592 * startup.el (command-line): Don't display an empty user name in
4593 the error message about non-existent home directory, when
4594 init-file-user was set to an empty string. See
4595 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4596 for the details and context.
4598 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4600 * ses.el (ses-cell-formula-aset): New macro.
4601 (ses-cell-references-aset): New macro.
4602 (ses-cell-p): New function.
4603 (ses-rename-cell): Do no longer rely on complex operations like
4604 ses-cell-set-formula or ses-set-cell to change the cell and handle
4605 the undo at the same time, but rather use lower level new macros
4606 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4607 the undo directly. Refresh the mode line.
4609 2012-07-21 Leo Liu <sdl.web@gmail.com>
4611 * progmodes/cc-cmds.el (c-defun-name):
4612 Use match-string-no-properties instead for consistency.
4614 2012-07-20 Leo Liu <sdl.web@gmail.com>
4616 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4619 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4621 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4624 * progmodes/bug-reference.el, misearch.el: Provide themselves
4627 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4628 of narrowed buffer (bug#11966).
4630 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4632 * ses.el (ses-rename-cell): Set new name also in reference list of
4633 cells of which the renamed cell depends.
4635 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4637 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4638 to check whether menu-bar is shown or not. If not shown,
4639 show the menu-bar as a popup menu instead of using tmm.
4640 * mouse.el (popup-menu): Accept `point' as `position' argument.
4642 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4644 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4645 up inside string symbol literal (bug#11923).
4647 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4649 * startup.el (fancy-startup-text): Read the whole tutorial, not
4650 just its first 256 bytes. Prevents gibberish in display of the
4653 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4655 Drop idle buffer compaction due to an absence of the
4657 * compact.el: Remove.
4659 2012-07-19 Sam Steingold <sds@gnu.org>
4661 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4662 vc-bzr-pull & vc-bzr-merge-branch.
4663 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4664 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4665 for consistency with compilation-error-regexp-alist.
4666 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4667 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4668 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4669 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4671 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * emacs-lisp/chart.el: Use lexical-binding.
4674 (chart-emacs-storage): Don't hardcode the list of entries.
4676 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4678 Next round of tweaks caused by Fgarbage_collect changes.
4679 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4681 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4683 Compact buffers when idle.
4684 * compact.el: New file.
4686 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * subr.el (eventp): Presume that if it looks vaguely like an event,
4689 it's an event (bug#10190).
4691 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4693 Enhancements to ppss related code (thanks Stefan).
4694 * progmodes/python.el (python-indent-context)
4695 (python-indent-calculate-indentation, python-indent-dedent-line)
4696 (python-indent-electric-colon, python-nav-forward-block)
4697 (python-mode-abbrev-table)
4698 (python-info-assignment-continuation-line-p): Simplify checks
4700 (python-info-continuation-line-p): Cleanup.
4701 (python-info-ppss-context): Do not catch 'quote.
4702 (python-info-ppss-context-type)
4703 (python-info-ppss-comment-or-string-p): Simplify.
4705 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4707 * progmodes/python.el: Enhancements to eldoc support.
4708 (python-info-current-symbol): New function.
4709 (python-eldoc-at-point): Use python-info-current-symbol.
4710 (python-info-current-defun): Fix cornercase on first defun scan.
4711 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4712 and signal error when no inferior python process is available.
4714 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4716 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4717 assume it's always t.
4718 (vc-git-registered): Remove caching, the function is only called
4720 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4722 2012-07-18 Chong Yidong <cyd@gnu.org>
4724 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4726 * simple.el (count-words): Report on narrowing (Bug#9959).
4728 * bindings.el: Bind M-= to count-words.
4730 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4732 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4734 * progmodes/sh-script.el (sh-imenu-generic-expression):
4735 Capture a function with `function' keyword and without parentheses
4736 like "function FOO" (bug#11856).
4738 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4740 * window.el (split-window-sensibly): Make WINDOW argument
4743 2012-07-18 Chong Yidong <cyd@gnu.org>
4745 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4747 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4748 and make C-x 8 RET exit isearch (Bug#11439).
4750 * international/iso-transl.el: Move isearch-mode-map key
4751 definitions to isearch.el.
4753 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4755 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4756 (eieio-defclass): Use gv-define-setter when possible.
4758 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4760 Reflect recent changes in Fgarbage_collect.
4761 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4762 reflect new format of data returned by Fgarbage_collect.
4764 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4766 New utility functions + python-info-ppss-context fix (Bug#11910).
4767 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4768 (python-info-ppss-comment-or-string-p): New functions.
4769 (python-info-ppss-context): Small fix for string check.
4771 2012-07-17 Juri Linkov <juri@jurta.org>
4773 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4774 (dired-do-async-shell-command): Don't add `*' at the end of the
4775 command (Bug#11815).
4776 (dired-do-shell-command): Doc fix.
4777 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4778 Join the individual commands using either "&" or ";" as the
4779 separator depending on the values of these trailing characters.
4780 At the end re-add the trailing "&". (Bug#10598)
4782 * simple.el (async-shell-command): Sync the interactive spec with
4783 `shell-command'. Doc fix.
4784 (shell-command): Doc fix.
4786 2012-07-17 Juri Linkov <juri@jurta.org>
4788 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4790 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4792 Final renames and doc fixes for movement commands (bug#11899).
4793 * progmodes/python.el (python-nav-beginning-of-statement):
4794 Rename from python-nav-statement-start.
4795 (python-nav-end-of-statement): Rename from
4796 python-nav-statement-end.
4797 (python-nav-beginning-of-block): Rename from
4798 python-nav-block-start.
4799 (python-nav-end-of-block): Rename from python-nav-block-end.
4801 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4803 * progmodes/python.el (python-shell-send-string-no-output):
4804 Allow accept-process-output to quit, keeping shell process ready for
4805 future interactions (Bug#11868).
4807 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4809 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4811 * emacs-lisp/elint.el (elint-find-args-in-code):
4812 Use help-function-arglist, so as to handle lexical byte-code.
4814 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4817 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4819 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4820 Avoid spuriously marking the buffer as modified because of c-is-sws.
4822 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4823 as not-a-comment (bug#11946).
4825 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4826 for uninterned vars.
4828 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4829 Use read-event since we don't really want to read chars but bytes.
4831 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4832 $$..$$ but also $..$ using regexps (bug#11953).
4833 Use tex-verbatim for \url and \path.
4834 (tex-font-lock-keywords): Define as defconst like the others.
4835 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4837 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4839 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4840 alias for insert-char.
4842 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4844 * progmodes/python.el: Simplified imenu implementation.
4845 (python-nav-jump-to-defun): Remove command.
4846 (python-mode-map): Use `imenu' instead.
4847 (python-nav-list-defun-positions-cache)
4848 (python-imenu-include-defun-type, python-imenu-make-tree)
4849 (python-imenu-subtree-root-label, python-imenu-index-alist):
4851 (python-nav-list-defun-positions, python-nav-read-defun)
4852 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4853 (python-imenu-make-tree, python-imenu-create-index):
4855 (python-mode): Update to interact with imenu by setting
4856 `imenu-extract-index-name-function' only.
4858 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4860 * progmodes/python.el: Enhancements to navigation commands.
4861 (python-nav-backward-sentence)
4862 (python-nav-forward-sentence): Remove.
4863 (python-nav-backward-statement, python-nav-forward-statement)
4864 (python-nav-statement-start, python-nav-statement-end)
4865 (python-nav-backward-block, python-nav-forward-block)
4866 (python-nav-block-start, python-nav-block-end)
4867 (python-nav-forward-sexp-function)
4868 (python-info-current-line-comment-p)
4869 (python-info-current-line-empty-p): New functions.
4870 (python-indent-context): Use `python-nav-statement-start'.
4872 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4874 * eshell/em-ls.el (eshell/ls): Use `apply'.
4876 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4877 multi-hops, instead of Tramp internals.
4879 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4881 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4882 when F1 and F2 are located on different hosts.
4884 2012-07-14 Chong Yidong <cyd@gnu.org>
4886 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4887 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4888 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4889 (xterm-mouse--read-event-sequence-1000)
4890 (xterm-mouse--read-event-sequence-1006): New functions. For old
4891 mouse protocol, handle M-mouse-X events correctly.
4892 (xterm-mouse-event): New arg specifying mouse protocol.
4893 (turn-on-xterm-mouse-tracking-on-terminal)
4894 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4895 sequence to toggle extended coordinates on newer XTerms.
4896 This appears to be harmless on terminals which do not support this.
4898 2012-07-14 Leo Liu <sdl.web@gmail.com>
4900 Add fringe bitmap indicators for flymake. (Bug#11253)
4901 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4902 (flymake-make-overlay): New arg BITMAP.
4903 (flymake-error-bitmap, flymake-warning-bitmap)
4904 (flymake-fringe-indicator-position): New user variables.
4906 * fringe.el: New bitmap exclamation-mark.
4908 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4910 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4913 2012-07-14 Chong Yidong <cyd@gnu.org>
4915 * electric.el (electric-pair-post-self-insert-function): Fix pair
4916 insertion in empty-region case (Bug#11520).
4918 2012-07-14 Chong Yidong <cyd@gnu.org>
4920 * bindings.el: Consolidate ctl-x-r-map bindings.
4921 Bind copy-rectangle-as-kill to C-x r w.
4923 * rect.el, register.el: Move bindings to bindings.el.
4925 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4927 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4929 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4931 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4933 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4935 * bindings.el (top): Use `mapc' instead of `mapcar'.
4937 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4939 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4941 * progmodes/sql.el (sql-comint): Suppress the check for program on
4942 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4945 2012-07-13 Chong Yidong <cyd@gnu.org>
4947 * bindings.el: Assign a non-nil permanent-local property to
4948 per-buffer variables which lack a default value (Bug#11930).
4950 * help-fns.el (describe-variable): In the "automatically becomes
4951 local" notice, take note of permanent-local variables.
4953 2012-07-13 Chong Yidong <cyd@gnu.org>
4955 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4956 to allow printing the message when called from Lisp.
4958 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4959 Remove toggle-read-only.
4961 * bs.el (bs-toggle-readonly):
4962 * buff-menu.el (Buffer-menu-toggle-read-only):
4963 Remove with-no-warnings around toggle-read-only.
4965 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4966 Remove with-no-warnings around toggle-read-only.
4967 (ffap-read-only, ffap-read-only-other-window)
4968 (ffap-read-only-other-frame): Callers changed.
4970 * help-mode.el: Don't require view package.
4971 (help-mode-finish): Set buffer-read-only instead of calling
4974 * bindings.el (mode-line-toggle-read-only):
4975 * dired.el (dired-toggle-read-only):
4976 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4977 with non-nil second arg.
4979 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4980 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4983 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4985 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4988 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4990 More CL cleanups and reduction of use of cl.el.
4991 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4992 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4993 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4994 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4995 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4996 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4997 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4998 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4999 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5000 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5001 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5002 * eshell/em-cmpl.el, eshell/em-banner.el:
5003 * calendar/parse-time.el: Use cl-lib.
5004 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5005 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5006 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5007 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5008 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5009 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5010 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5011 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5012 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5013 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5014 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5015 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5016 `lambda' rather than with `quote'.
5017 (eshell-do-opt): Adjust accordingly.
5018 (eshell-process-option): Simplify.
5019 * eshell/esh-var.el:
5020 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5021 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5022 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5023 to `pcase--dontcare'.
5024 * emacs-lisp/cl.el (labels): Mark obsolete.
5025 (cl--letf, letf): Move to cl-lib.
5026 (cl--letf*, letf*): Remove.
5027 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5028 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5029 (cl-progv): Rewrite.
5030 (cl--letf, cl-letf): Move from cl.el.
5031 (cl-letf*): New macro.
5032 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5034 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5036 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5038 2012-07-11 Chong Yidong <cyd@gnu.org>
5040 * vc/log-edit.el (log-edit-vc-backend): New variable.
5041 (log-edit): Doc fix.
5043 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5044 argument of log-edit to set up all local variables.
5045 (vc-start-logentry): New optional arg specifying VC backend.
5047 * vc/vc.el (vc-checkin): Use it.
5048 (vc-deduce-fileset): Handle Log Edit buffers.
5049 (vc-diff): Make first argument optional too.
5051 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5053 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5055 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5056 command, just in case. The function is not needed anymore.
5057 (eshell-external-command): Do not call `eshell-remote-command'.
5059 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5061 Reduce use of (require 'cl).
5062 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5063 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5064 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5065 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5066 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5067 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5068 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5069 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5070 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5071 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5072 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5073 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5074 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5075 (byte-compile-unfold-bcf, byte-compile-check-variable):
5076 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5077 (byte-compile-nilconstp):
5078 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5079 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5081 * emacs-lisp/gv.el (cond): Make it a valid place.
5082 (if): Simplify slightly.
5084 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5085 (pcase--self-quoting-p): New function.
5086 (pcase--u1): Use it.
5088 2012-07-10 Glenn Morris <rgm@gnu.org>
5090 * emacs-lisp/authors.el (authors-fixed-entries):
5091 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5093 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5095 Rename configure.in to configure.ac (Bug#11603).
5096 * emacs-lisp/authors.el (authors-canonical-file-name):
5097 * progmodes/autoconf.el (autoconf-mode):
5098 Prefer configure.ac to configure.in.
5100 2012-07-08 Chong Yidong <cyd@gnu.org>
5102 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5103 Implement the mouse-1-click-follows-link handling properly.
5105 * info.el (Info-link-keymap): Use follow-link mechanism for
5106 header-line links (Bug#374).
5108 * simple.el (deactivate-mark): Do not set the primary selection
5109 if another program has acquired it (Bug#11772).
5111 2012-07-07 Kevin Ryde <user42@zip.com.au>
5113 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5114 (woman-decode-region): Replace escaped-escapes without destroying
5115 bold or underline (Bug#11552).
5116 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5118 2012-07-07 Chong Yidong <cyd@gnu.org>
5120 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5121 (interprogram-cut-function, interprogram-paste-function):
5122 Mention that we typically mean the clipboard.
5124 2012-07-06 Glenn Morris <rgm@gnu.org>
5126 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5128 * files.el (toggle-read-only): Restrict message to interactive use.
5130 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5132 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5134 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5136 2012-07-06 Glenn Morris <rgm@gnu.org>
5138 * Makefile.in (compile-one-process): Rename from "recompile".
5140 * Makefile.in (bzr-update): "compile" is the same as "recompile
5141 autoloads", but parallelizable, so use that instead.
5143 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5145 * window.el (quit-window): Always restore window height when
5146 it's saved in quit-restore parameter (Bug#11810).
5148 2012-07-06 Glenn Morris <rgm@gnu.org>
5150 * simple.el (kill-whole-line): Doc tweak.
5152 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5154 * files.el (file-relative-name): Compare file names
5155 case-insensitively if on MS-Windows or MS-DOS, or if
5156 read-file-name-completion-ignore-case is non-nil. Don't use
5157 case-fold-search for this purpose. (Bug#11827)
5159 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5161 * calendar/cal-dst.el (calendar-current-time-zone):
5162 Return calendar-current-time-zone-cache if non-nil.
5164 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5165 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5167 * calendar/cal-dst.el (calendar-current-time-zone):
5168 Return calendar-current-time-zone-cache if non-nil.
5170 2012-07-06 Glenn Morris <rgm@gnu.org>
5172 * Makefile.in (cvs-update): Remove old alias.
5174 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5176 Sync with Tramp 2.2.6-pre.
5178 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5179 compatible declaration.
5181 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5182 Protect `list-load-path-shadows' call.
5184 * net/tramp-compat.el (top): Require packages, which aren't
5185 autoloaded anymore for XEmacs. Protect call of
5186 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5187 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5188 it hurts at least for SXEmacs.
5189 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5190 standard-value for `temporary-file-directory'.
5192 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5193 Redirect stderr to /dev/null.
5194 (tramp-sh-handle-write-region): uid and gid can be floats.
5195 Reported by Russell Sim <russell.sim@gmail.com>.
5196 (tramp-sh-handle-vc-registered): Hide errors.
5197 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5198 and `start-file-process'.
5199 (tramp-maybe-open-connection): Check also whether `non-essential'
5202 2012-07-04 Chong Yidong <cyd@gnu.org>
5204 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5205 (xml-parse-tag): Likewise, and avoid changing entity tables.
5206 (xml-syntax-table): Define from scratch, making sure not to give
5207 x2000 and other Unicode spaces whitespace syntax, since those are
5209 (xml-parse-fragment): Delete unused function.
5210 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5211 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5212 (xml-entity-ref, xml-pe-reference-re)
5213 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5214 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5215 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5216 (xml-entity-value-re): Use syntax references in regexps where
5217 possible; no need to define inside a let-binding.
5218 (xml-parse-dtd): Use xml-pe-reference-re.
5219 (xml-entity-or-char-ref-re): New defconst.
5220 (xml-parse-string, xml-substitute-special): Use it.
5222 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5225 (find-file--read-only): New function.
5226 (find-file-read-only, find-file-read-only-other-window)
5227 (find-file-read-only-other-frame): Use it.
5228 (insert-file-contents-literally): Don't `fset'.
5229 (get-free-disk-space): Use locate-dominating-file.
5231 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5232 function is already compiled.
5234 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5236 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5238 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5239 files on the same host.
5241 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5243 * help-fns.el (describe-function-1): Only call
5244 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5246 2012-07-03 Chong Yidong <cyd@gnu.org>
5248 * xml.el: Protect parser against XML bombs.
5249 (xml-entity-expansion-limit): New variable.
5250 (xml-parse-string, xml-substitute-special): Use it.
5251 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5253 2012-07-03 Glenn Morris <rgm@gnu.org>
5255 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5256 Allow linking to specific messages in debbugs reports (eg 123#5).
5258 2012-07-02 Chong Yidong <cyd@gnu.org>
5260 * xml.el: Fix entity and character reference expansion, allowing
5261 them to expand into markup as per XML spec.
5262 (xml-default-ns): New variable.
5263 (xml-entity-alist): Use XML spec definitions for lt and amp.
5264 (xml-parse-region): Make first two arguments optional.
5265 Discard text properties.
5266 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5267 All callers changed.
5268 (xml-parse-tag): Call xml-parse-tag-1. For backward
5269 compatibility, this function should not modify buffer contents.
5270 (xml-parse-tag-1): Fix opening-tag regexp.
5271 (xml-parse-string): Rewrite, handling entity and character
5272 references properly.
5273 (xml--entity-replacement-text): Signal an error if a parameter
5274 entity is undefined.
5276 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5278 * comint.el (comint-output-filter): Filter out repeated prompts.
5280 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5281 and file-name-absolute-p.
5282 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5285 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5288 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5289 Rename from byte-compile--refiy-function. All uses changed.
5291 2012-07-01 Chong Yidong <cyd@gnu.org>
5293 * xml.el (xml--parse-buffer): New function. Move most of
5294 xml-parse-region here.
5295 (xml-parse-region): Copy region into a temporary buffer, since
5296 parameter entity substitution requires changing buffer contents.
5297 Use xml--parse-buffer.
5298 (xml-parse-file): Use xml--parse-buffer.
5299 (xml-parse-dtd): Make parameter entity substitution work right.
5300 Use proper regexps for ELEMENT declarations (Bug#7172).
5302 2012-06-30 Glenn Morris <rgm@gnu.org>
5304 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5306 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5307 Remove outdated and unnecessary dbus declarations.
5309 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5311 * emacs-lisp/timer.el (timer-until): Subtract results of
5312 float-time, instead of taking float-time of the result of
5313 time-subtract, since float-time signals an error for negative time
5316 2012-06-30 Chong Yidong <cyd@gnu.org>
5318 * xml.el (xml-*-re): Convert defvars into defconsts, and
5319 eval-and-compile them so eval-and-compile works on derivatives.
5320 (xml--entity-replacement-text): Use eval-and-comple.
5322 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5324 * vc/vc-git.el (vc-git-registered): Use cache property
5326 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5327 `vc-git-working-revision' in order to benefit from the cache.
5328 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5330 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5332 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5333 removed (likely outside Emacs). (Bug#11757)
5335 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5337 * emacs-lisp/cl-lib.el: Require macroexp.
5339 2012-06-30 Chong Yidong <cyd@gnu.org>
5341 * xml.el: Implement XML parameter entities.
5342 (xml-parameter-entity-alist): New variable.
5343 (xml-parse-region, xml-parse-fragment): Preserve previous values
5344 of xml-entity-alist and xml-parameter-entity-alist, so that
5345 repeated calls on different documents do not change them.
5346 (xml-parse-tag): Fix doctype regexp.
5347 (xml--entity-replacement-text): New function.
5348 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5349 properly requires url retrieval which is unimplemented.
5350 (xml-escape-string): Doc fix.
5352 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5354 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5356 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5358 * fringe.el (fringe-mode): Doc fix.
5360 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5362 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5364 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5365 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5367 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5369 * calendar/cal-dst.el (calendar-current-time-zone):
5370 Return calendar-current-time-zone-cache if non-nil.
5372 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5374 * progmodes/which-func.el (which-func-format):
5375 Add mouse-face. (Bug#11698)
5377 2012-06-29 Leo Liu <sdl.web@gmail.com>
5379 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5381 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5383 * minibuffer.el (minibuffer-confirm-exit-commands):
5384 Add completion-at-point (bug#11725).
5386 2012-06-29 Glenn Morris <rgm@gnu.org>
5388 * progmodes/f90.el (f90-font-lock-keywords-2):
5389 Add some preprocessor elements. (Bug#10499)
5391 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5393 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5394 Use syntax-propertize (bug#11739).
5396 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5398 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5400 2012-06-28 Julien Danjou <julien@danjou.info>
5402 * term.el (term-handle-colors-array): Use a set of new faces to
5403 color the terminal. Also uses :inverse-video property.
5404 (term-default-fg-color): Set to nil by default, deprecate in favor
5406 (term-default-bg-color): Set to nil by default, deprecate in favor
5408 (term-current-face): Use `term-face' by default.
5409 (term-bold-attribute): Variable deleted.
5411 2012-06-28 Glenn Morris <rgm@gnu.org>
5413 * simple.el (completion-list-mode-finish):
5414 Don't use toggle-read-only. (Since completion-list-mode has
5415 a special mode-class, it wasn't doing anything extra anyway.)
5417 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5419 Make inlining of other-mode interpreted functions work (bug#11799).
5420 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5421 (byte-compile): Use it to fix compilation of lexical-binding closures.
5422 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5423 function, if needed.
5425 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * help-mode.el (help-make-xrefs): Don't just withstand
5428 cyclic-variable-indirection but any error in documentation-property.
5430 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5432 * bindings.el (bindings--define-key): New function.
5433 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5434 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5435 * bindings.el: Use it to purecopy define-key bindings.
5437 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5439 * emacs-lisp/cl.el (flet): Mark obsolete.
5440 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5441 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5442 * progmodes/js.el (js-c-fill-paragraph):
5443 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5444 (ebrowse-switch-member-buffer-to-derived-class):
5445 * play/5x5.el (5x5-solver): Use cl-flet.
5447 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5448 (cl--symbol-function): New macro.
5449 (cl--letf, cl--letf*): Use it.
5451 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5452 Strip "toggle-" if any.
5454 2012-06-27 Glenn Morris <rgm@gnu.org>
5456 * info.el (Info-default-directory-list): Move here from paths.el.
5457 * paths.el: Remove file, which is now empty.
5458 * loadup.el: No longer load "paths".
5460 * custom.el (custom-initialize-delay): Doc fix.
5462 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5463 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5464 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5465 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5466 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5467 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5468 * eshell/eshell.el (eshell-defgroup): Remove alias.
5470 2012-06-27 Chong Yidong <cyd@gnu.org>
5472 * help.el (help-enable-auto-load): New variable.
5474 * help-fns.el (help-fns--autoloaded-p): New function.
5475 (describe-function-1): Refer to a function as "autoloaded" if it
5476 was autoloaded at any time in the past. Perform autoloading if
5477 help-enable-auto-load is non-nil.
5479 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5481 * makefile.w32-in (compile, compile-always): Depend on
5482 update-subdirs, not on subdirs.el. Otherwise, several different
5483 sub-targets of 'bootstrap' running in parallel could
5484 simultaneously write to subdirs.el, producing a garbled file.
5486 2012-06-26 Sam Steingold <sds@gnu.org>
5488 * files.el (file-name-base): New convenience function.
5489 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5490 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5491 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5492 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5493 * textmodes/ispell.el, textmodes/reftex-ref.el:
5494 * textmodes/tex-mode.el: Use it.
5495 Did not touch cedet and org because they are maintained elsewhere.
5497 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5499 * calendar/calendar.el (calendar-exit): Don't try to delete or
5500 iconify last frame. See:
5501 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5503 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5505 * server.el (server-process-filter): Remember dir in the
5506 process's `server-client-directory' properties.
5508 2012-06-24 Chong Yidong <cyd@gnu.org>
5510 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5513 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5515 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5517 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * help-fns.el (describe-variable): Don't croak when doc is not found.
5520 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5521 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5522 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5523 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5524 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5526 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5528 2012-06-23 Chong Yidong <cyd@gnu.org>
5530 * info.el (Info-mouse-follow-link): Accept symbol values of
5531 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5532 (Info-fontify-node): Use Info-link-keymap for all navigation
5533 buttons, with link-args property to perform the desired action.
5534 (Info-link-keymap): Doc fix.
5535 (Info-next-link-keymap, Info-prev-link-keymap)
5536 (Info-up-link-keymap): Delete now-unused keymaps.
5538 2012-06-23 Chong Yidong <cyd@gnu.org>
5540 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5542 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5545 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5547 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5552 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5553 the requote function doesn't work properly (bug#11714).
5555 2012-06-23 Glenn Morris <rgm@gnu.org>
5557 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5559 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5561 Further GV/CL cleanups.
5562 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5564 (gv--defun-declaration): New function.
5565 (defun-declarations-alist): Use it.
5566 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5567 (gv-place): Autoload.
5568 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5569 original definition of dotimes and dolist.
5570 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5571 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5572 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5573 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5574 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5575 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5576 to the function's definition.
5577 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5581 * env.el: Don't use CL.
5583 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5585 Support higher-resolution time stamps (Bug#9000).
5587 * calendar/time-date.el (with-decoded-time-value): New arg
5588 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5589 (encode-time-value): New optional arg PICO. New type 3.
5590 (time-to-seconds) [!float-time]: Support the new picoseconds
5591 component if it's used.
5592 (seconds-to-time, time-subtract, time-add):
5593 Support ps-resolution time stamps as well.
5595 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5596 (timerp): Timer vectors now have length 9, not 8.
5597 (timer--time): Support new-style (4-part) time stamps.
5598 (timer-next-integral-multiple-of-time): Time stamps now have
5599 picosecond resolution, so take a bit more care about rounding.
5600 (timer-relative-time, timer-inc-time): New optional arg psecs.
5601 (timer-set-time-with-usecs): Set psecs to 0.
5602 (timer--activate): Check psecs component, too.
5604 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5606 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5609 Move the non-essential binding to the post/pre-command-hook where it is
5610 more obviously correct.
5612 * subr.el (read-passwd): Don't use a history at all.
5613 * savehist.el (savehist-save): Remove password saved accidentally
5614 because of the above bug.
5616 2012-06-22 Bastien Guerry <bzg@gnu.org>
5618 * files.el (toggle-read-only): Display a message telling whether
5619 the buffer is read-only or not (bug#11726).
5621 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * emacs-lisp/gv.el: New file.
5624 * subr.el (push, pop): Extend to generalized variables.
5625 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5626 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5627 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5628 gv-define-simple-setter, and gv-define-expander.
5629 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5630 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5631 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5632 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5633 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5635 (cl-defstruct): Don't define setf-method any more.
5636 * emacs-lisp/cl.el (flet): Don't autoload.
5637 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5638 (define-setf-expander, defsetf, define-modify-macro)
5639 (cl-struct-setf-expander): Move from cl-lib.el.
5640 * emacs-lisp/syntax.el:
5641 * emacs-lisp/ewoc.el:
5642 * emacs-lisp/smie.el:
5643 * emacs-lisp/cconv.el:
5644 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5645 (timer--time): Use gv-define-simple-setter.
5646 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5647 to avoid coding-system problems in subr.el. Adjust all users.
5648 (macroexp--maxsize, macroexp-small-p): New functions.
5649 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5650 * scroll-bar.el (scroll-bar-mode):
5651 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5652 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5653 * winner.el (winner-configuration, winner-make-point-alist)
5654 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5655 * files.el (locate-file-completion-table): Avoid list*.
5657 2012-06-22 Chong Yidong <cyd@gnu.org>
5659 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5660 (dired-create-files): Doc fix (Bug#11329).
5661 (dired-do-copy): Doc fix (Bug#11334).
5662 (dired-mark-read-string): Doc fix (Bug#11553).
5664 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5665 Doc fix (Bug#11326).
5666 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5667 (dired-dwim-target): Doc fix.
5669 * wdired.el (wdired-mode): Doc fix.
5671 2012-06-22 Glenn Morris <rgm@gnu.org>
5673 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5674 (pcmpl-rpm-cache-stamp-file): New constant.
5675 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5676 (pcmpl-rpm-packages): Optionally cache list of packages.
5678 * pcmpl-rpm.el (pcmpl-rpm): New group.
5679 (pcmpl-rpm-query-options): New option.
5680 (pcmpl-rpm-packages): No need to inline it.
5681 Use pcmpl-rpm-query-options.
5683 * calendar/calendar.el (calendar-in-read-only-buffer):
5684 Avoid some needless mode changes.
5686 2012-06-21 Chong Yidong <cyd@gnu.org>
5688 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5689 (desktop-path): Remove . from the default value (Bug#10977).
5690 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5692 2012-06-20 Chong Yidong <cyd@gnu.org>
5694 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5696 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5698 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5701 2012-06-20 Chong Yidong <cyd@gnu.org>
5703 * term.el (term-window-width): Handle the case of a missing right
5705 (term-check-size): Use window-text-height (Bug#5445).
5706 (term-mode): Use define-derived-mode. Minor cleanups.
5707 Set font-lock-defaults (Bug#7692).
5708 (term-move-columns, term-insert-char, term-emulate-terminal)
5709 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5711 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5713 * net/ange-ftp.el (ange-ftp-get-passwd):
5714 Bind `enable-recursive-minibuffers'.
5715 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5717 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5719 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5721 2012-06-19 Glenn Morris <rgm@gnu.org>
5723 * progmodes/python.el (python-mode): Derive from prog-mode.
5725 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5727 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5728 (edt-user-menu-bar-update-buffers): New functions.
5729 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5731 2012-06-19 Chong Yidong <cyd@gnu.org>
5733 * subr.el (with-selected-window): Preserve the selected window's
5734 terminal's top-frame (Bug#4702).
5736 * window.el (save-selected-window): Likewise.
5738 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * progmodes/python.el (python-rx-constituents): Move backquote.
5741 (python-skeleton-define, python-define-auxiliary-skeleton):
5744 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5746 * minibuffer.el (read-file-name-default): Revert the patch from
5749 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5751 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5752 (pcase--u1, pcase--q1): Don't use apply-partially.
5754 2012-06-18 Glenn Morris <rgm@gnu.org>
5756 * progmodes/python.el (python-proc, python-buffer)
5757 (python-send-receive, python-send-string): Fix obsolete versions.
5759 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5761 * window.el (special-display-p): Completely remove stringp
5762 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5764 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5766 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5768 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5770 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5771 * net/tramp-sh.el (tramp-maybe-open-connection):
5772 Throw if `non-essential' is non-nil.
5774 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5776 * window.el (special-display-p): Signal an error if BUFFER-NAME
5777 is not a string (Bug#11713).
5779 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5781 * progmodes/python.el (python-info-beginning-of-backslash):
5782 Rename from python-info-beginning-of-backlash, as a spelling fix.
5784 2012-06-17 Chong Yidong <cyd@gnu.org>
5786 * term.el (term-emulate-terminal): If term-check-size is called,
5787 move point to the process mark without resetting point (Bug#4635).
5789 2012-06-17 Glenn Morris <rgm@gnu.org>
5791 * international/mule-cmds.el (mule-menu-keymap)
5792 (set-language-environment, set-locale-environment): Doc tweaks.
5794 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5796 * cus-face.el (custom-face-attributes): Add wave-style underline
5798 * faces.el (set-face-attribute): Update docstring to describe
5799 wave-style underline attribute.
5801 2012-06-16 Chong Yidong <cyd@gnu.org>
5803 * term/xterm.el (terminal-init-xterm): Discard input before
5804 querying background mode (Bug#10959).
5806 2012-06-16 Stefan Merten <smerten@oekonux.de>
5808 * textmodes/rst.el: Added and corrected some comments.
5809 (rst-re-alist-def): Improve symbol syntax.
5810 (rst-mode-syntax-table): Correct syntax entries.
5811 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5812 (rst-official-version, rst-official-cvs-rev): Update version
5815 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5817 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5818 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5820 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5822 * progmodes/python.el: New python.el merge.
5823 (python-guess-indent): Obsolete var.
5824 (python-indent-guess-indent-offset): New defcustom.
5825 (python-indent): Obsolete var.
5826 (python-indent-offset): New defcustom.
5827 (python-python-command, python-jython-command): Delete var.
5828 (python-shell-interpreter): New defcustom.
5829 (python-pdbtrack-do-tracking-p): Delete var.
5830 (python-pdbtrack-activate): New defcustom.
5831 (python-use-skeletons): Obsolete var.
5832 (python-skeleton-autoinsert): New defcustom.
5833 (inferior-python-filter-regexp, python-continuation-offset)
5834 (python-honour-comment-indentation, python-indent-string-contents)
5835 (python-jython-packages, python-mode-hook)
5836 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5837 (python-shell-prompt-alist)
5838 (python-source-modes): Delete defcustoms.
5839 (python-check-buffer-name, python-eldoc-setup-code)
5840 (python-eldoc-string-code, python-ffap-setup-code)
5841 (python-ffap-string-code, python-fill-comment-function)
5842 (python-fill-decorator-function, python-fill-paren-function)
5843 (python-fill-string-function, python-imenu-include-defun-type)
5844 (python-imenu-make-tree, python-imenu-subtree-root-label)
5845 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5846 (python-shell-compilation-regexp-alist)
5847 (python-shell-completion-module-string-code)
5848 (python-shell-completion-pdb-string-code)
5849 (python-shell-completion-setup-code)
5850 (python-shell-completion-string-code)
5851 (python-shell-enable-font-lock, python-shell-exec-path)
5852 (python-shell-extra-pythonpaths)
5853 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5854 (python-shell-process-environment)
5855 (python-shell-prompt-block-regexp)
5856 (python-shell-prompt-output-regexp)
5857 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5858 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5859 (python-shell-virtualenv-path): New defcustoms.
5860 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5861 (inferior-python-mode-syntax-table, python--prompt-regexp)
5862 (python-buffer, python-command python-python-command)
5863 (python-default-template, python-imports, python-indent-index)
5864 (python-indent-list, python-indent-list-length)
5865 (python-mode-running, python-pdbtrack-is-tracking-p)
5866 (python-preoutput-continuation, python-preoutput-leftover)
5867 (python-preoutput-result, python-preoutput-skip-next-prompt)
5868 (python-prev-dir/file, python-recursing)
5869 (python-saved-check-command, python-version-checked)
5870 (python-which-func-length-limit)
5871 (view-return-to-alist): Delete vars.
5872 (python-check-custom-command, python-dotty-syntax-table)
5873 (python-imenu-index-alist, python-indent-current-level)
5874 (python-indent-dedenters, python-indent-levels)
5875 (python-nav-beginning-of-defun-regexp)
5876 (python-nav-list-defun-positions-cache)
5877 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5878 (python-shell-internal-buffer)
5879 (python-skeleton-available): New vars.
5880 (def-python-skeleton): Delete macro.
5881 (python-skeleton-define): New macro.
5882 (python-define-auxiliary-skeleton, python-rx): New macros.
5883 (python-insert-class): Delete command.
5884 (python-skeleton-class): New command.
5885 (python-insert-def): Delete command.
5886 (python-skeleton-def): New command.
5887 (python-insert-for): Delete command.
5888 (python-skeleton-for): New command.
5889 (python-insert-if): Delete command.
5890 (python-skeleton-if): New command.
5891 (python-insert-try/except, python-insert-try/finally): Delete commands.
5892 (python-skeleton-try): New command.
5893 (python-insert-while): Delete command.
5894 (python-skeleton-while): New command.
5895 (python-backspace): Delete command.
5896 (python-indent-dedent-line-backspace): New command.
5897 (python-electric-colon): Delete command.
5898 (python-indent-electric-colon): New command.
5899 (python-guess-indent): Delete command.
5900 (python-indent-guess-indent-offset): New command.
5901 (python-shift-left): Delete command.
5902 (python-indent-shift-left): New command.
5903 (python-shift-right): Delete command.
5904 (python-indent-shift-right): New command.
5905 (python-find-function): Delete command.
5906 (python-nav-jump-to-defun): New command.
5907 (python-next-statement): Delete command.
5908 (python-nav-forward-sentence): New command.
5909 (python-previous-statement): Delete command.
5910 (python-nav-backward-sentence): New command.
5911 (python-fill-paragraph): Delete command.
5912 (python-fill-paragraph-function): New command.
5913 (python-send-buffer): Delete command.
5914 (python-shell-send-buffer): New command.
5915 (python-send-defun): Delete command.
5916 (python-shell-send-defun): New command.
5917 (python-send-region, python-send-region-and-go): Delete commands.
5918 (python-shell-send-region)
5919 (python-shell-switch-to-shell): New commands.
5920 (python-send-string): Delete command.
5921 (python-shell-send-string): New command.
5922 (python-switch-to-python): Delete command.
5923 (python-shell-switch-to-shell): New command.
5924 (python-describe-symbol): Delete command.
5925 (python-eldoc-at-point): New command.
5926 (python--set-prompt-regexp, python-args-to-list)
5927 (python-after-info-look, python-check-version)
5928 (python-check-comint-prompt, python-find-imports)
5929 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5930 (python-unload-function, python-expand-template)
5931 (python-maybe-jython, python-preoutput-filter)
5932 (python-pdbtrack-get-source-buffer)
5933 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5934 (python-pdbtrack-toggle-stack-tracking)
5935 (python-pdbtrack-track-stack-file, python-initial-text)
5936 (python-first-word, python-comment-line-p, python-send-command)
5937 (python-setup-brm, python-sentinel, python-set-proc)
5938 (python-skip-out, python-input-filter, python-outdent-p)
5939 (python-outline-level, python-backslash-continuation-line-p)
5940 (python-end-of-block, python-end-of-statement, python-mark-block)
5941 (python-beginning-of-block, python-beginning-of-statement)
5942 (python-blank-line-p, python-beginning-of-string)
5943 (python-open-block-statement-p): Delete functions.
5944 (python-indent-line, python-indent-line-1): Delete functions.
5945 (python-indent-line): New function.
5946 (python-indentation-levels): Delete function.
5947 (python-indent-calculate-levels): New function.
5948 (python-proc): Delete function.
5949 (python-shell-get-process): New function.
5950 (python-send-receive): Delete function.
5951 (python-shell-send-string-no-output): New function.
5952 (python-module-path): Delete function.
5953 (python-ffap-module-path): New function.
5954 (python-completion-at-point)
5955 (python-symbol-completions): Delete functions.
5956 (python-completion-complete-at-point): New function.
5957 (python-load-file): Delete function.
5958 (python-shell-send-file): New function.
5959 (python-calculate-indentation): Delete function.
5960 (python-indent-calculate-indentation): New function.
5961 (python-skip-comments/blanks): Delete function.
5962 (python-util-forward-comment): New function.
5963 (python-continuation-line-p): Delete function.
5964 (python-info-continuation-line-p): New function.
5965 (python-which-func, python-current-defun): Delete function.
5966 (python-info-current-defun): New function.
5967 (python-beginning-of-defun): Delete function.
5968 (python-nav-beginning-of-defun): New function.
5969 (python-close-block-statement-p)
5970 (python-block-end-p): Delete function.
5971 (python-info-closing-block): New function.
5972 (python-comint-output-filter-function)
5973 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5974 (python-fill-comment, python-fill-decorator, python-fill-paren)
5975 (python-fill-string, python-imenu-make-element-tree)
5976 (python-imenu-make-tree, python-imenu-tree-assoc)
5977 (python-indent-context, python-indent-dedent-line)
5978 (python-indent-line-function)
5979 (python-indent-post-self-insert-function)
5980 (python-indent-toggle-levels)
5981 (python-info-assignment-continuation-line-p)
5982 (python-info-beginning-of-backlash)
5983 (python-info-block-continuation-line-p)
5984 (python-info-closing-block-message)
5985 (python-info-line-ends-backslash-p)
5986 (python-info-looking-at-beginning-of-defun)
5987 (python-info-ppss-context, python-info-ppss-context-type)
5988 (python-nav-list-defun-positions, python-nav-read-defun)
5989 (python-nav-sentence-end, python-nav-sentence-start)
5990 (python-pdbtrack-comint-output-filter-function)
5991 (python-pdbtrack-set-tracked-buffer)
5992 (python-shell-calculate-exec-path)
5993 (python-shell-calculate-process-environment)
5994 (python-shell-completion--do-completion-at-point)
5995 (python-shell-completion--get-completions)
5996 (python-shell-completion-complete-at-point)
5997 (python-shell-completion-complete-or-indent)
5998 (python-shell-get-or-create-process)
5999 (python-shell-get-process-name)
6000 (python-shell-internal-get-or-create-process)
6001 (python-shell-internal-get-process-name)
6002 (python-shell-internal-send-string, python-shell-make-comint)
6003 (python-shell-parse-command, python-shell-send-setup-code)
6004 (python-skeleton-add-menu-items)
6005 (python-util-clone-local-variables, python-util-position)
6006 (run-python-internal, python-indentation-levels)
6007 (python-nav-beginning-of-defun)
6008 (python-completion-complete-at-point): New functions.
6009 (run-python): Change arguments. New API requirements.
6011 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6016 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6017 (macroexp--expand-all): Use it.
6019 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6020 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6021 Use `cl-function' instead.
6023 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6025 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6026 Suggested by Stefan Monnier while discussing bug#11657.
6028 2012-06-14 Sam Steingold <sds@gnu.org>
6030 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6032 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6034 * play/doctor.el (doctor-doc): Remove parameter and use
6035 doctor-sent instead of sent.
6036 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6038 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * files.el: Require cl-lib.
6041 (file-name-non-special): Replace case -> cl-case.
6043 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6045 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6046 mapping from #' to function*.
6048 2012-06-13 Chong Yidong <cyd@gnu.org>
6050 * mouse.el (mouse-drag-track): Do not set the mark if the user
6051 releases the mouse without selecting anything (Bug#11588).
6053 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6055 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6056 as well (bug#11646).
6058 * loadup.el: Count byte-code functions as well.
6060 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6061 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6063 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6064 (bug#11649). Add cl-defun and cl-defmacro.
6066 2012-06-13 Drew Adams <drew.adams@oracle.com>
6068 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6071 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6073 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6074 Otherwise, it blocks in batch mode.
6076 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6078 * help-mode.el (bookmark-make-record-default): Declare.
6080 2012-06-13 Chong Yidong <cyd@gnu.org>
6082 * emacs-lisp/package.el (list-packages): Compute a list of
6083 packages that are newly-available since the last list-packages
6085 (package-menu--new-package-list): New var.
6086 (package-menu--generate, package-menu--print-info)
6087 (package-menu--status-predicate, package-menu-mark-install):
6088 Handle new status label "new".
6090 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6093 conversion to backquotes.
6095 2012-06-12 Chong Yidong <cyd@gnu.org>
6097 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6098 Rename from gud-inhibit-global-bindings.
6100 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6102 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6103 hook from nxml-glyph-set-hook.
6105 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6108 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6110 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6111 Convert to defcustom.
6113 2012-06-12 Drew Adams <drew.adams@oracle.com>
6115 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6117 (help-mode): Use them.
6119 2012-06-11 Glenn Morris <rgm@gnu.org>
6121 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6122 Use preprocessor face for directives.
6123 (fortran-directive-re): Doc fix.
6125 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6128 conversion to backquotes (bug#11652).
6130 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6131 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6132 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6133 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6134 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6135 (cl-ninth, cl-tenth): Mark them as inlinable.
6136 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6137 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6138 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6139 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6140 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6141 (cl-list*, cl-adjoin): Don't put an autoload manually.
6142 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6143 (cl--compiler-macro-list*): Add autoload cookie.
6144 (cl--compiler-macro-cXXr): New function.
6146 * help-fns.el (help-fns--compiler-macro): New function extracted from
6147 describe-function-1; follow aliases and use `compiler-macro' property.
6148 (describe-function-1): Use it.
6150 2012-06-11 Chong Yidong <cyd@gnu.org>
6152 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6153 is uninstalled, if imagemagick is installed.
6155 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * emacs-lisp/cl-lib.el: Use lexical-binding.
6158 (cl-map-extents, cl-maclisp-member): Remove.
6159 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6160 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6161 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6162 * emacs-lisp/cl-extra.el: Use lexical-binding.
6163 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6164 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6165 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6166 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6167 * emacs-lisp/cl-seq.el: Use lexical-binding.
6168 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6169 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6170 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6171 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6172 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6175 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6177 Sync with Tramp 2.2.6-pre.
6179 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6180 `print-length' and `print-level' to nil, in order to avoid
6181 truncation. Reported by Christopher Schmidt
6182 <christopher@ristopher.com>.
6184 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6186 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6188 (tramp-compat-copy-directory): Add optional argument
6189 COPY-CONTENTS. It is not handled yet.
6191 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6192 (tramp-ftp-file-name-p): Simplify.
6194 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6195 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6198 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6199 (tramp-methods): Do not use `tramp-password-end-of-line'.
6200 (tramp-completion-function-alist-putty): Handle UNIX case.
6201 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6202 (tramp-do-file-attributes-with-stat)
6203 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6204 gid as real numbers. They could run out of integer range on cygwin.
6205 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6206 (tramp-sh-handle-expand-file-name): Handle hops.
6207 (tramp-open-connection-setup-interactive-shell):
6208 Use `tramp-cleanup'. Move check for busyboxes ...
6209 (tramp-find-shell): ... here. Simplify implementation.
6210 Set "remote-shell" property also for alternative shells.
6211 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6212 If failing, a regular file would be written otherwise.
6213 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6214 (tramp-find-inline-encoding): Cache the coding commands in the
6215 process cache. Apply test command on the remote side, if defined.
6216 (tramp-find-inline-compress): Cache the compress commands in the
6218 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6219 when requested. Handle hops.
6220 (tramp-current-connection): New defvar.
6221 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6222 Throw `suppress', if there was a failed connection shortly before.
6223 Handle user interrupt. (Bug#10187)
6224 (tramp-get-inline-compress, tramp-get-inline-coding):
6225 Read connection properties from the process cache.
6227 * net/tramp-smb.el (tramp-smb-server-version)
6228 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6230 (tramp-smb-prompt): Extend for powershell prompt.
6231 (tramp-smb-file-name-handler-alist): Add handlers for
6232 `process-file', `shell-command' and `start-file-process'.
6233 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6234 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6235 (tramp-smb-file-name-p): Simplify.
6236 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6237 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6238 (tramp-smb-shell-quote-argument): New defuns.
6239 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6240 Implement using "tar". By this, time-stamps are preserved.
6241 (tramp-smb-handle-copy-file): Handle also the case of directories.
6242 (tramp-smb-do-file-attributes-with-stat)
6243 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6244 Use `tramp-get-connection-buffer').
6245 (tramp-smb-handle-rename-file): Use "rename", when source and
6246 target are on the same share.
6247 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6248 Use `tramp-smb-server-version'.
6249 (tramp-smb-wait-for-output): Remove prompt.
6251 * net/tramp.el (top): Require 'cl.
6252 (tramp-methods, tramp-rsh-end-of-line):
6253 Remove `tramp-password-end-of-line' from docstring.
6254 (tramp-save-ad-hoc-proxies): New defcustom.
6255 (tramp-completion-function-alist): Adapt docstring.
6256 (tramp-default-password-end-of-line): Remove defcustom.
6257 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6258 (tramp-user-regexp, tramp-file-name-regexp-unified)
6259 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6260 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6261 (tramp-remote-file-name-spec-regexp): New defconst.
6262 (tramp-file-name-structure): Extend structure for hops.
6263 (tramp-get-method-parameter): Move up.
6264 (tramp-file-name-p, tramp-dissect-file-name)
6265 (with-parsed-tramp-file-name): Handle hops.
6266 (tramp-file-name-hop): New defun.
6267 (tramp-make-tramp-file-name): New optional arg HOP.
6268 (tramp-message-show-progress-reporter-message): New defvar.
6269 (tramp-with-progress-reporter): Use it. We cannot use
6270 `tramp-message-show-message' here, because this suppresses also
6272 (tramp-error-with-buffer): Suppress buffer view, if
6273 `tramp-message-show-message' is nil.
6274 Use `tramp-get-connection-buffer'.
6275 (tramp-cleanup): New defun.
6276 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6277 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6279 (tramp-completion-handle-file-name-all-completions): Handle hops.
6280 Fix an error when called from ido.
6281 (tramp-completion-dissect-file-name): Use better local variable
6282 name. Add hop to the vector.
6283 (tramp-handle-insert-file-contents): Use progress-reporter for the
6285 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6287 (tramp-check-for-regexp): Simplify search.
6288 (tramp-enter-password): Remove it. Move implementation ...
6289 (tramp-action-password): ... here.
6290 (tramp-mode-string-to-int, tramp-local-host-p)
6291 (tramp-make-tramp-temp-file, tramp-read-passwd)
6292 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6293 Set tramp-autoload cookie.
6295 * net/trampver.el: Update release number.
6297 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6298 Michael Albinus <michael.albinus@gmx.de>
6300 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6301 (tramp-parse-group, tramp-parse-file)
6302 (tramp-parse-shostkeys-sknownhosts): New defuns.
6303 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6304 (tramp-parse-shosts-group, tramp-parse-sconfig)
6305 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6306 (tramp-parse-sknownhosts, tramp-parse-hosts)
6307 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6309 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6310 (tramp-parse-putty-group): Don't narrow.
6311 (tramp-parse-putty): Make a loop.
6312 (tramp-file-name-handler): Catch the `suppress' signal.
6314 2012-06-11 Chong Yidong <cyd@gnu.org>
6316 * image.el (imagemagick-register-types): Put the ImageMagick entry
6317 at the end of image-type-file-name-regexps.
6319 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6321 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6322 (pcase, pcase-let*, pcase-dolist): Use them.
6324 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6326 * emacs-lisp/pcase.el (pcase--let*): New function.
6327 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6328 (pcase--expand): Use macroexp-let².
6330 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6332 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6333 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6334 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6335 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6336 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6337 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6339 2012-06-10 Glenn Morris <rgm@gnu.org>
6341 * mail/rmail.el (rmail-yank-current-message): Leave point at
6342 correct position. (Bug#11660)
6344 2012-06-10 Chong Yidong <cyd@gnu.org>
6346 * allout-widgets.el: Fix code header.
6348 2012-06-10 Chong Yidong <cyd@gnu.org>
6350 * cus-edit.el (customize-changed-options-previous-release):
6353 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6355 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6357 2012-06-09 Chong Yidong <cyd@gnu.org>
6359 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6361 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6363 * window.el (special-display-popup-frame): Don't use
6364 window--display-buffer (Bug#11651).
6366 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6368 Fix parallel builds: make sure loaddefs.el is not being written
6369 while Lisp files are compiled.
6370 (compile): Don't depend on 'mh-autoloads'.
6371 (compile-CMD, compile-SH): Depend on 'autoloads'.
6372 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6374 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6376 2012-06-09 Chong Yidong <cyd@gnu.org>
6378 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6379 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6380 Doc fixes (Bug#11225).
6382 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6385 a function if there's a clear indication that it has a compiler-macro.
6386 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6387 (macro-declarations-alist): Add arglist to declaration functions.
6388 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6389 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6390 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6391 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6392 Also add autoload to find the compiler macro.
6393 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6394 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6395 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6396 (cl--compiler-macro-get): New functions, replacing calls to
6397 cl-define-compiler-macro.
6398 (cl-typep) [compiler-macro]: Use macroexp-let².
6400 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6402 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6403 string properly, fixes Bug#11473.
6405 2012-06-08 Chong Yidong <cyd@gnu.org>
6407 * faces.el (set-face-attribute): Doc fix.
6408 (modify-face): Don't use :bold and :italic.
6409 (error, warning, success): Tweak definitions.
6411 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6412 (custom-modified, custom-set, custom-changed, custom-themed)
6413 (custom-saved, custom-button, custom-button-mouse)
6414 (custom-button-pressed, custom-state, custom-comment-tag)
6415 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6416 (custom-group-subtitle): Use new-style face specs.
6417 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6418 (custom-set-face, custom-changed-face, custom-saved-face)
6419 (custom-button-face, custom-button-pressed-face)
6420 (custom-documentation-face, custom-state-face)
6421 (custom-comment-face, custom-comment-tag-face)
6422 (custom-variable-tag-face, custom-variable-button-face)
6423 (custom-face-tag-face, custom-group-tag-face-1)
6424 (custom-group-tag-face): Remove obsolete face alias.
6426 * epa.el (epa-validity-high, epa-validity-medium)
6427 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6428 (epa-field-name, epa-field-body):
6429 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6430 (font-lock-keyword-face, font-lock-builtin-face)
6431 (font-lock-function-name-face, font-lock-variable-name-face)
6432 (font-lock-type-face, font-lock-constant-face):
6433 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6434 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6435 * speedbar.el (speedbar-button-face, speedbar-file-face)
6436 (speedbar-directory-face, speedbar-tag-face)
6437 (speedbar-selected-face, speedbar-highlight-face)
6438 (speedbar-separator-face):
6439 * whitespace.el (whitespace-newline, whitespace-space)
6440 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6441 (whitespace-line, whitespace-space-before-tab)
6442 (whitespace-space-after-tab, whitespace-indentation)
6444 * emulation/cua-base.el (cua-global-mark):
6445 * eshell/em-prompt.el (eshell-prompt):
6446 * net/newst-plainview.el (newsticker-new-item-face)
6447 (newsticker-old-item-face, newsticker-immortal-item-face)
6448 (newsticker-obsolete-item-face, newsticker-date-face)
6449 (newsticker-statistics-face, newsticker-default-face):
6450 * net/newst-reader.el (newsticker-feed-face)
6451 (newsticker-extra-face, newsticker-enclosure-face):
6452 * net/newst-treeview.el (newsticker-treeview-face)
6453 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6454 (newsticker-treeview-immortal-face)
6455 (newsticker-treeview-obsolete-face)
6456 (newsticker-treeview-selection-face):
6457 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6458 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6459 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6460 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6461 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6462 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6463 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6465 * progmodes/vera-mode.el (vera-font-lock-number)
6466 (vera-font-lock-function, vera-font-lock-interface):
6467 * textmodes/table.el (table-cell): Use new-style face specs, and
6468 don't use the old :bold and :italic attributes.
6470 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6471 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6472 (ebrowse-member-class, ebrowse-progress): Likewise.
6473 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6474 (ebrowse-file-name-face, ebrowse-default-face)
6475 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6476 (ebrowse-progress-face): Remove obsolete faces.
6478 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6479 Inherit from error and warning faces respectively.
6481 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6483 (flyspell-incorrect-face, flyspell-duplicate-face):
6484 Remove obsolete aliases.
6486 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6488 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6491 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * startup.el (argv, argi): Make lexically scoped.
6494 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6495 * emacs-lisp/cl-macs.el: Use lexical-binding.
6496 Rename cl-bind-* to cl--bind-*.
6497 * files.el: Don't require `cl' since it doesn't use it.
6498 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6500 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6502 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6503 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6504 instead of calling external sort utility.
6505 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6507 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6509 * descr-text.el (describe-char): Mention how to insert the
6510 character, if the current input method doesn't support it.
6511 See the discussion in this thread for the details:
6512 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6514 2012-06-08 Sam Steingold <sds@gnu.org>
6516 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6517 XF86Back to previous-buffer.
6518 (minibuffer-local-map): Bind them to next-history-element and
6519 previous-history-element respectively.
6520 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6521 help-go-back respectively.
6522 * info.el (Info-mode-map): Bind them to Info-history-forward and
6523 Info-history-back respectively.
6524 These are the keys next to Up on the ThinkPad keyboard.
6526 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6528 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6529 * emacs-lisp/cl-macs.el: Provide itself.
6530 (cl--labels-convert-cache): New var.
6531 (cl--labels-convert): New function.
6532 (cl-flet, cl-labels): New implementation with new semantics, relying on
6534 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6535 (cl-closure-vars, cl--function-convert-cache)
6536 (cl--function-convert): Move from cl-macs.el.
6537 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6538 rename by removing the "cl-" prefix.
6539 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6541 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6544 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6545 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6546 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6547 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6548 (cl-hash-table-count): Add old compatibility aliases.
6550 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6551 Use macroexpand-all-environment instead.
6552 (cl--old-macroexpand): New var.
6553 (cl--sm-macroexpand): New function.
6554 (cl-symbol-macrolet): Use it during macro expansion.
6555 (cl--function-convert-cache): New var.
6556 (cl--function-convert): New function, extracted from
6558 (cl-lexical-let): Use it.
6560 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6561 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6562 (cl-member): Remove old alias.
6564 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6565 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6566 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6567 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6568 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6569 (cl-macroexpand-cmacs): Remove var.
6570 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6571 Use macroexpand-all instead.
6573 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6576 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6577 (macroexp-copyable-p): New functions and macros.
6578 * emacs-lisp/edebug.el (edebug-unwrap):
6579 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6580 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6581 (pcase--let*): Remove.
6582 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6583 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6584 macroexp-const-p instead.
6585 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6587 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6588 instead of "cl-" for internal definitions. Use macroexp-const-p.
6589 (cl-old-bc-file-form): Remove var.
6590 (cl-const-exprs-p): Remove fun.
6591 (cl-labels, cl-macrolet): Use backquote.
6592 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6593 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6594 (cl-define-setf-expander): Rename from cl-define-setf-method.
6595 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6597 * international/mule-cmds.el: Don't require CL.
6598 (view-hello-file): Don't use `letf'.
6600 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * tmm.el (tmm-prompt): Use string-prefix-p.
6603 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6604 (tmm-add-prompt): Use minibuffer-completion-help.
6605 (tmm-delete-map): Remove.
6607 * subr.el (kbd): Make it its own function.
6609 2012-06-07 Stefan Merten <smerten@oekonux.de>
6611 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6612 Silence compiler warnings. Fix versions.
6613 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6614 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6615 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6616 (rst-package-emacs-version-alist): Correct Emacs version to
6617 represent major merge with upstream.
6618 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6620 2012-06-06 Glenn Morris <rgm@gnu.org>
6622 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6623 Only print environment variables if set.
6625 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6628 (macroexp--cons): Rename from maybe-cons.
6629 (macroexp--accumulate): Rename from macroexp-accumulate.
6630 (macroexp--all-forms): Rename from macroexpand-all-forms.
6631 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6632 (macroexp--expand-all): Rename from macroexpand-all-1.
6634 2012-06-06 Sam Steingold <sds@gnu.org>
6636 * calendar/calendar.el (calendar-in-read-only-buffer):
6637 Call `special-mode' to enable the standard read-only keybindings.
6639 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6642 with "loading" messages (bug#11635).
6644 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6646 * files.el (enable-remote-dir-locals): New option.
6647 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6649 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6650 Ensure, that the temp directory is local.
6652 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6653 `temporary-file-directory'.
6655 * progmodes/python.el (python-send-region): Ensure, that the
6656 temporary file is created also in the remote case.
6658 2012-06-06 Glenn Morris <rgm@gnu.org>
6660 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6661 (vc-rcs-update-changelog): Use it.
6663 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6665 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6666 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6667 (vc-sccs-diff): Replace use of the external vcdiff script.
6669 2012-06-05 Glenn Morris <rgm@gnu.org>
6671 * ledit.el: Move to obsolete/.
6673 2012-06-05 Sam Steingold <sds@gnu.org>
6675 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6678 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6680 * emacs-lisp/cust-print.el: Move to obsolete.
6682 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6683 compiler-macro expansion.
6685 Add native compiler-macro support.
6686 * emacs-lisp/macroexp.el (macroexpand-all-1):
6687 Support compiler-macros directly. Properly follow aliases and apply
6688 the compiler macros more thoroughly.
6689 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6690 macroexpand now properly follows aliases.
6691 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6692 (cl-compiler-macroexpand): Use new prop.
6693 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6695 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6697 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6699 * window.el (get-lru-window, get-mru-window, get-largest-window):
6700 New argument NOT-SELECTED to avoid picking the selected window.
6701 (window--display-buffer-1, window--display-buffer-2): Replace by
6702 new function window--display-buffer
6703 (display-buffer-same-window, display-buffer-reuse-window)
6704 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6705 Use window--display-buffer.
6706 (display-buffer-use-some-window): Remove temporary dedication
6707 hack by calling get-lru-window and get-largest-window with
6708 NOT-SELECTED argument non-nil. Call window--display-buffer.
6710 2012-06-05 Glenn Morris <rgm@gnu.org>
6712 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6713 Replace external vcdiff script.
6715 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6717 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6719 2012-06-04 Chong Yidong <cyd@gnu.org>
6721 * image.el (imagemagick-types-inhibit): Revert last change.
6723 (imagemagick-enabled-types): Remove CIN and EPS*.
6725 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * emacs-lisp/cl-lib.el: Rename from cl.el.
6728 * emacs-lisp/cl.el: New compatibility file.
6729 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6730 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6731 to obey the "cl-" prefix.
6732 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6734 2012-06-03 Glenn Morris <rgm@gnu.org>
6736 * emacs-lisp/authors.el (authors-aliases): Addition.
6738 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6741 2012-06-03 Stefan Merten <smerten@oekonux.de>
6743 * textmodes/rst.el: Add comments.
6744 (rst-transition, rst-adornment): New faces.
6745 (rst-adornment-faces-alist): Make default safe to reevaluate.
6747 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6748 Improve customization tags.
6749 (rst-define-level-faces): Clarify meaning.
6751 2012-06-03 Chong Yidong <cyd@gnu.org>
6753 * progmodes/compile.el (compilation-mode-line-fail)
6754 (compilation-mode-line-run, compilation-mode-line-exit):
6756 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6758 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6760 * progmodes/which-func.el (which-func-update-ediff-windows):
6761 New function. Use it in ediff-select-hook (Bug#11478).
6763 2012-06-03 Chong Yidong <cyd@gnu.org>
6765 * bindings.el: Remove explicit help text from format-mode-line.
6766 It is now supplied by mode-line-default-help-echo.
6767 (mode-line-front-space, mode-line-end-spaces)
6768 (mode-line-misc-info): New variables.
6769 (mode-line-modes, mode-line-position): Move the default value to
6770 the variable definition.
6771 (mode-line-default-help-echo): New defcustom.
6772 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6773 (mode-line-modified-help-echo): New functions.
6774 (mode-line-mule-info, mode-line-modified): Use them.
6775 (mode-line-eol-desc, propertized-buffer-identification):
6776 Consistency fixes for help text.
6777 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6778 set-buffer-file-coding-system (Bug#289).
6779 (mode-line-mule-info-help-echo): Update help text.
6781 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * simple.el (execute-extended-command): Set real-this-command
6786 2012-06-02 Chong Yidong <cyd@gnu.org>
6788 Remove incorrect uses of "modeline" in comments, docstrings, and
6789 function/variable names (Bug#10329).
6791 * cus-edit.el (mode-line):
6792 * dframe.el (dframe-mouse-hscroll):
6793 * emacs-lisp/re-builder.el:
6794 * emacs-lisp/easy-mmode.el (define-minor-mode):
6795 * frame.el (set-frame-name):
6796 * help.el (lookup-minor-mode-from-indicator):
6797 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6798 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6799 (c-toggle-hungry-state):
6800 * progmodes/antlr-mode.el (antlr-language-alist):
6801 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6802 * progmodes/vhdl-mode.el (vhdl-mode):
6803 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6804 * term/ns-win.el (ns-face-at-pos):
6805 * term/sup-mouse.el (sup-mouse-report):
6806 * textmodes/flyspell.el (flyspell-mode-line-string):
6807 * textmodes/ispell.el (ispell-highlight-face):
6808 * textmodes/reftex-global.el:
6809 * vc/vc-arch.el (vc-arch-mode-line-string):
6810 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6811 * vc/vc-git.el (vc-git-mode-line-string):
6812 * vc/vc-hooks.el (vc-display-status)
6813 (vc-default-mode-line-string):
6814 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6816 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6818 * dired.el (dired-sort-set-mode-line): Rename from
6819 dired-sort-set-modeline. All callers changed.
6821 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6822 eshell-status-in-modeline.
6824 * foldout.el (foldout-mode-line-string): Rename from
6825 foldout-modeline-string. All callers changed.
6826 (foldout-update-mode-line): Rename from foldout-update-modeline.
6828 * subr.el (redraw-modeline): Make into obsolete alias.
6830 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6831 timeclock-modeline-display. Make old name an alias.
6832 (timeclock-update-mode-line): Likewise. All callers changed.
6833 (timeclock-mode-line-display): No need to check before using
6835 (timeclock-relative, timeclock-day-over-hook)
6836 (timeclock-use-elapsed, timeclock-mode-string)
6837 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6839 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6840 crisp-mode-modeline-string.
6842 * play/solitaire.el (solitaire-build-mode-line): Rename from
6843 solitaire-build-modeline. All callers changed.
6845 * play/zone.el (zone-hiding-mode-line): Rename from
6846 zone-hiding-modeline. All callers changed.
6847 (zone): Remove unusued `modeline-hidden-level' property.
6849 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6850 xscheme-modeline-initialize. All callers changed.
6852 * strokes.el (strokes-lighter): Rename from
6853 strokes-modeline-string.
6855 * textmodes/sgml-mode.el (html-face-tag-alist)
6856 (html-tag-face-alist): Use mode-line face instead of obsolete
6859 2012-06-02 Stefan Merten <smerten@oekonux.de>
6861 * textmodes/rst.el: Always require `cl'.
6862 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6864 2012-06-02 Chong Yidong <cyd@gnu.org>
6866 * image.el (imagemagick-enabled-types): Rename from
6867 imagemagick-types-enable. Add many more types.
6868 (imagemagick-types-inhibit): Change default to nil.
6869 (imagemagick-filter-types): Caller changed.
6871 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6873 * emacs-lisp/cl-macs.el: Use backquotes.
6874 (cl-transform-function-property): Use eval-and-compile rather than
6876 (defstruct): Use declare-function instead of with-no-warnings.
6878 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6879 (byte-compile-output-docform): Re-add the print-circle bindings.
6880 (byte-compile-fix-header): Use #$ just because it's shorter.
6881 (byte-compile-output-file-form): Remove defun/defmacro.
6883 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6885 * simple.el (choose-completion): Remove now obsolete binding for
6888 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6890 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6891 in order to avoid "Stack overflow in regexp matcher".
6893 2012-05-31 Glenn Morris <rgm@gnu.org>
6895 * image.el: For clarity, call imagemagick-register-types at
6896 top-level, rather than relying on a custom :initialize.
6897 (imagemagick-types-enable): New option. (Bug#11557)
6898 (imagemagick-filter-types): New function. (Bug#7406)
6899 (imagemagick-register-types): Use imagemagick-filter-types.
6900 If disabling support, remove elements altogether rather
6901 than using an impossible regexp.
6902 (imagemagick-types-inhibit): Give it the default init function.
6904 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6906 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6907 Handle arbitrary file name lengths (Bug#11585).
6909 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6911 * desktop.el (desktop-read): Clear previous and next buffers for
6912 all windows and bury *Messages* buffer (bug#11556).
6914 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6916 Add `declare' for `defun'. Align `defmacro's with it.
6917 * emacs-lisp/easy-mmode.el (define-minor-mode)
6918 (define-globalized-minor-mode): Don't autoload the var definitions.
6919 * emacs-lisp/byte-run.el: Use lexical-binding.
6920 (defun-declarations-alist, macro-declarations-alist): New vars.
6921 (defmacro, defun): Use them.
6922 (make-obsolete, define-obsolete-function-alias)
6923 (make-obsolete-variable, define-obsolete-variable-alias):
6925 (macro-declaration-function): Mark obsolete.
6926 * emacs-lisp/autoload.el: Use lexical-binding.
6927 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6929 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6931 * textmodes/ispell.el (ispell-with-no-warnings):
6933 (ispell-kill-ispell, ispell-change-dictionary):
6934 Use `called-interactively-p' for Emacs instead of obsolete
6937 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6939 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6940 (macro-declaration-function): Move var from C code.
6941 (macro-declaration-function): Define function with defalias.
6942 * emacs-lisp/macroexp.el (macroexpand-all-1):
6943 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6944 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6945 defun/defmacro any more.
6946 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6947 Provide fallback for unknown arglist.
6948 (byte-compile-arglist-warn): Change calling convention.
6949 (byte-compile-output-file-form): Move print-vars binding.
6950 (byte-compile-output-docform): Simplify accordingly.
6951 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6952 (byte-compile-defmacro-declaration): Remove.
6953 (byte-compile-file-form-defmumble): Generalize to defalias.
6954 (byte-compile-output-as-comment): Return byte-positions.
6955 Simplify callers accordingly.
6956 (byte-compile-lambda): Use `assert'.
6957 (byte-compile-defun, byte-compile-defmacro): Remove.
6958 (byte-compile-file-form-defalias):
6959 Use byte-compile-file-form-defmumble.
6960 (byte-compile-defalias-warn): Remove.
6962 2012-05-29 Stefan Merten <smerten@oekonux.de>
6964 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6965 possible. Fix authors. Improve comments. Improve loading of `cl'.
6967 (rst-mode-abbrev-table): Merge definition.
6968 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6969 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6971 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6973 * calendar/icalendar.el
6974 (icalendar-export-region): Export UID properly.
6976 2012-05-29 Leo Liu <sdl.web@gmail.com>
6977 * calendar/icalendar.el (icalendar-import-format):
6978 Add `icalendar-import-format-uid' (Bug#11525).
6979 (icalendar-import-format-uid): New.
6980 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6983 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6985 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6986 different alternative patterns.
6987 (pcase-codegen): Be more careful to preserve identity.
6988 (pcase--u1): Don't forget to mark vars as used.
6990 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6991 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6992 (byte-compile-from-buffer): ...rather than here.
6994 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6995 functions from byte-compile-function-environment.
6997 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6999 * window.el (window-deletable-p): Avoid deleting the root window
7000 of a frame with an active minibuffer.
7002 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7004 * simple.el (choose-completion): Use quit-window (Bug#11567).
7006 2012-05-29 Chong Yidong <cyd@gnu.org>
7008 * whitespace.el (whitespace-cleanup): Fix usage of
7009 whitespace-empty-at-bob-regexp (Bug#11492).
7011 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7013 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7016 2012-05-29 Juri Linkov <juri@jurta.org>
7018 * isearch.el (isearch-mode-map): Bind `M-s _' to
7019 `isearch-toggle-symbol'. Bind `M-s c' to
7020 `isearch-toggle-case-fold'.
7021 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7022 (isearch-forward): Add `M-s _' to the docstring.
7023 (isearch-forward-symbol, isearch-toggle-case-fold)
7024 (isearch-symbol-regexp): New functions. (Bug#11381)
7026 2012-05-29 Juri Linkov <juri@jurta.org>
7028 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7029 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7030 a function, call it to get the regexp.
7031 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7032 property `isearch-message-prefix' instead of the string "word ".
7033 (isearch-search-fun-default): For the case of `isearch-word',
7034 return a lambda that calls re-search-forward/re-search-backward
7035 with a regexp returned by `word-search-regexp' or by the function
7038 2012-05-29 Juri Linkov <juri@jurta.org>
7040 * isearch.el (isearch-search-fun-default): New function.
7041 (isearch-search-fun): Move default part to the new function
7042 `isearch-search-fun-default'.
7043 (isearch-search-fun-function): Set the default value to
7044 `isearch-search-fun-default'. (Bug#11381)
7046 * comint.el (comint-history-isearch-end):
7047 Use `isearch-search-fun-default'.
7048 (comint-history-isearch-search): Use `isearch-search-fun-default'
7049 and remove spacial case for `isearch-word'.
7050 (comint-history-isearch-wrap): Remove spacial case for
7053 * hexl.el (hexl-isearch-search-function):
7054 Use `isearch-search-fun-default'.
7056 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7057 Use `word-search-regexp' for `isearch-word'.
7059 * misearch.el (multi-isearch-search-fun):
7060 Use `isearch-search-fun-default'.
7062 * simple.el (minibuffer-history-isearch-search):
7063 Use `isearch-search-fun-default' and remove spacial case for
7065 (minibuffer-history-isearch-wrap): Remove spacial case for
7068 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7069 Remove spacial case for `isearch-word'.
7070 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7072 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7074 Decrease XEmacs incompatibilities.
7075 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7077 (flyspell-delete-region-overlays): Use alternative definition for
7079 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7080 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7081 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7082 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7083 `define-obsolete-face-alias' under XEmacs, but old method.
7085 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7086 `with-no-warnings' definition or Emacs alias.
7087 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7088 (ispell-word): Do not use `region-p' if XEmacs.
7090 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7092 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7093 Check for `ispell-dictionary-base-alist' instead of full
7094 `ispell-dictionary-alist'.
7095 (ispell-init-process): Show spellchecker when starting new Ispell
7098 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7101 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7103 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7105 * version.el (motif-version-string, gtk-version-string)
7106 (ns-version-string): Declare.
7108 2012-05-27 Juri Linkov <juri@jurta.org>
7110 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7111 after the `eval-defun-1' specialcaseing
7112 like in `edebug-eval-defun' (bug#10181).
7114 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7115 like in `eval-defun-1'.
7117 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7119 * mail/sendmail.el (mail-yank-region):
7120 Recognize rmail-yank-current-message in addition to insert-buffer.
7121 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7122 a *mail* buffer created through rmail-start-mail with sendmail as
7125 2012-05-27 Chong Yidong <cyd@gnu.org>
7127 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7128 Default to 256 (Bug#11267).
7130 * help.el (describe-mode): Doc fix.
7132 2012-05-26 Glenn Morris <rgm@gnu.org>
7134 * w32-fns.el (w32-init-info): Remove.
7135 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7137 * info.el (info-initialize): For self-contained NS builds, put the
7138 included info/ directory at the front. (Bug#2791)
7140 * paths.el (Info-default-directory-list): Make it a defcustom,
7141 mainly so that we can use custom-initialize-delay.
7143 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * subr.el (buffer-has-markers-at): Mark obsolete.
7147 * subr.el (lambda): Use declare.
7149 * emacs-lisp/lisp-mode.el (lambda):
7150 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7152 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7154 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7156 2012-05-26 Glenn Morris <rgm@gnu.org>
7158 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7160 2012-05-25 Glenn Morris <rgm@gnu.org>
7162 * paths.el: Remove no-byte-compile.
7163 * loadup.el: No need to load paths.el uncompiled.
7165 * image.el (imagemagick-types-inhibit): Doc fix.
7167 * version.el: Remove no-byte-compile and associated formatting.
7168 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7169 is ancient code from when there was an "inc-vers.el".
7171 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * progmodes/gdb-mi.el: Minor style changes.
7174 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7175 Turn into minor modes.
7176 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7177 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7178 (gdb-shell): Remove unneeded let-binding.
7179 (gdb-get-many-fields): Eliminate O(n²) behavior.
7181 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7183 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7184 platforms that don't link in fontset.c.
7186 2012-05-25 Juri Linkov <juri@jurta.org>
7188 Use the same diff color scheme as in modern VCSes (bug#10181).
7190 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7191 to avoid confusion with `diff-added' that now uses green colors.
7192 (diff-removed): Use shades of red.
7193 (diff-added): Use shades of green.
7194 (diff-changed): Leave just the yellow color.
7195 (diff-use-changed-face): New variable.
7196 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7197 how to highlight context diff changes.
7198 (diff-refine-change): Use shades of yellow.
7199 (diff-refine-removed): New face that uses shades of red.
7200 (diff-refine-added): New face that uses shades of green.
7201 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7202 `diff-refine-removed' in the call to `smerge-refine-subst'
7203 depending on the value of `diff-use-changed-face'.
7205 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7206 (smerge-other): Use shades of green.
7207 (smerge-base): Use shades of yellow.
7208 (smerge-refined-change): Empty face.
7209 (smerge-refined-removed): New face that uses shades of red.
7210 (smerge-refined-added): New face that uses shades of green.
7211 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7212 args `props-r' and `props-a', and use them. Doc fix.
7213 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7214 on its value use different faces `smerge-refined-change',
7215 `smerge-refined-removed', `smerge-refined-added' in the call to
7216 `smerge-refine-subst'.
7218 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7219 Add face condition `min-colors 88' with shades of red.
7220 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7221 `min-colors 88' with shades of green.
7222 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7223 `min-colors 88' with shades of yellow.
7225 2012-05-24 Glenn Morris <rgm@gnu.org>
7227 * paths.el (prune-directory-list, remote-shell-program): Move to...
7228 * files.el (prune-directory-list, remote-shell-program): ...here.
7229 For the latter, delay initialization, prefer ssh, just search PATH.
7231 * paths.el (term-file-prefix): Move to faces.el (the only user).
7232 * faces.el (term-file-prefix): Move here, make it a defcustom.
7234 * paths.el (news-directory, news-path, news-inews-program):
7235 Move to gnus/nnspool.el.
7237 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7239 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7240 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7241 Make the latter a defcustom, with a delayed initialization.
7243 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7244 These were deleted from Gnus itself late 2010.
7246 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7248 * progmodes/which-func.el (which-func-ff-hook):
7249 Check against user-error, not error.
7251 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7252 cl-specs.el, which no longer exists.
7254 2012-05-22 Glenn Morris <rgm@gnu.org>
7256 * info.el (info-emacs-bug): New command.
7257 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7258 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7260 2012-05-21 Glenn Morris <rgm@gnu.org>
7262 * makefile.w32-in (update-subdirs-SH):
7263 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7265 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7270 Simplify Maven regexp, and make sure the file can't start with a space
7273 2012-05-21 Glenn Morris <rgm@gnu.org>
7275 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7276 Scrap superfluous subshells.
7278 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7281 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7283 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7285 * calc/calc.el (calc-ensure-consistent-units): New variable.
7287 * calc/calc-units.el (math-consistent-units-p)
7288 (math-check-unit-consistency): New functions.
7289 (calc-quick-units, calc-convert-units):
7290 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7292 (calc-extract-units): Fix typo.
7294 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7296 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7298 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7299 (flyspell-default-deplacement-commands): Don't spell check after
7300 repeated window/frame switches (e.g. triggered by mouse-movement).
7301 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7302 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7303 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7304 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7306 (flyspell-get-casechars, flyspell-get-not-casechars):
7307 Simplify; Don't bother removing a ] just to add it back.
7308 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7310 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7312 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7314 (math-function-table): Add support for more C functions.
7316 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7318 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7319 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7320 Protect delay handling for otherchars against empty otherchars.
7322 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7324 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7325 their respective macro declarations.
7326 * skeleton.el (define-skeleton):
7327 * progmodes/compile.el (define-compilation-mode):
7328 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7329 (define-ibuffer-filter):
7330 * emacs-lisp/generic.el (define-generic-mode):
7331 * emacs-lisp/easy-mmode.el (define-minor-mode)
7332 (define-globalized-minor-mode):
7333 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7334 * emacs-lisp/byte-run.el (defsubst):
7335 * custom.el (deftheme): Add doc-string metadata.
7337 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7341 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7345 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7346 * emacs-lisp/cl-macs.el: Idem.
7347 * emacs-lisp/cl-specs.el: Remove.
7349 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7351 Minor renaming of internal CL functions and variables.
7352 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7353 (cl--position): Rename from cl-position.
7354 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7355 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7356 (cl--random-state): Rename from *random-state*.
7358 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7361 parens around the arg list (bug#11499).
7363 2012-05-17 Juri Linkov <juri@jurta.org>
7365 * isearch.el (word-search-regexp, word-search-backward)
7366 (word-search-forward, word-search-backward-lax)
7367 (word-search-forward-lax): Move functions from search.c
7368 (bug#10145, bug#11381).
7370 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7372 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7373 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7374 Delay for otherchars as for normal word components.
7376 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7378 * minibuffer.el (completion--sifn-requote): Fix last change.
7379 (minibuffer-local-must-match-filename-map):
7380 Move define-obsolete-variable-alias before its var.
7382 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7386 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7388 (completion--string-equal-p): New function.
7389 (completion--twq-all): Use it to get better assertion failure data.
7391 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7392 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7393 (shell--requote-argument): New functions.
7394 (shell-completion-vars): Use them.
7395 (shell--parse-pcomplete-arguments): Rename from
7396 shell-parse-pcomplete-arguments.
7397 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7398 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7399 Obey comint-file-name-quote-list.
7401 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7402 (smie-indent-keyword): Use it.
7404 2012-05-14 Stefan Merten <smerten@oekonux.de>
7406 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7408 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * net/rlogin.el (rlogin-mode-map): Fix last change.
7412 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7414 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7415 the following \r\n using a single `process-send-string', since the
7416 Lotus SMTP server refuses to accept any commands if they are sent
7417 with two `process-send-string's (Bug#11444).
7419 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7421 * shell.el (shell-parse-pcomplete-arguments):
7422 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7424 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7426 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7427 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7428 (image-transform-width, image-transform-fit-width): New functions.
7429 (image-transform-properties): Use them.
7430 (image-transform-check-size): New function.
7431 (image-toggle-display-image): Use it (for testing).
7432 (image-transform-set-rotation): Reduce angle mod 360.
7433 Delete obsolete comment.
7435 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7437 * image-mode.el: Fix scaling (bug#11399).
7438 (image-transform-resize): Doc fix.
7439 (image-transform-properties): Default scale is 1 and height should
7442 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7444 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7445 than hard-coding `car', to fix misbehavior when moving forward.
7447 2012-05-13 Chong Yidong <cyd@gnu.org>
7449 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7450 (tabulated-list-entries, tabulated-list-padding)
7451 (tabulated-list-sort-key): Make permanent-local.
7453 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7454 (electric-buffer-list): Put electric buffer menu
7455 command descriptions in this docstring, instead of the docstring
7456 of electric-buffer-menu-mode. Code cleanups.
7457 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7458 Electric-buffer-menu-mode.
7459 (electric-buffer-update-highlight): Minor code cleanup.
7461 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7463 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7466 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7468 Move define-obsolete-variable-alias before the var's definition.
7469 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7470 * tooltip.el (tooltip-hook):
7471 * textmodes/reftex-toc.el (reftex-toc-map):
7472 * textmodes/reftex-sel.el (reftex-select-label-map)
7473 (reftex-select-bib-map):
7474 * textmodes/reftex-index.el (reftex-index-map)
7475 (reftex-index-phrases-map):
7476 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7477 * progmodes/meta-mode.el (meta-mode-map):
7478 * novice.el (disabled-command-hook):
7479 * loadhist.el (unload-hook-features-list):
7480 * frame.el (blink-cursor):
7481 * files.el (find-file-not-found-hooks, write-file-hooks)
7482 (write-contents-hooks):
7483 * emulation/tpu-edt.el (GOLD-map):
7484 * emacs-lock.el (emacs-lock-from-exiting):
7485 * emacs-lisp/generic.el (generic-font-lock-defaults):
7486 * emacs-lisp/chart.el (chart-map):
7487 * dos-fns.el (register-name-alist):
7488 * dired-x.el (dired-omit-files-p):
7489 * desktop.el (desktop-enable):
7490 * cus-edit.el (custom-mode-hook):
7491 * buff-menu.el (buffer-menu-mode-hook):
7492 * bookmark.el (bookmark-read-annotation-text-func)
7493 (bookmark-exit-hooks):
7494 * allout.el (allout-mode-deactivate-hook)
7495 (allout-exposure-change-hook, allout-structure-added-hook)
7496 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7497 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7498 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7499 comes before the corresponding variable's definition.
7501 2012-05-12 Chong Yidong <cyd@gnu.org>
7503 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7504 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7505 (Buffer-menu-mode-map): Bind it.
7506 (Buffer-menu--pretty-name): Add a mouse-face property.
7508 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7511 (prolog-upper-case-string, prolog-lower-case-string)
7512 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7513 (prolog-use-smie, prolog-smie-grammar): New vars.
7514 (prolog-smie-forward-token, prolog-smie-backward-token)
7515 (prolog-smie-rules): New funs.
7516 (prolog-comment-indent): Remove.
7517 (prolog-mode-variables): Use default comment indentation instead.
7519 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7520 (prolog-mode): Don't call them any more.
7521 (prolog-electric-colon, prolog-electric-dash)
7522 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7524 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7526 * minibuffer.el (completion--twq-all): Again, allow case differences.
7528 * term.el: Move keymap initialization code to be more idiomatic.
7529 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7530 (term-terminal-menu): Move initialization into declaration.
7531 (term-escape-char): Let the user set it in her .emacs.
7533 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7534 Provide SMIE-based indentation (not enabled by default yet).
7535 (sh-mode-map): Don't bind electric keys.
7536 Use electric-pair-mode instead of skeleton-pair.
7537 (sh-assignment-regexp): Fit within 80 columns.
7538 (sh-indent-supported): Specify actual shell name instead of boolean.
7539 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7540 (sh-maybe-here-document): Use it. Make obsolete.
7541 (sh-electric-here-document-mode) New minor mode.
7542 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7543 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7544 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7545 (sh-smie-rc-grammar, sh-use-smie): New vars.
7546 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7547 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7548 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7549 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7550 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7551 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7552 (sh-set-shell): Use smie-setup if requested.
7554 * term.el (term-set-escape-char): Properly set term-escape-char.
7555 See http://stackoverflow.com/questions/10524656.
7557 2012-05-10 Chong Yidong <cyd@gnu.org>
7559 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7560 Use url-generic-parse-url, and handle host names and Windows
7562 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7563 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7564 URL schemes to work on.
7565 (ffap--toggle-read-only): New function.
7566 (ffap-read-only, ffap-read-only-other-window)
7567 (ffap-read-only-other-frame): Use it.
7568 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7569 necessary for ffap-url-unwrap-remote.
7571 2012-05-10 Dave Abrahams <dave@boostpro.com>
7573 * cus-start.el (create-lockfiles): Add it.
7575 2012-05-09 Chong Yidong <cyd@gnu.org>
7577 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7578 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7580 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7584 2012-05-09 Chong Yidong <cyd@gnu.org>
7586 * ansi-color.el (ansi-color-process-output): Check for validity of
7587 comint-last-output-start before using it. This avoids a bad
7588 interaction with gdb-mi's input/output buffer.
7590 2012-05-09 Glenn Morris <rgm@gnu.org>
7592 * files.el (dir-locals-read-from-file):
7593 Mention dir-locals in any error message.
7595 2012-05-09 Chong Yidong <cyd@gnu.org>
7597 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7598 package (Bug#11410).
7600 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7601 variables into description.
7603 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7605 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7606 shell-delimiter-argument-list (bug#11348).
7607 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7609 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7611 * textmodes/rst.el: Silence byte-compiler warnings.
7612 (rst-re-alist, rst-reset-section-caches): Move around.
7613 (rst-re): Use `characterp', not `char-valid-p'.
7614 (font-lock-beg, font-lock-end): Declare.
7616 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7617 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7619 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7621 2012-05-08 Glenn Morris <rgm@gnu.org>
7623 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7625 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7627 * vc/log-edit.el: Add GNU coding standards highlighting.
7628 (log-edit-font-lock-gnu-style)
7629 (log-edit-font-lock-gnu-keywords): New vars.
7630 (log-edit-font-lock-keywords): New fun.
7631 (log-edit-mode): Don't fold case in font-lock.
7632 (log-edit-font-lock-keywords): Do not assume case-folding.
7634 * imenu.el: Misc cleanup. Make docstrings out of comments.
7635 Use lexical-binding.
7636 (imenu--index-alist, imenu--last-menubar-index-alist)
7637 (imenu-menubar-modified-tick): Use defvar-local.
7638 (imenu--split-menu): Remove unused var.
7639 (imenu--cleanup-seen): Declare as global.
7640 (imenu--cleanup): Use dolist.
7642 * subr.el (defvar-local): Add debug spec and doc-string position.
7644 2012-05-08 Glenn Morris <rgm@gnu.org>
7646 * language/burmese.el, language/cham.el, language/czech.el:
7647 * language/english.el, language/georgian.el, language/greek.el:
7648 * language/japanese.el, language/khmer.el, language/korean.el:
7649 * language/lao.el, language/misc-lang.el, language/romanian.el:
7650 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7651 * language/thai.el, language/utf-8-lang.el:
7652 Remove no-byte-compile setting.
7654 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7656 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7658 * progmodes/make-mode.el (makefile-browse):
7659 Remove unnecessary interactive. (Bug#11324)
7661 2012-05-07 Glenn Morris <rgm@gnu.org>
7663 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7665 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7667 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7669 * loadup.el: Preload newcomment.el.
7670 * newcomment.el: Move autoload-only code to toplevel.
7672 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7673 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7674 Handle new :right-align column property.
7675 (tabulated-list-print-col): Idem, plus use `display' text-property to
7676 try and preserve alignment for variable pitch fonts.
7678 2012-05-07 Chong Yidong <cyd@gnu.org>
7680 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7681 (tabulated-list-use-header-line): New var.
7682 (tabulated-list-init-header): Use it.
7683 (tabulated-list-print-fake-header): New function.
7684 (tabulated-list-print): Use it.
7685 (tabulated-list-sort-button-map): Add non-header-line commands.
7686 (tabulated-list-init-header): Add column name property to basic
7688 (tabulated-list-col-sort): Handle non-header-line button case.
7689 (tabulated-list--sort-by-column-name): Fix a corner case.
7691 * buff-menu.el (list-buffers--refresh):
7692 Handle Buffer-menu-use-header-line.
7694 2012-05-06 Chong Yidong <cyd@gnu.org>
7696 * buff-menu.el: Convert to Tabulated List mode.
7697 (Buffer-menu-buffer+size-width): Make obsolete.
7698 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7699 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7700 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7701 documentation into docstring of buffer-menu.
7702 (Buffer-menu-toggle-files-only): Add an informative message.
7703 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7704 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7705 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7706 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7707 (Buffer-menu-execute, Buffer-menu-select)
7708 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7709 (Buffer-menu-bury): Use Tabulated List machinery.
7710 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7711 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7713 (list-buffers--refresh): New function.
7714 (list-buffers-noselect): Use it.
7715 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7716 (Buffer-menu--pretty-file-name): New helper functions.
7718 * loadup.el: Preload tabulated-list.
7720 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7721 tabulated-list-sort-column.
7722 (tabulated-list-init-header): Add the initial aligning space even
7723 if tabulated-list-padding is zero.
7725 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7727 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7728 whose cdr is not a cons cell correctly (bug#11038).
7730 2012-05-06 Chong Yidong <cyd@gnu.org>
7732 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7733 Accept additional plist in column descriptors.
7734 (tabulated-list-init-header): Obey it.
7735 (tabulated-list-get-entry): New function.
7736 (tabulated-list-put-tag): Use it. Use string-width instead of
7738 (tabulated-list--column-number): New function.
7739 (tabulated-list-print): Use it.
7740 (tabulated-list-print-col): New function.
7741 Set `tabulated-list-column-name' property on each column's text.
7742 (tabulated-list-print-entry): Use it.
7743 (tabulated-list-delete-entry, tabulated-list-set-col):
7745 (tabulated-list-sort-column): New command (Bug#11337).
7747 * buff-menu.el (list-buffers): Move C-x C-b binding from
7748 buff-menu.el to bindings.el.
7750 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7751 :advertised-binding feature.
7753 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7755 * progmodes/compile.el (compilation-internal-error-properties):
7756 Calculate start position correctly when end-col is set but
7757 end-line is not (Bug#11382).
7759 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7761 * man.el (Man-unindent): Use text-property-default-nonsticky to
7762 prevent untabify from inheriting face properties (Bug#11408).
7764 2012-05-05 Stefan Merten <smerten@oekonux.de>
7766 * textmodes/rst.el: Major merge with upstream development up to
7767 Docutils SVN r7399 / rst.el V1.2.1.
7769 Clarify maintainership and authors.
7771 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7772 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7773 (rst-official-version, rst-official-cvs-rev, rst-version)
7774 (rst-package-emacs-version-alist): New functions and variables
7775 for version information.
7777 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7778 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7779 (rst-mode-syntax-table, rst-mode): New and corrected functions
7780 and variables representing reStructuredText features.
7782 (rst-re): New function for reStructuredText regexes. Use in
7785 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7786 (rst-mode-map): Rebind keys.
7788 (rst-mode-lazy, rst-font-lock-keywords)
7789 (rst-font-lock-extend-region)
7790 (rst-font-lock-extend-region-internal)
7791 (rst-font-lock-extend-region-extend)
7792 (rst-font-lock-find-unindented-line-limit)
7793 (rst-font-lock-find-unindented-line-match)
7794 (rst-adornment-level, rst-font-lock-adornment-level)
7795 (rst-font-lock-adornment-match)
7796 (rst-font-lock-handle-adornment-pre-match-form)
7797 (rst-font-lock-handle-adornment-matcher): Major revision of
7798 font-locking. Integrate with other code. Use `jit-lock-mode'.
7800 (rst-preferred-adornments, rst-adjust-hook)
7801 (rst-new-adornment-down, rst-preferred-bullets)
7802 (rst-preferred-bullets, rst-indent, rst-indent-width)
7803 (rst-indent-field, rst-indent-literal-normal)
7804 (rst-indent-literal-minimized, rst-indent-comment): Change,
7805 extend and improve customization.
7807 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7808 (rst-normalize-cursor-position, rst-get-decoration)
7809 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7810 (rst-rstrip, rst-toc-insert-find-delete-contents)
7811 (rst-shift-fill-region, rst-compute-bullet-tabs)
7812 (rst-debug-print-tabs, rst-debug-mark-found)
7813 (rst-shift-region-guts, rst-shift-region-right)
7814 (rst-shift-region-left, rst-use-char-classes)
7815 (rst-font-lock-keywords-function)
7816 (rst-font-lock-indentation-point)
7817 (rst-font-lock-find-unindented-line-begin)
7818 (rst-font-lock-find-unindented-line-end)
7819 (rst-font-lock-find-unindented-line)
7820 (rst-font-lock-adornment-point, rst-font-lock-level)
7821 (rst-adornment-level-alist): Remove functions and variables.
7823 (rst-compare-adornments, rst-get-adornment-match)
7824 (rst-suggest-new-adornment, rst-get-adornments-around)
7825 (rst-adornment-complete-p, rst-get-next-adornment)
7826 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7827 (rst-straighten-adornments): Standardize function names to
7828 use "adornment" instead of "decoration". Correct callers.
7829 Similar standardizing in many places.
7831 (rst-update-section, rst-adjust, rst-promote-region)
7832 (rst-enumerate-region, rst-bullet-list-region)
7833 (rst-repeat-last-character): Correct use of `interactive'.
7835 (rst-classify-adornment, rst-find-all-adornments)
7836 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7837 (rst-find-leftmost-column, rst-repeat-last-character):
7840 (rst-find-title-line, rst-reset-section-caches)
7841 (rst-get-adornments-around, rst-adjust-adornment-work)
7842 (rst-arabic-to-roman, rst-roman-to-arabic)
7843 (rst-insert-list-pos, rst-insert-list-new-item)
7844 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7847 (rst-all-sections, rst-section-hierarchy)
7848 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7851 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7852 configuration instead of only buffer. Change where necessary.
7854 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7855 (rst-shift-region, rst-adaptive-fill): New functions for
7856 indentation and filling.
7858 (rst-comment-line-break, rst-comment-indent)
7859 (rst-comment-insert-comment, rst-comment-region)
7860 (rst-uncomment-region): New functions for handling comments.
7862 (rst-compile): Quote shell arguments.
7864 (rst-compile-pdf-preview, rst-compile-slides-preview):
7865 Delete temporary files after use.
7867 2012-05-05 Glenn Morris <rgm@gnu.org>
7869 * calendar/cal-html.el: Optionally include holidays in the output.
7870 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7871 (cal-html-holidays): New option.
7872 (cal-html-css-default): Add holiday entry.
7873 (holiday-in-range): Autoload it.
7874 (cal-html-htmlify-entry): Add optional class argument.
7875 (cal-html-htmlify-list): Add optional holidays argument.
7876 (cal-html-insert-agenda-days): Include holidays in the output.
7877 (cal-html-one-month): Maybe include holidays.
7879 * calendar/holidays.el (holiday-in-range):
7880 Move here from cal-tex-list-holidays.
7881 * calendar/cal-tex.el (cal-tex-list-holidays):
7882 Make it an obsolete alias for holiday-in-range. Update all callers.
7884 2012-05-05 Chong Yidong <cyd@gnu.org>
7886 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7889 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7891 * files.el (file-auto-mode-skip): New var.
7892 (set-auto-mode-1): Use it.
7894 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7896 * repeat.el: Use lexical-binding.
7897 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7898 (repeat-undo-count): Remove.
7900 * progmodes/octave-mod.el (octave-abbrev-start):
7901 * progmodes/f90.el (f90-abbrev-start):
7902 * face-remap.el (text-scale-adjust):
7903 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7905 * emacs-lisp/pcase.el (pcase--let*): New function.
7906 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7908 (pcase--split-pred): Be more clever about ruling out overlap between
7909 a predicate and some constant pattern.
7910 (pcase--q1): Use `null' instead of (eq foo nil).
7912 * subr.el (setq-local, defvar-local): New macros.
7913 (kbd): Redefine as an alias.
7914 (with-selected-window): Leave unrelated frames alone.
7915 (set-temporary-overlay-map): New function.
7917 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7919 * subr.el (user-error): New function.
7920 * window.el (switch-to-buffer):
7921 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7922 (smerge-match-conflict):
7923 * simple.el (previous-matching-history-element)
7924 (next-matching-history-element, goto-history-element, undo-more)
7926 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7927 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7928 (next-file, tags-loop-scan, list-tags, complete-tag):
7929 * progmodes/compile.el (compilation-loop):
7930 * mouse.el (mouse-minibuffer-check):
7931 * man.el (Man-bgproc-sentinel, Man-goto-page):
7932 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7933 (Info-history-forward, Info-follow-reference, Info-menu)
7934 (Info-extract-menu-item, Info-extract-menu-counting)
7935 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7936 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7937 (Info-next-reference, Info-prev-reference, Info-index)
7938 (Info-index-next, Info-follow-nearest-node)
7939 (Info-copy-current-node-name):
7940 * imenu.el (imenu--make-index-alist)
7941 (imenu-default-create-index-function, imenu-add-to-menubar):
7942 * files.el (basic-save-buffer, recover-file):
7943 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7944 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7945 (checkdoc-message-text, checkdoc-defun):
7946 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7947 * cus-edit.el (customize-changed-options, customize-rogue)
7948 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7949 (custom-variable-mark-to-reset-standard)
7950 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7952 * completion.el (check-completion-length):
7953 * comint.el (comint-search-arg)
7954 (comint-previous-matching-input-string-position)
7955 (comint-previous-matching-input)
7956 (comint-replace-by-expanded-history-before-point, comint-send-input)
7957 (comint-copy-old-input, comint-backward-matching-input)
7958 (comint-goto-process-mark, comint-set-process-mark):
7959 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7960 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7962 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * dabbrev.el (dabbrev--ignore-case-p): New function.
7965 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7968 * files.el (automount-dir-prefix): Mark as obsolete.
7970 2012-05-04 Glenn Morris <rgm@gnu.org>
7972 * patcomp.el, play/bruce.el: Move to obsolete/.
7974 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7976 Fix minor Y10k bugs.
7977 * arc-mode.el (archive-unixdate):
7978 * autoinsert.el (auto-insert-alist):
7979 * calc/calc-forms.el (math-this-year):
7980 * emacs-lisp/copyright.el (copyright-current-year)
7981 (copyright-update-year, copyright):
7982 * tar-mode.el (tar-clip-time-string):
7983 * time.el (display-time-update):
7984 Don't assume years have 4 digits.
7986 2012-05-04 Chong Yidong <cyd@gnu.org>
7988 * dos-w32.el (file-name-buffer-file-type-alist)
7989 (direct-print-region-use-command-dot-com):
7990 * ffap.el (ffap-menu-regexp):
7991 * find-file.el (ff-special-constructs):
7992 * follow.el (follow-debug):
7993 * forms.el (forms--debug):
7994 * iswitchb.el (iswitchb-all-frames):
7995 * ido.el (ido-all-frames):
7996 * emacs-lisp/timer.el (timer-max-repeats):
7997 * mail/feedmail.el (feedmail-mail-send-hook)
7998 (feedmail-mail-send-hook-queued):
7999 * mail/footnote.el (footnote-signature-separator):
8000 * mail/mailabbrev.el (mail-alias-separator-string)
8001 (mail-abbrev-mode-regexp):
8002 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8003 * progmodes/idlwave.el (idlwave-libinfo-file)
8004 (idlwave-default-completion-case-is-down)
8005 (idlwave-library-routines): Convert defvars to defcustoms.
8007 * mail/rmail.el (rmail-decode-mime-charset):
8008 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8009 (idlwave-shell-fix-inserted-breaks)
8010 (idlwave-shell-activate-alt-keybindings)
8011 (idlwave-shell-use-breakpoint-glyph):
8012 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8014 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8018 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8020 * progmodes/verilog-mode.el (font-lock-keywords):
8021 Fix mis-highligting auto. Reported by Craig Barner.
8022 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8023 defines from global name space. Reported by Dan Dever.
8024 (verilog-auto-reset, verilog-auto-reset-widths)
8025 (verilog-auto-tieoff): Support using unbased numbers for
8026 AUTORESET and AUTOTIEOFF.
8027 (verilog-submit-bug-report): Update variable list.
8028 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8029 parenthesis from not matching. Reported by Michael Rytting.
8030 (verilog-auto-template-lint): Fix hash error when linting modules
8031 with no used templates.
8032 (verilog-warn, verilog-warn-error)
8033 (verilog-warn-fatal): When non-interactive report multiple
8034 warnings before exiting. Suggested by Brad Dobbie.
8035 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8036 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8037 to report unused template errors. Reported by Brad Dobbie.
8038 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8039 nets, bug438. Reported by Vns Blore.
8040 (verilog-auto-inout-module, verilog-auto-reg)
8041 (verilog-read-decls, verilog-read-sub-decls-sig)
8042 (verilog-signals-edit-wire-reg, verilog-signals-with):
8043 Fix passing of Verilog data types in ANSI input/output ports
8044 such as "output logic" into the AUTOs. Special case "wire" and
8045 "reg" for backwards compatibility presuming Verilog 2001.
8046 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8047 (verilog-preprocess): Fix replication of preprocess output.
8048 Reported by Brad Dobbie.
8049 (verilog-auto-inst-interfaced-ports):
8050 Create verilog-auto-inst-interfaced-ports, bug429.
8051 Reported by Julian Gorfajn.
8052 (verilog-after-save-font-hook)
8053 (verilog-before-save-font-hook): New variable.
8054 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8055 (verilog-save-font-mods): Wrap disabling fontification, reported
8057 (verilog-do-indent, verilog-pretty-declarations-auto)
8058 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8059 Reported by Pierre-David Pfister.
8060 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8061 of class declarations, bug292. Reported by Kevin Heilman.
8062 (verilog-read-decls): Fix 'parameter type' not appearing in
8063 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8064 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8065 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8066 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8067 Reported by David Kravitz.
8069 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8071 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8072 assignment with tests in ifs and for loops.
8073 (verilog-extended-complete-re, verilog-complete-reg): Change so
8074 that DPI inport functions don't look like fuction declarations.
8075 (verilog-pretty-expr): Don't line up assignment
8076 operations to the test and increment in if and for loops
8077 (verilog-extended-complete-re, verilog-complete-reg): Change so
8078 that DPI inport functions don't look like fuction declarations.
8080 2012-05-03 Kenichi Handa <handa@m17n.org>
8082 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8083 decoding, and show a warning message without signaling an error
8086 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8088 * emacs-lisp/bytecomp.el
8089 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8090 since cconv.el might have introduced :fun-body, internal-make-closure,
8091 and friends for bytecomp to handle (bug#11391).
8092 * custom.el (defcustom): Avoid ((λ ..) ..).
8094 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8098 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8100 * notifications.el (dbus-debug):
8101 * term/linux.el (gpm-mouse-enable):
8102 * term/screen.el (xterm-register-default-colors): Declare.
8104 2012-05-02 Chong Yidong <cyd@gnu.org>
8106 * cus-start.el (gc-cons-percentage, exec-suffixes)
8107 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8108 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8109 (make-cursor-line-fully-visible, void-text-area-pointer)
8110 (font-list-limit): Add customization data.
8112 * allout.el (allout-exposure-change-functions)
8113 (allout-structure-added-functions)
8114 (allout-structure-deleted-functions)
8115 (allout-structure-shifted-functions): Rename abnormal hooks from
8116 *-hook, and convert to defcustoms.
8117 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8118 Convert to defcustoms.
8119 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8121 * allout-widgets.el: Hook callers changed.
8123 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8125 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8126 the yanked message in preference to the default value of
8127 buffer-file-coding-system.
8129 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8131 * window.el (display-buffer--action-function-custom-type):
8134 2012-05-02 Alan Mackenzie <acm@muc.de>
8136 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8138 2012-05-01 Glenn Morris <rgm@gnu.org>
8140 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8142 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8144 * cus-edit.el (custom-variable-documentation): Simplify with format.
8146 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8147 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * simple.el (suggest-key-bindings, execute-extended-command):
8150 Move from keyboard.c.
8152 2012-05-01 Chong Yidong <cyd@gnu.org>
8154 * follow.el: Eliminate advice.
8155 (set-process-filter, process-filter, sit-for): Advice deleted.
8156 (follow-mode-off-hook): Obsolete hook removed.
8157 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8159 (follow-auto): Use a :set function.
8160 (follow-mode): Rewritten. Don't advise process filters.
8161 (follow-switch-to-current-buffer-all, follow-scroll-up)
8162 (follow-scroll-down): Assume follow-mode is bound.
8163 (follow-comint-scroll-to-bottom)
8164 (follow-align-compilation-windows): New functions.
8165 (follow--window-sorter): New function.
8166 (follow-all-followers): Use it to explicitly sort windows by their
8167 positions; don't make assumptions about next-window order.
8168 (follow-windows-start-end, follow-delete-other-windows-and-split)
8169 (follow-calc-win-start): Doc fix.
8170 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8171 vertical-motion unnecessarily.
8172 (follow-adjust-window): New function.
8173 (follow-post-command-hook): Use it.
8174 (follow-call-set-process-filter, follow-call-process-filter)
8175 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8176 (follow-stop-intercept-process-output, follow-generic-filter):
8178 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8179 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8180 New functions, replacing advice on scroll-bar-* commands.
8181 (follow-mwheel-scroll): New function (Bug#4112).
8183 * comint.el (comint-adjust-point): New function.
8184 (comint-postoutput-scroll-to-bottom): Use it.
8185 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8187 2012-05-01 Glenn Morris <rgm@gnu.org>
8189 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8190 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8191 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8192 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8193 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8194 Remove no-byte-compile setting.
8196 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8198 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8199 all-completions code to not return a number in the last cdr.
8201 2012-04-30 Leo Liu <sdl.web@gmail.com>
8203 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8206 2012-04-29 Chong Yidong <cyd@gnu.org>
8208 * follow.el (follow-calc-win-end): Rewrite to handle partial
8209 screen lines correctly (Bug#8390).
8210 (follow-avoid-tail-recenter): Minor cleanup.
8212 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8214 Avoid the obsolete `assoc' package.
8215 * speedbar.el (speedbar-refresh): Avoid adelete.
8216 (speedbar-file-lists): Simplify and avoid aput.
8217 * man.el (Man--sections, Man--refpages): New vars, replacing
8218 Man-sections-alist and Man-refpages-alist.
8219 (Man-build-section-alist, Man-build-references-alist):
8220 Use them; avoid aput.
8221 (Man--last-section, Man--last-refpage): New vars.
8222 (Man-follow-manual-reference): Use them.
8223 Use the `default' arg of completing-read.
8224 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8226 2012-04-27 Chong Yidong <cyd@gnu.org>
8228 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8230 * startup.el (x-apply-session-resources): New function.
8232 * term/ns-win.el (ns-initialize-window-system):
8233 * term/w32-win.el (w32-initialize-window-system):
8234 * term/x-win.el (x-initialize-window-system): Use it to properly
8235 set menu-bar-mode and other vars from X resources, even if the
8236 initial frame is not a window-system frame (Bug#2299).
8238 * subr.el (read-key): Avoid running filter function when setting
8239 up temporary tool bar entries (Bug#9922).
8241 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8243 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8246 2012-04-27 Chong Yidong <cyd@gnu.org>
8248 * select.el (xselect--encode-string): New function, split from
8249 xselect-convert-to-string.
8250 (xselect-convert-to-string): Use it.
8251 (xselect-convert-to-filename, xselect-convert-to-os)
8252 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8253 returned strings are properly encoded (Bug#11315).
8255 2012-04-27 Chong Yidong <cyd@gnu.org>
8257 * simple.el (delete-active-region): Move to killing custom group.
8259 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8261 * progmodes/which-func.el (which-func-current): Quote %
8262 characters for mode-line processing.
8264 2012-04-27 Chong Yidong <cyd@gnu.org>
8266 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8267 reaching eob (Bug#11286).
8269 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8271 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8272 (gdb): Make it buffer-local and init to zero.
8273 (gdb-control-commands-regexp): New variable.
8274 (gdb-send): Don't wrap in "-interpreter-exec console" if
8275 gdb-control-level is positive. Increment gdb-control-level
8276 whenever the command matches gdb-control-commands-regexp, and
8277 decrement it each time the command is "end". (Bug#11279)
8279 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8281 * window.el (adjust-window-trailing-edge, enlarge-window)
8282 (shrink-window, window-resize):
8283 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8284 windows (Bug#11276).
8286 2012-04-27 Chong Yidong <cyd@gnu.org>
8288 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8289 fix "missing prefix" warning. All callers changed.
8291 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * emacs-lisp/assoc.el: Move to obsolete/.
8295 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8297 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8299 * term/ns-win.el (ns-define-service):
8300 * progmodes/pascal.el (pascal-goto-defun):
8301 * progmodes/js.el (js--read-tab):
8302 * progmodes/etags.el (tags-lazy-completion-table):
8303 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8304 * emacs-lisp/ewoc.el (ewoc--wrap):
8305 * emacs-lisp/assoc.el (aput, adelete, amake):
8306 * doc-view.el (doc-view-convert-current-doc):
8307 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8309 2012-04-26 Chong Yidong <cyd@gnu.org>
8311 * image.el (image-type-from-buffer): Only return supported image
8314 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8315 value, for symmetry with diff-end-of-hunk.
8316 (diff-split-hunk, diff-find-source-location)
8317 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8318 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8319 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8320 compute the relevant hunk or file properly (Bug#6005).
8321 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8323 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * vc/vc.el: Replace lexical-let by lexical-binding.
8333 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8334 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8335 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8337 2012-04-26 Chong Yidong <cyd@gnu.org>
8339 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8340 (diff-mode-shared-map): Bind it to / and [remap undo].
8342 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8343 (ediff-window-setup-function): Use it as the default, to set up
8344 windows based on whether the current frame is graphical (Bug#2138).
8345 (ediff-choose-window-setup-function-automatically): Make obsolete.
8347 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8349 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8351 * ffap.el: Remove old code for obsolete package.
8352 (ffap-complete-as-file-p): Remove.
8354 Use completion-table-with-quoting for comint and pcomplete.
8355 * comint.el (comint--unquote&requote-argument)
8356 (comint--unquote-argument, comint--requote-argument): New functions.
8357 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8358 (comint-quote-filename): Use regexp-opt-charset.
8359 (comint--common-suffix, comint--common-quoted-suffix)
8360 (comint--table-subvert): Remove.
8361 (comint-unquote-function, comint-requote-function): New vars.
8362 (comint--complete-file-name-data): Use them with
8363 completion-table-with-quoting.
8364 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8365 * pcomplete.el (pcomplete-arg-quote-list)
8366 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8367 (pcomplete-unquote-argument-function): Default to non-nil.
8368 (pcomplete-unquote-argument): Simplify.
8369 (pcomplete--common-quoted-suffix): Remove.
8370 (pcomplete-requote-argument-function): New var.
8371 (pcomplete--common-suffix): New function.
8372 (pcomplete-completions-at-point): Use completion-table-with-quoting
8373 and completion-table-subvert.
8375 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8376 (minibuffer--double-dollars): Preserve properties.
8377 (completion--sifn-requote): New function.
8378 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8380 * minibuffer.el: Add support for completion of quoted/escaped data.
8381 (completion-table-with-quoting, completion-table-subvert): New funs.
8382 (completion--twq-try, completion--twq-all): New functions.
8383 (completion--nth-completion): New function.
8384 (completion-try-completion, completion-all-completions): Use it.
8386 2012-04-25 Leo Liu <sdl.web@gmail.com>
8388 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8389 Use compilation-message if available to find real filename.
8391 2012-04-25 Chong Yidong <cyd@gnu.org>
8393 * vc/diff-mode.el (diff-setup-whitespace): New function.
8394 (diff-mode): Use it.
8396 * vc/diff.el (diff-sentinel):
8397 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8398 Whitespace mode variables based on diff style (Bug#8612).
8400 2012-04-25 Leo Liu <sdl.web@gmail.com>
8402 * progmodes/python.el (python-send-region): Add suffix .py to the
8405 * files.el (auto-mode-alist): Use javascript-mode instead.
8407 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8409 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8411 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8412 (soap-resolve-references-for-array-type): Hack to prevent self
8413 references, see Bug#9.
8414 (soap-parse-envelope): Report the contents of the 'detail' node
8415 when receiving a fault reply.
8416 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8418 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8419 (soap-inspect-simple-type): New function.
8421 * net/soap-client.el (soap-simple-type): New struct.
8422 (soap-default-xsd-types, soap-default-soapenc-types)
8423 (soap-decode-basic-type, soap-encode-basic-type):
8424 support unsignedInt and double basic types.
8425 (soap-resolve-references-for-simple-type)
8426 (soap-parse-simple-type, soap-encode-simple-type): New function.
8427 (soap-parse-schema): Parse xsd:simpleType declarations.
8429 * net/soap-client.el (soap-default-xsd-types)
8430 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8431 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8432 the local name of "soapenc:Array".
8433 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8434 decoding integer, byte and anyURI xsd types.
8436 2012-04-25 Chong Yidong <cyd@gnu.org>
8438 * cus-edit.el (custom-buffer-create-internal): Update header text.
8440 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8442 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8443 settings on 'system-type', not on 'window-system'. On MS-Windows,
8444 set interactive-mode on in GDB.
8446 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8448 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8449 (ruby-syntax-propertize-regexp): Remove.
8450 (ruby-syntax-propertize-function): Split regexp into chunks.
8451 Match following code directly.
8453 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8455 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8456 (ruby-syntax-propertize-regexp): New function.
8457 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8458 by a special keyword.
8460 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8461 (ruby-syntax-general-delimiters-goto-beg)
8462 (ruby-syntax-propertize-general-delimiters): New functions.
8463 (ruby-syntax-propertize-function): Use them to handle GDL.
8464 (ruby-font-lock-keywords): Move old handling of GDL...
8465 (ruby-font-lock-syntactic-keywords): .. to here.
8466 (ruby-calculate-indent): Adjust indentation for GDL.
8468 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8470 * notifications.el (top): Remove unneeded declarations.
8471 (notifications-specification-version): Change to "1.2".
8472 (notifications-interface, notifications-notify-method)
8473 (notifications-close-notification-method): Fix docstring.
8474 (notifications-get-capabilities-method): New defconst.
8475 (notifications-notify): Add :action-items, :resident and
8476 :transient hints. Change "image_data" to "image-data" and
8477 "image_path" to "image-path".
8478 (notifications-get-capabilities): New defun.
8480 2012-04-24 Leo Liu <sdl.web@gmail.com>
8482 * progmodes/python.el: Move hideshow setup to the end.
8484 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8486 * window.el (handle-select-window): Clear echo area since this is
8487 no more done by read_char (Bug#11304).
8489 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8492 and `/ M' to filter-derived-mode.
8493 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8494 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8495 (ibuffer-mark-by-mode): Use default rather than initial-input.
8496 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8498 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8500 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8501 (ibuffer-filter-by-derived-mode): New filter.
8502 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8504 2012-04-23 Andreas Politz <politza@fh-trier.de>
8506 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8508 2012-04-23 Chong Yidong <cyd@gnu.org>
8510 * cus-edit.el (customize-apropos, customize-apropos-options):
8511 Disable matching of non-option variables (Bug#11176).
8512 (customize-option, customize-option-other-window)
8513 (customize-changed-options): Doc fix.
8514 (customize-apropos-options, customize-apropos-faces)
8515 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8517 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8518 Fix word list splitting (Bug#11132).
8519 (apropos-symbol, apropos-keybinding, apropos-label)
8520 (apropos-property, apropos-function-button)
8521 (apropos-variable-button, apropos-misc-button): New faces.
8522 (apropos-symbol-face, apropos-keybinding-face)
8523 (apropos-label-face, apropos-property-face, apropos-match-face):
8524 Variables removed (Bug#8396).
8525 (apropos-library-button, apropos-format-plist, apropos-print)
8526 (apropos-print-doc, apropos-describe-plist): Callers changed.
8528 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8530 * net/xesam.el (xesam-mode-map): Use let-bound map in
8531 initialization. (Bug#11292)
8533 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8535 Preserve ispell session localwords when switching back to
8538 * textmodes/ispell.el (ispell-buffer-session-localwords):
8539 New buffer-local variable to hold buffer session localwords.
8540 (ispell-kill-ispell): Add option 'clear to delete session
8542 (ispell-command-loop, ispell-change-dictionary)
8543 (ispell-buffer-local-words): Preserve session localwords when
8546 * textmodes/flyspell.el (flyspell-process-localwords)
8547 (flyspell-do-correct): Preserve session localwords when needed.
8549 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8551 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8552 using obsolete `translation-table-for-input'.
8553 (ispell-word, ispell-process-line, ispell-complete-word):
8554 Use plain `insert' instead of removed `ispell-insert-word'.
8556 2012-04-22 Chong Yidong <cyd@gnu.org>
8558 * cus-edit.el (custom-variable-menu)
8559 (custom-variable-reset-saved, custom-face-menu)
8560 (custom-face-reset-saved): If there is no saved value, make the
8561 "reset-saved" operation bring back the default (Bug#9509).
8562 (custom-face-state): Properly detect themed faces.
8564 * faces.el (face-spec-set): Stop supporting deprecated form of
8567 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8569 Move functions from C to Lisp. Make non-blocking method calls
8570 the default. Implement further D-Bus standard interfaces.
8572 * net/dbus.el (dbus-message-internal): Declare function.
8573 Remove unneeded function declarations.
8574 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8575 (dbus-message-type-method-return, dbus-message-type-error)
8576 (dbus-message-type-signal): Declare variables. Remove local
8578 (dbus-interface-dbus, dbus-interface-peer)
8579 (dbus-interface-introspectable, dbus-interface-properties)
8580 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8582 (dbus-interface-objectmanager): New defconst.
8583 (dbus-call-method, dbus-call-method-asynchronously)
8584 (dbus-send-signal, dbus-method-return-internal)
8585 (dbus-method-error-internal, dbus-register-service)
8586 (dbus-register-signal, dbus-register-method): New defuns, moved
8588 (dbus-call-method-handler, dbus-setenv)
8589 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8591 (dbus-call-method-non-blocking): Make it an obsolete function.
8592 (dbus-unregister-object, dbus-unregister-service)
8593 (dbus-handle-event, dbus-register-property)
8594 (dbus-property-handler): Obey the new structure of
8595 `bus-registered-objects'.
8596 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8597 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8598 Use `dbus-call-method'.
8600 2012-04-22 Chong Yidong <cyd@gnu.org>
8602 * cus-edit.el (custom-commands, custom-reset-menu)
8603 (Custom-reset-standard): Tweak labels.
8604 (custom-reset-button-menu): Change default to t.
8605 (custom-buffer-create-internal): For the custom-reset-button-menu
8606 case, put the revert button first.
8607 (custom-group-subtitle): New face.
8608 (custom-group-value-create): Align docstring to a specific column.
8610 * wid-edit.el (widget-documentation-link-add): Don't handle
8611 indentation in this function.
8612 (widget-documentation-string-indent-to): New function.
8613 (widget-documentation-string-value-create): Use it.
8615 * autorevert.el (auto-revert):
8616 * epg-config.el (epg):
8617 * ibuffer.el (ibuffer):
8620 * eshell/eshell.el (eshell):
8621 * net/ange-ftp.el (ange-ftp):
8622 * progmodes/ebnf2ps.el (postscript):
8623 * progmodes/flymake.el (flymake):
8624 * progmodes/prolog.el (prolog):
8625 * progmodes/verilog-mode.el (verilog-mode):
8626 * progmodes/which-func.el (which-func):
8627 * term/xterm.el (xterm):
8628 * textmodes/picture.el (picture):
8629 * textmodes/tildify.el (tildify):
8630 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8631 customization buffers.
8633 2012-04-22 Alan Mackenzie <acm@muc.de>
8635 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8636 Adding a ) can hide the resulting (..) from searches. Fix it.
8637 Bound the backward search to the position of the existing (.
8639 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8641 * progmodes/verilog-mode.el (verilog-mode): Check whether
8642 which-func-modes is t before adding verilog-mode.
8643 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8645 2012-04-21 Leo Liu <sdl.web@gmail.com>
8647 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8649 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8651 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8652 filling of the last column of a table (Bug#5635).
8653 (woman-find-next-control-line): New arg, specifying an additional
8654 regexp component for the control line.
8655 (woman2-roff-buffer): Use it.
8656 (woman-break-table): New function.
8657 (woman2-TS): Use it.
8659 2012-04-21 Chong Yidong <cyd@gnu.org>
8661 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8662 (woman-horizontal-escapes, woman-negative-vertical-space)
8663 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8664 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8666 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * minibuffer.el (completion-file-name-table): Complete user names.
8670 2012-04-20 Leo Liu <sdl.web@gmail.com>
8672 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8675 2012-04-20 Chong Yidong <cyd@gnu.org>
8677 * server.el (server-execute): Respect initial-buffer-choice if it
8678 is a string and there are no files to open (Bug#2825).
8679 (server-create-window-system-frame, server-create-tty-frame):
8680 Don't switch buffers here.
8681 (server-process-filter): Only try to open a window system frame if
8682 compiled with graphical support (Bug#8314).
8684 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8686 * battery.el (battery-echo-area-format): Display remaining time
8687 for sysfs backend too (Bug#11269).
8688 (battery-linux-sysfs): Fix conditional for the charge.
8690 2012-04-20 Chong Yidong <cyd@gnu.org>
8692 * progmodes/gdb-mi.el (gdb): Revert previous change.
8693 (gdb-inferior-io--init-proc): New function.
8694 (gdb-init-1): Use it.
8695 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8696 responsible for allocating a new pty and hooking it to gdb when
8697 the old pty gets an EIO due to process exit.
8698 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8699 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8700 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8702 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8704 * window.el (window-min-size, window-sizable, window-min-delta)
8705 (window-max-delta, window--resizable, window-resizable)
8706 (window-total-size, window-full-height-p, window-full-width-p)
8707 (window-in-direction, window--resize-mini-window, window-resize)
8708 (window--resize-child-windows-normal)
8709 (window--resize-child-windows, window--resize-siblings)
8710 (window--resize-this-window, adjust-window-trailing-edge)
8711 (enlarge-window, shrink-window): Doc fixes.
8713 2012-04-20 Chong Yidong <cyd@gnu.org>
8715 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8716 New function to call delete-process on the gdb-inferior buffer's pty.
8717 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8718 pty process (Bug#11273).
8719 (gdb-update): New arg to suppress talking to the gdb process.
8720 (gdb-done-or-error): Use it.
8721 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8722 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8723 sentinel not being called.
8725 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8727 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8729 2012-04-20 Glenn Morris <rgm@gnu.org>
8731 * net/network-stream.el (open-network-stream): Doc fix.
8733 2012-04-20 Chong Yidong <cyd@gnu.org>
8735 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8737 2012-04-20 Alan Mackenzie <acm@muc.de>
8739 Ensure searching for keywords is case sensitive.
8741 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8742 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8743 (c-defun-name, c-mark-function, c-cpp-define-name)
8744 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8745 (c-context-line-break): Bind case-fold-search to nil.
8747 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8748 Bind case-fold-search to nil.
8750 2012-04-20 Chong Yidong <cyd@gnu.org>
8752 * mail/sendmail.el (mail-bury): Call return action with the right
8753 Rmail buffer (Bug#11242).
8755 * server.el (server-process-filter): Handle corner case where both
8756 tty and nowait options are present (Bug#11102).
8758 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8760 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8761 (top level): Put into the executable the ident-style '$Id:' tag on
8764 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * electric.el (electric-indent-post-self-insert-function): Check that
8767 electric-indent-mode is enabled in current buffer.
8769 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8771 * imenu.el (imenu-progress-message): Restore; it is "used" in
8772 erc/erc-imenu.el and net/snmp-mode.el.
8774 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8776 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8777 (mouse-avoidance-nudge-mouse): Remove unused binding.
8779 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8781 * descr-text.el (describe-char):
8782 * progmodes/python.el (python-describe-symbol):
8783 Don't call `toggle-read-only', set `buffer-read-only'.
8785 * imenu.el (imenu-default-goto-function): Mark unused args.
8786 (imenu-progress-message): Remove obsolete macro; all callers changed.
8788 * subr.el (keymap-canonicalize): Remove unused binding.
8789 (read-passwd): Mark unused arg.
8791 * tutorial.el (tutorial--display-changes): Remove unused binding.
8792 (tutorial--save-tutorial-to): Remove unused variable.
8794 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8795 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8796 (package-generate-autoloads, package-menu--generate)
8797 (package-menu--find-upgrades): Remove unused bindings.
8799 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8800 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8801 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8802 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8803 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8804 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8805 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8806 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8807 (cua-delete-char-rectangle): Mark unused args.
8808 (cua-align-rectangle): Remove unused binding.
8810 * mail/rmail.el (compilation--message->loc)
8811 (epa--find-coding-system-for-mime-charset): Declare.
8813 * net/dbus.el (dbus-register-service): Declare.
8814 (dbus-name-owner-changed-handler): Remove unused binding.
8816 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8817 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8818 (nxml-scan-backward-within): Mark unused arg.
8819 (nxml-dynamic-markup-word): Remove unused binding.
8821 * mouse.el (mouse-menu-major-mode-map):
8822 * emacs-lisp/authors.el (authors-scan-change-log)
8823 (authors-add-to-author-list):
8824 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8825 * emacs-lisp/smie.el (smie-auto-fill):
8826 * mail/sendmail.el (mail-bury):
8827 * mail/unrmail.el (unrmail):
8828 * net/tls.el (open-tls-stream):
8829 * textmodes/picture.el (picture-mouse-set-point):
8830 Remove unused bindings.
8832 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8834 * net/tramp.el (tramp-action-password): Let-bind
8835 `enable-recursive-minibuffers' to t.
8837 2012-04-18 Sam Steingold <sds@gnu.org>
8839 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8840 instead of 'string to accommodate values like [f11].
8841 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8842 * progmodes/gdb-mi.el: Likewise.
8844 2012-04-18 Leo Liu <sdl.web@gmail.com>
8846 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8848 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8851 2012-04-18 Chong Yidong <cyd@gnu.org>
8853 * simple.el (line-move): Use forward-line if in batch mode
8856 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8858 * files.el (after-find-file): Do not try to add a final newline if
8859 the buffer is read-only (Bug#11156).
8861 2012-04-17 Richard Stallman <rms@gnu.org>
8863 * mail/rmail.el (rmail-start-mail):
8864 Pass (rmail-mail-return...) for the return-action.
8865 Pass (rmail-yank-current-message...) for the yank-action.
8866 (rmail-yank-current-message): New function.
8867 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8868 (rmail-reply): Likewise.
8869 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8871 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8872 buffer, not the last. Reject temp buffers. Use the rmail-mode
8875 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8877 * server.el (server-ensure-safe-dir): Simplify.
8879 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8881 * emacs-lisp/smie.el: Provide smarter auto-filling.
8882 (smie-auto-fill): New function.
8883 (smie-setup): Use it.
8885 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8887 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8889 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8890 (comment-indent): Use it.
8892 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8894 * ses.el: The overall change is to add cell renaming, that is
8895 setting fancy names for cell symbols other than name matching
8896 "\\`[A-Z]+[0-9]+\\'" regexp .
8897 (ses-localvars): Add ses--renamed-cell-symb-list.
8898 (ses-create-cell-variable): New defun.
8899 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8900 (ses-relocate-formula): Relocate formulas only for cells the
8901 symbols of which are not renamed, i.e. symbols whose names do not
8902 match regexp "\\`[A-Z]+[0-9]+\\'".
8903 (ses-relocate-all): Relocate values only for cells the symbols of
8904 which are not renamed.
8905 (ses-load): Create cells variables as the (ses-cell ...) are read,
8906 in order to check row col consistency with cell symbol name only
8907 for cells that are not renamed.
8908 (ses-replace-name-in-formula): New defun.
8909 (ses-rename-cell): New defun.
8911 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8913 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8914 New option (bug#11118).
8915 (perl-calculate-indent): Respect it.
8917 2012-04-17 Glenn Morris <rgm@gnu.org>
8919 * dired-aux.el (dired-mark-read-string): Doc fix.
8921 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8923 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8924 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8926 2012-04-17 Glenn Morris <rgm@gnu.org>
8928 * mouse.el (mouse-drag-track):
8929 * speedbar.el (speedbar-frame-mode):
8930 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8932 2012-04-16 Leo Liu <sdl.web@gmail.com>
8934 * progmodes/python.el: Trivial cleanup.
8936 2012-04-16 Glenn Morris <rgm@gnu.org>
8938 * vc/vc.el (vc-string-prefix-p):
8939 * vc/pcvs-util.el (cvs-string-prefix-p):
8940 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8941 * mpc.el (mpc-string-prefix-p):
8942 Make all of these into obsolete aliases for string-prefix-p.
8944 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8946 * textmodes/two-column.el: Move custom options to the start.
8947 (frame-width): Remove compat definition.
8948 (2C-associate-buffer, 2C-dissociate):
8949 Use with-current-buffer rather than save-excursion.
8950 (2C-dissociate): Force a mode-line update.
8951 (2C-autoscroll): Use ignore-errors.
8953 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8956 * emacs-lisp/cl-extra.el (*random-state*):
8957 Remove unnecessary declaration.
8959 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8961 * play/cookie1.el (cookie-snarf):
8962 Give an explicit error if input file cannot be read.
8964 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8966 * progmodes/perl-mode.el (c-macro-expand):
8967 Remove unnecessary autoload (it is in loaddefs.el).
8969 * textmodes/picture.el (picture-desired-column)
8970 (picture-update-desired-column): Convert comments to doc-strings.
8971 (picture-substitute): Remove function.
8972 (picture-mode-map): Initialize in the defvar.
8974 * woman.el: Remove eval-after-load for tar-mode.
8975 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8976 (woman-tar-extract-file): Autoload it.
8978 * frame.el (automatic-hscrolling): Make this alias obsolete.
8980 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8982 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8983 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8984 (ispell-dictionary-base-alist): Revert to original XEmacs
8985 friendly version for default. [:alpha:] will be added in
8986 `ispell-set-spellchecker-params' if needed.
8988 2012-04-16 Chong Yidong <cyd@gnu.org>
8990 * image.el (imagemagick--file-regexp): New variable.
8991 (imagemagick-register-types): Use it.
8992 (imagemagick-types-inhibit): Add :set function. Allow new value
8993 of t to inhibit all types.
8995 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8996 so we can preload it.
8998 * loadup.el (fboundp): Preload regexp-opt, needed by
8999 imagemagick-register-types.
9001 2012-04-15 Chong Yidong <cyd@gnu.org>
9003 * frame.el (scrolling): Remove nearly unused customization group.
9005 * scroll-all.el (scroll-all-mode): Move to windows group.
9007 2012-04-15 Chong Yidong <cyd@gnu.org>
9009 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9011 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9013 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9014 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9016 2012-04-15 Glenn Morris <rgm@gnu.org>
9018 * simple.el (process-file-side-effects): Doc fix.
9020 2012-04-15 Glenn Morris <rgm@gnu.org>
9022 * international/mule-cmds.el (set-language-environment): Doc fix.
9024 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9026 * server.el (server-auth-key, server-generate-key): Doc fixes.
9027 (server-get-auth-key): Doc fix. Use `string-match-p'.
9028 (server-start): Reflow docstring.
9030 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9032 * server.el (server-generate-key): `called-interactively-p'
9033 requires a parameter.
9035 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9037 * server.el (server-auth-key): New variable.
9038 (server-generate-key, server-get-auth-key): New function.
9039 (server-start): Use the new variable and functions to allow
9040 setting a permanent server key (bug#9423).
9042 2012-04-14 Leo Liu <sdl.web@gmail.com>
9044 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9046 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9049 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9050 Emacs uses American spelling.
9052 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9054 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9055 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9056 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9057 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9059 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9061 * progmodes/which-func.el (which-func-modes): Change default.
9063 2012-04-14 Kim F. Storm <storm@cua.dk>
9065 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9066 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9068 2012-04-14 Chong Yidong <cyd@gnu.org>
9070 * custom.el (custom-theme-set-variables): Doc fix.
9072 2012-04-14 Glenn Morris <rgm@gnu.org>
9074 * international/mule.el (set-auto-coding-for-load): Doc fix.
9076 2012-04-14 Alan Mackenzie <acm@muc.de>
9078 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9079 imenu work again for Objective C Mode. Correct the *-index values,
9080 these having been disturbed by a previous change in 2011-08.
9082 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9083 Correct two search limits.
9085 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9089 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9091 * international/characters.el: Fix sorting.
9093 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9095 * international/characters.el: Add more missing Latin case pairs.
9097 2012-04-14 Glenn Morris <rgm@gnu.org>
9099 * files.el (dir-locals-set-class-variables): Doc fix.
9101 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9103 * international/characters.el: Add set-case-syntax-pair call for
9104 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9105 counterpart. (Bug#11209)
9107 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9109 2012-04-14 Glenn Morris <rgm@gnu.org>
9111 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9113 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9115 * textmodes/ispell.el (ispell-dictionary-base-alist):
9116 Add data for Hebrew.
9118 2012-04-14 Chong Yidong <cyd@gnu.org>
9120 * net/rcirc.el (rcirc-cmd-quit):
9121 Revert 2012-03-18 change (Bug#11192).
9123 2012-04-14 Glenn Morris <rgm@gnu.org>
9125 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9127 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9129 * minibuffer.el (completion-in-region-mode-map):
9130 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9132 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9134 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9136 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9138 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9139 to allow `C-M-f' and `C-M-b' to move to the nearest path
9140 separator (bug#9511).
9142 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9144 * avoid.el: Require cl when compiling. And also move the
9145 `provide' to the end.
9147 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9149 * avoid.el (mouse-avoidance-banish-position): New variable.
9150 (mouse-avoidance-banish-destination): Use it (bug#10165).
9152 2012-04-13 Leo Liu <sdl.web@gmail.com>
9154 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9156 2012-04-13 Ken Brown <kbrown@cornell.edu>
9158 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9159 this is no longer needed now that cygstart understands file:// URLs.
9160 (browse-url-filename-alist): For the same reason, don't modify
9161 file:// URLs on Cygwin.
9163 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9166 the region on shift if the binding is already shifted (bug#11221).
9168 2012-04-12 Glenn Morris <rgm@gnu.org>
9170 * mail/mailpost.el: Move to obsolete/.
9172 2012-04-12 Drew Adams <drew.adams@oracle.com>
9174 * imenu.el (imenu--generic-function): Ignore invisible definitions
9177 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9179 * hexl.el (hexl-bits): New variable.
9180 (hexl-options): Mention the variable in the doc string.
9181 (hexl-rulerise, hexl-line-displen): New functions.
9182 (hexl-mode): Mention the new variable.
9183 (hexl-mode, hexl-current-address, hexl-current-address):
9185 (hexl-ascii-start-column): New function.
9186 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9187 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9189 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9191 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9192 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9193 the encoding, as expected by hunspell.
9195 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9197 * battery.el (battery--linux-sysfs-regexp): New const.
9198 (battery-status-function): Use it. Remove yeeloong special case.
9199 (battery-yeeloong-sysfs): Remove.
9200 (battery-echo-area-format): Remove yeeloong special case.
9202 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9205 Reported by Noah Friedman.
9207 * subr.el (read-passwd): Use read-string.
9209 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211 * vcursor.el (vcursor-move): Increase the priority of the overlay
9214 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9216 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9217 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9219 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9221 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9222 define-minor-mode (bug#10760).
9224 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9226 * progmodes/grep.el (rgrep): Tweak the find command line so
9227 that directories matching `grep-find-ignored-files' won't be
9230 2012-04-11 Chong Yidong <cyd@gnu.org>
9232 * startup.el (command-line): Remove support for long-obsolete
9233 variable font-lock-face-attributes.
9235 2012-04-11 Glenn Morris <rgm@gnu.org>
9237 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9239 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * window.el (window--state-get-1): Obey window-point-insertion-type.
9243 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9245 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9246 to previous function when point is on the first character of a
9247 function. Take care of that in `narrow-to-defun' (bug#6157).
9249 2012-04-11 Glenn Morris <rgm@gnu.org>
9251 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9252 not just file-errors.
9254 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9255 (vc-bzr-sha1): Use internal sha1.
9257 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9259 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9261 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9263 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9264 that start in the middle of the line (bug#10496).
9266 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9268 * battery.el (battery-linux-proc-acpi): Only one battery is
9269 discharged at a time, but that seems to confuse battery.el when
9270 computing `rate-type' for the battery not being discharged
9273 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9277 * international/quail.el: Use dolist and simplify.
9278 (quail-define-package, quail-update-keyboard-layout)
9279 (quail-define-rules): Use dolist.
9280 (quail-insert-kbd-layout, quail-get-translation): CSE.
9282 * tmm.el: Use dolist, remove left over hook.
9283 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9285 (calendar-load-hook): Don't mess with it.
9287 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9288 Use derived-mode-p. Run the diff asynchronously.
9290 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9294 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9296 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9297 (list-dynamic-libraries--loaded): New function.
9298 (list-dynamic-libraries--refresh): Use it.
9300 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9302 * progmodes/python.el (python-fill-paragraph):
9303 Make python-fill-region in a multiline string work when font-lock is
9304 disabled (bug#7018).
9306 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9308 * language/european.el (cp775): Add oem/legacy (en)coding on
9309 DOS/MS Windows for the Baltic languages. There are still plenty
9310 of texts written in this encoding/codepage (bug#6519).
9312 2012-04-10 Glenn Morris <rgm@gnu.org>
9314 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9315 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9317 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9319 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9320 next-line "n" and previous-line "p" in order to make recentf more
9321 consistent with ibuffer, dired or org-mode (bug#9387).
9323 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9325 * image.el (put-image): Return the overlay created instead of the
9326 optional input string (bug#7834). Note that this may break code
9327 that is (for some reason or other) depending on `put-image'
9328 returning the string.
9330 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9332 * simple.el (zap-to-char): Allow zapping using input methods
9335 * textmodes/fill.el (fill-region): Leave point and mark where they
9336 were before filling (bug#5399).
9338 2012-04-09 Glenn Morris <rgm@gnu.org>
9340 * version.el (emacs-bzr-get-version):
9341 Handle lightweight checkouts of local branches.
9343 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9345 * international/characters.el: Recover lost case pairs. (Bug#11209)
9347 2012-04-09 Chong Yidong <cyd@gnu.org>
9349 * custom.el (custom-variable-p): Return nil for non-symbol
9350 arguments instead of signaling an error.
9351 (user-variable-p): Obsolete alias for custom-variable-p.
9353 * apropos.el (apropos-variable):
9354 * files-x.el (read-file-local-variable):
9355 * simple.el (set-variable):
9356 * woman.el (woman-mini-help):
9357 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9359 2012-04-09 Glenn Morris <rgm@gnu.org>
9361 * startup.el (normal-top-level): Don't look for leim-list.el
9362 in places where it will not be found. (Bug#910)
9364 * international/mule-cmds.el (set-default-coding-systems):
9365 * files.el (normal-mode):
9366 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9367 This function was removed with ucs-tables.el in 2008.
9369 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9371 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9372 ispell-encoding8-command to "-i", without a trailing space.
9373 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9374 separate command-line arguments, to specify the encoding, since
9375 that's how hunspell expects it.
9377 2012-04-08 Glenn Morris <rgm@gnu.org>
9379 * loadup.el: Load bindings before cus-start.
9380 This reduces somewhat the number of "rogue" settings in emacs -Q.
9382 2012-04-07 Glenn Morris <rgm@gnu.org>
9384 * version.el (emacs-bzr-get-version): New function.
9385 (emacs-bzr-version): New variable.
9386 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9387 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9389 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9391 * international/uni-bidi.el, international/uni-category.el:
9392 * international/uni-combining.el, international/uni-decimal.el:
9393 * international/uni-decomposition.el, international/uni-digit.el:
9394 * international/uni-lowercase.el, international/uni-mirrored.el:
9395 * international/uni-name.el, international/uni-numeric.el:
9396 * international/uni-titlecase.el, international/uni-uppercase.el:
9397 Update for Unicode 6.1.
9399 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9401 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9403 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9405 * window.el (shrink-window): Mention the `window-min-height'
9406 variable in the doc string.
9408 2012-04-05 Bastien Guerry <bzg@altern.org>
9410 * color.el (color-lighten-name): Fix typo.
9412 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9414 * server.el (server--on-display-p): New function.
9415 (server--on-display-p): Use it.
9417 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9419 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9422 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9424 * comint.el (comint--common-quoted-suffix): Check string boundary
9425 before comparing (bug#11158).
9426 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9428 2012-04-04 Chong Yidong <cyd@gnu.org>
9430 * minibuffer.el (completion-extra-properties): Doc fix.
9432 * subr.el (delayed-warnings-hook): Doc fix.
9434 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9436 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9437 selection (Bug#11159).
9438 (epa-insert-keys): Inform that the default public key will be
9439 exported if no key is selected.
9441 2012-04-04 Richard Stallman <rms@gnu.org>
9443 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9445 2012-04-03 Chong Yidong <cyd@gnu.org>
9447 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9448 mail-insert-file, not its obsolete alias mail-attach-file.
9450 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9452 * notifications.el (notifications-notify): Fix docstring.
9454 2012-04-02 Glenn Morris <rgm@gnu.org>
9456 * emacs-lisp/authors.el (authors-aliases): Another addition.
9458 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9460 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9461 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9462 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9464 2012-04-01 Chong Yidong <cyd@gnu.org>
9466 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9467 Handle root directory properly.
9468 (copy-directory): Caller changed.
9470 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9471 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9473 2012-03-31 Glenn Morris <rgm@gnu.org>
9475 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9477 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9479 * calendar/calendar.el (calendar-window-list)
9480 (calendar-hide-window): Restore. (Bug#11140)
9481 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9483 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9485 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9487 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9488 Check if file is a symlink (Bug#10489).
9490 * files.el (copy-directory): Likewise.
9492 2012-03-30 Chong Yidong <cyd@gnu.org>
9494 * image.el (imagemagick-types-inhibit)
9495 (imagemagick-register-types): Doc fix.
9497 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9499 * textmodes/ispell.el (ispell-get-extended-character-mode):
9500 Disable extended-char-mode for hunspell. hunspell does not support it
9501 and treats ~word as ordinary words in pipe mode.
9503 2012-03-30 Glenn Morris <rgm@gnu.org>
9505 * tutorial.el (help-with-tutorial): Ensure local variables don't
9506 happen to make the buffer read-only. (Bug#11127)
9508 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9510 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9511 (perl-calculate-indent): Return `noindent' in strings.
9513 2012-03-28 Sam Steingold <sds@gnu.org>
9515 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9516 instead of the broken adhockery which does not prevent calendar
9517 buffers from being displayed at random after exit.
9518 (calendar-window-list, calendar-hide-window): Remove the broken
9521 2012-03-28 Glenn Morris <rgm@gnu.org>
9523 * replace.el (query-replace-map): Doc fix.
9525 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9527 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9528 contents. (Bug#11109)
9530 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9534 (avl-tree--check, avl-tree--check-node): New funs.
9536 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9538 * window.el (switch-to-visible-buffer): New option.
9539 (switch-to-prev-buffer, switch-to-next-buffer):
9540 Observe switch-to-visible-buffer. Make sure that checking for a window
9541 showing a buffer already is done on the same frame.
9543 2012-03-27 Glenn Morris <rgm@gnu.org>
9545 * startup.el (mail-host-address): Doc fix.
9547 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9552 2012-03-26 Ami Fischman <ami@fischman.org>
9554 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9556 2012-03-26 Glenn Morris <rgm@gnu.org>
9558 * files.el (save-buffers-kill-emacs): Doc fix.
9560 * startup.el (normal-top-level, command-line, command-line-1):
9561 Give them doc strings.
9563 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9565 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9566 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9568 2012-03-25 Chong Yidong <cyd@gnu.org>
9570 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9571 theme if it was previously enabled before (Bug#11031).
9573 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9574 spec with custom-face-get-current-spec if its :shown-value is not
9575 determined yet (Bug#9337).
9576 (customize-create-theme, custom-theme-revert): Doc fixes.
9578 * button.el (button-at): Minor addition to docstring.
9580 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9582 * vc/vc.el (vc-merge): Fix a prompt.
9584 2012-03-24 Chong Yidong <cyd@gnu.org>
9586 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9589 * button.el (button-at): Minor addition to docstring.
9591 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9593 * newcomment.el (comment-choose-indent): No space after BOL.
9595 2012-03-22 Sam Steingold <sds@gnu.org>
9597 * window.el (switch-to-prev-buffer): Revert last patch because the
9598 bug turned out to be an advertised feature (Elisp manual 28.14).
9600 2012-03-22 Glenn Morris <rgm@gnu.org>
9602 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9603 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9605 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607 * net/network-stream.el (network-stream-open-starttls): Make error
9608 message under Windows be less misleading.
9610 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9612 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9613 understands (bug#9942).
9615 2012-03-22 Chong Yidong <cyd@gnu.org>
9617 * simple.el (end-of-visible-line): Handle return value of
9618 next-single-property-change properly (Bug#9371).
9620 2012-03-22 Kenichi Handa <handa@m17n.org>
9622 * international/quail.el (quail-insert-kbd-layout): Fix previous
9623 change. To avoid unwanted bidi reordering, use
9624 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9626 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9628 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9629 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9630 (ruby-beginning-of-indent): Be more careful with the difference
9631 between word-boundary and symbol boundary.
9632 (ruby-mode-syntax-table): Make : a symbol constituent.
9634 2012-03-21 Andreas Politz <politza@fh-trier.de>
9636 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9638 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9640 * progmodes/etags.el (tags-completion-at-point-function):
9643 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9645 2012-03-21 Sam Steingold <sds@gnu.org>
9647 * progmodes/etags.el (tags-completion-at-point-function):
9648 Avoid the error when point is inside the pattern.
9650 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9652 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9655 2012-03-21 Drew Adams <drew.adams@oracle.com>
9657 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9659 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9661 * ido.el (ido-set-current-directory, ido-read-internal)
9662 (ido-choose-completion-string, ido-completion-help): Handle nil
9663 value of ido-completion-buffer (Bug#11008).
9665 2012-03-21 Sam Steingold <sds@gnu.org>
9667 * window.el (switch-to-prev-buffer): Do not switch to a visible
9668 window previous buffer, just like with the frame previous buffers.
9670 2012-03-21 Chong Yidong <cyd@gnu.org>
9672 * faces.el (make-face, make-empty-face, copy-face):
9673 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9676 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9678 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9679 (widget-complete): Remove broken use of it.
9681 2012-03-20 Chong Yidong <cyd@gnu.org>
9683 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9684 Use string-width and truncate-string-width to handle arbitrary
9687 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9689 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9690 to draw rectangles, not squares. (Regression introduced by revno
9691 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9693 2012-03-18 Chong Yidong <cyd@gnu.org>
9695 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9696 it is not yet defined (for temacs).
9698 2012-03-18 Leo Liu <sdl.web@gmail.com>
9700 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9703 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9705 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9706 (ispell-choices-win-default-height, ispell-silently-savep)
9707 (ispell-dictionary-alist, ispell-encoding8-command)
9708 (ispell-check-version, ispell-aspell-find-dictionary)
9709 (ispell-valid-dictionary-list, ispell-words-keyword)
9710 (ispell-get-word, ispell-internal-change-dictionary)
9711 (ispell-region, ispell-skip-region-list)
9712 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9713 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9714 (ispell-message-text-end, ispell-message)
9715 (ispell-buffer-local-parsing): Doc fix.
9717 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9719 * htmlfontify.el: Add support for code block fontification for ODT
9721 (hfy-optimisations): Define new option
9723 (hfy-fontify-buffer): Honor above setting.
9724 (hfy-begin-span, hfy-end-span): New routines factored out form
9725 `hfy-fontify-buffer'.
9726 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9727 that permit insertion of custom tags.
9728 (hfy-fontify-buffer): Use above handlers.
9729 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9730 (hfy-face-to-css): Re-defined to be a variable.
9731 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9732 over multiple runs. This is made possible by having the caller let
9733 bind a special variable `hfy-user-sheet-assoc'.
9734 (htmlfontify-string): New defun.
9735 (hfy-compile-face-map): Make sure that the last char in the
9736 buffer is correctly fontified.
9737 (hfy-face-resolve-face): Whitespace only change.
9739 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9741 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9744 2012-03-16 Leo Liu <sdl.web@gmail.com>
9746 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9748 2012-03-16 Alan Mackenzie <acm@muc.de>
9750 Further optimise the handling of large macros.
9752 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9753 limit to a call of `c-literal-limits'.
9754 (c-determine-+ve-limit): New function.
9755 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9756 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9757 In CASE 5B, restrict a search limit to 500.
9758 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9760 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9761 Restrict macro bounds to +-500 from after-change's BEG END.
9763 2012-03-16 Leo Liu <sdl.web@gmail.com>
9765 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9767 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9769 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9770 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9772 2012-03-16 Glenn Morris <rgm@gnu.org>
9774 * view.el (view-buffer, view-buffer-other-window)
9775 (view-buffer-other-frame): Doc fixes re special mode-class.
9777 * subr.el (eval-after-load): If named feature is provided not from
9778 a file, run after-load forms. (Bug#10946)
9780 * calendar/calendar.el (calendar-insert-at-column):
9781 Handle non-unit-width characters a bit better. (Bug#10978)
9783 2012-03-15 Chong Yidong <cyd@gnu.org>
9785 * emacs-lisp/ring.el (ring-extend): New function.
9786 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9788 * comint.el (comint-read-input-ring)
9789 (comint-add-to-input-history): Grow comint-input-ring lazily.
9791 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9793 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9794 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9796 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9797 (imenu-add-to-menubar): Don't add a redundant index.
9798 (imenu-update-menubar): Handle a dynamically composed keymap.
9800 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9802 * mail/sendmail.el (mail-encode-header):
9803 Bind rfc2047-encode-encoded-words to nil.
9805 2012-03-13 Glenn Morris <rgm@gnu.org>
9807 * calendar/calendar.el (calendar-string-spread):
9808 Handle non-unit-width characters a bit better. (Bug#10978)
9810 2012-03-13 Leo Liu <sdl.web@gmail.com>
9812 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9813 directory and file as argument (Bug#10822).
9815 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9817 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9818 For dynamically generated code, follow $PC.
9819 (gdb-disassembly-handler-custom): Handle no function name case.
9821 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9823 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9824 * emulation/ws-mode.el (ws-query-replace):
9825 * sort.el (sort-regexp-fields):
9826 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9828 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * dabbrev.el: Fix cycle completion order (bug#10963).
9831 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9832 (dabbrev-completion): Don't use an obarray; provide
9833 a cycle-sort-function.
9835 2012-03-12 Leo Liu <sdl.web@gmail.com>
9837 * simple.el (kill-new): Use equal-including-properties for comparison.
9838 (kill-do-not-save-duplicates): Doc fix.
9840 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * dabbrev.el: Fix cycle completion (bug#10963).
9843 Use lexical binding and wrap to 80 columns.
9844 (dabbrev-completion): Delay computing the list of completions.
9846 2012-03-12 Kenichi Handa <handa@m17n.org>
9848 * international/quail.el (quail-insert-kbd-layout): Surround each
9849 row by LRO and PDF instead of inserting many LRMs. Pad the left
9850 and right of each non-spacing marks. Insert invisible space
9851 between lower and upper characters to prevent composition.
9853 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9855 * minibuffer.el (minibuffer-complete): Don't get confused when the
9856 function is run twice via different commands (bug#10958).
9857 (complete-with-action): Fix docstring.
9859 2012-03-12 Chong Yidong <cyd@gnu.org>
9861 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9862 (nxml-completion-at-point-function): New function.
9863 (nxml-mode): Use it.
9864 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9866 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9867 Load generated autoloads file before byte compiling (Bug#10970).
9868 (package--make-autoloads-and-compile): New helper fun.
9870 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9872 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9874 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9876 * autorevert.el (auto-revert-handler): Ensure, that
9877 file-readable-p is applied only for local files or in
9878 auto-revert-tail-mode.
9880 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9882 * server.el (server-eval-at): Handle non-tcp connections.
9883 Decode result string.
9885 * server.el (server-msg-size): New constant.
9886 (server-reply-print): New function.
9887 (server-eval-and-print): Use it.
9888 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9891 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9893 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9896 2012-03-11 Chong Yidong <cyd@gnu.org>
9898 * simple.el (goto-line): Doc fix (Bug#9938).
9900 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9902 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9903 when finished (Bug#10963).
9905 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9907 * window.el (split-window-below): Fix bug in case where
9908 split-window-keep-point is nil (Bug#10971).
9910 2012-03-11 Juri Linkov <juri@jurta.org>
9912 * replace.el (replace-highlight): Set isearch-word to nil
9913 unconditionally. (Bug#10887)
9915 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9917 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9918 mairix-replace-illegal-chars; all callers changed. Don't remove
9919 ^, ~, and = characters: they are meaningful in mairix search specs.
9920 (mairix-widget-create-query): Add usage information about mairix
9921 search forms: negating words, searching for substrings, etc.
9923 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9925 * international/fontset.el (font-encoding-alist): Add an entry for
9928 2012-03-10 Richard Stallman <rms@gnu.org>
9930 * mail/sendmail.el (mail-encode-header):
9931 Set rfc2047-encode-encoded-words.
9933 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9935 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9936 view buffer means not swapped.
9937 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9938 (rmail-write-region-annotate): Error if real text has disappeared.
9940 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9942 2012-03-10 Chong Yidong <cyd@gnu.org>
9944 * emulation/cua-rect.el (cua--init-rectangles):
9945 * emulation/cua-base.el (cua--init-keymaps):
9946 Add delete-forward-char to remappings (Bug#9666).
9948 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9950 * speedbar.el (speedbar-unhighlight-one-tag-line):
9951 Avoid unhighlighting due to frame switching (Bug#10275).
9953 2012-03-10 Chong Yidong <cyd@gnu.org>
9955 * minibuffer.el (completion-in-region, completion-help-at-point):
9956 Give the completion field overlay a high priority (Bug#6830).
9958 * dired.el (dired-goto-file): Recognize absolute file name
9959 listings (Bug#7126).
9960 (dired-goto-file-1): New helper function.
9961 (dired-toggle-read-only): Inhibit warnings.
9963 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9965 * net/dbus.el (dbus-property-handler): Return empty array if
9966 there are no properties.
9968 2012-03-09 Leo Liu <sdl.web@gmail.com>
9970 * savehist.el (savehist-printable): Stricter check for string
9973 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9975 * mail/smtpmail.el (smtpmail-send-it):
9976 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9979 2012-03-09 Glenn Morris <rgm@gnu.org>
9981 * files.el (dir-locals-find-file):
9982 Don't check result is regular, readable.
9983 (dir-locals-read-from-file): Demote errors.
9985 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9987 * international/quail.el (quail-insert-kbd-layout):
9988 Insert invisible LRM characters before each character in a keyboard
9989 layout cell, to prevent their reordering by bidi display engine.
9990 For details, see the discussion in
9991 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9993 2012-03-08 Alan Mackenzie <acm@muc.de>
9995 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9996 the starting position; make it extend the marked region when
9997 invoked repeatedly - all under appropriate circumstances.
9998 Fixes bugs #5525, #10906.
10000 2012-03-08 Glenn Morris <rgm@gnu.org>
10002 * files.el (locate-dominating-file, dir-locals-find-file):
10003 Undo 2012-03-06 change.
10005 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10007 * international/quail.el (quail-help):
10008 Force bidi-paragraph-direction be left-to-right. See discussion in
10009 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10012 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10014 Avoid superfluous registering of signals. (Bug#10807)
10016 * notifications.el (notifications-on-action-object)
10017 (notifications-on-close-object): New defvars.
10018 (notifications-on-action-signal, notifications-on-closed-signal):
10019 Unregister the signal if not needed any longer.
10020 (notifications-notify): Register `notifications-action-signal' or
10021 `notifications-closed-signal', if :on-action or :on-close has been
10022 passed as argument.
10024 2012-03-07 Chong Yidong <cyd@gnu.org>
10026 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10029 2012-03-06 Glenn Morris <rgm@gnu.org>
10031 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10032 (x-disown-selection-internal, x-get-selection-internal):
10033 Doc fix (add arglist signatures). (Bug#10783)
10035 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10037 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10038 Handle breakpoints with no "type".
10040 2012-03-06 Glenn Morris <rgm@gnu.org>
10042 * files.el (locate-dominating-file): Add optional predicate argument.
10043 (dir-locals-find-file): Make use of above change.
10045 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10047 * info.el (Info-insert-dir): Also try "dir.gz".
10049 2012-03-06 Glenn Morris <rgm@gnu.org>
10051 * files.el (dir-locals-find-file):
10052 Ignore non-readable or non-regular files. (Bug#10928)
10054 * files.el (locate-dominating-file): Doc fix.
10056 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10058 * calendar/calendar.el (calendar-set-mode-line):
10059 `getenv' returns a string. (Bug#10951)
10061 2012-03-05 Leo Liu <sdl.web@gmail.com>
10063 * simple.el (backward-delete-char-untabify): Constrain point to
10066 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10068 2012-03-05 Chong Yidong <cyd@gnu.org>
10070 * simple.el (count-words): If called from Lisp, return the word
10071 count, for symmetry with `count-lines'. Arglist changed.
10072 (count-words--message): Args changed. Consolidate counting code
10073 from count-words and count-words-region.
10074 (count-words-region): Caller changed.
10075 (count-lines-region): Make it an obsolete alias.
10077 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10079 * saveplace.el (save-place-to-alist)
10080 (save-place-ignore-files-regexp): Allow value nil to disable this
10083 2012-03-04 Chong Yidong <cyd@gnu.org>
10085 * faces.el (face-spec-reset-face): For the default face, reset the
10086 attributes to default values (Bug#10748).
10088 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10090 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10091 previous patch: Check `message-send-mail-function', and not the
10092 default function (bug#10897).
10094 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10096 * notifications.el (notifications-on-action-signal)
10097 (notifications-on-closed-signal): Check for unique service name of
10098 incoming event. Fix error in removing entry.
10099 (top): Register for signals with wildcard service name.
10100 (notifications-notify): Use daemon unique service name for map entries.
10102 2012-03-04 Chong Yidong <cyd@gnu.org>
10104 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10106 2012-03-04 Glenn Morris <rgm@gnu.org>
10108 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10109 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10110 (expand-abbrev, define-abbrev-table): Doc fixes.
10112 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10114 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10115 `message-default-send-mail-function' and not `send-mail-function'
10116 when doing the prompting for `sendmail-query-once' before sending
10117 in Message buffers (bug#10897).
10119 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10120 This is inconsistent with all the other stream functions, which leave
10121 the setting up to the higher levels (if so wanted) (bug#10931).
10123 2012-03-02 Alan Mackenzie <acm@muc.de>
10125 Depessimize the handling of very large macros.
10127 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10128 (c-macro-cache-syntactic): New variables to implement a one
10129 element macro cache.
10130 (c-invalidate-macro-cache): New function.
10131 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10132 Adapt to use the new cache.
10133 (c-state-safe-place): Use better the cache of safe positions.
10134 (c-state-semi-nonlit-pos-cache)
10135 (c-state-semi-nonlit-pos-cache-limit):
10136 New variables for...
10137 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10138 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10139 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10140 Use c-state-semi-safe-place.
10142 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10143 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10145 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10147 * jka-compr.el (jka-compr-call-process):
10148 Apply `file-accessible-directory-p' only when the default directory is
10151 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10153 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10154 access of FILE2, if FILE1 does not exist.
10156 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10157 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10159 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10160 Add "PAGER=" to `process-environment'.
10162 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10164 * progmodes/sql.el: Bug fix
10165 (sql-get-login-ext): Save login values in globals.
10166 (sql-get-login): Use new version of `sql-get-login-ext'.
10167 (sql-interactive-mode): Set global `sql-connection' to nil.
10168 (sql-connect): Set global values for connection.
10169 (sql-product-interactive): Save global values as buffer local.
10171 2012-02-29 Leo Liu <sdl.web@gmail.com>
10173 * abbrev.el (define-abbrevs): Reset sys to nil.
10175 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10177 * files.el (file-equal-p): Rename from `files-equal-p'.
10178 Return nil when one or both files don't exist.
10179 (file-subdir-of-p): Now only top directory must exists,
10180 return nil if it doesn't.
10181 (copy-directory): No need to test with `file-subdir-of-p' after
10183 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10186 2012-02-28 Glenn Morris <rgm@gnu.org>
10188 * shell.el (shell-mode):
10189 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10190 * play/landmark.el (landmark-font-lock-face-O):
10191 * play/handwrite.el (handwrite):
10192 * play/gomoku.el (gomoku-O):
10193 * net/browse-url.el (browse-url-browser-display):
10194 * international/mule.el (define-charset):
10195 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10196 * filesets.el (filesets-find-file-delay):
10197 * eshell/em-xtra.el (eshell-xtra):
10198 * eshell/em-unix.el (eshell-grep):
10199 * emulation/viper.el (viper-mode):
10200 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10201 * emacs-lisp/easymenu.el (easy-menu-define):
10202 * calendar/timeclock.el (timeclock-use-display-time):
10204 * bookmark.el (bookmark-save-flag):
10205 Doc fix (standardize possessive apostrophe usage).
10207 2012-02-27 Chong Yidong <cyd@gnu.org>
10209 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10210 Fix key-binding lookup for ESC key (Bug#9146).
10212 * font-lock.el (font-lock-specified-p): Rename from
10213 font-lock-spec-present. Callers changed.
10215 2012-02-27 Daniel Hackney <dan@haxney.org>
10217 * emacs-lisp/package.el (package-compute-transaction):
10218 Handle holding a package version to t in package-load-list.
10220 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10222 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10223 (tramp-get-inode, tramp-get-device): Use cached values.
10225 2012-02-26 Alan Mackenzie <acm@muc.de>
10227 Check there is a font-lock specification before doing initial
10230 * font-core.el (font-lock-mode): Move the conditional from
10231 :after-hook to font-lock-initial-fontify.
10232 (font-lock-default-function): Move the check for a specification
10233 to font-lock-spec-present.
10235 * font-lock.el (font-lock-initial-fontify): Call ...
10236 (font-lock-spec-present): New function.
10238 2012-02-26 Jim Blandy <jimb@red-bean.com>
10240 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10241 (gdb-send): Apply it to the operand of the '-interpreter-exec
10242 console' command, so that we can pass arguments with (say) quotes
10243 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10245 2012-02-26 Chong Yidong <cyd@gnu.org>
10247 * help-fns.el (describe-function-1): Clarify description of
10248 remapping (Bug#10844).
10250 * files.el (files-equal-p): Doc fix.
10251 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10252 and quit the loop once a mismatch is found.
10254 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10256 * bs.el (bs--show-with-configuration): Don't throw an error
10257 if the window cannot be split; otherwise, subsequent calls to
10258 bs-show fail, restoring a stale window config. (Bug#10882)
10260 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10262 * term/ns-win.el (global-map): Bind ns-drag-file to
10263 ns-find-file (Bug#5855, Bug#10050).
10265 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10267 * calendar/parse-time.el (parse-time-string): Allow extractor to
10270 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10272 * net/tramp.el (tramp-file-name-for-operation):
10273 Add `files-equal-p' and `file-subdir-of-p'.
10275 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10276 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10277 Add COPY-CONTENTS argument.
10279 2012-02-25 Chong Yidong <cyd@gnu.org>
10281 Add custom groups for VC backends, for consistency with vc-bzr.
10283 * vc/vc-arch.el (vc-arch):
10284 * vc/vc-cvs.el (vc-cvs):
10285 * vc/vc-git.el (vc-git):
10286 * vc/vc-hg.el (vc-hg):
10287 * vc/vc-mtn.el (vc-mtn):
10288 * vc/vc-rcs.el (vc-rcs):
10289 * vc/vc-sccs.el (vc-sccs):
10290 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10291 All relevant defcustoms reassigned.
10293 2012-02-25 Chong Yidong <cyd@gnu.org>
10295 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10297 * term/x-win.el (x-initialize-window-system): Reduce default for
10298 x-selection-timeout to 5 seconds (Bug#8869).
10300 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10302 * files.el (files-equal-p, file-subdir-of-p): New functions.
10303 (copy-directory): Error when trying to copy a directory on itself.
10304 Add missing copy-contents arg to tramp handler.
10305 * dired-aux.el (dired-copy-file-recursive): Same.
10306 (dired-create-files): Modify destination when source is equal to
10307 dest when copying files.
10308 Return also when dest is a subdir of source. (Bug#10489)
10310 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10312 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10315 2012-02-23 Alan Mackenzie <acm@muc.de>
10317 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10318 parameter "after-hook:" to allow the expansion to run code after
10319 the execution of the mode hooks.
10321 * font-lock.el (font-lock-initial-fontify): New function extracted
10322 from font-lock-mode-internal.
10324 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10327 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10330 (completion--cache-all-sorted-completions): New function.
10331 (completion-all-sorted-completions): Use it.
10332 (completion--do-completion, minibuffer-force-complete):
10333 Use it to re-instate the flush hook.
10335 * icomplete.el (icomplete-completions): Replace last fix with a better
10338 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10340 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10341 when it might call us back infinitely (bug#10797).
10343 2012-02-23 Glenn Morris <rgm@gnu.org>
10345 * minibuffer.el (completion-category-overrides): Doc fix.
10347 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10350 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10352 2012-02-23 Glenn Morris <rgm@gnu.org>
10354 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10355 (authors-obsolete-files-regexps, authors-ignored-files)
10356 (authors-ambiguous-files, authors-renamed-files-alist):
10359 2012-02-23 Juri Linkov <juri@jurta.org>
10361 * isearch.el (isearch-occur): Sync interactive spec with occur's
10362 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10364 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10366 2012-02-22 Juri Linkov <juri@jurta.org>
10368 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10369 (ucs-insert): Doc fix. Check for hex digits in the string.
10370 Don't display `nil' in the error message. (Bug#10857)
10372 2012-02-22 Alan Mackenzie <acm@muc.de>
10374 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10376 2012-02-22 Glenn Morris <rgm@gnu.org>
10378 * ffap.el (ffap-c-path):
10379 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10381 2012-02-22 Chong Yidong <cyd@gnu.org>
10383 * custom.el (load-theme): Doc fix.
10385 2012-02-22 Glenn Morris <rgm@gnu.org>
10387 * dired-x.el (dired-guess-shell-alist-default):
10388 Remove escape sequences from nroff output. (Bug#172)
10390 2012-02-21 Glenn Morris <rgm@gnu.org>
10392 * vc/emerge.el (emerge-defvar-local):
10393 Set `permanent-local' property rather than unused `preserved'.
10395 * textmodes/picture.el (picture-delete-char): New alias.
10396 (picture-mode-map): Use it. (Bug#10860)
10397 (picture-mode): Doc fix.
10399 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10401 * newcomment.el (uncomment-region-default): Remove unused binding.
10403 2012-02-21 Glenn Morris <rgm@gnu.org>
10405 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10406 (picture-self-insert, picture-tab-chars): Doc fix.
10407 (picture-mode-map): Fix C-a, C-e.
10409 2012-02-20 Glenn Morris <rgm@gnu.org>
10411 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10413 2012-02-20 Leo Liu <sdl.web@gmail.com>
10415 * icomplete.el (icomplete-completions): Check FROM arg before
10416 passing to substring (Bug#10850).
10418 2012-02-19 Chong Yidong <cyd@gnu.org>
10420 * comint.el: Require ansi-color.
10421 (comint-output-filter-functions): Add ansi-color-process-output.
10423 * ansi-color.el: Don't set comint-output-filter-functions; it is
10424 now in the initial value defined in comint.el.
10425 (ansi-color-apply-face-function): New variable.
10426 (ansi-color-apply-on-region): Use it.
10427 (ansi-color-apply-overlay-face): New function.
10429 * shell.el (shell): No need to require ansi-color.
10430 (shell-mode): Use ansi-color-apply-face-function to highlight
10431 color escapes using font-lock-face property (Bug#10835).
10433 2012-02-19 Chong Yidong <cyd@gnu.org>
10435 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10436 mode-line formats (Bug#10839).
10438 2012-02-18 Glenn Morris <rgm@gnu.org>
10440 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10442 * mail/undigest.el (unforward-rmail-message): Doc fix.
10444 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10446 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10448 * international/characters.el (script-list): Sync with the latest
10449 Unicode Character Database.
10451 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10453 * international/titdic-cnv.el: Remove duplicate coding tag.
10454 * language/cham.el: Likewise.
10455 * language/tai-viet.el: Likewise.
10457 2012-02-18 Glenn Morris <rgm@gnu.org>
10459 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10460 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10461 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10462 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10463 * calendar/holidays.el (holiday-bahai-holidays)
10464 (calendar-holidays, list-holidays):
10465 Use utf-8 Bahá'í in doc-strings, menus, etc.
10467 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10469 * saveplace.el (save-place-ignore-files-regexp): New variable
10470 allowing for excluding files from saving their location of point.
10471 The default value matches the temporary commit message editing
10472 files from Git, SVN, Bazaar, and Mercurial.
10473 (save-place-to-alist): Use it.
10475 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10476 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * newcomment.el (uncomment-region-default): Don't leave extra space
10479 when an arg is provided (bug#8150).
10481 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10483 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10485 2012-02-17 Glenn Morris <rgm@gnu.org>
10487 * net/socks.el: Require network-stream. (Bug#10599)
10489 2012-02-17 Kenichi Handa <handa@m17n.org>
10491 * international/charprop.el:
10492 * international/uni-name.el:
10493 * international/uni-old-name.el:
10494 * international/uni-comment.el: Regenerate.
10496 2012-02-16 Glenn Morris <rgm@gnu.org>
10498 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10499 Interactively in calendar buffer, give an error if not on a date.
10501 2012-02-15 Glenn Morris <rgm@gnu.org>
10503 * shell.el (shell-delimiter-argument-list):
10504 Revert 2011-02-17 change. (Bug#8027)
10506 2012-02-15 Chong Yidong <cyd@gnu.org>
10508 * minibuffer.el (completion-at-point-functions): Doc fix.
10510 * custom.el (defcustom): Doc fix; note use of defvar.
10512 2012-02-15 Glenn Morris <rgm@gnu.org>
10514 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10517 2012-02-14 Glenn Morris <rgm@gnu.org>
10519 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10521 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10523 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10524 way the ports list is computed.
10525 (smtpmail-query-smtp-server): Prompt the user for a port number if
10526 we can't connect to any of the standard ports (bug#10810).
10528 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10530 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10532 2012-02-13 Glenn Morris <rgm@gnu.org>
10534 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10536 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10538 * net/gnutls.el (gnutls-trustfiles): New variable.
10539 (gnutls-negotiate): Use it.
10541 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10543 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10544 does its stuff if Gnus is running.
10546 2012-02-13 Alan Mackenzie <acm@muc.de>
10548 Fix a loop in c-set-fl-decl-start.
10550 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10551 c-backward-syntactic-ws actually moves backwards.
10553 2012-02-13 Leo Liu <sdl.web@gmail.com>
10555 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10556 beginning so that all \C-o chars are removed.
10558 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10560 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10562 2012-02-12 Alan Mackenzie <acm@muc.de>
10564 Fix infinite loop with long macros.
10565 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10567 2012-02-12 Chong Yidong <cyd@gnu.org>
10569 * window.el (display-buffer): Doc fix (Bug#10785).
10571 2012-02-12 Glenn Morris <rgm@gnu.org>
10573 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10574 (x-disown-selection-internal, x-get-selection-internal):
10575 Sync docs with the xselect.c versions.
10577 * allout-widgets.el: Add missing license notice.
10579 2012-02-11 Glenn Morris <rgm@gnu.org>
10581 * select.el (x-get-selection-internal, x-own-selection-internal)
10582 (x-disown-selection-internal):
10583 * x-dnd.el (x-get-selection-internal): Update declarations.
10585 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10587 * window.el (window-sides-slots):
10588 * tool-bar.el (tool-bar-position):
10589 * term/xterm.el (xterm-extra-capabilities):
10590 * ses.el (ses-self-reference-early-detection):
10591 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10592 (verilog-auto-wire-type)
10593 (verilog-auto-delete-trailing-whitespace)
10594 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10595 (verilog-auto-tieoff-declaration):
10596 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10597 (sql-oracle-statement-starters, sql-oracle-scan-on):
10598 * progmodes/prolog.el (prolog-align-comments-flag)
10599 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10600 (prolog-left-indent-regexp, prolog-paren-indent-p)
10601 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10602 (prolog-types, prolog-mode-specificators)
10603 (prolog-determinism-specificators, prolog-directives)
10604 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10605 (prolog-electric-dot-flag)
10606 (prolog-electric-dot-full-predicate-template)
10607 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10608 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10609 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10610 (prolog-program-switches, prolog-prompt-regexp)
10611 (prolog-debug-on-string, prolog-debug-off-string)
10612 (prolog-trace-on-string, prolog-trace-off-string)
10613 (prolog-zip-on-string, prolog-zip-off-string)
10614 (prolog-use-standard-consult-compile-method-flag)
10615 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10616 (prolog-imenu-max-lines, prolog-info-predicate-index)
10617 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10618 (prolog-char-quote-workaround):
10619 * progmodes/cc-vars.el (c-defun-tactic):
10620 * net/tramp.el (tramp-encoding-command-interactive)
10621 (tramp-local-end-of-line):
10622 * net/soap-client.el (soap-client):
10623 * net/netrc.el (netrc-file):
10624 * net/gnutls.el (gnutls):
10625 * minibuffer.el (completion-category-overrides)
10626 (completion-cycle-threshold)
10627 (completion-pcm-complete-word-inserts-delimiters):
10628 * man.el (Man-name-local-regexp):
10629 * mail/feedmail.el (feedmail-display-full-frame):
10630 * international/characters.el (glyphless-char-display-control):
10631 * eshell/em-ls.el (eshell-ls-date-format):
10632 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10633 (lisp-lambda-list-keyword-parameter-indentation)
10634 (lisp-lambda-list-keyword-parameter-alignment):
10635 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10636 * dired-x.el (dired-omit-verbose):
10637 * cus-theme.el (custom-theme-allow-multiple-selections):
10638 * calc/calc.el (calc-highlight-selections-with-faces)
10639 (calc-lu-field-reference, calc-lu-power-reference)
10640 (calc-note-threshold):
10641 * battery.el (battery-mode-line-limit):
10642 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10643 (archive-7z-update):
10644 * allout.el (allout-prefixed-keybindings)
10645 (allout-unprefixed-keybindings)
10646 (allout-inhibit-auto-fill-on-headline)
10647 (allout-flattened-numbering-abbreviation):
10648 * allout-widgets.el (allout-widgets-auto-activation)
10649 (allout-widgets-icons-dark-subdir)
10650 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10651 (allout-widgets-theme-dark-background)
10652 (allout-widgets-theme-light-background)
10653 (allout-widgets-item-image-properties-emacs)
10654 (allout-widgets-item-image-properties-xemacs)
10655 (allout-widgets-run-unit-tests-on-load)
10656 (allout-widgets-time-decoration-activity)
10657 (allout-widgets-hook-error-post-time)
10658 (allout-widgets-track-decoration):
10659 Add missing :version tags to new defcustoms and defgroups.
10661 * progmodes/sql.el (sql-ansi-statement-starters)
10662 (sql-oracle-statement-starters): Add custom type.
10664 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10665 (prolog-system-version): Give it a type.
10667 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10669 * term/pc-win.el (x-select-text, x-selection-owner-p)
10670 (x-own-selection-internal, x-disown-selection-internal)
10671 (x-get-selection-internal): Sync doc strings and argument lists
10672 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10674 2012-02-11 Leo Liu <sdl.web@gmail.com>
10676 * progmodes/python.el (python-end-of-statement): Fix infinite
10679 2012-02-10 Glenn Morris <rgm@gnu.org>
10681 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10682 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10684 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10686 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10687 about SMTP before checking the From header.
10689 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10690 into own function for reuse by emacsbug.el.
10692 2012-02-10 Leo Liu <sdl.web@gmail.com>
10694 * subr.el (condition-case-unless-debug): Rename from
10695 condition-case-no-debug. All callers changed.
10696 (with-demoted-errors): Fix caller.
10698 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10699 * nxml/rng-valid.el (rng-do-some-validation):
10700 * emacs-lisp/package.el (package-refresh-contents)
10701 (package-menu-execute):
10702 * desktop.el (desktop-create-buffer):
10703 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10705 2012-02-10 Glenn Morris <rgm@gnu.org>
10707 * textmodes/bibtex.el:
10708 Add missing :version tags for new/changed defcustoms.
10710 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10712 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10714 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10715 (smtpmail-via-smtp): Use it, or fall back on the From address.
10716 (smtpmail-send-it): Ditto.
10718 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10720 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10721 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10722 (byte-compile-tmp-var): New const.
10723 (byte-compile-defvar): Use it to minimize .elc size.
10724 Just use `defvar' rather than simulate it (bug#10761).
10726 2012-02-09 Glenn Morris <rgm@gnu.org>
10728 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10730 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10733 * progmodes/compile.el (compilation-error-screen-columns)
10734 (compilation-first-column, compilation-filter-start): Doc fixes.
10736 * vc/log-view.el (log-view-toggle-entry-display):
10737 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10739 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10740 (report-emacs-bug-can-use-xdg-email):
10741 (report-emacs-bug-insert-to-mailer): Doc fixes.
10742 (report-emacs-bug): Message fix.
10744 * net/browse-url.el (browse-url-can-use-xdg-open)
10745 (browse-url-xdg-open): Doc fixes.
10747 * electric.el (electric-indent-mode, electric-pair-mode)
10748 (electric-layout-rules, electric-layout-mode): Doc fixes.
10749 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10751 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10753 * server.el (server-unselect-display): Don't inadvertently kill
10754 the current buffer. (Bug#10729)
10756 2012-02-08 Glenn Morris <rgm@gnu.org>
10758 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10759 (sql-list-table): Doc fixes.
10761 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10762 Comment out (does nothing).
10764 * completion.el (dynamic-completion-mode):
10765 * dirtrack.el (dirtrack-debug-mode):
10766 * electric.el (electric-layout-mode):
10767 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10768 * face-remap.el (text-scale-mode, buffer-face-mode):
10769 * iimage.el (iimage-mode):
10770 * image-mode.el (image-transform-mode):
10771 * minibuffer.el (completion-in-region-mode):
10772 * scroll-lock.el (scroll-lock-mode):
10773 * simple.el (next-error-follow-minor-mode):
10774 * tar-mode.el (tar-subfile-mode):
10775 * tooltip.el (tooltip-mode):
10776 * vcursor.el (vcursor-use-vcursor-map):
10777 * wid-browse.el (widget-minor-mode):
10778 * emulation/tpu-edt.el (tpu-edt-mode):
10779 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10780 * international/iso-ascii.el (iso-ascii-mode):
10781 * language/thai-util.el (thai-word-mode):
10782 * mail/supercite.el (sc-minor-mode):
10783 * net/goto-addr.el (goto-address-mode):
10784 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10785 * progmodes/cwarn.el (cwarn-mode):
10786 * progmodes/flymake.el (flymake-mode):
10787 * progmodes/glasses.el (glasses-mode):
10788 * progmodes/hideshow.el (hs-minor-mode):
10789 * progmodes/pascal.el (pascal-outline-mode):
10790 * textmodes/enriched.el (enriched-mode):
10791 * vc/smerge-mode.el (smerge-mode):
10792 Doc fixes (minor mode argument).
10794 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10796 * ls-lisp.el (ls-lisp-sanitize): New function.
10797 (ls-lisp-insert-directory): Use it to fix or remove any elements
10798 in file-alist with missing attributes. (Bug#4673)
10800 2012-02-07 Alan Mackenzie <acm@muc.de>
10802 Fix spurious recognition of c-in-knr-argdecl.
10804 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10805 putative K&R region.
10807 2012-02-07 Alan Mackenzie <acm@muc.de>
10809 * progmodes/cc-engine.el (c-forward-objc-directive):
10810 Prevent looping in "#pragma mark @implementation".
10812 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10814 * notifications.el (notifications-on-closed-signal): Make `reason'
10815 optional. (Bug#10744)
10817 2012-02-07 Glenn Morris <rgm@gnu.org>
10819 * emacs-lisp/easy-mmode.el (define-minor-mode):
10820 Doc fixes for the macro and the mode it defines.
10822 * image.el (imagemagick-types-inhibit): Doc fix.
10824 * cus-start.el (imagemagick-render-type): Add it.
10826 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10828 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10829 Set the default at load time, too, so that `font-lock-fontify-buffer'
10830 can be called without setting up the entire mode first. This fixes
10831 a bug in `mm-inline-text' with C MIME parts.
10833 2012-02-06 Chong Yidong <cyd@gnu.org>
10835 * simple.el (list-processes--refresh): Delete exited processes
10838 * comint.el (comint-next-prompt): next-single-char-property-change
10839 and prev-single-char-property-change never return nil (Bug#8657).
10841 * custom.el (defcustom): Doc fix (Bug#9711).
10843 2012-02-05 Chong Yidong <cyd@gnu.org>
10845 * cus-edit.el (custom-variable-reset-backup): Quote the value
10846 before storing it in the customized-value property (Bug#6712).
10847 (custom-display): Add a customization type tag.
10848 (custom-buffer-create-internal): Improve tooltip message.
10850 * wid-edit.el (widget-field-value-get): New optional arg to
10851 suppress trailing whitespace truncation.
10852 (character): Use it (Bug#2689).
10854 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10856 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10857 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10859 2012-02-05 Chong Yidong <cyd@gnu.org>
10861 * cus-edit.el (custom-variable-value-create): For mismatched
10862 types, show the current value (Bug#7600).
10864 * custom.el (defcustom): Doc fix.
10866 2012-02-05 Glenn Morris <rgm@gnu.org>
10868 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10870 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10872 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10873 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10874 (pp-last-sexp): Use `looking-at-p'.
10876 2012-02-04 Glenn Morris <rgm@gnu.org>
10878 * files.el (revert-buffer):
10879 Doc fix (mention revert-buffer-in-progress-p).
10881 * emacs-lisp/ert-x.el (ert-simulate-command):
10882 Check deferred-action-list (which is obsolete) is bound.
10884 * subr.el (with-wrapper-hook): Doc fixes.
10886 * simple.el (filter-buffer-substring-functions)
10887 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10889 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10891 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10892 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10894 2012-02-04 Leo Liu <sdl.web@gmail.com>
10896 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10898 2012-02-04 Glenn Morris <rgm@gnu.org>
10900 * image.el (image-extension-data): Add obsolete alias.
10902 * isearch.el (isearch-update): Doc fix.
10904 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10906 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10908 2012-02-03 Glenn Morris <rgm@gnu.org>
10910 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10911 (image-animate-timeout): Doc fix.
10913 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10915 2012-02-02 Glenn Morris <rgm@gnu.org>
10917 * server.el (server-auth-dir): Doc fix.
10918 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10920 * subr.el (run-mode-hooks): Doc fix.
10922 2012-02-02 Juri Linkov <juri@jurta.org>
10924 * image-mode.el (image-toggle-display-image): Remove tautological
10925 `major-mode' from the `derived-mode-p' test.
10927 2012-02-02 Kenichi Handa <handa@m17n.org>
10929 * composite.el (compose-region): Cancel previous change.
10931 2012-02-02 Kenichi Handa <handa@m17n.org>
10933 * composite.el (compose-region, compose-string): Signal error for
10934 a null string component (Bug#6988).
10936 2012-02-01 Chong Yidong <cyd@gnu.org>
10938 * view.el (view-buffer-other-window, view-buffer-other-frame):
10939 Handle special modes like view-buffer (Bug#10650).
10940 (view-buffer): Simplify.
10942 * frame.el (set-frame-font): Tweak meaning of third argument.
10944 * dynamic-setting.el (font-setting-change-default-font):
10945 Use set-frame-font (Bug#9982).
10947 2012-02-01 Glenn Morris <rgm@gnu.org>
10949 * progmodes/compile.el (compilation-internal-error-properties):
10950 Respect compilation-first-column in the "*compilation*" buffer.
10952 * emacs-lisp/easy-mmode.el (define-minor-mode):
10953 Relax :variable's test for a named function.
10955 2012-01-31 Alan Mackenzie <acm@muc.de>
10957 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10960 2012-01-31 Chong Yidong <cyd@gnu.org>
10962 * frame.el (set-frame-font): New arg ALL-FRAMES.
10964 * menu-bar.el (menu-set-font): Use set-frame-font.
10966 * faces.el (face-spec-reset-face): Don't apply unspecified
10967 attribute values to the default face.
10969 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10971 * progmodes/cwarn.el (cwarn): Remove dead link.
10972 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10973 Remove * from defcustom docstrings.
10974 (turn-on-cwarn-mode): Make obsolete.
10975 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10976 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10978 2012-01-31 Glenn Morris <rgm@gnu.org>
10980 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10981 Fix :variable handling of mode a symbol not equal to modefun.
10982 Allow named functions to be used as the cdr of :variable.
10984 2012-01-30 Glenn Morris <rgm@gnu.org>
10986 * emacs-lisp/authors.el (authors-fixed-entries):
10987 Remove reference to deleted file rnewspost.el.
10989 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10991 * window.el (window-with-parameter): Remove unused variable `windows'.
10992 (window--side-check): Remove unused variable `code'.
10993 (window--resize-siblings): Remove unused variable `first'.
10994 (adjust-window-trailing-edge): Remove unused variable `failed'.
10995 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10996 Use `let', not `let*'.
10997 (balance-windows-2): Remove unused variable `found'.
10998 (window--state-put-2): Remove unused variable `splits'.
10999 (window-state-put): Remove unused variable `selected'.
11000 (same-window-p): Use `string-match-p'.
11001 (display-buffer-assq-regexp): Remove unused variable `value'.
11002 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11003 Mark argument ALIST as ignored.
11004 (pop-to-buffer): Remove unused variable `old-window'.
11006 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11008 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11009 and .lzma compressed files.
11011 2012-01-29 Chong Yidong <cyd@gnu.org>
11013 * frame.el (window-system-default-frame-alist): Doc fix.
11015 * dynamic-setting.el (font-setting-change-default-font): Don't
11016 change the default face if SET-FONT argument is non-nil (Bug#9982).
11018 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11020 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11022 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11024 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11025 breakpoints in files outside current directory (Bug#6098).
11027 2012-01-29 Chong Yidong <cyd@gnu.org>
11029 * progmodes/python.el: Require ansi-color at top-level.
11031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11032 Define and use in Emacs Lisp mode (Bug#9360).
11033 (lisp-mode-abbrev-table): Add doc.
11034 (lisp-mode-variables): Don't set local-abbrev-table.
11035 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11037 2012-01-28 Roland Winkler <winkler@gnu.org>
11039 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11041 2012-01-28 Roland Winkler <winkler@gnu.org>
11043 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11044 (bibtex-set-dialect): Use it. Either set global values of
11045 dialect-dependent variables or bind these variables buffer-locally
11047 (bibtex-mode): Call bibtex-set-dialect via
11048 hack-local-variables-hook.
11049 (bibtex-dialect): Update docstring.
11050 Add safe-local-variable predicate.
11051 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11052 bibtex-set-dialect.
11053 (bibtex-mode-map): Define menu for each dialect.
11054 (bibtex-entry): Fix docstring.
11056 2012-01-28 Chong Yidong <cyd@gnu.org>
11058 * eshell/esh-arg.el (eshell-quote-argument): New function.
11060 * eshell/esh-ext.el (eshell-invoke-batch-file):
11061 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11062 first arg to eshell-parse-command (Bug#10523).
11064 2012-01-28 Drew Adams <drew.adams@oracle.com>
11066 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11067 `default-directory' is non-nil.
11069 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11071 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11072 line that displays system-configuration-options. (Bug#9924)
11074 2012-01-28 Drew Adams <drew.adams@oracle.com>
11076 * descr-text.el (describe-char): Show information about POS, in
11077 addition to information about the character at POS. Improve and
11078 update the doc string. Change "code point" to "code point in
11079 charset", to avoid confusion with the character's Unicode code
11080 point shown above that. (Bug#10129)
11082 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11084 * descr-text.el (describe-char): Show the raw character, not only
11085 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11086 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11089 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11091 * emacs-lisp/package.el (package-install):
11092 Run package-refresh-contents if there is no archive yet (Bug#9798).
11094 2012-01-28 Chong Yidong <cyd@gnu.org>
11096 * emacs-lisp/package.el (package-maybe-load-descriptor):
11097 New function, split from package-maybe-load-descriptor.
11098 (package-maybe-load-descriptor): Use it.
11099 (package-download-transaction): Fully load required packages
11100 inside the loop, so that `require' calls work (Bug#10593).
11101 (package-install): No need to call package-initialize now.
11103 2012-01-28 Chong Yidong <cyd@gnu.org>
11105 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11107 * tooltip.el (tooltip-mode): Doc fix.
11108 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11110 * frame.el (set-cursor-color): Doc fix (Bug#352).
11112 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11113 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11115 * cus-edit.el (custom-buffer-create-internal): Fix search button
11116 action (Bug#10542).
11117 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11119 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11121 * dired.el (dired-mark-files-regexp):
11122 Include any subdirectory components. (Bug#10445)
11124 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11126 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11127 Handle [host]:port syntax. (Bug#10533)
11129 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11131 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11133 2012-01-26 Glenn Morris <rgm@gnu.org>
11135 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11136 * term.el (term-raw-escape-map): Use Control-X-prefix.
11137 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11139 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11141 * window.el (window-state-get, window--state-get-1): Don't deal
11142 with fixed-sizeness of windows. Simplify code.
11144 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11146 * window.el (window--state-get-1, window--state-put-2):
11147 Don't save and restore the mark.
11149 2012-01-25 Chong Yidong <cyd@gnu.org>
11151 * custom.el (custom-variable-p): Doc fix.
11153 2012-01-25 Glenn Morris <rgm@gnu.org>
11155 * dired.el (dired-goto-file): Handle some of the more common
11156 characters that `ls -b' escapes. (Bug#10596)
11158 * progmodes/compile.el (compilation-next-error-function):
11159 Respect compilation-first-column in the "*compilation*" buffer.
11160 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11162 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11164 2012-01-24 Glenn Morris <rgm@gnu.org>
11166 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11168 2012-01-24 Julien Danjou <julien@danjou.info>
11170 * color.el (color-rgb-to-hsl): Fix value computing.
11171 (color-hue-to-rgb): New function.
11172 (color-hsl-to-rgb): New function.
11173 (color-clamp, color-saturate-hsl, color-saturate-name)
11174 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11175 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11177 2012-01-24 Glenn Morris <rgm@gnu.org>
11179 * vc/vc-rcs.el (vc-rcs-create-tag):
11180 * vc/vc-sccs.el (vc-sccs-create-tag):
11181 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11183 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11185 * eshell/esh-util.el (eshell-read-hosts-file):
11186 Skip comment lines. (Bug#10549)
11188 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11190 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11192 * subr.el (display-delayed-warnings): Doc fix.
11193 (collapse-delayed-warnings): New function to collapse identical
11195 (delayed-warnings-hook): Add it.
11197 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11199 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11201 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11202 (tramp-default-user-alist): Don't add "pscp".
11203 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11204 property "login-as", if set. (Bug#10530)
11206 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11208 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11209 "plink1" and "psftp". (Bug#10530)
11211 2012-01-21 Kenichi Handa <handa@m17n.org>
11213 * international/mule-cmds.el (prefer-coding-system): Show a
11214 warning message if the default value of file-name-coding-system
11217 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11219 * windmove.el (windmove-reference-loc):
11220 Fix windmove-reference-loc miscalculation.
11222 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11224 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11227 2012-01-21 Glenn Morris <rgm@gnu.org>
11229 * international/mule.el (auto-coding-alist): Add .tbz.
11231 * files.el (local-enable-local-variables): Doc fix.
11232 (inhibit-local-variables-regexps): Rename from
11233 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11234 Doc fix. Add some extensions from auto-coding-alist.
11235 (inhibit-local-variables-suffixes):
11236 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11237 (inhibit-local-variables-p):
11238 New function, extracted from set-auto-mode-1.
11239 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11240 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11241 (hack-local-variables): Doc fix. Make the mode-only case
11242 respect enable-local-variables and friends.
11243 Respect inhibit-local-variables-regexps for file-locals, but
11244 not for directory-locals.
11245 (set-visited-file-name):
11246 Take account of inhibit-local-variables-regexps.
11247 Whether it applies may change as the file name is changed.
11248 * jka-cmpr-hook.el (jka-compr-install):
11249 * jka-compr.el (jka-compr-uninstall):
11250 Update for inhibit-first-line-modes-suffixes name change.
11252 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11254 * help-macro.el (make-help-screen): Temporarily restore original
11255 binding for minor-mode-map-alist (Bug#10454).
11257 2012-01-19 Julien Danjou <julien@danjou.info>
11259 * color.el (color-name-to-rgb): Use the white color to find the max
11260 color component value and return correctly computed values.
11261 (color-name-to-rgb): Add missing float conversion for max value.
11263 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11265 * window.el (window--state-get-1, window-state-get): Do not use
11266 special state value for window-persistent-parameters.
11267 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11268 (window--state-put-2): Reset all window parameters to nil before
11269 assigning values of persistent parameters.
11271 2012-01-18 Alan Mackenzie <acm@muc.de>
11273 Eliminate sluggishness and hangs in fontification of "semicolon
11276 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11277 Change value 10000 -> 3000.
11278 (c-state-safe-place): Reformulate so it doesn't stack up an
11279 infinite number of wrong entries in c-state-nonlit-pos-cache.
11280 (c-determine-limit-get-base, c-determine-limit): New functions to
11281 determine backward search limits disregarding literals.
11282 (c-find-decl-spots): Amend commenting.
11283 (c-cheap-inside-bracelist-p): New function which detects "={".
11285 * progmodes/cc-fonts.el
11286 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11288 (c-font-lock-declarations): Fix an occurrence of point being
11289 undefined. Check additionally for point being in a bracelist or
11290 near a macro invocation without a semicolon so as to avoid a
11291 fruitless time consuming search for a declarator. Give a more
11292 precise search limit for declarators using the new
11295 2012-01-18 Glenn Morris <rgm@gnu.org>
11297 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11298 (set-auto-mode): Doc fixes.
11300 2012-01-17 Glenn Morris <rgm@gnu.org>
11302 * isearch.el (search-nonincremental-instead): Fix doc typo.
11304 * dired.el (dired-insert-directory): Handle newlines in directory name.
11305 (dired-build-subdir-alist): Unescape newlines in directory name.
11307 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11309 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11310 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11311 (tramp-action-terminal): Use it. (Bug#10530)
11313 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11315 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11317 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11319 * window.el (window-state-ignored-parameters): Remove variable.
11320 (window--state-get-1): Rename argument MARKERS to IGNORE.
11321 Handle persistent window parameters. Make copy of clone-of
11322 parameter only if requested. (Bug#10348)
11323 (window--state-put-2): Install a window parameter only if it has
11324 a non-nil value or an existing parameter shall be overwritten.
11326 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11328 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11330 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11332 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11333 don't pass the (nil) value of `upnode' to string-match.
11335 2012-01-14 Chong Yidong <cyd@gnu.org>
11337 * startup.el (command-line): Fix X resource class for cursorColor.
11338 Fix values recognized by the cursorBlink resource.
11340 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11342 * epg.el (epg--make-temp-file): Avoid permission race condition
11343 when running on old Emacs versions (bug#10403).
11345 2012-01-14 Glenn Morris <rgm@gnu.org>
11347 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11349 2012-01-13 Alan Mackenzie <acm@muc.de>
11351 Fix filling for when filladapt mode is enabled.
11353 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11354 c-mask-paragraph, pass in `fill-paragraph' rather than
11355 `fill-region-as-paragraph'. (This is a reversion of a previous
11357 * progmodes/cc-mode.el (c-basic-common-init):
11358 Make fill-paragraph-handle-comment buffer local and set it to nil.
11360 2012-01-13 Glenn Morris <rgm@gnu.org>
11362 * dired.el (dired-switches-escape-p): New function.
11363 (dired-insert-directory): Use dired-switches-escape-p.
11364 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11366 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11368 2012-01-12 Glenn Morris <rgm@gnu.org>
11370 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11371 changes in adaptive-fill-regexp. (Bug#10276)
11373 2012-01-11 Alan Mackenzie <acm@muc.de>
11375 Fix Emacs bug #10463 - put `widen's around the critical spots.
11377 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11378 widen around each invocation of c-state-pp-to-literal. Remove an
11379 unused let variable.
11381 2012-01-11 Glenn Morris <rgm@gnu.org>
11383 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11386 2012-01-10 Chong Yidong <cyd@gnu.org>
11388 * net/network-stream.el (network-stream-open-starttls):
11389 Avoid emitting a confusing error message when the server gives a bad
11390 response to the capability command.
11392 2012-01-10 Glenn Morris <rgm@gnu.org>
11394 * mail/unrmail.el (unrmail): Tweak previous change.
11396 2012-01-09 Chong Yidong <cyd@gnu.org>
11398 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11400 2012-01-08 Alan Mackenzie <acm@muc.de>
11402 Optimise font locking in long enum definitions.
11404 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11405 arm to a cond form to handle enums.
11406 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11407 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11409 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11411 * files.el (move-file-to-trash): Preserve default file modes on error.
11414 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11416 * faces.el (set-face-attribute): Clarify the meaning of the nil
11419 * subr.el (with-selected-frame): Mention that the selected frame
11420 is restored (bug#9980).
11422 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11425 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11426 (password-read): Don't autoload unused function.
11428 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11430 * progmodes/which-func.el (which-func-mode): Turn into a
11431 non-interactive function and mark as obsolete (bug#10428).
11433 2012-01-06 Chong Yidong <cyd@gnu.org>
11435 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11436 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11437 functions, along with 1 and -1.
11439 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11441 * time.el (display-time-load-average)
11442 (display-time-default-load-average): Doc fixes. See the thread
11444 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11447 2012-01-06 Glenn Morris <rgm@gnu.org>
11449 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11450 has no messages. (Bug#10377)
11452 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11453 than Info-edit. (Bug#10385)
11455 * time.el (display-time-load-average, display-time-next-load-average):
11458 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11459 local setting of buffer-read-only to the input buffer. (Bug#10419)
11461 * calendar/calendar.el (calendar-mode):
11462 Locally set scroll-margin to 0. (Bug#10379)
11464 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11466 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11468 2012-01-05 Glenn Morris <rgm@gnu.org>
11470 * eshell/em-unix.el (diff-no-select): Autoload it.
11471 (eshell/diff): Use diff-no-select. (Bug#10420)
11473 2012-01-05 Chong Yidong <cyd@gnu.org>
11475 * shell.el (shell-dynamic-complete-functions): Revert last change.
11476 (shell-command-completion-function): New function.
11477 (shell-completion-vars): Use it to implement
11478 shell-completion-execonly (Bug#10417).
11480 * custom.el (enable-theme): Don't set custom-safe-themes.
11482 * cus-theme.el (custom-theme-merge-theme):
11483 Ignore custom-enabled-themes and custom-safe-themes.
11485 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11487 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11488 first prompt in `sql-interacive-mode'.
11489 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11491 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11492 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11493 context of original buffer. Invoke `sql-login-hook'.
11495 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11497 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11498 letters in cite-prefix.
11500 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11502 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11504 2012-01-03 Chong Yidong <cyd@gnu.org>
11506 * shell.el (shell-dynamic-complete-functions):
11507 Put pcomplete-completions-at-point, so as to try
11508 comint-filename-completion first (Bug#10417).
11510 2012-01-02 Richard Stallman <rms@gnu.org>
11512 * battery.el (battery-status-function):
11513 Detect when to use battery-yeeloong-sysfs.
11514 (battery-echo-area-format): Add string for Yeeloong.
11515 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11516 (battery-yeeloong-sysfs): New function.
11518 2012-01-02 Chong Yidong <cyd@gnu.org>
11520 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11521 (dirtrack): Merge code for handling relative filenames in prompt
11522 from shell-dir-cookie-watcher.
11523 (dirtrack-debug-message): New arg to avoid excess format calls.
11525 * shell.el (shell-dir-cookie-re): Variable deleted.
11526 (shell-dir-cookie-watcher): Function deleted.
11527 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11528 with dirtrack-mode.
11530 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11532 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11533 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11536 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11538 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11540 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11542 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11543 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11545 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11547 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11548 also for alternative shells.
11549 (tramp-open-connection-setup-interactive-shell): Check, whether
11550 the shell is a busybox.
11551 (tramp-send-command): Don't suppress multiple prompts for
11552 busyboxes, it hurts.
11554 2011-12-28 Chong Yidong <cyd@gnu.org>
11556 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11557 (gdb-get-source-file): Move mode line update to
11558 gdb-get-source-file (Bug#10087).
11560 2011-12-25 Chong Yidong <cyd@gnu.org>
11562 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11563 gud-gdb-marker-filter without taking it as an argument.
11564 (gud-gdb-run-command-fetch-lines): Caller changed.
11565 (gud-gdb-completion-function): New variable.
11566 (gud-gdb-completion-at-point): Use it.
11567 (gud-gdb-completions-1): Split from gud-gdb-completions.
11569 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11570 function as separate arguments.
11571 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11572 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11573 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11574 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11575 (gdb-stopped, def-gdb-auto-update-trigger)
11576 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11577 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11579 (gud-gdbmi-completions): New function.
11580 (gdb): Use it for generating the completion table.
11582 2011-12-24 Alan Mackenzie <acm@muc.de>
11584 Introduce a mechanism to widen the region used in context font
11585 locking. Use this to protect declarations from losing their contexts.
11587 * progmodes/cc-langs.el (c-before-font-lock-functions):
11588 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11589 (c-before-context-fontification-functions): New defvar, a list of
11590 functions to be run just before context (etc.) font locking.
11592 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11593 New, functionality extracted from
11594 c-neutralize-syntax-in-and-mark-CPP.
11595 (c-in-after-change-fontification): New variable.
11596 (c-after-change): Set c-in-after-change-fontification.
11597 (c-set-fl-decl-start): Rejig its interface, so it can be called
11598 from both after-change and context fontifying.
11599 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11601 (c-standard-font-lock-fontify-region-function): New variable.
11602 (c-font-lock-fontify-region): New function.
11604 2011-12-24 Juri Linkov <juri@jurta.org>
11606 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11609 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11611 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11612 existence of source file. (Bug#10325)
11614 2011-12-23 Alan Mackenzie <acm@muc.de>
11616 Fix unstable fontification inside templates.
11618 * progmodes/cc-langs.el (c-before-font-lock-functions):
11619 Newly created from the singular version. The (c c++ objc) entry now
11620 additionally has c-set-fl-decl-start. The other languages (apart
11621 from AWK) have that as a single entry.
11623 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11624 The functionality for "local" declarations has been extracted to
11625 c-set-fl-decl-start.
11627 * progmodes/cc-mode.el (c-common-init, c-after-change):
11628 Changes due to pluralisation of c-before-font-lock-functions.
11629 (c-set-fl-decl-start): New function, extracted from
11630 c-font-lock-enclosing-decls and enhanced.
11632 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11634 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11636 2011-12-22 Juri Linkov <juri@jurta.org>
11638 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11640 2011-12-22 Chong Yidong <cyd@gnu.org>
11642 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11644 2011-12-21 Drew Adams <drew.adams@oracle.com>
11646 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11648 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11650 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11652 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11654 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11655 highlighting and support. Fix up comments for capitalization.
11656 (cfengine-mode-debug): New var.
11657 (cfengine3-mode): Change the modeline indicator to "CFE3".
11658 (cfengine3-font-lock-keywords): Improve defun highlighting.
11659 (cfengine2-actions): Rename from `cfengine-actions'.
11660 (cfengine2-font-lock-keywords): Rename from
11661 `cfengine-font-lock-keywords'.
11662 (cfengine2-imenu-expression): Rename from
11663 `cfengine-imenu-expression'.
11664 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11665 (cfengine2-beginning-of-defun): Rename from
11666 `cfengine-beginning-of-defun'.
11667 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11668 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11669 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11670 modeline indicator to "CFE2".
11671 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11672 (cfengine-mode-abbrevs): Mark obsolete.
11674 2011-12-21 Chong Yidong <cyd@gnu.org>
11676 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11679 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11681 * window.el (window-normalize-buffer-to-display): Remove.
11682 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11684 2011-12-19 Chong Yidong <cyd@gnu.org>
11686 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11687 Don't signal an error in a predicate function; return non-nil.
11688 (vc-dir-mark-file): Move the error here.
11689 (vc-dir-mark-unmark): If acting on the region, keep going if one
11690 of the entries cannot be marked/unmarked.
11691 (vc-dir-mark-all-files): If current entry is a directory, mark
11692 only child files, as documented.
11694 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11696 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11697 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11700 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11702 * term/ns-win.el (ns-get-selection-internal)
11703 (ns-store-selection-internal): Declare.
11704 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11705 Declare as obsolete.
11706 (ns-get-pasteboard, ns-paste-secondary):
11707 Use ns-get-selection-internal.
11708 (ns-set-pasteboard, ns-copy-including-secondary):
11709 Use ns-store-selection-internal.
11711 2011-12-17 Chong Yidong <cyd@gnu.org>
11713 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11714 (vc-deduce-fileset): Doc fix.
11716 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11718 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11720 2011-12-13 Sam Steingold <sds@gnu.org>
11722 * man.el (Man-getpage-in-background): When running under a
11723 window-system, ignore $MANWIDTH and $COLUMNS.
11725 2011-12-15 Kenichi Handa <handa@m17n.org>
11727 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11728 (setup-ethiopic-environment-internal): Comment out key-binding for
11729 ethio-toggle-punctuation.
11731 2011-12-13 Alan Mackenzie <acm@muc.de>
11733 Add the switch statement to AWK Mode.
11735 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11736 "default" to the keywords regexp.
11738 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11739 expression as the rest.
11740 (c-nonlabel-token-key): Allow string literals for AWK.
11741 Refactor for the other modes.
11743 Large brace-block initialisation makes CC Mode slow: Fix.
11744 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11745 routines. Limit backward searching in c-font-lock-enclosing.decl.
11747 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11748 pp-state and literal type in addition to the limits.
11749 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11750 (c-state-literal-at): Use the above new defun.
11751 (c-slow-in-literal, c-fast-in-literal): Remove.
11752 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11754 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11755 being in a literal. Add a limit for backward searching.
11757 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11760 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11762 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11764 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11766 * window.el (delete-other-windows): Use correct frame in call to
11767 window-with-parameter.
11769 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11771 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11772 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11773 (makefile-gmake-statements, makefile-makepp-statements):
11774 Use it and add new makepp keywords.
11775 (makefile-makepp-font-lock-keywords): Add new patterns.
11776 (makefile-match-function-end): Match new [...] and [[...]].
11778 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11780 * ses.el (ses-call-printer-return, ses-cell-property-get)
11781 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11782 (ses-create-cell-variable, ses-reset-header-string)
11783 (ses-cell-set-formula, ses-repair-cell-reference-all)
11784 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11785 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11786 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11787 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11788 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11789 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11790 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11791 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11792 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11793 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11794 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11795 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11797 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11799 * ses.el: The overall change is to add cell renaming, that is
11800 setting fancy names for cell symbols other than name matching
11801 "\\`[A-Z]+[0-9]+\\'" regexp .
11802 (ses-create-cell-variable): New defun.
11803 (ses-relocate-formula): Relocate formulas only for cells the
11804 symbols of which are not renamed, i.e. symbols whose names do not
11805 match regexp "\\`[A-Z]+[0-9]+\\'".
11806 (ses-relocate-all): Relocate values only for cells the symbols of
11807 which are not renamed.
11808 (ses-load): Create cells variables as the (ses-cell ...) are read,
11809 in order to check row col consistency with cell symbol name only
11810 for cells that are not renamed.
11811 (ses-replace-name-in-formula): New defun.
11812 (ses-rename-cell): New defun.
11814 2011-12-11 Chong Yidong <cyd@gnu.org>
11816 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11817 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11819 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11821 * window.el (other-window): Fix docstring.
11823 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11825 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11826 `from' or `to' address before taking its substring.
11827 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11828 encoded name is chopped in the middle of the encoded string, and
11829 thus displayed encoded.
11831 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11833 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11835 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11837 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11838 to use texinfo-update-node and commands that call it if the
11839 Texinfo file uses @node lines without next/prev/up pointers.
11840 Correct outdated description about texinfo-master-menu.
11841 (texinfo-all-menus-update, texinfo-master-menu)
11842 (texinfo-update-node, texinfo-every-node-update)
11843 (texinfo-multiple-files-update): Doc fix. Warn against updating
11844 all the @node lines.
11845 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11846 argument is numeric. Explain better in the doc string what the
11847 function really does.
11848 (texinfo-insert-master-menu-list): Improve the error message
11849 displayed if there's no menu in the Top node.
11850 (Bug#2975) See also this thread:
11851 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11853 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11855 * speedbar.el (speedbar-supported-extension-expressions):
11856 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11858 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11860 * printing.el (pr-mode-alist):
11861 * simple.el (filter-buffer-substring-functions)
11862 (completion-list-insert-choice-function):
11863 * window.el (window-with-parameter, window-atom-root)
11864 (window-sides-slots, window-size-fixed, window-min-delta)
11865 (window-max-delta, window--resize-mini-window)
11866 (window--resize-child-windows-normal, window-tree)
11867 (delete-other-windows, quit-window, split-window)
11868 (display-buffer-record-window, special-display-buffer-names)
11869 (special-display-regexps, special-display-popup-frame)
11870 (same-window-p, split-window-sensibly)
11871 (display-buffer-overriding-action, display-buffer-alist)
11872 (display-buffer-base-action, display-buffer, switch-to-buffer)
11873 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11874 (fit-window-to-buffer, recenter-positions)
11875 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11876 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11877 and remove unneeded backslashes in docstrings.
11879 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11883 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11884 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11886 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11887 when reading the makefile (bug#10116).
11889 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11891 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11894 2011-12-06 Glenn Morris <rgm@gnu.org>
11896 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11898 2011-12-06 Chong Yidong <cyd@gnu.org>
11900 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11902 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11904 * textmodes/table.el (table-shorten-cell): Fix typo.
11906 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11908 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11910 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11912 * descr-text.el (describe-char): Fix display of strong
11913 right-to-left characters and directional embeddings and overrides.
11915 * simple.el (what-cursor-position): Fix display of codepoints of
11916 strong right-to-left characters.
11918 2011-12-05 Chong Yidong <cyd@gnu.org>
11920 * faces.el (read-color): Doc fix.
11922 2011-12-05 Glenn Morris <rgm@gnu.org>
11924 * align.el (align--set-marker): Add doc-string.
11925 Don't try to move something that is not a marker. (Bug#10216)
11927 2011-12-04 Glenn Morris <rgm@gnu.org>
11929 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11930 overly zealous deletion of trailing whitespace.
11932 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11934 * server.el (server-delete-client): On Windows, do not try to delete
11936 (server-process-filter): On Windows, treat requests for a tty frame as
11937 if they were for a GUI frame if the running server is in GUI mode.
11939 2011-12-03 Glenn Morris <rgm@gnu.org>
11941 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11943 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * electric.el: Streamline electric-indent's hook.
11946 (electric-indent-chars): Revert to simple list.
11947 (electric-indent-functions): New var.
11948 (electric-indent-post-self-insert-function): Use it.
11950 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11951 there's no inferior buffer (bug#10196).
11952 (prolog-consult-compile): Don't use toggle-read-only.
11954 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11956 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11957 interrupt. (Bug#10187)
11959 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11961 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11964 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11967 2011-12-02 Juri Linkov <juri@jurta.org>
11969 * info.el (Info-search): Display "end of manual" when Isearch
11970 reaches the end of single-file Info manual. (Bug#9918)
11972 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11974 * isearch.el (isearch-message-prefix): Run the input method part
11975 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11977 2011-12-02 Juri Linkov <juri@jurta.org>
11979 * isearch.el (isearch-occur): Use `word-search-regexp' for
11981 (isearch-search-and-update): Add condition for `isearch-word' and
11982 call `word-search-regexp'. (Bug#10145)
11984 2011-12-01 Glenn Morris <rgm@gnu.org>
11986 * eshell/em-hist.el (eshell-hist-initialize):
11987 Handle eshell-history-size nil and HISTSIZE set or unset.
11988 (eshell-history-file-name, eshell-history-size): Fix custom type.
11990 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11994 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11996 * progmodes/verilog-mode.el (verilog-pretty-expr):
11997 Rework verilog-pretty-expr to handle new assignment operators in system
11998 verilog, such as += *= and the like.
11999 (verilog-assignment-operator-re): Regular expression to find the
12000 assigment operator in a verilog assignment.
12001 (verilog-assignment-operation-re): Regular expression to find an
12002 assignment statement for pretty-expr.
12003 (verilog-in-attribute-p): Query returns true if point is in an
12004 attribute context; used to skip these for expression line up from
12006 (verilog-in-parameter-p): Query returns true if point is in an
12007 parameter definition context; used to skip these for expression
12008 line up from pretty-expr.
12009 (verilog-in-parenthesis-p): Query returns true if point is in a
12010 parenthetical expression, specifically ( ) but not [ ] or { };
12011 used by pretty-expr.
12012 (verilog-just-one-space): If there is no space, don't add one.
12013 (verilog-get-lineup-indent-2): Specifically skip just attribute
12014 contexts for expression lineup, rather than skipping all
12015 parenthetical expressions.
12016 (verilog-calculate-indent): Fix comment, and fix indent.
12017 (verilog-do-indent): Indent declarations in lists (suggested by
12019 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12021 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12024 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12026 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12027 parameters with embedded comments. Reported by Ray Stevens.
12028 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12029 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12030 Reported by Tim Holt.
12031 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12032 instantiated by upper module causing wrong expansion until AUTOed a
12033 second time. Reported by K C Buckenmaier.
12034 (verilog-diff-auto): Fix showing .* as a difference when
12035 `verilog-auto-star-save' off. Reported by Dan Dever.
12036 (verilog-auto-reset, verilog-read-always-signals)
12037 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12038 temporary signals in reset list if
12039 verilog-auto-reset-blocking-in-non is nil, and match assignment
12040 style to each signal's assignment type, bug381.
12041 Reported by Thomas Esposito.
12042 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12043 (verilog-uvm-statement-re): Support UVM indentation and
12044 highlighting, with old OVM keywords only.
12045 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12046 Support AUTOTIEOFF creating non-wire data types.
12047 Suggested by Jonathan Greenlaw.
12048 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12049 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12050 (verilog-inject-sense, verilog-read-inst-pins)
12051 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12052 Fix mismatching parenthesis inside commented out code when deleting
12053 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12054 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12055 non-numeric vector width. Reported by Alex Reed.
12056 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12057 detecting signals with parameter widths. Reported by Alex Reed.
12058 (verilog-auto-delete-trailing-whitespace):
12059 With `verilog-auto-delete-trailing-whitespace' remove trailing
12060 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12061 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12062 Fix verilog-scan-cache corruption when running user AUTO expansion
12063 hooks that call indentation routines.
12064 (verilog-simplify-range-expression): Fix typo ignoring lower case
12066 (verilog-delete-auto): Fix delete-autos to also remove user created
12067 automatics, as long as they start with AUTO.
12068 (verilog-batch-diff-auto, verilog-diff-auto)
12069 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12070 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12071 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12072 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12073 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12074 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12075 is disabled and its cache will get corrupt, causing AUTOS not to
12076 expand. Instead use only -quick functions.
12077 (verilog-scan-region): Fix scanning over escaped quotes.
12078 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12079 (verilog-re-search-backward-quick)
12080 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12081 related functions now ignore strings, to fix misparsing of strings
12082 with magic comments embedded in them.
12083 (verilog-read-auto-template):
12084 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12085 Reported by Brad Dobbie.
12086 (verilog-read-auto-template):
12087 Fix 'verilog-auto-inst-template-numbers' with comments.
12088 Reported by Brad Dobbie.
12089 (verilog-auto-inst, verilog-auto-inst-param)
12090 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12091 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12092 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12093 debugging templates without merge conflicts, bug357.
12094 Reported by Brad Dobbie.
12095 (verilog-read-auto-template):
12096 Fix verilog-auto-inst-template-numbers with multiple templates.
12097 Reported by Brad Dobbie.
12098 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12099 abbrevs so user won't be asked to save.
12100 (verilog-read-auto-lisp-present): Fix to start at beginning of
12101 buffer in case called outside of verilog-auto.
12102 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12103 to "X-2". Reported by Matthew Myers.
12104 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12105 all inputs from module templates. Reported by Leith Johnson.
12106 (verilog-module-inside-filename-p): Fix locating programs as with
12108 (verilog-auto-inst-port): Fix vl-width expressions when using
12109 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12110 (verilog-decls-get-regs, verilog-decls-get-signals,
12111 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12112 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12113 verilog-read-decls): Combine reg and wire structures into one var
12114 structure to represent SystemVerilog concepts.
12115 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12116 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12117 (verilog-auto-wire-type, verilog-insert-definition):
12118 Add verilog-auto-wire-type and AUTOLOGIC to support using
12119 SystemVerilog "logic" keyword instead of "wire"/"reg".
12120 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12121 to declares outputs that also have assignments (presumably in an
12122 ifdef or generate if so there's not a driver conflict).
12123 Reported by Matthew Myers.
12124 (verilog-auto-declare-nettype, verilog-insert-definition):
12125 Add verilog-auto-declare-nettype to fix declarations using
12126 `default_nettype none. Reported by Julian Gorfajn.
12127 (verilog-read-always-signals-recurse, verilog-read-decls)
12128 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12129 malformed end statement, bug325. Reported by Joshua Wise and
12131 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12132 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12133 when expanding .* in interfaces, bug320.
12134 Reported by Pierre-David Pfister.
12135 (verilog-read-module-name): Fix import statements between module
12136 name and open parenthesis, bug317.
12137 Reported by Pierre-David Pfister.
12138 (verilog-simplify-range-expression): Fix simplification of
12139 multiplications inside AUTOWIRE connections, bug303.
12140 (verilog-auto-inst-port): Support parameter expansion in
12141 multidimensional arrays.
12142 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12143 after "assert property". Reported by Julian Gorfajn.
12144 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12145 with multiplication, bug303.
12146 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12147 Reported by Jan Frode Lonnum.
12149 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12151 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12152 (hfy-shell-file-name, hfy-shell):
12153 * international/fontset.el (x-decompose-font-name): Fix typos.
12155 2011-11-29 Ken Brown <kbrown@cornell.edu>
12157 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12158 (gdb-version): Remove defvar.
12159 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12160 (gdb-gud-context-command, gdb-non-stop-handler)
12161 (gdb-current-context-command, gdb-stopped): Use it.
12162 (gdb-init-1): Enable pretty printing here.
12163 (gdb-non-stop-handler): Don't enable pretty-printing here.
12164 Check to see if the target supports non-stop mode; if not, turn off
12165 non-stop mode. Use the following.
12166 (gdb-check-target-async): New defun.
12167 (gud-watch, gdb-stopped): Fix whitespace.
12168 (gdb-get-source-file): Don't try to display the source file if
12169 `gdb-main-file' is nil.
12171 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12173 * align.el: Try to generate fewer markers (bug#10047).
12174 (align--set-marker): New macro.
12175 (align-region): Use it.
12177 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12179 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12181 2011-11-29 Chong Yidong <cyd@gnu.org>
12183 * indent.el (indent-for-tab-command, indent-according-to-mode):
12185 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12187 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12189 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12190 aware of remote file names. (Bug#10124)
12192 2011-11-29 Chong Yidong <cyd@gnu.org>
12194 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12196 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12198 * files.el (find-file): Don't use force-same-window (bug#10144).
12199 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12200 use pop-to-buffer if the selected window can't be used.
12201 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12203 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12205 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12208 2011-11-28 Chong Yidong <cyd@gnu.org>
12210 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12212 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12214 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12215 gdb-get-source-file-list on gdb-create-source-file-list.
12217 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12219 * whitespace.el (whitespace-newline): Use a different foreground
12220 color for 16-color light-background displays.
12222 2011-11-24 Chong Yidong <cyd@gnu.org>
12224 * window.el (display-buffer--special-action): Doc fix.
12226 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12228 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12229 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12230 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12231 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12232 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12233 (avl-tree-stack-first):
12234 * emacs-lisp/cconv.el (cconv--analyse-use):
12235 * net/gnutls.el (gnutls-negotiate): Fix typos.
12237 2011-11-24 Glenn Morris <rgm@gnu.org>
12239 * lpr.el (lpr-windows-system, lpr-lp-system):
12240 * mail/binhex.el (binhex-begin-line):
12241 * progmodes/grep.el (grep-history, grep-find-history):
12242 * textmodes/flyspell.el:
12243 * vc/pcvs-defs.el (cvs-global-menu):
12244 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12245 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12246 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12248 * net/tls.el: Fix case of "GnuTLS".
12250 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12252 * version.el (emacs-build-system): Give it a doc-string.
12254 2011-11-24 Juri Linkov <juri@jurta.org>
12256 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12258 2011-11-24 Glenn Morris <rgm@gnu.org>
12260 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12261 if called on a non-mime message just toggle the headers. (Bug#8006)
12263 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12265 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12266 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12267 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12268 (allout-rebullet-heading, allout-open-sibtopic)
12269 (allout-toggle-current-subtree-encryption)
12270 (allout-toggle-subtree-encryption, allout-encrypt-string)
12271 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12272 (allout-distinctive-bullets-string, allout-auto-activation):
12273 * window.el (window-normalize-buffer-to-display):
12274 * progmodes/verilog-mode.el (verilog-batch-indent):
12275 * textmodes/bibtex.el (bibtex-field-braces-opt)
12276 (bibtex-field-strings-opt):
12277 * vc/cvs-status.el (cvs-tree-merge):
12280 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12282 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12283 `non-essential' to t, in order to avoid remote connections.
12285 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12287 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12288 On MS-DOS and MS-Windows, compare with loaddefs.el
12289 case-insensitively.
12291 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12293 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12295 2011-11-23 Glenn Morris <rgm@gnu.org>
12297 * paths.el (rmail-file-name): Reformat the doc-string so that it
12300 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12301 (rmail-auto-file): Ignore case in the "special" field names,
12302 as mail-fetch-field does for all others.
12304 * mail/rmail.el (rmail-forward):
12305 * mail/rmailkwd.el (rmail-set-label):
12306 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12307 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12309 * mail/rmail.el (rmail-current-message): Doc fix.
12311 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12313 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12315 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12317 2011-11-22 Glenn Morris <rgm@gnu.org>
12319 * mail/rmailmm.el (test-rmail-mime-handler)
12320 (test-rmail-mime-bulk-handler)
12321 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12323 2011-11-21 Juri Linkov <juri@jurta.org>
12325 * calc/calc.el (calc-read-key-sequence):
12326 Let-bind `input-method-function' to nil. (Bug#10018)
12328 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12330 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12331 Tell the caller that the next line needs recomputation, even
12332 though it doesn't start a sexp (bug#10094).
12334 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12336 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12338 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12340 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12341 Use force-same-window.
12343 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12345 * descr-text.el (describe-char-unicode-data):
12346 * json.el (json-string-escape):
12347 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12348 (Footnote-unicode, Footnote-style-p):
12349 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12351 2011-11-20 Chong Yidong <cyd@gnu.org>
12353 * window.el (replace-buffer-in-windows): Restore interactive spec.
12355 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12357 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12359 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12360 (byte-compile-global-not-obsolete-vars): New var.
12361 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12363 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12365 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12367 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12368 * progmodes/pascal.el (electric-pascal-equal):
12369 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12370 * xml.el (xml-substitute-special): Fix typos.
12372 2011-11-20 Glenn Morris <rgm@gnu.org>
12374 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12375 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12377 (rmail-decode-mime-charset): Mark as obsolete.
12379 * mail/rmailsum.el (rmail-message-regexp-p-1):
12380 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12381 Before using mime functions, check they are set. (Bug#10077)
12383 2011-11-19 Juri Linkov <juri@jurta.org>
12385 * info.el (Info-finder-find-node): Use `package--builtins' instead
12386 of `package-alist'. Use node names formed by the pattern "Keyword "
12387 and the keyword name.
12389 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12391 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12393 2011-11-19 Juri Linkov <juri@jurta.org>
12395 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12396 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12397 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12398 `old-history', `old-history-forward'. Add let-binding
12399 `window-selected'. Remove calls to `kill-buffer',
12400 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12401 before calling `Info-find-node', so `Info-find-node-2' will reread
12402 the Info file. Restore window positions only when `window-selected'
12405 2011-11-19 Juri Linkov <juri@jurta.org>
12407 * isearch.el (isearch-lazy-highlight-new-loop):
12408 Remove condition `(not isearch-error)'. (Bug#9918)
12410 * misearch.el (multi-isearch-search-fun): Add condition
12411 `(not bound)' to ignore lazy-highlighting search.
12412 Add the search-failed message "end of multi" when the end of
12413 multi-sequence is reached. Uncapitalize the search-failed
12414 message "Repeat for next buffer".
12416 * info.el (Info-search): Add the search-failed message
12417 "end of the manual" when the end of the manual is reached
12420 2011-11-19 Juri Linkov <juri@jurta.org>
12422 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12423 Use non-destructive `remove' instead of `delete' because
12424 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12425 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12427 2011-11-19 Juri Linkov <juri@jurta.org>
12429 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12430 to nil instead of binding `search-ring' and `regexp-search-ring'.
12433 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12435 * simple.el (line-move): Force movement by logical lines for any
12436 hscrolled window, not only when auto-hscroll-mode is on.
12437 (line-move-visual): Update doc string to that effect. (Bug#10076)
12439 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12441 * language/european.el (macintosh): Define as alias for mac-roman.
12443 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12445 * mail/rmailmm.el (rmail-mime-display-header)
12446 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12447 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12448 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12449 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12450 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12452 (rmail-mime-entity-segment): To get past the tagline, move forward
12453 2 more lines, to account for the 2 empty lines that precede and
12454 follow the line with the buttons.
12455 (rmail-mime-update-tagline): Move one more line, to get past the
12456 empty line that follows the buttons in the tagline. (Bug#9520)
12458 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12460 * window.el (window-max-delta-1, window-min-delta-1)
12461 (window-min-size-1, window-state-get-1, window-state-put-1)
12462 (window-state-put-2): Use "window--" prefix.
12464 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12467 (smie-warning-count): New var.
12468 (smie-set-prec2tab): Use it.
12469 (smie-bnf->prec2): Improve warnings. Add docstring.
12470 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12471 (smie-bnf--set-class): New function.
12472 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12475 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12476 (compilation-error-properties, compilation-move-to-column):
12477 Handle compilation-first-column while in the target buffer.
12479 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12480 Don't hardcode point-min==1.
12482 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12483 (eshell-rewrite-for-command): Remove workaround.
12484 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12485 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12486 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12488 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12490 2011-11-17 Glenn Morris <rgm@gnu.org>
12492 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12493 Ignore buffer-local generated-autoload-file if it is the same
12494 as the global value. (Bug#10049)
12496 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12498 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12499 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12500 (reftex-toc-previous-heading, reftex-toc-max-level)
12501 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12502 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12503 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12504 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12505 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12506 (reftex-toc-rename-label, reftex-toc-visit-location)
12507 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12508 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12509 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12510 leaving "*toc*" only for references to the buffer.
12512 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12514 * window.el (window-resize, delete-window, split-window):
12515 Replace window-splits by window-combination-resize.
12516 * cus-start.el (window-splits): Replace by window-combination-resize.
12518 2011-11-17 Glenn Morris <rgm@gnu.org>
12520 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12521 Make bash entry derive from sh entry, not shell entry.
12523 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12525 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12528 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12530 * menu-bar.el (menu-bar-file-menu):
12531 * printing.el (pr-ps-utility):
12532 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12533 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12534 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12535 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12536 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12537 (icalendar--convert-cyclic-to-ical)
12538 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12539 (icalendar--convert-ical-to-diary)
12540 (icalendar--convert-recurring-to-diary)
12541 (icalendar--convert-non-recurring-all-day-to-diary)
12542 (icalendar-import-format-sample):
12543 * progmodes/idlw-shell.el (idlwave-shell-mode):
12544 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12545 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12546 (vhdl-ps-print-init): Fix typos.
12548 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12550 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12551 FSF and collapse date sequence, obscure author/maintainer email address
12552 better, remove extra version line, track relocation of author's webpage.
12554 * progmodes/python.el (python-pdbtrack-input-prompt)
12555 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12556 regular python pdb prompts. Adjustments shamelessly taken exactly as
12557 suggested in EmacsWiki page (tiny change):
12558 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12560 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12562 * expand.el (expand-pos, expand-index, expand-point):
12563 Remove redundant info from docstring.
12564 (expand-add-abbrevs): Doc fix.
12565 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12566 (expand-sample-perl-mode-expand-list): Fix typos.
12568 * net/dbus.el (dbus-event-member-name):
12569 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12570 * term/pc-win.el (msdos-create-frame-with-faces):
12571 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12573 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12575 * window.el (split-window, window-state-get-1)
12576 (window-state-put-1, window-state-put-2): Rename occurrences of
12577 window-nest to window-combination-limit.
12578 * cus-start.el (window-nest): Rename to window-combination-limit.
12580 2011-11-16 Chong Yidong <cyd@gnu.org>
12582 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12583 regexp (Bug#10033).
12585 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12587 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12588 `completing-read' will remove *Completions* and will preserve
12589 current-buffer for us.
12590 (tmm-add-prompt): Users of *Completions* will always (re)set its
12592 (tmm-old-comp-map): Remove.
12594 2011-11-16 Glenn Morris <rgm@gnu.org>
12596 * mail/rmailedit.el: Require rmailmm when compiling.
12597 (rmail-old-mime-state): New declaration.
12598 (rmail-edit-current-message): If editing a mime message,
12599 edit the "raw" message from the mbox buffer.
12600 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12602 2011-11-15 Glenn Morris <rgm@gnu.org>
12604 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12605 which wasn't being used. Add optional arg to force given state.
12606 (rmail-mime): Add optional arg to force given state.
12608 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12610 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12611 * frame.el (display-mm-dimensions-alist):
12612 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12613 (outline-move-subtree-down):
12614 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12615 (newsticker--treeview-do-get-node):
12616 * net/quickurl.el (quickurl-list-buffer-name):
12617 * progmodes/dcl-mode.el (dcl-mode):
12618 * progmodes/gdb-mi.el (gdb-mapcar*):
12619 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12621 2011-11-15 Glenn Morris <rgm@gnu.org>
12623 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12624 in a boolean sense, so just make it a boolean, and fix the doc.
12625 (rmail-show-mime-function, rmail-mime-feature)
12626 (rmail-require-mime-maybe): Doc fixes.
12627 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12629 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12631 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12633 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12634 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12635 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12636 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12638 2011-11-15 Glenn Morris <rgm@gnu.org>
12640 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12641 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12642 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12643 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12644 (rmail-mime, rmail-show-mime): Doc fixes.
12646 * term/ns-win.el (mode-line-frame-identification):
12647 Leave it alone. (Bug#10051)
12649 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12651 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12652 Handle empty buffers. (Bug#9978)
12654 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12656 * international/mule.el (define-charset):
12657 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12658 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12659 * progmodes/verilog-mode.el (verilog-backward-token):
12660 * textmodes/ispell.el (lookup-words):
12661 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12663 2011-11-14 Glenn Morris <rgm@gnu.org>
12665 * progmodes/executable.el
12666 (executable-make-buffer-file-executable-if-script-p):
12667 Handle file-modes returning nil.
12669 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12670 message - not necessary, and causes problems. (Bug#9831)
12672 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12674 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12676 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12677 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12678 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12680 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12682 * window.el (window-resize, delete-window): Use window-splits
12683 variable instead of function.
12684 (window-state-get-1, window-state-put-2, window-state-put):
12685 Don't deal with windows' splits status.
12687 2011-11-12 Glenn Morris <rgm@gnu.org>
12689 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12690 (apropos-documentation): Doc fixes.
12692 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12694 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12695 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12697 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12699 * electric.el (electric-indent-post-self-insert-function): Make it
12700 possible for a char to only indent in some circumstances.
12701 (electric-indent-mode): Simplify.
12703 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12705 * window.el (windows-with-parameter): Remove unused function.
12706 (windows-at-side): Rename to window-at-side-list.
12707 (window-check, window-atom-check, window-atom-check-1)
12708 (window-side-check, window-size-ignore, window-size-fixed-1)
12709 (window-in-direction-2): Prefix with "window--".
12710 (window-tree-1): Rename to window--subtree, fix doc-string.
12712 2011-11-11 Glenn Morris <rgm@gnu.org>
12714 * subr.el (eval-after-load): If FILE is already loaded,
12715 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12717 2011-11-10 Glenn Morris <rgm@gnu.org>
12719 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12720 Call svn via vc-svn-command rather than vc-do-command.
12721 (vc-svn-command): Add --non-interactive. (Bug#9993)
12722 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12724 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12725 Add toggle-read-only. (Bug#7292)
12726 * files.el (toggle-read-only): Mention that it should only
12727 be used interactively. (Bug#10006)
12729 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12731 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12732 Adjust regexp for OCaml warnings.
12734 * electric.el (electric-pair-post-self-insert-function): Let user
12735 turn it off buffer-locally (bug#9932).
12737 * progmodes/python.el (python-beginning-of-statement):
12738 Rewrite (bug#2703).
12740 * progmodes/compile.el: Better handle TABs (bug#9749).
12741 (compilation-internal-error-properties)
12742 (compilation-next-error-function): Obey the target buffer's
12743 compilation-error-screen-columns.
12745 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12747 * progmodes/meta-mode.el: Remove obsolete comments.
12748 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12749 Fix typos in docstrings.
12751 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12753 * window.el (window-size-fixed-p): Rewrite doc-string.
12754 (window-resizable-p): Rename to window--resizable-p. Update callers.
12755 (window--resizable): New function. Make all callers of
12756 window-resizable call window--resizable instead.
12757 (window-resizable): Rewrite in terms of window--resizable.
12759 2011-11-08 Glenn Morris <rgm@gnu.org>
12761 * progmodes/delphi.el (delphi-mode-syntax-table):
12762 Let define-derived-mode define a proper syntax table. (Bug#9994)
12764 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12766 * window.el: Stay away from defsubst.
12767 (window-list-no-nils): Remove.
12768 (window-state-get-1, window-state-get): Use backquote instead.
12770 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12772 * emacs-lisp/find-func.el (find-function-read):
12773 Fix incorrect use of default argument in `completing-read'.
12775 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12777 * window.el (display-buffer-function, special-display-function):
12778 Mention display-buffer-record-window but do not mention
12779 help-setup parameter in doc-strings.
12780 (window-min-delta): Fix doc-string typo.
12782 2011-11-08 Chong Yidong <cyd@gnu.org>
12784 * window.el (window-total-height, window-total-width): Doc fix.
12785 (window-body-size): Move from C.
12786 (window-body-height, window-body-width): Move to C.
12788 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12790 * window.el: Make special-display like display-buffer-alist (bug#9532).
12791 (display-buffer--special-action): New function, morphed
12792 from display-buffer--special.
12793 (display-buffer): Use it to handle special-display-buffers at higher
12794 priority (just after display-buffer-alist).
12795 (display-buffer-fallback-action, display-buffer--other-frame-action)
12796 (pop-to-buffer-same-window): Remove display-buffer--special.
12798 2011-11-07 Glenn Morris <rgm@gnu.org>
12800 * calendar/cal-menu.el (cal-menu-set-date-title):
12801 Do nothing if not in a calendar. (Bug#9976)
12803 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12805 * files.el (find-file): Always use selected-window.
12807 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12809 * window.el (window-combinations): Make WINDOW argument
12810 mandatory. Rewrite doc-string.
12811 (walk-window-subtree, window-atom-check, window-min-delta)
12812 (window-max-delta, window--resize-this-window)
12813 (window--resize-root-window-vertically, window-tree)
12814 (balance-windows, window-state-put): Rewrite doc-strings as to
12815 not mention the term "subwindow".
12816 (window--resize-subwindows-skip-p): Rename to
12817 window--resize-child-windows-skip-p.
12818 (window--resize-subwindows-normal): Rename to
12819 window--resize-child-windows-normal.
12820 (window--resize-subwindows): Rename to
12821 window--resize-child-windows.
12822 (window-or-subwindow-p): Rename to window--in-subtree-p.
12824 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12826 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12827 Ensure that mbox format messages end in two newlines (Bug#9974).
12829 2011-11-06 Chong Yidong <cyd@gnu.org>
12831 * window.el (window-combination-p): Function deleted; its
12832 side-effect is not used in any existing code.
12833 (window-combinations, window-combined-p): Call window-*-child
12836 2011-11-05 Chong Yidong <cyd@gnu.org>
12838 * window.el (window-valid-p): Rename from window-any-p.
12839 (window-size-ignore, window-state-get): Callers changed.
12840 (window-normalize-window): Rename from window-normalize-any-window.
12841 New arg LIVE-ONLY, replacing window-normalize-live-window.
12842 (window-normalize-live-window): Delete.
12843 (window-combination-p, window-combined-p, window-combinations)
12844 (walk-window-subtree, window-atom-root, window-min-size)
12845 (window-sizable, window-sizable-p, window-size-fixed-p)
12846 (window-min-delta, window-max-delta, window-resizable)
12847 (window-resizable-p, window-full-height-p, window-full-width-p)
12848 (window-current-scroll-bars, window-point-1, set-window-point-1)
12849 (window-at-side-p, window-in-direction, window-resize)
12850 (adjust-window-trailing-edge, maximize-window, minimize-window)
12851 (window-deletable-p, delete-window, delete-other-windows)
12852 (record-window-buffer, unrecord-window-buffer)
12853 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12854 (quit-window, split-window, window-state-put)
12855 (set-window-text-height, fit-window-to-buffer)
12856 (shrink-window-if-larger-than-buffer): Callers changed.
12858 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12860 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12861 rfc2047-decode-string.
12862 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12865 * window.el (window-body-height, window-body-width): Mention in
12866 the doc string that the return values are in frame's canonical
12869 2011-11-03 Alan Mackenzie <acm@muc.de>
12871 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12872 change in cc-engine.el.
12874 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12876 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12878 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12880 * window.el (quit-window): Call unrecord-window-buffer after
12881 showing another buffer in the window. (Bug#9937)
12882 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12884 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12886 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12887 Accept status with more than 9 shelves. (Bug#9935)
12888 Reported by Colin D Bennett <colin@gibibit.com>.
12890 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12892 * help.el (with-help-window): Don't reference
12893 temp-buffer-show-specifiers in doc-string.
12895 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12897 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12900 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12902 * whitespace.el: New version 13.2.2.
12903 (whitespace-newline-mode): Disable properly. Reported by Sarah
12906 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12908 * net/newst-treeview.el: Remove "Time-stamp".
12909 (newsticker--group-manage-orphan-feeds): Do not call
12910 newsticker--treeview-tree-update.
12911 (newsticker-treeview-update, newsticker-treeview):
12912 Call newsticker--treeview-tree-update if necessary.
12914 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12916 * window.el (window-iso-combination-p, window-iso-combined-p)
12917 (window-iso-combinations): Remove "iso-" infix.
12918 Suggested by Chong Yidong.
12919 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12920 (window-max-delta-1, window-resize, window--resize-siblings)
12921 (window--resize-this-window, adjust-window-trailing-edge)
12922 (split-window, balance-windows-1)
12923 (shrink-window-if-larger-than-buffer):
12924 * calendar/calendar.el (calendar-generate-window):
12925 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12927 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12929 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12930 in place (bug#9907).
12931 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12932 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12933 (eshell-structure-basic-command, eshell-rewrite-while-command)
12934 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12935 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12936 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12937 (eshell-do-pipelines-synchronously, eshell-eval-command):
12938 Use backquotes and prefer setq to set.
12939 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12940 (eshell-macrop): Use functionp.
12941 (eshell-do-eval): Handle multiple expressions in `while' body.
12943 2011-10-30 Chong Yidong <cyd@gnu.org>
12945 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12946 instead of set-mark (Bug#9810).
12948 2011-10-30 Chong Yidong <cyd@gnu.org>
12950 * window.el (split-window-below, split-window-right): Rename from
12951 split-window-above-each-other and split-window-side-by-side
12952 respectively. All callers changed.
12953 (split-window-sensibly, split-window-sensibly): Use them.
12954 (split-window-keep-point): Doc fix.
12956 * isearch.el: Add isearch-scroll property to split-window-below
12957 and split-window-right.
12959 * follow.el (follow-mode):
12960 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12961 * progmodes/ada-xref.el (ada-gdb-application):
12962 * emulation/vip.el (vip-buffer-in-two-windows):
12963 * image-dired.el (image-dired-dired-with-window-configuration):
12964 * dired-x.el (dired-do-find-marked-files):
12965 * dired.el (dired-pop-to-buffer):
12966 * bs.el (bs--show-with-configuration):
12967 * vc/emerge.el (emerge-setup-windows):
12968 * textmodes/two-column.el (2C-two-columns):
12969 * textmodes/reftex-toc.el (reftex-toc):
12970 * progmodes/gdb-mi.el (gdb-setup-windows):
12971 * progmodes/fortran.el (fortran-window-create):
12972 * net/newst-treeview.el (newsticker--treeview-window-init):
12973 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12974 * emulation/tpu-edt.el (tpu-gold-map):
12975 * emulation/crisp.el (crisp-mode-map):
12976 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12978 2011-10-29 Chong Yidong <cyd@gnu.org>
12980 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12982 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12984 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12985 forged Ispell output (Bug#7904).
12987 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12989 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12991 * doc-view.el: Avoid ugly errors about not finding nil.
12992 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12993 (doc-view-dvipdf-program, doc-view-unoconv-program)
12994 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12995 Avoid nil or absolute file name as default value.
12996 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12998 2011-10-28 Alan Mackenzie <acm@muc.de>
13000 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13002 2011-10-28 Alan Mackenzie <acm@muc.de>
13004 Amend the handling of c-beginning/end-of-defun in nested declaration
13007 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13008 cc-langs.el. Change it to a defcustom.
13010 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13013 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13014 Prevent "class foo : bar" being spuriously recognized as a label.
13016 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13017 Add parameter `inclusive' (to include enclosing braces in the region).
13018 (c-widen-to-enclosing-decl-scope): New function.
13019 (c-while-widening-to-decl-block): New macro.
13020 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13021 outward for defun boundaries, and correspondingly change symbol
13022 `respect-enclosure' to `go-outward'.
13023 (c-declaration-limits): Change algorithm to report only the "innermost"
13024 defun's boundaries.
13026 2011-10-28 Deniz Dogan <deniz@dogan.se>
13028 * net/rcirc.el (rcirc-mode): Use hard newlines.
13030 2011-10-28 Alan Mackenzie <acm@muc.de>
13032 Amend to indent and fontify macros "which include their own semicolon"
13033 correctly, using the "virtual semicolon" mechanism.
13035 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13037 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13038 Recode to scan one line at a time rather than having \n and \r
13039 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13040 (c-forward-label): Amend for virtual semicolons.
13041 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13043 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13044 of the new C macros.
13046 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13047 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13048 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13049 (c-opt-cpp-macro-define): Make into a full language variable.
13050 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13051 AWK Mode (including \n, \r) removed, no longer needed.
13053 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13054 Invoke c-make-macro-with-semi-re.
13056 * progmodes/cc-vars.el (c-macro-with-semi-re):
13057 (c-macro-names-with-semicolon): New variables.
13058 (c-make-macro-with-semi-re): New function.
13060 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13062 * vc/log-edit.el: Fill empty field rather than adding new one.
13063 (log-edit-add-field): New function.
13064 (log-edit-insert-changelog): Use it.
13066 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13068 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13070 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13073 (gdb--check-interpreter): New function.
13076 2011-10-27 Glenn Morris <rgm@gnu.org>
13078 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13079 (least-positive-float, least-negative-float)
13080 (least-positive-normalized-float, least-negative-normalized-float)
13081 (float-epsilon, float-negative-epsilon):
13082 Remove unnecessary declarations.
13084 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13085 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13086 (least-positive-float, least-negative-float)
13087 (least-positive-normalized-float, least-negative-normalized-float)
13088 (float-epsilon, float-negative-epsilon): Add doc-strings,
13089 based on those in cl.texi.
13091 * files.el (set-visited-file-name): If the major-mode changed,
13092 reload the local variables. (Bug#9796)
13094 2011-10-27 Chong Yidong <cyd@gnu.org>
13096 * subr.el (change-major-mode-after-body-hook): New hook.
13097 (run-mode-hooks): Run it.
13099 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13100 Use change-major-mode-before-body-hook.
13102 * simple.el (fundamental-mode):
13103 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13104 change introducing fundamental-mode-hook.
13106 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13108 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13110 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13112 * ido.el (ido-file-name-all-completions-1): Do not require
13113 tramp.el explicitly. (Bug#7583)
13115 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * progmodes/octave-mod.el:
13118 * progmodes/octave-inf.el: Update maintainer.
13120 2011-10-26 Chong Yidong <cyd@gnu.org>
13122 * subr.el (with-wrapper-hook): Rewrite doc.
13124 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13126 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13127 filenames "/method:foo:". (Bug#9793)
13129 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13131 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13134 2011-10-24 Glenn Morris <rgm@gnu.org>
13136 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13138 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13140 * notifications.el: Add the requirement of a running D-Bus session
13141 bus to the Commentary.
13143 2011-10-24 Juri Linkov <juri@jurta.org>
13145 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13146 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13149 2011-10-24 Juri Linkov <juri@jurta.org>
13151 * info.el (Info-following-node-name-re): Add newline to the list
13152 of allowed characters for leading space. (Bug#9824)
13154 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13156 * progmodes/octave-inf.el (inferior-octave-mode-map):
13157 Fix C-c C-h binding.
13158 * progmodes/octave-mod.el (octave-help): Remove.
13160 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13162 Sync with Tramp 2.2.3.
13164 * net/tramp-cache.el (top): Pacify byte-compiler using
13165 `init-file-user' and `site-run-file'.
13167 * net/trampver.el: Update release number.
13169 2011-10-23 Chong Yidong <cyd@gnu.org>
13171 * files.el (toggle-read-only): Remove obsolete comment about
13174 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13175 for toggle-read-only. Note that this hasn't called vc-next-action
13176 since 2008-05-02, though it wasn't documented at the time.
13178 * vc/ediff-init.el (ediff-toggle-read-only-function):
13179 Use toggle-read-only.
13181 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13183 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13186 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13187 correct faulty logical expression.
13188 (c-parse-state-state, c-record-parse-state-state):
13189 (c-replay-parse-state-state): New defvar/defuns.
13190 (c-debug-parse-state): Use new functions.
13192 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13194 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13195 last fix. Use window-in-direction correctly.
13197 2011-10-21 Chong Yidong <cyd@gnu.org>
13199 * progmodes/idlwave.el (idlwave-mode):
13200 * progmodes/vera-mode.el (vera-mode): No need to set
13201 require-final-newline; that's done in prog-mode.
13202 Suggested by Stefan Monnier.
13204 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13206 * mouse.el (mouse-drag-window-above)
13207 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13208 (mouse-drag-mode-line-1, mouse-drag-header-line)
13209 (mouse-drag-vertical-line-rightward-window): Remove.
13210 (mouse-drag-line): New function.
13211 (mouse-drag-mode-line, mouse-drag-header-line)
13212 (mouse-drag-vertical-line): Call mouse-drag-line.
13213 * window.el (window-at-side-p, windows-at-side): New functions.
13215 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13217 * tar-mode.el (tar-grind-file-mode):
13218 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13220 2011-10-21 Chong Yidong <cyd@gnu.org>
13222 * progmodes/idlwave.el (idlwave-mode):
13223 * progmodes/vera-mode.el (vera-mode):
13224 Use mode-require-final-newline.
13226 2011-10-20 Glenn Morris <rgm@gnu.org>
13228 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13230 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13232 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13234 2011-10-20 Chong Yidong <cyd@gnu.org>
13236 * emulation/cua-base.el (cua-mode):
13237 * mail/footnote.el (footnote-mode):
13238 * mail/mailabbrev.el (mail-abbrevs-mode):
13239 * net/xesam.el (xesam-minor-mode):
13240 * progmodes/bug-reference.el (bug-reference-mode):
13241 * progmodes/cap-words.el (capitalized-words-mode):
13242 * progmodes/compile.el (compilation-minor-mode)
13243 (compilation-shell-minor-mode):
13244 * progmodes/gud.el (gud-tooltip-mode):
13245 * progmodes/hideif.el (hide-ifdef-mode):
13246 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13247 * progmodes/subword.el (subword-mode):
13248 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13249 * progmodes/which-func.el (which-function-mode):
13250 * term/tvi970.el (tvi970-set-keypad-mode):
13251 * term/vt100.el (vt100-wide-mode):
13252 * textmodes/flyspell.el (flyspell-mode):
13253 * textmodes/ispell.el (ispell-minor-mode):
13254 * textmodes/nroff-mode.el (nroff-electric-mode):
13255 * textmodes/paragraphs.el (use-hard-newlines):
13256 * textmodes/refill.el (refill-mode):
13257 * textmodes/reftex.el (reftex-mode):
13258 * textmodes/rst.el (rst-minor-mode):
13259 * textmodes/sgml-mode.el (html-autoview-mode)
13260 (sgml-electric-tag-pair-mode):
13261 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13262 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13263 * emulation/crisp.el (crisp-mode):
13264 * emacs-lisp/eldoc.el (eldoc-mode):
13265 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13266 minor mode behavior.
13268 2011-10-19 Juri Linkov <juri@jurta.org>
13270 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13271 the list of hard-coded chars with escape-glyph face.
13273 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13275 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13277 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13279 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13282 2011-10-19 Glenn Morris <rgm@gnu.org>
13284 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13285 Ignore ignored files. (Bug#9726)
13287 2011-10-19 Chong Yidong <cyd@gnu.org>
13289 Doc fix for minor modes, stating that an omitted argument enables
13290 the mode unconditionally when called from Lisp.
13292 * abbrev.el (abbrev-mode):
13293 * allout.el (allout-mode):
13294 * autoinsert.el (auto-insert-mode):
13295 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13296 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13297 (global-auto-revert-mode):
13298 * battery.el (display-battery-mode):
13299 * composite.el (global-auto-composition-mode)
13300 (auto-composition-mode):
13301 * delsel.el (delete-selection-mode):
13302 * desktop.el (desktop-save-mode):
13303 * dired-x.el (dired-omit-mode):
13304 * dirtrack.el (dirtrack-mode):
13305 * doc-view.el (doc-view-minor-mode):
13306 * double.el (double-mode):
13307 * electric.el (electric-indent-mode, electric-pair-mode):
13308 * emacs-lock.el (emacs-lock-mode):
13309 * epa-hook.el (auto-encryption-mode):
13310 * follow.el (follow-mode):
13311 * font-core.el (font-lock-mode):
13312 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13313 * help.el (temp-buffer-resize-mode):
13314 * hilit-chg.el (highlight-changes-mode)
13315 (highlight-changes-visible-mode):
13316 * hi-lock.el (hi-lock-mode):
13317 * hl-line.el (hl-line-mode, global-hl-line-mode):
13318 * icomplete.el (icomplete-mode):
13319 * ido.el (ido-everywhere):
13320 * image-file.el (auto-image-file-mode):
13321 * image-mode.el (image-minor-mode):
13322 * iswitchb.el (iswitchb-mode):
13323 * jka-cmpr-hook.el (auto-compression-mode):
13324 * linum.el (linum-mode):
13325 * longlines.el (longlines-mode):
13326 * master.el (master-mode):
13327 * mb-depth.el (minibuffer-depth-indicate-mode):
13328 * menu-bar.el (menu-bar-mode):
13329 * minibuf-eldef.el (minibuffer-electric-default-mode):
13330 * mouse-sel.el (mouse-sel-mode):
13331 * msb.el (msb-mode):
13332 * mwheel.el (mouse-wheel-mode):
13333 * outline.el (outline-minor-mode):
13334 * paren.el (show-paren-mode):
13335 * recentf.el (recentf-mode):
13336 * reveal.el (reveal-mode, global-reveal-mode):
13337 * rfn-eshadow.el (file-name-shadow-mode):
13338 * ruler-mode.el (ruler-mode):
13339 * savehist.el (savehist-mode):
13340 * scroll-all.el (scroll-all-mode):
13341 * scroll-bar.el (scroll-bar-mode):
13342 * server.el (server-mode):
13343 * shell.el (shell-dirtrack-mode):
13344 * simple.el (auto-fill-mode, transient-mark-mode)
13345 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13346 (line-number-mode, column-number-mode, size-indication-mode)
13347 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13348 * strokes.el (strokes-mode):
13349 * time.el (display-time-mode):
13350 * t-mouse.el (gpm-mouse-mode):
13351 * tool-bar.el (tool-bar-mode):
13352 * tooltip.el (tooltip-mode):
13353 * type-break.el (type-break-mode-line-message-mode)
13354 (type-break-query-mode):
13355 * view.el (view-mode):
13356 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13357 (global-whitespace-mode, global-whitespace-newline-mode):
13358 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13360 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13361 Fix autogenerated docstring.
13363 2011-10-19 Juri Linkov <juri@jurta.org>
13365 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13366 by checking environment variables "DESKTOP_SESSION" and
13367 "XDG_CURRENT_DESKTOP". (Bug#9779)
13369 2011-10-19 Juri Linkov <juri@jurta.org>
13371 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13372 (browse-url-chromium-program, browse-url-chromium-arguments):
13374 (browse-url-default-browser): Check for `browse-url-chromium' and
13375 call `browse-url-chromium-program'.
13376 (browse-url-chromium): New command. (Bug#9779)
13378 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13380 * facemenu.el (list-colors-duplicates): On Windows, detect more
13381 duplicates by assuming that only colors matching "^System" are
13382 special "system colors". (Bug#9722)
13384 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13386 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13387 to distinguish the author from the committer.
13389 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13391 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13393 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13395 * international/mule.el (sgml-html-meta-auto-coding-function):
13396 Add support for detecting encoding in HTML5 specified only as
13397 <meta charset="UTF-8">. Implementation just makes http-equiv and
13398 content-type parts from HTML4 encoding string optional. (Bug#9716)
13400 2011-10-18 Glenn Morris <rgm@gnu.org>
13402 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13404 2011-10-18 Chong Yidong <cyd@gnu.org>
13406 * faces.el (cursor): Doc fix.
13408 2011-10-17 Chong Yidong <cyd@gnu.org>
13410 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13412 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13414 * dirtrack.el (dirtrack): Support shell buffers with path
13415 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13417 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13419 * json.el: Bump version to 1.3 and note change in History.
13420 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13422 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * comint.el (comint-insert-input, comint-send-input)
13425 (comint-get-old-input-default, comint-backward-matching-input)
13426 (comint-next-prompt): Use nil instead of `input' for field property of
13427 past user input (bug#114).
13429 * minibuffer.el (completion--replace): Inherit surrounding properties
13431 (minibuffer-complete-and-exit): Use it.
13433 * comint.el (comint--table-subvert): Quote the all-completions output
13436 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13438 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13440 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13441 window on right of selected. (Bug#9350) Reword other window
13442 entries and separate them from frame entries.
13444 2011-10-15 Glenn Morris <rgm@gnu.org>
13446 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13449 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13451 * net/network-stream.el (network-stream-open-starttls):
13452 Improve detection of failure due to lack of TLS support.
13454 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13455 putting the input text in front and in bold.
13457 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13459 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13461 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13464 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13465 unread-command-events rather than pushing yet-another event.
13467 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13469 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13470 the explanation of the possible choices. Make the options passed
13471 to completing-read shorter.
13473 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13475 * textmodes/flyspell.el (flyspell-large-region): Make sure
13476 extended character mode is used if defined (Bug#1339).
13478 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13480 * simple.el (what-cursor-position): Fix the display of the
13481 character info for LRE, LRO, RLE, and RLO characters by appending
13484 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13487 even in case of error; add debug spec; simplify data flow.
13488 (with-timeout-handler): Remove.
13490 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13492 Fix Bug#6019, Bug#9315.
13494 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13495 complete `buffer-file-name', the local file name part could look
13496 remotely (for example on VMS).
13498 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13499 `tramp-run-real-handler'.
13500 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13501 already quoted by '"'.
13503 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13504 Let `file-name-handler-alist' be nil, the local file name part
13505 could look remotely (for example on VMS).
13507 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13509 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13511 (flyspell-post-command-hook): ...to here.
13513 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13515 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13517 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13518 using completion. Protect against "slow" callers.
13519 Remove the "message hack".
13521 2011-10-11 Juri Linkov <juri@jurta.org>
13523 * isearch.el (isearch-lazy-highlight-word): New variable.
13524 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13527 2011-10-11 Glenn Morris <rgm@gnu.org>
13529 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13530 like f90-previous-statement does.
13532 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13534 * eshell/eshell.el (eshell-command): History should be saved
13535 only in interactive use, to avoid error.
13537 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * minibuffer.el (completion-file-name-table): Fix last change,
13540 i.e. ignore normal errors but not the other ones.
13542 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13544 * window.el (special-display-buffer-names)
13545 (special-display-regexps): Remove some remnants of earlier
13546 changes from doc-strings.
13547 (quit-windows-on): New function.
13549 * vc/vc.el (vc-revert, vc-rollback):
13550 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13551 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13552 (Bug#6183) (Bug#7074) (Bug#7447)
13554 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13556 * window.el (frame-auto-hide-function): Add version tag.
13559 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13561 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13564 2011-10-09 Leo Liu <sdl.web@gmail.com>
13566 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13569 2011-10-08 Glenn Morris <rgm@gnu.org>
13571 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13572 before the first code statement zero indent. (Bug#9690)
13574 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13576 * simple.el (count-words-region): Always count in the region.
13577 Report the number of lines and characters too.
13578 (count-words): New command, which counts in the buffer if the
13579 region is inactive, as count-words-region used to.
13580 (count-words--message): New function. Handle plurals.
13581 (count-lines-region): Make it an alias for count-words-region.
13583 * bindings.el (esc-map): Replace count-lines-region with
13584 count-words-region.
13586 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13588 * window.el (window--delete): Delete dedicated frame
13589 unconditionally when argument KILL is non-nil. (Bug#9699)
13590 (switch-to-buffer): Fix doc-string typo.
13592 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13594 * eshell/eshell.el (eshell-command): Avoid using hooks.
13596 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13598 * bindings.el ([M-left],[M-right]): Bind to left-word and
13599 right-word respectively.
13601 2011-10-07 Glenn Morris <rgm@gnu.org>
13603 * cus-start.el (debug-on-quit): Fix custom type.
13605 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13607 * subr.el (define-key-after): Clarify that the function is not
13608 useful for non-menu keymaps.
13610 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13612 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13614 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13615 in current minibuffer (Fix bug with recursive minibuffers).
13617 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13619 * progmodes/gdb-mi.el (gdb): Doc fix.
13621 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13623 * window.el (frame-auto-hide-function): New option replacing
13624 frame-auto-delete. Suggested by Stefan Monnier.
13625 (window--delete): Call frame-auto-hide-function instead of
13626 investigating frame-auto-delete.
13627 (window-point-1, set-window-point-1): New functions.
13628 (window-in-direction, record-window-buffer, window-state-get-1)
13629 (display-buffer-record-window): Use window-point-1 instead of
13631 (set-window-buffer-start-and-point): Use set-window-point-1.
13633 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13637 2011-10-05 Glenn Morris <rgm@gnu.org>
13639 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13640 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13642 2011-10-05 Leo Liu <sdl.web@gmail.com>
13644 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13645 works with buffer object.
13647 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13649 * mpc.el (mpc-tool-bar-map): Add labels.
13651 2011-10-04 Glenn Morris <rgm@gnu.org>
13653 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13655 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13657 * window.el (window--delete): New function.
13658 (frame-auto-delete): Resuscitate option.
13659 (bury-buffer, replace-buffer-in-windows)
13660 (quit-window): Rewrite using window--delete.
13661 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13662 Pass display-buffer-mark-dedicated to window--display-buffer-2
13665 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13668 returns a list (bug#9554). Add remote file name completion.
13669 * comint.el (comint--table-subvert): Curry and get quote&unquote
13670 functions as arguments.
13671 (comint--complete-file-name-data): Adjust call accordingly.
13672 * pcomplete.el (pcomplete--table-subvert): Remove.
13673 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13675 * minibuffer.el (completion-table-case-fold): Use currying.
13676 (completion--styles-type, completion--cycling-threshold-type):
13678 (completion-styles, completion-category-overrides)
13679 (completion-cycle-threshold): Use them.
13680 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13681 completion-table-case-fold.
13683 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13685 * minibuffer.el (completion-category-overrides): Fix type of styles
13686 and add more user friendly tags (bug#9660).
13688 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13690 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13691 (mule-input-method-string): New widget.
13692 (default-input-method, language-info-custom-alist): Use it.
13694 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * pcomplete.el: Require comint.
13697 (pcomplete--common-suffix): Remove.
13698 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13699 (pcomplete--table-subvert): Sync with comint--table-subvert.
13700 (pcomplete--entries): Use comint-completion-file-name-table.
13701 * comint.el (comint-unquote-filename): Simplify.
13702 (comint-completion-file-name-table): New function (bug#9616).
13703 (comint--complete-file-name-data): Use it.
13705 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13706 (pcmpl-gnu-tar-buffer): Remove.
13707 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13708 around. Make sure pcomplete-suffix-list is only changed temporarily.
13709 Don't look inside the tar's file if it's too large.
13711 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13713 * cus-edit.el (custom-mode-map):
13714 * epa.el (epa-key-list-mode-map):
13715 * man.el (Man-mode-map):
13716 * startup.el (splash-screen-keymap):
13717 * simple.el (special-mode-map): Use scroll-up-command and
13718 scroll-down-command.
13720 * progmodes/idlw-help.el (idlwave-help-mode-map):
13721 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13722 * net/newst-plainview.el (newsticker-mode-map):
13723 * emulation/ws-mode.el (wordstar-mode-map):
13724 * emulation/vi.el (vi-com-map):
13725 * calc/calc-graph.el (calc-graph-show-dumb):
13726 * term/sun.el (terminal-init-sun):
13727 * term/ns-win.el (global-map):
13728 * progmodes/grep.el (grep-mode-map):
13729 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13730 * mail/rmail.el (rmail-mode-map):
13731 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13733 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13734 custom-safe-themes as special.
13736 2011-10-01 Julien Danjou <julien@danjou.info>
13738 * notifications.el (notifications-notify): Fix docstring.
13740 2011-10-01 Per Starbäck <per@starback.se>
13742 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13744 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13746 * startup.el (command-line-1): Fix last fix by inserting
13747 initial-scratch-message into *scratch* before displaying it.
13748 (Bug#9605) and (Bug#9636)
13750 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13752 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13753 window is hscrolled, move by logical lines. (Bug#9607)
13754 (line-move-visual): Update the doc string to the above effect.
13756 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13758 * window.el (display-buffer-record-window): When WINDOW is the
13759 selected window use `point' instead of `window-point'. (Bug#9626)
13761 * startup.el (command-line-1): Use insert-before-markers when
13762 inserting initial-scratch-message. (Bug#9605)
13764 * help.el (help-window): Remove variable.
13766 2011-09-29 Glenn Morris <rgm@gnu.org>
13768 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13770 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13772 * descr-text.el (describe-char-categories): Accept category
13773 descriptions more than one line long.
13775 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13777 * simple.el (delete-trailing-whitespace): Fix last change.
13779 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13780 Don't confuse "y => 3" as the beginning of a `y' operation.
13782 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13783 object has more than 4 slots (bug#9613).
13785 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13787 * subr.el (with-output-to-temp-buffer):
13788 * net/quickurl.el (quickurl, quickurl-browse-url):
13789 Fix typos in docstrings.
13791 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13793 * minibuffer.el (completion-styles)
13794 (completion-category-overrides): Cross reference each other in doc
13797 2011-09-27 Glenn Morris <rgm@gnu.org>
13799 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13800 to split-string. (Bug#9606)
13802 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13804 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13807 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13809 * emacs-lisp/package.el (list-packages): Fix echo area message.
13811 2011-09-27 Leo Liu <sdl.web@gmail.com>
13813 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13815 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13817 * net/dbus.el (dbus-unregister-object): Don't release services for
13818 registered signals. (Bug#9581)
13820 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13822 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13823 function that picks between cfengine 2 and 3 support
13824 automatically. Update docs accordingly.
13826 2011-09-22 Kenichi Handa <handa@m17n.org>
13828 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13830 (indian-itrans-v5-table-for-tamil): New variable.
13831 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13833 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13835 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13836 that's true if the current command involved collapsing of text.
13837 It's reset to false at the beginning of the next command.
13838 (allout-post-command-business): Move the cursor to the beginning
13839 of entry if the cursor is hidden and collapsing activity just
13842 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13844 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13845 tracking (Bug#9541).
13847 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13849 * net/newst-reader.el (newsticker-html-renderer)
13850 (newsticker-show-news): Automatically load html rendering package
13851 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13852 because w3m-fill-column is let-bound" and the error "Symbol's value
13853 as variable is void: w3m-fill-column".
13855 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13857 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13858 Release services only if they are defined. (Bug#9581)
13860 2011-09-23 Richard Stallman <rms@gnu.org>
13862 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13863 distinguish start of paragraph from start of its text.
13865 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13867 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13868 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13869 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13871 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13873 * international/mule-diag.el (mule-diag): Insert a newline after
13874 each fontset description.
13876 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13878 * simple.el (delete-trailing-whitespace):
13879 Document last change; simplify.
13881 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13883 * simple.el (delete-trailing-whitespace): Also delete
13884 extra newlines at the end of the buffer.
13886 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13887 (picture-newline): Use forward-line so as to ignore fields.
13889 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13891 * subr.el (with-wrapper-hook): Fix edebug spec.
13893 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13895 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13898 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13900 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13901 Fix nasty bug using wrong cached values.
13903 2011-09-23 Alan Mackenzie <acm@muc.de>
13905 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13907 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13909 * window.el (pop-to-buffer): Ensure right window is selected if we
13910 chose another frame.
13912 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13914 * simple.el (what-cursor-position): Use get-char-property-change
13915 and next-single-char-property-change, to be able to show display
13916 properties that come from overlays as well as text properties.
13918 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13920 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13922 * cmuscheme.el (run-scheme, switch-to-scheme):
13923 * cus-edit.el (customize-group, custom-buffer-create)
13924 (customize-browse):
13926 * shell.el (shell):
13927 * mail/sendmail.el (mail):
13928 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13930 2011-09-22 Richard Stallman <rms@gnu.org>
13932 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13933 move back only to line beg, don't move back over blank lines.
13935 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13937 * files.el (copy-directory): Set directory attributes only in case
13938 they could be retrieved from the source directory. (Bug#9565)
13940 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13942 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13943 (hs-find-block-beginning, hs-hide-level-recursive):
13944 Ignore strings as well as comments. (Bug#9502)
13946 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13948 * progmodes/sql.el (sql-comint-postgres):
13949 Convert port number to a string. (Bug#9566)
13951 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13953 * window.el (quit-window): Undedicate window when switching to
13954 previous buffer. Reported by Thierry Volpiatto
13955 <thierry.volpiatto@gmail.com>.
13956 (special-display-popup-frame): When popping up a new frame reset
13957 its previous buffers to nil. Simplify code.
13959 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13961 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13962 and process filter, as done also in `shell-command'.
13964 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13966 * window.el (set-window-buffer-start-and-point):
13967 Call set-window-start with NOFORCE argument t.
13968 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13969 (quit-window): Reword doc-string. Handle new format of
13970 quit-restore parameter. Don't delete window if it has a
13971 previous buffer we can show instead of the present one.
13972 (display-buffer-record-window): Rewrite using a new format for
13973 the quit-restore window parameter
13974 (special-display-popup-frame, display-buffer-same-window)
13975 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13976 (display-buffer-pop-up-window, display-buffer-use-some-window):
13977 Adapt symbol passed to display-buffer-record-window.
13978 * help.el (help-window-setup): Handle new format of quit-restore
13981 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13983 * faces.el (face-list): Fix docstring (bug#9564).
13985 * window.el (display-buffer--action-function-custom-type):
13986 Don't include internal functions in the Custom interface.
13988 2011-09-20 Juri Linkov <juri@jurta.org>
13990 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13991 (Info-forward-node, Info-backward-node, Info-next-preorder)
13992 (Info-last-preorder): Use it. (Bug#9528)
13994 2011-09-20 Juri Linkov <juri@jurta.org>
13996 * info.el (Info-last-preorder): Visit last menu item only when
13997 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13999 2011-09-20 Julien Danjou <julien@danjou.info>
14001 * password-cache.el (password-cache-remove): Remove entries even if the
14002 value is nil, so that password with a nil value (negative caching) is
14003 possible to invalidate.
14005 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14007 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14008 all whitespace around breakpoint. (Bug#9553)
14009 (f90-find-breakpoint): Only break at whitespace inside a comment.
14011 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14013 * minibuffer.el (completion-file-name-table): Keep track of errors.
14014 (completion-table-with-predicate): Handle the case where pred1 is nil.
14015 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14017 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14019 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14020 (debugger-return-value): Signal an error if the debugging context does
14021 not await any return value.
14023 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14024 * image-mode.el (image-toggle-display-text)
14025 (image-toggle-display-image): Stay away from evil `intangible'.
14027 2011-09-19 Leo Liu <sdl.web@gmail.com>
14029 * replace.el (occur-revert-arguments): Make it permanent-local.
14030 (occur-mode): Don't call font-lock-defontify.
14032 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14034 * net/ldap.el (ldap-search-internal): Don't push empty search
14037 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14039 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14041 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14043 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14044 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14046 2011-09-18 Juri Linkov <juri@jurta.org>
14048 * buff-menu.el (Buffer-menu-mode-map):
14049 * dired.el (dired-mode-map):
14050 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14051 (lisp-interaction-mode-map):
14052 * emacs-lisp/package.el (package-menu-mode-map):
14053 * epa.el (epa-key-list-mode-map):
14054 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14055 (menu-bar-options-menu):
14056 * outline.el (outline-mode-menu-bar-map):
14057 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14058 * vc/vc-dir.el (vc-dir-menu-map):
14059 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14060 Capitalize non-function content words in menu item strings.
14062 * dired.el (dired-mode-map): Add menu item for
14063 `image-dired-dired-toggle-marked-thumbs'.
14065 2011-09-18 Juri Linkov <juri@jurta.org>
14067 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14068 to `isearch-case-fold-search' and restore its original value
14069 after the `isearch-mode' call.
14071 2011-09-18 Juri Linkov <juri@jurta.org>
14073 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14074 because `zgrep' returns 1 for successful matches (bug#9226).
14076 2011-09-18 Juri Linkov <juri@jurta.org>
14078 * info.el (Info-extract-menu-node-name): Check the second match
14079 for empty string (second test-case of bug#9528).
14080 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14081 intermediate nodes to the history (first test-case of bug#9528).
14083 2011-09-18 Juri Linkov <juri@jurta.org>
14085 * info.el (Info-mode-syntax-table): New variable.
14086 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14088 2011-09-18 Juri Linkov <juri@jurta.org>
14090 * info.el (Info-file-supports-index-cookies):
14091 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14092 outputs one more line for long file names (bug#4142).
14094 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14096 * newcomment.el (comment-normalize-vars): If prompting for
14097 comment-start, set comment-start-skip too (Bug#8424).
14099 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14101 * icomplete.el: Fix previous fix of Bug#5849.
14102 (icomplete-mode): Don't set completion-show-inline-help.
14103 (icomplete-minibuffer-setup): Set completion-show-inline-help
14104 locally during icompletion.
14106 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14108 * woman.el (woman2-process-escapes): Don't delete unrecognized
14109 escapes (Bug#7843).
14111 * files.el (inhibit-first-line-modes-regexps): Add image files.
14112 (hack-local-variables-prop-line): Return nil for malformed
14113 prop-lines (Bug#9044).
14115 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14117 * net/tramp.el (top): Don't require 'shell.
14118 (tramp-methods): Fix docstring.
14119 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14120 Return complete remote file name. Handle "smb" case.
14121 Use `tramp-tmpdir', if defined for the respective method.
14122 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14124 * net/tramp-compat.el (top): Require 'shell.
14126 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14127 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14128 `tramp-current-host'.
14129 (tramp-get-remote-tmpdir): Remove.
14131 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14132 `tramp-tmpdir' entries.
14133 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14134 (tramp-smb-handle-file-attributes): Ignore errors.
14135 (tramp-smb-wait-for-output): Check also for process end.
14137 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14139 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14140 when sending QUIT (bug#9312).
14142 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14144 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14145 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14146 occur-mode-display-occurrence.
14147 (occur-edit-mode): Add usage message.
14148 (occur-cease-edit): New command.
14149 (occur-after-change-function): Use text properties to find the
14150 position of the prefix text.
14151 (occur-engine): Set stickiness of prefix text properties.
14153 2011-09-17 Glenn Morris <rgm@gnu.org>
14155 * progmodes/etags.el (complete-tag):
14156 Fix call to completion-in-region. (Bug#9526)
14158 2011-09-17 Juri Linkov <juri@jurta.org>
14160 * textmodes/ispell.el (ispell-word): Add to the error message
14161 the word, ispell program name and current dictionary (bug#9121).
14162 (ispell-tex-arg-end): Capitalize "error" in the error message.
14164 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14166 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14169 2011-09-17 Juri Linkov <juri@jurta.org>
14171 * window.el (window-safe-min-height, window-safe-min-width):
14172 Fix typos (followup to bug#9522).
14174 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14176 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14178 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14180 * simple.el (line-move): If goal-column is set, move by logical
14181 lines, not by display lines. (Bug#971)
14182 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14183 to reflect the above change.
14185 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14187 * image.el (imagemagick-register-types): Use regexp-opt.
14189 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14191 * window.el (display-buffer-base-action): Rename from
14192 display-buffer-default-action. Make default value empty.
14193 (display-buffer-overriding-action): Convert to defvar.
14194 (display-buffer-fallback-action): New var.
14196 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14198 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14200 (package--add-to-archive-contents): If there is a duplicate entry
14201 with an older version, remove it.
14202 (package-menu-mark-delete, package-menu-mark-install)
14203 (package-menu-mark-unmark): Make unused args optional.
14204 (package-menu-mark-obsolete-for-deletion):
14205 Use package-menu-get-status instead of a regexp search.
14206 (package-menu-get-status): Use tabulated-list-entry.
14207 (package-menu-mark-upgrades): New command.
14208 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14209 (package-menu-execute): Do installation before deletion.
14210 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14211 instead of checking major-mode.
14212 (package-menu--find-upgrades): New function.
14214 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14216 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14217 passwords in the log buffer.
14218 (smtpmail-process-filter): Update the process marker so that the
14219 "broken by peer" status message is inserted in the right place.
14221 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14223 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14224 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14225 bibtex-completion-at-point-function.
14226 (bibtex-completion-at-point-function): Use them.
14228 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14230 * mpc.el (mpc-constraints-tag-lookup): New function.
14231 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14232 also to browser "album|playlist".
14234 2011-09-14 Juri Linkov <juri@jurta.org>
14236 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14237 (isearch-edit-string): Use length of `isearch-string' when
14238 `isearch-fail-pos' returns nil.
14239 (isearch-message): Remove duplicate code and call
14240 `isearch-fail-pos' with arg `t'.
14242 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14244 * replace.el (occur-mode-goto-occurrence): Don't force using other
14247 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14249 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14251 * window.el (display-buffer-window): Remove.
14252 (display-buffer-record-window): Use help-setup window parameter
14253 instead of variable display-buffer-window.
14254 (display-buffer-function, special-display-buffer-names)
14255 (special-display-function): Mention help-setup parameter instead
14256 of display-buffer-window in doc-string.
14257 * help.el (help-window-setup): New argument help-window.
14258 Use help-window-setup parameter instead of display-buffer-window.
14259 Reword some messages.
14260 (with-help-window): Pass window used for displaying the buffer
14261 to help-window-setup. Don't set display-buffer-window.
14263 2011-09-13 Glenn Morris <rgm@gnu.org>
14265 * emacs-lisp/debug.el (debugger-make-xrefs):
14266 Preserve point. (Bug#9462)
14268 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14270 * window.el (window-deletable-p): Use next-frame.
14272 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14274 * window.el (window-auto-delete): Remove.
14275 (window-deletable-p): Remove argument FORCE. Don't deal with
14276 dedication and previous buffers.
14277 (switch-to-prev-buffer): Don't delete window.
14278 (delete-windows-on): Delete a window's frame if and only if the
14279 window is dedicated.
14280 (replace-buffer-in-windows): Delete buffer's window or frame if
14281 and only if window is dedicated.
14282 (quit-window): Handle quit-restore as before last change.
14283 (bury-buffer): Delete window only if window-deletable-p returns t.
14285 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14287 * window.el (window-deletable-p): Never delete the last frame on a
14290 2011-09-13 Glenn Morris <rgm@gnu.org>
14292 * help.el (describe-key-briefly): Copy previous standard-output change.
14294 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14296 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14298 2011-09-13 Glenn Morris <rgm@gnu.org>
14300 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14301 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14303 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14305 * dired-aux.el (dired-mark-read-string): Don't return default
14306 value on empty input (Bug#9361).
14307 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14308 Omit initial minibuffer contents.
14309 (dired-do-chmod): Signal an error on empty input.
14310 (dired-mark-read-string): Don't return default on empty input.
14312 * files.el (file-modes-symbolic-to-number): Doc fix.
14314 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14316 * international/mule-cmds.el (ucs-completions): Remove.
14317 (read-char-by-name): Use complete-with-action instead; add metadata.
14319 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14321 * window.el (display-buffer--action-function-custom-type)
14322 (display-buffer--action-custom-type): New vars.
14323 (display-buffer-alist, display-buffer-default-action)
14324 (display-buffer-overriding-action): Add defcustom types.
14326 * frame.el (delete-other-frames): Doc fix (Bug#276).
14328 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14330 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14332 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14334 Change modes that used same-window-* vars to use switch-to-buffer.
14336 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14337 Use switch-to-buffer.
14339 * cus-edit.el (customize-group, custom-buffer-create)
14340 (customize-browse, custom-buffer-create-other-window):
14341 Use switch-to-buffer or switch-to-buffer-other-window.
14343 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14344 (Info-prev, Info-up, Info-speedbar-goto-node)
14345 (info-display-manual): Use switch-to-buffer.
14346 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14348 * mail/sendmail.el (mail): Use switch-to-buffer.
14349 (mail-recover): Use switch-to-buffer-other-window.
14351 * cmuscheme.el (run-scheme, switch-to-scheme):
14353 * shell.el (shell):
14354 * net/rlogin.el (rlogin):
14355 * net/telnet.el (telnet, rsh):
14356 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14358 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14360 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14362 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14364 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14365 so don't mention it (bug#9301).
14366 (dired-sort-toggle-or-edit): Clarify string further.
14368 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14369 match `x', `w32' and `ns', like the manual says (bug#9029).
14371 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14372 (process-kill-buffer-query-function): Mention the buffer name in
14375 * image-mode.el (image-next-line): The line parameter is mandatory
14378 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14379 which can be useful (bug#9301).
14381 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14383 * subr.el (match-string): Mention that the current buffer should
14384 be the same as the search was done in (bug#9282).
14386 * facemenu.el: Disable the remove-* commands if the mark isn't
14389 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14391 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14393 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14395 * replace.el (occur-mode-goto-occurrence)
14396 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14397 and display-buffer.
14399 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14402 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14403 special-display and same-window variables.
14404 (mail-other-window): Use switch-to-buffer-other-window.
14405 (mail-other-frame): USe switch-to-buffer-other-frame.
14407 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14408 Use display-buffer-other-frame.
14409 (gdb-display-gdb-buffer): Use pop-to-buffer.
14411 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14413 * progmodes/python.el: Don't set same-window-buffer-names.
14415 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14417 * window.el (display-buffer-alist): Add *Python*.
14419 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14421 * window.el (display-buffer-alist): Add entry for buffers
14422 previously handled same-window-*.
14423 (display-buffer-alist, display-buffer-default-action)
14424 (display-buffer-overriding-action): Mark as risky.
14425 (display-buffer-alist): Document action function changes.
14426 (display-buffer--same-window-action)
14427 (display-buffer--other-frame-action): New variables.
14428 (switch-to-buffer, display-buffer-other-frame): Use them.
14429 (display-buffer): Rename reuse-frame entry to reusable-frames.
14430 (display-buffer-reuse-selected-window): Function deleted.
14431 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14432 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14433 (display-buffer-special): New function.
14434 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14435 display-buffer-reuse-or-pop-window. Split off special-display
14436 part into display-buffer-special.
14437 (display-buffer-use-some-window): Don't perform any special
14438 pop-up-frames handling.
14439 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14440 (display-buffer--maybe-same-window): Rename from
14441 display-buffer-maybe-same-window.
14443 * info.el: Don't set same-window-regexps.
14444 (info-setup): New function.
14445 (info-other-window, info): Call it.
14447 * cus-edit.el: Don't set same-window-regexps.
14448 (customize-group): New argument.
14449 (customize-group-other-window): Use it.
14450 (customize-face, customize-face-other-window): Likewise.
14451 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14455 * progmodes/gud.el: Don't set same-window-regexps.
14460 * mail/sendmail.el:
14461 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14463 2011-09-10 Juri Linkov <juri@jurta.org>
14465 * isearch.el (isearch-edit-string): Remove obsolete mention of
14466 `C-w' (`isearch-yank-word-or-char') from docstring.
14467 (isearch-query-replace): Fix typo in docstring (bug#9466).
14469 2011-09-10 Juri Linkov <juri@jurta.org>
14471 * paren.el (show-paren-function): Don't show escaped parens.
14472 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14474 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14476 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14477 (mm-default-file-encoding): Remove autoload forms, they are
14478 replaced with autoload cookies in mml.el and mm-encode.el.
14479 (mail-add-attachment): New command.
14480 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14481 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14483 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14485 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14487 * simple.el (count-words-region): Use buffer if there's no region
14490 2011-09-09 Juri Linkov <juri@jurta.org>
14492 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14493 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14494 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14496 2011-09-09 Alan Mackenzie <acm@muc.de>
14498 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14499 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14501 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14503 Fix for Savannah bug#9392.
14504 * simple.el (mail-encode-mml): New defvar.
14506 * mail/rmail.el (mail-encode-mml): Add a defvar.
14507 (rmail-enable-mime-composing): Default to t.
14508 (rmail-forward): Use MIME method of forwarding only if both
14509 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14510 Set mail-encode-mml non-nil if the MIME method was used.
14512 * mail/sendmail.el (mml-to-mime): Add autoload form.
14513 (mail-encode-mml): Add a defvar.
14514 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14516 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14517 message through mml-to-mime, and reset mail-encode-mml to nil.
14519 2011-09-09 Glenn Morris <rgm@gnu.org>
14521 * woman.el (woman-if-body): When processing an .el block,
14522 do not delete the next .el block as well. (Bug#9447)
14523 (woman-special-characters): Add oq, cq, and hy characters.
14525 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14527 * window.el (window-deletable-p): Make sure window is live before
14528 invoking window-prev-buffers.
14530 2011-09-08 Leo Liu <sdl.web@gmail.com>
14532 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14534 2011-09-08 Juri Linkov <juri@jurta.org>
14536 * progmodes/compile.el (compilation-environment): Make it
14537 a defcustom (bug#8340).
14539 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14541 * window.el (frame-auto-delete): Rename to window-auto-delete.
14542 Make it control auto-deletion of windows and/or frames.
14543 (window-deletable-p): New argument FORCE. Rewrite conditions
14544 for deleting window/frame. (Bug#9419)
14545 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14546 Rewrite handling of case when window/frame can be deleted.
14547 (delete-windows-on): Call window-deletable-p with new FORCE
14548 argument t. (Bug#9456)
14550 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14552 * help-mode.el (help-mode): Restore autoload.
14554 2011-09-07 Juri Linkov <juri@jurta.org>
14556 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14557 `compilation-environment'. Set buffer-local
14558 `compilation-environment' to `thisenv' later after (funcall mode).
14561 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14562 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14563 instead of replacing its value. (Bug#8340)
14565 2011-09-07 Juri Linkov <juri@jurta.org>
14567 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14568 based on text properties put by `grep-filter' instead of matching
14570 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14571 to the value of `grep-error-screen-columns' (bug#9438).
14573 2011-09-07 Juri Linkov <juri@jurta.org>
14575 * simple.el (next-error-highlight, next-error-highlight-no-select):
14576 Doc fix (bug#9432).
14578 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14580 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14581 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14583 2011-09-07 Leo Liu <sdl.web@gmail.com>
14585 * net/rcirc.el (rcirc-mode): Conditionally initialize
14588 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14590 * emacs-lisp/find-func.el (find-function-C-source): Only set
14591 find-function-C-source-directory after checking that we found a source
14592 file there (bug#9440).
14594 2011-09-06 Alan Mackenzie <acm@muc.de>
14596 * isearch.el (isearch-other-meta-char): Wherever a key list is
14597 unread, "unread" the prefix arg, too. This fixes bug #8901.
14599 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14601 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14603 2011-09-05 Juri Linkov <juri@jurta.org>
14605 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14607 2011-09-05 Juri Linkov <juri@jurta.org>
14609 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14610 keeping point where processing of grep matches begins, and
14611 continue to delete remaining escape sequences from the same point.
14612 (grep-filter): Make leading zero optional in "0?1;31m" because
14613 git-grep emits "\033[1;31m" escape sequences unlike expected
14614 "\033[01;31m" as GNU Grep does (bug#9408).
14615 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14617 2011-09-05 Juri Linkov <juri@jurta.org>
14619 * subr.el (y-or-n-p): Capitalize "yes".
14621 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14623 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14624 `tramp-cache-unload-hook' where appropriate.
14625 (tramp-methods): Rename `tramp-remote-sh' to
14626 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14627 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14629 * net/tramp-sh.el (top): Don't require 'shell.
14630 (tramp-methods): Add `tramp-remote-shell' and
14631 `tramp-remote-shell-args' entries.
14632 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14633 (tramp-sh-handle-shell-command): Remove.
14634 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14635 Use `tramp-remote-shell'.
14637 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14639 * mail/sendmail.el (sendmail-query-once-function): Delete.
14640 (sendmail-query-once): Save directly to send-mail-function.
14641 Update message-send-mail-function too.
14643 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14645 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14647 * progmodes/python.el (python-mode-map): Use correct function to
14648 start python interpreter from menu-bar (as reported by Geert
14650 (inferior-python-mode-map): Fix typo.
14651 (python-shell-map): Remove.
14653 2011-09-03 Deniz Dogan <deniz@dogan.se>
14655 * net/rcirc.el (rcirc-print): Simplify code for
14656 rcirc-scroll-show-maximum-output. There is no need to walk
14657 through all windows to find the right one.
14659 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14661 * help.el (help-return-method): Doc fix.
14663 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14665 * window.el (window-deletable-p): Don't return a non-nil value
14666 when there's a buffer that was shown in the window before.
14668 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14669 Set window's previous buffers to nil.
14671 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14673 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14674 newline before and after the tag line, so it doesn't interfere
14675 with determining the paragraph direction of bidirectional text.
14677 2011-09-03 Leo Liu <sdl.web@gmail.com>
14679 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14681 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14683 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14684 (pop-to-buffer): Change interactive spec. Pass second argument
14685 directly to display-buffer.
14686 (display-buffer): Fix interactive spec. Use functionp to
14687 distinguish between a function and a list of functions.
14689 * abbrev.el (edit-abbrevs):
14690 * arc-mode.el (archive-extract):
14691 * autoinsert.el (auto-insert):
14692 * bookmark.el (bookmark-bmenu-list):
14693 * files.el (find-file):
14694 * view.el (view-buffer):
14695 * progmodes/compile.el (compilation-goto-locus):
14696 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14698 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14700 * window.el (display-buffer-alist): Doc fix.
14701 (display-buffer): Add docstring. Don't treat
14702 display-buffer-default specially.
14703 (display-buffer-reuse-selected-window)
14704 (display-buffer-same-window, display-buffer-maybe-same-window)
14705 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14706 (display-buffer-pop-up-window)
14707 (display-buffer-reuse-or-pop-window)
14708 (display-buffer-use-some-window): New functions.
14709 (display-buffer-default-action): Use them.
14710 (display-buffer-default): Delete.
14711 (pop-to-buffer-1): Fix choice of actions.
14713 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * minibuffer.el (completion--insert-strings): Don't get confused by
14716 completion entries that end with an LF char.
14718 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14720 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14722 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14724 * window.el (display-buffer): Restore interactive spec.
14725 (display-buffer-same-window, display-buffer-other-window):
14727 (pop-to-buffer-1): New function. Use the above.
14728 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14729 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14731 * view.el (view-buffer-other-window, view-buffer-other-frame):
14732 Just use pop-to-buffer.
14734 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14736 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14738 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14740 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14742 2011-08-31 Richard Stallman <rms@gnu.org>
14744 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14745 of the separation of rmail-view-buffer from rmail-buffer.
14746 If you say no to "replace original", the decrypt is in the
14747 view buffer. If you say yes, the decrypt goes into the
14750 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14752 * window.el (display-buffer-window): Rewrite doc-string.
14753 (display-buffer-record-window): New function.
14754 (display-buffer-macro-specifiers)
14755 (display-buffer-even-window-sizes, display-buffer-set-height)
14756 (display-buffer-set-width, display-buffer-in-window)
14757 (display-buffer-reuse-window, display-buffer-split-specifiers)
14758 (display-buffer-side-specifiers, display-buffer-split-window-1)
14759 (display-buffer-split-window, display-buffer-split-atom-window)
14760 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14761 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14762 (display-buffer-other-window-means-other-frame)
14763 (display-buffer-normalize-special)
14764 (display-buffer-normalize-default)
14765 (display-buffer-normalize-argument)
14766 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14767 (display-buffer-normalize-specifiers, display-buffer-frame)
14768 (display-buffer-same-window, display-buffer-same-frame)
14769 (display-buffer-other-window)
14770 (display-buffer-same-frame-other-window)
14771 (display-buffer-other-frame, pop-to-buffer-same-window)
14772 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14773 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14774 (switch-to-buffer-same-frame)
14775 (switch-to-buffer-other-window-same-frame)
14776 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14777 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14778 (display-buffer-alist-set): Remove.
14779 (display-buffer-function, special-display-buffer-names)
14780 (special-display-regexps, special-display-function):
14781 In doc-string refer to display-buffer-window and quit-restore
14783 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14784 (special-display-frame-alist, special-display-popup-frame)
14785 (same-window-buffer-names, same-window-regexps, same-window-p)
14786 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14787 (split-window-preferred-function, split-height-threshold)
14788 (split-width-threshold, window-splittable-p)
14789 (split-window-sensibly, window--try-to-split-window)
14790 (window--frame-usable-p, even-window-heights)
14791 (window--even-window-heights, window--display-buffer-1)
14792 (window--display-buffer-2, display-buffer-other-frame):
14793 Restore old Emacs 23 code, order and doc-strings where applicable.
14794 (display-buffer-default, display-buffer-assq-regexp): New functions.
14795 (display-buffer-alist): Rewrite doc-string.
14796 (display-buffer-default-action)
14797 (display-buffer-overriding-action): New variables.
14798 (display-buffer, switch-to-buffer): Rewrite.
14799 (pop-to-buffer): Restore Emacs 23 behavior but use
14800 window-normalize-buffer-to-display.
14801 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14802 Restore Emacs 23 behavior but use
14803 window-normalize-buffer-to-switch-to.
14804 (pop-to-buffer-same-window): Rewrite.
14805 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14806 Rewrite using Emacs 23 options.
14808 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14810 * net/tramp.el (tramp-root-regexp): Remove.
14811 (tramp-completion-file-name-regexp-unified)
14812 (tramp-completion-file-name-regexp-separate)
14813 (tramp-completion-file-name-regexp-url): Don't use leading volume
14814 letter on w32 systems. (Bug#5303, Bug#9311)
14815 (tramp-drop-volume-letter): Simplify definition.
14816 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14818 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14820 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14823 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14825 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14827 2011-08-29 Juri Linkov <juri@jurta.org>
14829 * isearch.el (isearch-done): Don't display message "Mark saved"
14830 when arg `edit' is non-nil to prevent its flicker in the echo area.
14832 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14834 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14835 obsolete packages for deletion.
14837 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14839 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14840 (help-mode): Derive help-mode from special-mode. Don't invoke
14841 view-mode from help-mode.
14842 (help-xref-override-view-map): Remove.
14843 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14844 view-mode is not used anymore.
14846 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14848 * server.el (server-port): Doc fix.
14850 * cus-theme.el (custom-theme-choose-mode): Inherit from
14851 special-mode (Bug#9124).
14852 (custom-theme-choose-mode-map): Add special-mode to parent.
14854 2011-08-28 Alan Mackenzie <acm@muc.de>
14856 * progmodes/cc-fonts.el
14857 (c-make-font-lock-BO-decl-search-function): New function.
14858 (c-basic-matchers-after - "Fontify the clauses after various
14859 keywords"): Extract the three keyword lists for the 3 erroneous
14860 constructs from the list of four, and use the new function above
14861 in place of an old one.
14863 2011-08-28 Deniz Dogan <deniz@dogan.se>
14865 * net/rcirc.el (rcirc-insert-prev-input)
14866 (rcirc-insert-next-input): Remove unused argument.
14868 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14870 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14872 2011-08-27 Alan Mackenzie <acm@muc.de>
14874 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14875 handle function pointer parameters properly.
14877 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14879 * window.el (display-buffer-reuse-window): Fix case where
14880 selected window was reused with non-nil OTHER-WINDOW argument.
14883 2011-08-27 Deniz Dogan <deniz@dogan.se>
14885 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14886 oftc's NickServ messages.
14888 2011-08-27 Glenn Morris <rgm@gnu.org>
14890 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14892 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14894 * emacs-lisp/package.el (package-install): Call package-initialize
14895 if called interactively.
14897 2011-08-26 Leo Liu <sdl.web@gmail.com>
14899 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14901 2011-08-25 Juri Linkov <juri@jurta.org>
14903 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14904 `search-whitespace-regexp' (bug#9364).
14906 2011-08-25 Juri Linkov <juri@jurta.org>
14908 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14909 `regexp-search-ring' to their global values to protect from
14910 updating by `read-from-minibuffer' (bug#9185).
14912 2011-08-25 Juri Linkov <juri@jurta.org>
14914 * textmodes/ispell.el (ispell-command-loop): Add newline
14915 at the end of the "Use option `i'..." line.
14917 2011-08-25 Juri Linkov <juri@jurta.org>
14919 * battery.el (display-battery-mode): If `battery-status-function'
14920 or `battery-mode-line-format' is nil, display the message and set
14921 `display-battery-mode' to nil (bug#9363).
14923 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14925 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14926 bidi-string-mark-left-to-right; they are unnecessary now.
14928 2011-08-25 Deniz Dogan <deniz@dogan.se>
14930 * net/quickurl.el: Documentation typo fixes.
14932 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14934 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14936 2011-08-25 Glenn Morris <rgm@gnu.org>
14938 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14940 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14941 (smtpmail-via-smtp): Handle nil response from smtp.
14943 2011-08-24 Juri Linkov <juri@jurta.org>
14945 * proced.el (proced-marked): Inherit from `error' instead of
14946 `font-lock-warning-face'.
14948 * ibuffer.el (ibuffer-marked-face): Change default face from
14949 `font-lock-warning-face' to `warning'.
14950 (ibuffer-deletion-face): Change default face from
14951 `font-lock-type-face' to `error'.
14953 * battery.el (battery-update): Use the face `error' instead of
14954 `font-lock-warning-face' (bug#6117).
14956 2011-08-24 Juri Linkov <juri@jurta.org>
14958 * faces.el (success): Change face color from "Green3" to
14959 "ForestGreen" on light background (bug#9353).
14961 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14963 * window.el (quit-window): Rename from quit-restore-window.
14964 Use same arglist as old quit-window.
14965 (frame-auto-delete): Doc fix.
14967 * view.el (view-mode-exit): Use quit-window.
14969 2011-08-24 Juri Linkov <juri@jurta.org>
14971 * isearch.el (isearch-ring-adjust1): Start visiting previous
14972 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14973 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14974 for empty search string (when the last search string is reused
14975 automatically) to adjust the isearch ring to the last element and
14976 prepare the correct index for further M-p commands (bug#9185).
14978 2011-08-24 Kenichi Handa <handa@m17n.org>
14980 * international/ucs-normalize.el: If decomposition property of
14981 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14983 (nfd, nfkd): Likewise.
14985 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14987 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14988 from process filters aren't reliably transmitted to the surrounding
14989 accept-process-output.
14990 (mpc-proc-check): New function.
14991 (mpc-proc-sync): Use it (bug#8293)
14993 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14995 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14996 Add compatibility functions (bug#9313).
14998 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15000 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15002 * international/uni-bidi.el: Regenerate.
15004 2011-08-23 Kenichi Handa <handa@m17n.org>
15006 * international/charprop.el:
15007 * international/uni-bidi.el:
15008 * international/uni-category.el:
15009 * international/uni-combining.el:
15010 * international/uni-comment.el:
15011 * international/uni-decimal.el:
15012 * international/uni-decomposition.el:
15013 * international/uni-digit.el:
15014 * international/uni-lowercase.el:
15015 * international/uni-mirrored.el:
15016 * international/uni-name.el:
15017 * international/uni-numeric.el:
15018 * international/uni-old-name.el:
15019 * international/uni-titlecase.el:
15020 * international/uni-uppercase.el: Regenerate.
15022 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15024 * help.el (help-window-setup): Fix message displayed when other
15025 window is reused. (Bug#9341)
15027 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15029 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15030 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15032 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15034 * shell.el (shell-parse-pcomplete-arguments): New function.
15035 (shell-completion-vars): Use it instead (bug#9160).
15037 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15040 strings and comments (bug#9333).
15042 * emacs-lisp/debug.el (debug-arglist): New function.
15043 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15044 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15046 2011-08-22 Juri Linkov <juri@jurta.org>
15048 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15049 Revert regexp that highlights output switches to its old
15050 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15052 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15053 to check for empty output (bug#9226).
15055 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15057 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15058 symbol-constituent as the default, as that stops font-lock from
15059 working properly (Bug#8843).
15061 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15063 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15064 `coding-system-for-*' around the process open call to avoid
15065 auth-source side effects.
15066 (smtpmail-try-auth-methods): Expand the secret password.
15067 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15070 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15072 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15074 * emacs-lisp/find-func.el (find-function-noselect): New arg
15077 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15078 signal an error for built-in functions (Bug#6664).
15080 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15082 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15083 (smtpmail-try-auth-methods): Use it.
15085 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15087 * font-lock.el (font-lock-fontify-region)
15088 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15089 (font-lock-default-unfontify-buffer)
15090 (font-lock-default-fontify-region)
15091 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15093 * progmodes/compile.el (compilation-error-properties):
15094 Fix confusion between file struct and message struct (Bug#9319).
15095 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15098 * net/browse-url.el (browse-url-firefox): Don't call
15099 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15101 2011-08-20 Glenn Morris <rgm@gnu.org>
15103 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15105 * tutorial.el (tutorial--default-keys): Update some default bindings.
15107 * files.el (hack-local-variables): Fully ignore case for "mode:".
15109 2011-08-20 Alan Mackenzie <acm@muc.de>
15111 Resolve invalid use of a regexp in regexp-opt.
15113 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15114 detection for a java annotation.
15116 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15117 detection for a java annotation.
15119 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15121 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15123 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15125 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15128 2011-08-20 Alan Mackenzie <acm@muc.de>
15130 Fontify CPP expressions correctly when starting in the middle of
15131 such a construct. Mainly for when jit-lock etc. starts a chunk
15134 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15136 (c-make-font-lock-search-form): New function, extracted from
15137 c-make-font-lock-search-function.
15138 (c-make-font-lock-search-function): Use the above function.
15139 (c-make-font-lock-context-search-function): New function.
15140 (c-cpp-matchers): Enhance the preprocessor expression case with
15142 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15143 which takes an expression.
15145 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15147 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15149 * window.el (display-buffer-reuse-window)
15150 (display-buffer-pop-up-window): Don't reuse or split a side
15153 2011-08-19 Glenn Morris <rgm@gnu.org>
15155 * files.el (hack-local-variables-prop-line, hack-local-variables):
15156 Downcase "Mode:". (Bug#9331)
15158 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15160 * international/characters.el: Add L and R categories.
15162 * subr.el (bidi-string-mark-left-to-right): Rename from
15163 string-mark-left-to-right. Use category search.
15165 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15167 2011-08-18 Juri Linkov <juri@jurta.org>
15169 * faces.el (error, warning, success): New faces with definitions
15170 copied from old default values of `font-lock-warning-face',
15171 `compilation-warning', `compilation-info' (bug#6117).
15173 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15175 * progmodes/compile.el (compilation-error): Inherit from `error'.
15176 (compilation-warning): Inherit from `warning'.
15177 (compilation-info): Inherit from `success'.
15179 * dired.el (dired-marked): Inherit from `warning'.
15180 (dired-flagged): Inherit from `error'.
15182 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15184 * mail/smtpmail.el (auth-source): Require to avoid problems with
15185 binding variables (bug#9298). Also clean up some unused
15188 * net/network-stream.el (network-stream-open-starttls):
15189 Support using starttls.el without using gnutls-cli.
15191 2011-08-17 Juri Linkov <juri@jurta.org>
15193 * progmodes/grep.el (rgrep): Handle the case when
15194 `grep-find-command' is a cons cell (bug#9278).
15196 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15198 * window.el (display-buffer-pop-up-frame): Run frame creation
15199 function with BUFFER current (as special-display-popup-frame
15200 does). Reported by Drew Adams.
15202 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15204 * epa-mail.el: Simplify GnuPG group expansion using
15206 (epa-mail-group-alist, epa-mail-group-modtime)
15207 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15208 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15209 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15212 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15214 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15216 2011-08-16 Alan Mackenzie <acm@muc.de>
15218 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15219 Correct, to avoid the inside of macros.
15221 2011-08-16 Richard Stallman <rms@gnu.org>
15223 * epa-mail.el: Handle GnuPG group definitions.
15224 (epa-mail-group-alist, epa-mail-group-modtime)
15225 (epa-mail-gnupg-conf-file): New variables.
15226 (epa-mail-parse-groups, epa-mail-sync-groups)
15227 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15228 (epa-mail-expand-recipients): New functions.
15229 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15231 * mail/rmail.el (rmail-epa-decrypt): New command.
15233 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15234 Don't bind buffer-read-only, just inhibit-read-only.
15235 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15236 (epa-decrypt-armor-in-region): Make error message clearer.
15238 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15240 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15241 and "a2b" to "ab" for `prefix'.
15243 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15245 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15247 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15248 Fourquet (Bug#8804).
15250 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15252 * startup.el (argi): Declare as global variable (bug#9275).
15254 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15256 * subr.el (string-mark-left-to-right): Search the entire string
15257 for RTL script, not just the terminating character. Doc fix.
15259 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15261 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15263 (js--regexp-literal, js-syntax-propertize-function): Remove.
15264 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15265 (js-mode-map): Don't rebind electric keys.
15266 (js-insert-and-indent): Remove.
15267 (js-mode): Setup electric-layout and electric-indent instead.
15269 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15271 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15273 * epa.el (epa-progress-callback-function): Fix the logic of
15274 displaying progress.
15275 * epa-file.el (epa-file-insert-file-contents): Make progress
15276 display more user-friendly.
15277 (epa-file-write-region): Ditto.
15279 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15281 * subr.el (string-mark-left-to-right): New function.
15283 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15284 Use string-mark-left-to-right.
15285 (list-buffers-noselect): Caller changed.
15287 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15288 Use string-mark-left-to-right.
15289 (tabulated-list-print): Recenter after moving point.
15291 2011-08-10 Juri Linkov <juri@jurta.org>
15293 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15294 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15295 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15297 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15299 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15302 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15304 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15305 character. (Bug#6594)
15307 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15309 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15310 (image-dired--with-db-file): New macro.
15311 (image-dired-write-tags, image-dired-remove-tag)
15312 (image-dired-create-gallery-lists, image-dired-write-comments)
15313 (image-dired-get-comment, image-dired-mark-tagged-files)
15314 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15315 (image-dired-gallery-generate): Use insert-file-contents.
15317 * time.el (display-time-world-list, display-time-world-display):
15318 * time-stamp.el (time-stamp-string):
15319 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15320 set-time-zone-rule (Bug#7337).
15322 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15324 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15325 (epg-error-to-string, epg-errors-to-string): New function.
15326 (epg-wait-for-completion): Reverse errors list.
15327 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15328 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15329 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15330 (epg-sign-keys, epg-generate-key-from-file)
15331 (epg-generate-key-from-string): Format errors by using
15332 epg-errors-to-string (bug#9255).
15333 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15335 2011-08-07 Juri Linkov <juri@jurta.org>
15337 * faces.el (list-faces-display): Remove extra angle bracket
15338 from `help-mode-map'.
15340 * info.el (Info-history-toc-nodes): Doc fix.
15342 * longlines.el (longlines-mode): Doc fix.
15344 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15346 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15347 of statements and in a few more cases (bug#9183).
15349 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15351 (cl-transform-lambda): Use them (bug#9239).
15353 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15355 * window.el (display-buffer-same-window)
15356 (display-buffer-same-frame, display-buffer-other-window)
15357 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15358 (pop-to-buffer-other-window)
15359 (pop-to-buffer-same-frame-other-window)
15360 (pop-to-buffer-other-frame): Make them defuns.
15361 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15363 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15365 * subr.el (make-composed-keymap): Move from C. Change calling
15366 convention, and improve docstring to bring attention to a subtle point.
15367 * minibuffer.el (completing-read-default): Adjust accordingly.
15369 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15371 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15372 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15374 * net/trampver.el: Update release number.
15376 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15378 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15381 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15383 * mail/sendmail.el (sendmail-query-once): Restore the current
15384 buffer after querying (bug#9074).
15386 * dired.el (dired-flagged): Use different faces for marked and
15387 flagged files (bug#6117).
15389 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15392 * ido.el (ido-mode): Switch off the message if called
15395 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15396 before 587, since it appears that that's more likely to work for
15399 * cus-edit.el (custom-file): When running under emacs -q, always
15400 refuse to save the customizations, even if the .emacs file doesn't
15403 * info.el: Remove the `Info-beginning-of-buffer' function
15406 * net/network-stream.el (network-stream-open-starttls):
15407 Use `starttls-available-p' to see whether starttls.el can be used.
15409 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15411 * window.el (display-buffer-in-window): Don't set dedicated status
15412 of window here (Bug#9215).
15413 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15414 (display-buffer-pop-up-side-window)
15415 (display-buffer-in-side-window): Set dedicated status of window here.
15417 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15419 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15420 before binding generated-autoload-file.
15422 2011-08-01 Deniz Dogan <deniz@dogan.se>
15424 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15426 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15428 Sync with Tramp 2.2.2.
15430 * net/trampver.el: Update release number.
15432 2011-07-30 Juri Linkov <juri@jurta.org>
15434 * dired-aux.el (dired-touch-initial): Remove function.
15435 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15436 current time, and `default' to the last modification time of the
15437 current marked file (bug#6887).
15439 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15441 * simple.el (goto-line): Use string-to-number to provide a
15442 numeric argument to read-number (bug#9163).
15444 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15446 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15447 connection process, it could be nil.
15449 2011-07-27 Leo Liu <sdl.web@gmail.com>
15451 Simplify url handling in rcirc-mode.
15453 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15454 (rcirc-browse-url-at-mouse): Remove.
15455 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15457 2011-07-26 Alan Mackenzie <acm@muc.de>
15459 Fontify bitfield declarations properly.
15461 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15462 (c-symbol-chars): Now exported as a lang variable.
15463 (c-not-primitive-type-keywords): New lang variable.
15465 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15466 QT keyword "more" to prevent "more slots: ...." being spuriously
15467 parsed as a bitfield declaration.
15469 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15470 Refactor and enhance to handle bitfield declarations.
15471 (c-punctuation-in): New function.
15472 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15473 declarations properly.
15475 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15477 * calendar/icalendar.el (icalendar--all-events): Take care of
15478 multiple vcalendars in a single file.
15479 (icalendar--convert-float-to-ical): Checkdoc fixes.
15481 2011-07-25 Deniz Dogan <deniz@dogan.se>
15483 * image.el (insert-image): Clarifying docstring.
15485 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15487 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15488 `tramp-send-command-and-check' if there is no error.
15489 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15491 2011-07-22 Alan Mackenzie <acm@muc.de>
15493 Prevent cc-langs.elc being loaded at run time.
15495 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15498 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15499 "(require 'cc-langs)". Quote a form so it will evaluate at
15500 (cc-mode's) compilation time.
15502 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15504 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15505 loading. (Bug#9114)
15507 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15509 * window.el (display-buffer-pop-up-window)
15510 (display-buffer-pop-up-side-window)
15511 (display-buffer-in-side-window): Call display-buffer-set-height
15512 and display-buffer-set-width after setting the new window's
15513 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15515 2011-07-20 Sam Steingold <sds@gnu.org>
15517 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15518 (etags-tags-included-tables): Call `convert-standard-filename' on
15519 the file names contained in TAGS so that windows Emacs can handle
15520 TAGS files created by cygwin ctags.
15522 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15524 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15525 which apparently didn't work.
15527 2011-07-19 Roland Winkler <winkler@gnu.org>
15529 * proced.el (proced-send-signal): For *Marked Processes* buffer
15530 put point at beginning of buffer.
15532 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15534 * proced.el (proced-format): Make header lines align with the text
15537 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539 * view.el (view-buffer): Allow running in `special' modes if we're
15540 visiting a file (bug#8615).
15542 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15544 * window.el (display-buffer-alist-of-strings-p)
15545 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15547 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15550 2011-07-18 Alan Mackenzie <acm@muc.de>
15552 Fontify declarators properly when, e.g., a jit-lock chunk begins
15553 inside a declaration.
15555 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15557 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15559 (c-complex-decl-matchers): Insert reference to
15560 c-font-lock-enclosing-decls.
15562 * progmodes/cc-engine.el (c-backward-single-comment):
15563 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15564 to nil around calls to (forward-comment -1).
15566 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568 * image.el (put-image): Doc typo fix.
15570 * progmodes/etags.el (tags-search): Doc typo fix.
15572 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15573 password if we get errors 550 to 554.
15575 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15577 * net/gnutls.el (gnutls-log-level): Remove.
15579 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15580 indentation character (bug#6380).
15582 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15584 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15585 to clarify what the problem is (bug#4291).
15587 * simple.el (current-kill): Clarify what
15588 `interprogram-paste-function' does (bug#7500).
15589 (auto-fill-mode): Document `auto-fill-function' in relation to
15590 `auto-fill-mode' (bug#2470).
15592 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15594 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15595 method if slot is read-only (bug#9035).
15597 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15599 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15600 * window.el (pop-to-buffer): Select window used even if it was
15601 selected before, see discussion of (Bug#8615), (Bug#6954).
15602 Pass argument NORECORD on to select-frame-set-input-focus.
15604 2011-07-15 Glenn Morris <rgm@gnu.org>
15606 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15609 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15611 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15612 (gnutls-negotiate): Use it.
15614 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616 * net/gnutls.el (gnutls-negotiate):
15617 Upcase `gnutls-algorithm-priority'.
15619 2011-07-15 Glenn Morris <rgm@gnu.org>
15621 * jka-compr.el (jka-compr-verbose): Move from here...
15622 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15623 Add missing :version tag.
15624 * info.el: No need to require jka-compr when compiling.
15626 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15628 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15629 (gnutls-negotiate): Use it.
15631 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15633 * info.el (Info-beginning-of-buffer): New command.
15634 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15635 announcing `b' as the key (bug#8325).
15636 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15638 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15640 * international/mule-cmds.el
15641 (describe-specified-language-support): Make the error message
15642 clearer (bug#8905).
15644 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15646 * isearch.el (isearch-barrier): Add a doc string, since it's
15647 mentioned in a function doc string (bug#8678).
15649 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15651 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15652 buffer argument (Bug#9083) and self-identifying label argument.
15654 2011-07-15 Glenn Morris <rgm@gnu.org>
15656 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15658 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15660 * man.el (Man-fontify-manpage): Fix message when formatting the
15661 man page (bug#7929).
15663 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15665 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15666 argument LRM; if non-nil, append an invisible LRM character to the
15668 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15669 last argument non-nil, when formatting buffer names.
15670 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15671 paragraph direction.
15673 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15675 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15676 the man page name (bug#7929).
15678 * image.el (put-image): Mention the `put-image' overlay property
15681 * scroll-bar.el (set-scroll-bar-mode): Mention that
15682 `scroll-bar-mode' lists the values (bug#7772).
15684 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15685 command (bug#7729).
15687 * rect.el (apply-on-rectangle): Return the point after the last
15689 (string-rectangle): Go to the point after the last operation
15692 * printing.el (pr-toggle-region): Clarify the documentation
15693 slightly (bug#7493).
15695 * time.el (display-time-update):
15696 Allow `display-time-mail-function' to return nil (bug#7158).
15697 Fix suggested by Detlev Zundel.
15699 * vc/diff.el (diff): Clarify the order the file names are read
15702 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15703 the doc string (bug#7015).
15705 * font-lock.el (font-lock-maximum-decoration): Mention what
15706 numeric levels mean (bug#6935).
15708 * startup.el (initial-buffer-choice): Don't mention the `none'
15709 selection, which is against policy.
15711 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15713 * window.el (display-buffer-normalize-special):
15714 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15716 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15718 * subr.el (version<, version<=, version=): Mention "-CVS" and
15719 "-12345" alpha version numbers.
15721 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15723 * bindings.el: Add advertised binding for set-mark-command
15726 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15728 * bindings.el (mode-line-other-buffer):
15729 * bookmark.el (bookmark-bmenu-2-window):
15730 * bs.el (bs-cycle-next, bs-cycle-previous):
15731 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15734 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15737 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15739 * follow.el (follow-debug-message, follow-redisplay):
15740 * jka-cmpr-hook.el (with-auto-compression-mode):
15741 Fix typos in docstrings.
15743 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15745 * subr.el (with-silent-modifications): Clarify somewhat what the
15746 macro inhibits (bug#6525).
15748 * simple.el (eval-expression): Note what it does if called
15749 interactively (bug#6495).
15751 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15753 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15754 Use pop-to-buffer buffer-or-name if it is nil.
15756 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15757 Remove switch-to-buffer.
15759 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15761 * files.el (make-directory): Clarify that an error will be raised
15762 if there's an error (bug#6397).
15764 * startup.el (initial-buffer-choice): Add `none' as a choice
15767 * subr.el (add-hook): Clarify section about buffer-local hooks
15770 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15772 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15774 * tabify.el (untabify): Preserve the current column so that point
15775 doesn't move (bug#6032).
15777 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15779 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15780 Rewrite to avoid awkward possessive "s" (bug#5986).
15782 2011-07-13 Glenn Morris <rgm@gnu.org>
15784 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15785 (dired-insert-directory): Give a message the first time
15786 if ls is found not to support --dired.
15788 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790 * simple.el (toggle-truncate-lines): Clarify what is toggled
15791 (bug#5580). Text by Drew Adams.
15793 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15795 * simple.el (blink-matching-open): Make the error message from the
15796 last change less verbose.
15798 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15800 * font-lock.el (font-lock-comment-face): Use the high contrast
15801 "yellow" color for font-lock-comment-face on low color terminals
15802 using a dark background color (bug#4221).
15804 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15806 * dired.el (dired-insert-set-properties): Make the doc string
15807 reflect what it does now (bug#5325).
15809 * simple.el (blink-matching-open): Say that we were unable to find
15810 the match within the limit, if we're limited (bug#5122).
15812 * international/mule-cmds.el (prefer-coding-system): Add an
15813 example (bug#4869).
15815 * progmodes/etags.el (tags-search): Document `file-list-form'
15818 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15820 * net/browse-url.el (browse-url-default-browser)
15821 (browse-url-browser-function): Make the default browser choice a
15822 bit more logical (bug#4300). Also clean up the doc string.
15824 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15826 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15827 binary endings (bug#4440).
15829 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15831 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15832 which can be pretty annoying (bug#8971).
15834 * jka-compr.el (jka-compr-verbose): New variable, and use
15835 throughout (bug#8971).
15837 * info.el (Info-find-file): Fall back on the installation
15838 directory if we can't find the info node anywhere else.
15840 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15842 * vc/vc.el (vc-revert-file):
15843 Don't set file time-stamp in the past. (Bug#5181)
15845 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15847 * files.el (after-find-file): Give a better error message when
15848 trying to find a symlink that points to a file that doesn't exist
15851 * progmodes/cc-vars.el: Remove (probably) misleading comment
15854 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15856 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15858 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15860 * mouse-sel.el: Hack restoring functionality, while keeping
15861 compatibility with 2010-07-03 changes to mouse selection.
15862 (mouse-sel-primary-overlay): New var.
15863 (mouse-sel-selection-alist): Use it.
15864 (mouse-sel-mode): Doc fix; remove points that are default features
15867 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15869 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15870 Fix previous fix (bug#2490).
15872 2011-07-12 Roland Winkler <winkler@gnu.org>
15874 * textmodes/bibtex.el (bibtex-initialize):
15875 Use pop-to-buffer-same-window.
15876 (bibtex-search-entries): Fix interactive call.
15878 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15880 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15881 Fontise bytecomp Error lines more correctly (bug#2490).
15882 Fix suggested by Johan Bockgård.
15884 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15886 * dired-x.el (dired-guess-default): Use `delete-dups'.
15888 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15890 * dired.el (dired-mark-prompt):
15891 * dired-aux.el (dired-read-shell-command): Doc fix.
15893 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15895 * mail/sendmail.el (sendmail-query-once):
15896 Use `customize-save-variable' unconditionally, now that it works under
15899 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15901 * cus-edit.el (custom-file): Take an optional no-error variable.
15902 (customize-save-variable): Set the variable, and give a warning if
15903 running under "emacs -q".
15905 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15907 * loadhist.el (unload-feature-special-hooks):
15908 Add `auto-coding-functions', `fill-nobreak-predicate' and
15909 `find-directory-functions' (bug#5327).
15911 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15913 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15915 * cus-edit.el (custom-guess-name-alist): -alist variables should
15916 use the `alist' type (bug#3120). Suggested by Drew Adams.
15918 * printing.el: Add documentation to all the `pr-toggle-' commands.
15920 2011-07-11 Leo Liu <sdl.web@gmail.com>
15922 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15923 backends where it makes sense (bug#2623).
15925 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15927 * dired-x.el (dired-guess-default): Remove duplicate shell command
15928 entries (bug#2028).
15929 (dired-guess-default): Fix grammar in doc string (bug#2028).
15930 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15932 * subr.el (remove-duplicates): New conveniency function.
15934 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15936 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15939 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15941 * window.el (display-buffer-normalize-default): Don't invert
15942 meaning of even-window-heights. Reported by Eli Zaretskii
15945 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15947 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15949 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15951 * window.el (display-buffer): Fix arguments to
15952 display-buffer-reuse-window in last change.
15954 * faces.el (link): Use a less saturated blue on light backgrounds.
15956 * startup.el (fancy-startup-text, fancy-about-text)
15957 (fancy-startup-tail): Use font-lock faces, for background safety.
15959 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15961 * emulation/viper-cmd.el (viper-change-state-to-vi):
15962 Limit triggering of abbrev expansion (Bug#9038).
15964 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15966 * window.el (display-buffer-default-specifiers): Remove.
15967 (display-buffer-macro-specifiers): Remove default specifiers.
15968 (display-buffer-alist): Default to nil.
15969 (display-buffer-reuse-window): New optional argument other-window.
15970 (display-buffer-pop-up-window): Allow splitting internal
15971 windows. Check whether a live window was created.
15972 (display-buffer-other-window-means-other-frame)
15973 (display-buffer-normalize-arguments): Rename to
15974 display-buffer-normalize-argument and rewrite. Set the
15975 other-window specifier.
15976 (display-buffer-normalize-special): New function.
15977 (display-buffer-normalize-options): Rename to
15978 display-buffer-normalize-default and rewrite.
15979 (display-buffer-normalize-options-inhibit): Remove.
15980 (display-buffer-normalize-specifiers): Rewrite.
15981 (display-buffer): Process other-window specifier and call
15982 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15984 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15985 (display-buffer-alist-set): Don't handle 'unset default values.
15986 (display-buffer-in-window, display-buffer-alist-set):
15987 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15988 <tassilo@member.fsf.org>.
15990 2011-07-09 Leo Liu <sdl.web@gmail.com>
15992 * register.el (insert-register): Restore accidental change on
15993 2011-06-26. (Bug#9028)
15995 2011-07-09 Glenn Morris <rgm@gnu.org>
15997 * subr.el (remq): Handle the empty list. (Bug#9024)
15999 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16001 * mail/sendmail.el (send-mail-function): No longer delay custom
16003 * custom.el (custom-initialize-delay): Doc fix.
16005 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16007 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16009 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16011 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16012 human-friendly prompt.
16014 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16016 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16017 provided by a particular plugin.
16019 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16021 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16022 save customizations (with "emacs -Q"), just set the variable
16023 instead of erroring out.
16025 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16027 2011-07-08 Juri Linkov <juri@jurta.org>
16029 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16030 (archive-zip-update-case): Use 7z if found by `executable-find'.
16031 The order of searching the available programs is the same as in
16032 `archive-zip-extract' (bug#8968).
16034 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16036 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16037 (menu-bar-options-menu): Tweak descriptions.
16039 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16041 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16042 menu items into verb phrases (bug#1421). Also refill to fit under
16045 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16047 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16048 (Info-read-node-name): Doc fix (Bug#1084).
16050 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16051 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16052 (end-of-sexp, beginning-of-sexp)
16053 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16054 (forward-symbol, forward-same-syntax, word-at-point)
16055 (sentence-at-point): Doc fix (Bug#1144).
16057 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16059 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16060 should cover it (bug#1281).
16062 * cus-edit.el (custom-show): Mark as obsolete.
16064 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16065 negotiation fails, then possibly try again with a non-encrypted
16066 connection (bug#9017).
16068 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16071 2011-07-07 Richard Stallman <rms@gnu.org>
16073 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16074 property, and handle its changed format.
16075 Look for the correct line number.
16076 Use file's line contents (but not past first =) to find
16077 correct line in message.
16079 2011-07-07 Kenichi Handa <handa@m17n.org>
16081 * international/characters.el (build-unicode-category-table):
16083 (unicode-category-table): Set it by unicode-property-table-internal.
16085 * international/mule-cmds.el (char-code-property-alist): Move to
16087 (get-char-code-property): Call unicode-property-table-internal to
16088 load a file. Call get-unicode-property-internal where necessary.
16089 (put-char-code-property): Call unicode-property-table-internal to
16090 load a file. Call put-unicode-property-internal where necessary.
16091 put-unicode-property-internal where necessary.
16092 (char-code-property-description):
16093 Call unicode-property-table-internal to load a file.
16095 * international/charprop.el:
16096 * international/uni-bidi.el:
16097 * international/uni-category.el:
16098 * international/uni-combining.el:
16099 * international/uni-comment.el:
16100 * international/uni-decimal.el:
16101 * international/uni-decomposition.el:
16102 * international/uni-digit.el:
16103 * international/uni-lowercase.el:
16104 * international/uni-mirrored.el:
16105 * international/uni-name.el:
16106 * international/uni-numeric.el:
16107 * international/uni-old-name.el:
16108 * international/uni-titlecase.el:
16109 * international/uni-uppercase.el: Regenerate.
16111 * loadup.el: Load international/charprop.el before
16112 international/characters.
16114 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16116 * window.el (next-buffer, previous-buffer): Signal an error if
16117 called from a minibuffer window.
16119 * bindings.el: Revert 2011-07-04 change.
16121 2011-07-06 Richard Stallman <rms@gnu.org>
16123 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16124 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16125 Treat markers like ints.
16126 (rmail-mime-entity): Doc fix.
16128 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16130 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16131 defcustom again for backwards compatibility.
16133 * simple.el (shell-command-on-region): Fill.
16135 * dired-aux.el (dired-kill-line): Add a doc string.
16137 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16138 to "\\sw\\|\\s_" (bug#358).
16140 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16141 (dired-unmark-backward): Ditto.
16142 (dired-flag-backup-files): Ditto.
16144 * dired-x.el (dired-mark-sexp): Ditto.
16146 2011-07-06 Richard Stallman <rms@gnu.org>
16148 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16149 (rmail-mime-entity): New arg TRUNCATED.
16150 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16152 (rmail-mime-save): Warn if entity is truncated.
16153 (rmail-mime-toggle-hidden): Likewise, for showing.
16154 (rmail-mime-process-multipart): Record when an entity is truncated.
16156 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16157 if ENTITY is a string.
16159 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16161 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16162 of faces when `M-C-x'-ing their definitions (bug#8378).
16163 Also clean up the code slightly.
16165 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16166 because that makes the colors go away.
16168 * mail/sendmail.el (send-mail-function): Change the default to
16169 `sendmail-query-once'.
16170 (sendmail-query-once): Add an autoload cookie.
16172 * net/network-stream.el (network-stream-open-starttls): Try using
16173 a plain connection even if the server offered STARTTLS, and we
16174 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16175 capability. This should make smtpmail.el work in slightly more
16178 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16180 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16182 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16184 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16186 * progmodes/sql.el: Version 3.0
16187 (sql-product-alist): Add product :completion-object,
16188 :completion-column, and :statement attributes.
16189 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16190 (sql-mode-syntax-table): Mark all punctuation.
16191 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16193 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16194 (sql-mode-oracle-font-lock-keywords): Improve.
16195 (sql-oracle-show-reserved-words): New function for development.
16196 (sql-product-font-lock): Simplify for source code buffers.
16197 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16199 (sql-highlight-product): Set product specific syntax table.
16200 (sql-mode-map): Add statement movement functions.
16201 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16203 (sql-statement-regexp, sql-beginning-of-statement)
16204 (sql-end-of-statement, sql-signum): New functions.
16205 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16206 (sql-show-sqli-buffer): Bug fix.
16207 (sql-interactive-mode): Store connection data as buffer local.
16208 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16209 with sql-interactive-mode.
16210 (sql-save-connection): Save buffer local settings.
16211 (sql-connection-menu-filter): Change menu entry name.
16212 (sql-product-interactive): Bug fix.
16213 (sql-preoutput-hold): New variable.
16214 (sql-interactive-remove-continuation-prompt): Bug fixes.
16215 (sql-debug-redirect): New variable.
16216 (sql-str-literal): New function.
16217 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16219 (sql-oracle-save-settings, sql-oracle-restore-settings)
16220 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16221 (sql-completion-object, sql-completion-column)
16222 (sql-completion-sqlbuf): New variables.
16223 (sql-build-completions-1, sql-build-completions)
16224 (sql-try-completion): New functions.
16225 (sql-read-table-name): Use them.
16226 (sql-contains-names): New buffer local variable.
16227 (sql-list-all, sql-list-table): Use it.
16228 (sql-oracle-completion-types): New variable.
16229 (sql-oracle-completion-object, sql-sqlite-completion-object)
16230 (sql-postgres-completion-object): New functions.
16232 2011-07-06 Glenn Morris <rgm@gnu.org>
16234 * window.el (pop-to-buffer): Doc fix.
16236 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16238 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16240 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16242 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16244 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16246 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16248 * button.el (button): Inherit from link face. Suggested by Dan
16251 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16253 * progmodes/gdb-mi.el: Fit in 80 columns.
16254 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16257 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16258 if imenu is simply not configured (bug#8941).
16260 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16262 * allout.el (allout-post-undo-hook): New allout outline-change
16263 event hook to signal undo activity.
16264 (allout-post-command-business): Run allout-post-undo-hook if an
16265 undo just occurred.
16266 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16267 * allout-widgets.el (allout-widgets-after-undo-function):
16268 Ensure the integrity of the current item's decoration after it has been
16269 in the vicinity of an undo.
16270 (allout-widgets-mode): Include allout-widgets-after-undo-function
16271 on the new allout-post-undo-hook.
16273 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16275 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16276 Let define-derived-mode define it.
16277 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16278 cycles of abbrev-table inheritance (bug#8998).
16280 2011-07-05 Roland Winkler <winkler@gnu.org>
16282 * textmodes/bibtex.el: Add support for biblatex.
16283 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16284 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16285 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16286 (bibtex-entry-alist, bibtex-field-alist): New variables.
16287 (bibtex-entry-field-alist): Obsolete alias for
16288 bibtex-BibTeX-entry-alist.
16289 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16290 (bibtex-set-dialect): New command.
16291 (bibtex-entry-type, bibtex-entry-head)
16292 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16293 Bind via bibtex-set-dialect.
16294 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16295 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16296 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16297 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16298 Define via bibtex-set-dialect.
16299 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16300 Obey bibtex-no-opt-remove-re.
16301 (bibtex-vec-push, bibtex-vec-incr): New functions.
16302 (bibtex-format-entry, bibtex-field-list)
16303 (bibtex-print-help-message, bibtex-validate)
16304 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16306 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16308 * progmodes/compile.el (compilation-goto-locus):
16309 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16310 * bs.el (bs-cycle-next, bs-cycle-previous):
16311 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16312 * bindings.el (mode-line-other-buffer):
16313 * autoinsert.el (auto-insert):
16314 * arc-mode.el (archive-extract):
16315 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16317 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16319 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16320 Fix check of `emacs-lock-unlockable-modes'.
16321 Coerce true values of `emacs-lock--try-unlocking' to t.
16323 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16325 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16326 * emacs-lock.el: New file.
16328 2011-07-05 Julien Danjou <julien@danjou.info>
16330 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16331 than `boundp' to check if face is set.
16333 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16335 * register.el (registerv-make):
16336 * window.el (window-min-height): Fix typos in docstrings.
16338 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16340 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16343 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16345 * server.el (server-execute): Catch quit and call
16346 `server-return-error' to pass the error back to emacsclient and
16347 close the connection (bug#8942).
16349 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16351 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16352 insecure exception for current topic. Also note that auto-saves
16353 are handled differently.
16355 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16356 State variables for tracking auto-save inhibition situation.
16358 (allout-write-contents-hook-handler): Rename from
16359 'allout-write-file-hook-handler', and describe how it depends on
16360 write-contents-functions sensitivity to non-nil value to prevent
16363 (allout-auto-save-hook-handler): Remove. auto-save does not check
16364 this in individual buffers, only in the starting buffer, so this
16365 is not the right way for us to inhibit auto-save in a buffer
16366 according to its condition.
16368 (allout-mode): Use new allout-write-contents-hook-handler, and
16369 only with write-contents-functions. Remove auto-save provisions -
16370 they're implemented elsewhere.
16372 (allout-before-change-handler): If undo is in progress, note that
16373 for attention of allout-post-command-business.
16375 (allout-post-command-business): If the command we're following was
16376 an undo, check for change in the status of encrypted items and
16377 adjust auto-save inhibitions accordingly.
16379 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16380 according to whether there are or aren't any plain-text topics
16381 pending encryption.
16383 (allout-inhibit-auto-save-info-for-decryption):
16384 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16385 if there are plain-text topics pending encryption.
16387 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16388 buffer-saved-size and some allout state to not inhibit auto-saves
16389 if there are no longer any plain-text topics pending encryption.
16391 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16392 No longer provide for exemption of the current topic.
16394 2011-07-04 Juri Linkov <juri@jurta.org>
16396 Add 7z operations to delete and save changed members (bug#8968).
16397 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16399 (archive-7z-write-file-member): New function.
16400 (archive-7z-summarize): Fix the number of dashes in the
16403 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16405 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16408 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16410 * bindings.el: Ignore next-buffer and previous-buffer in
16411 minibuffer-local-map.
16413 * font-lock.el (font-lock-builtin-face): Change light background
16414 color to dark slate blue (Bug#6693).
16416 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16418 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16420 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16423 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16424 Add switch-to-buffer.
16426 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16428 * isearch.el (isearch-search-fun-function): Clarify further the
16429 meaning of the function returned.
16431 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16433 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16435 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16436 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16438 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16439 `tramp-default-remote-path' does not exist.
16440 (tramp-send-command-and-read): New optional argument NOERROR.
16441 (tramp-open-connection-setup-interactive-shell)
16442 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16443 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16444 (tramp-process-sentinel): Flush also process' connection property.
16445 (tramp-sh-handle-start-file-process): Do not set process
16446 sentinel. It is done now ...
16447 (tramp-maybe-open-connection): ... here. (Bug#8929)
16449 2011-07-04 MON KEY <monkey@sandpframing.com>
16451 * play/animate.el (animate-string): Doc fixes and allow changing
16452 the buffer name (bug#5417).
16454 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16456 * play/animate.el (animation-buffer-name): Rename from *animate*.
16458 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16460 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16461 This is simpler and helps future-proof the code.
16462 (timer-until): Use time-subtract and float-time.
16463 (timer--time-less-p): Use time-less-p.
16465 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16467 * type-break.el (timep): Use the value of `float-time' to avoid a
16468 byte-compiler warning.
16470 * server.el (server-eval-and-print): Return any result, even nil.
16472 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16474 * type-break.el: Accept time formats that the builtins accept.
16475 (timep, type-break-time-difference): Accept any format that
16476 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16477 This is simpler and helps future-proof the code.
16478 (type-break-time-difference): Round rather than ignoring
16479 subseconds components.
16481 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16483 * info.el (Info-apropos-matches): Make non-interactive, since it
16484 doesn't seem to do anything useful as a command (bug#8829).
16486 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16488 * frame.el (frame-background-mode, frame-set-background-mode):
16489 Move from faces.el.
16490 (frame-default-terminal-background): New function.
16492 * custom.el (custom-push-theme): Don't record faces in `changed'
16493 theme; this doesn't work correctly for per-frame face settings.
16494 (disable-theme): Use face-set-after-frame-default to reset faces.
16495 (custom--frame-color-default): New function.
16497 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16499 * dired.el (dired-flagging-regexp): Remove unused variable
16502 2011-03-29 Kevin Ryde <user42@zip.com.au>
16504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16505 `perl-Test2' extend to match possible "fail #N" rep count
16508 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16510 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16511 `smtpmail-via-smtp' now returns the error instead of nil.
16513 * isearch.el (isearch-search-fun-function): Clarify the doc string
16516 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16518 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16519 unnecessary spaces (bug#8987).
16521 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16523 * net/network-stream.el (open-network-stream): Use the
16524 :end-of-capability command thoughout.
16526 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16528 * net/network-stream.el (open-network-stream): Add the
16529 :end-of-capability command parameter, used by pop3.el.
16531 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16535 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16536 for list)" (bug#6475).
16538 * files.el (file-expand-wildcards): Ignore non-readable
16539 sub-directories while trying to find matches instead of signaling
16540 an error (bug#6297).
16542 * man.el (Man-reference-regexp): Allow matching possible
16543 word-wrapped references (bug#6289).
16545 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16546 for consistency with the other vc buffers (bug#6197).
16547 (vc-checkin): Ditto.
16549 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16551 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16553 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16555 * custom.el (defcustom): Clarify that :set is only used in the
16556 Customize user interface (bug#6089).
16558 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16559 associated with a file, refuse to run instead of erroring out
16562 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16563 the doc string, since it appears that using `fill-column' always
16564 controls the width (bug#7845).
16566 * simple.el (shell-command-on-region): Say where the error output
16567 went if `shell-command-default-error-buffer' is set (bug#6857).
16569 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16571 * allout.el (allout-yank-processing): Adjust cursor position for
16572 backwards-deleted space.
16574 (allout-rebullet-heading): Register changes with
16575 allout-exposure-changed-hook, so the modified topic is properly
16578 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16580 * minibuffer.el (completion-in-region): Document PREDICATE
16583 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16584 of keyword/argument pairs (bug#6904).
16586 * replace.el (multi-occur):
16587 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16589 2011-07-02 Drew Adams <drew.adams@oracle.com>
16591 * dired.el (dired-mark-if): Make the message about whether it's
16592 marking or unmarking clearer (bug#8523).
16594 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16596 * disp-table.el (display-table-print-array): New function.
16597 (describe-display-table): Use it to print the vectors more pretty
16600 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16602 * window.el (window-state-get-1): Don't assign clone numbers.
16603 Add clone-of item to list of window parameters.
16604 (window-state-put-2): Don't process clone numbers.
16605 (display-buffer-alist): Fix doc-string.
16607 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16609 * subr.el (remq): Don't allocate if it's not needed.
16610 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16611 (keymap--merge-bindings): New functions.
16612 (keymap-canonicalize): Use them to refine the canonicalization.
16613 * minibuffer.el (minibuffer-local-completion-map)
16614 (minibuffer-local-must-match-map): Move initialization from C.
16615 (minibuffer-local-filename-completion-map): Move initialization from C;
16616 don't inherit from anything here.
16617 (minibuffer-local-filename-must-match-map): Make obsolete.
16618 (completing-read-default): Use make-composed-keymap to combine
16619 minibuffer-local-filename-completion-map with either
16620 minibuffer-local-must-match-map or
16621 minibuffer-local-filename-completion-map.
16623 2011-07-01 Glenn Morris <rgm@gnu.org>
16625 * type-break.el (type-break-time-sum): Use dolist.
16627 * textmodes/flyspell.el (flyspell-word-search-backward):
16628 Replace CL function.
16630 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16632 * mouse.el (mouse--strip-first-event): New function.
16633 (function-key-map): Use it to map fringe clicks to normal clicks
16636 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16637 (vc-bzr-revision-completion-table): Add support for annotate and date.
16639 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16640 inherit from parent.
16642 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16644 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16645 (dired-show-file-type): Doc fixup (bug#8818).
16647 * dired.el (dired-mode): Fix up the doc string as suggested by
16648 Drew Adams (bug#8817).
16650 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16651 cookie, since the manual says that it should be possible to add
16652 this function to `find-file-hook' (bug#8709).
16654 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16656 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16657 here. Noted Ted Zlatanov as the maintainer.
16658 (cfengine-common-settings, cfengine-common-syntax): New functions
16659 to set up common things between `cfengine-mode' and
16661 (cfengine3-mode): New mode.
16662 (cfengine3-defuns cfengine3-defuns-regex
16663 (cfengine3-class-selector-regex cfengine3-category-regex)
16664 (cfengine3-vartypes cfengine3-font-lock-keywords)
16665 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16666 (cfengine3-indent-line): Add from cfengine3.el.
16668 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16670 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16672 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16674 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16676 * window.el (same-window-buffer-names, same-window-regexps)
16677 (same-window-p, special-display-frame-alist)
16678 (special-display-popup-frame, special-display-function)
16679 (special-display-buffer-names, special-display-regexps)
16680 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16681 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16682 (split-window-preferred-function, split-height-threshold)
16683 (split-width-threshold, even-window-heights)
16684 (display-buffer-mark-dedicated, window-splittable-p)
16685 (split-window-sensibly, window-safely-shrinkable-p):
16687 (display-buffer): Don't spread args with function specifier
16688 because special-display-popup-frame won't like it.
16690 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16692 Time-stamp simplifications and fixes.
16693 These improve accuracy slightly, and future-proof the code
16694 against some potential changes to current-time format.
16696 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16697 by using time-since and float-time.
16699 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16700 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16701 + NNN microseconds".
16703 * type-break.el (type-break-time-sum): Rewrite using time-add.
16705 * play/hanoi.el (hanoi-current-time-float): Remove.
16706 All uses replaced by float-time.
16708 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16709 This yields a more-accurate answer.
16710 (rng-time-to-float): Remove; no longer needed.
16712 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16714 * calendar/timeclock.el (timeclock-seconds-to-time):
16715 Defalias to seconds-to-time, since they're the same thing.
16717 * emacs-lisp/elp.el (elp-elapsed-time):
16718 * emacs-lisp/benchmark.el (benchmark-elapse):
16719 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16721 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16723 * window.el (bury-buffer): Don't iconify the only frame.
16724 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16725 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16727 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16729 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16730 Add mouse-yank-primary.
16732 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16734 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16736 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16738 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16739 (find-library-name): Use it to find relative load names when provided
16740 absolute file name (bug#8803).
16742 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16744 * textmodes/flyspell.el (flyspell-word): Consider words that
16745 differ only in case as potential doublons (bug#5687).
16747 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16748 Remove two rather uninteresting debugging-like messages to make
16749 debbugs.el more silent.
16751 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16752 a password-like phrase.
16754 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16756 * progmodes/cc-guess.el: New file.
16758 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16760 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16761 derived from `c-basic-common-init'.
16763 * progmodes/cc-mode.el (top-level): Require cc-guess.
16764 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16766 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16768 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16770 2011-06-30 Alan Mackenzie <acm@muc.de>
16772 * progmodes/cc-engine.el (c-guess-continued-construct):
16773 Correct the handling of template-args-cont, particularly for when font
16774 lock is disabled. Name this case as "CASE G".
16776 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16778 * allout.el (allout-yank-processing): Fix injection of extra space
16779 between bullet and non-whitespace character in first topic when
16780 pasting, ensuring that the actual spacing in the pasted topic
16781 following the bullet char is preserved. This extra space was
16782 causing pasted encrypted topics to get a decrypted status even
16783 when the content was actually still encrypted. Now the decryption
16784 status from before the paste is preserved.
16786 (allout-flag-region): Set all allout overlays so they evaporate
16787 when reduced to zero length (evanescent), to prevent overlay
16790 2011-06-30 Glenn Morris <rgm@gnu.org>
16792 * w32-fns.el (w32-charset-info-alist): Declare.
16794 * find-dired.el (find-grep-options): Simplify.
16796 * term/ns-win.el (ns-set-resource): Declare.
16798 * ses.el (row, col): Declare dynamic variables honestly.
16800 * textmodes/reftex-parse.el (index-tags): Declare.
16802 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16804 * cus-edit.el (customize-push-and-save): New function.
16806 * files.el (hack-local-variables-confirm): Use it.
16808 * custom.el (load-theme): New arg NO-CONFIRM.
16809 Use customize-push-and-save (Bug#8720).
16810 (custom-enabled-themes): Doc fix.
16812 * cus-theme.el (customize-create-theme)
16813 (custom-theme-merge-theme): Callers to load-theme changed.
16815 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16817 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16818 short URLs have at least one dot in them (bug #7614).
16820 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16821 nil, because using a pty is apparently too slow (bug #895).
16823 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16825 * mail/sendmail.el (sendmail-query-once): New function.
16826 (sendmail-query-once-function): New variable.
16828 2011-06-29 Glenn Morris <rgm@gnu.org>
16830 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16832 * ses.el (top-level): Require cl when compiling.
16833 (ses-set-localvars): Fix error statement.
16834 Call it at compile time to silence a storm of warnings.
16836 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16838 * window.el (normalize-live-buffer): Rename to
16839 window-normalize-buffer.
16840 (normalize-live-frame): Rename to window-normalize-frame.
16841 (normalize-any-window): Rename to window-normalize-any-window.
16842 (normalize-live-window): Rename to window-normalize-live-window.
16843 (make-window-atom): Rename to window-make-atom.
16844 (window-resize-reset): Rename to window--resize-reset.
16845 (window-resize-reset-1): Rename to window--resize-reset-1.
16846 (resize-mini-window): Rename to window--resize-mini-window.
16847 (resize-subwindows-skip-p): Rename to
16848 window--resize-subwindows-skip-p.
16849 (resize-subwindows-normal): Rename to
16850 window--resize-subwindows-normal.
16851 (resize-subwindows): Rename to window--resize-subwindows.
16852 (resize-other-windows): Rename to window--resize-siblings.
16853 (resize-this-window): Rename to window--resize-this-window.
16854 (resize-root-window): Rename to window--resize-root-window.
16855 (resize-root-window-vertically): Rename to
16856 window--resize-root-window-vertically.
16857 (normalize-buffer-to-display): Rename to
16858 window-normalize-buffer-to-display.
16859 (normalize-buffer-to-switch-to): Rename to
16860 window-normalize-buffer-to-switch-to.
16861 Correspondingly update all callers of the functions listed
16863 (display-buffer-alist, display-buffer-normalize-arguments)
16864 (display-buffer-normalize-options, display-buffer)
16865 (display-buffer-alist-set): Use "function" instead of
16868 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16870 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16871 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16872 debbugs.gnu.org. Mention acknowledgment email.
16874 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16876 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16877 buffer multibyteness, since it shouldn't matter.
16879 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16881 * window.el (display-buffer-in-side-window): Handle dedicated
16882 windows as in display-buffer-reuse-window.
16883 (display-buffer-normalize-alist): Use value of override
16885 (display-buffer-normalize-specifiers): Use value of
16886 other-window-means-other-frame specifier.
16887 (display-buffer-alist): Rewrite some texts in widgets.
16888 (display-buffer): Spread arguments when calling function
16889 specified by fun-with-args.
16891 2011-06-28 Deniz Dogan <deniz@dogan.se>
16893 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16896 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16897 selectors (Bug#5732).
16898 (css-proprietary-nmstart-re): Use `regexp-opt'.
16900 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16902 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16903 (eshell-ls-date-format): New defcustom.
16904 (eshell-ls-file): Use it.
16906 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16908 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16910 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16912 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16913 (ange-ftp-make-tmp-name): New arg.
16914 (ange-ftp-file-local-copy): Use it.
16916 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16918 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16919 no-conversion (Bug#8870).
16921 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16923 * window.el (window-right, window-left, window-child)
16924 (window-child-count, window-last-child)
16925 (window-iso-combination-p, walk-window-tree-1)
16926 (window-atom-check-1, window-tree-1, delete-window)
16927 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16928 new naming conventions - window-vchild, window-hchild,
16929 window-next and window-prev are now called window-top-child,
16930 window-left-child, window-next-sibling and window-prev-sibling
16932 (resize-window-reset): Rename to window-resize-reset.
16933 (resize-window-reset-1): Rename to window-resize-reset-1.
16934 (resize-window): Rename to window-resize.
16935 (window-min-height, window-min-width)
16936 (resize-mini-window, resize-this-window, resize-root-window)
16937 (resize-root-window-vertically, adjust-window-trailing-edge)
16938 (enlarge-window, shrink-window, maximize-window)
16939 (minimize-window, delete-window, quit-restore-window)
16940 (split-window, balance-windows, balance-windows-area-adjust)
16941 (balance-windows-area, window-state-put-2)
16942 (display-buffer-even-window-sizes, display-buffer-set-height)
16943 (display-buffer-set-width, set-window-text-height)
16944 (fit-window-to-buffer): Rename all "resize-window" prefixed
16945 calls to use the "window-resize" prefix convention.
16946 (display-buffer-alist): Fix symbol for label specifier.
16947 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16948 corresponding specifier.
16949 Reported by Juanma Barranquero <lekktu@gmail.com>.
16951 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16953 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16955 (ses-call-printer): Does not pass an empty string to formatter when the
16956 cell is empty to keep from barking printer Calc math-format-value.
16958 2011-06-27 Richard Stallman <rms@gnu.org>
16960 * battery.el (battery-mode-line-limit): New variable.
16961 (battery-update): Handle it.
16963 * mail/rmailmm.el (rmail-mime-process-multipart):
16964 Handle truncated messages.
16966 2011-06-27 Glenn Morris <rgm@gnu.org>
16968 * progmodes/flymake.el (flymake-err-line-patterns):
16969 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16971 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16973 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16974 (ses--clean-!, ses--clean-_): New functions.
16975 (ses-range): Add configurability of readout order, and conversion
16978 * ses.el (ses-repair-cell-reference-all): New function.
16979 (ses-cell-symbol): Set macro as safe, so that it can be used in
16982 * ses.el: Update cycle detection algorithm.
16983 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16984 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16985 (ses-set-localvars): New function.
16986 (ses-make-cell): Add property-list as a cell element.
16987 (ses-cell-property-get-fun, ses-cell-property-get)
16988 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16989 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16991 (ses-cell-property-set, ses-cell-property-pop)
16992 (ses-cell-property-get-handle): New macro.
16993 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16994 New aliases, used for code readability.
16995 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16997 (ses-self-reference-early-detection): New defcustom.
16998 (ses-formula-references): Robustify against self-referring cells.
16999 (ses-mode): Use ses-set-localvars.
17000 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17001 before lauching the update processing.
17002 (ses-initialize-Dijkstra-attempt): New function.
17003 (ses-recalculate-cell): Update for cycle detection based on
17004 Dijkstra algorithm.
17006 * ses.el: Fix commenting and indenting convention.
17008 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17010 * bs.el (bs-cycle-next): Complete last change.
17012 2011-06-27 Drew Adams <drew.adams@oracle.com>
17014 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17016 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17018 * net/network-stream.el (network-stream-open-starttls):
17019 Don't re-get capabilities unless we've reestablished connection.
17020 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17022 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17023 to binary to possibly avoid line encoding issues on Windows (among
17026 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17028 * net/network-stream.el (open-network-stream): Return an :error
17029 saying what the problem was, if possible.
17031 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17034 * net/network-stream.el (network-stream-open-starttls): If we
17035 wanted to use STARTTLS, and the server offered it, but we weren't
17036 able to because we had no STARTTLS support, then close the connection.
17037 (open-network-stream): Return an :error element, if present.
17039 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17041 * hl-line.el (hl-line-sticky-flag): Doc fix.
17042 (global-hl-line-sticky-flag): New option (Bug#8323).
17043 (global-hl-line-highlight): Obey it.
17045 * vc/vc.el (vc-revert-show-diff): Default to t.
17047 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17049 * allout-widgets.el (allout-widgets-post-command-business):
17050 Stop decorating intermediate isearch matches. They're not being
17051 undecorated when an isearch is continued past, and isearch
17052 automatically collapses them. This leads to "widget leaks", where
17053 decorated items accumulate in collapsed areas. Lines with lots of
17054 hidden widgets can slow down cursor travel, substantially.
17055 Too much complicated machinery would be needed to ensure undecoration,
17056 so we're doing without this nicety.
17058 (allout-widgets-tally-string): Don't try to do a hash-table-count
17059 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17060 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17061 *Messages* when allout-widgets-maintain-tally is t.
17063 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17065 * window.el (display-buffer-normalize-argument): Rename to
17066 display-buffer-normalize-arguments. Handle special meaning of
17067 LABEL argument. Respect special-display-function when popping up
17068 a new frame. Fix code searching for a window showing the buffer
17070 (display-buffer-normalize-specifiers):
17071 Call display-buffer-normalize-arguments.
17072 (display-buffer-in-window): Don't undedicate the window if its
17073 buffer remains the same.
17074 Reported by Drew Adams <drew.adams@oracle.com>.
17075 (display-buffer-alist): Add choice for same-window macro
17077 (display-buffer): Mention special meaning of LABEL argument in
17078 doc-string. Fix quoting. Don't pop up a new frame even as
17081 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17083 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17084 avoid deleting the current window in some cases (bug#8911).
17086 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17088 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17091 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17093 * net/network-stream.el (network-stream-open-starttls):
17094 Use built-in TLS support if `gnutls-available-p' is true.
17095 (network-stream-open-tls): Ditto.
17097 2011-06-26 Leo Liu <sdl.web@gmail.com>
17099 * register.el (registerv): New struct.
17100 (registerv-make): New function.
17101 (jump-to-register, describe-register-1, insert-register):
17102 Support the jump-func, print-func and insert-func slot of a registerv
17105 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17107 * vc/vc.el (vc-revert-show-diff): New defcustom.
17108 (vc-diff-internal): New arg specifying diff buffer.
17109 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17110 reuse an existing *vc-diff* buffer (Bug#8927).
17112 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17114 2011-06-26 Glenn Morris <rgm@gnu.org>
17116 * progmodes/f90.el (f90-critical-indent): New option.
17117 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17118 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17119 (f90-mode): Doc fix.
17120 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17121 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17122 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17123 (f90-match-end): Handle block, critical.
17125 2011-06-25 Glenn Morris <rgm@gnu.org>
17127 * calendar/diary-lib.el (diary-included-files): Doc fix.
17128 (diary-include-files): New function, extracted from
17129 diary-include-other-diary-files and diary-mark-included-diary-files.
17130 (diary-include-other-diary-files, diary-mark-included-diary-files):
17131 Just call diary-include-files.
17132 (diary-mark-entries): Reset diary-included-files on first call.
17134 * calendar/diary-lib.el (diary-mark-entries)
17135 (diary-mark-included-diary-files):
17136 Visit included diary-files in temp buffers.
17138 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17139 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17140 (f90-start-block-re, f90-imenu-generic-expression)
17141 (f90-looking-at-program-block-start, f90-no-block-limit):
17142 Add support for submodules.
17144 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17145 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17147 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17149 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17150 buffer-file-type before setting its value, to avoid disastrous
17151 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17153 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17155 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17157 * ses.el (ses-unload-function):
17158 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17160 * proced.el (proced-unload-function):
17161 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17163 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17165 * server.el (server-create-window-system-frame): Add parameters arg.
17166 (server-process-filter): Doc fix. Handle frame-parameters.
17168 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17170 Fix bug#8730, bug#8781.
17172 * loadhist.el (unload--set-major-mode): New function.
17173 (unload-feature): Use it.
17175 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17176 (python-unload-function): New function.
17178 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17180 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17182 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17184 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17185 the candidates list.
17187 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17189 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17191 2011-06-23 Richard Stallman <rms@gnu.org>
17193 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17194 (rmail-variables): Set next-error-move-function.
17195 (rmail-what-message): Take argument POS.
17196 (rmail-next-error-move): New function.
17198 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17200 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17201 messages for adjacent non-terminals.
17203 2011-06-23 Richard Stallman <rms@gnu.org>
17205 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17206 (rmail-show-message-1): Preserve buffer modified flag.
17207 (rmail-start-mail): Don't specify use of rmail-mail-return;
17208 that's done by mail-bury now.
17209 (rmail-mail-return): Handle arg NEWBUF.
17211 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17213 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17216 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17218 * window.el (get-lru-window, get-mru-window)
17219 (get-largest-window): Never return a minibuffer window.
17220 (display-buffer-pop-up-window): Fix a bug that could lead to
17221 reusing the minibuffer window.
17222 (display-buffer): Pass original specifier argument to
17223 display-buffer-function instead of the normalized one.
17224 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17226 2011-06-22 Leo Liu <sdl.web@gmail.com>
17228 * minibuffer.el (completing-read-function)
17229 (completing-read-default): Move from minibuf.c.
17231 2011-06-22 Richard Stallman <rms@gnu.org>
17233 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17234 to Rmail even if not started by a special Rmail command.
17236 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17237 Copy the buffer currently showing just one message.
17239 2011-06-22 Roland Winkler <winkler@gnu.org>
17241 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17242 (bibtex-clean-entry): First delete the old key so that a
17243 customized algorithm for generating the new key does not get
17244 confused by the old key.
17245 (bibtex-url): Obey regexp of first step.
17246 (bibtex-search-entries): Do not use add-to-list with local
17249 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17251 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17252 stored a user name, then query for the password first, instead of
17253 waiting for SMTP to give an error message and the trying again.
17255 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17257 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17258 BUFFER in call-process.
17260 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17262 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17264 (smtpmail-try-auth-methods): Require user name and password from
17267 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17269 * window.el (display-buffer-default-specifiers)
17270 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17271 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17272 (split-window): Normalize SIDE argument (Bug#8916).
17274 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17275 (special-display-frame-alist, special-display-popup-frame):
17276 Remove duplicate declarations. These are now in window.el.
17278 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17280 * mail/smtpmail.el (smtpmail-via-smtp):
17281 Set :use-starttls-if-possible so that we always use STARTTLS if the
17282 server supports it. SMTP servers that support STARTTLS commonly
17285 * net/network-stream.el (network-stream-open-starttls): Support
17286 upgrading to STARTTLS always, even if we don't have built-in support.
17287 (open-network-stream): Add the :always-query-capabilities keyword.
17289 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17290 upgrades with `open-network-stream', and rely solely on
17291 auth-source for all credentials. Big changes throughout the file,
17293 (smtpmail-auth-credentials): Remove.
17294 (smtpmail-starttls-credentials): Remove.
17295 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17298 * net/network-stream.el (network-stream-open-starttls):
17299 Provide support for client certificates both for external and built-in
17301 (auth-source): Require.
17302 (open-network-stream): Document the :client-certificate keyword.
17303 (network-stream-certificate): Change cert-cert to cert and
17306 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17308 * net/tramp-cache.el (top): Don't load the persistency file when
17309 "emacs -Q" has been called.
17311 2011-06-21 Tim Harper <timcharper@gmail.com>
17313 * term/ns-win.el (ns-initialize-window-system):
17314 Set application-specific `ApplePressAndHoldEnabled' system
17315 resource to NO as it is not yet supported by the NS port.
17317 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17319 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17320 (list-dynamic-libraries): ...not here.
17322 2011-06-21 Leo Liu <sdl.web@gmail.com>
17324 * subr.el (sha1): Implement sha1 using secure-hash.
17326 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17328 * window.el (display-buffer-alist): In default value do not
17329 enforce searching a window on any but the selected frame.
17330 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17331 (display-buffer-select-window): Remove function.
17332 (display-buffer-in-window): When a window on another frame gets
17333 reused, do not select it any more but just raise its frame if
17334 necessary (Bug#8851) and (Bug#8856).
17335 (display-buffer-normalize-options): Handle pop-up-frames related
17336 options more faithfully.
17337 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17338 window if it is on another frame.
17339 (display-buffer-alist, display-buffer-default-specifiers):
17340 Don't make new frame unsplittable by default.
17341 (display-buffer-normalize-argument): Fix doc-string typo and use
17342 'same-frame-other-window instead of 'other-window when associating
17343 with display-buffer-macro-specifiers.
17345 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17347 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17349 (5x5-mode-map, 5x5-mode-menu): Bind them.
17350 (5x5-draw-grid): Tweak the solver's rendering.
17352 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17354 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17355 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17357 2011-06-21 Drew Adams <drew.adams@oracle.com>
17359 * menu-bar.el: Use function variable instead of switch-to-buffer.
17360 (menu-bar-select-buffer-function): New variable.
17361 (menu-bar-update-buffers): Use it (bug#8876).
17363 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17365 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17368 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17370 * x-dnd.el (x-dnd-version-from-flags)
17371 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17372 and long as number (Bug#8899).
17373 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17375 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17377 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17378 (completion-try-completion, completion-all-completions): Compute the
17379 metadata argument if it's missing; make it optional (bug#8795).
17381 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17382 (widget-complete): Use new :completion-function property.
17383 (widget-completions-at-point): New function.
17384 (default): Use :completion-function instead of :complete.
17385 (widget-default-completions): Rename from widget-default-complete;
17387 (widget-string-complete, widget-file-complete, widget-color-complete):
17389 (file, symbol, function, variable, coding-system, color):
17390 * international/mule-cmds.el (default-input-method, charset)
17391 (language-info-custom-alist):
17392 * cus-edit.el (face): Use new property :completions.
17394 * progmodes/pascal.el (pascal-completions-at-point): New function.
17395 (pascal-mode): Use it.
17396 (pascal-mode-map): Use completion-at-point.
17397 (pascal-toggle-completions): Make obsolete.
17398 (pascal-complete-word, pascal-show-completions):
17399 * progmodes/octave-mod.el (octave-complete-symbol):
17400 Redefine as obsolete alias.
17401 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17402 Signal absence of completion info for old Octave,
17403 (inferior-octave-complete): Redefine as obsolete alias.
17404 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17405 (meta-completions-at-point): Rename from meta-complete-symbol and
17406 adapt it for use on completion-at-point-functions.
17407 (meta-common-mode): Use it.
17408 (meta-looking-at-backward, meta-match-buffer): Remove.
17409 (meta-complete-symbol): Redefine as obsolete alias.
17410 (meta-common-mode-map): Use completion-at-point.
17411 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17412 (makefile-mode-map): Use completion-at-point.
17413 (makefile-completions-at-point): Rename from makefile-complete and
17414 adapt it for use on completion-at-point-functions.
17415 (makefile-mode): Use it.
17416 (makefile-complete): Redefine as obsolete alias.
17418 2011-06-20 Deniz Dogan <deniz@dogan.se>
17420 * net/rcirc.el: Delete trailing whitespaces once and for all.
17422 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17424 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17426 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17428 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17430 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17432 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17434 * window.el (display-buffer-other-window-means-other-frame):
17435 Call display-buffer-normalize-alist.
17436 (display-buffer-normalize-specifiers-1): Rename to
17437 display-buffer-normalize-argument. New argument other-frame.
17439 (display-buffer-normalize-specifiers-2): Rename to
17440 display-buffer-normalize-options.
17441 (display-buffer-normalize-alist-1): New function.
17442 (display-buffer-normalize-specifiers-3): Rename to
17443 display-buffer-normalize-alist.
17444 Call display-buffer-normalize-alist-1.
17445 (display-buffer-normalize-options-inhibit): New variable.
17446 (display-buffer-normalize-specifiers): Rewrite calling
17447 display-buffer-normalize-alist,
17448 display-buffer-normalize-argument, and
17449 display-buffer-normalize-options. Don't call the latter if
17450 display-buffer-normalize-options-inhibit is non-nil.
17451 (frame-auto-delete): New option.
17452 (window-deletable-p): Use frame-auto-delete.
17453 (window-list-no-nils, window-state-ignored-parameters)
17454 (window-state-get-1, window-state-get, window-state-put-list)
17455 (window-state-put-1, window-state-put-2, window-state-put):
17457 (display-buffer-normalize-options): Move special-display-p group
17458 after pop-up-frame group (Bug#8851) and (Bug#8856).
17460 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17462 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17464 (rx-submatch-n): New function.
17467 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17470 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17472 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17474 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17475 anytime existing face settings are present (Bug#8889).
17477 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17478 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17479 Remove unused argument.
17481 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17483 * window.el (display-buffer-default-specifiers):
17484 Remove pop-up-frame. Add pop-up-window-min-height,
17485 pop-up-window-min-width, and another reuse-window specifier
17486 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17487 (display-buffer-normalize-specifiers-2):
17488 Handle split-height-threshold and split-width-threshold also when
17489 pop-up-windows is unset. Add a reuse-window specifier for the
17490 case popping up a new window fails.
17491 (special-display-popup-frame): Remove double quoting.
17492 (display-buffer-normalize-specifiers-1): Fix thinko.
17494 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17496 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17497 according to comint-completion-addsuffix.
17499 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17500 (pcomplete-suffix-list): Mark as obsolete.
17501 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17502 pcomplete-seen in the closure.
17503 (pcomplete-comint-setup): Setup completion-at-point as well.
17504 (pcomplete--entries): New function.
17505 (pcomplete--env-regexp): New var.
17506 (pcomplete-entries): Rewrite to work with partial-completion and
17507 without relying on pcomplete-suffix-list.
17508 (pcomplete-pare-list): Remove, unused.
17510 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17512 * window.el (display-buffer-alist): Set pop-up-window-min-height
17513 and pop-up-window-min-width in default value. Reported by
17514 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17515 other-window-means-other-frame.
17516 (display-buffer-macro-specifiers): Comment out entry for
17517 other-window specifier.
17518 (display-buffer-other-window-means-other-frame): New function.
17519 (display-buffer-normalize-specifiers-1): New arguments
17520 buffer-name and label. Treat other-window case specially.
17521 (display-buffer-normalize-specifiers-2): Treat other-window case
17523 (display-buffer-normalize-specifiers-3): New function.
17524 (display-buffer-normalize-specifiers):
17525 Call display-buffer-normalize-specifiers-3.
17527 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17529 * window.el (same-window-p): Fix two typos introduced when
17530 adding with-no-warnings.
17531 (display-buffer-normalize-specifiers-1): Don't check
17532 pop-up-frames for 'unset initialization.
17533 (display-buffer-normalize-specifiers-2): Major rewrite using
17534 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17535 (pop-up-frames, display-buffer-reuse-frames)
17536 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17537 Suggested by David Engster <deng@randomsample.de>.
17538 (even-window-heights): Initialize to 'unset.
17539 (display-buffer-alist-set): Handle new 'unset initializations.
17540 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17543 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17545 * window.el (display-buffer-normalize-specifiers-1):
17546 Respect current value of pop-up-frames for most reasonable values of
17547 second argument of display-buffer (Bug#8865).
17548 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17549 (switch-to-buffer-other-window-same-frame)
17550 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17552 (display-buffer): Don't check noninteractive when calling
17553 display-buffer-pop-up-frame.
17554 (display-buffer-pop-up-frame): Never pop up a frame in
17555 noninteractive mode (Bug#8857).
17556 (enlarge-window, shrink-window): Don't report an error when the
17557 window can't be resized as requested (Bug#8862).
17559 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17561 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17563 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17565 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17567 2011-06-15 Alan Mackenzie <acm@muc.de>
17569 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17570 for declarators, disable knr checking to speed up for normal files.
17571 2: Refactor, replacing a sequence of nested if forms by a cond form.
17573 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17575 * net/network-stream.el (open-network-stream): Add the keyword
17576 :always-query-capabilities for the case where you want to force a
17577 `plain' network connection, but the protocol still requires the
17578 capabilitiy command (i.e., SMTP and EHLO).
17580 * subr.el (process-live-p): Rename from `process-alive-p' for
17581 consistency with other `-live-p' functions.
17583 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17585 * window.el (same-window-buffer-names, same-window-regexps)
17586 (special-display-frame-alist, special-display-popup-frame)
17587 (special-display-function, special-display-buffer-names)
17588 (special-display-regexps, pop-up-frame-alist)
17589 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17590 (pop-up-windows, split-window-preferred-function)
17591 (split-height-threshold, split-width-threshold, even-window-heights)
17592 (display-buffer-mark-dedicated): Don't encourage the use of
17593 display-buffer-alist from Elisp code.
17595 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17597 * progmodes/python.el (python-mode): Derive from prog-mode.
17598 * progmodes/ps-mode.el (ps-mode):
17599 * progmodes/mixal-mode.el (mixal-mode):
17600 * progmodes/cfengine.el (cfengine-mode):
17601 * progmodes/ld-script.el (ld-script-mode): Likewise.
17603 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17605 * window.el (display-buffer-alist): Trim default value to avoid
17606 popping up a new frame (Bug#8857) or reusing an arbitrary window
17608 (display-buffer): Do not fall back on popping up a new frame in
17609 batch mode (Bug#8857).
17611 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17613 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17614 (custom-theme-summary): New function.
17615 (customize-themes): Use it.
17617 2011-06-13 Glenn Morris <rgm@gnu.org>
17619 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17621 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17623 * help.el (help-window): Remove variable.
17624 (help-window-point-marker, temp-buffer-max-height)
17625 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17626 (help-print-return-message): Don't set help-window.
17627 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17628 (help-window-setup-finish): Remove.
17629 (help-window-display-message, help-window-setup)
17630 (with-help-window): Major rewrite based on new
17631 display-buffer-window variable.
17633 * help-mode.el (help-mode-finish): Remove help-window related
17636 * view.el (view-exits-all-viewing-windows): Remove reference to
17637 view-return-to-alist in doc-string.
17638 (view-return-to-alist): Make obsolete.
17639 (view-buffer): Call pop-to-buffer-same-window and remove
17641 (view-buffer-other-window): Call pop-to-buffer-other-window and
17642 simplify code. Ignore second argument.
17643 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17644 simplify code. Ignore second argument.
17645 (view-return-to-alist-update): Make obsolete.
17646 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17647 Rewrite using quit-restore window parameters.
17648 (view-mode-exit): Rename second argument to EXIT-ONLY.
17649 Rewrite using quit-restore-window.
17650 (View-exit, View-exit-and-edit, View-leave, View-quit)
17651 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17652 appropriate arguments.
17653 (view-end-message): Use quit-restore window parameter.
17655 * window.el (display-buffer-function): Rewrite doc-string.
17656 (display-buffer-window, display-buffer-alist): New variables.
17657 (display-buffer-split-specifiers)
17658 (display-buffer-side-specifiers)
17659 (display-buffer-macro-specifiers): New constants.
17660 (display-buffer-even-window-sizes, display-buffer-set-height)
17661 (display-buffer-set-width, display-buffer-select-window)
17662 (display-buffer-in-window, display-buffer-reuse-window)
17663 (display-buffer-split-window-1, display-buffer-split-window)
17664 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17665 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17666 (display-buffer-in-side-window, normalize-buffer-to-display)
17667 (display-buffer-normalize-specifiers-1)
17668 (display-buffer-normalize-specifiers-2)
17669 (display-buffer-normalize-specifiers, display-buffer-frame):
17671 (display-buffer): Major rewrite.
17672 (display-buffer-other-window, display-buffer-other-frame)
17673 (pop-to-buffer, switch-to-buffer-other-window)
17674 (switch-to-buffer-other-frame): Rewrite.
17675 (display-buffer-same-window, display-buffer-same-frame)
17676 (display-buffer-same-frame-other-window)
17677 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17678 (pop-to-buffer-other-window)
17679 (pop-to-buffer-same-frame-other-window)
17680 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17681 (switch-to-buffer-other-window-same-frame): New functions.
17682 (same-window-p, special-display-p): Rewrite disabling warnings.
17684 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17685 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17687 (same-window-buffer-names, same-window-regexps)
17688 (special-display-frame-alist, special-display-popup-frame)
17689 (special-display-function, special-display-buffer-names)
17690 (special-display-regexps, pop-up-frame-alist)
17691 (pop-up-frame-function, split-window-preferred-function)
17692 (split-height-threshold, split-width-threshold)
17693 (even-window-heights): Make obsolete.
17695 2011-06-12 Glenn Morris <rgm@gnu.org>
17697 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17698 Misc simplifications.
17700 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17702 * window.el (window-safely-shrinkable-p): Restore function which
17703 was inadvertently removed in change from 2011-06-11. Declare as
17706 * calendar/calendar.el (calendar-generate-window):
17707 Use window-iso-combined-p instead of combination of one-window-p and
17708 window-safely-shrinkable-p.
17710 2011-06-12 Glenn Morris <rgm@gnu.org>
17712 * progmodes/fortran.el (fortran-mode-syntax-table):
17713 * progmodes/f90.el (f90-mode-syntax-table):
17714 Set % to punctuation. (Bug#8820)
17715 (f90-find-tag-default): Remove, no longer needed.
17717 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17719 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17721 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17723 * image.el (image-animated-p): Return animation delay in seconds.
17724 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17725 (image-animate-timeout): Remove DELAY argument. Don't assume
17726 every subimage has the same delay; get it from image-animated-p.
17727 (image-animate): Caller changed.
17729 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17731 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17732 to ignored backtrace functions.
17734 2011-06-11 Glenn Morris <rgm@gnu.org>
17736 * calendar/appt.el (appt-disp-window-function): Doc fix.
17737 (appt-check): Handle overlapping appointments. (Bug#8337)
17739 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17741 * window.el (window-tree-1, window-tree): New functions, moving
17742 the latter to window.el.
17743 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17744 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17745 (bw-refresh-edges): Remove.
17746 (balance-windows-1, balance-windows-2): New functions.
17747 (balance-windows): Rewrite in terms of window tree functions,
17748 balance-windows-1 and balance-windows-2.
17749 (bw-adjust-window): Remove.
17750 (balance-windows-area-adjust): New function with functionality of
17751 bw-adjust-window but using resize-window.
17752 (set-window-text-height): Rewrite doc-string.
17753 Use normalize-live-window and resize-window.
17754 (enlarge-window-horizontally, shrink-window-horizontally):
17755 Rename argument to DELTA.
17756 (window-buffer-height): New function.
17757 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17758 Rewrite using new window resize routines.
17759 (kill-buffer-and-window, mouse-autoselect-window-select):
17760 Use ignore-errors instead of condition-case.
17761 (quit-window): Call delete-frame instead of delete-windows-on
17762 for the only buffer on frame.
17764 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17766 * loadup.el (top-level): Load window before files for the sake
17767 of replace-buffer-in-windows.
17769 * files.el (read-buffer-to-switch)
17770 (switch-to-buffer-other-window)
17771 (switch-to-buffer-other-frame, display-buffer-other-frame):
17774 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17775 (previous-buffer): Move to window.el.
17777 * bindings.el (unbury-buffer): Move to window.el.
17779 * window.el (delete-other-windows-vertically): Move after
17780 definition of delete-other-windows.
17781 (other-window, delete-windows-on, replace-buffer-in-windows):
17782 Move here from window.c.
17783 (record-window-buffer, unrecord-window-buffer)
17784 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17785 (switch-to-next-buffer): New functions.
17786 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17787 from simple.el. Call switch-to-next-buffer.
17788 (previous-buffer): Move here from simple.el.
17789 Call switch-to-prev-buffer.
17790 (bury-buffer): Move here from buffer.c. Switch to previous
17791 buffer when window cannot be deleted.
17792 (unbury-buffer): Move here from bindings.el.
17793 (ctl-x-map): Move binding for other-window from window.c to
17795 (read-buffer-to-switch, switch-to-buffer-other-window)
17796 (switch-to-buffer-other-frame): Move here from files.el.
17797 (normalize-buffer-to-switch-to): New functions.
17798 (switch-to-buffer): Move here from buffer.c.
17799 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17801 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17803 * window.el (window-min-height, window-min-width): Move here
17804 from window.c. Add defcustoms and rewrite doc-strings.
17805 (resize-mini-window, resize-window): New functions.
17806 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17807 Move here from window.c.
17808 (maximize-window, minimize-window): New functions.
17809 (delete-window, delete-other-windows, split-window): Move here
17811 (window-split-min-size): New function.
17812 (split-window-keep-point): Mention split-window-above-each-other
17813 instead of split-window-vertically.
17814 (split-window-above-each-other, split-window-vertically):
17815 Rename split-window-vertically to split-window-above-each-other
17816 and provide defalias for old definition.
17817 (split-window-side-by-side, split-window-horizontally):
17818 Rename split-window-horizontally to split-window-side-by-side
17819 and provide defalias for the old definition.
17820 (ctl-x-map): Move bindings for delete-window,
17821 delete-other-windows and enlarge-window here from window.c.
17822 Replace bindings for split-window-vertically and
17823 split-window-horizontally by bindings for
17824 split-window-above-each-other and split-window-side-by-side.
17826 * cus-start.el (all): Remove entries for window-min-height and
17827 window-min-width. Add entries for window-splits and
17830 2011-06-09 Glenn Morris <rgm@gnu.org>
17832 * calendar/appt.el (appt-mode-line): New function.
17833 (appt-check, appt-disp-window): Use it.
17835 * files.el (hack-one-local-variable-eval-safep):
17836 Allow minor-modes with explicit +/-1 arguments.
17838 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17840 * term/xterm.el (xterm): Add defgroup.
17841 (xterm-extra-capabilities): Add defcustom to supply known xterm
17842 capabilities, skip querying them, or query them (default).
17843 (terminal-init-xterm): Use it.
17844 (terminal-init-xterm-modify-other-keys): New function to set up
17845 modifyOtherKeys support to simplify `terminal-init-xterm'.
17847 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17849 * window.el (resize-window-reset, resize-window-reset-1)
17850 (resize-subwindows-skip-p, resize-subwindows-normal)
17851 (resize-subwindows, resize-other-windows, resize-this-window)
17852 (resize-root-window, resize-root-window-vertically)
17853 (window-deletable-p, window-or-subwindow-p)
17854 (frame-root-window-p): New functions.
17856 2011-06-09 Glenn Morris <rgm@gnu.org>
17858 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17859 (ange-ftp-get-files): Use it.
17861 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17863 * mail/sendmail.el (mail-recover-1, mail-recover):
17864 * files.el (recover-file, recover-session):
17865 Handle dired-listing-switches not being just a single short option.
17867 2011-06-09 Glenn Morris <rgm@gnu.org>
17869 * calendar/appt.el (appt-display-message, appt-disp-window):
17870 Handle lists of appointments.
17872 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17874 * window.el (one-window-p): Move down in code.
17875 Rewrite doc-string.
17876 (window-current-scroll-bars): Rewrite doc-string.
17877 Normalize live window argument.
17878 (walk-windows, get-window-with-predicate, count-windows):
17879 Rewrite doc-string. Use window-list-1.
17880 (window-in-direction-2, window-in-direction, get-mru-window):
17883 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17885 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17886 Doc fix (Bug#8713).
17888 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17890 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17892 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17894 * loadhist.el (unload-feature-special-hooks):
17895 Add `comint-output-filter-functions'.
17897 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17899 * calendar/appt.el (appt-check): Move some initializations into the let.
17901 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17903 * window.el (window-height): Defalias to window-total-height.
17904 (window-width): Defalias to window-body-width.
17906 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17908 * image-mode.el (image-toggle-animation): New command.
17909 (image-mode-map): Bind it to RET.
17910 (image-mode): Update message.
17911 (image-toggle-display-image): Avoid a spurious cache flush.
17912 (image-transform-rotation): Doc fix.
17913 (image-transform-properties): Return quickly in the normal case.
17914 (image-animate-loop): Rename from image-animate-max-time.
17916 * image.el (image-animate-max-time): Move to image-mode.el.
17917 (create-animated-image): Remove unnecessary function.
17918 (image-animate): Rename from image-animate-start. New arg.
17919 (image-animate-stop): Remove; just use image-animate-timer.
17920 (image-animate-timer): Use car-safe.
17921 (image-animate-timeout): Rename argument.
17923 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17925 * window.el (get-lru-window, get-largest-window): Move here from
17926 window.c. Rename first argument to ALL-FRAMES.
17927 Rephrase doc-strings.
17928 (get-buffer-window-list): Rewrite using window-list-1.
17929 Rephrase doc-string.
17930 (window-safe-min-height, window-safe-min-width): New constants.
17931 (window-size-ignore, window-min-size, window-min-size-1)
17932 (window-sizable, window-sizable-p, window-size-fixed-1)
17933 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17934 (window-max-delta-1, window-max-delta, window-resizable)
17935 (window-resizable-p, window-total-height, window-total-width)
17936 (window-body-width): New functions.
17937 (window-full-height-p, window-full-width-p): Rewrite using
17939 (window-body-height): Rewrite using window-body-size.
17941 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17943 * window.el (window-right, window-left, window-child)
17944 (window-child-count, window-last-child, window-any-p)
17945 (normalize-live-buffer, normalize-live-frame)
17946 (normalize-any-window, normalize-live-window)
17947 (window-iso-combination-p, window-iso-combined-p)
17948 (window-iso-combinations)
17949 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17950 (windows-with-parameter, window-with-parameter)
17951 (window-atom-root, make-window-atom, window-atom-check-1)
17952 (window-atom-check, window-side-check, window-check):
17954 (ignore-window-parameters, window-sides, window-sides-vertical)
17955 (window-sides-slots): New variables.
17956 (window-size-fixed): Move down in code. Minor doc-string fix.
17958 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17960 * comint.el (comint-dynamic-complete-as-filename)
17961 (comint-dynamic-complete-filename): Correctly call
17962 completion-in-region.
17964 2011-06-05 Deniz Dogan <deniz@dogan.se>
17966 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17969 2011-06-05 Deniz Dogan <deniz@dogan.se>
17971 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17972 (rcirc): Use it to prompt for encryption.
17974 2011-06-05 Roland Winkler <winkler@gnu.org>
17976 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17977 (bibtex-search-entries): New command bound to C-c C-a.
17978 (bibtex-display-entries): New function.
17980 2011-06-05 Roland Winkler <winkler@gnu.org>
17982 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17983 (bibtex-insert-kill): After yanking insert newline if necessary.
17984 (bibtex-initialize): Call bibtex-string-files-init only once.
17985 (bibtex-mode): Do not call easy-menu-add.
17986 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17987 (bibtex-yank): Set arg properly if nil.
17989 2011-06-05 Roland Winkler <winkler@gnu.org>
17991 * textmodes/bibtex.el (bibtex-search-entry-globally):
17993 (bibtex-search-entry): Use it.
17995 2011-06-05 Roland Winkler <winkler@gnu.org>
17997 * textmodes/bibtex.el (bibtex-entry-format): New option
17999 (bibtex-format-entry, bibtex-reformat): Honor this option.
18000 (bibtex-parse-entry): Return fields in proper order.
18002 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18004 * doc-view.el (doc-view-remove-if): Move computation of result out
18005 of `dolist' to silence misleading lexical-binding warning.
18007 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18009 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18010 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18012 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18014 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18017 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18019 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18020 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18021 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18022 (tramp-parse-putty):
18023 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18024 (tramp-completion-function-alist-ssh)
18025 (tramp-completion-function-alist-telnet)
18026 (tramp-completion-function-alist-su)
18027 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18030 * net/tramp-ftp.el:
18032 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18033 load "tramp.el" `tramp-set-completion-function'.
18035 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18037 * shell.el: Require and use pcomplete.
18038 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18039 (shell-completion-vars): Set pcomplete-default-completion-function.
18041 2011-06-04 Deniz Dogan <deniz@dogan.se>
18043 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18046 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18048 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18050 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18052 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18053 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18054 * vc/log-view.el (log-view-beginning-of-defun):
18055 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18056 (smerge-refine-forward, smerge-refine-chopup-region):
18057 Silence warning for unused `dotimes' counter variables.
18059 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18061 * net/tramp.el (tramp-with-progress-reporter): Rename from
18062 with-progress-reporter. Use `declare'.
18063 * net/tramp-smb.el:
18065 * net/tramp-gvfs.el: Update all uses.
18067 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18069 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18070 buffer isn't killed before making it current.
18072 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18074 Silence various byte-compiler warnings.
18075 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18076 `access-type' and new obsolescence format.
18077 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18079 (byte-compile-check-variable): New `access-type' argument.
18080 Only warn if the access-type is obsolete.
18081 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18082 (byte-compile-variable-set): Adjust callers.
18083 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18084 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18085 setting it as obsolete.
18086 * simple.el (minibuffer-completing-symbol):
18087 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18088 access as obsolete.
18089 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18091 * international/quail.el (quail-mouse-choose-completion): Remove unused
18092 code referring to obsolete var.
18093 (quail-choose-completion-string): Remove.
18094 * server.el (server-clients-with, server-kill-buffer-query-function)
18095 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18096 * proced.el (proced-send-signal):
18097 * emacs-lisp/lisp.el (lisp-complete-symbol):
18098 Replace completion-annotate-function with completion-extra-properties.
18100 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18102 * simple.el (goto-line): Use read-number.
18103 (overriding-map-is-bound): Remove.
18104 (saved-overriding-map): Change default.
18105 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18106 Take the map as argument.
18107 (universal-argument, negative-argument, digit-argument): Use it.
18108 (restore-overriding-map): Adjust.
18109 (do-auto-fill): Use fill-forward-paragraph.
18110 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18112 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18113 (minibuffer-inactive-mode): New major mode.
18114 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18115 the *Messages* buffer" hack.
18116 (mouse-popup-menubar): Don't burp if the event is a normal key.
18118 Miscellaneous tweaks.
18119 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18120 lexical scoping as in subr.el's dolist and dotimes.
18121 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18122 Silence compiler warning.
18123 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18124 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18125 * international/ccl.el (ccl-compile): Trivial simplification.
18126 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18127 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18128 `printflag' argument.
18129 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18130 Purecopy the whole obsolescence data.
18132 2011-06-01 Leo Liu <sdl.web@gmail.com>
18134 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18135 improve doc-string as suggested by Marco Pessotto
18136 <melmothx@gmail.com>.
18137 (rcirc-print): Fix last change.
18139 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18141 * minibuffer.el (complete-with-action): Return nil for the metadata and
18142 boundaries of non-functional tables.
18143 (completion-table-dynamic): Return nil for the metadata.
18144 (completion-table-with-terminator): Add default case, using
18145 complete-with-action.
18146 (completion--metadata): New function.
18147 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18148 to try and avoid pathological performance problems.
18149 (completion--embedded-envvar-table): Return `category' metadata.
18151 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18153 * subr.el (process-alive-p): New tiny convenience function.
18155 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18157 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18158 content but also its previous major mode.
18160 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18162 * emacs-lisp/debug.el (debug): Restore the previous content of the
18163 *Backtrace* buffer when we exit with C-M-c.
18165 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18167 * minibuffer.el: Add metadata method to completion tables.
18168 (completion-category-overrides): New defcustom.
18169 (completion-metadata, completion--field-metadata)
18170 (completion-metadata-get, completion--styles)
18171 (completion--cycle-threshold): New functions.
18172 (completion-try-completion, completion-all-completions):
18173 Add `metadata' argument to choose completion-styles.
18174 (completion--do-completion): Use metadata to choose cycling.
18175 (completion-all-sorted-completions): Use metadata for sorting.
18176 Remove :completion-cycle-penalty which is not needed any more.
18177 (completion--try-word-completion): Add `metadata' argument.
18178 (minibuffer-completion-help): Check metadata for annotation function
18180 (completion-file-name-table): Return `category' metadata.
18181 (minibuffer-completing-file-name): Make obsolete.
18182 * simple.el (minibuffer-completing-symbol): Make obsolete.
18183 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18184 completion-try-completion.
18186 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18188 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18190 2011-05-30 Leo Liu <sdl.web@gmail.com>
18192 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18193 (rcirc-print): Decode all incoming messages (bug#8744).
18194 (rcirc-decode-coding-system): Allow value nil for automatic coding
18197 2011-06-01 Glenn Morris <rgm@gnu.org>
18199 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18201 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18203 * image.el (image-animate-max-time): Allow nil and t values.
18205 (create-animated-image): Doc fix.
18206 (image-animate-start): Remove second arg; just use
18207 image-animate-max-time.
18208 (image-animate-timeout): Doc fix. Args changed.
18210 * image-mode.el (image-toggle-display-image): Ensure that the
18211 image spec passed to the animate timer is the same object as in
18212 the buffer's display property (Bug#6981).
18213 (image-transform-properties): Doc fix.
18215 * image.el (image-animate-max-time): Default to nil.
18217 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18219 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18220 entire buffer list (Bug#8184).
18222 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18224 * image.el (imagemagick-types-inhibit)
18225 (imagemagick-register-types): Doc fix.
18227 2011-05-29 Deniz Dogan <deniz@dogan.se>
18229 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18232 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18234 * select.el: Don't perform clipboard-manager saving in hooks;
18235 leave the hooks empty.
18237 2011-05-28 Leo Liu <sdl.web@gmail.com>
18239 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18240 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18241 (occur-edit-mode): New major mode (Bug#8463).
18242 (occur-after-change-function): New function.
18243 (occur-engine): Give Occur tags a read-only property.
18245 2011-05-28 Kevin Ryde <user42@zip.com.au>
18247 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18249 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18251 * bindings.el (help-echo): Make the initial non-indicator dash
18252 empty on graphical terminals (Bug#7295).
18254 * files.el (auto-mode-alist): Move config rule after the
18255 in-stripping one (Bug#8547).
18257 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18259 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18260 setting (Bug#8740).
18262 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18264 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18265 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18268 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18270 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18272 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18274 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18275 (hs-hide-block-at-point, hs-find-block-beginning)
18276 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18279 2011-05-28 Glenn Morris <rgm@gnu.org>
18281 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18283 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18285 * help-fns.el (describe-function-1): If the function is a derived
18286 major mode, print the parent mode.
18288 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18289 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18291 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18293 * minibuffer.el (completion--capf-wrapper): Check applicability before
18294 returning non-nil for non-exclusive completion data.
18295 * progmodes/etags.el (tags-completion-at-point-function):
18296 * info-look.el (info-lookup-completions-at-point): Mark as
18298 (info-complete): Adjust accordingly.
18300 * info-look.el: Convert to lexical-binding and completion-at-point.
18301 (info-lookup-completions-at-point): New function.
18302 (info-complete): Use it and completion-in-region.
18304 2011-05-28 Drew Adams <drew.adams@oracle.com>
18306 * isearch.el: Let M-e start with point at the first mismatched char.
18307 (isearch-fail-pos): New function.
18308 (isearch-edit-string): Use it.
18310 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18312 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18314 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18316 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18317 traversal functions for avl-trees.
18318 (avl-tree--stack): New struct.
18319 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18320 (avl-tree-enter): Add optional `updatefun' arg.
18321 (avl-tree--do-enter): Add optional `updatefun' arg.
18322 Change return value.
18323 (avl-tree-delete): Add optional `test' and `nilflag' args.
18324 (avl-tree--do-delete): Add `test' and `nilflag' args.
18325 Change return value.
18326 (avl-tree-member): Add optional `nilflag'
18327 (avl-tree-member-p): New function.
18328 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18329 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18330 (avl-tree-stack-empty-p): New functions.
18332 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18333 avl-tree--del-balance1 and make it work both ways.
18334 (avl-tree--del-balance2): Remove.
18335 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18336 make it work both ways.
18337 (avl-tree--enter-balance2): Remove.
18338 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18340 (avl-tree--mapc, avl-tree-map): Add direction argument.
18342 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18344 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18346 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18348 * select.el: Support clipboard managers with built-in function
18349 x-clipboard-manager-save, via delete-frame-functions and
18351 (xselect-convert-to-targets): Add MULTIPLE target to list.
18352 (xselect-convert-to-save-targets): New function.
18354 2011-05-27 Kenichi Handa <handa@m17n.org>
18356 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18357 let-binding rfc2047-encode-encoded-words to nil.
18359 2011-05-27 Glenn Morris <rgm@gnu.org>
18361 * mail/emacsbug.el: Don't require url-util.
18363 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18365 * files.el (set-auto-mode):
18366 Also respect mode: entries at the end of the file. (Bug#8586)
18368 2011-05-26 Glenn Morris <rgm@gnu.org>
18370 * files.el (hack-local-variables-prop-line, hack-local-variables):
18371 Downcase mode names, as seems to be traditional.
18372 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18374 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18375 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18377 2011-05-25 Julien Danjou <julien@danjou.info>
18379 * textmodes/rst.el (rst-define-level-faces): Do not define face
18380 symbol if it is already defined.
18382 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18384 * play/5x5.el (5x5-new-game, 5x5-randomize):
18385 Reset 5x5-solver-output to nil when a new grid is cast.
18386 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18387 these debugging traces, as defmacro breaks the compiled code.
18389 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18391 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18393 2011-05-24 Leo Liu <sdl.web@gmail.com>
18395 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18396 (vc-bzr-sha1): Adapt.
18398 * sha1.el: Remove. Function `sha1' is now builtin.
18400 * bindings.el: Provide sha1 feature.
18402 2011-05-24 Kenichi Handa <handa@m17n.org>
18404 * mail/sendmail.el: Require `rfc2047'.
18405 (mail-insert-from-field): Do not perform RFC2047 encoding.
18406 (mail-encode-header): New function.
18407 (sendmail-send-it): Set buffer-file-coding-system of the work
18408 buffer to the return value of select-message-coding-system.
18409 Call mail-encode-header.
18411 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18413 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18415 * mail/supercite.el (sc-default-cite-frame):
18416 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18418 2011-05-24 Glenn Morris <rgm@gnu.org>
18420 * progmodes/python.el (brm-menu): Declare.
18422 * emulation/viper.el (viper-set-hooks): Declare.
18424 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18425 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18426 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18427 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18428 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18429 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18431 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18433 Add an :exit-function for completion-at-point.
18435 * minibuffer.el (completion--done): New fun.
18436 (completion--do-completion): Use it. New arg `expect-exact'.
18437 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18438 since completion--do-completion does it for us now.
18439 (minibuffer-force-complete): Use completion--done and
18440 completion--replace. Handle sole-completion case with more care.
18441 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18442 (completion-extra-properties): New var.
18443 (completion-annotate-function): Make obsolete.
18444 (minibuffer-completion-help): Adjust accordingly.
18445 Use completion-list-insert-choice-function.
18446 (completion-at-point, completion-help-at-point):
18447 Bind completion-extra-properties.
18448 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18449 * simple.el (completion-list-insert-choice-function): New var.
18450 (completion-setup-function): Preserve it.
18451 (choose-completion): Pay attention to it, shuffle the code a bit.
18452 (choose-completion-string): New arg `insert-function'.
18454 * textmodes/bibtex.el: Convert to lexical binding.
18455 (bibtex-mode-map): Use completion-at-point.
18456 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18457 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18458 (bibtex-complete): Define as obsolete alias.
18459 (bibtex-complete-internal): Remove.
18460 (bibtex-format-entry): Remove unused sub-group in regexp.
18461 * shell.el (shell--command-completion-data)
18462 (shell-environment-variable-completion):
18463 * pcomplete.el (pcomplete-completions-at-point):
18464 * comint.el (comint--complete-file-name-data): Use :exit-function
18465 instead of completion-table-with-terminator so it also works for
18468 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18470 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18472 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18475 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18477 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18479 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18480 customization variable and implement: If non-nil, auto-fill will
18481 be inhibited while on topic's header line.
18483 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18485 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18486 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18487 always have a solution in grid size = 5 cases.
18488 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18489 (5x5-solver-output, 5x5-log-buffer): New vars.
18490 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18491 Make these variables buffer local to achieve 5x5 multi-session-ness.
18492 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18493 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18494 (5x5-solve-suggest): New funs.
18495 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18496 randomize a grid so that we ensure that there is always a solution.
18497 (5x5-make-random-grid): Allow other movement than flipping.
18499 2011-05-23 Kevin Ryde <user42@zip.com.au>
18501 * emacs-lisp/advice.el (ad-read-advised-function):
18502 Use `function-called-at-point' as the default, if it has
18503 advice and passes PREDICATE.
18505 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18507 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18508 byte-compile-lambda if it's actually a lambda.
18510 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18511 Fix function quoting. Use backquote better.
18513 2011-05-22 Yuanle Song <sylecn@gmail.com>
18515 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18516 matching (Bug#8516).
18518 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18520 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18521 different face (Bug#8178).
18523 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18525 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18526 defface (Bug#8144).
18528 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18530 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18531 funcall as well (bug#8712). Warn when performing those conversions.
18532 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18534 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18536 2011-05-22 Glenn Morris <rgm@gnu.org>
18538 * files.el (hack-local-variables-prop-line): Small simplifications.
18539 (hack-local-variables, hack-local-variables-prop-line):
18540 If MODE-ONLY, return the mode, rather than just `t'.
18542 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18544 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18546 2011-05-21 Glenn Morris <rgm@gnu.org>
18548 * files.el (hack-local-variables-prop-line, hack-local-variables):
18549 If only interested in the mode, don't bother doing the other stuff.
18551 * image-mode.el (image-after-revert-hook):
18552 Redraw all frames on which the image is visible. (Bug#8567)
18554 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18556 * wid-edit.el (widget-checklist-match-inline):
18557 Fix 2011-04-19 change. (Bug#8649)
18559 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18561 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18562 Also allow singlespace after single-letter capitals followed by a dot.
18564 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18565 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18567 2011-05-20 Nix <nix@esperi.org.uk>
18569 * files.el (basic-save-buffer-2):
18570 Fix handling of break-hardlink-on-save with non-existent files.
18572 2011-05-19 Deniz Dogan <deniz@dogan.se>
18574 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18575 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18577 2011-05-19 Glenn Morris <rgm@gnu.org>
18579 * progmodes/f90.el (f90-type-def-re):
18580 Handle "type, bind(c)". (Bug#8691)
18582 * emacs-lisp/autoload.el (batch-update-autoloads):
18583 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18585 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18587 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18588 property for the correct connection in case of multihops.
18590 2011-05-18 Glenn Morris <rgm@gnu.org>
18592 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18593 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18595 Rationalize calendar handling of day and month abbrev-arrays.
18596 * calendar/calendar.el (calendar-customized-p): New function.
18597 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18598 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18600 (calendar-abbrev-length, calendar-day-abbrev-array)
18601 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18602 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18603 Elements may no longer be nil.
18604 (calendar-day-name, calendar-month-name):
18605 Update for changed nature of abbrev arrays.
18606 * calendar/diary-lib.el (diary-name-pattern):
18607 Update for changed nature of abbrev arrays.
18608 (diary-mark-entries-1): Update calendar-make-alist calls.
18609 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18610 * calendar/cal-html.el (cal-html-day-abbrev-array):
18611 Simply inherit from calendar-day-abbrev-array.
18613 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18615 * progmodes/grep.el (grep-mode): Disable default
18616 compilation-directory-matcher setting (bug#8684).
18618 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18620 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18621 instead of "head" and "tail". There were problems with SunOS 5.9,
18622 and it performs better.
18624 2011-05-17 Glenn Morris <rgm@gnu.org>
18626 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18628 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18629 Replace obsolete function.
18631 * shell.el (pcomplete-parse-arguments-function): Declare.
18633 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18634 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18635 (appt-check): Doc fixes.
18636 (appt-disp-window-function, appt-delete-window-function):
18637 Remove needless special case in custom :type.
18638 (appt-display-count): Default to 0, not nil.
18639 (appt-check): Reset appt-display-count to 0, not nil.
18641 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18643 * progmodes/python.el (python-font-lock-keywords):
18644 Add the Python 3.X keyword "nonlocal" (bug#8639).
18646 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18648 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18650 2011-05-16 Kevin Ryde <user42@zip.com.au>
18652 * info-look.el (makefile-automake-mode): New setups, looking in
18653 automake manual, then makefile-mode.
18654 (makefile-mode): Remove automake manual, have it just in
18655 makefile-automake-mode since there's various things different or
18656 not relevant to plain make.
18657 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18658 believe a hypothetical automake-mode would go to makefile-mode,
18659 not the other way around.
18661 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18663 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18664 hunk-end tags (Bug#8672).
18666 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18667 vc-annotate-show-diff-revision-at-line (Bug#8671).
18669 2011-05-14 Glenn Morris <rgm@gnu.org>
18671 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18672 in the middle of an existing one with multiple authors. (Bug#8645)
18673 (change-log-font-lock-keywords): Also handle multiple author lines
18674 with leading tabs. (Bug#8644)
18676 * calendar/appt.el (appt-check): Rename some local variables.
18677 Some simplification/reordering.
18679 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18680 (feedmail-sendmail-f-doesnt-sell-me-out)
18681 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18682 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18683 (feedmail-queue-runner-message-sender): Set :version.
18684 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18685 (bbdb-dwim-net-address, vm-mail): Declare.
18686 (feedmail-binmail-gnulinuxish-template):
18687 Rename from feedmail-binmail-linuxish-template.
18688 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18689 Use insert-buffer-substring.
18691 2011-05-14 Bill Carpenter <bill@carpenter.org>
18693 * mail/feedmail.el (feedmail-patch-level): Increase.
18694 (feedmail-debug): New custom group.
18695 (feedmail-confirm-outgoing-timeout)
18696 (feedmail-sendmail-f-doesnt-sell-me-out)
18697 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18698 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18699 (feedmail-sender-line, feedmail-from-line)
18700 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18701 (feedmail-spray-this-address)
18702 (feedmail-spray-address-fiddle-plex-list)
18703 (feedmail-queue-use-send-time-for-date)
18704 (feedmail-queue-use-send-time-for-message-id)
18705 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18706 (feedmail-buffer-eating-function):
18708 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18709 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18710 (feedmail-message-action-scroll-down): New functions.
18711 (feedmail-queue-directory, feedmail-queue-draft-directory):
18712 Use expand-file-name.
18713 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18714 Remove C-v help entry.
18715 (feedmail-queue-buffer-file-name): New variable.
18716 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18717 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18718 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18719 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18720 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18721 (feedmail-message-action-toggle-spray)
18722 (feedmail-run-the-queue-no-prompts)
18723 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18724 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18725 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18726 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18727 (feedmail-envelope-deducer, feedmail-fiddle-from)
18728 (feedmail-fiddle-sender, feedmail-default-date-generator)
18729 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18730 (feedmail-fiddle-spray-address)
18731 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18732 (feedmail-fiddle-list-of-fiddle-plexes)
18733 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18734 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18735 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18736 Change default. Doc fix.
18737 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18738 (feedmail-binmail-linuxish-template): New constant.
18739 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18740 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18741 (feedmail-send-it): Add debug call.
18742 Use feedmail-queue-buffer-file-name, and
18743 feedmail-send-it-immediately-wrapper.
18744 (feedmail-message-action-send): Add debug call.
18745 Use feedmail-send-it-immediately-wrapper.
18746 (feedmail-queue-express-to-queue): Add debug call.
18747 Run feedmail-queue-express-hook.
18748 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18749 (feedmail-message-action-help-blat):
18750 Rename from feedmail-queue-send-edit-prompt-help-first.
18751 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18752 Check line-endings. Handle errors better.
18753 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18754 Doc fix. Add debug call.
18755 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18756 Use feedmail-queue-send-edit-prompt-inner.
18757 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18758 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18759 from feedmail-queue-send-edit-prompt.
18760 (feedmail-queue-send-edit-prompt-help)
18761 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18762 (feedmail-tidy-up-slug): Add debug call.
18763 Respect feedmail-queue-slug-suspect-regexp.
18764 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18765 (feedmail-dump-message-to-queue): Add debug call.
18766 Expand queue-directory.
18767 (feedmail-dump-message-to-queue): Change message slightly.
18768 Use feedmail-say-chatter.
18769 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18770 (feedmail-send-it-immediately-wrapper): New function.
18771 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18772 Insert empty string rather than newline. Handle full-frame case.
18773 Use catch/throw. Use feedmail-say-chatter.
18774 (feedmail-fiddle-from): Try mail-host-address.
18775 (feedmail-default-message-id-generator): Doc fix.
18776 Bind system-time-locale. Handle missing end.
18777 (feedmail-fiddle-x-mailer): Add debug call.
18778 Handle feedmail-x-mailer-line being nil.
18779 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18780 Add debug call. Use buffer-substring-no-properties.
18781 (feedmail-say-debug, feedmail-say-chatter): New functions.
18782 (feedmail-find-eoh): Give an explicit error.
18784 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18786 * net/newst-treeview.el (newsticker-treeview-face): Change default
18787 family from helvetica to sans.
18788 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18789 etc/images/newsticker.
18791 * net/newst-reader.el (newsticker-feed-face): Change default
18792 family from helvetica to sans.
18794 * net/newst-plainview.el (newsticker-new-item-face)
18795 (newsticker-old-item-face, newsticker-immortal-item-face)
18796 (newsticker-obsolete-item-face, newsticker-date-face)
18797 (newsticker-statistics-face): Change default family from
18799 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18800 etc/images/newsticker.
18802 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18803 (newsticker--process-auto-mark-filter-match): Tell user about
18806 2011-05-13 Didier Verna <didier@xemacs.org>
18808 Common Lisp indentation improvements on defmethod and lambda-lists.
18809 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18811 (lisp-lambda-list-keyword-parameter-indentation)
18812 (lisp-lambda-list-keyword-parameter-alignment)
18813 (lisp-lambda-list-keyword-alignment): New customizable user options.
18814 (lisp-indent-defun-method): Improve docstring.
18815 (extended-loop-p): Fix comment.
18816 (lisp-indent-lambda-list-keywords-regexp): New variable.
18817 (lisp-indent-lambda-list): New function.
18818 (lisp-indent-259): Use it.
18819 (lisp-indent-defmethod): Support for more than one
18820 method qualifier and properly indent methods lambda-lists.
18821 (defgeneric): Provide a missing common-lisp-indent-function property.
18823 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18825 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18826 bounds for the empty string (bug#8667).
18828 2011-05-13 Glenn Morris <rgm@gnu.org>
18830 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18832 * mail/sendmail.el (sendmail-program): Try executable-find first.
18833 (sendmail-send-it): `sendmail-program' cannot be unbound.
18835 * calendar/appt.el (appt-make-list): Simplify.
18836 (appt-time-msg-list): Doc fix.
18837 (appt-check): Change mode-line message at the time of the appointment.
18839 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18841 * progmodes/ld-script.el (ld-script-keywords)
18842 (ld-script-builtins): Update keywords list.
18844 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18846 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18848 * shell.el (shell-completion-vars): New function.
18850 * simple.el (read-shell-command): Use it.
18851 (blink-matching-open): No need for " [...]" in minibuffer-message.
18853 2011-05-12 Glenn Morris <rgm@gnu.org>
18855 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18856 (appt-check): Simplify.
18858 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18860 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18861 literal "/dev/null".
18863 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18865 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18868 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18870 * progmodes/which-func.el (which-function):
18871 Use add-log-current-defun instead of add-log-current-defun-function,
18872 which might not be defined (Bug#8260).
18874 2011-05-12 Glenn Morris <rgm@gnu.org>
18876 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18877 Let byte-compile-initial-macro-environment always take precedence.
18879 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18881 * net/rcirc.el: Add support for SSL/TLS connections.
18882 (rcirc-server-alist): New field `encryption'.
18883 (rcirc): Check `encryption' settings.
18884 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18885 Merge make-local-variable into `set'.
18886 (rcirc--connection-open-p): New function.
18887 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18888 the process is not a network process (e.g. running gnutls-cli).
18889 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18890 Make rcirc-(en|de)code-coding-system local here.
18891 (rcirc-mode): Merge make-local-variable into `set'.
18892 (rcirc-parent-buffer): Make permanent buffer-local.
18893 (rcirc-multiline-minor-mode): Don't do it here.
18894 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18895 there's no server buffer.
18897 2011-05-11 Glenn Morris <rgm@gnu.org>
18899 * newcomment.el (comment-kill): Prefix "unused" local.
18901 * term/w32console.el (get-screen-color): Declare.
18903 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18904 Handle symbol elements of byte-compile-initial-macro-environment.
18906 2011-05-10 Leo Liu <sdl.web@gmail.com>
18908 * bookmark.el (bookmark-bmenu-mode-map):
18909 Bind bookmark-bmenu-search to `/'.
18911 * mail/footnote.el: Convert to utf-8 encoding.
18912 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18913 (Footnote-unicode): New function.
18914 (footnote-style-alist): Add unicode style to the list.
18915 (footnote-style): Doc fix.
18917 2011-05-10 Jim Meyering <meyering@redhat.com>
18919 Fix doubled-word typos.
18920 * international/quail.el (quail-insert-kbd-layout): and and -> and
18921 * kermit.el: and and -> and
18922 * net/ldap.el (ldap-search-internal): to to -> to
18923 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18924 * progmodes/js.el (js-mode): and and -> and
18925 * textmodes/artist.el (artist-move-to-xy): at at -> at
18926 (artist-draw-region-trim-line-endings): if if -> if
18927 And Safetyc -> Safety.
18928 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18930 2011-05-10 Glenn Morris <rgm@gnu.org>
18931 Stefan Monnier <monnier@iro.umontreal.ca>
18933 * files.el (hack-one-local-variable-eval-safep):
18934 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18936 2011-05-10 Glenn Morris <rgm@gnu.org>
18938 * calendar/diary-lib.el (diary-list-entries-hook)
18939 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18940 (diary-nongregorian-marking-hook, diary-list-entries)
18941 (diary-include-other-diary-files, diary-mark-entries)
18942 (diary-mark-included-diary-files): Doc fixes.
18944 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18946 * misc.el: Require tabulated-list.el during compilation.
18948 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18950 * progmodes/compile.el (compilation-start):
18951 Run compilation-filter-hook for the async case too.
18952 (compilation-filter-hook): Doc fix.
18954 2011-05-09 Deniz Dogan <deniz@dogan.se>
18956 * wdired.el: Remove outdated installation comment. Fix usage
18959 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18961 * misc.el: Implement new command `list-dynamic-libraries'.
18962 (list-dynamic-libraries--loaded-only-p): New variable.
18963 (list-dynamic-libraries--refresh): New function.
18964 (list-dynamic-libraries): New command.
18966 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18968 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18969 Fix the ant regexp to handle end-line and end-column info from jikes.
18970 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18971 higher priority to avoid clobbering by gnu.
18973 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18975 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18976 if the face has existing theme settings (Bug#8454).
18978 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18980 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18981 Only match variables declared via `my' or `our' (Bug#8261).
18983 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18984 special file names `.' and `..' (Bug#8259).
18986 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18988 * progmodes/grep.el (grep-mode-font-lock-keywords):
18989 Remove buffer-changing entries.
18990 (grep-filter): New function.
18991 (grep-mode): Add it to compilation-filter-hook.
18993 * progmodes/compile.el (compilation-filter-hook)
18994 (compilation-filter-start): New defvars.
18995 (compilation-filter): Call compilation-filter-hook prior to
18996 updating the process mark.
18998 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19000 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19002 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19004 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19005 mailclient-send-it even if window-system is nil. (Bug#8595)
19007 * term/w32console.el (terminal-init-w32console):
19008 Call get-screen-color and use its output to set the frame
19009 background-mode. (Bug#8597)
19011 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19013 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19014 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19016 (defgeneric, eieio--defmethod): Use them.
19017 (eieio-defgeneric): Remove.
19018 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19020 2011-05-07 Glenn Morris <rgm@gnu.org>
19022 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19023 Use let rather than let*.
19024 (timeclock-find-discrep): Remove unused local.
19026 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19028 * calendar/appt.el (appt-time-msg-list): Doc fix.
19030 2011-05-06 Noah Friedman <friedman@splode.com>
19032 * apropos.el (apropos-print-doc): Only use
19033 emacs-lisp-docstring-fill-column when it is bound to an integer,
19034 per that variable's documentation.
19036 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19038 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19039 and warnings are not silently discarded (e.g. use -d instead of -P).
19041 2011-05-06 Glenn Morris <rgm@gnu.org>
19043 * calendar/appt.el (appt-message-warning-time): Doc fix.
19044 (appt-warning-time-regexp): New option.
19045 (appt-make-list): Respect appt-message-warning-time.
19047 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19049 (diary-add-to-list): Strip comments from the displayed string.
19050 (diary-mode): Set comment-start and comment-end.
19052 * vc/diff-mode.el (smerge-refine-subst): Declare.
19053 (diff-refine-hunk): Don't require smerge-mode when compiling.
19055 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19057 * simple.el (list-processes): Return nil as the docstring says.
19059 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19061 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19063 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19064 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19065 determining of binary transfer. (Bug#7383)
19067 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19070 Fix port computation bug. (Bug#8618)
19072 2011-05-05 Glenn Morris <rgm@gnu.org>
19074 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19076 * simple.el (shell-dynamic-complete-functions)
19077 (comint-dynamic-complete-functions): Declare.
19079 * net/network-stream.el (gnutls-negotiate):
19080 * simple.el (tabulated-list-print): Fix declarations.
19082 * progmodes/gud.el (syntax-symbol, syntax-point):
19083 Remove unnecessary and incorrect declarations.
19085 * emacs-lisp/check-declare.el (check-declare-scan):
19086 Handle byte-compile-initial-macro-environment in bytecomp.el.
19088 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19090 Fix earlier half-done eieio-defmethod change (bug#8338).
19091 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19092 Streamline and change calling convention.
19093 (defmethod): Adjust accordingly and simplify.
19094 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19095 new eieio--defmethod.
19096 (slot-boundp): Minor CSE simplification.
19098 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19100 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19101 (glasses-make-readable): Use glasses-separate-capital-groups.
19103 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19105 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19106 (warning-series): Doc fix.
19107 (display-warning): Don't try to create the buffer if we just found it.
19109 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19111 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19112 (autoload-find-generated-file): New function.
19113 (generate-file-autoloads): Bind generated-autoload-file to
19115 (update-file-autoloads, update-directory-autoloads):
19116 Use autoload-find-generated-file. If called interactively, prompt for
19117 output file (Bug#7989).
19118 (batch-update-autoloads): Doc fix.
19120 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19122 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19124 2011-05-04 Glenn Morris <rgm@gnu.org>
19126 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19127 function, so it follows changes in calendar-date-style.
19128 (diary-fancy-date-matcher): New function.
19129 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19130 (diary-fancy-font-lock-fontify-region-function):
19131 Use diary-fancy-date-pattern as a function.
19133 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19134 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19136 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19138 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19139 instead of positional arguments. Allow :keylist and :crlfiles
19141 (open-gnutls-stream): Call it.
19143 * net/network-stream.el (network-stream-open-starttls): Adjust to
19144 call `gnutls-negotiate' with :process and :hostname arguments.
19146 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19148 * minibuffer.el (completion--message): New function.
19149 (completion--do-completion, minibuffer-complete)
19150 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19151 (completion--do-completion): Don't ignore completion-auto-help when in
19154 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19155 internal encoding (e.g. tibetan zero is not whitespace).
19156 (global-whitespace-mode): Prefer save-current-buffer.
19157 (whitespace-trailing-regexp): Remove useless save-match-data.
19158 (whitespace-empty-at-bob-regexp): Minor simplification.
19160 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19162 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19164 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19166 * textmodes/ispell.el (ispell-add-per-file-word-list):
19167 Use `concat' to create string for insertion.
19169 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19171 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19172 Avoid open-line which runs post-self-insert-hook.
19173 (bibtex-fill-entry): Remove unused `end' var.
19175 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19177 * textmodes/ispell.el (ispell-add-per-file-word-list):
19178 Protect against `nil' value of `comment-start' (Bug#8579).
19180 2011-05-03 Leo Liu <sdl.web@gmail.com>
19182 * isearch.el (isearch-yank-pop): New command.
19183 (isearch-mode-map): Bind it to `M-y'.
19184 (isearch-forward): Mention it.
19186 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19188 * simple.el (minibuffer-complete-shell-command): Remove.
19189 (minibuffer-local-shell-command-map): Use completion-at-point.
19190 (read-shell-command): Setup completion vars here instead.
19191 (read-expression-map): Bind TAB to symbol completion.
19193 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19194 error directly rather via storing it into `results'.
19196 2011-05-02 Leo Liu <sdl.web@gmail.com>
19198 * vc/diff.el: Fix description.
19200 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19202 * server.el (server-eval-at): New function.
19204 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19206 * net/network-stream.el (open-network-stream): Take a :nowait
19207 parameter and pass it on to `make-network-process'.
19208 (network-stream-open-plain): Ditto.
19210 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19212 * faces.el (face-spec-set-match-display): Don't match toolkit
19213 options on terminal frames.
19215 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19217 * progmodes/pascal.el: Use lexical binding.
19218 (pascal-mode-map): Remove author preferences.
19220 * pcomplete.el (pcomplete-std-complete): Don't abuse
19221 completion-at-point.
19223 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19225 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19226 removing code that has been dead since 1991 or so.
19228 * startup.el (command-line): When warning about "_emacs", use a
19229 delayed warning to allow the user to filter it out.
19231 2011-04-28 Deniz Dogan <deniz@dogan.se>
19233 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19234 user has not joined.
19236 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19238 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19239 aren't any completions at point.
19241 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19243 * subr.el (display-delayed-warnings): New function.
19244 (delayed-warnings-hook): New variable.
19246 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19248 * minibuffer.el (completion-at-point, completion-help-at-point):
19249 Don't presume that a given completion-at-point-function will always
19250 use the same calling convention.
19252 * pcomplete.el (pcomplete-completions-at-point):
19253 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19254 pcomplete-seen is non-nil.
19255 (pcomplete-comint-setup): Also recognize the new comint/shell
19256 completion functions.
19257 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19258 pcomplete-seen is non-nil.
19260 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19262 * calendar/icalendar.el (diary-lib): Add require statement.
19263 (icalendar--create-uid): Read out a uid from a text-property on
19264 the first character in the entry. This allows for code to add its
19265 own uid to the entry.
19266 (icalendar--convert-float-to-ical): Add export of
19267 `diary-float'-entries save for those with the optional DAY
19270 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19272 * subr.el (shell-quote-argument): Use alternate escaping strategy
19273 when we spot a variable reference in a string.
19275 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19277 * cus-start.el (all): Define customization for debug-on-event.
19279 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19281 * subr.el (shell-quote-argument): Escape correctly under Windows.
19283 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19285 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19287 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19289 * net/tramp.el (tramp-process-actions): Add POS argument.
19290 Delete region between POS and (pos).
19292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19293 Use `nil' position in `tramp-process-actions' call.
19294 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19296 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19297 position in `tramp-process-actions' call.
19299 * net/trampver.el: Update release number.
19301 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19303 * custom.el (defcustom): Obey lexical-binding.
19305 Fix octave-inf completion problems reported by Alexander Klimov.
19306 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19307 Inherit from octave-mode-syntax-table.
19308 (inferior-octave-mode): Set info-lookup-mode.
19309 (inferior-octave-completion-at-point): New function.
19310 (inferior-octave-complete): Use it and completion-in-region.
19311 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19312 comint-filename-completion.
19313 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19314 symbol elements which shouldn't be word elements.
19315 (octave-font-lock-keywords, octave-beginning-of-defun)
19316 (octave-function-header-regexp): Adjust regexps accordingly.
19317 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19319 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19321 * net/gnutls.el (gnutls-errorp): Declare before first use.
19323 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19325 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19326 verify-error, and verify-hostname-error parameters. Check whether
19327 default trustfile exists before going to use it. Add missing
19328 argument to gnutls-message-maybe call. Return value.
19329 Reported by Claudio Bley <claudio.bley@gmail.com>.
19330 (open-gnutls-stream): Add usage example.
19332 * net/network-stream.el (network-stream-open-starttls): Give host
19333 parameter to `gnutls-negotiate'.
19334 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19335 * subr.el (shell-quote-argument): Escape correctly under Windows.
19337 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19339 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19340 Use correct match group (bug#8438).
19342 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19344 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19345 (package-menu--generate): New arg specifying packages to show.
19346 (package-menu-refresh, package-menu-execute, list-packages):
19348 (package-show-package-list): New function, replacing deleted
19349 package--list-packages (renamed because it is non-internal).
19351 * finder.el (finder-list-matches): Use package-show-package-list
19352 instead of deleted package--list-packages.
19354 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19355 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19356 (vc-annotate-mode-map): Bind it to RET.
19358 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19360 * progmodes/etags.el (next-file): Don't use set-buffer to change
19361 buffers (Bug#8478).
19363 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19365 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19367 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19368 (apropos-accumulator): Doc fix.
19369 (apropos-function, apropos-macro, apropos-command)
19370 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19371 (apropos-plist): Add face property.
19372 (apropos-symbols-internal): Fix indentation.
19373 (apropos-print): Simplify help, and recognize apropos-multi-type.
19374 (apropos-print-doc): Use button-type-get to extract the button's
19375 face property. Fill docstring (Bug#8352).
19377 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19379 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19381 * play/mpuz.el (mpuz-silent): Doc fix.
19382 (mpuz-mode-map): Use mapc.
19383 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19384 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19385 Fix typos in docstrings.
19387 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19388 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19390 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19392 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19394 * minibuffer.el (completion--do-completion): Avoid the "Next char
19395 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19397 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19398 mouse-2 into unread-command-events, it is interpreted correctly.
19400 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19401 (image-toggle-display): Doc fix.
19403 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19405 * textmodes/page.el (what-page): Use line-number-at-pos to
19406 calculate line number (Bug#6825).
19408 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19410 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19411 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19412 Pass argument NO-DEFAULT to `find-tag-interactive'.
19414 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19416 Lexical-binding cleanup.
19418 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19419 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19420 * progmodes/ada-prj.el (ada-prj-initialize-values)
19421 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19422 (ada-prj-show-value):
19423 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19424 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19425 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19426 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19427 * progmodes/bug-reference.el (bug-reference-push-button):
19428 * progmodes/fortran.el (fortran-line-length):
19429 * progmodes/glasses.el (glasses-change):
19430 * progmodes/octave-mod.el (octave-fill-paragraph):
19431 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19432 (python-pdbtrack-grub-for-buffer, python-sentinel):
19433 * progmodes/sql.el (sql-save-connection):
19434 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19435 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19436 Mark unused parameters.
19438 * progmodes/compile.el (compilation--flush-directory-cache)
19439 (compilation--flush-parse, compile-internal): Mark unused parameters.
19440 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19441 (compilation-next-error-function): Remove unused variable `timestamp'.
19443 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19444 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19446 * progmodes/dcl-mode.el (dcl-end-of-command):
19447 Remove unused variable `start'.
19448 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19449 (dcl-option-value-basic, dcl-option-value-offset)
19450 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19451 Mark unused parameters.
19452 (dcl-save-local-variable): Remove unused variable `val'.
19455 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19456 Mark unused parameters.
19457 (delphi-ignore-changes): Move before first use.
19458 (delphi-charset-token-at): Remove unused variable `start'.
19459 (delphi-else-start): Remove unused variable `if-count'.
19460 (delphi-comment-block-start, delphi-comment-block-end):
19461 Remove unused variable `kind'.
19462 (delphi-indent-line): Remove unused variable `new-point'.
19464 * progmodes/ebrowse.el (ebrowse-files-list)
19465 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19466 Mark unused parameters. Don't quote `lambda'.
19467 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19468 Don't quote `lambda'.
19469 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19470 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19471 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19472 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19473 Use `ignore-errors'.
19474 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19475 (ebrowse-view/find-file-and-search-pattern)
19476 (ebrowse-view/find-member-declaration/definition):
19477 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19478 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19479 Rename parameter PREFIX-ARG to PREFIX.
19480 (ebrowse-tags-read-name): Remove unused variables `start' and
19482 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19485 * progmodes/etags.el (local-find-tag-hook): Declare.
19486 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19487 Mark unused parameters.
19489 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19490 (executable-interpret): Mark unused parameter.
19492 * progmodes/flymake.el (flymake-process-sentinel)
19493 (flymake-after-change-function)
19494 (flymake-create-temp-with-folder-structure)
19495 (flymake-get-include-dirs-dot): Mark unused parameters.
19496 (flymake-safe-delete-directory): Remove unused variable `err'.
19498 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19499 (speedbar-timer-fn, speedbar-line-text)
19500 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19501 (speedbar-center-buffer-smartly): Declare functions.
19502 (gdb-find-watch-expression): Remove unused variable `array'.
19503 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19504 (gdb-starting): Mark unused parameters.
19505 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19506 (gdb-table-string): Remove unused variable `res'.
19507 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19508 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19509 (gdb-display-buffer): Remove unused variable `cur-size'.
19511 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19512 allow lexical-binding compilation.
19513 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19514 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19515 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19516 Mark unused parameters.
19517 (gud-gdb-marker-filter): Remove unused variable `match'.
19518 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19519 lambda expressions and funcall them, instead of using `fset'.
19521 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19522 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19524 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19525 variable `header-beg'; use `let'.
19527 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19528 `restart', `last-sexp' and `at-do'.
19530 * progmodes/js.el (js--debug): Mark unused parameter.
19531 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19532 (js--splice-into-items): Remove unused variable `item'.
19533 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19535 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19536 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19537 (makefile-complete): Remove unused variable `try'.
19538 (makefile-fill-paragraph, makefile-match-function-end):
19539 Mark unused parameters.
19541 * progmodes/octave-inf.el (inferior-octave-complete):
19542 Remove unused variable `proc'.
19543 (inferior-octave-output-digest): Mark unused parameter.
19545 * progmodes/perl-mode.el (perl-calculate-indent):
19546 Remove unused variable `err'.
19548 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19549 (prolog-indent-line): Mark unused parameters.
19550 (prolog-indent-line): Remove unused variable `beg'.
19552 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19553 (reporter-dont-compact-list): Declare.
19555 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19556 Remove unused variable `char'.
19557 (sh-debug): Mark unused parameter.
19558 (sh-get-indent-info): Remove unused variable `start'.
19559 (sh-calculate-indent): Remove unused variable `var'.
19561 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19562 (simula-electric-keyword): Remove unused variable `null'.
19563 (simula-search-backward, simula-search-forward): Remove unused
19564 variables `begin' and `end'.
19566 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19567 Remove unused variable `pos'.
19568 (vera-electric-tab, vera-comment-uncomment-region):
19569 Mark unused parameters.
19570 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19572 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19574 * emacs-lisp/package.el (package--builtins, package-alist)
19575 (package-load-descriptor, package-built-in-p, package-activate)
19576 (define-package, package-installed-p)
19577 (package-compute-transaction, package-buffer-info)
19578 (package--push): Doc fix. Distinguish more clearly between
19579 version strings and version lists.
19581 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19583 Lexical-binding cleanup.
19585 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19586 (5x5-make-mutate-best):
19587 * play/fortune.el (fortune-in-buffer):
19588 * play/gomoku.el (gomoku-init-display):
19589 * play/solitaire.el (solitaire, solitaire-do-check):
19590 * play/tetris.el (tetris-default-update-speed-function):
19591 Mark unused parameters.
19593 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19594 (bubbles--shift): Remove unused variable `char-org'.
19595 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19596 (bubbles--show-images): Remove unused variable `char'.
19598 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19599 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19600 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19601 (decipher-analyze-buffer): Use ?\s.
19602 (decipher-make-checkpoint): Remove unused variable `mapping'.
19604 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19606 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19607 Remove unused variable `result'; use `let'.
19609 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19610 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19611 (gametree-children-shown-p, gametree-compute-reduced-score):
19612 Use `ignore-errors'.
19614 * play/handwrite.el (ps-lpr-switches): Declare.
19615 (handwrite): Remove unused variables `pmin' and `lastp'.
19617 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19619 * play/landmark.el (landmark-init-display)
19620 (landmark-update-naught-weights): Mark unused parameters.
19621 (landmark-y): Remove unused variable `noise'. Simplify.
19622 (landmark-human-plays): Remove unused variable `score'.
19624 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19625 (mpuz-try-proposal): Remove unused variable `game'.
19627 * play/zone.el (life-patterns): Declare.
19629 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19631 * vc/vc.el (ediff-vc-internal): Declare function.
19633 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19635 * shell.el: Use lexical-binding and std completion UI.
19636 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19637 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19638 comint-preoutput-filter-functions rather than on
19639 comint-output-filter-functions.
19640 (shell-command-completion, shell--command-completion-data)
19641 (shell-filename-completion, shell-environment-variable-completion)
19642 (shell-c-a-p-replace-by-expanded-directory): New functions.
19643 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19644 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19645 (shell-dynamic-complete-environment-variable): Use them.
19646 (shell-dynamic-complete-as-environment-variable)
19647 (shell-dynamic-complete-as-command): Remove.
19648 (shell-match-partial-variable): Match past point.
19649 * comint.el: Clean up use of completion-at-point-functions.
19650 (comint-completion-at-point): New function.
19651 (comint-mode): Use it completion-at-point-functions.
19652 (comint-dynamic-complete): Make it obsolete.
19653 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19654 (comint-c-a-p-replace-by-expanded-history): New function.
19655 (comint-dynamic-complete-functions)
19656 (comint-replace-by-expanded-history): Use it.
19657 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19658 termination strings. Try harder to avoid second try-completion.
19659 (completion-in-region-mode-map): Disable bindings that don't work yet.
19661 * comint.el: Use lexical-binding. Require CL.
19662 (comint-dynamic-complete-functions): Use comint-filename-completion.
19663 (comint-completion-addsuffix): Tweak custom type.
19664 (comint-filename-completion, comint--common-suffix)
19665 (comint--common-quoted-suffix, comint--table-subvert)
19666 (comint--complete-file-name-data): New functions.
19667 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19668 (comint-dynamic-list-filename-completions): Use them.
19669 (comint-dynamic-simple-complete): Make obsolete.
19671 * minibuffer.el (completion-in-region-mode):
19672 Keep completion-in-region-mode--predicate global.
19673 (completion-in-region--postch):
19674 Assume completion-in-region-mode--predicate is not null.
19676 * progmodes/flymake.el (flymake-start-syntax-check-process):
19677 Obey `dir'. Simplify.
19679 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19680 we're in VC after all.
19682 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19684 * vc/vc.el (vc-diff-build-argument-list-internal)
19685 (vc-version-ediff, vc-ediff): New commands.
19686 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19688 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19690 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19693 * obsolete/erc-hecomplete.el: Make obsolete.
19694 * obsolete/: Standardize obsolescence info in the header.
19696 2011-04-20 Glenn Morris <rgm@gnu.org>
19698 * calendar/solar.el (solar-horizontal-coordinates):
19699 Use the longitude argument rather than `calendar-longitude'.
19700 (solar-date-next-longitude): Remove unused locals.
19702 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19704 * whitespace.el: New version 13.2.1.
19706 2011-04-20 felix <EmacsWiki> (tiny change)
19708 * whitespace.el (global-whitespace-mode): Keep highlight when
19709 switching between major modes on a file.
19711 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19713 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19714 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19715 multi-line comments as well.
19717 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19719 Lexical-binding cleanup.
19721 * arc-mode.el (archive-mode-revert):
19722 * cmuscheme.el (scheme-interactively-start-process):
19723 * custom.el (custom-initialize-delay):
19724 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19725 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19726 * emacs-lock.el (emacs-lock-clear-sentinel):
19727 * ezimage.el (defezimage):
19728 * follow.el (follow-avoid-tail-recenter):
19729 * fringe.el (set-fringe-mode-1):
19730 * generic-x.el (bat-generic-mode-compile):
19731 * help-mode.el (help-info-variable, help-do-xref)
19732 (help-mode-revert-buffer):
19733 * help.el (view-emacs-todo):
19734 * iswitchb.el (iswitchb-completion-help):
19735 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19736 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19737 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19738 * locate.el (locate-update):
19739 * longlines.el (longlines-encode-region)
19740 (longlines-after-change-function):
19741 * outline.el (outline-isearch-open-invisible):
19742 * ps-def.el (declare-function, charset-dimension, char-width)
19744 * ps-mule.el (ps-mule-plot-string):
19745 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19746 (recentf-edit-list-select, recentf-edit-list-validate)
19747 (recentf-open-files-action):
19748 * rect.el (delete-whitespace-rectangle-line)
19749 (rectangle-number-line-callback):
19750 * register.el (window-configuration-to-register)
19751 (frame-configuration-to-register):
19752 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19753 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19754 (xselect-convert-to-targets, xselect-convert-to-delete)
19755 (xselect-convert-to-filename, xselect-convert-to-charpos)
19756 (xselect-convert-to-lineno, xselect-convert-to-colno)
19757 (xselect-convert-to-os, xselect-convert-to-host)
19758 (xselect-convert-to-user, xselect-convert-to-class)
19759 (xselect-convert-to-name, xselect-convert-to-integer)
19760 (xselect-convert-to-atom, xselect-convert-to-identity):
19761 * subr.el (declare, ignore, process-kill-without-query)
19762 (text-clone-maintain):
19763 * terminal.el (te-get-char, te-tic-sentinel):
19764 * tool-bar.el (tool-bar-make-keymap):
19765 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19766 * type-break.el (type-break-mode, type-break-noninteractive-query):
19767 * view.el (View-back-to-mark):
19768 * wid-browse.el (widget-browse-action, widget-browse-widget)
19769 (widget-browse-widgets, widget-browse-sexp):
19770 * widget.el (define-widget-keywords):
19771 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19772 Mark unused parameters.
19774 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19775 (align-areas): Remove unused variable `look'.
19776 (align-region): Remove unused variables `real-end' and `pos-list'.
19778 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19780 * bindings.el (mode-line-modified, mode-line-remote):
19781 Mark unused parameters.
19782 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19784 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19785 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19787 * comint.el (comint-history-isearch-pop-state)
19788 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19789 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19790 (comint-substitute-in-file-name): Doc fix.
19792 * completion.el (cmpl-statistics-block): Mark unused parameter.
19793 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19794 (save-completions-to-file, load-completions-from-file):
19795 Remove unused local variable `e'.
19797 * composite.el (compose-chars): Remove unused variable `len'.
19798 (lgstring-insert-glyph): Remove unused variable `g'.
19799 (compose-glyph-string): Remove unused variables `ascent',
19800 `descent', `lbearing' and `rbearing'.
19801 (compose-glyph-string-relative): Remove unused variables
19802 `lbearing', `rbearing' and `wadjust'.
19803 (compose-gstring-for-graphic): Remove unused variables `header',
19804 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19805 (compose-gstring-for-terminal): Remove unused variables `header'
19806 and `nchars'. Use `let', not `let*'.
19808 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19809 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19810 (Custom-buffer-done, custom-buffer-create-internal)
19811 (custom-browse-visibility-action, custom-browse-group-tag-action)
19812 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19813 (widget-magic-mouse-down-action, custom-toggle-parent)
19814 (custom-add-parent-links, custom-toggle-hide-variable)
19815 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19816 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19817 (custom-face-menu-create, custom-variable-menu-create, get)
19818 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19819 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19820 (customize-apropos): Remove unused variable `tests'.
19821 (custom-group-value-create): Remove unused variable `hidden-p'.
19822 (sort-fold-case): Declare.
19824 * cus-theme.el (custom-reset-standard-faces-list)
19825 (custom-reset-standard-variables-list): Declare.
19826 (customize-create-theme, custom-theme-revert, custom-theme-write)
19827 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19828 Mark unused parameters.
19830 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19832 * delim-col.el (delimit-columns-max): Move defvar before first use.
19834 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19835 (describe-char): Don't quote `lambda'. Mark unused parameter.
19837 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19838 (auto-insert): Declare.
19839 (desktop-restore-file-buffer): Rename desktop-* parameters;
19841 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19842 (desktop-buffer): Rename desktop-* parameters.
19844 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19845 (dframe-reposition-frame-xemacs, dframe-help-echo)
19846 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19847 Mark unused parameters.
19849 * dired-aux.el (backup-extract-version-start, overwrite-query)
19850 (overwrite-backup-query, rename-regexp-query)
19851 (rename-non-directory-query): Declare.
19852 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19853 (dired-add-entry): Remove unused variable `orig-file-name'.
19854 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19855 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19856 `dired-copy-preserve-time' directly.
19857 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19858 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19860 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19861 (dired-virtual-revert, dired-make-relative-symlink):
19862 Mark unused parameters.
19863 (manual-program): Declare.
19864 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19865 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19866 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19868 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19870 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19872 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19875 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19877 * electric.el (Electric-command-loop): Rename parameter
19878 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19880 * expand.el (expand-in-literal): Remove unused variable `here'.
19882 * facemenu.el (facemenu-add-new-color):
19883 Remove unused variable `docstring'.
19885 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19886 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19887 (face-attr-construct): Mark unused parameter. Doc fix.
19888 (read-color): Remove unused variable `hex-string'.
19890 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19891 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19892 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19893 (display-buffer-other-frame): Remove unused variable `old-window'.
19894 (kill-buffer-hook): Declare.
19895 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19896 Mark unused parameters.
19897 (after-find-file): Pass 1 to `auto-save-mode', not t.
19899 * files-x.el (auto-insert): Declare.
19900 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19902 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19903 variable `buf'. Mark unused parameter.
19904 (find-lisp-insert-directory): Mark unused parameter.
19906 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19907 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19908 (format-common-tail): Remove, unused.
19909 (format-deannotate-region): Remove unused variable `loc'.
19910 (format-annotate-region): Remove unused variable `p'.
19911 (format-annotate-single-property-change): Remove unused variables
19912 `default' and `tail'.
19914 * forms.el (read-file-filter): Declare.
19915 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19917 * frame.el (frame-creation-function-alist): Mark unused parameter.
19918 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19920 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19921 Remove unused parameters.
19922 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19923 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19925 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19926 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19927 (hfy-prepare-tag-map): Mark unused parameters.
19928 (htmlfontify-buffer): Use `called-interactively-p'.
19930 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19931 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19932 (ibuffer-do-occur): Mark unused parameters.
19933 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19934 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19936 * ibuffer.el: Don't quote `lambda'.
19937 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19938 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19939 Mark unused parameters.
19941 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19942 (ido-completing-read): Mark unused parameters.
19943 (ido-copy-current-word): Mark unused parameters;
19944 remove unused variable `name'.
19945 (ido-sort-merged-list): Remove unused parameter `dirs'.
19947 * ielm.el (ielm-input-sender): Mark unused parameter.
19948 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19949 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19950 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19951 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19952 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19954 * image-dired.el (image-dired-display-thumbs): Remove unused
19955 variables `curr-file' and `count'.
19956 (image-dired-remove-tag): Remove unused variable `start'.
19957 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19958 variable `curr-file'
19959 (image-dired-rotate-original): Remove unused variable `temp-file'.
19960 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19961 Remove unused variable `file'.
19962 (image-dired-gallery-generate): Remove unused variable `curr'.
19963 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19965 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19967 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19969 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19971 * isearch.el (minibuffer-history-symbol): Declare.
19972 (isearch-edit-string): Remove unused variable `err'.
19973 (isearch-message-prefix, isearch-message-suffix):
19974 Mark unused parameters.
19976 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19978 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19980 * makesum.el (double-column): Remove unused variable `cnt'.
19982 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19983 (ido-ignore-item-temp-list): Declare.
19985 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19986 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19987 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19988 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19991 * mouse-sel.el (mouse-extend-internal):
19992 Remove unused variable `orig-window-frame'.
19994 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19995 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19996 Move declarations before first use.
19997 (pcomplete-opt): Mark unused parameters; doc fix.
19999 * proced.el (proced-revert): Mark unused parameter.
20000 (proced-send-signal): Remove unused variable `err'.
20002 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20003 Rename parameter PREFIX-ARG to ARG.
20004 (ps-basic-plot-string, ps-basic-plot-whitespace):
20005 Mark unused parameters.
20007 * replace.el (replace-count): Define.
20008 (occur-revert-function): Mark unused parameters.
20009 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20010 (isearch-case-fold-search, isearch-string): Declare.
20011 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20012 bind `case-fold-search'. Remove unused variables `beg' and `end',
20014 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20015 COUNT and bind `replace-count'.
20016 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20019 * savehist.el (print-readably, print-string-length): Declare.
20021 * shadowfile.el (shadow-expand-cluster-in-file-name):
20022 Remove unused variable `cluster'.
20023 (shadow-copy-file): Remove unused variable `i'.
20024 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20025 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20026 (shadow-define-literal-group, shadow-define-regexp-group)
20027 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20029 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20030 (shell): Use `called-interactively-p'.
20031 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20033 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20034 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20035 (delete-backward-char): Remove unused variable `ocol'.
20036 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20037 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20038 (event-apply-hyper-modifier, event-apply-shift-modifier)
20039 (event-apply-control-modifier, event-apply-meta-modifier):
20040 Mark unused parameters.
20041 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20042 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20044 * speedbar.el (speedbar-ignored-directory-expressions)
20045 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20046 (speedbar-find-file, speedbar-dir-follow)
20047 (speedbar-directory-buttons-follow, speedbar-tag-find)
20048 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20049 (speedbar-buffers-line-directory, speedbar-buffer-click):
20050 Mark unused parameters.
20051 (speedbar-tag-file): Remove unused variable `mode'.
20052 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20054 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20056 * talk.el (talk): Remove unused variable `display'.
20058 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20059 (tar-write-region-annotate): Mark unused parameter.
20061 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20062 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20063 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20064 warning by another.
20066 * time-stamp.el (time-stamp-string-preprocess):
20067 Remove unused variable `require-padding'.
20069 * tree-widget.el (widget-glyph-enable): Declare.
20070 (tree-widget-action): Mark unused parameter.
20072 * w32-fns.el (x-get-selection): Mark unused parameter.
20073 (autoload-make-program, generated-autoload-file): Declare.
20075 * wdired.el (wdired-revert): Mark unused parameters.
20076 (wdired-xcase-word): Remove unused variable `err'.
20078 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20079 (whitespace-help-scroll): Remove unused variable `data-help'.
20081 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20082 (widget-image-insert, widget-after-change, default)
20083 (widget-default-format-handler, widget-default-notify)
20084 (widget-default-prompt-value, widget-info-link-action)
20085 (widget-url-link-action, widget-function-link-action)
20086 (widget-variable-link-action, widget-file-link-action)
20087 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20088 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20089 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20090 (widget-insert-button-action, widget-delete-button-action, visibility)
20091 (widget-documentation-link-action, widget-documentation-string-action)
20092 (widget-const-prompt-value, widget-regexp-match, symbol)
20093 (widget-coding-system-prompt-value)
20094 (widget-key-sequence-value-to-external, sexp)
20095 (widget-sexp-value-to-internal, character, vector, cons)
20096 (widget-choice-prompt-value, widget-boolean-prompt-value)
20097 (widget-color--choose-action): Mark unused parameters.
20098 (widget-item-match-inline, widget-choice-match-inline)
20099 (widget-checklist-match, widget-checklist-match-inline)
20100 (widget-group-match): Rename parameter VALUES to VALS.
20101 (widget-field-value-set): Remove unused variable `size'.
20102 (widget-color-action): Remove unused variables `value' and `start'.
20104 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20105 variable `dir'. Doc fix.
20106 (windmove-find-other-window): Don't pass it.
20108 * window.el (count-windows): Mark unused parameter.
20109 (bw-adjust-window): Remove unused variable `err'.
20111 * woman.el (woman-file-name): Remove unused variable `default'.
20112 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20113 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20114 (global-font-lock-mode): Declare.
20115 (woman-decode-region): Mark unused parameter.
20116 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20118 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20119 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20120 (x-dnd-handle-moz-url): Remove unused variable `title'.
20121 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20123 * xml.el (xml-parse-tag, xml-parse-attlist):
20124 Remove unused variable `pos'.
20126 2011-04-19 Glenn Morris <rgm@gnu.org>
20128 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20129 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20130 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20131 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20132 * calendar/cal-html.el (cal-html-insert-minical):
20133 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20134 (calendar-mark-date-pattern):
20135 Prefix "unused" locals.
20137 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20138 optional argument `style'.
20140 * calendar/appt.el (appt-make-list):
20141 * calendar/cal-china.el (calendar-chinese-date-string):
20142 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20143 (diary-hebrew-yahrzeit):
20144 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20145 * calendar/calendar.el (calendar-generate-window):
20146 * calendar/time-date.el (time-to-days):
20147 Remove unused local variables.
20149 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20151 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20152 glyphless-char-display table.
20153 (tabulated-list-glyphless-char-display): New var.
20155 2011-04-18 Sam Steingold <sds@gnu.org>
20157 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20158 to acknowledgments.
20160 2011-04-17 Glenn Morris <rgm@gnu.org>
20162 * calendar/diary-lib.el (diary-sexp-entry):
20163 * calendar/holidays.el (holiday-sexp):
20164 Set debug-on-error rather than the removed stack-trace-on-error.
20166 2011-04-16 Glenn Morris <rgm@gnu.org>
20168 * progmodes/f90.el: Use lexical-binding.
20169 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20171 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20173 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20174 (mail-mode): Setup mailalias completion here instead.
20175 * mail/mailalias.el: Use lexical-binding.
20176 (pattern, mailalias-done): Declare dynamic.
20177 (mail-completion-at-point-function): New function, from mail-complete.
20178 (mail-complete): Use it.
20179 (mail-completion-expand): New function.
20180 (mail-get-names): Use it.
20181 (mail-directory, mail-directory-process, mail-directory-stream):
20182 Don't use `pattern' for lexically bound arg.
20184 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20186 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20187 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20188 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20190 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20191 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20192 (byte-interactive-p): Define them again, for use when inlining
20195 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20197 * loadup.el: Use `string-to-number', not `string-to-int'.
20199 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20201 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20202 gud-gdb-complete-command.
20203 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20204 (gud-gdb-completion-at-point): New function.
20205 (gud-gdb-completions): Remove.
20207 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20209 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20210 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20211 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20212 whether `executable-find' is bound.
20214 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20216 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20218 * minibuffer.el (completion-in-region-mode-predicate)
20219 (completion-in-region-mode--predicate): New vars.
20220 (completion-in-region, completion-in-region--postch)
20221 (completion-in-region-mode): Use them.
20222 (completion--capf-wrapper): Also return the hook function.
20223 (completion-at-point, completion-help-at-point):
20224 Adjust and provide a predicate.
20226 Preserve arg names for advice of subr and lexical functions (bug#8457).
20227 * help-fns.el (help-function-arglist): Consolidate the subr and
20228 new-byte-code cases. Add argument `preserve-names' to extract names
20229 from the docstring when needed.
20230 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20231 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20232 (ad-arglist): Use help-function-arglist's new arg.
20233 (ad-definition-type): Use cond.
20235 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20237 * autorevert.el (auto-revert-handler):
20238 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20239 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20240 Don't quote lambda.
20242 * image-mode.el (image-transform-set-scale):
20243 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20245 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20247 * net/network-stream.el (network-stream-open-starttls): Only do
20248 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20249 Upgrades via gnutls-cli are too slow to be done opportunistically.
20251 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20253 * dframe.el (dframe-current-frame): Remove spurious quote.
20255 2011-04-12 Glenn Morris <rgm@gnu.org>
20257 * calendar/cal-tex.el (cal-tex-end-document):
20258 Try to automatically use latin1 input if needed.
20260 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20261 Don't try to cons a mark onto an empty element.
20263 2011-04-11 Leo Liu <sdl.web@gmail.com>
20265 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20267 (ido-kill-buffer-at-head): Support killing virtual buffers.
20269 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20271 * minibuffer.el (completion-show-inline-help): New var.
20272 (completion--do-completion, minibuffer-complete)
20273 (minibuffer-force-complete, minibuffer-complete-word):
20274 Inhibit minibuffer messages if completion-show-inline-help is nil.
20276 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20277 to avoid interference from inline help (Bug#5849).
20279 2011-04-10 Leo Liu <sdl.web@gmail.com>
20281 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20284 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20286 * image-mode.el (image-toggle-display-image): Signal an error if
20288 (image-transform-mode, image-transform-resize)
20289 (image-transform-set-rotation): Doc fix.
20290 (image-transform-set-resize): Delete.
20291 (image-transform-set-scale, image-transform-fit-to-height)
20292 (image-transform-fit-to-width): Handle image-toggle-display-image
20293 and image-transform-resize directly.
20295 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20297 * doc-view.el (doc-view-fit-width-to-window)
20298 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20299 New functions for fitting the shown image to the Emacs window size.
20300 (doc-view-mode-map): Add bindings for the new functions.
20302 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20304 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20305 Fix typo in docstring.
20307 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20309 * files.el (file-size-human-readable): Produce one digit after
20310 decimal, like "ls -lh" does.
20312 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20313 the file size representation.
20315 * simple.el (list-processes): If async subprocesses are not
20316 available, error out with a clear error message.
20318 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20320 * help.el (help-form-show): New function, to be called from C.
20321 Put help-form output in a buffer named differently than *Help*.
20323 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20325 * files.el (file-size-human-readable): New function.
20327 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20328 computing the representation inline. Don't require `cl'.
20330 2011-04-08 Glenn Morris <rgm@gnu.org>
20332 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20334 * net/browse-url.el (browse-url-firefox):
20335 Test system-type, not system-configuration.
20337 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20338 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20339 Use log-edit-empty-buffer-p. (Bug#7598)
20341 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20342 (rlogin-mode-map): Initialize in the defvar.
20343 (rlogin): Use ignore-errors.
20345 * replace.el (occur-mode-map): Some fixes for menu items.
20347 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20349 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20351 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20353 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20354 issuing unused warnings.
20356 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20359 * simple.el: Lisp reimplement of list-processes. Based on an
20360 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20361 (process-menu-mode): New major mode.
20362 (list-processes--refresh, list-processes):
20363 (process-menu-visit-buffer): New functions.
20365 * files.el (save-buffers-kill-emacs): Don't assume any return
20366 value of list-processes, which is undocumented anyway.
20368 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20370 * emacs-lisp/tabulated-list.el: New file.
20372 * emacs-lisp/package.el: Use Tabulated List mode.
20373 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20374 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20375 table format using Tabulated List mode variables.
20376 (package--push): New macro, replacing package-list-maybe-add.
20377 (package-menu--generate): Use package--push. Renamed from
20378 package--generate-package-list.
20379 (package-menu-refresh, list-packages): Use it.
20380 (package-menu--print-info): Rename from package-print-package.
20381 Return insertion data instead of inserting it directly.
20382 (package-menu-describe-package, package-menu-execute):
20383 Use tabulated-list-get-id.
20384 (package-menu-mark-delete, package-menu-mark-install)
20385 (package-menu-mark-unmark, package-menu-backup-unmark)
20386 (package-menu-mark-obsolete-for-deletion):
20387 Use tabulated-list-put-tag.
20388 (package--list-packages, package-menu-revert)
20389 (package-menu-get-package, package-menu-get-version)
20390 (package-menu-sort-by-column): Functions deleted.
20391 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20392 (package-menu--status-predicate, package-menu--version-predicate)
20393 (package-menu--name-predicate)
20394 (package-menu--description-predicate): Handle arguments in the
20395 Tabulated List format.
20396 (package-list-packages-no-fetch): Call list-packages.
20398 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20400 * files.el (after-find-file-from-revert-buffer): Remove variable.
20401 (after-find-file): Don't bind it.
20402 (revert-buffer-in-progress-p): New variable.
20403 (revert-buffer): Bind it.
20404 Pass nil for `after-find-file-from-revert-buffer'.
20406 * saveplace.el (save-place-find-file-hook): Use new variable
20407 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20409 2011-04-06 Glenn Morris <rgm@gnu.org>
20411 * Makefile.in (AUTOGEN_VCS): New variable.
20412 (autoloads): Use $AUTOGEN_VCS.
20414 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20415 * calendar/calendar.el (calendar-mode-map):
20416 Check for toolkit scroll bars. (Bug#8305)
20418 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20420 * minibuffer.el (completion-in-region--postch)
20421 (completion-in-region-mode): Remove unnecessary messages.
20423 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20425 * font-lock.el (font-lock-refresh-defaults):
20426 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20427 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20429 * info.el (Info-directory-list, Info-read-node-name-2)
20430 (Info-split-parameter-string): Doc fixes.
20431 (Info-virtual-nodes): Reflow docstring.
20432 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20433 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20434 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20435 Fix typos in docstrings.
20436 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20437 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20438 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20439 (Info-restore-desktop-buffer): Mark unused parameters.
20440 (Info-directory-find-file, Info-directory-find-node)
20441 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20442 (Info-virtual-index-find-node, Info-apropos-find-file)
20443 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20444 Mark unused parameters; fix typos in docstrings.
20445 (Info-virtual-index): Remove unused local variable `nodename'.
20447 2011-04-05 Deniz Dogan <deniz@dogan.se>
20449 * net/rcirc.el: Update my e-mail address.
20450 (rcirc-mode-map): Remove M-o binding.
20452 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20454 * startup.el (command-line): Save the cursor's theme-face
20455 directly, instead of using face-override-spec.
20457 * custom.el (load-theme): Minor optimization in assigning faces.
20459 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20461 * help-fns.el (describe-variable): Complete all variables having
20462 documentation, including keywords.
20463 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20465 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20467 Convert to lexical-binding.
20469 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20470 (bs--get-marked-string, bs--get-modified-string)
20471 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20472 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20473 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20475 * ehelp.el (electric-help-execute-extended)
20476 (electric-help-ctrl-x-prefix):
20477 * hexl.el (hexl-revert-buffer-function):
20478 * linum.el (linum-after-change, linum-after-scroll):
20479 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20481 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20483 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20490 * epg.el: Use lexical binding.
20492 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20494 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20496 * textmodes/flyspell.el (flyspell-word): Recognize default
20497 dictionary case for flyspell-mark-duplications-exceptions.
20498 Use regexp matching for languages.
20499 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20500 default dictionary (Bug#7926).
20502 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20504 * emacs-lisp/package.el (package--with-work-buffer):
20505 Recognize https URLs.
20507 * net/network-stream.el: Move from gnus/proto-stream.el.
20508 Change prefix to network-stream throughout.
20509 (open-protocol-stream): Merge into open-network-stream, leaving
20510 open-protocol-stream as an alias. Handle nil BUFFER args.
20512 * subr.el (open-network-stream): Move to net/network-stream.el.
20514 2011-04-02 Glenn Morris <rgm@gnu.org>
20516 * find-dired.el (find-exec-terminator): New option.
20517 (find-ls-option): Test for -ls support.
20518 (find-ls-subdir-switches): Test for -b in find-ls-option.
20519 (find-dired, find-grep-dired): Doc fixes.
20520 (find-dired): Use find-exec-terminator.
20522 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20523 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20524 (find-name-arg): Remove purecopy.
20526 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20527 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20528 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20529 accordingly. Don't add the null-device if not needed.
20531 * files.el (save-some-buffers): Doc fix.
20533 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20535 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20537 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20539 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20540 Use `dolist' rather than `mapcar'.
20542 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20544 Add lexical binding.
20546 * subr.el (apply-partially): Use new closures rather than CL.
20547 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20548 (dolist, dotimes): Use slightly different expansion for lexical code.
20549 (functionp): Move to C.
20550 (letrec): New macro.
20551 (with-wrapper-hook): Use it and apply-partially instead of CL.
20552 (eval-after-load): Preserve lexical-binding.
20553 (save-window-excursion, with-output-to-temp-buffer): Turn them
20556 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20558 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20560 (help-add-fundoc-usage): Don't add `Not documented'.
20561 (help-function-arglist): Handle closures, subroutines, and new
20562 byte-code-functions.
20563 (help-make-usage): Remove leading underscores.
20564 (describe-function-1): Handle closures.
20565 (describe-variable): Use special-variable-p for completion.
20567 * files.el (lexical-binding): Declare safe.
20569 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20570 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20571 (pcase): Add `let' pattern.
20572 Change memoization so it actually works.
20573 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20574 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20577 * emacs-lisp/macroexp.el: Use lexical binding.
20578 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20579 Don't convert ' to #' without checking that it's indeed quoting
20582 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20583 Use eval-sexp-add-defvars.
20584 (eval-sexp-add-defvars): New fun.
20586 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20588 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20590 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20591 than the internal `byte-compile-lambda'.
20592 (defmethod): Don't hide code under quotes.
20593 (eieio-defmethod): New `code' argument.
20595 * emacs-lisp/eieio-comp.el: Remove.
20597 * emacs-lisp/edebug.el (edebug-eval-defun)
20598 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20599 (edebug-toggle): Avoid `eval'.
20601 * emacs-lisp/disass.el (disassemble-internal): Handle new
20603 (disassemble-1): Handle new byte codes.
20605 * emacs-lisp/cl.el (pushnew): Silence warning.
20607 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20608 (cl-byte-compile-throw): Remove.
20609 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20611 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20614 * emacs-lisp/cconv.el: New file.
20616 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20617 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20618 (byte-compile-initial-macro-environment):
20619 Handle declare-function here.
20620 (byte-compile--lexical-environment): New var.
20621 (byte-stack-ref, byte-stack-set, byte-discardN)
20622 (byte-discardN-preserve-tos): New lap codes.
20623 (byte-interactive-p): Don't use any more.
20624 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20626 (byte-compile-lapcode): Use them and handle new lap codes.
20627 (byte-compile-obsolete): Remove.
20628 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20629 (byte-compile-arglist-warn): Check late def of inlinable funs.
20630 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20631 since they should have been expanded by now.
20632 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20633 (byte-compile-from-buffer): Remove unused second arg.
20634 (byte-compile-preprocess): New function.
20635 (byte-compile-toplevel-file-form): New function to distinguish
20636 file-form calls from outside from file-form calls from hunk-handlers.
20637 (byte-compile-file-form): Simplify.
20638 (byte-compile-file-form-defsubst): Remove.
20639 (byte-compile-file-form-defmumble): Simplify now that
20640 byte-compile-lambda always returns a byte-code-function.
20641 (byte-compile): Preprocess.
20642 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20643 Remove, not used any more.
20644 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20645 (byte-compile-make-args-desc): New funs.
20646 (byte-compile-lambda): Handle lexical functions. Always return
20647 a byte-code-function.
20648 (byte-compile-reserved-constants): New var, to make up room for
20649 closed-over variables.
20650 (byte-compile-constants-vector): Obey it.
20651 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20652 (byte-compile-macroexpand-declare-function): New function.
20653 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20654 byte-code-functions.
20655 (byte-compile-form): Check obsolescence here.
20656 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20657 (byte-compile-variable-ref): Remove.
20658 (byte-compile-dynamic-variable-op): New fun.
20659 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20660 (byte-compile-variable-set): New funs.
20661 (byte-compile-discard): Add 2 args.
20662 (byte-compile-stack-ref, byte-compile-stack-set)
20663 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20664 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20665 macroexpand-all instead.
20666 (byte-compile-quote-form): Remove.
20667 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20668 (byte-compile-bind, byte-compile-unbind): New funs.
20669 (byte-compile-let): Handle let* and lexical binding.
20670 (byte-compile-let*): Remove.
20671 (byte-compile-catch, byte-compile-unwind-protect)
20672 (byte-compile-track-mouse, byte-compile-condition-case):
20673 Handle a new :fun-body form, used for lexical scoping.
20674 (byte-compile-save-window-excursion)
20675 (byte-compile-with-output-to-temp-buffer): Remove.
20676 (byte-compile-defun): Simplify.
20677 (byte-compile-stack-adjustment): New fun.
20678 (byte-compile-out): Use it.
20679 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20681 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20684 * emacs-lisp/byte-opt.el: Use lexical binding.
20685 (byte-inline-lapcode): Remove (to bytecomp).
20686 (byte-compile-inline-expand): Pay attention to inlining to/from
20687 lexically bound code.
20688 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20690 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20691 any more and don't call compiler-macros.
20692 (byte-compile-splice-in-already-compiled-code): Remove.
20693 (byte-code): Don't inline any more.
20694 (disassemble-offset): Receive `bytes' as argument rather than via
20696 (byte-compile-tag-number): Declare before first use.
20697 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20698 `return' even if make-spliceable.
20699 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20700 obsolete interactive-p.
20701 (byte-optimize-lapcode): Optimize new lap-codes.
20702 Don't trip up on new form of `byte-constant' lap code.
20704 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20706 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20708 * custom.el (custom-initialize-default, custom-declare-variable):
20711 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20713 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20714 (COMPILE_FIRST): Add macroexp and cconv.
20715 * makefile.w32-in: Mirror changes in Makefile.in.
20717 * vc/cvs-status.el:
20721 * vc/smerge-mode.el:
20722 * textmodes/bibtex-style.el:
20723 * textmodes/css-mode.el:
20731 * emacs-lisp/smie.el:
20734 * abbrev.el: Use lexical binding.
20736 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20738 * info.el (info-display-manual): New function.
20740 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20742 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20744 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20746 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20747 an entry for that server in rcirc-authinfo. (Bug#8385)
20749 2011-03-31 Glenn Morris <rgm@gnu.org>
20751 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20753 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20755 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20757 * progmodes/python.el (python-default-interpreter)
20758 (python-python-command-args, python-jython-command-args)
20759 (python-which-shell, python-which-args, python-which-bufname)
20760 (python-file-queue, python-comint-output-filter-function)
20761 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20762 variables and functions.
20764 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20766 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20767 (completion-in-region-mode): New minor mode.
20768 (completion-in-region): Use it.
20769 (completion-in-region--data, completion-in-region-mode-map): New vars.
20770 (completion-in-region--postch): New function.
20771 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20773 (completion--capf-wrapper): New function.
20774 (completion-at-point): Use it to track well-behavedness of
20776 (completion-help-at-point): New command.
20778 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20780 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20781 syntax class to search for whitespace on a single line
20782 (Message-ID: <4D938140.4030905@redhat.com>).
20784 2011-03-30 Leo Liu <sdl.web@gmail.com>
20786 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20788 (edit-abbrevs-map): Bind them here.
20789 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20791 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20793 * allout.el (allout-hide-by-annotation, allout-flag-region):
20794 Reduce possibility of overlay leakage by making them volatile.
20796 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20797 hash is not shared between buffers. Mode initialization is
20798 responsible for giving it a useful starting value.
20799 (allout-item-span): Reduce possibility of overlay leakage by
20800 making them volatile.
20801 (allout-widgets-count-buttons-in-region): Add diagnostic function
20802 for tracking down button overlay leaks.
20804 2011-03-29 Leo Liu <sdl.web@gmail.com>
20806 * ido.el (ido-read-internal): Use the default history var
20807 minibuffer-history if no HISTORY is specified.
20809 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20811 * net/imap.el (imap-shell-open, imap-process-connection-type):
20812 Use imap-process-connection-type for 'shell' streams as well as
20813 Kerberos, SSL, other subprocesses.
20815 2011-03-28 Leo Liu <sdl.web@gmail.com>
20817 * abbrev.el (abbrev-table-empty-p): New function.
20818 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20819 nonempty ones. (Bug#5937)
20821 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20823 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20825 2011-03-27 Leo Liu <sdl.web@gmail.com>
20827 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20828 for foreground and background colors.
20829 (ansi-color-make-color-map): Adapt.
20831 2011-03-25 Leo Liu <sdl.web@gmail.com>
20833 * midnight.el (midnight-time-float): Remove. Note it calculates
20834 the microsecond component incorrectly and seconds-to-time does the
20836 Remove redundant (require 'timer).
20838 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20839 (ido-completions): Remove unused arguments. (Bug#8329)
20841 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20843 * minibuffer.el (completion--flush-all-sorted-completions):
20844 Remove itself from hook.
20845 (completion-at-point): Let the functions perform the completion
20846 immediately and return nil or t.
20847 * comint.el (comint-dynamic-complete-functions): Now identical to
20848 completion-at-point-functions.
20849 (comint-dynamic-list-input-ring): Remove unused var `index'.
20850 (comint--match-partial-filename, comint--unquote&expand-filename):
20851 New funs, split from comint-match-partial-filename.
20852 (comint-dynamic-complete): Use completion-at-point.
20853 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20855 2011-03-24 Drew Adams <drew.adams@oracle.com>
20857 * thingatpt.el: Support `defun'.
20859 2011-03-23 Leo Liu <sdl.web@gmail.com>
20861 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20863 * help-mode.el (help-mode-finish): Tweak regexp.
20865 2011-03-23 Glenn Morris <rgm@gnu.org>
20867 * eshell/esh-opt.el (eshell-eval-using-options):
20868 Do not bind unused local variable `eshell-option-stub'.
20870 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20872 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20874 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20875 keymap variable in `with-no-warnings' to avoid a warning when the
20876 keymap has been already `defconst'ed.
20878 2011-03-22 Leo Liu <sdl.web@gmail.com>
20880 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20881 encode all chars in abbrevs; otherwise use emacs-mule or
20882 utf-8-emacs. (Bug#8308)
20884 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20886 * simple.el (backward-delete-char-untabify):
20887 Avoid warning about using `delete-backward-char'.
20889 * image.el (image-type-file-name-regexps): Make it variable.
20890 `imagemagick-register-types' modifies it, and the user may want
20891 to add new extensions for known image types.
20892 (imagemagick-register-types): Throw error if not using ImageMagick.
20894 2011-03-22 Leo Liu <sdl.web@gmail.com>
20896 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20897 located before rcirc-prompt-end-marker.
20898 (rcirc-complete): Error if point is not after rcirc prompt.
20899 Handle the case when table is nil.
20900 (rcirc-user-authenticated): Define to fix compiler warning.
20902 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20904 * custom.el (custom--inhibit-theme-enable): Make it affect only
20905 custom-theme-set-variables and custom-theme-set-faces.
20906 (provide-theme): Ignore custom--inhibit-theme-enable.
20907 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20908 (custom-enabling-themes): Delete variable.
20909 (enable-theme): Accept only loaded themes as arguments.
20910 Ignore the special custom-enabled-themes variable.
20911 (custom-enabled-themes): Forbid themes from setting this.
20912 Eliminate use of custom-enabling-themes.
20913 (custom-push-theme): Quote "changed" custom var entry.
20915 2011-03-21 Leo Liu <sdl.web@gmail.com>
20917 * ido.el (ido-read-internal): Add ido-selected to history instead
20920 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20922 * subr.el (deferred-action-list, deferred-action-function):
20925 2011-03-21 Leo Liu <sdl.web@gmail.com>
20927 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20928 change on 2011-02-13 (bug#8309).
20930 * minibuffer.el (read-file-name-function): Change default value.
20931 (read-file-name--defaults): Rename from read-file-name-defaults.
20932 (read-file-name-default): Rename from read-file-name.
20933 (read-file-name): Call read-file-name-function.
20935 2011-03-21 Glenn Morris <rgm@gnu.org>
20937 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20940 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20942 * cus-theme.el: Add missing provide statement.
20943 (customize-create-theme): Extract theme value correctly.
20944 (custom-theme-visit-theme): Autoload.
20945 (customize-create-theme): Prompt before inserting default faces.
20947 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20949 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20950 units and musical notes.
20952 2011-03-20 Leo Liu <sdl.web@gmail.com>
20954 * ido.el (ido-read-internal): Use completing-read-default.
20955 (ido-completing-read): Fix compatibility with completing-read.
20957 2011-03-20 Christian Ohler <ohler@gnu.org>
20959 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20960 (ert-delete-all-tests): Use `called-interactively-p' rather than
20962 (ert--make-xrefs-region): Respect END.
20964 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20966 * dired-aux.el (dired-create-directory): Signal an error if the
20967 directory already exists (Bug#8246).
20969 * facemenu.el (list-colors-display): Call list-faces-display
20970 inside with-help-window.
20971 (list-colors-print): Use display property to align the final
20972 column, instead of checking window-width.
20974 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20976 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20977 windows-nt systems.
20978 (emerge-protect-metachars): Quote correctly for ms-dos and
20979 windows-nt systems.
20981 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20983 * info.el (info-initialize): Replace all uses of `:' with
20984 path-separator for compatibility with non-Unix systems.
20985 Cache quoting of path-separator. (Bug#8258)
20987 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20989 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20990 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20991 (mouse-avoidance-mode): Fix typos in docstrings.
20993 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20995 * startup.el (package-subdirectory-regexp): Move from package.el.
20996 Omit \\` and \\', and let callers add them.
20998 * emacs-lisp/package.el (package-strip-version)
20999 (package-load-all-descriptors): Add \\` and \\' to
21000 package-subdirectory-regexp before using it.
21001 (package-untar-buffer): New arg DIR; ensure that file untars only
21002 into this expected directory. Remove superfluous delete-region.
21003 (package-unpack): Caller changed.
21004 (package-tar-file-info): Use package-subdirectory-regexp.
21006 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21008 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21009 diff-mode-shared-map (bug#8284).
21010 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21012 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21014 * calendar/time-date.el (format-seconds): Use assoc instead of
21015 assoc-string, since assoc-string doesn't exist in XEmacs.
21017 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21019 * custom.el (custom-known-themes): Reflow docstring.
21020 (custom-theme-load-path): Fix typo in docstring.
21021 (load-theme): Fix typo in error message.
21022 (custom-available-themes, custom-variable-theme-value):
21023 Use `let', not `let*'.
21025 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21027 * calc/README: Mention inclusion of musical notes.
21029 * calc/calc-units.el (calc-lu-quant): Rename from
21030 `calc-logunits-quantity'.
21031 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21032 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21033 (calc-db): Rename from `calc-dblevel'.
21034 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21035 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21036 (calc-np): Rename from `calc-nplevel'.
21037 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21038 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21039 (calc-lu-plus): Rename from `calc-logunits-add'.
21040 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21041 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21042 (calc-lu-minus): Rename from `calc-logunits-sub'.
21043 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21044 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21045 (calc-lu-times): Rename from `calc-logunits-mul'.
21046 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21047 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21048 (calc-lu-divide): Rename from `calc-logunits-div'.
21049 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21050 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21052 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21053 functions being autoloaded.
21055 * calc/calc.el (calc-lu-power-reference): Rename from
21056 `calc-logunits-power-reference'.
21057 (calc-lu-field-reference): Rename from
21058 `calc-logunits-field-reference'.
21060 * calc/calc-help.el (calc-l-prefix-help):
21061 Mention musical note functions.
21063 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21065 * minibuffer.el (completion-all-sorted-completions):
21066 Use :completion-cycle-penalty text property if present.
21068 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21070 * allout.el (allout-yank-processing): Adjust for new rebulleting
21071 regime so bullet being yanked is used without prompting the user
21074 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21076 * startup.el (command-line): Warn the user that _emacs is deprecated.
21078 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21080 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21081 (delphi-verbose, delphi-comment-face, delphi-string-face)
21082 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21083 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21084 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21085 (delphi-new-comment-line, delphi-font-lock-defaults)
21086 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21087 Fix typos in docstrings.
21089 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21091 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21092 Invert the roles of character and string values for INSTEAD, so a
21093 string is used for the more common case of a defaulting prompt.
21095 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21097 * progmodes/ruby-mode.el (ruby-backward-sexp):
21098 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21099 * play/gamegrid.el (gamegrid-make-face):
21100 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21101 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21102 * notifications.el (notifications-notify):
21103 * net/xesam.el (xesam-search-engines):
21104 * net/quickurl.el (quickurl-list-insert):
21105 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21107 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21109 * startup.el (command-line): Update package subdirectory regexp.
21111 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21113 * allout.el (allout-abbreviate-flattened-numbering)
21114 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21116 * subr.el (read-char-choice): Only show the cursor after the prompt,
21117 not after the answer.
21119 2011-03-15 Kevin Ryde <user42@zip.com.au>
21121 * help-fns.el (variable-at-point): Skip leading quotes, if any
21124 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21126 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21129 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21131 * shell.el (shell): When called interactively, offer to change the
21132 shell file name on remote hosts.
21134 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21136 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21137 integration for LDAP parameters. The host, base, user or binddn,
21138 and secret tokens can be specified in a netrc file, for instance.
21139 This is optional because an `auth-source' parameter must be
21140 specified in the search attributes.
21142 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21144 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21146 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21148 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21149 into declaration. Remove redundant and harmful binding.
21151 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21153 * files.el (file-ownership-preserved-p): Pass `integer' as an
21154 explicit 2nd argument to `file-attributes'. If the file's owner
21155 is the Administrators group on Windows, and the current user is
21156 Administrator, consider that a match.
21158 * server.el (server-ensure-safe-dir): Consider server directory
21159 safe on MS-Windows if its owner is the Administrators group while
21160 the current Emacs user is Administrator. Use `=' to compare
21161 numerical UIDs, since they could be integers or floats.
21163 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21165 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21167 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21169 Sync with Tramp 2.2.1.
21171 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21173 * net/trampver.el: Update release number.
21175 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21177 * progmodes/compile.el (compilation--previous-directory): Fix up
21178 various nil/dead-marker mismatches (bug#8014).
21179 (compilation-directory-properties, compilation-error-properties):
21180 Don't call it at a position past the one we're about to change.
21182 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21183 Disable obsolescence warnings in the file that declares it.
21185 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21187 * allout-widgets.el (allout-widgets-tally):
21188 Initialize allout-widgets-tally as a hash table rather than nil to
21189 prevent mode-line redisplay warnings. Also, clarify the module
21190 description and fix a comment typo.
21192 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21194 * help-fns.el (describe-variable): Don't complete keywords.
21195 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21197 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21199 * emacs-lisp/package.el (package-version-join): Impose a standard
21200 string representation for pre/alpha/beta version lists.
21201 (package-unpack-single): Standardize the directory name by passing
21202 it through package-version-join.
21203 (package-strip-rcs-id): Accept any version string that does not
21204 signal an error in version-to-list.
21206 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21208 * simple.el (delete-trailing-whitespace): Return nil for the
21209 benefit of `write-file-functions'.
21211 2011-03-10 Glenn Morris <rgm@gnu.org>
21213 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21215 * vc/vc-git.el (vc-git-program): New option.
21216 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21217 (vc-git--call): Use it.
21219 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21221 * cus-edit.el (Custom-newline): If no button at point, look
21222 for a subgroup button at start-of-line. (Bug#2298)
21224 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21226 2011-03-10 Julien Danjou <julien@danjou.info>
21228 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21229 `cursor-type' is nil.
21231 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21233 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21235 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21237 * allout.el: Change so yank of distinctive-bullet items
21238 preserves the existing header prefix, rebulleting it if necessary,
21239 rather than replacing it. This is necessary for proper operation
21240 of cooperative addons like allout-widgets.
21241 (allout-make-topic-prefix, allout-rebullet-heading):
21242 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21243 value as alternate bullet to be used, instead of prompting the user
21244 for a bullet character.
21246 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21249 Do not use `tramp-file-name-port', because this returns also
21250 `tramp-default-port'.
21252 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21254 * net/rcirc.el (rcirc-handler-001): Remove useless
21255 with-rcirc-process-buffer.
21256 (rcirc-check-auth-status): Swap arguments to string-match.
21258 2011-03-09 Glenn Morris <rgm@gnu.org>
21260 * shell.el (shell-mode):
21261 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21263 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21264 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21266 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21268 * emacs-lisp/package.el (package-refresh-contents)
21269 (package-menu-execute): Use condition-case-no-debug.
21271 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21273 * simple.el (shell-command-to-string): Use `process-file'.
21275 * emacs-lisp/package.el (package-tar-file-info): Handle also
21278 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21279 Use `equal' for upload base check.
21281 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21283 * textmodes/texinfo.el (texinfo-environments):
21284 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21286 2011-03-08 Glenn Morris <rgm@gnu.org>
21288 * cus-start.el (cursor-in-non-selected-windows):
21289 Fix :set quoting oddness. (Bug#8192)
21291 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21292 in some setf expressions. (Bug#2159)
21294 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21296 * custom.el (custom-available-themes): Return themes in
21297 alphabetical order.
21299 See ChangeLog.15 for earlier changes.
21301 ;; Local Variables:
21305 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21307 This file is part of GNU Emacs.
21309 GNU Emacs is free software: you can redistribute it and/or modify
21310 it under the terms of the GNU General Public License as published by
21311 the Free Software Foundation, either version 3 of the License, or
21312 (at your option) any later version.
21314 GNU Emacs is distributed in the hope that it will be useful,
21315 but WITHOUT ANY WARRANTY; without even the implied warranty of
21316 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21317 GNU General Public License for more details.
21319 You should have received a copy of the GNU General Public License
21320 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.