1 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4 current buffer's file name when called interactively (Bug#12488).
6 2012-12-02 Juri Linkov <juri@jurta.org>
8 * info.el (info-display-manual): Don't clobber an existing Info
9 buffer (Bug#10770). Add completion (Bug#10771).
11 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
13 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
14 before using it for comparison (Bug#5297).
16 2012-12-01 Jari Aalto <jari.aalto@cante.net>
18 * textmodes/css-mode.el (css-current-defun-name): New function.
21 * textmodes/sgml-mode.el (html-current-defun-name): New function.
24 2012-12-01 Chong Yidong <cyd@gnu.org>
26 Modularize add-log-current-defun (Bug#2224).
27 Suggested by Jari Aalto.
29 * vc/add-log.el (add-log-current-defun-function): Doc fix.
30 (add-log-current-defun): Move mode-specific code to other files.
31 (add-log-lisp-like-modes, add-log-c-like-modes)
32 (add-log-tex-like-modes): Variables deleted.
34 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
35 (lisp-mode-variables): Use it.
37 * progmodes/cc-mode.el (c-common-init):
38 * progmodes/cperl-mode.el (cperl-mode): Set a value for
39 add-log-current-defun-function.
41 * progmodes/m4-mode.el (m4-current-defun-name): New function.
44 * progmodes/perl-mode.el (perl-current-defun-name): New.
47 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
48 lisp-current-defun-name.
50 * textmodes/tex-mode.el (tex-current-defun-name): New.
51 (tex-common-initialization): Use it.
53 * textmodes/texinfo.el (texinfo-current-defun-name): New.
54 (texinfo-mode): Use it.
56 2012-12-01 Chong Yidong <cyd@gnu.org>
58 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
59 * progmodes/autoconf.el (autoconf-mode):
60 * progmodes/js.el (js-mode):
61 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
62 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
63 * progmodes/perl-mode.el (perl-mode):
64 * progmodes/sh-script.el (sh-mode, sh-set-shell):
65 * textmodes/css-mode.el (css-mode):
66 * textmodes/sgml-mode.el (html-mode, sgml-mode)
67 (sgml-tags-invisible, sgml-guess-indent):
68 * textmodes/tex-mode.el (tex-common-initialization)
69 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
70 (doctex-mode, plain-tex-mode, latex-mode):
71 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
73 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
75 * vc/vc-hg.el (vc-hg-next-revision):
76 Ensure use of default "tip" output format. (Bug#6968)
78 2012-12-01 Kim F. Storm <storm@cua.dk>
80 * startup.el (fancy-startup-tail): Add a clickable link
83 2012-12-01 Chong Yidong <cyd@gnu.org>
85 * startup.el (fancy-startup-tail): Improve the message about
86 auto-save files (Bug#2176).
88 * files.el (recover-session): Improve the descriptive message, and
89 use substitute-command-keys.
91 2012-12-01 Glenn Morris <rgm@gnu.org>
93 * ido.el (ido-file-internal):
94 Handle other-window, other-frame for dired. (Bug#13036)
96 2012-11-30 Glenn Morris <rgm@gnu.org>
98 * icomplete.el (icomplete-separator): Fix :version.
100 2012-11-30 Chong Yidong <cyd@gnu.org>
102 * shell.el (shell): For C-u M-x shell, use an inactive shell
103 buffer as the default (Bug#1975).
104 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
105 (shell-mode): Use them to reapply ansi colorization if Shell mode
108 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
110 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
112 2012-11-30 Samuel Bronson <naesten@gmail.com>
114 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
115 flag to xargs, for compatibility with BSD xargs (Bug#11703).
117 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
119 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
120 by move-to-column (Bug#3234).
122 2012-11-30 Chong Yidong <cyd@gnu.org>
124 * longlines.el (longlines-wrap-line, longlines-encode-region):
125 Preserve text properties (Bug#1425).
127 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
129 * vc/vc.el (vc-register): Allow registering a file which is
130 already registered with a different backend (Bug#10589).
132 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
133 Stefan Monnier <monnier@iro.umontreal.ca>
135 * icomplete.el: Change separator; add ido-style commands.
136 (icomplete-show-key-bindings): Remove custom var.
137 (icomplete-get-keys): Remove function.
138 (icomplete-forward-completions, icomplete-backward-completions):
140 (icomplete-minibuffer-map): New var.
141 (icomplete-minibuffer-setup): Use it.
142 (icomplete-exhibit): Don't delay if the list of completions is known.
143 (icomplete-separator): New custom.
144 (icomplete-completions): Use it.
145 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
146 (minibuffer-force-complete-and-exit): New command.
147 (minibuffer--complete-and-exit): New function extracted from
148 minibuffer-complete-and-exit.
149 (minibuffer-complete-and-exit): Use it.
151 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
152 error message when the file doesn't exist (bug#12974).
154 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
156 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
158 2012-11-29 Glenn Morris <rgm@gnu.org>
160 * files.el (hack-dir-local-variables): Warn if try to set
161 coding via dir-locals, since it doesn't work. (Bug#7169)
163 Add desktop support for restoring vc-dir buffers. (Bug#10606)
164 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
165 Set buffer-local value of desktop-save-buffer.
166 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
168 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
169 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
171 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
172 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
174 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
177 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
179 * calc/calc-forms.el (calc-date-notation): Fix regexp
180 used to find time codes. Fix symbol for seconds.
182 2012-11-27 Glenn Morris <rgm@gnu.org>
184 * emacs-lisp/derived.el (derived-mode-make-docstring):
185 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
187 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
189 * textmodes/table.el (table-insert): Don't use `symbol-name' on
190 lexically scoped variables (bug#13005).
192 2012-11-27 Glenn Morris <rgm@gnu.org>
194 * vc/vc-hooks.el (vc-mistrust-permissions):
195 Default to t, to avoid data-loss. (Bug#11490)
197 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
199 * progmodes/python.el (python-indent-guess-indent-offset):
200 If indentation is guessed make python-indent-offset buffer-local.
202 Fix Imenu regression.
203 * progmodes/python.el (python-nav-beginning-of-defun):
204 Fix forward movement when statement(s) separates point from defun.
205 (python-imenu-prev-index-position): New function.
207 2012-11-27 Eli Zaretskii <eliz@gnu.org>
209 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
211 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
212 Don't set buffer-file-type. Return nil. (Bug#12989)
214 2012-11-27 Glenn Morris <rgm@gnu.org>
216 * hippie-exp.el (hippie-expand-try-functions-list):
217 Re-autoload it. (Bug#12982)
219 2012-11-27 Eli Zaretskii <eliz@gnu.org>
221 * descr-text.el (describe-char-padded-string):
222 Call internal-char-font only on GUI frames. (Bug#11964)
224 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
226 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
227 and obsoletion message.
229 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
231 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
232 the constructs to keep outside of the `cl-block' (bug#12977).
234 2012-11-27 Chong Yidong <cyd@gnu.org>
236 * mouse.el (mouse-drag-line): Even if the line is not draggable,
237 keep reading until we get the up-event anyway, in order to process
238 the up-event for mouse-1-click-follows-link (Bug#12971).
240 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
242 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
243 base function is not yet defined (bug#12965).
244 (ad-activate-advised-definition): Use ad-compile-function.
245 (ad-activate): Use cond.
247 2012-11-25 Leo Liu <sdl.web@gmail.com>
249 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
252 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
254 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
255 reftex-section-info-function in order to be compatible with
258 * textmodes/reftex.el (reftex-section-pre-regexp)
259 (reftex-section-post-regexp, reftex-section-info-function):
261 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
262 reftex-section-post-regexp, and reftex-section-info-function in order
263 to be compatible with Texinfo integration.
265 * textmodes/reftex-toc.el (reftex-toc-promote-action):
266 use reftex-section-pre-regexp variable in order to be compatible with
269 2012-11-25 Chong Yidong <cyd@gnu.org>
271 * faces.el: Make face-spec-set more analogous to setq.
272 (face-spec-set): Change the third arg to specify whether this
273 function is being called via defface, customize, or a third party.
274 Set the appropriate symbol properties. Clear the override spec if
275 setting via Custom. Initialize face if necessary. (Bug#4988)
276 (face-spec-recalc): Allow theme faces to completely replace the
277 defface spec, in the same way as custom faces (Bug#8454).
279 * cus-face.el (custom-declare-face): Move face initialization to
281 (custom-theme-set-faces): Don't initialize the face name here, as
282 that is now done in face-spec-set.
284 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
285 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
286 Simplify by using the new arg to face-spec-set.
288 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
289 reset face-override-spec too, and use custom-declare-face.
291 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
293 * term/ns-win.el (ns-initialize-window-system): Move creation of
294 fontsets here (Bug#11964).
296 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
298 * ses.el (ses-rename-cell): Correct bug on mode-line update after
301 2012-11-24 Chong Yidong <cyd@gnu.org>
303 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
306 * custom.el (custom-theme-set-variables): Use a topological sort
307 for ordering by custom dependencies (Bug#12952).
308 (custom--sort-vars, custom--sort-vars-1): New functions.
310 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
312 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
313 lexical-binding (bug#12938).
315 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
317 * image-mode.el (image-transform-check-size): Use assertions only
318 for images of type imagemagick.
320 Otherwise no error, image-transform-fit-to-{width,height} is
321 silently ignored, as before. Doc fix.
323 2012-11-24 Chong Yidong <cyd@gnu.org>
325 * faces.el (color-defined-p): Doc fix (Bug#12853).
327 2012-11-24 Juri Linkov <juri@jurta.org>
329 * dired.el (dired-mark): Add optional arg `interactive'.
330 Check for `use-region-p' if `interactive' is non-nil.
331 (dired-unmark, dired-flag-file-deletion): Add optional arg
332 `interactive'. Call `dired-mark' with the arg `interactive'.
335 * wdired.el: Revert 2012-10-17 change partly and replace it with
336 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
337 (wdired-finish-edit): Add marks for new file names to
338 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
339 after `revert-buffer'.
340 (wdired-do-renames): Remove calls to `dired-remove-file',
341 `dired-add-file', `dired-add-entry'. (Bug#11795)
343 2012-11-24 Alan Mackenzie <acm@muc.de>
345 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
347 Fix bugs in the state cache. Enhance a debugging mechanism.
348 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
349 "brace at column zero" strategy for C++.
350 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
351 (c-parse-state-point): New variable.
352 (c-record-parse-state-state): Record old parse state with
353 `copy-tree'. Record previous value of point.
354 (c-debug-parse-state-double-cons): New debugging function.
355 (c-debug-parse-state): Call the above new function.
356 (c-toggle-parse-state-debug): Output a confirmatory message.
358 * progmodes/cc-mode.el (c-before-change, c-after-change):
359 Call c-invalidate-state-cache from `c-before-change' instead of
362 2012-11-23 Chong Yidong <cyd@gnu.org>
364 * find-cmd.el (find-constituents): Add executable, ipath,
365 readable, samefile, writable, daystart, regextype (Bug#12856).
367 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
369 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
371 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
373 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
374 definition. This fixes a bootstrap failure.
375 (calc-gregorian-switch): In menu, put dates before regions.
376 This is easier to follow, lines up better in the menu, and lets us
377 coalesce regions that switch at the same time. Give country
378 names, not "Vatican", as that's better for non-expert users.
379 Use names that are stable between the date of switch and now, e.g.,
380 Bohemia and Moravia (which existed then and now) and not
381 Czechoslovakia (which didn't exist then and doesn't exist now).
382 What is now the U.S. mostly did not switch at the same time as
383 Britain, so omit the U.S. Correct spelling of "Britain".
384 Catholic Switzerland was too much of a mess, so omit it.
386 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
388 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
389 after the variable is changed.
391 2012-11-21 Daniel Colascione <dancol@dancol.org>
393 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
394 in SQL declarations for font-lock.
395 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
397 2012-11-21 Glenn Morris <rgm@gnu.org>
399 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
400 (face-italic-p): Add optional argument "inherit".
402 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
403 Remove -p suffix from names, for consistency with other set-face-*.
404 (set-face-inverse-video): Fix interactive spec.
405 * play/gamegrid.el (gamegrid-make-mono-tty-face):
406 * textmodes/table.el (table--update-cell-face):
407 Use set-face-inverse-video rather than now obsolete alias.
409 2012-11-21 Eli Zaretskii <eliz@gnu.org>
411 * simple.el (line-move): Don't call line-move-partial if
412 scroll-conservatively is in effect. (Bug#12927)
414 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
416 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
417 Fallback on completion-at-point rather than
418 pcomplete-expand-and-complete, and only if pcomplete actually failed.
419 (eshell-cmpl-initialize): Setup completion-at-point.
421 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
423 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
425 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
427 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
428 are remote, check out-of-band property for both.
430 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
432 * window.el (switch-to-buffer): Re-add the warning that was lost in the
435 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
437 More minor time fixes.
438 * calendar/time-date.el: Commentary fix.
439 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
440 too much other code depends on (0 0) time stamps.
441 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
442 Add a couple of FIXME comments.
444 Minor cleanup for times as lists of four integers.
445 * files.el (dir-locals-directory-cache):
446 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
448 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
449 * ps-bdf.el (bdf-file-newer-than-time):
450 Process four-integers time stamps, not two. Doc fixes.
452 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
454 * uniquify.el (uniquify-managed): Use defvar-local.
455 (rename-buffer, create-file-buffer): Advise with advice-add.
456 (uniquify-unload-function): Unadvise accordingly.
458 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
459 (trace-buffer): Don't purecopy.
460 (trace-entry-message, trace-exit-message): Add `context' arg.
461 (trace--timer): New var.
462 (trace-make-advice): Adjust for use in nadvice.
463 Add `context' argument. Delay `display-buffer' via a timer.
464 (trace-function-internal): Use advice-add.
465 (trace--read-args): New function.
466 (trace-function-foreground, trace-function-background): Use it.
467 (trace-function): Rename to trace-function-foreground and redefine as
468 an alias to that new name.
469 (untrace-function, untrace-all): Adjust to the use of nadvice.
471 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
473 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
475 * subr.el (called-interactively-p-functions): New var.
476 (internal--called-interactively-p--get-frame): New macro.
477 (called-interactively-p, interactive-p): Rewrite in Lisp.
478 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
479 (called-interactively-p-functions): Use it.
480 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
481 (called-interactively-p-functions): Use it.
482 * allout.el (allout-called-interactively-p): Don't assume
483 called-interactively-p is a subr.
485 2012-11-20 Glenn Morris <rgm@gnu.org>
487 * profiler.el (profiler-report-mode-map): Add a menu.
488 No need to bind `q' because we derive from special-mode.
489 (profiler-report-find-entry): Handle calls from the menu-bar.
491 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
493 * emacs-lisp/byte-run.el (defun-declarations-alist):
494 Allow a compiler-macro to be a lambda expression.
496 * progmodes/python.el: Use cl-lib. Move var declarations outside of
498 (python-syntax-context): Add compiler-macro.
499 (python-font-lock-keywords): Simplify with De Morgan.
501 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
503 * files.el (load-file): Require match in minibuffer selection, as was
504 the case in Emacs-20 before we changed the spec to allow .elc files
507 * json.el: Don't require cl since we don't use it.
508 * color.el: Don't require cl.
509 (color-complement): `caddr' -> `nth 2'.
511 * calendar/time-date.el (time-to-seconds): De-obsolete.
513 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
515 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
517 (math-date-to-julian-dt): Adjust the initial approximation for the
518 year to deal with the new definition of the DATE.
520 2012-11-19 Daniel Colascione <dancol@dancol.org>
522 * term/w32-win.el (cygwin-convert-path-from-windows):
523 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
525 2012-11-18 Chong Yidong <cyd@gnu.org>
527 * filecache.el (file-cache--read-list): New function.
528 (file-cache-add-directory-list, file-cache-add-file-list)
529 (file-cache-delete-file-list, file-cache-delete-directory-list):
530 Use it to read a list of files or directories (Bug#12846).
531 (file-cache-add-file, file-cache-add-directory)
532 (file-cache-delete-file-list, file-cache-delete-file-regexp)
533 (file-cache-delete-directory): Print an message.
535 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
537 * calc/calc-forms.el (math-date-to-dt): Use integer date when
538 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
540 2012-11-18 Glenn Morris <rgm@gnu.org>
542 * image.el (insert-image, insert-sliced-image): Doc fix.
544 2012-11-18 Chong Yidong <cyd@gnu.org>
546 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
549 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
551 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
552 response when the target file is in a subdirectory (Bug#12757).
554 2012-11-18 Chong Yidong <cyd@gnu.org>
556 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
558 2012-11-18 Glenn Morris <rgm@gnu.org>
560 * emacs-lisp/cl-lib.el (face-underline-p):
561 Use set-face-underline rather than the alias set-face-underline-p.
563 * window.el (with-temp-buffer-window): Doc fix.
564 * subr.el (with-output-to-temp-buffer):
565 Add doc xref to with-temp-buffer-window.
567 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
569 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
570 * calc/calc.el (math-format-date-cache): Declare.
572 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
574 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
575 It also uses January 1, 1 AD as its day number 1.
576 * calc/calc-forms.el (math-julian-date-beginning)
577 (math-julian-date-beginning-int): Implement this.
579 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
581 * descr-text.el (quail-find-key):
582 * dired.el (desktop-file-name):
583 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
584 * generic-x.el (comint-mode, comint-exec):
585 * image-dired.el (widget-forward):
586 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
587 (speedbar-change-expand-button-char)
588 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
589 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
590 * printing.el (easy-menu-add-item, easy-menu-remove-item)
591 (widget-field-action, widget-value-set):
592 * speedbar.el (imenu--make-index-alist):
593 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
594 (ring-length, ring-insert):
595 * vcursor.el (compare-windows-skip-whitespace):
596 * woman.el (dired-get-filename):
599 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
601 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
603 * calc/calc.el (calc-gregorian-switch): New variable.
605 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
606 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
607 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
608 (math-leap-year-p): Add option to distinguish between Julian
609 and Gregorian calendars.
610 (math-day-number): Use `math-day-in-year' to do the computations.
611 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
612 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
613 to do the computations.
614 (math-date-to-dt): Use `math-date-to-julian-dt' and
615 `math-date-to-gregorian-dt' to do the computations.
616 (calcFunc-weekday, math-format-date-part): Use the new version of
617 the DATE to determine the weekday.
618 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
621 2012-11-17 Eli Zaretskii <eliz@gnu.org>
623 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
624 Cygwin; otherwise use 'file:'. (Bug#12914)
625 (cygwin-convert-path-from-windows): Declare, to avoid
626 byte-compiler warnings.
628 2012-11-17 Andreas Politz <politza@fh-trier.de>
630 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
631 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
632 prefix and negative numeric prefix args (Bug#12795).
634 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
636 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
637 Don't signal an error with a score that is too low to add to the
638 list of top scores. (Bug#12779)
640 2012-11-17 Chong Yidong <cyd@gnu.org>
642 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
644 * filecache.el (file-cache-add-file): Handle relative file name in
645 the argument (Bug#12694).
647 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
649 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
651 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
653 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
655 * emacs-lisp/cl-lib.el: Set more meaningful version number.
657 2012-11-16 Martin Rudalics <rudalics@gmx.at>
659 * window.el (enlarge-window, shrink-window): Don't mention return
660 value in doc-string (Bug#12896).
661 (window--display-buffer): Don't resize frames - it won't work
662 with all window managers and defeat pop-up-frame-alist.
663 (display-buffer-alist): In doc-string explain that CONDITION can
664 be a function and which arguments are passed to it (Bug#12854).
665 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
666 expressions (Bug#12854).
667 (display-buffer): Pass ACTION argument to
668 display-buffer-assq-regexp.
670 2012-11-16 Glenn Morris <rgm@gnu.org>
672 * window.el (fit-frame-to-buffer-bottom-margin)
673 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
675 * faces.el (face-underline-p): Use face-attribute-specified-or.
677 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
679 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
681 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
683 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
685 2012-11-16 Glenn Morris <rgm@gnu.org>
687 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
688 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
690 * faces.el (face-underline-p): Doc fix. Handle :underline being
691 things other than `t' (a string, a list).
692 (face-inverse-video-p): Doc fix.
693 (set-face-underline): Rename it back from set-face-underline-p.
694 Doc fix. Allow interactive input of values other than t.
695 (read-face-attribute): Apply formatting to :underline,
696 since like :box and :stipple it can take list values.
698 * term.el (ansi-term): Don't let C-x escape-char binding
699 clobber the more standard C-c binding. (Bug#12842)
701 * subr.el (set-temporary-overlay-map): Doc fix.
703 2012-11-16 Martin Rudalics <rudalics@gmx.at>
705 * window.el (record-window-buffer)
706 (display-buffer-record-window): When copying the markers to
707 window-point preserve window-point-insertion-type. (Bug#12588)
709 2012-11-16 Glenn Morris <rgm@gnu.org>
711 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
712 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
713 Use new names for hooks rather than obsolete aliases.
715 2012-11-15 Daniel Colascione <dancol@dancol.org>
717 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
718 prefix instead of "file:" so that when FILE-NAME begins with "//",
719 as it does when the target file is on a network share, url-handler
722 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
724 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
725 a preactivated advice from an old advice.el; they're not compatible!
727 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
729 * emacs-lisp/nadvice.el (advice--make-interactive-form):
730 Fix string-spec case.
732 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
734 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
736 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
737 (advice--buffer-local-function-sample): New var.
738 (advice--set-buffer-local, advice--buffer-local): New functions.
739 (add-function, remove-function): Use them.
741 2012-11-15 Drew Adams <drew.adams@oracle.com>
743 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
745 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
747 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
748 potential binding of print-gensym to t, and prettify (back)quotes in
749 case they appear in args's default values (bug#12884).
751 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
753 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
754 (advice-eval-interactive-spec): New function.
755 (advice--make-interactive-form): Support around advice (bug#12844).
757 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
759 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
760 more strict. Add docstring.
761 (ruby-expression-expansion-re): Extract from
762 `ruby-match-expression-expansion'.
763 (ruby-syntax-propertize-function): After everything else, search
764 for expansions in string literals, mark their insides as
765 whitespace syntax and save match data for font-lock.
766 (ruby-font-lock-keywords): Use the 2nd group from expression
768 (ruby-match-expression-expansion): Use the match data saved to the
769 text property in ruby-syntax-propertize-function.
771 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
773 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
776 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
778 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
779 start/end keyword a bit harder. Works with different values of N.
781 (ruby-end-of-block): Update accordingly.
783 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
785 * woman.el (woman-file-name): Don't mess with unread-command-events
788 * emacs-lisp/advice.el: Layer on top of nadvice.el.
789 Remove out of date self-require hack.
790 (ad-do-advised-functions): Use simple `dolist'.
791 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
792 (ad-advice-definition): Redefine as functions.
793 (ad-advice-classes): Move before first use.
794 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
795 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
796 (ad--defalias-fset): Remove functions.
797 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
798 (ad-get-orig-definition): Rewrite.
799 (ad-make-advised-definition-docstring): Change base docstring.
800 (ad-real-orig-definition): Rewrite.
801 (ad-map-arglists): Change name of called function.
802 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
803 (ad-make-advised-definition): Simplify.
804 (ad-assemble-advised-definition): Tweak for new calling context.
805 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
806 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
807 function and call ad-activate if needed.
808 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
809 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
810 (ad-compile-function): Compile ad-Advice-*.
811 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
812 (ad-start-advice, ad-stop-advice): Remove.
814 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
816 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
817 period before class method names, not after. Remove handling of
818 one impossible case. Add comments.
820 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
822 * emacs-lisp/advice.el: Remove support for freezing.
823 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
824 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
825 Remove support for `freeze'.
827 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
828 override the default.
829 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
831 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
834 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
836 (advice--strip-macro): New function.
837 (advice--defalias-fset): Use them to handle macros.
838 (advice-add): Use them.
839 (advice-member-p): Correctly handle macros.
841 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
843 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
844 Never font-lock the beginning of singleton class as heredoc.
846 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
848 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
850 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
852 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
853 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
854 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
856 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
858 Fix end-of-defun misbehavior.
859 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
860 python-beginning-of-defun-function. Handle nested defuns
862 (python-nav-end-of-defun): Rename from
863 python-end-of-defun-function. Ensure forward movement.
864 (python-info-current-defun): Reimplement to work as intended
865 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
866 parent defuns as soon as possible.
868 2012-11-13 Glenn Morris <rgm@gnu.org>
870 * progmodes/flymake.el (flymake-error-bitmap)
871 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
872 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
874 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
876 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
877 backward, always stop at indentation. Reverts the change from
878 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
880 2012-11-13 Glenn Morris <rgm@gnu.org>
882 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
883 Add ibuffer-filter-by-derived-mode.
885 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
886 the same name shadowing each other.
888 * window.el (with-temp-buffer-window): Doc tweak.
890 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
892 * help.el (temp-buffer-max-height):
893 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
894 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
896 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
898 * emacs-lisp/nadvice.el: New package.
899 * subr.el (special-form-p): New function.
900 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
901 (elp-all-instrumented-list): Remove var.
902 (elp-not-profilable): Remove elp-wrapper.
903 (elp-profilable-p): Use autoloadp and special-form-p.
904 (elp--advice-name): New const.
905 (elp-instrument-function): Use advice-add.
906 (elp--instrumented-p): New predicate.
907 (elp-restore-function): Use advice-remove.
908 (elp-restore-all, elp-reset-all): Use mapatoms.
909 (elp-set-master): Use elp--instrumented-p.
910 (elp--make-wrapper): Rename from elp-wrapper, return a function
911 suitable for advice-add. Use cl-inf.
912 (elp-results): Use mapatoms+elp--instrumented-p.
913 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
914 (debug-function-list): Remove var.
915 (debug): Rename arg, and then let-bind it explicitly inside.
916 (debugger-setup-buffer): Rename arg.
917 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
918 (debugger-frame-number): Adjust to new debug-on-entry setup.
919 (debug--implement-debug-on-entry): Rename from
920 implement-debug-on-entry, add argument.
921 (debugger-special-form-p): Remove, use special-form-p instead.
922 (debug-on-entry): Use advice-add.
923 (debug--function-list): New function.
924 (cancel-debug-on-entry): Use it, along with advice-remove.
925 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
926 (debugger-list-functions): Use debug--function-list instead of
928 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
929 (ad-special-form-p): Remove, use special-form-p instead.
930 (ad-set-advice-info): Use add-function and remove-function.
931 (ad--defalias-fset): Adjust accordingly.
933 2012-11-10 Glenn Morris <rgm@gnu.org>
935 * mail/emacsbug.el (report-emacs-bug-tracker-url)
936 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
937 (report-emacs-bug-create-existing-bugs-buffer)
938 (report-emacs-bug-parse-query-results)
939 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
941 * term.el (term-default-fg-color, term-default-bg-color):
942 Make obsolete, rather than just saying "deprecated" in the doc.
944 * term.el (term): Rename from `term-face'.
945 (term-current-face, ansi-term-color-vector)
946 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
949 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
951 * server.el (server-create-window-system-frame): Handle Nextstep
952 specially (Bug#12780).
954 2012-11-10 Glenn Morris <rgm@gnu.org>
956 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
957 Unautoload, and make obsolete. (Bug#7449)
959 2012-11-10 Chong Yidong <cyd@gnu.org>
961 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
962 rename from diff-remove-trailing-whitespace (Bug#12831).
964 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
966 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
967 miscompilation of trace.el.
969 2012-11-10 Glenn Morris <rgm@gnu.org>
971 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
973 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
975 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
978 2012-11-10 Chong Yidong <cyd@gnu.org>
980 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
981 a defcustom with an appropriate :set function.
982 (minibuffer-default--in-prompt-regexps): New function.
984 2012-11-10 Glenn Morris <rgm@gnu.org>
986 * emacs-lisp/cl.el (define-setf-expander, defsetf)
987 (define-modify-macro): Doc fixes.
989 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
990 (gv-define-simple-setter): Update doc of `fix-return'.
992 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
994 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
995 twice when `fix-return' is set (bug#12813).
997 * emacs-lisp/cl.el (defsetf): Pass the third arg to
998 gv-define-simple-setter (bug#12812).
1000 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1003 2012-11-10 Glenn Morris <rgm@gnu.org>
1005 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1007 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1008 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1009 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1010 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1012 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1014 2012-11-10 Leo Liu <sdl.web@gmail.com>
1016 * ido.el (ido-set-matches-1): Improve flex matching performance by
1017 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1019 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1022 (ad--defalias-fset): New function.
1023 (ad-safe-fset): Remove.
1024 (ad-make-freeze-definition): Use cl-letf*.
1026 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * subr.el (dolist): Don't bind VAR in RESULT.
1030 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1031 (fset, documentation): Don't save real def since we don't advise.
1032 (ad-do-advised-functions): Remove problematic `result-form'.
1033 (ad-safe-fset): `ad-real-fset' => `fset'.
1034 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1035 uses CL's dolist internally.
1036 (ad-arglist): Remove unused arg `name'.
1037 (ad-docstring, ad-make-advised-docstring):
1038 `ad-real-documentation' => `documentation'.
1039 (warning-suppress-types): Declare.
1040 (ad-set-arguments): Simple CSE.
1041 (ad-recover-normality): Sanity check.
1043 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1044 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1046 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1048 * ses.el: symbol to coordinate mapping is made by symbol property
1049 `ses-cell'. This means that the same mapping is done for all SES
1050 sheets. That is good enough for cells with standard A1 names, but
1051 not for named cell. So a hash map is added for the latter.
1052 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1053 (ses-sym-rowcol): Use hashmap for named cell.
1054 (ses-is-cell-sym-p): New defun.
1055 (ses-decode-cell-symbol): New defun.
1056 (ses-create-cell-variable): Add cell to hashmap when name is not
1058 (ses-rename-cell): Check that cell new name is not already in
1059 spreadsheet with the use of ses-is-cell-sym-p
1060 (ses-rename-cell): Use hash map for named cells, but accept also
1061 renaming back to A1-like.
1063 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1065 * emacs-lisp/advice.el: Use new dynamic docstrings.
1066 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1067 Use dynamic-docstring-function instead of ad-advice-info.
1068 (ad--make-advised-docstring): New function extracted from
1069 ad-make-advised-docstring.
1070 (ad-make-advised-docstring): Use it.
1071 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1073 (sql-help): Use it with dynamic-docstring-function.
1075 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1077 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * files.el (hack-one-local-variable--obsolete): New function.
1080 (hack-one-local-variable): Use it for obsolete settings.
1082 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1085 * progmodes/js.el (js--filling-paragraph): New var.
1086 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1087 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1090 2012-11-08 Julien Danjou <julien@danjou.info>
1092 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1093 `auto-mode-alist' (Bug#12835).
1095 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1098 (perl--prettify-symbols-alist): New const.
1099 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1101 (perl-font-lock-keywords-2): Use them.
1102 (perl-electric-noindent-p): New function.
1103 (perl-mode): Use it to set up electric-indent-mode.
1104 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1105 (perl-mode-map): Remove bindings for them.
1106 (perl-imenu-generic-expression, perl-outline-level):
1107 Match functions&packages in column>0.
1109 * env.el (env--substitute-vars-regexp): New const.
1110 (substitute-env-vars): Use it. Add `only-defined' arg.
1111 * net/tramp.el (tramp-replace-environment-variables): Use it.
1113 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1114 Byte-compile *before* eval in eval-and-compile.
1115 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1116 (byte-compile-file-form-autoload): Don't hide actual definition.
1117 (byte-compile-maybe-guarded): Accept `functionp' as well.
1119 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1121 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1123 * notifications.el (notifications-get-server-information-method):
1125 (notifications-get-capabilities): Fix docstring.
1126 (notifications-get-server-information): New defun.
1128 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1130 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1133 * textmodes/ispell.el: Experimental support for support debugging.
1134 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1136 (ispell-print-if-debug): New function to print stuff to
1137 `ispell-debug-buffer' if debugging is enabled.
1138 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1139 show some debugging info.
1140 (ispell-buffer-with-debug): New function that creates a debugging
1141 buffer and calls `ispell-buffer' with debugging enabled.
1143 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1144 comment in autoconf mode. (Bug#12768)
1146 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1148 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1149 frame-first-window, frame-root-window, frame-selected-window,
1150 minibuffer-selected-window, minibuffer-window,
1151 window-absolute-pixel-edges, window-at, window-body-height,
1152 window-body-width, window-display-table, window-combination-limit,
1153 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1154 window-inside-edges, window-inside-pixel-edges, window-left-child,
1155 window-left-column, window-margins, window-next-buffers,
1156 window-next-sibling, window-new-normal, window-new-total,
1157 window-normal-size, window-parameter, window-parameters, window-parent,
1158 window-pixel-edges, window-point, window-prev-buffers,
1159 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1160 window-start, window-text-height, window-top-child, window-top-line,
1161 window-total-height, window-total-width and window-use-time to the list
1162 of functions without side-effects.
1163 (toplevel): Add window-valid-p to the list of error-free functions
1164 without side-effects.
1166 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1168 * textmodes/ispell.el (ispell-program-name):
1169 Update spellchecker parameters when customized.
1171 2012-11-04 Glenn Morris <rgm@gnu.org>
1173 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1175 2012-11-04 Chong Yidong <cyd@gnu.org>
1177 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1178 same-window-* variables.
1180 2012-11-04 Juri Linkov <juri@jurta.org>
1182 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1183 (isearch-describe-key, isearch-describe-mode): Use a display
1184 action instead of binding same-window-* variables (Bug#10040).
1186 2012-11-03 Glenn Morris <rgm@gnu.org>
1188 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1189 Rename handler properties back from cl-- to cl-. (Bug#12788)
1191 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1193 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1195 * term/pc-win.el: Don't load term/internal from here.
1197 * loadup.el: Load term/internal from here.
1199 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1201 * progmodes/python.el (inferior-python-mode): Fix hang in
1202 jit-lock (Bug#12645).
1204 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1206 * window.el (switch-to-visible-buffer)
1207 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1209 2012-11-03 Glenn Morris <rgm@gnu.org>
1211 * emacs-lisp/cl-lib.el (cl--random-time):
1212 Rename from cl-random-time. (Bug#12773)
1213 (cl--gensym-counter, cl--random-state): Update callers.
1214 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1216 2012-11-03 Chong Yidong <cyd@gnu.org>
1218 * cus-start.el: Make cursor-type customizable (Bug#11633).
1220 2012-11-02 Glenn Morris <rgm@gnu.org>
1222 * filecache.el: No need to load find-lisp when compiling.
1223 (find-lisp-find-files): Autoload it.
1224 (file-cache-add-directory-recursively): Don't require find-lisp.
1226 * image.el (image-type-from-file-name): Trivial simplification.
1228 * emacs-lisp/bytecomp.el (byte-compile-eval):
1229 Decouple "noruntime" and "cl-functions" warnings.
1231 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1233 * play/gomoku.el (gomoku-display-statistics): Update mode line
1234 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1236 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1238 * window.el (quit-restore-window): If the window has been
1239 created on an existing frame and ended up as the sole window on
1240 that frame, do not delete it (Bug#12764).
1242 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1245 Rename from sh--inside-arithmetic-expression, handle more cases
1248 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1249 (sh-font-lock-open-heredoc): Use it (bug#12770).
1251 2012-10-30 Glenn Morris <rgm@gnu.org>
1253 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1255 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1257 2012-10-29 Chong Yidong <cyd@gnu.org>
1259 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1260 function key is stored in a keyboard macro (Bug#4894).
1262 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1264 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1268 (diff-unified->context, diff-context->unified)
1269 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1271 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1273 * files.el (find-alternate-file): Only ask one question (bug#12487).
1275 2012-10-29 Chong Yidong <cyd@gnu.org>
1277 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1278 Suggested by Dan Nicolaescu (Bug#6326).
1280 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1282 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1284 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1286 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1288 * face-remap.el (face-remap-add-relative): Handle the case where a
1289 face-remapping-alist entry is a cons cell (Bug#12762).
1291 2012-10-29 Kevin Ryde <user42@zip.com.au>
1293 * woman.el (woman-parse-numeric-value): Handle picas correctly
1296 2012-10-29 Glenn Morris <rgm@gnu.org>
1298 * emacs-lisp/cl.el (defsetf): Doc fix.
1300 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1302 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1303 syntax to the matching opener, if any (bug#12547).
1304 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1305 matching open as a "case-(".
1306 (sh-smie-rc-grammar): Add a corresponding rule for it.
1308 2012-10-28 Daniel Hackney <dan@haxney.org>
1310 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1311 "PKGNAME-autoloads.el" in case we created it.
1313 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1316 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1317 (completion--twq-all): Disable too-strict assertions.
1319 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1321 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1323 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1324 text to match the real keybindings.
1326 2012-10-27 Juri Linkov <juri@jurta.org>
1328 * wdired.el (wdired-keep-marker-rename): New defcustom.
1329 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1332 * dired.el (dired-keep-marker-rename): Add reference to
1333 `wdired-keep-marker-rename' in the docstring.
1334 Add default character value ?R to display initially in
1335 Customization UI instead of ?@.
1337 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1339 * window.el (display-buffer): In doc-string describe
1340 window-height and window-width alist entries.
1342 * time.el (display-time-world): Restore fit-window-to-buffer
1345 2012-10-27 Chong Yidong <cyd@gnu.org>
1347 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1349 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1351 * minibuffer.el (completion-category-overrides): New completion
1352 category `bookmark' (bug#11131).
1354 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1356 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1357 Silence bogus compiler warnings for ad-do-it.
1359 * bookmark.el (bookmark-completing-read): Set the completion category
1360 to `bookmark' (bug#11131).
1362 2012-10-26 Bastien <bzg@altern.org>
1363 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * face-remap.el: Use lexical-binding.
1366 (text-scale-adjust): Improve docstring. Use itself for the temporary
1367 overlay-map bindings, so as to repeat the "Use..." message each time.
1369 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * emacs-lisp/macroexp.el (macroexp--expand-all):
1372 Obey byte-compile-warning-enabled-p (bug#12486).
1374 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1375 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1377 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1379 * mouse.el (mouse-drag-line): Move last form into preceding when
1382 * help.el (resize-temp-buffer-window): Fix doc-string.
1384 2012-10-25 David Engster <deng@randomsample.de>
1386 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1387 Remove. This feature is already integrated in imenu.
1389 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1390 always loaded. Require `speedbar' unconditionally.
1392 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1396 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1398 * net/ldap.el (ldap-search-internal): The official ldif format starts
1399 with a "version: 1" header (bug#12724).
1401 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1404 2012-10-25 Glenn Morris <rgm@gnu.org>
1406 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1408 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * minibuffer.el (minibuffer-force-complete): Use one more marker
1411 for the temporary-overlay-map command (bug#12619).
1413 2012-10-24 Chong Yidong <cyd@gnu.org>
1415 * time.el (display-time-world-mode): Derive from special-mode.
1416 (display-time-world): Use display-buffer (Bug#12708).
1417 (display-time-world-mode-map): Variable deleted.
1418 (display-time-world-display): Wrap the final delete-char inside
1421 2012-10-24 Chong Yidong <cyd@gnu.org>
1423 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1426 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1428 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * minibuffer.el (completion--all-sorted-completions-location): New var.
1431 (completion--cache-all-sorted-completions)
1432 (completion--flush-all-sorted-completions): Use it.
1433 (completion-in-region, completion-in-region--postch)
1434 (completion-at-point, completion-help-at-point): Use markers in
1435 completion-in-region--data (bug#12619).
1437 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * progmodes/compile.el (compilation-start): Try to handle common
1440 quoting of `cd' argument (bug#12640).
1442 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1445 2012-10-23 Glenn Morris <rgm@gnu.org>
1447 * progmodes/gud.el (gud-menu-map):
1448 Check gdb-active-process is bound. (Bug#12358)
1450 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * repeat.el (repeat): Set real-this-command (bug#12232).
1454 * htmlfontify.el (hfy-post-html-hook):
1455 * filesets.el (filesets-cache-fill-content-hook):
1456 * arc-mode.el (archive-extract-hook):
1457 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1458 * net/rcirc.el (rcirc-sentinel-functions)
1459 (rcirc-receive-message-functions, rcirc-activity-functions)
1460 (rcirc-print-functions):
1461 * net/dbus.el (dbus-event-error-functions):
1462 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1463 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1464 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1465 * term/sun.el (sun-raw-prefix-hooks):
1466 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1468 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1470 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1471 Set `tramp-chunksize' to 1. This improves the performance.
1472 (tramp-smb-wait-for-output): Add timeout to
1473 `tramp-accept-process-output' calls.
1475 2012-10-23 Chong Yidong <cyd@gnu.org>
1477 * faces.el (font-list-limit): Define as an obsolete variable.
1479 * startup.el (command-line):
1480 * cus-start.el: Don't refer to font-list-limit.
1482 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1484 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1486 * subr.el (internal-temp-output-buffer-show): Rename from
1487 temp-output-buffer-show, since previously compiled files expect this name.
1489 2012-10-23 Glenn Morris <rgm@gnu.org>
1491 * image.el (image-type-from-file-name): If multiple types match,
1492 return the first one that is supported. (Bug#9045)
1494 2012-10-22 Glenn Morris <rgm@gnu.org>
1496 * image.el (imagemagick-enabled-types): Doc fix.
1498 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1500 * progmodes/which-func.el (which-func-current): The hash-table may have
1501 an explicit nil (bug#12338).
1503 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * electric.el (electric-pair-delete-selection-self-insert-function):
1506 Rename to electric-pair-will-use-region, return a boolean.
1507 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1509 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1510 (delete-selection-pre-hook): Use use-region-p.
1511 (delete-selection-self-insert-function): Remove.
1512 (self-insert-command): Obey self-insert-uses-region-functions.
1513 (self-insert-iso): Revert to previous setting, since we don't actually
1514 know what that command does.
1515 (delete-selection-self-insert-hooks): Remove.
1517 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1519 * delsel.el (delete-selection-helper): New function, extracted from
1520 delete-selection-pre-hook.
1521 (delete-selection-pre-hook): Use it.
1522 (delete-selection-self-insert-function): New function.
1523 (delete-selection-self-insert-hooks): New hook.
1524 (self-insert-command, self-insert-iso): Use it.
1525 * electric.el (electric-pair-syntax): New function, extracted from
1526 electric-pair-post-self-insert-function.
1527 (electric-pair-post-self-insert-function): Use it.
1528 (electric-pair-delete-selection-self-insert-function): New function.
1529 (electric-pair-mode): Require delsel and setup
1530 delete-selection-self-insert-hooks (bug#11520).
1532 2012-10-20 Chong Yidong <cyd@gnu.org>
1534 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1535 no changes to show (Bug#12586).
1537 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1538 list explicitly (Bug#12571).
1540 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1542 * progmodes/flymake.el (flymake-create-temp-inplace):
1545 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1547 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1549 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1551 * calc/calc-units.el (math-extract-units): Properly extract powers
1554 2012-10-20 Daniel Colascione <dancol@dancol.org>
1556 * frame.el (make-frame): Set x-display-name as we used to in order
1557 to unbreak creating an X11 frame from an Emacs daemon started
1560 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1563 the same completion-field (bug#12221).
1565 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1567 * emacs-lisp/debug.el (debug): Record height of debugger window
1568 also when debugger will be back (Bug#8789).
1570 2012-10-18 Chong Yidong <cyd@gnu.org>
1572 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1573 Convert to defcustom.
1574 (gdb-get-source-file): Don't bind pop-up-windows.
1576 * progmodes/gud.el (gud-display-line): Don't specially re-use
1577 other frames for the gdb-mi case (Bug#12648).
1579 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * emacs-lisp/advice.el: Clean up commentary a bit.
1582 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1583 (byte-code-function-p): Never redefine.
1585 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1587 2012-10-18 Glenn Morris <rgm@gnu.org>
1589 * dired.el (dired-sort-toggle): Some ls implementations only allow
1590 a single option string. (Bug#12666)
1592 * minibuffer.el (completion-cycle-threshold): Doc fix.
1594 2012-10-17 Kenichi Handa <handa@gnu.org>
1596 * international/mule.el (set-keyboard-coding-system):
1597 Recover input meta mode when the new coding system doesn not use 8-bit.
1598 Supply TERMINAL arg to set-input-meta-mode.
1600 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1602 * wdired.el (wdired-old-marks): New variable.
1603 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1604 (wdired-do-renames): Move point with renamed file and don't lose
1605 mark status (Bug#11795).
1607 2012-10-16 Juri Linkov <juri@jurta.org>
1609 * replace.el (query-replace-help): Mention multi-buffer replacement
1610 keys in the Help message. (Bug#12655)
1612 2012-10-15 Chong Yidong <cyd@gnu.org>
1614 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1616 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1618 * window.el (display-buffer): Doc fix.
1620 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1621 Adjust the msft regexp to the output of Studio 2010, and move msft
1622 before edg-1. See the discussion on emacs-devel,
1623 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1626 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1629 (oset): Move uses of object-class-fast macro after its definition.
1631 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1633 2012-10-13 Chong Yidong <cyd@gnu.org>
1635 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1636 enabled, re-enable it (Bug#11963).
1638 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1640 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1641 non-nil, restore window configuration (Bug#12623).
1643 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * help-fns.el (describe-variable, describe-function-1):
1646 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1648 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1650 2012-10-12 Glenn Morris <rgm@gnu.org>
1652 * mail/rmailsum.el (rmail-header-summary):
1653 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1655 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1657 * progmodes/python.el (python-mode-map):
1658 Replace subtitute-key-definition with proper command remapping.
1659 (python-nav--up-list): Fix behavior for blocks on the same level.
1661 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1663 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1665 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1666 changes to the format of load-history.
1668 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1669 completion-ignore-case in case that var is buffer-local (bug#12615).
1671 2012-10-11 Kenichi Handa <handa@gnu.org>
1673 * international/eucjp-ms.el: Re-generated.
1675 2012-10-10 Kenichi Handa <handa@gnu.org>
1677 * select.el (xselect--encode-string): If a coding is specified for
1678 selection, and that is compatible with COMPOUND_TEXT, use it.
1680 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1682 * window.el (switch-to-buffer-preserve-window-point): New option.
1684 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1686 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1689 Don't document nil as a useful value (bug#12583).
1691 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1693 * net/tramp.el (tramp-debug-message):
1694 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1695 (with-tramp-progress-reporter): Rename from
1696 `tramp-with-progress-reporter'.
1697 (with-tramp-file-property, with-tramp-connection-property):
1698 Move from tramp-cache.el, rename from `with-file-property' and
1699 `with-connection-property', respectively.
1701 * net/tramp-cache.el: Remove `with-file-property' and
1702 `with-connection-property'.
1705 * net/tramp-gvfs.el:
1707 * net/tramp-smb.el: Adapt callees.
1709 * net/trampver.el: Update release number.
1711 2012-10-09 Glenn Morris <rgm@gnu.org>
1713 * w32-fns.el (set-message-beep):
1714 * term/w32-win.el (set-message-beep): Update declarations.
1716 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1718 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1719 (mode-line-widen, mode-line-input-method-map)
1720 (mode-line-coding-system-map, mode-line-remote)
1721 (mode-line-unbury-buffer, mode-line-bury-buffer)
1722 (mode-line-next-buffer, mode-line-previous-buffer):
1723 Replace save-selected-window+select-window => with-selected-window.
1725 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1726 * progmodes/cc-vars.el (bq-process): Remove, unused.
1728 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1730 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1732 Implemented `backward-up-list'-like navigation.
1733 * progmodes/python.el (python-nav-up-list)
1734 (python-nav-backward-up-list): New functions.
1735 (python-mode-map): Define substitute key for backward-up-list to
1736 python-nav-backward-up-list.
1738 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1740 * progmodes/python.el (python-fill-paragraph): Rename from
1741 python-fill-paragraph-function. Fixed fill-paragraph for
1742 decorators (Bug#12605).
1744 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1746 * progmodes/python.el (python-shell-output-filter): Handle extra
1747 carriage return in OSX (Bug#12409).
1749 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1751 Fix shell handling of unbalanced quotes and parens in output.
1752 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1753 (python-syntax-propertize-function): Use it.
1754 (python-shell-output-syntax-table): New var.
1755 (inferior-python-mode): Prevent unbalanced parens/quotes from
1756 previous output mess with current input context.
1758 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1760 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1761 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1763 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1765 * ffap.el (ffap-replace-file-component): Support Tramp file name
1766 syntax, not only ange-ftp's one.
1768 2012-10-08 Glenn Morris <rgm@gnu.org>
1770 * cus-start.el (message-log-max): Set :version.
1772 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1774 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1776 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1777 the minibuffer window (Bug#10851).
1779 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1781 Enhancements on forward-sexp movement.
1782 * progmodes/python.el (python-nav-beginning-of-statement)
1783 (python-nav-end-of-statement): Return point-marker.
1784 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1785 (python-info-current-symbol)
1786 (python-info-statement-starts-block-p): Rename from
1787 python-info-beginning-of-block-p.
1788 (python-info-statement-ends-block-p): Rename from
1789 python-info-end-of-block-p.
1790 (python-info-beginning-of-statement-p)
1791 (python-info-end-of-statement-p)
1792 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1795 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1798 frame-selected-windows.
1800 2012-10-08 Daniel Colascione <dancol@dancol.org>
1802 * battery.el (battery-status-function): Check for
1803 w32-battery-status itself, not system-time windows-nt.
1805 * frame.el: Require cl-lib.
1806 (display-format-alist): New variable mapping frame types to
1807 functions that initialize them.
1808 (window-system-for-display): New function: interprets
1809 display-format-alist.
1810 (make-frame-on-display): Remove existing display-selection logic
1811 and just forward to make-frame, which will now DTRT.
1812 (make-frame): Restructure to use window-system-for-display to
1813 figure out how to create a frame on a given display.
1814 (display-mouse-p): Look for frame-type w32, not a particular
1817 * loadup.el: Load w32 lisp code when we have the w32 feature.
1819 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1820 system-type windows-nt.
1822 * server.el (server-create-window-system-frame): Look for window
1824 (server-proces-filter): Only force a window system when windows-nt
1825 _and_ w32. Explain why.
1827 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1828 of window systems we configure for the mode.
1830 * startup.el (command-line): Mark window system is initialized
1831 after we've done it.
1833 * common-win.el (x-select-text): Look for w32, not windows-nt.
1835 * ns-win.el: Require cl-lib. Add ourselves to
1836 display-format-alist.
1837 (ns-initialize-window-system): Assert we're not initialized twice.
1839 * w32-win.el: Enable lexical binding; require cl-lib; add
1840 ourselves to display-format-alist.
1841 (w32-handle-dropped-file): Convert incoming dropped files from
1842 Windows paths to Cygwin ones before passing them on to the rest of
1844 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1845 (w32-initialize-window-system): Assert we're not initialized twice.
1847 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1848 (x-initialize-window-system): Assert we're not initialized twice.
1850 * w32-common-fns.el: New File.
1851 (w32-version, w32-using-nt, w32-get-clipboard-data)
1852 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1853 (w32-charset-info-alist, x-last-selected, text)
1854 (x-get-selection-value, x-selection-value): Move here.
1856 * w32-fns.el: Require w32-common-fns.
1857 (w32-version, w32-using-nt, w32-get-clipboard-data)
1858 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1859 (w32-charset-info-alist, x-last-selected, text)
1860 (x-get-selection-value, x-selection-value): Move to
1864 (w32-allow-system-shell, w32-system-shells): Define only in
1867 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1870 (read-passwd): Remove a few more potential sources of leaks.
1872 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1874 * progmodes/python.el (inferior-python-mode)
1875 (python-shell-make-comint): Fix initialization of local
1876 variables copied from parent buffer.
1878 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1880 * term/ns-win.el (ns-read-file-name): Update declaration to match
1882 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1883 it is set when font is acted upon.
1885 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1887 Enhancements to indentation.
1888 * progmodes/python.el (python-indent-context): Give priority to
1889 inside-string context. Make comments indentation markers.
1890 (python-indent-region): Do not mess with strings, unless it's the
1891 enclosing set of quotes.
1893 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * window.el (internal--before-save-selected-window)
1896 (internal--after-save-selected-window): New functions extracted from
1897 save-selected-window. Make sure we return the `alist' we construct.
1898 (save-selected-window): Use them.
1900 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1901 Use with-selected-window.
1903 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1904 forms that define macros (bug#12593).
1906 2012-10-07 Kenichi Handa <handa@gnu.org>
1908 * international/mule-conf.el (compound-text-with-extensions):
1909 Add :mime-charset property as x-ctext.
1911 2012-10-07 Stefan Merten <smerten@oekonux.de>
1913 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1914 (rst-indent-literal-normal, rst-indent-literal-minimized)
1915 (rst-indent-comment): Correct :version tag.
1916 (rst-official-cvs-rev): Correct version string.
1918 2012-10-07 Glenn Morris <rgm@gnu.org>
1920 * mail/rmailmm.el (rmail-mime-process-multipart):
1921 Do not confuse a multipart message with an epilogue
1922 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1924 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1926 Fix shell output retrieval and comint-prompt-regexp init.
1927 * progmodes/python.el (inferior-python-mode):
1928 (python-shell-make-comint): Fix initialization of
1929 comint-prompt-regexp from copied file local variables.
1930 (python-shell-fetched-lines): Remove var.
1931 (python-shell-output-filter-in-progress): Rename from
1932 python-shell-fetch-lines-in-progress.
1933 (python-shell-output-filter-buffer): Rename from
1934 python-shell-fetch-lines-string.
1935 (python-shell-fetch-lines-filter): Delete function.
1936 (python-shell-output-filter): New function.
1937 (python-shell-send-string-no-output): Use them.
1939 2012-10-07 Glenn Morris <rgm@gnu.org>
1941 * hi-lock.el (hi-lock-process-phrase):
1942 Try to make it less fragile. (Bug#7161)
1944 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1946 2012-10-06 Glenn Morris <rgm@gnu.org>
1948 * ehelp.el (electric-help-mode): Use help-mode rather than
1949 non-existent mode `help'.
1950 (electric-help-map): Use button-buffer-map. (Bug#10917)
1952 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1953 (reftex-create-bibtex-footer): Fix custom types.
1955 * progmodes/sh-script.el (sh-indent-after-continuation):
1956 Add explicit :group.
1958 * textmodes/rst.el (rst-preferred-decorations)
1959 (rst-shift-basic-offset): Clarify obsolescence versions.
1961 * profiler.el (profiler): Add missing group :version tag.
1962 * avoid.el (mouse-avoidance-banish-position):
1963 * proced.el (proced-renice-command):
1964 * calc/calc.el (calc-ensure-consistent-units):
1965 * calendar/icalendar.el (icalendar-import-format-uid):
1966 * net/tramp.el (tramp-save-ad-hoc-proxies):
1967 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1968 * progmodes/flymake.el (flymake-error-bitmap)
1969 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1970 * progmodes/sh-script.el (sh-indent-after-continuation):
1971 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1972 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1973 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1974 (vhdl-array-index-record-field-in-sensitivity-list)
1975 (vhdl-indent-comment-like-next-code-line):
1976 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1977 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1978 (reftex-cite-key-separator, reftex-create-bibtex-header)
1979 (reftex-create-bibtex-footer):
1980 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1981 (rst-indent-literal-normal, rst-indent-literal-minimized)
1982 (rst-indent-comment): Add missing custom :version tags.
1984 * calendar/timeclock.el (timeclock-modeline-display):
1985 Add missing obsolete alias for renamed user option.
1987 * strokes.el (strokes-modeline-string):
1988 * emulation/crisp.el (crisp-mode-modeline-string):
1989 * eshell/esh-mode.el (eshell-status-in-modeline):
1990 Aliases to defcustoms must come before the defcustom.
1992 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1993 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1994 (cal-tex-cursor-week-monday): Doc fixes.
1995 (cal-tex-cursor-week2-summary): Doc fix.
1996 Rename from cal-tex-cursor-week-at-a-glance.
1998 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1999 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2001 * calendar/calendar.el (calendar-mode-map):
2002 Add cal-tex-cursor-week2-summary.
2004 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2008 * subr.el (read-passwd-map): New var.
2009 (read-passwd): Use `read-string' again.
2010 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2012 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2014 * register.el (append-to-register, prepend-to-register):
2015 Deactivate mark, as does `copy-to-register' (bug#12389).
2017 2012-10-06 Chong Yidong <cyd@gnu.org>
2019 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2021 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2023 * international/characters.el: Fix simple mistake ((car chars) ->
2024 elt), delete duplicated code.
2026 2012-10-06 Glenn Morris <rgm@gnu.org>
2028 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2030 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2032 * color.el (color-hsl-to-rgb): Fix incorrect results for
2033 small and large hue values. (Bug#12559)
2035 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2037 Enhancements to docstring formatting when filling paragraphs.
2038 * progmodes/python.el (python-fill-docstring-style): Rename from
2039 python-fill-string-style. Added new style.
2040 (python-fill-string): Use new style. Better checks for
2043 2012-10-05 Glenn Morris <rgm@gnu.org>
2045 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2047 * color.el (color-name-to-rgb, color-rgb-to-hex)
2048 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2049 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2050 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2051 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2053 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2055 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2057 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2058 to get the correct size across symlinks.
2060 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2062 2012-10-04 Juri Linkov <juri@jurta.org>
2064 * replace.el (query-replace-interactive): Declare obsolete.
2065 (query-replace-read-from): Add the last incremental search string
2066 to the list of default values accessible via M-n.
2067 (map-query-replace-regexp): Use `read-regexp'.
2068 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2069 (map-query-replace-regexp, replace-string, replace-regexp):
2070 Fix docstrings to replace mentions of `query-replace-interactive'
2071 with alternatives. (Bug#12526)
2073 2012-10-04 Juri Linkov <juri@jurta.org>
2075 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2076 (dired-pop-to-buffer): Declare obsolete.
2077 (dired-mark-pop-up): Doc fix.
2079 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2081 Allow user to set docstring style for fill-paragraph.
2082 * progmodes/python.el
2083 (python-fill-comment-function, python-fill-string-function)
2084 (python-fill-decorator-function, python-fill-paren-function):
2085 Remove :safe for defcustoms.
2086 (python-fill-string-style): New defcustom
2087 (python-fill-paragraph-function): Enhance context detection.
2088 (python-fill-string): Honor python-fill-string-style settings.
2090 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2092 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2093 after setting its buffer (Bug#10805).
2095 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2097 Fix cornercase for string syntax.
2098 * progmodes/python.el (python-syntax-propertize-function):
2099 Simplify and enhance the regexp for unescaped quotes. Now it also
2100 matches quotes in weird situations like the single quote in
2102 (python-syntax-stringify): Simplify num-quotes detecting code.
2104 2012-10-03 Glenn Morris <rgm@gnu.org>
2106 * help-macro.el (three-step-help):
2107 Revert 2012-09-29 change. (Bug#12567)
2109 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2111 * menu-bar.el (kill-this-buffer): Don't do anything when
2112 `menu-frame' is not alive or visible (Bug#8184).
2114 * emacs-lisp/debug.el (debug): When quitting the debugger window
2115 restore current buffer (Bug#12502).
2117 2012-10-02 Chong Yidong <cyd@gnu.org>
2119 * progmodes/hideif.el (hif-lookup, hif-defined):
2120 Handle semantic-c-takeover-hideif.
2122 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2124 Change sampling interval units from ms to ns.
2125 * profiler.el (profiler-sampling-interval): Change units
2126 from ms to ns, multiplying the default by 1000000 so that
2128 (profiler-report-cpu-line-format): Give enough room for
2129 the maximum counters on 64-bit hosts.
2130 (profiler-report-render-calltree-1): Call them "CPU samples",
2131 not "Time (ms)", since they are not milliseconds now (and
2134 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2136 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2137 Fix querying BBDB for entries without a last name (Bug#11580).
2139 2012-10-02 Chong Yidong <cyd@gnu.org>
2141 * emacs-lisp/eieio.el: Restore Version header.
2143 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * vc/diff-mode.el (diff--auto-refine-data): New var.
2146 (diff-hunk): Use it to delay refinement.
2147 (diff-mode): Remove overlays when we turn off font-lock.
2149 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2150 (table-initialize-table-fixed-width-mode)
2151 (table-set-table-fixed-width-mode): Remove functions.
2152 (table-command-list): Move initialization into declaration.
2153 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2154 (table-with-cache-buffer): Use `declare'.
2155 (table-span-cell): Simplify via CSE.
2156 (table-fixed-width-mode): Use define-minor-mode.
2157 (table-call-interactively, table-funcall, table-apply): Remove.
2158 (table-function): New function, to replace them.
2160 * bookmark.el (bookmark-search-pattern): Remove var.
2161 (bookmark-read-search-input): Remove function.
2162 (bookmark-bmenu-search): Reimplement using a minibuffer.
2164 * faces.el (modeline): Remove obsolete face name.
2166 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2167 and give a non-nil default value.
2168 (add-change-log-entry): Simplify accordingly.
2170 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2172 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2173 (vc-git-log-edit-toggle-amend): New function.
2174 (vc-git-log-edit-toggle-signoff): New function.
2175 (vc-git-log-edit-mode): New major mode.
2176 (vc-git-log-edit-mode-map): Keymap for it.
2177 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2179 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2181 (log-edit-toggle-header): New function.
2182 (log-edit-extract-headers): Accept function values in HEADERS alist.
2184 2012-10-01 David Engster <deng@randomsample.de>
2186 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2187 from symbol property and change message to be more consistent with
2189 (eieio-describe-generic): Add filename for each implementation.
2190 Fix indices for generic and normal methods.
2191 (eieio-method-def, eieio-class-def): New buttons.
2192 (eieio-help-find-method-definition)
2193 (eieio-help-find-class-definition): New functions.
2194 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2195 class, constructor and method definitions.
2197 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2198 information in symbol property.
2199 (scoped-class): Remove.
2200 (eieio-slot-name-index, call-next-method): Check if it is bound.
2202 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2204 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2205 (eieio-custom-mode): New major mode.
2206 (eieio-customize-object): Use it.
2208 2012-10-01 Eric Ludlam <zappo@gnu.org>
2210 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2211 specifying the expected class, and whether subclassing is allowed.
2212 (eieio-persistent-convert-list-to-object):
2213 (eieio-persistent-validate/fix-slot-value)
2214 (eieio-persistent-slot-type-is-class-p): New functions.
2215 (eieio-named::slot-missing): Doc fix.
2217 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2218 Stop using unused publd variable.
2220 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2221 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2222 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2223 (eieio-speedbar-handle-click): Do not specify a class for the
2224 method. Fixes method invocation order problems with EDE.
2226 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2229 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2231 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2233 * bookmark.el (bookmark-version-control): Give tags in the
2234 :type choices (Bug#12309), and improve doc string.
2235 (bookmark-write-file): Bind `print-circle' to `t' to allow
2236 circular custom bookmark types. (Bug#12503)
2238 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2240 Revert the FOLLOW-SYMLINKS change for file-attributes.
2241 * files.el (remote-file-name-inhibit-cache, after-find-file):
2242 * time.el (display-time-file-nonempty-p): Undo last change.
2244 * profiler.el (profiler-sampling-interval): Change default back to 1.
2245 See Stefan Monnier in
2246 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2248 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2250 Shell output catching a la gud-gdb.
2251 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2252 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2254 (python-shell-fetch-lines-filter): New function.
2255 (python-shell-send-string-no-output): Use them.
2257 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2259 * profiler.el (profiler-sampling-interval): Rename from
2260 profiler-sample-interval.
2261 (profiler-sampling-interval): Default to 10.
2262 (profiler-find-profile): New command (was profiler-find-log).
2263 (profiler-find-profile-other-window): New command.
2264 (profiler-find-profile-other-frame): New command.
2265 (profiler-profile): Introduce API-level data structure.
2267 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2269 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2270 * files.el (remote-file-name-inhibit-cache):
2271 * time.el (display-time-file-nonempty-p): Use it.
2272 * files.el (after-find-file): Don't chase links before calling
2273 file-exists-p, as file-exists-p already does the right thing.
2275 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2277 Merge from standalone RefTeX repository.
2279 The following ChangeLog entries are shortened versions of the
2280 original ones with file paths adapted. A not so strongly edited
2281 version of the original ChangeLog can be found in the commit log.
2283 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2284 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2285 Correctly handle new value type returned by `reftex-citation'.
2287 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2288 that entries with whitespace at various places are found.
2289 Doc fix. Include entries that are cross-referenced from cited entries.
2290 Include @String definitions in the resulting bib file. Add header
2291 and footer defined in `reftex-create-bibtex-header' and
2292 `reftex-create-bibtex-footer'.
2293 (reftex-do-citation): Make it possible again to insert
2294 non-existent entries. Save match data when asking for optional
2295 arguments. Return all keys, not just the first one.
2296 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2297 all citations in the same line.
2298 (reftex-parse-bibtex-entry): Accept additional optional argument
2299 `raw' and keep quotes or braces if it is non-nil. Match fields
2300 containing hyphens besides word constituents.
2301 (reftex-get-string-refs): New function.
2302 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2303 and ask if it should be reread in case it did.
2304 (reftex-pop-to-bibtex-entry)
2305 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2306 entries with spaces or tabs in front of arguments.
2307 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2308 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2309 Match entries containing numbers and symbol constituents.
2310 (reftex-do-citation, reftex-figure-out-cite-format):
2311 Use `reftex-cite-key-separator'.
2313 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2314 (reftex-mouse-view-crossref): Explain why point is set.
2316 * textmodes/reftex-global.el: Whitespace changes.
2318 * textmodes/reftex-index.el: Move provide statement to end of
2320 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2321 (reftex-index-visit-phrases-buffer): Set marker when visiting
2322 buffer. This allows for returning from the phrases file to the
2323 file one was just editing instead of the file where the last
2324 phrases was added from.
2325 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2326 punctuation syntax as it usually is not used as string quote in
2327 TeX-related modes and may occur unmatched. The change also
2328 prevents fontification of quoted content.
2329 (reftex-index-phrases-mode): Use it.
2331 * textmodes/reftex-parse.el (reftex-parse-from-file):
2332 Move backward one char if a `\' was matched after a section macro.
2333 (reftex-parse-from-file): Use beginning of match instead of end as
2336 * textmodes/reftex-ref.el: Adapt creation of
2337 `reftex-<package>-<macro>' functions to new structure of
2338 `reftex-ref-style-alist'.
2339 (reftex-reference): Use `reftex-ref-style-list' function.
2340 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2341 reference macro if `reftex-ref-macro-prompt' is non-nil.
2342 (reftex-reference): Pass refstyle to `reftex-format-special'.
2343 Determine reference macro by looking at
2344 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2345 Use only one special format function.
2346 (reftex-varioref-vref, reftex-fancyref-fref)
2347 (reftex-fancyref-Fref): Remove definitions. The functions are now
2348 generated from `reftex-ref-style-alist'.
2349 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2351 (reftex-format-special): New function.
2353 * textmodes/reftex-sel.el
2354 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2355 of `reftex-ref-style-alist'. Remove code for testing macro type.
2356 (reftex-select-toggle-varioref)
2357 (reftex-select-toggle-fancyref): Remove.
2358 (reftex-select-cycle-ref-style-internal)
2359 (reftex-select-cycle-ref-style-forward)
2360 (reftex-select-cycle-ref-style-backward): New functions.
2361 (reftex-select-label-map): Use `v' and `V' for general cycling
2362 through reference styles. Add `p' for switching between number
2363 and page reference types.
2365 * textmodes/reftex-toc.el (reftex-re-enlarge):
2366 Call `enlarge-window' only if there is something to do because in Emacs
2367 the horizontal version throws an error even if the parameter is 0.
2369 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2370 (reftex-plug-into-AUCTeX): Doc fix.
2371 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2372 string. Adapt to new name.
2373 (reftex-ref-style-alist): Change structure so that it is not
2374 possible to use multiple different package names within a style.
2375 Remove the symbols for symbols for macro type distinction.
2376 Add characters for macro selection.
2377 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2378 (reftex-create-bibtex-footer): New variables.
2379 (reftex-format-ref-function): Mention third argument of special
2381 (reftex-ref-style-alist, reftex-ref-style-default-list):
2383 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2384 to new implementation. Mark as obsolete. Add compatibility code
2385 for honoring the variable values in case they are set.
2386 (reftex-cite-format-builtin, reftex-bibliography-commands):
2387 Add support for ConTeXt.
2388 (reftex-format-ref-function, reftex-format-cite-function):
2390 (reftex-cite-key-separator): New variable.
2392 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2393 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2394 `reftex-syntax-table' because parens have to retain their paren
2395 syntax in order for parsing of BibTeX entries like @book(...) to
2397 (reftex-in-comment): Do not error out if `comment-start-skip' is
2398 not set. Deal correctly with escaped comment characters.
2399 (reftex-tie-multifile-symbols): Add doc string.
2400 Initialize `reftex-ref-style-list'.
2401 (reftex-untie-multifile-symbols): Add doc string.
2402 (reftex-add-index-macros): Doc fix.
2403 (reftex-ref-style-activate, reftex-ref-style-toggle)
2404 (reftex-ref-style-list): New functions.
2405 (reftex-mode-menu): Use them. Adapt to new structure of
2406 `reftex-ref-style-alist'.
2407 (reftex-select-with-char): Kill the RefTeX Select buffer when
2409 (reftex-remove-if): New function.
2410 (reftex-erase-all-selection-and-index-buffers)
2411 (reftex-mode-menu): Reference styles are now computed from
2412 `reftex-ref-style-alist'. Fix typo.
2413 (reftex-report-bug): New function.
2414 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2415 algorithms with O(n log n). Introduce optional argument SORT (not
2418 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2420 Enhancements for triple-quote string syntax.
2421 * progmodes/python.el (python-syntax-propertize-function):
2422 Match both quote cases in one regexp.
2423 (python-syntax-stringify): Handle matches properly.
2425 2012-09-30 Juri Linkov <juri@jurta.org>
2427 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2428 to nil around the call to `insert' to prevent
2429 directory time modification by lock_file. (Bug#2295)
2430 * tar-mode.el (tar-summarize-buffer): Idem.
2432 2012-09-30 Juri Linkov <juri@jurta.org>
2434 * facemenu.el (list-colors-sort): Add option "Luminance".
2435 (list-colors-sort-key): Implement it.
2437 * vc/diff-mode.el (diff-refine-removed):
2438 * vc/ediff-init.el (ediff-fine-diff-A):
2439 * vc/smerge-mode.el (smerge-refined-removed):
2440 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2442 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2444 * term/ns-win.el (x-file-dialog): New function.
2446 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2448 * ido.el (ido-max-directory-size): Default to nil; the current
2449 default is small for POSIX systems, and impractical on Windows 7
2450 now that lstat returns directory sizes for NTFS.
2452 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2454 In buffer display functions handle window-height/window-width
2455 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2456 * window.el (window--display-buffer): New argument ALIST.
2457 Obey window-height and window-width alist entries.
2458 (window--try-to-split-window): New argument ALIST.
2459 Bind window-combination-limit to t when the window's size shall be
2460 changed and window-combination-limit equals `window-size'.
2461 (display-buffer-in-atom-window)
2462 (display-buffer-in-major-side-window)
2463 (display-buffer-in-side-window, display-buffer-same-window)
2464 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2465 (display-buffer-pop-up-window, display-buffer-below-selected)
2466 (display-buffer-at-bottom, display-buffer-in-previous-window)
2467 (display-buffer-use-some-window): Adjust all callers of
2468 window--display-buffer and window--try-to-split-window.
2469 (fit-frame-to-buffer): New option.
2470 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2472 (display-buffer-in-major-side-window): Evaluate window-height /
2473 window-width alist entries.
2475 * help.el (temp-buffer-resize-frames)
2476 (temp-buffer-resize-regexps): Remove options.
2477 (temp-buffer-resize-mode): Adjust doc-string.
2478 (resize-temp-buffer-window): Don't consult
2479 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2480 temp-buffer-resize-frames.
2482 * dired.el (dired-mark-pop-up):
2483 Call display-buffer-below-selected with a fit-window-to-buffer alist
2486 2012-09-30 Chong Yidong <cyd@gnu.org>
2488 * server.el (server-host): Document the security implications.
2489 (server-auth-key): Doc fix.
2491 * startup.el (initial-buffer-choice): Doc fix.
2493 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2495 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2498 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2500 * help-fns.el (help-fns--obsolete): Fix last change.
2502 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2504 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2505 (minor-mode-map-alist): Remove redundant code.
2507 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2508 visited in a buffer.
2509 (cvs-insert-visited-file): New function.
2510 (find-file-hook): Use it.
2512 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2514 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2516 (log-edit-empty-buffer-p): Don't require a space after a header.
2518 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2520 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2522 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2523 a proper minor-mode.
2525 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2527 2012-09-29 Glenn Morris <rgm@gnu.org>
2529 * winner.el (winner-mode): Remove variable (let define-minor-mode
2531 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2533 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2534 (winner-mode): Use define-minor-mode.
2536 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2537 the full definition in loaddefs, rather than duplicating it.
2539 * help-macro.el (three-step-help): No need to autoload defcustom.
2541 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2542 (inferior-lisp-program, inferior-lisp-load-command)
2543 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2544 No need to autoload defcustoms.
2546 * hippie-exp.el (hippie-expand-try-functions-list)
2547 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2548 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2549 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2550 (hippie-expand-only-buffers): No need to autoload defcustoms.
2551 * progmodes/vhdl-mode.el (vhdl-line-expand):
2552 Explicitly load hippie-exp, so it does not get autoloaded
2553 while hippie-expand-try-functions-list is let-bound.
2555 2012-09-28 Glenn Morris <rgm@gnu.org>
2557 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2559 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2560 Only "cl.el" counts as cl these days.
2562 2012-09-28 Juri Linkov <juri@jurta.org>
2564 Display archive errors in the echo area instead of inserting
2567 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2568 to STDERR-TEST that can be a regexp matching a successful output.
2569 Create a temporary file and redirect stderr to it. Search for
2570 STDERR-TEST in the stderr output and display it in the echo area
2571 if no match is found.
2572 (archive-extract-by-file): New function like
2573 `archive-extract-by-stdout' but extracting archives to files
2574 and looking for successful matches in stdout. Function body is
2575 mostly copied from `archive-rar-extract'.
2576 (archive-rar-extract): Use `archive-extract-by-file'.
2577 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2579 2012-09-28 Leo Liu <sdl.web@gmail.com>
2581 * pcomplete.el (pcomplete-show-completions):
2582 Use minibuffer-message to make pcomplete usable in minibuffer.
2584 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2586 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * type-break.el: Use lexical-binding.
2589 (type-break-mode): Use define-minor-mode.
2591 * emacs-lisp/pcase.el (pcase--mark-used): New.
2592 (pcase--u1): Use it (bug#12512).
2594 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2595 in load-history with the right file name.
2597 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2599 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2600 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2601 (doc-view-get-bounding-box): Make bounding box slicing work for
2602 ODF and DVI documents.
2604 2012-09-28 Glenn Morris <rgm@gnu.org>
2606 * type-break.el (type-break-mode, type-break-interval)
2607 (type-break-good-rest-interval, type-break-keystroke-threshold):
2608 No need to autoload.
2609 (type-break-good-rest-interval, type-break-keystroke-threshold):
2612 2012-09-28 Chong Yidong <cyd@gnu.org>
2614 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2617 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2621 2012-09-27 Glenn Morris <rgm@gnu.org>
2623 * faces.el (x-display-name): Declare (for without-x builds).
2625 * linum.el (linum-format): Don't autoload it. Improve :type.
2627 * progmodes/tcl.el: Don't require outline when compiling.
2628 (outline-regexp, outline-level): Declare.
2629 * textmodes/sgml-mode.el: Don't require outline when compiling.
2630 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2632 * term.el (term-ansi-reset):
2633 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2635 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2636 files for RCS and SCCS. (Bug#9781)
2638 2012-09-27 Chong Yidong <cyd@gnu.org>
2640 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2641 change; value should be t.
2643 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * image-mode.el: Use lexical-binding.
2646 (image-mode-winprops): Use t to stand for the window of
2647 a buffer that's not displayed.
2648 * doc-view.el (doc-view-new-window-function): Handle the new
2650 (doc-view-enlarge): Make it a real nop if the size is not changed.
2651 (doc-view-display): Handle the case where the buffer is not (yet?)
2652 displayed in any window.
2653 (doc-view-saved-settings): New var.
2654 (doc-view-mode): Use it.
2655 (doc-view-fallback-mode): Set it.
2657 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2658 Set lexical-binding.
2659 (minibuffer-eldef-shorten-default): New var.
2660 (minibuffer-default-in-prompt-regexps): Use it for new default.
2661 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2663 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2665 * international/uni-bidi.el:
2666 * international/uni-category.el:
2667 * international/uni-name.el:
2668 * international/uni-numeric.el: Regenerate.
2670 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2671 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * profiler.el: New file.
2675 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2678 (testcover-reinstrument): Simplify with CSE.
2680 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2682 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2684 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2686 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2687 (verilog-auto-input, verilog-auto-insert-lisp)
2688 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2689 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2690 (verilog-auto-unused, verilog-auto-wire)
2691 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2692 newline. Reported by Andrew Jones.
2693 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2694 Reported by Brad Dobbie.
2695 (verilog-batch-delete-trailing-whitespace):
2696 Create verilog-batch-delete-trailing-whitespace.
2697 Reported by Brad Dobbie.
2698 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2699 parameters from another module. Reported by Dan Katz.
2700 (verilog-auto, verilog-auto-assign-modport)
2701 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2702 AUTOINOUTMODPORT for UVM interface module shell generation.
2703 Reported by Brad Dobbie.
2704 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2706 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2707 Reported by Matt Martin.
2709 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2711 * window.el (window--resize-child-windows): When resizing child
2712 windows proportionally, process them in reverse order to
2713 preserve the "when splitting a window the new one gets the odd
2715 (window--resize-root-window-vertically): When resizing the
2716 minibuffer window try to affect only windows at the bottom of the
2719 2012-09-25 Chong Yidong <cyd@gnu.org>
2721 * subr.el (declare): Doc fix.
2723 * help-fns.el (help-fns--obsolete): Handle macros properly.
2725 2012-09-25 Chong Yidong <cyd@gnu.org>
2727 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2728 this function obsolete.
2730 * calendar/cal-x.el (calendar-two-frame-setup)
2731 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2732 * calendar/calendar.el (american-calendar, european-calendar)
2733 (calendar-for-loop):
2734 * comint.el (comint-dynamic-simple-complete)
2735 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2736 * desktop.el (desktop-load-default):
2737 * dired-x.el (dired-omit-here-always)
2738 (dired-hack-local-variables, dired-default-directory):
2739 * emacs-lisp/derived.el (derived-mode-class):
2740 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2741 * emacs-lock.el (toggle-emacs-lock):
2742 * epa.el (epa-display-verify-result):
2743 * epg.el (epg-sign-keys, epg-start-sign-keys)
2744 (epg-passphrase-callback-function):
2745 * eshell/esh-util.el (eshell-for):
2746 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2747 (eshell-add-to-window-buffer-names):
2748 * files.el (locate-file-completion):
2749 * imenu.el (imenu-example--create-c-index)
2750 (imenu-example--create-lisp-index)
2751 (imenu-example--lisp-extract-index-name)
2752 (imenu-example--name-and-position):
2753 * international/mule-cmds.el (princ-list):
2754 * international/mule-diag.el (decode-codepage-char):
2755 * international/mule-util.el (detect-coding-with-priority):
2756 * iswitchb.el (iswitchb-read-buffer):
2757 * mail/mailalias.el (mail-complete):
2758 * mail/sendmail.el (mail-sent-via):
2759 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2760 (mouse-major-mode-menu):
2761 * password-cache.el (password-read-and-add):
2762 * pcomplete.el (pcomplete-parse-comint-arguments):
2763 * progmodes/sh-script.el (sh-maybe-here-document):
2764 * replace.el (query-replace-regexp-eval):
2765 * savehist.el (savehist-load):
2766 * simple.el (choose-completion-delete-max-match):
2767 * term.el (term-dynamic-simple-complete):
2768 * vc/ediff-init.el (ediff-check-version):
2769 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2770 * vc/vc.el (vc-diff-switches-list):
2771 * view.el (view-return-to-alist-update): Likewise.
2773 * subr.el (eval-next-after-load, makehash, insert-string)
2774 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2776 (mode-line-inverse-video): Variable deleted.
2778 * international/mule-util.el (string-to-sequence): Remove.
2780 * calendar/calendar.el (calendar-version):
2781 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2782 (icalendar-convert-diary-to-ical):
2783 * cus-edit.el (custom-mode):
2784 * ansi-color.el (ansi-color-unfontify-region):
2785 * international/latin1-disp.el (latin1-char-displayable-p):
2786 * progmodes/cwarn.el (turn-on-cwarn-mode):
2787 * progmodes/which-func.el (which-func-update-1):
2788 Use define-obsolete-function-alias.
2790 * net/newst-backend.el (newsticker-cache-filename):
2791 * net/newst-treeview.el (newsticker-groups-filename):
2792 Fix incorrect obsolescence declaration.
2794 * allout.el (allout-passphrase-hint-string): Likewise.
2795 (allout-init): Use a declare form to mark obsolete.
2797 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2798 this applies to functions.
2800 * iswitchb.el (iswitchb-read-buffer): Move code of
2801 iswitchb-define-mode-map here, and delete that obsolete function.
2803 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2804 font-lock-reference-face.
2806 2012-09-25 Glenn Morris <rgm@gnu.org>
2808 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2811 * eshell/em-term.el (eshell-term-name):
2812 Default to term-term-name. (Bug#12485)
2814 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2816 * progmodes/python.el (python-shell-send-buffer): Better handling
2817 of "if __name__ == '__main__':" conditionals when sending the buffer.
2819 2012-09-24 Glenn Morris <rgm@gnu.org>
2821 * eshell/esh-cmd.el (eshell-find-alias-function):
2822 Tighten up file-name regexp. (Bug#12499)
2824 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2826 Enhancements for triple-quote string syntax.
2827 * progmodes/python.el (python-quote-syntax): Remove.
2828 (python-syntax-propertize-function): New value.
2829 (python-syntax-count-quotes, python-syntax-stringify):
2832 2012-09-24 Chong Yidong <cyd@gnu.org>
2834 * mail/supercite.el (sc-version): Remove obsolete function.
2835 (sc-describe): Don't mark as obsolete, since it is bound.
2836 (sc-submit-bug-report): Remove.
2838 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2839 (cvs-commit-buffer-require-final-newline): Remove.
2840 (log-edit-require-final-newline)
2841 (log-edit-changelog-full-paragraphs): Default to t.
2843 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2844 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2845 * vc/vc.el (vc-checkout-carefully): Likewise.
2847 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2848 (emerge-version): Remove.
2850 * progmodes/compile.el (compile-internal): Remove.
2851 (compilation-parse-errors-function): Fix typo.
2853 * international/mule.el (set-char-table-default): Remove.
2854 (set-coding-priority, make-coding-system, generic-char-p)
2855 (charset-list, charset-bytes, charset-id): Use declare to mark
2856 functions as obsolete.
2858 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2859 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2860 * vc/vc-hooks.el (vc-default-registered): Don't use
2861 vc-master-templates.
2863 * font-lock.el (font-lock-reference-face):
2864 Use define-obsolete-variable-alias.
2866 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2867 * calendar/calendar.el (calendar-font-lock-keywords):
2868 * calendar/diary-lib.el (diary-font-lock-keywords)
2869 (diary-fancy-font-lock-keywords):
2870 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2871 * textmodes/reftex-index.el (reftex-insert-index):
2872 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2873 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2874 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2875 * progmodes/prolog.el (prolog-font-lock-keywords):
2876 * progmodes/idlwave.el (idlwave-idl-keywords):
2877 * progmodes/ada-mode.el (ada-font-lock-keywords):
2878 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2880 2012-09-24 Glenn Morris <rgm@gnu.org>
2882 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2884 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2886 * progmodes/python.el (python-indent-line): More consistent cursor
2889 2012-09-23 Stefan Merten <smerten@oekonux.de>
2891 * textmodes/rst.el: Fix compiler warning.
2893 2012-09-23 Roland Winkler <winkler@gnu.org>
2895 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2896 Transcribe also LaTeX hyphenation.
2897 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2898 bibtex-reformat-previous-options.
2900 2012-09-23 Roland Winkler <winkler@gnu.org>
2902 * proced.el (proced-renice-command): New variable.
2903 (proced-marked-processes): New function.
2904 (proced-with-processes-buffer): New macro.
2905 (proced-send-signal): Use them.
2906 (proced-renice): New command bound to r.
2908 2012-09-23 Roland Winkler <winkler@gnu.org>
2910 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2911 ibuffer-saved-filter-groups has one element, shortcut the call of
2912 completing-read. (Bug#12331)
2914 2012-09-23 Chong Yidong <cyd@gnu.org>
2916 * bindings.el (mode-line-toggle-read-only):
2917 * bs.el (bs-toggle-readonly):
2918 * buff-menu.el (Buffer-menu-toggle-read-only):
2919 * dired.el (dired-toggle-read-only):
2920 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2922 2012-09-23 Chong Yidong <cyd@gnu.org>
2924 * image.el (image-type-available-p): Adapt to init-image-library
2927 2012-09-22 Juri Linkov <juri@jurta.org>
2929 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2930 `dired-toggle-read-only'. (Bug#12462)
2932 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2934 * subr.el (temp-output-buffer-show): New function.
2935 (with-output-to-temp-buffer): Call temp-output-buffer-show
2936 instead of internal-temp-output-buffer-show.
2938 2012-09-22 Chong Yidong <cyd@gnu.org>
2940 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2943 * repeat.el (repeat): Doc fix (Bug#12348).
2945 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2948 * simple.el (shell-command-on-region): Doc fix.
2949 (read-only-mode): Doc fix.
2951 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2953 * emacs-lisp/timer.el (run-with-idle-timer)
2954 (timer-activate-when-idle): Warn against reinvoking an idle timer
2955 from within its own timer action. (Bug#12447)
2957 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2959 * cus-start.el (window-combination-limit): Add new optional
2961 * window.el (temp-buffer-window-show)
2962 (window--try-to-split-window): Handle new values of
2963 window-combination-limit (Bug#1806).
2964 (split-window): Test window-combination-limit for t instead of
2966 (display-buffer-at-bottom): New buffer display action function.
2967 * help.el (temp-buffer-resize-regexps): New option.
2968 (temp-buffer-resize-mode): Rewrite doc-string.
2969 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2970 Don't resize reused window. Suggested by Glenn Morris.
2972 2012-09-22 Stefan Merten <smerten@oekonux.de>
2974 * textmodes/rst.el: Revamp section title faces.
2975 (rst-official-version)
2976 (rst-package-emacs-version-alist): Sync with official version
2978 (rst-faces-defaults, rst-set-level-default)
2979 (rst-level-face-max, rst-level-face-base-color)
2980 (rst-level-face-base-light, rst-level-face-format-light)
2981 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2982 (rst-adornment-faces-alist): Match new setup.
2983 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2984 (rst-level-5, rst-level-6): New faces.
2986 2012-09-22 Chong Yidong <cyd@gnu.org>
2988 * simple.el (undo): Handle indirect buffers (Bug#8207).
2990 2012-09-21 Leo Liu <sdl.web@gmail.com>
2992 IDO: Disable match re-ordering for buffer switching.
2993 * ido.el (ido-buffer-disable-smart-matches): New variable.
2994 (ido-set-matches-1): Use it. (Bug#2042)
2996 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2998 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2999 Fix 2011-05-17 change. (Bug#12418)
3001 2012-09-21 Leo Liu <sdl.web@gmail.com>
3003 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3005 2012-09-21 Glenn Morris <rgm@gnu.org>
3007 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3008 Be more robust about locating simple.el.
3010 2012-09-21 Glenn Morris <rgm@gnu.org>
3012 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3014 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3016 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3018 2012-09-20 Juri Linkov <juri@jurta.org>
3020 * replace.el (query-replace-read-from): Use `read-regexp' instead
3021 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3022 (occur-read-primary-args): Use `read-regexp' instead of
3024 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3025 `read-from-minibuffer'.
3026 * isearch.el (isearch-occur): Use `read-regexp' instead of
3028 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3029 `read-from-minibuffer'.
3030 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3031 of `read-string'. (Bug#7567)
3033 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3034 and allow accepting a list of strings prepended to a list of
3035 standard default values. Doc fix. (Bug#12321)
3037 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3039 * replace.el (read-regexp): Don't add ": " when PROMPT already
3040 ends with a colon and space. (Bug#12321)
3042 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3044 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3047 2012-09-20 Stefan Merten <smerten@oekonux.de>
3049 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3050 Fixes feature request bug#11711.
3051 (rst-mode): Create `imenu-create-index-function'.
3052 (rst-get-stripped-line): Delete after refactoring.
3053 (rst-section-tree, rst-section-tree-rec)
3054 (rst-section-tree-point): Refactor and document properly.
3055 (rst-imenu-find-adornments-for-position)
3056 (rst-imenu-convert-cell, rst-imenu-create-index):
3059 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3062 (macroexp--expand-all): Use it.
3063 (macroexp--funcall-and-return): Remove by folding it into its sole
3064 caller (macroexp--warn-and-return).
3065 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3066 Use macroexp--obsolete-warning.
3068 * calc/calc.el: Fix last change by removing the whole chunk, since it
3069 was only needed back when Calc was not bundled.
3071 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3073 * emacs-lisp/debug.el (debug): Restore assignment to
3074 debugger-old-buffer removed on 2012-09-08.
3076 2012-09-20 Juri Linkov <juri@jurta.org>
3078 * dired-aux.el (dired-diff): Remove (require 'diff) since
3079 `diff-latest-backup-file' is now autoloaded.
3081 2012-09-20 Chong Yidong <cyd@gnu.org>
3083 * vc/diff.el (diff-latest-backup-file): Autoload.
3085 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * calc/calc.el: Remove redundant autoload shape check.
3088 (sel-mode): Don't defvar.
3089 (calc-get-stack-element): Add `sel-mode' arg instead.
3090 (calc-top, calc-top-list): Pass it this additional argument.
3091 * calc/calc-store.el (calc-store-map):
3092 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3093 (calc-map-equation, calc-outer-product, calc-inner-product):
3094 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3096 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3098 2012-09-19 Juri Linkov <juri@jurta.org>
3100 * dired-aux.el (dired-diff): Add (require 'diff) because
3101 `diff-latest-backup-file' is not autoloaded.
3102 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3103 of `dired-get-filename' to t to not report error when there is
3104 no default file on the current line.
3106 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3109 macroexp--eval-if-compile.
3110 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3111 (macroexp--expand-all): Use them (bug#12371).
3113 * doc-view.el (doc-view-guess-paper-size)
3114 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3116 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3118 New feature: set optimal slice from BoundingBox information.
3119 * doc-view.el (doc-view-mode-map): Add keybinding.
3120 (doc-view-menu): Add menu entry.
3121 (doc-view-set-slice): Adapt docstring.
3122 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3123 (doc-view-scale-bounding-box)
3124 (doc-view-set-slice-from-bounding-box): New functions.
3125 (doc-view-paper-sizes): New defvar.
3127 2012-09-19 Glenn Morris <rgm@gnu.org>
3129 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3130 (byte-compile-log-warning): Autoload. (Bug#12371)
3132 * calendar/calendar.el (calendar-american-month-header)
3133 (calendar-european-month-header, calendar-iso-month-header)
3134 (calendar-month-header): New options.
3135 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3136 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3138 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3140 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3142 2012-09-18 Juri Linkov <juri@jurta.org>
3144 * dired-aux.el (dired-diff): Restore original functionality of
3145 getting the default value, but keep new feature of using the
3146 latest existing backup file (`diff-latest-backup-file').
3148 2012-09-18 Juri Linkov <juri@jurta.org>
3150 * dired.el (dired-mark): If the region is active in Transient Mark
3151 mode, mark all files in the active region. Doc fix.
3152 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3153 Doc fix. (Bug#10624)
3155 2012-09-18 Juri Linkov <juri@jurta.org>
3157 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3158 attributes for M-n are pulled from the file at point.
3159 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3160 Suggested by Drew Adams. (Bug#10624)
3162 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3164 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3165 whitespace after "end".
3166 (ruby-do-end-to-brace): Collapse block to one line if it fits
3169 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3171 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3173 (debug): Don't remove debugger window when debugger is expected
3176 2012-09-18 Chong Yidong <cyd@gnu.org>
3178 * custom.el (defface): Doc fix.
3180 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3182 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3184 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3185 to initialize query-on-exit; then test that instead (bug#12288).
3187 2012-09-17 Stefan Merten <smerten@oekonux.de>
3189 * textmodes/rst.el: Add support for `testcover'.
3190 (rst-defcustom-testcover, rst-testcover-add-compose)
3191 (rst-testcover-add-1value): New functions.
3192 (rst-portable-mark-active-p): Replace by `use-region-p'.
3193 (rst-update-section, rst-classify-adornment)
3194 (rst-find-title-line): Mark `1value' forms.
3195 (rst-classify-adornment): Remove superfluous form.
3196 (rst-update-section, rst-get-adornments-around)
3197 (rst-adornment-complete-p, rst-get-next-adornment)
3198 (rst-adjust, rst-promote-region)
3199 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3200 (rst-find-pfx-in-region, rst-section-tree-rec)
3201 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3202 (rst-toc-node, rst-toc, rst-forward-section)
3203 (rst-iterate-leftmost-paragraphs)
3204 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3205 (rst-bullet-list-region)
3206 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3207 (rst-compile-find-conf, rst-compile)
3208 (rst-repeat-last-character): Fix style.
3210 2012-09-17 Chong Yidong <cyd@gnu.org>
3212 * comint.el (comint--complete-file-name-data): Don't add a space
3213 if the status is `sole'; that adds a gratuitous space in the
3214 completion-cycling case (Bug#12092).
3216 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3218 2012-09-17 Richard Stallman <rms@gnu.org>
3220 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3221 only in the mime-shown mode, not in raw mode.
3222 (rmail-mime): Toggle off mime by displaying the message without
3223 mime processing. (Bug#12305)
3225 * mail/rmail.el (rmail-retry-failure):
3226 Turn off mime processing first. (Bug#12037)
3228 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3230 2012-09-17 Chong Yidong <cyd@gnu.org>
3232 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3233 (shell-dynamic-complete-functions): Convert to defcustom.
3234 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3236 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3237 * comint.el (comint-prompt-read-only):
3238 * custom.el (defcustom):
3239 * hi-lock.el (hi-lock-mode):
3240 * ibuffer.el (ibuffer-formats):
3241 * ielm.el (ielm-prompt-read-only):
3242 * novice.el (disable-command):
3243 * saveplace.el (toggle-save-place):
3244 * speedbar.el (speedbar-supported-extension-expressions):
3245 * startup.el (auto-save-list-file-prefix, init-file-user)
3246 (after-init-hook, inhibit-startup-echo-area-message):
3247 * strokes.el (strokes-help):
3248 * time-stamp.el (time-stamp):
3249 * calendar/calendar.el (calendar, diary-file):
3250 * calendar/diary-lib.el (diary-mail-entries, diary)
3251 (diary-list-entries-hook):
3252 * calendar/holidays.el (holidays, calendar-holidays):
3253 * calendar/lunar.el (lunar-phases):
3254 * calendar/solar.el (sunrise-sunset):
3255 * emulation/edt.el (edt-load-keys):
3256 * emulation/viper.el (viper-mode):
3257 * eshell/em-alias.el (eshell-command-aliases-list):
3258 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3259 * international/ogonek.el (ogonek-information):
3260 * net/tramp-cmds.el (tramp-bug):
3261 * net/quickurl.el (quickurl-reread-hook-postfix):
3262 * play/decipher.el (decipher-font-lock-keywords):
3263 * progmodes/cc-styles.el (c-set-style):
3264 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3265 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3266 * progmodes/octave-mod.el (octave-mode):
3267 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3268 * progmodes/verilog-mode.el (verilog-read-defines):
3269 * textmodes/two-column.el (2C-mode): Likewise.
3271 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3273 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3274 that holds many addresses.
3276 2012-09-16 Chong Yidong <cyd@gnu.org>
3278 * align.el (align-areas): Call the indication function with
3279 positions instead of markers for arguments (Bug#12343).
3281 * files.el (parse-colon-path): Use split-string (Bug#12351).
3283 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3284 (display-buffer-function): Mark as obsolete.
3286 * progmodes/compile.el (compilation-parse-errors): Accept list
3287 values similar to font-lock-keywords (Bug#12136).
3288 Suggested by Oleksandr Manzyuk.
3289 (compilation-error-regexp-alist): Doc fix.
3291 2012-09-15 Glenn Morris <rgm@gnu.org>
3293 * version.el (emacs-bzr-version-bzr): New function.
3294 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3296 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3297 checkouts, check the parent dirstate matches the branch.
3298 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3301 * version.el (emacs-bzr-version): Doc fix.
3302 (emacs-bzr-version-dirstate): New function.
3303 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3304 is local try and check that it matches the branch. If not, just
3305 use dirstate information. (Bug#12441)
3307 2012-09-14 Juri Linkov <juri@jurta.org>
3309 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3312 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3314 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3316 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3317 Remove obsolete byte-compiler hack that tried to silence some warnings.
3318 (edebug-submit-bug-report): Remove.
3319 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3320 Remove aliases, use the un-prefixed name instead.
3321 (edebug-pop-to-buffer): Consider other frames.
3322 (edebug-original-read):: Make it more obvious that it's always defined.
3323 (edebug--make-form-data-entry, edebug--form-data-name)
3324 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3325 single-dashed name, and implement with cl-defstruct.
3326 (edebug-set-form-data-entry): Use the standard accessors.
3327 (edebug-make-top-form-data-entry): Use push.
3328 (edebug-no-match): Drop useless `funcall'.
3329 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3331 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3332 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3333 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3334 (easy-menu-define, with-custom-print): Remove redundant specs.
3335 (edebug-outside-overriding-local-map)
3336 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3337 (edebug--display): Bind unread-command-events directly to nil rather
3338 than binding it to unread-command-events and later setting it to nil.
3339 (edebug--display): Kill edebug-eval-buffer here...
3340 (edebug--recursive-edit): ...rather than here.
3341 Bind standard-output and standard-input.
3342 (edebug-eval): Check cl-macroexpand-all is fboundp.
3343 (edebug-temp-display-freq-count): Fix last change.
3345 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3346 * subr.el (noreturn, 1value): Add `debug' spec.
3347 * emacs-lisp/advice.el: Require cl-lib.
3348 (ad-copy-tree): Remove, use copy-tree instead.
3349 (ad-dolist): Remove use dolist or cl-dolist instead.
3350 (ad-do-return): Remove, use cl-return instead.
3351 (defadvice): Add `debug' spec.
3353 2012-09-13 Juri Linkov <juri@jurta.org>
3355 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3358 2012-09-13 Glenn Morris <rgm@gnu.org>
3360 * calc/calc.el (math-compose-expr):
3361 * calc/calc-ext.el (math-compose-expr):
3362 * progmodes/cc-defs.el (cl-macroexpand-all):
3363 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3364 (cl-macroexpand-all): Update declarations.
3366 * vc/vc.el: No need to require ediff.
3367 (ediff-load-version-control): Declare.
3368 (ediff-vc-internal): Fix declaration.
3369 (vc-version-ediff): Require ediff.
3371 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3373 Use a more backwards-compatible timer format (Bug#12430).
3374 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3375 being right after USECS, as that better supports old code that
3376 inadvisedly looked directly at the timer vector.
3378 2012-09-13 Kenichi Handa <handa@gnu.org>
3380 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3381 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3382 `coding-priority' property of these language environment.
3384 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3386 Fix glitches caused by addition of psec to timers (Bug#12430).
3387 * image.el (image-animate-timer):
3388 * time.el (display-time-world-timer):
3389 Use timer--function and timer--args rather than raw access to
3392 2012-09-13 Glenn Morris <rgm@gnu.org>
3394 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3395 If not compiling a file, try using load-file-name.
3397 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3399 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3401 (edebug-update-eval-list): Use `push'.
3403 * emacs-lisp/edebug.el: Use lexical-binding.
3404 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3405 Mark unused args with underscore.
3406 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3407 (edebug-form-data): Use defvar-local.
3408 (edebug-make-before-and-after-form, edebug-make-after-form):
3410 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3411 Not dynamically scoped any more.
3412 (edebug--enter-trace): Add arguments `function' and `args'.
3413 Rename from edebug-enter-trace.
3414 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3415 (edebug--update-coverage): Add `after-index' and `value' args.
3416 Rename from edebug-update-coverage.
3417 (edebug-slow-after): Call it accordingly.
3418 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3419 edebug-recursive-edit.
3420 (edebug--display): Call it accordingly. Add args `value',
3421 `offset-index', and `arg-mode'. Rename from edebug-display.
3422 (edebug-debugger, edebug): Call it accordingly.
3423 (edebug-eval-display-list): Use dolist.
3425 2012-09-12 Juri Linkov <juri@jurta.org>
3427 * info.el (Info-search): Don't check for isearch-mode and
3428 isearch-regexp before let-binding search-spaces-regexp to
3429 Info-search-whitespace-regexp.
3430 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3431 search-whitespace-regexp if isearch-lax-whitespace or
3432 isearch-regexp-lax-whitespace is non-nil.
3433 (Info-mode): Don't set local variable search-whitespace-regexp.
3434 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3436 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3439 (debugger-env-macro): Remove support for unread-command-char.
3441 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3442 the temporary map re-appearing on emulation-mode-map-alists.
3444 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3447 * ehelp.el (with-electric-help): Accept functions in
3448 electric-help-form-to-execute.
3449 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3450 And replace unread-command-char -> unread-command-events.
3452 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3454 Sync with Tramp 2.2.6.
3456 * net/tramp.el (tramp-accept-process-output): Don't use
3457 JUST-THIS-ONE in the XEmacs case.
3459 * net/trampver.el: Update release number.
3461 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3463 * emacs-lisp/debug.el (debugger-previous-window-height):
3465 (debug): When debugger-jumping-flag is non-nil try to restore
3466 height of debugger window. (Bug#8789)
3468 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3471 overriding-local-map and pre/post-command-hook here.
3472 (edebug-recursive-edit): Do it here instead (bug#12345).
3473 (edebug-outside-unread-command-char): Remove all uses of
3474 unread-command-char.
3476 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3477 inhibit-debugger is bound instead.
3479 2012-09-11 Bastien Guerry <bzg@gnu.org>
3481 * subr.el (set-temporary-overlay-map): Add a docstring.
3484 2012-09-11 Bastien Guerry <bzg@gnu.org>
3486 * minibuffer.el (completion-table-subvert): Fix docstring.
3489 2012-09-11 Bastien Guerry <bzg@gnu.org>
3491 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3493 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3495 * progmodes/sql.el: Version 3.1
3496 (sql-db2-escape-newlines): New variable.
3497 (sql-escape-newlines-filter): Use it.
3499 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3501 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3503 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3505 * vc/diff-mode.el (diff-mode-menu):
3506 Bind diff-remove-trailing-whitespace.
3508 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3511 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3512 (emacs-lisp-byte-code-mode): New functions.
3513 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3514 (eval-defun-2): Remove bogus interactive spec.
3515 (lisp-indent-line): Remove redundant whole-exp code, now done in
3516 indent-according-to-mode.
3517 (save-match-data): Remove redundant indent data.
3519 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3522 2012-09-09 Juri Linkov <juri@jurta.org>
3524 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3525 (replace-lax-whitespace, query-replace-regexp)
3526 (query-replace-regexp-eval, replace-regexp): Doc fix.
3527 (perform-replace, replace-highlight): Let-bind
3528 isearch-lax-whitespace to replace-lax-whitespace and
3529 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3531 * isearch.el (isearch-query-replace): Let-bind
3532 replace-lax-whitespace to isearch-lax-whitespace and
3533 replace-regexp-lax-whitespace to
3534 isearch-regexp-lax-whitespace. (Bug#10885)
3536 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3540 2012-09-09 Alan Mackenzie <acm@muc.de>
3542 * progmodes/cc-engine.el (c-state-cache-init):
3543 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3544 (c-record-parse-state-state):
3545 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3547 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3549 * register.el (register-separator): Rename from
3550 separator-register. All uses changed. Doc fix.
3551 (register): Fix version.
3553 2012-09-09 Chong Yidong <cyd@gnu.org>
3555 * replace.el (query-replace-map): Bind four new symbols for
3556 requesting window scrolling.
3558 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3559 query-replace-map (Bug#8948).
3561 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3563 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3564 since they are now in query-replace-map.
3566 * window.el (scroll-other-window-down): Make the arg optional.
3568 2012-09-09 Chong Yidong <cyd@gnu.org>
3570 * files.el (hack-local-variables-confirm): Use quit-window to kill
3571 the *Local Variables* buffer.
3573 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3575 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3576 not just expect to be at its beginning. Adjust callees.
3577 Succeed when do-end block has no space before the pipe character.
3578 (ruby-brace-to-do-end): When the original block is one-liner,
3579 convert to multiline. Reindent the result.
3581 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3583 * register.el (register): New group.
3584 (separator-register): New user option.
3585 (increment-register): Route it to `append-to-register', if
3586 register contains text. Implication is that `C-x r +' can now be
3587 used for appending to a text register (bug#12217).
3588 (append-to-register, prepend-to-register): Add separator based on
3589 `separator-register'.
3591 2012-09-08 Alan Mackenzie <acm@muc.de>
3593 AWK Mode: make auto-newline work when there's "==" in the pattern.
3594 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3596 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3597 Test more rigorously for "=" token.
3599 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3601 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3602 Only fail when reached LIMIT.
3604 2012-09-08 Chong Yidong <cyd@gnu.org>
3606 * dired.el (dired-mode-map): Don't bind M-=.
3608 * dired-aux.el (dired-diff): Use backup file as default.
3610 2012-09-08 Drew Adams <drew.adams@oracle.com>
3612 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3614 2012-09-08 Chong Yidong <cyd@gnu.org>
3616 * subr.el (syntax-after, syntax-class): Doc fix.
3618 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3620 * window.el (display-buffer-in-previous-window): New buffer
3621 display action function.
3623 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3624 (debugger-previous-window): New variable.
3625 (debug): Rewrite using display-buffer-in-previous-window,
3626 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3628 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3630 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3632 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3634 * progmodes/python.el (python-shell-send-string):
3635 When default-directory is remote, create temp file on remote
3637 (python-shell-send-file): When file is remote, pass local view of
3638 file paths to remote Python interpreter. (Bug#12340)
3640 2012-09-07 Chong Yidong <cyd@gnu.org>
3642 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3644 * files.el (after-find-file): Don't fail on a read-only buffer if
3645 require-final-newline is `visit' or `visit-save' (Bug#11156).
3647 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3649 * userlock.el (ask-user-about-supersession-threat):
3650 Use read-char-choice (Bug#12093).
3652 2012-09-07 Chong Yidong <cyd@gnu.org>
3654 * subr.el (buffer-narrowed-p): New function.
3656 * ses.el (ses-widen):
3657 * simple.el (count-words--buffer-message):
3658 * net/browse-url.el (browse-url-of-buffer): Use it.
3660 * simple.el (count-words-region): Don't signal an error if there
3661 is a non-nil prefix arg and the mark is not set.
3663 * help.el (describe-key-briefly): Allow the message to be seen
3664 when invoked from the minibuffer (Bug#7014).
3666 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3668 * progmodes/ruby-mode.el (ruby-end-of-defun)
3669 (ruby-beginning-of-defun): Simplify, allow indentation before
3670 block beginning and end keywords.
3671 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3672 (ruby-end-of-defun): Expect that the point is at the beginning of
3675 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3679 (cl--make-usage-args): Strip _ from argument names.
3681 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3683 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3684 obsolete alias speedbar-key-map.
3685 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3686 (vhdl-index-menu-init): Don't use obsolete variable
3687 font-lock-maximum-size.
3689 2012-09-06 Chong Yidong <cyd@gnu.org>
3691 * frame.el (window-system-version): Mark as obsolete.
3693 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3694 of obsolete variable speedbar-key-map.
3696 2012-09-06 Juri Linkov <juri@jurta.org>
3698 * replace.el (replace-lax-whitespace): New defcustom.
3699 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3700 (replace-string, replace-regexp): Mention it in docstrings.
3701 (perform-replace, replace-highlight): Let-bind
3702 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3703 to the values of replace-lax-whitespace and regexp-flag.
3704 Don't let-bind search-whitespace-regexp. (Bug#10885)
3706 * isearch.el (isearch-query-replace): Let-bind
3707 replace-lax-whitespace instead of let-binding
3708 replace-search-function and replace-re-search-function.
3709 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3710 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3711 (isearch-toggle-symbol): Set isearch-regexp to nil
3712 in isearch-word mode (like in isearch-toggle-word).
3714 2012-09-06 Juri Linkov <juri@jurta.org>
3716 * replace.el (replace-search-function)
3717 (replace-re-search-function): Set default values to nil.
3718 (perform-replace): Let-bind isearch-related variables based on
3719 replace-related values, call `isearch-search-fun' and let-bind
3720 the result to `search-function'. Remove code that sets
3721 `search-function' and `search-string' separately for
3723 (replace-highlight): Add new argument `delimited-flag' and
3724 rename other arguments to the names used in `perform-replace'.
3725 Let-bind `isearch-word' to the argument `delimited-flag'.
3726 (Bug#10885, bug#10887)
3728 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3730 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3731 ruby-beginning-of-indent, simplify, allow all keywords to have
3732 indentation before them.
3733 (ruby-beginning-of-indent): Adjust for above. Search until the
3734 found point is not inside a string or comment.
3735 (ruby-font-lock-keywords): Allow symbols to start with "@"
3736 character, give them higher priority than variables.
3737 (ruby-syntax-propertize-function)
3738 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3739 matchers. Expression expansions are not comments when inside a
3740 string, and there comment syntax status is irrelevant.
3741 (ruby-match-expression-expansion): New function. Check that
3742 expression expansion is inside a string, and it's not escaped.
3743 (ruby-font-lock-keywords): Use it.
3745 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3747 * help.el (temp-buffer-max-height): New default value.
3748 (temp-buffer-resize-frames): New option.
3749 (resize-temp-buffer-window): Optionally resize frame.
3751 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3752 (fit-frame-to-buffer): New function.
3754 2012-09-05 Glenn Morris <rgm@gnu.org>
3756 * emulation/cua-rect.el (cua--init-rectangles):
3757 * textmodes/picture.el (picture-mode-map):
3758 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3759 like forward-char and backward-char. (Bug#12317)
3761 2012-09-05 Leo Liu <sdl.web@gmail.com>
3763 * progmodes/flymake.el (flymake-warning-re): New variable.
3764 (flymake-parse-line): Use it.
3766 2012-09-05 Glenn Morris <rgm@gnu.org>
3768 * calendar/holidays.el (holiday-christian-holidays):
3769 Rename an entry. (Bug#12289)
3771 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3776 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * loadup.el: Load macroexp. Remove hack.
3779 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3780 (macroexp--expand-all): Use it to get better warnings.
3781 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3782 (internal-macroexpand-for-load): New functions.
3783 (macroexp--pending-eager-loads): New var.
3784 (emacs-startup-hook): New hack to replace one in loadup.el.
3785 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3786 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3787 (cl-psetf): Simplify.
3788 (cl-defstruct): Add indent rule.
3790 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3792 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3793 over `user-mail-address' for the SMTP MAIL FROM envelope.
3794 (smtpmail-via-smtp): Ditto.
3796 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3798 * progmodes/ruby-mode.el: Clean up keybindings.
3799 (ruby-mode-map): Don't bind ruby-electric-brace,
3800 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3801 backward-kill-word, reindent-then-newline-and-indent.
3802 (ruby-mark-defun): Remove.
3803 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3804 (ruby-mode): Set local beginning-of-defun-function and
3805 end-of-defun-function values.
3807 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3809 * window.el (temp-buffer-window-setup-hook)
3810 (temp-buffer-window-show-hook): New hooks.
3811 (temp-buffer-window-setup, temp-buffer-window-show)
3812 (with-temp-buffer-window): New functions.
3813 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3814 (special-display-popup-frame): Make sure the window used shows BUFFER.
3816 * help.el (temp-buffer-resize-mode): Fix doc-string.
3817 (resize-temp-buffer-window): New optional argument WINDOW.
3819 * files.el (recover-file, save-buffers-kill-emacs):
3820 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3822 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3824 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3825 remote definition of `default-directory', ensure we can connect.
3827 2012-09-02 Juri Linkov <juri@jurta.org>
3829 Toggle whitespace matching mode with M-s SPC.
3830 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3832 * isearch.el (search-whitespace-regexp): Doc fix.
3833 Remove cons cell customization.
3834 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3835 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3837 (isearch-forward, isearch-forward-regexp): Doc fix.
3838 (isearch-toggle-lax-whitespace): New command.
3839 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3840 (re-search-forward-lax-whitespace)
3841 (re-search-backward-lax-whitespace): New functions.
3842 (isearch-whitespace-regexp): Remove function.
3843 (isearch-query-replace): Let-bind replace-search-function and
3844 replace-re-search-function.
3845 (isearch-occur): Let-bind search-spaces-regexp according to the
3846 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3847 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3848 condition for C-q SPC.
3849 (isearch-search-fun-default): Use new functions mentioned above.
3850 (isearch-search-forward, isearch-search-backward): Remove functions.
3851 (isearch-search): Don't let-bind search-spaces-regexp.
3852 (isearch-lazy-highlight-space-regexp): Remove variable.
3853 (isearch-lazy-highlight-lax-whitespace)
3854 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3855 (isearch-lazy-highlight-new-loop): Use them.
3856 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3858 2012-09-02 Chong Yidong <cyd@gnu.org>
3860 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3862 2012-09-02 Glenn Morris <rgm@gnu.org>
3864 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3866 2012-09-01 Glenn Morris <rgm@gnu.org>
3868 * term.el: Tidy up menu definitions.
3869 (term-mode-map): Use easymenu for In/Out, Complete menus.
3870 (term-pager-break-map): Initialize in the defvar.
3871 (term-terminal-menu, term-signals-menu): Define with easymenu.
3872 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3873 (term-pager-menu): New, extracted from term-process-pager.
3874 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3875 (term-update-mode-line): Propertize line/char and page items.
3876 (term-process-pager): Move keymap initialization elsewhere.
3878 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3880 * window.el (switch-to-prev-buffer): Handle additional values of
3881 BURY-OR-KILL argument. Don't switch in minibuffer window.
3882 (switch-to-next-buffer): Don't switch in minibuffer window.
3883 (quit-restore-window): New function based on quit-window.
3884 Handle additional values of former KILL argument.
3885 (quit-window): Call quit-restore-window with appropriate
3886 interpretation of KILL argument.
3887 (display-buffer-below-selected): New buffer display action
3890 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * minibuffer.el (completion-at-point-functions): Complete docstring
3895 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3897 Better seed support for (random).
3898 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3899 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3900 * play/mpuz.el, play/tetris.el, play/zone.el:
3901 * calc/calc-comb.el (math-init-random-base):
3902 * play/blackbox.el (bb-init-board):
3903 * play/life.el (life):
3904 * server.el (server-use-tcp):
3905 * type-break.el (type-break):
3906 Remove unnecessary call to (random t).
3907 * net/sasl.el (sasl-unique-id-function):
3908 Change (random t) to (random), now that the latter is more random.
3909 * play/life.el (life-initialized): Remove no-longer-needed var.
3911 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3913 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3914 Consider frame's buffer predicate when choosing the buffer.
3917 2012-08-30 Richard Stallman <rms@gnu.org>
3919 * simple.el (special-mode-map): Delete binding for `z'.
3921 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3923 * progmodes/compile.el (compilation-always-kill): Doc fix.
3925 2012-08-30 Chong Yidong <cyd@gnu.org>
3927 * window.el (display-buffer-reuse-frames): Make the obsolescence
3928 message more informative.
3930 2012-08-30 Glenn Morris <rgm@gnu.org>
3932 * paren.el (show-paren-delay):
3933 Add a :set function. Doc fix. (Bug#12297)
3935 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3937 * progmodes/compile.el (compilation-always-kill): New var.
3938 (compilation-start): Use it.
3940 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3943 * files.el (read-only-mode): Move to simple.el.
3945 * files.el (read-only-mode): New minor mode.
3946 (toggle-read-only): Use it and mark obsolete.
3947 (find-file--read-only):
3948 * vc/vc.el (vc-next-action, vc-checkout):
3949 * vc/vc-cvs.el (vc-cvs-checkout):
3950 * obsolete/vc-mcvs.el (vc-mcvs-update):
3951 * ffap.el (ffap--toggle-read-only): Update callers.
3953 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3955 * eshell/esh-ext.el (eshell-external-command): Do not examine
3956 remote shell scripts.
3957 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3959 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3962 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3966 2012-08-28 Leo Liu <sdl.web@gmail.com>
3968 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3969 completion-at-point. (Bug#12220)
3971 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3973 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3975 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3978 be buffer-local; add delete-trailing-whitespace (bug#12259).
3980 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3982 * progmodes/hideif.el (hif-compress-define-list):
3983 Fix typo. (Bug#11951)
3985 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3987 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3988 buffer local setting.
3990 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3991 rcirc-encode-coding-system.
3993 2012-08-28 Leo Liu <sdl.web@gmail.com>
3995 * net/rcirc.el (rcirc-split-message): New function.
3996 (rcirc-send-message): Use it. (Bug#12051)
3998 2012-08-28 Juri Linkov <juri@jurta.org>
4000 * info.el (Info-fontify-node): Hide empty lines at the end of
4001 the node. (Bug#12272)
4003 2012-08-27 Drew Adams <drew.adams@oracle.com>
4005 * dired.el (dired-pop-to-buffer): Make window start at beginning
4006 of buffer (Bug#12281).
4008 2012-08-26 Chong Yidong <cyd@gnu.org>
4010 * window.el (special-display-regexps, special-display-frame-alist)
4011 (special-display-buffer-names, special-display-function)
4012 (display-buffer-reuse-frames): Mark as obsolete.
4014 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4016 * help.el (help-print-return-message): Don't treat
4017 display-buffer-reuse-frames specially.
4019 2012-08-26 Chong Yidong <cyd@gnu.org>
4021 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4022 New variable, replacing gdb-frame-parameters.
4023 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4024 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4025 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4026 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4027 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4028 the functions directly with gdb-display-buffer-other-frame-action.
4029 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4030 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4031 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4032 (gdb-display-registers-buffer): Define directly.
4033 (def-gdb-display-buffer): Macro deleted.
4034 (gdb-display-buffer): Remove second and third args, callers don't
4035 use them. Defer to the default display-buffer behavior, apart
4036 from making windows dedicated.
4037 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4039 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4041 * window.el (display-buffer-pop-up-frame): Handle a
4042 pop-up-frame-parameters alist entry.
4043 (display-buffer): Document it.
4045 2012-08-26 Chong Yidong <cyd@gnu.org>
4047 * isearch.el (search-whitespace-regexp): Make string and nil
4048 values apply to both ordinary and regexp search. Allow a cons
4049 cell value to distinguish between the two.
4050 (isearch-whitespace-regexp, isearch-search-forward)
4051 (isearch-search-backward): New functions.
4052 (isearch-occur, isearch-search-fun-default, isearch-search)
4053 (isearch-lazy-highlight-new-loop): Use them.
4054 (isearch-forward, isearch-forward-regexp): Doc fix.
4056 2012-08-26 Chong Yidong <cyd@gnu.org>
4058 * faces.el (help-argument-name): Always inherit from italic
4061 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4063 * window.el (window--even-window-heights): Even heights when
4064 WINDOW and the selected window form a vertical combination.
4065 (display-buffer-use-some-window): Provide that window used gets
4066 sized back by quit-window. (Bug#11880) and (Bug#12091)
4068 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4070 Fix file time stamp problem with bzr and CVS (Bug#12001).
4071 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4072 in the file's time stamp, since the version control system loses
4075 2012-08-22 Juri Linkov <juri@jurta.org>
4077 * info.el (Info-fontify-node): Hide the suffix of the
4078 Info file name in the header line. (Bug#12187)
4080 2012-08-22 Glenn Morris <rgm@gnu.org>
4082 * calendar/cal-tex.el (cal-tex-weekly-common):
4083 Restore leading blank page.
4085 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4087 * misc.el (forward-to-word, backward-to-word): Activate or extend
4088 the region under `shift-select-mode'. (Bug#12231)
4090 2012-08-22 Bastien Guerry <bzg@gnu.org>
4092 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4093 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4094 gives details on why the space is never needed.
4096 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4098 * window.el (walk-window-tree, window-with-parameter):
4099 New optional argument MINIBUF to control whether these functions
4100 should run on the minibuffer window.
4101 (window-at-side-list): Don't operate on minibuffer window.
4102 (window-in-direction): Simplify and rewrite doc-string.
4103 (window--size-ignore): Rename to window--size-ignore-p.
4105 (display-buffer-in-atom-window, window--major-non-side-window)
4106 (window--major-side-window, display-buffer-in-major-side-window)
4107 (delete-side-window, display-buffer-in-side-window):
4109 (window--side-check, window-deletable-p, delete-window)
4110 (delete-other-windows, split-window): Handle side windows and
4111 atomic windows appropriately.
4112 (window--display-buffer): Call display-buffer-record-window also
4113 when the window buffer did not change.
4115 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4117 * help-fns.el (help-fns--key-bindings):
4118 Abbreviate non-symbol remap targets. (Bug#12174)
4120 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4122 * dired.el (dired-mark-remembered): Don't clobber point.
4125 2012-08-22 Glenn Morris <rgm@gnu.org>
4127 * progmodes/bug-reference.el (bug-reference): New custom group.
4128 (bug-reference-bug-regexp): Make it a defcustom.
4130 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4132 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4133 (js-paren-indent-offset, js-square-indent-offset)
4134 (js-curly-indent-offset): Add :safe (Bug#12257).
4136 2012-08-22 Edward O'Connor <hober0@gmail.com>
4138 * json.el (json-key-format): Add error properties.
4139 (json-encode-key): New function.
4140 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4141 Use json-encode-key.
4143 2012-08-22 Glenn Morris <rgm@gnu.org>
4145 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4146 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4147 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4148 Update for above change.
4150 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4152 * cus-face.el (custom-face-attributes): Fix customize type for the
4153 :underline attribute. (Bug#11805)
4155 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4157 * window.el (window-point-1, set-window-point-1): Remove.
4158 (window-in-direction, record-window-buffer)
4159 (set-window-buffer-start-and-point, split-window-below)
4160 (window--state-get-1, display-buffer-record-window):
4161 Replace calls to window-point-1 and set-window-point-1 by calls to
4162 window-point and set-window-point respectively.
4164 2012-08-21 Glenn Morris <rgm@gnu.org>
4166 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4167 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4170 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4171 (cal-tex-shortday): New function.
4172 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4173 (cal-tex-cursor-filofax-daily): Use the above.
4175 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4177 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4178 (cal-tex-cursor-filofax-week): Use them.
4180 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4182 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4183 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4185 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4186 (cal-tex-end-document): Don't rely on buffer name.
4188 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4190 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4191 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4192 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4195 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4196 (cal-tex-cursor-week, cal-tex-cursor-week2)
4197 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4198 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4199 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4200 (cal-tex-insert-preamble, cal-tex-b-document)
4201 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4202 Improve cal-tex-cmd usage.
4204 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4205 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4206 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4207 (cal-tex-weekly-paper): New function.
4208 (cal-tex-cursor-week, cal-tex-cursor-week2)
4209 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4210 (cal-tex-cursor-day): Use it.
4212 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4213 (cal-tex-cursor-filofax-week): Remove leading blank page.
4215 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4216 Add autoload cookie. For now at least, don't use color, since
4217 no other cal-tex function does.
4219 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4220 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4221 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4223 2012-08-21 Juri Linkov <juri@jurta.org>
4225 * info.el (Info-file-attributes): New variable.
4226 (info-insert-file-contents): Add file attributes to
4227 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4228 `Info-toc-nodes' when previous modtime of the Info file is less
4230 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4231 of info.el. (Bug#12230)
4233 2012-08-20 Glenn Morris <rgm@gnu.org>
4235 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4236 * calendar/holidays.el (calendar-holiday-list):
4237 Report errors with display-warning rather than beep'n'sleep.
4239 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4241 * net/tramp.el (tramp-accept-process-output): Accept only output
4242 from PROC. Otherwise, process filters and sentinels might be
4243 confused. (Bug#12145)
4245 2012-08-20 Chong Yidong <cyd@gnu.org>
4247 * descr-text.el (describe-text-properties-1): Use overlays-in to
4248 report on empty overlays (Bug#3322).
4250 2012-08-20 Glenn Morris <rgm@gnu.org>
4252 * mail/rmailout.el (rmail-output-read-file-name):
4253 Trap and report errors in rmail-output-file-alist elements.
4255 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4256 since most non-font-lock faces are not also variables).
4258 2012-08-20 Edward Reingold <reingold@iit.edu>
4260 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4261 New function. (Bug12160)
4263 2012-08-19 Glenn Morris <rgm@gnu.org>
4265 * mail/rmailout.el (rmail-output-read-file-name):
4266 Fix previous change (when the alist is nil or does not match).
4268 2012-08-19 Chong Yidong <cyd@gnu.org>
4270 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4273 2012-08-18 Chong Yidong <cyd@gnu.org>
4275 * simple.el (yank-handled-properties): New defcustom.
4276 (yank-excluded-properties): Add font-lock-face and category.
4279 * subr.el (remove-yank-excluded-properties):
4280 Obey yank-handled-properties. The special handling of font-lock-face
4281 and category is now done this way, instead of being hard-coded.
4282 (insert-for-yank-1): Remove font-lock-face handling.
4283 (yank-handle-font-lock-face-property)
4284 (yank-handle-category-property): New function.
4286 2012-08-17 Glenn Morris <rgm@gnu.org>
4288 * mail/rmailout.el (rmail-output-read-file-name):
4289 Check rmail-output-file-alist against the full message body
4290 in the correct rmail buffer. (Bug#12214)
4292 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4294 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4295 Eliminate superfluous prompt. (Bug#12203)
4297 2012-08-17 Chong Yidong <cyd@gnu.org>
4299 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4300 font spec, set the font directly (Bug#3228).
4302 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4304 * window.el (delete-window): Fix last fix.
4306 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4308 * window.el (window-valid-p): Move to window.c.
4309 (window-child, window-child-count, window-last-child)
4310 (window-normalize-window, window-combined-p)
4311 (window-combinations, window-atom-root, window-min-size)
4312 (window-sizable, window-sizable-p, window-size-fixed-p)
4313 (window-min-delta, window-max-delta, window--resizable)
4314 (window--resizable-p, window-resizable, window-total-size)
4315 (window-full-height-p, window-full-width-p, window-body-size)
4316 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4317 (minimize-window, window-deletable-p, delete-window)
4318 (delete-other-windows, set-window-buffer-start-and-point)
4319 (next-buffer, previous-buffer, split-window, balance-windows-2)
4320 (set-window-text-height, window-buffer-height)
4321 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4322 (truncated-partial-width-window-p): Minor code adjustments.
4323 In doc-strings state whether the argument window has to denote a
4324 live, valid or any window.
4326 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4328 * progmodes/subword.el (subword-forward-function)
4329 (subword-backward-function, subword-forward-regexp)
4330 (subword-backward-regexp): New variables.
4331 (subword-forward, subword-forward-internal, subword-backward-internal):
4332 Use new variables, eg so that different "word" definitions
4333 can be easily used. (Bug#11411)
4335 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4337 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4338 for composite selectors.
4339 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4340 operation just because we can't find a previous revision.
4342 2012-08-15 Chong Yidong <cyd@gnu.org>
4344 * frame.el (set-frame-font): Accept font objects.
4346 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4350 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4352 * man.el (Man-overstrike-face, Man-underline-face)
4353 (Man-reverse-face): Remove variables.
4354 (Man-overstrike, Man-underline, Man-reverse): New faces.
4355 (Man-fontify-manpage): Use them instead of the variables.
4356 (Man-cleanup-manpage): Comment change.
4357 (Man-ansi-color-map): New variable.
4358 (Man-fontify-manpage): Use it.
4359 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4361 Implement ANSI SGR parameters 22-27 (bug#12146).
4362 * ansi-color.el (ansi-colors): Doc fix.
4363 (ansi-color-context, ansi-color-context-region): Doc fix.
4364 (ansi-color--find-face): New function.
4365 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4366 Rename the local variable `face' to `codes' since it is now a list of
4367 ansi codes. Doc fix.
4368 (ansi-color-get-face): Remove.
4369 (ansi-color-parse-sequence): New function, derived from
4370 ansi-color-get-face.
4371 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4374 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4376 * subr.el (read-passwd): Allow use from a minibuffer.
4378 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4380 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4381 inside comments and strings as identifiers.
4383 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4384 expression to evaluate. This allows to evaluate expressions with
4385 embedded whitespace.
4386 (gud-tooltip-tips): Add a blank before the newline in the
4387 message-box text, for the benefit of message-box emulation on
4390 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4391 messages from GDB, pop them up in a tooltip to give feedback to
4393 (gdb-tooltip-print-1): Quote the expression to evaluate.
4394 This allows to evaluate expressions with embedded whitespace.
4395 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4396 if the TTY name is nil or empty (which happens when communicating
4397 with the inferior via pipes, e.g. on MS-Windows).
4398 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4399 don't send that to the GUD buffer.
4401 2012-08-14 Glenn Morris <rgm@gnu.org>
4403 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4404 Optimize away setq-default with no args, as for setq. (Bug#12195)
4406 2012-08-14 Chong Yidong <cyd@gnu.org>
4408 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4410 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4413 2012-08-14 Glenn Morris <rgm@gnu.org>
4415 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4417 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4419 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4420 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4421 Use cached shell name.
4423 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4425 * progmodes/python.el (python-shell-send-string):
4426 (python-shell-send-setup-code): Do not use `format' with `message'.
4428 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4430 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4431 (ruby-percent-literal-beg-re): New constant.
4432 (ruby-syntax-general-delimiters-goto-beg): Rename to
4433 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4434 (ruby-syntax-propertize-general-delimiters): Rename to
4435 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4436 popular term. Adjust comments everywhere.
4437 (ruby-syntax-propertize-percent-literal): Only propertize when not
4438 inside a simple string or comment. When the literal is unclosed,
4439 leave the text after it unpropertized.
4440 (ruby-syntax-methods-before-regexp): New constant.
4441 (ruby-syntax-propertize-function): Use it to recognize regexps.
4442 Don't look at the text after regexp, just use the whitelist.
4444 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4446 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4447 non-nil always load the compiled file if it exists. (Bug#12197)
4449 2012-08-14 Chong Yidong <cyd@gnu.org>
4451 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4452 (hi-lock-set-pattern): When deciding whether to use font lock or
4453 overlays, look at font-lock-mode instead of font-lock-fontified
4455 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4456 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4458 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4460 * subr.el (internal--after-with-selected-window): Fix typo
4463 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4465 Use `completion-table-dynamic' for completion functions.
4466 * progmodes/python.el
4467 (python-shell-completion--do-completion-at-point)
4468 (python-shell-completion--get-completions):
4470 (python-shell-completion-complete-at-point): New function.
4471 (python-completion-complete-at-point): Use it.
4473 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4475 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4476 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4478 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * subr.el (function-get): Refine `autoload' arg so it can also
4481 autoload functions for gv.el (bug#12191).
4482 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4485 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4486 Prefer pcase-let over destructuring-bind.
4487 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4488 Also, remove whitespace as we go, rather than after accumulating the
4491 * subr.el (internal--before-with-selected-window)
4492 (internal--after-with-selected-window): Fix typo seleted->selected.
4493 (with-selected-window): Adjust callers.
4494 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4496 2012-08-13 Bastien Guerry <bzg@gnu.org>
4498 * window.el (special-display-popup-frame): Minor docstring
4499 enhancement. (Bug#12172)
4501 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4503 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4505 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4508 * files.el (hack-local-variables-filter): Remove useless eval.
4510 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4512 * subr.el (with-selected-window): Fix last change.
4514 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4516 * subr.el (internal--before-with-seleted-window)
4517 (internal--after-with-seleted-window): New functions.
4518 (with-selected-window): Use them, to replace dependency on
4521 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4523 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4524 binding for `newline'.
4525 (ruby-move-to-block): When moving backward, stop at block opening,
4527 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4528 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4529 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4530 `ruby-toggle-block'.
4532 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4534 * ibuffer.el (ibuffer-do-toggle-read-only):
4535 * dired.el (dired-toggle-read-only):
4536 * buff-menu.el (Buffer-menu-toggle-read-only):
4537 * bindings.el (mode-line-toggle-read-only):
4538 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4540 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4542 * descr-text.el (describe-char): Put the overlays over the
4543 "displayed as" character.
4545 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4547 * calc/calc-units.el (math-default-units-table): Give an
4549 (math-put-default-units): Add options to put composite units and
4550 unit systems in the default units table.
4551 (calc-convert-units): Send composite units to
4552 `math-put-default-units' when appropriate.
4554 2012-08-11 Glenn Morris <rgm@gnu.org>
4556 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4558 * tutorial.el (help-with-tutorial):
4559 * emacs-lisp/copyright.el (copyright-update-directory):
4560 * emacs-lisp/autoload.el (autoload-find-generated-file)
4561 (autoload-find-file): Disable local eval: (for insurance).
4563 * files.el (hack-local-variables-filter): If an eval: form is not
4564 known to be safe, and enable-local-variables is :safe, then ignore
4565 the form totally, as is done for non-eval forms. (Bug#12155)
4566 This is CVE-2012-3479.
4568 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4571 (rx-form): Simplify.
4573 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4575 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4576 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4577 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4578 (ruby-syntax-propertize-function): Adjust for changes in
4579 `ruby-syntax-propertize-heredoc'.
4581 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4583 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4584 binding (use `M-;' instead).
4585 (ruby-singleton-class-p): New function.
4586 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4588 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4590 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4592 2012-08-10 Chong Yidong <cyd@gnu.org>
4594 * progmodes/python.el (python-shell-get-process-name): Don't mess
4595 with same-window-buffer-names.
4597 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4598 (eshell-remove-from-window-buffer-names): Make obsolete.
4599 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4600 (eshell): Just use pop-to-buffer-same-window instead.
4602 2012-08-10 Chong Yidong <cyd@gnu.org>
4604 * bindings.el: Bind M-= back to count-words-region.
4606 * simple.el (count-words-region): Accept a prefix arg for acting
4607 on the entire buffer.
4608 (count-words--buffer-message): New helper function.
4610 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4613 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4614 (event-start, event-end): Use posn-at-point to return a more
4616 (posnp): New function.
4617 * mouse.el (popup-menu-normalize-position): Use it.
4619 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4621 * mouse.el (popup-menu-normalize-position): New function.
4622 (popup-menu): Use `popup-menu-normalize-position' to normalize
4623 the form for POSITION argument.
4625 * term/x-win.el (x-menu-bar-open):
4626 Use the value returend from (posn-at-point) as position
4627 passed to `popup-menu'.
4629 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4631 * calc/calccomp.el (math-compose-expr): Add extra argument
4632 indicating that parentheses should be put around products in
4633 denominators. Give multiplication precedence over division during
4636 2012-08-09 Chong Yidong <cyd@gnu.org>
4638 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4639 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4640 (Man-untabify-command, manual-program): Convert to defcustom
4643 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4645 * descr-text.el (describe-char): Don't insert extra newlines
4648 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4649 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4651 * align.el (align-region): Delete temporary markers (Bug#10047).
4652 Plus some code cleanups.
4654 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4656 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4657 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4658 (python-shell-internal-last-output): Use make-local-variable
4659 instead of make-variable-buffer-local.
4661 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4663 * progmodes/python.el: Enhancements to forward-sexp.
4664 (python-nav-forward-sexp): Rename from
4665 python-nav-forward-sexp-function.
4666 (python-nav--forward-sexp, python-nav--backward-sexp):
4669 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4671 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4672 modes and simplification modes.
4674 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * delsel.el (delete-selection-pre-hook): Don't propagate the
4677 file-supersession signals (bug#12161).
4679 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4682 (cl-map-extents): Add compatibility aliases (bug#12135).
4684 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4686 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4687 tests by `ignore-error'.
4688 (tramp-find-shell): Open also a new shell, when cache is already
4689 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4691 2012-08-08 Juri Linkov <juri@jurta.org>
4693 * bookmark.el: Add `defaults' property to the bookmark record.
4694 (bookmark-current-buffer): Doc fix.
4695 (bookmark-make-record): Add `defaults' property with default values
4696 to the bookmark record.
4697 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4698 with `bookmark-insert-current-bookmark'.
4699 (bookmark-set): Get `defaults' property from the bookmark record
4700 and use it in `read-from-minibuffer'.
4701 (bookmark-insert-current-bookmark): Remove function.
4703 * info.el (Info-bookmark-make-record): Add `defaults' property
4704 with values of canonical Info node name, the current Info file
4705 name and the current Info node name. (Bug#12107)
4707 2012-08-08 Juri Linkov <juri@jurta.org>
4709 * files.el (basic-save-buffer): Use `buffer-name' as the default
4710 of `read-file-name' when buffer is not visiting a file (bug#12128).
4712 2012-08-08 Juri Linkov <juri@jurta.org>
4714 * info.el (Info-isearch-search): Doc fix.
4715 (Info-search): Change search-failed message from "initial node" to
4716 "end of node" (bug#12078).
4717 (Info-isearch-search): Change `isearch-string-state' to
4718 `isearch--state-string'.
4720 2012-08-08 Glenn Morris <rgm@gnu.org>
4722 * language/persian.el: Remove file.
4723 * language/misc-lang.el: Move unique part of persian.el here.
4724 * loadup.el: Remove language/persian.
4726 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4728 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4730 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4732 * progmodes/python.el Fixed defsubst warning.
4733 (python-syntax-context) Rename from python-info-ppss-context.
4734 (python-syntax-context-type): Rename from
4735 python-info-ppss-context-type.
4736 (python-syntax-comment-or-string-p): Rename from
4737 python-info-ppss-comment-or-string-p.
4739 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4741 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4743 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4745 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4746 a defcustom that is quoted with backquote.
4748 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4749 Fix handling of interactive spec when the body uses return.
4750 (math-do-arg-check, math-define-function-body): Use backquote forms.
4751 * calc/calc-ext.el (math-defcache): Likewise.
4752 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4753 * allout.el (allout-new-exposure): Likewise.
4754 * calc/calcalg2.el (math-tracing-integral): Likewise.
4755 * info.el (Info-last-menu-item): Likewise.
4756 * emulation/vip.el (vip-loop): Likewise.
4757 * textmodes/artist.el (artist-funcall): Likewise.
4758 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4759 Construct menu-item directly.
4761 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4764 2012-08-07 Chong Yidong <cyd@gnu.org>
4766 * simple.el (deactivate-mark): Preserve text properties when
4767 saving the primary selection (Bug#8384).
4769 2012-08-07 Kevin Ryde <user42@zip.com.au>
4771 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4772 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4773 and continue processing (Bug#12110).
4775 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4778 syntax-propertize-function (bug#10095).
4780 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4783 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4784 describe-function-1.
4785 (describe-function-1): Use them. Move compiler macro after sig.
4786 (help-fns--compiler-macro): Use function-get. Assume we're already in
4787 standard-output. Adjust layout to new call order.
4789 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4790 re-binding a symbol that has a symbol-macro (bug#12119).
4792 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4794 * language/persian.el: New file. (Bug#11812)
4795 * loadup.el: Add language/persian.el.
4797 2012-08-06 Chong Yidong <cyd@gnu.org>
4799 * window.el (window--maybe-raise-frame): New function.
4800 (window--display-buffer): Split off from here.
4801 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4802 (display-buffer-pop-up-window, display-buffer-use-some-window):
4803 Obey an inhibit-switch-frame action alist entry.
4804 (display-buffer): Update doc.
4806 * replace.el (occur-after-change-function): Avoid losing focus by
4807 using the inhibit-switch-frame display parameter (Bug#12139).
4809 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4811 Make internal shell process buffer names start with space.
4812 * progmodes/python.el (python-shell-make-comint): Add optional
4814 (run-python-internal): Use it.
4815 (python-shell-internal-get-or-create-process): Check for new
4816 internal buffer names.
4818 2012-08-06 Glenn Morris <rgm@gnu.org>
4820 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4821 Do less getting and setting of environment variables.
4823 2012-08-05 Chong Yidong <cyd@gnu.org>
4825 * proced.el (proced): Add substitution string to docstring to
4826 trigger autoloading of the proced library on C-h f (Bug#1768).
4828 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4829 Don't show defvars which have no second argument (Bug#8638).
4831 * imenu.el (imenu-generic-expression): Move documentation here
4832 from imenu--generic-function.
4833 (imenu--generic-function): Refer to imenu-generic-expression.
4835 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4837 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4838 indentation declaration.
4839 (viper-loop): Add indentation declaration (Bug#7025).
4841 2012-08-05 Chong Yidong <cyd@gnu.org>
4843 * help-fns.el (describe-variable): Add hyperlink for
4844 directory-local variables files. Improve buffer-local and
4845 permanent-local reporting; suggested by MON KEY (Bug#6644).
4847 * help-mode.el (help-dir-local-var-def): New button type.
4849 * files.el (kill-buffer-hook): Provide a defvar.
4851 2012-08-05 Glenn Morris <rgm@gnu.org>
4853 * eshell/esh-ext.el (eshell/addpath):
4854 Also update eshell-path-env. (Bug#12013)
4856 2012-08-05 Chong Yidong <cyd@gnu.org>
4858 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4860 * fringe.el (fringe-styles): Add docstring.
4861 (fringe--check-mode): New function.
4862 (set-fringe-mode, set-fringe-style): Use it.
4863 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4865 * files.el (set-auto-mode): Fix invalid setq call.
4867 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * isearch.el: Misc simplification; use defstruct.
4870 (isearch-mode-map): Dense maps now work like sparse ones.
4871 (isearch--state): New defstruct.
4872 (isearch-string-state, isearch-message-state, isearch-point-state)
4873 (isearch-success-state, isearch-forward-state)
4874 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4875 (isearch-wrapped-state, isearch-barrier-state)
4876 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4877 replaced by defstruct's accessors.
4878 (isearch--set-state): Rename from isearch-top-state and change
4880 (isearch-push-state): Use new isearch--get-state.
4881 (isearch-toggle-word): Disable regexp when enabling word.
4882 (isearch-message-prefix): Remove unused arg _c-q-hack.
4883 (isearch-message-suffix): Remove unused arg _ellipsis.
4885 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4887 * simple.el (list-processes--refresh): For a server use :host or
4888 :local as the address.
4889 (list-processes): Doc fix.
4891 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4893 * lisp/mpc.el: Support password in host argument.
4894 (mpc--proc-connect): Parse and use new password element.
4895 Set mpc-proc variable instead of returning process.
4896 (mpc-proc): Adjust accordingly.
4898 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4900 * whitespace.el (whitespace-display-mappings): Use Unicode
4901 codepoints, instead of emacs-mule codepoints. See
4902 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4905 * files.el (file-truename): Don't skip symlink-chasing part on
4906 windows-nt. Incorporate the resolution of 8+3 short aliases on
4907 Windows into the loop that recursively chases symlinks.
4908 Compare directory and its parent case-insensitively on MS-Windows and
4911 2012-08-03 Chong Yidong <cyd@gnu.org>
4913 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4915 * sort.el (sort-regexp-fields): Doc fix.
4917 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4919 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4920 labels regex position point at the expected place.
4922 2012-08-03 MON KEY <monkey@sandpframing.com>
4924 * net/imap.el (imap-interactive-login, imap-authenticate)
4925 (imap-mailbox-lsub, imap-mailbox-list)
4926 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4927 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4928 (imap-parse-response): Doc fix.
4930 2012-08-03 João Távora <joaotavora@gmail.com>
4932 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4933 if sexp scanning does not move point (Bug#5734).
4935 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4937 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4938 Add listings, minted, and ctable packages.
4939 (reftex-label-alist-builtin): Move listings, minted, and ctable
4940 entries before LaTeX.
4941 (reftex-label-alist): Docfix.
4943 2012-08-02 Bastien Guerry <bzg@gnu.org>
4945 * replace.el (occur): Fix docstring (bug#12122).
4947 2012-08-02 Glenn Morris <rgm@gnu.org>
4949 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4951 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4953 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4954 * international/mule-cmds.el: Create
4955 inactivate-current-input-method-function as an obsolete alias for
4956 deactivate-current-input-method-function. See Katsumi Yamaoka in
4957 <http://bugs.gnu.org/10150#46>.
4959 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4961 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4964 2012-08-01 Glenn Morris <rgm@gnu.org>
4966 * progmodes/autoconf.el (autoconf-definition-regexp):
4967 Add AH_TEMPLATE, adjust submatch numbering.
4968 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4969 (autoconf-current-defun-function): Update for above change.
4970 (autoconf-current-defun-function): First skip to end of current word.
4972 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4974 * calendar/cal-html.el (cal-html-insert-agenda-days):
4975 Fix typo. (Bug#12018)
4977 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4979 Shell processes: enhancements to startup and CEDET compatibility.
4980 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4981 (python-shell-make-comint): accept-process-output at startup.
4982 (run-python-internal): Set inferior-python-mode-hook to nil.
4983 (python-shell-internal-get-or-create-process): call sit-for.
4984 (python-preoutput-result): Add obsolete alias.
4985 (python-shell-internal-send-string): Use it.
4986 (python-shell-send-setup-code): Remove call to
4987 accept-process-output.
4989 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4991 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4994 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4996 * calc-mode.el (calc-basic-simplification-mode): Rename from
4997 `calc-limited-simplification-mode'.
4998 (calc-alg-simplification-mode): New function.
4999 (calc-set-simplify-mode): Adjust message.
5001 * calc.el (calc-set-mode-line): Adjust mode line display for
5002 basic simplification mode.
5004 * calc-help.el (calc-m-prefix-help): Update help message.
5006 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5007 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5009 2012-07-31 Bastien Guerry <bzg@gnu.org>
5011 * man.el (man): Fix comment. (bug#12101)
5013 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5015 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5016 Don't return a non-nil value when no suitable buffer was found.
5018 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5020 * progmodes/python.el (run-python-internal): Disable font lock for
5023 2012-07-30 Stefan Merten <smerten@oekonux.de>
5025 * textmodes/rst.el: Silence `checkdoc-ispell'.
5026 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5027 (rst-official-version, rst-official-cvs-rev)
5028 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5029 (rst-mode-map): New key binding.
5031 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5033 Update .PHONY listings in makefiles.
5034 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5035 autoloads, update-subdirs, updates, bzr-update, update-authors,
5036 compile-onefile, compile-calc, backup-compiled-files,
5037 compile-after-backup, compile-one-process, mh-autoloads,
5038 bootstrap-clean, distclean, maintainer-clean.
5040 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5042 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5043 (calc-set-mode-line): Don't display "AlgSimp ".
5045 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5046 (calc-lim-simplify-mode): New function.
5047 (calc-set-simplify-mode): Default to 'alg.
5048 (calc-default-simplify-mode): Make algebraic simplifications
5051 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5052 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5054 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5055 indicate new simplification modes.
5057 * calc/README: Mention new default simplification mode.
5059 * calc/calc.el (math-normalize-error): New variable.
5060 (math-normalize): Set `math-normalize-error' to t
5061 when there's an error.
5063 * calc/calc-alg.el (math-simplify): Don't simplify when
5064 `math-normalize' returns an error.
5066 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5068 * international/mule-cmds.el (set-locale-environment): Revert last
5069 change, since display-graphic-p returns nil when this function is
5070 called during startup. Instead...
5072 * term/w32console.el (terminal-init-w32console): ...setup the
5073 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5075 2012-07-29 Juri Linkov <juri@jurta.org>
5077 * simple.el (goto-line): Don't display default line number in the
5078 prompt because it should be displayed by `read-number' (bug#9952).
5079 Add the current line number to the defaults of `goto-line' to
5080 allow its easier modification by users with `M-n' (bug#9201).
5082 * subr.el (read-number): Support multiple default values like in
5083 other minibuffer reading functions. Replace `read' with
5084 `string-to-number' for consistency with `number-to-string'.
5086 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5088 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5089 * emulation/viper-init.el (viper-deactivate-input-method-action):
5090 Rename from viper-inactivate-input-method-action.
5091 (viper-deactivate-input-method):
5092 Rename from viper-inactivate-input-method.
5093 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5094 * international/mule-cmds.el (deactivate-input-method):
5095 Rename from inactivate-input-method.
5096 Also run input-method-deactivate-hook.
5097 (deactivate-current-input-method-function):
5098 Rename from inactivate-current-input-method-function.
5099 (input-method-deactivate-hook): New hook.
5100 (input-method-inactivate-hook): Mark obsolete.
5101 (inactivate-input-method): Mark obsolete.
5103 * international/quail.el (quail-activate):
5104 Also run quail-deactivate-hook.
5105 (quail-deactivate): Rename from quail-inactivate.
5106 * international/robin.el (robin-activate):
5107 Also run robin-deactivate-hook.
5108 (robin-deactivate): Rename from robin-inactivate.
5110 2012-07-29 Chong Yidong <cyd@gnu.org>
5112 * simple.el (indicate-copied-region): New function.
5113 (kill-ring-save): Split off from here.
5115 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5116 (kill-rectangle): Set deactivate-mark to t on read-only error.
5118 * register.el (copy-to-register, copy-rectangle-to-register):
5119 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5120 (append-to-register, prepend-to-register): Call indicate-copied-region.
5122 2012-07-29 Juri Linkov <juri@jurta.org>
5124 * simple.el (async-shell-command-buffer): New defcustom.
5125 (shell-command): Use it. (Bug#4719)
5127 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5129 * international/mule-cmds.el (set-locale-environment): In a
5130 console session on MS-Windows, set up keyboard and terminal
5131 encoding from the OEM codepage, not the ANSI codepage.
5134 2012-07-28 Chong Yidong <cyd@gnu.org>
5136 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5139 2012-07-28 Leo Liu <sdl.web@gmail.com>
5141 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5142 the alist (bug#12029).
5144 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5146 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5147 (compile-always, compile-first)
5148 ($(lisp)/calendar/cal-loaddefs.el)
5149 ($(lisp)/calendar/diary-loaddefs.el)
5150 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5151 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5152 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5153 instead of on update-subdirs.
5154 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5156 2012-07-28 Chong Yidong <cyd@gnu.org>
5158 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5159 directory if vc-deduce-backend returns nil (Bug#7350).
5161 * simple.el (delete-trailing-lines): New option.
5162 (delete-trailing-whitespace): Obey it (Bug#11879).
5164 2012-07-28 David Engster <deng@randomsample.de>
5166 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5167 Explanation of new 'symbol-qnames feature in doc-strings.
5168 (xml-maybe-do-ns): Return expanded names as plain symbols if
5169 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5170 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5172 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5174 Consistent completion in inferior python with emacs -nw.
5175 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5176 binding in inferior-python-mode-map with "\t".
5177 (python-shell-completion-complete-at-point)
5178 (python-completion-complete-at-point): Remove interactive spec.
5180 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5182 * calc/calccomp.el (math-compose-expr): Undo previous change.
5184 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5186 * progmodes/python.el (python-mode-map): Add keybinding for
5188 (python-shell-make-comint): Fix pop-to-buffer call.
5189 (run-python): Autoload. New arg SHOW.
5190 (python-shell-get-or-create-process): Do not pop python process
5193 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5195 * notifications.el (notifications-on-action-signal)
5196 (notifications-on-closed-signal): Use also the bus address for the map.
5197 (notifications-notify, notifications-close-notification)
5198 (notifications-get-capabilities): Add optional argument BUS.
5200 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5202 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5203 Add support for the lstlisting and minted environments, and for the
5205 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5206 labels written in keyvals syntax.
5208 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5210 * calc/calccomp.el (math-compose-expr): Use parentheses when
5211 there is a product in the denominator of a fraction.
5213 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5215 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5216 ($(lisp)/calendar/diary-loaddefs.el)
5217 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5218 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5219 Fixes failures in parallel bootstrap because subdirs.el is being
5220 rewritten while the autoload files are built at the same time,
5221 which needs to load subdirs.el.
5223 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5225 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5226 (mouse-drag-line): Don't exit tracking when a switch-frame or
5227 switch-window event occurs (Bug#12006).
5229 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5231 * mouse.el (popup-menu): Fix last change.
5233 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5235 Autoload from Lisp with more care. Follow aliases when looking for
5236 function properties.
5237 * subr.el (autoloadp): New function.
5238 (symbol-file): Use it.
5239 (function-get): New function.
5240 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5242 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5243 (lisp-indent-function):
5244 * emacs-lisp/gv.el (gv-get):
5245 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5246 * emacs-lisp/byte-opt.el (byte-optimize-form):
5247 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5248 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5250 * emacs-lisp/cl.el: Don't propagate function properties any more.
5252 * speedbar.el (speedbar-add-localized-speedbar-support):
5253 * emacs-lisp/disass.el (disassemble-internal):
5254 * desktop.el (desktop-load-file):
5255 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5256 (describe-function-1):
5257 * emacs-lisp/find-func.el (find-function-noselect):
5258 * emacs-lisp/elp.el (elp-instrument-function):
5259 * emacs-lisp/advice.el (ad-has-proper-definition):
5260 * apropos.el (apropos-safe-documentation, apropos-macrop):
5261 * emacs-lisp/debug.el (debug-on-entry):
5262 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5263 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5264 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5266 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5268 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5269 function, not an obsolete variable (Bug#12046).
5271 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5273 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5275 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5277 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5278 window only if it is still live (Bug#12034).
5280 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5282 * subr.el (redirect-frame-focus): Add advertised calling
5283 convention (Bug#12030).
5285 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5287 Prefer typical American spelling for "acknowledgment".
5288 * vc/add-log.el (change-log-acknowledgment): Rename from
5289 change-log-acknowledgement, with an alias for the old name.
5291 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5293 * calc-alg.el (math-simplify-divide): Don't cross multiply
5294 in an equation when the lhs is a variable.
5296 2012-07-24 Julien Danjou <julien@danjou.info>
5298 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5301 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5303 * startup.el (command-line): Don't display an empty user name in
5304 the error message about non-existent home directory, when
5305 init-file-user was set to an empty string. See
5306 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5307 for the details and context.
5309 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5311 * ses.el (ses-cell-formula-aset): New macro.
5312 (ses-cell-references-aset): New macro.
5313 (ses-cell-p): New function.
5314 (ses-rename-cell): Do no longer rely on complex operations like
5315 ses-cell-set-formula or ses-set-cell to change the cell and handle
5316 the undo at the same time, but rather use lower level new macros
5317 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5318 the undo directly. Refresh the mode line.
5320 2012-07-21 Leo Liu <sdl.web@gmail.com>
5322 * progmodes/cc-cmds.el (c-defun-name):
5323 Use match-string-no-properties instead for consistency.
5325 2012-07-20 Leo Liu <sdl.web@gmail.com>
5327 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5330 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5332 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5334 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5335 * progmodes/bug-reference.el, misearch.el: Provide themselves
5338 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5339 of narrowed buffer (bug#11966).
5341 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5343 * ses.el (ses-rename-cell): Set new name also in reference list of
5344 cells of which the renamed cell depends.
5346 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5348 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5349 to check whether menu-bar is shown or not. If not shown,
5350 show the menu-bar as a popup menu instead of using tmm.
5351 * mouse.el (popup-menu): Accept `point' as `position' argument.
5353 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5355 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5356 up inside string symbol literal (bug#11923).
5358 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5360 * startup.el (fancy-startup-text): Read the whole tutorial, not
5361 just its first 256 bytes. Prevents gibberish in display of the
5364 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5366 Drop idle buffer compaction due to an absence of the
5368 * compact.el: Remove.
5370 2012-07-19 Sam Steingold <sds@gnu.org>
5372 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5373 vc-bzr-pull & vc-bzr-merge-branch.
5374 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5375 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5376 for consistency with compilation-error-regexp-alist.
5377 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5378 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5379 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5380 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5382 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emacs-lisp/chart.el: Use lexical-binding.
5385 (chart-emacs-storage): Don't hardcode the list of entries.
5387 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5389 Next round of tweaks caused by Fgarbage_collect changes.
5390 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5392 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5394 Compact buffers when idle.
5395 * compact.el: New file.
5397 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5399 * subr.el (eventp): Presume that if it looks vaguely like an event,
5400 it's an event (bug#10190).
5402 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5404 Enhancements to ppss related code (thanks Stefan).
5405 * progmodes/python.el (python-indent-context)
5406 (python-indent-calculate-indentation, python-indent-dedent-line)
5407 (python-indent-electric-colon, python-nav-forward-block)
5408 (python-mode-abbrev-table)
5409 (python-info-assignment-continuation-line-p): Simplify checks
5411 (python-info-continuation-line-p): Cleanup.
5412 (python-info-ppss-context): Do not catch 'quote.
5413 (python-info-ppss-context-type)
5414 (python-info-ppss-comment-or-string-p): Simplify.
5416 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5418 * progmodes/python.el: Enhancements to eldoc support.
5419 (python-info-current-symbol): New function.
5420 (python-eldoc-at-point): Use python-info-current-symbol.
5421 (python-info-current-defun): Fix cornercase on first defun scan.
5422 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5423 and signal error when no inferior python process is available.
5425 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5427 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5428 assume it's always t.
5429 (vc-git-registered): Remove caching, the function is only called
5431 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5433 2012-07-18 Chong Yidong <cyd@gnu.org>
5435 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5437 * simple.el (count-words): Report on narrowing (Bug#9959).
5439 * bindings.el: Bind M-= to count-words.
5441 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5443 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5445 * progmodes/sh-script.el (sh-imenu-generic-expression):
5446 Capture a function with `function' keyword and without parentheses
5447 like "function FOO" (bug#11856).
5449 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5451 * window.el (split-window-sensibly): Make WINDOW argument
5454 2012-07-18 Chong Yidong <cyd@gnu.org>
5456 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5458 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5459 and make C-x 8 RET exit isearch (Bug#11439).
5461 * international/iso-transl.el: Move isearch-mode-map key
5462 definitions to isearch.el.
5464 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5466 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5467 (eieio-defclass): Use gv-define-setter when possible.
5469 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5471 Reflect recent changes in Fgarbage_collect.
5472 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5473 reflect new format of data returned by Fgarbage_collect.
5475 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5477 New utility functions + python-info-ppss-context fix (Bug#11910).
5478 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5479 (python-info-ppss-comment-or-string-p): New functions.
5480 (python-info-ppss-context): Small fix for string check.
5482 2012-07-17 Juri Linkov <juri@jurta.org>
5484 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5485 (dired-do-async-shell-command): Don't add `*' at the end of the
5486 command (Bug#11815).
5487 (dired-do-shell-command): Doc fix.
5488 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5489 Join the individual commands using either "&" or ";" as the
5490 separator depending on the values of these trailing characters.
5491 At the end re-add the trailing "&". (Bug#10598)
5493 * simple.el (async-shell-command): Sync the interactive spec with
5494 `shell-command'. Doc fix.
5495 (shell-command): Doc fix.
5497 2012-07-17 Juri Linkov <juri@jurta.org>
5499 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5501 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5503 Final renames and doc fixes for movement commands (bug#11899).
5504 * progmodes/python.el (python-nav-beginning-of-statement):
5505 Rename from python-nav-statement-start.
5506 (python-nav-end-of-statement): Rename from
5507 python-nav-statement-end.
5508 (python-nav-beginning-of-block): Rename from
5509 python-nav-block-start.
5510 (python-nav-end-of-block): Rename from python-nav-block-end.
5512 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5514 * progmodes/python.el (python-shell-send-string-no-output):
5515 Allow accept-process-output to quit, keeping shell process ready for
5516 future interactions (Bug#11868).
5518 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5520 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5522 * emacs-lisp/elint.el (elint-find-args-in-code):
5523 Use help-function-arglist, so as to handle lexical byte-code.
5525 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5528 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5531 Avoid spuriously marking the buffer as modified because of c-is-sws.
5533 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5534 as not-a-comment (bug#11946).
5536 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5537 for uninterned vars.
5539 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5540 Use read-event since we don't really want to read chars but bytes.
5542 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5543 $$..$$ but also $..$ using regexps (bug#11953).
5544 Use tex-verbatim for \url and \path.
5545 (tex-font-lock-keywords): Define as defconst like the others.
5546 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5548 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5550 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5551 alias for insert-char.
5553 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5555 * progmodes/python.el: Simplified imenu implementation.
5556 (python-nav-jump-to-defun): Remove command.
5557 (python-mode-map): Use `imenu' instead.
5558 (python-nav-list-defun-positions-cache)
5559 (python-imenu-include-defun-type, python-imenu-make-tree)
5560 (python-imenu-subtree-root-label, python-imenu-index-alist):
5562 (python-nav-list-defun-positions, python-nav-read-defun)
5563 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5564 (python-imenu-make-tree, python-imenu-create-index):
5566 (python-mode): Update to interact with imenu by setting
5567 `imenu-extract-index-name-function' only.
5569 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5571 * progmodes/python.el: Enhancements to navigation commands.
5572 (python-nav-backward-sentence)
5573 (python-nav-forward-sentence): Remove.
5574 (python-nav-backward-statement, python-nav-forward-statement)
5575 (python-nav-statement-start, python-nav-statement-end)
5576 (python-nav-backward-block, python-nav-forward-block)
5577 (python-nav-block-start, python-nav-block-end)
5578 (python-nav-forward-sexp-function)
5579 (python-info-current-line-comment-p)
5580 (python-info-current-line-empty-p): New functions.
5581 (python-indent-context): Use `python-nav-statement-start'.
5583 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5585 * eshell/em-ls.el (eshell/ls): Use `apply'.
5587 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5588 multi-hops, instead of Tramp internals.
5590 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5592 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5593 when F1 and F2 are located on different hosts.
5595 2012-07-14 Chong Yidong <cyd@gnu.org>
5597 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5598 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5599 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5600 (xterm-mouse--read-event-sequence-1000)
5601 (xterm-mouse--read-event-sequence-1006): New functions. For old
5602 mouse protocol, handle M-mouse-X events correctly.
5603 (xterm-mouse-event): New arg specifying mouse protocol.
5604 (turn-on-xterm-mouse-tracking-on-terminal)
5605 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5606 sequence to toggle extended coordinates on newer XTerms.
5607 This appears to be harmless on terminals which do not support this.
5609 2012-07-14 Leo Liu <sdl.web@gmail.com>
5611 Add fringe bitmap indicators for flymake. (Bug#11253)
5612 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5613 (flymake-make-overlay): New arg BITMAP.
5614 (flymake-error-bitmap, flymake-warning-bitmap)
5615 (flymake-fringe-indicator-position): New user variables.
5617 * fringe.el: New bitmap exclamation-mark.
5619 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5621 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5624 2012-07-14 Chong Yidong <cyd@gnu.org>
5626 * electric.el (electric-pair-post-self-insert-function): Fix pair
5627 insertion in empty-region case (Bug#11520).
5629 2012-07-14 Chong Yidong <cyd@gnu.org>
5631 * bindings.el: Consolidate ctl-x-r-map bindings.
5632 Bind copy-rectangle-as-kill to C-x r w.
5634 * rect.el, register.el: Move bindings to bindings.el.
5636 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5638 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5640 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5642 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5644 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5646 * bindings.el (top): Use `mapc' instead of `mapcar'.
5648 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5650 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5652 * progmodes/sql.el (sql-comint): Suppress the check for program on
5653 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5656 2012-07-13 Chong Yidong <cyd@gnu.org>
5658 * bindings.el: Assign a non-nil permanent-local property to
5659 per-buffer variables which lack a default value (Bug#11930).
5661 * help-fns.el (describe-variable): In the "automatically becomes
5662 local" notice, take note of permanent-local variables.
5664 2012-07-13 Chong Yidong <cyd@gnu.org>
5666 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5667 to allow printing the message when called from Lisp.
5669 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5670 Remove toggle-read-only.
5672 * bs.el (bs-toggle-readonly):
5673 * buff-menu.el (Buffer-menu-toggle-read-only):
5674 Remove with-no-warnings around toggle-read-only.
5676 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5677 Remove with-no-warnings around toggle-read-only.
5678 (ffap-read-only, ffap-read-only-other-window)
5679 (ffap-read-only-other-frame): Callers changed.
5681 * help-mode.el: Don't require view package.
5682 (help-mode-finish): Set buffer-read-only instead of calling
5685 * bindings.el (mode-line-toggle-read-only):
5686 * dired.el (dired-toggle-read-only):
5687 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5688 with non-nil second arg.
5690 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5691 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5694 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5696 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5699 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5701 More CL cleanups and reduction of use of cl.el.
5702 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5703 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5704 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5705 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5706 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5707 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5708 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5709 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5710 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5711 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5712 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5713 * eshell/em-cmpl.el, eshell/em-banner.el:
5714 * calendar/parse-time.el: Use cl-lib.
5715 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5716 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5717 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5718 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5719 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5720 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5721 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5722 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5723 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5724 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5725 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5726 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5727 `lambda' rather than with `quote'.
5728 (eshell-do-opt): Adjust accordingly.
5729 (eshell-process-option): Simplify.
5730 * eshell/esh-var.el:
5731 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5732 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5733 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5734 to `pcase--dontcare'.
5735 * emacs-lisp/cl.el (labels): Mark obsolete.
5736 (cl--letf, letf): Move to cl-lib.
5737 (cl--letf*, letf*): Remove.
5738 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5739 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5740 (cl-progv): Rewrite.
5741 (cl--letf, cl-letf): Move from cl.el.
5742 (cl-letf*): New macro.
5743 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5745 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5747 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5749 2012-07-11 Chong Yidong <cyd@gnu.org>
5751 * vc/log-edit.el (log-edit-vc-backend): New variable.
5752 (log-edit): Doc fix.
5754 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5755 argument of log-edit to set up all local variables.
5756 (vc-start-logentry): New optional arg specifying VC backend.
5758 * vc/vc.el (vc-checkin): Use it.
5759 (vc-deduce-fileset): Handle Log Edit buffers.
5760 (vc-diff): Make first argument optional too.
5762 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5764 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5766 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5767 command, just in case. The function is not needed anymore.
5768 (eshell-external-command): Do not call `eshell-remote-command'.
5770 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5772 Reduce use of (require 'cl).
5773 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5774 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5775 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5776 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5777 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5778 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5779 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5780 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5781 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5782 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5783 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5784 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5785 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5786 (byte-compile-unfold-bcf, byte-compile-check-variable):
5787 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5788 (byte-compile-nilconstp):
5789 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5790 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5792 * emacs-lisp/gv.el (cond): Make it a valid place.
5793 (if): Simplify slightly.
5795 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5796 (pcase--self-quoting-p): New function.
5797 (pcase--u1): Use it.
5799 2012-07-10 Glenn Morris <rgm@gnu.org>
5801 * emacs-lisp/authors.el (authors-fixed-entries):
5802 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5804 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5806 Rename configure.in to configure.ac (Bug#11603).
5807 * emacs-lisp/authors.el (authors-canonical-file-name):
5808 * progmodes/autoconf.el (autoconf-mode):
5809 Prefer configure.ac to configure.in.
5811 2012-07-08 Chong Yidong <cyd@gnu.org>
5813 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5814 Implement the mouse-1-click-follows-link handling properly.
5816 * info.el (Info-link-keymap): Use follow-link mechanism for
5817 header-line links (Bug#374).
5819 * simple.el (deactivate-mark): Do not set the primary selection
5820 if another program has acquired it (Bug#11772).
5822 2012-07-07 Kevin Ryde <user42@zip.com.au>
5824 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5825 (woman-decode-region): Replace escaped-escapes without destroying
5826 bold or underline (Bug#11552).
5827 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5829 2012-07-07 Chong Yidong <cyd@gnu.org>
5831 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5832 (interprogram-cut-function, interprogram-paste-function):
5833 Mention that we typically mean the clipboard.
5835 2012-07-06 Glenn Morris <rgm@gnu.org>
5837 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5839 * files.el (toggle-read-only): Restrict message to interactive use.
5841 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5843 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5845 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5847 2012-07-06 Glenn Morris <rgm@gnu.org>
5849 * Makefile.in (compile-one-process): Rename from "recompile".
5851 * Makefile.in (bzr-update): "compile" is the same as "recompile
5852 autoloads", but parallelizable, so use that instead.
5854 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5856 * window.el (quit-window): Always restore window height when
5857 it's saved in quit-restore parameter (Bug#11810).
5859 2012-07-06 Glenn Morris <rgm@gnu.org>
5861 * simple.el (kill-whole-line): Doc tweak.
5863 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5865 * files.el (file-relative-name): Compare file names
5866 case-insensitively if on MS-Windows or MS-DOS, or if
5867 read-file-name-completion-ignore-case is non-nil. Don't use
5868 case-fold-search for this purpose. (Bug#11827)
5870 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5872 * calendar/cal-dst.el (calendar-current-time-zone):
5873 Return calendar-current-time-zone-cache if non-nil.
5875 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5876 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5878 * calendar/cal-dst.el (calendar-current-time-zone):
5879 Return calendar-current-time-zone-cache if non-nil.
5881 2012-07-06 Glenn Morris <rgm@gnu.org>
5883 * Makefile.in (cvs-update): Remove old alias.
5885 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5887 Sync with Tramp 2.2.6-pre.
5889 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5890 compatible declaration.
5892 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5893 Protect `list-load-path-shadows' call.
5895 * net/tramp-compat.el (top): Require packages, which aren't
5896 autoloaded anymore for XEmacs. Protect call of
5897 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5898 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5899 it hurts at least for SXEmacs.
5900 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5901 standard-value for `temporary-file-directory'.
5903 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5904 Redirect stderr to /dev/null.
5905 (tramp-sh-handle-write-region): uid and gid can be floats.
5906 Reported by Russell Sim <russell.sim@gmail.com>.
5907 (tramp-sh-handle-vc-registered): Hide errors.
5908 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5909 and `start-file-process'.
5910 (tramp-maybe-open-connection): Check also whether `non-essential'
5913 2012-07-04 Chong Yidong <cyd@gnu.org>
5915 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5916 (xml-parse-tag): Likewise, and avoid changing entity tables.
5917 (xml-syntax-table): Define from scratch, making sure not to give
5918 x2000 and other Unicode spaces whitespace syntax, since those are
5920 (xml-parse-fragment): Delete unused function.
5921 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5922 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5923 (xml-entity-ref, xml-pe-reference-re)
5924 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5925 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5926 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5927 (xml-entity-value-re): Use syntax references in regexps where
5928 possible; no need to define inside a let-binding.
5929 (xml-parse-dtd): Use xml-pe-reference-re.
5930 (xml-entity-or-char-ref-re): New defconst.
5931 (xml-parse-string, xml-substitute-special): Use it.
5933 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5935 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5936 (find-file--read-only): New function.
5937 (find-file-read-only, find-file-read-only-other-window)
5938 (find-file-read-only-other-frame): Use it.
5939 (insert-file-contents-literally): Don't `fset'.
5940 (get-free-disk-space): Use locate-dominating-file.
5942 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5943 function is already compiled.
5945 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5947 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5949 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5950 files on the same host.
5952 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5954 * help-fns.el (describe-function-1): Only call
5955 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5957 2012-07-03 Chong Yidong <cyd@gnu.org>
5959 * xml.el: Protect parser against XML bombs.
5960 (xml-entity-expansion-limit): New variable.
5961 (xml-parse-string, xml-substitute-special): Use it.
5962 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5964 2012-07-03 Glenn Morris <rgm@gnu.org>
5966 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5967 Allow linking to specific messages in debbugs reports (eg 123#5).
5969 2012-07-02 Chong Yidong <cyd@gnu.org>
5971 * xml.el: Fix entity and character reference expansion, allowing
5972 them to expand into markup as per XML spec.
5973 (xml-default-ns): New variable.
5974 (xml-entity-alist): Use XML spec definitions for lt and amp.
5975 (xml-parse-region): Make first two arguments optional.
5976 Discard text properties.
5977 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5978 All callers changed.
5979 (xml-parse-tag): Call xml-parse-tag-1. For backward
5980 compatibility, this function should not modify buffer contents.
5981 (xml-parse-tag-1): Fix opening-tag regexp.
5982 (xml-parse-string): Rewrite, handling entity and character
5983 references properly.
5984 (xml--entity-replacement-text): Signal an error if a parameter
5985 entity is undefined.
5987 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * comint.el (comint-output-filter): Filter out repeated prompts.
5991 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5992 and file-name-absolute-p.
5993 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5996 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5999 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6000 Rename from byte-compile--refiy-function. All uses changed.
6002 2012-07-01 Chong Yidong <cyd@gnu.org>
6004 * xml.el (xml--parse-buffer): New function. Move most of
6005 xml-parse-region here.
6006 (xml-parse-region): Copy region into a temporary buffer, since
6007 parameter entity substitution requires changing buffer contents.
6008 Use xml--parse-buffer.
6009 (xml-parse-file): Use xml--parse-buffer.
6010 (xml-parse-dtd): Make parameter entity substitution work right.
6011 Use proper regexps for ELEMENT declarations (Bug#7172).
6013 2012-06-30 Glenn Morris <rgm@gnu.org>
6015 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6017 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6018 Remove outdated and unnecessary dbus declarations.
6020 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6022 * emacs-lisp/timer.el (timer-until): Subtract results of
6023 float-time, instead of taking float-time of the result of
6024 time-subtract, since float-time signals an error for negative time
6027 2012-06-30 Chong Yidong <cyd@gnu.org>
6029 * xml.el (xml-*-re): Convert defvars into defconsts, and
6030 eval-and-compile them so eval-and-compile works on derivatives.
6031 (xml--entity-replacement-text): Use eval-and-comple.
6033 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6035 * vc/vc-git.el (vc-git-registered): Use cache property
6037 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6038 `vc-git-working-revision' in order to benefit from the cache.
6039 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6041 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6043 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6044 removed (likely outside Emacs). (Bug#11757)
6046 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * emacs-lisp/cl-lib.el: Require macroexp.
6050 2012-06-30 Chong Yidong <cyd@gnu.org>
6052 * xml.el: Implement XML parameter entities.
6053 (xml-parameter-entity-alist): New variable.
6054 (xml-parse-region, xml-parse-fragment): Preserve previous values
6055 of xml-entity-alist and xml-parameter-entity-alist, so that
6056 repeated calls on different documents do not change them.
6057 (xml-parse-tag): Fix doctype regexp.
6058 (xml--entity-replacement-text): New function.
6059 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6060 properly requires url retrieval which is unimplemented.
6061 (xml-escape-string): Doc fix.
6063 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6067 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6069 * fringe.el (fringe-mode): Doc fix.
6071 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6073 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6075 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6076 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6078 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6080 * calendar/cal-dst.el (calendar-current-time-zone):
6081 Return calendar-current-time-zone-cache if non-nil.
6083 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6085 * progmodes/which-func.el (which-func-format):
6086 Add mouse-face. (Bug#11698)
6088 2012-06-29 Leo Liu <sdl.web@gmail.com>
6090 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6092 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * minibuffer.el (minibuffer-confirm-exit-commands):
6095 Add completion-at-point (bug#11725).
6097 2012-06-29 Glenn Morris <rgm@gnu.org>
6099 * progmodes/f90.el (f90-font-lock-keywords-2):
6100 Add some preprocessor elements. (Bug#10499)
6102 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6105 Use syntax-propertize (bug#11739).
6107 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6109 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6111 2012-06-28 Julien Danjou <julien@danjou.info>
6113 * term.el (term-handle-colors-array): Use a set of new faces to
6114 color the terminal. Also uses :inverse-video property.
6115 (term-default-fg-color): Set to nil by default, deprecate in favor
6117 (term-default-bg-color): Set to nil by default, deprecate in favor
6119 (term-current-face): Use `term-face' by default.
6120 (term-bold-attribute): Variable deleted.
6122 2012-06-28 Glenn Morris <rgm@gnu.org>
6124 * simple.el (completion-list-mode-finish):
6125 Don't use toggle-read-only. (Since completion-list-mode has
6126 a special mode-class, it wasn't doing anything extra anyway.)
6128 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6130 Make inlining of other-mode interpreted functions work (bug#11799).
6131 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6132 (byte-compile): Use it to fix compilation of lexical-binding closures.
6133 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6134 function, if needed.
6136 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * help-mode.el (help-make-xrefs): Don't just withstand
6139 cyclic-variable-indirection but any error in documentation-property.
6141 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6143 * bindings.el (bindings--define-key): New function.
6144 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6145 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6146 * bindings.el: Use it to purecopy define-key bindings.
6148 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6150 * emacs-lisp/cl.el (flet): Mark obsolete.
6151 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6152 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6153 * progmodes/js.el (js-c-fill-paragraph):
6154 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6155 (ebrowse-switch-member-buffer-to-derived-class):
6156 * play/5x5.el (5x5-solver): Use cl-flet.
6158 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6159 (cl--symbol-function): New macro.
6160 (cl--letf, cl--letf*): Use it.
6162 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6163 Strip "toggle-" if any.
6165 2012-06-27 Glenn Morris <rgm@gnu.org>
6167 * info.el (Info-default-directory-list): Move here from paths.el.
6168 * paths.el: Remove file, which is now empty.
6169 * loadup.el: No longer load "paths".
6171 * custom.el (custom-initialize-delay): Doc fix.
6173 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6174 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6175 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6176 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6177 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6178 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6179 * eshell/eshell.el (eshell-defgroup): Remove alias.
6181 2012-06-27 Chong Yidong <cyd@gnu.org>
6183 * help.el (help-enable-auto-load): New variable.
6185 * help-fns.el (help-fns--autoloaded-p): New function.
6186 (describe-function-1): Refer to a function as "autoloaded" if it
6187 was autoloaded at any time in the past. Perform autoloading if
6188 help-enable-auto-load is non-nil.
6190 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6192 * makefile.w32-in (compile, compile-always): Depend on
6193 update-subdirs, not on subdirs.el. Otherwise, several different
6194 sub-targets of 'bootstrap' running in parallel could
6195 simultaneously write to subdirs.el, producing a garbled file.
6197 2012-06-26 Sam Steingold <sds@gnu.org>
6199 * files.el (file-name-base): New convenience function.
6200 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6201 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6202 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6203 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6204 * textmodes/ispell.el, textmodes/reftex-ref.el:
6205 * textmodes/tex-mode.el: Use it.
6206 Did not touch cedet and org because they are maintained elsewhere.
6208 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6210 * calendar/calendar.el (calendar-exit): Don't try to delete or
6211 iconify last frame. See:
6212 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6214 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6216 * server.el (server-process-filter): Remember dir in the
6217 process's `server-client-directory' properties.
6219 2012-06-24 Chong Yidong <cyd@gnu.org>
6221 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6224 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6226 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6228 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * help-fns.el (describe-variable): Don't croak when doc is not found.
6231 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6232 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6233 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6234 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6235 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6237 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6239 2012-06-23 Chong Yidong <cyd@gnu.org>
6241 * info.el (Info-mouse-follow-link): Accept symbol values of
6242 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6243 (Info-fontify-node): Use Info-link-keymap for all navigation
6244 buttons, with link-args property to perform the desired action.
6245 (Info-link-keymap): Doc fix.
6246 (Info-next-link-keymap, Info-prev-link-keymap)
6247 (Info-up-link-keymap): Delete now-unused keymaps.
6249 2012-06-23 Chong Yidong <cyd@gnu.org>
6251 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6253 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6256 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6258 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6260 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6263 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6264 the requote function doesn't work properly (bug#11714).
6266 2012-06-23 Glenn Morris <rgm@gnu.org>
6268 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6270 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6272 Further GV/CL cleanups.
6273 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6275 (gv--defun-declaration): New function.
6276 (defun-declarations-alist): Use it.
6277 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6278 (gv-place): Autoload.
6279 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6280 original definition of dotimes and dolist.
6281 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6282 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6283 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6284 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6285 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6286 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6287 to the function's definition.
6288 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6292 * env.el: Don't use CL.
6294 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6296 Support higher-resolution time stamps (Bug#9000).
6298 * calendar/time-date.el (with-decoded-time-value): New arg
6299 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6300 (encode-time-value): New optional arg PICO. New type 3.
6301 (time-to-seconds) [!float-time]: Support the new picoseconds
6302 component if it's used.
6303 (seconds-to-time, time-subtract, time-add):
6304 Support ps-resolution time stamps as well.
6306 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6307 (timerp): Timer vectors now have length 9, not 8.
6308 (timer--time): Support new-style (4-part) time stamps.
6309 (timer-next-integral-multiple-of-time): Time stamps now have
6310 picosecond resolution, so take a bit more care about rounding.
6311 (timer-relative-time, timer-inc-time): New optional arg psecs.
6312 (timer-set-time-with-usecs): Set psecs to 0.
6313 (timer--activate): Check psecs component, too.
6315 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6317 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6320 Move the non-essential binding to the post/pre-command-hook where it is
6321 more obviously correct.
6323 * subr.el (read-passwd): Don't use a history at all.
6324 * savehist.el (savehist-save): Remove password saved accidentally
6325 because of the above bug.
6327 2012-06-22 Bastien Guerry <bzg@gnu.org>
6329 * files.el (toggle-read-only): Display a message telling whether
6330 the buffer is read-only or not (bug#11726).
6332 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6334 * emacs-lisp/gv.el: New file.
6335 * subr.el (push, pop): Extend to generalized variables.
6336 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6337 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6338 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6339 gv-define-simple-setter, and gv-define-expander.
6340 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6341 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6342 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6343 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6344 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6346 (cl-defstruct): Don't define setf-method any more.
6347 * emacs-lisp/cl.el (flet): Don't autoload.
6348 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6349 (define-setf-expander, defsetf, define-modify-macro)
6350 (cl-struct-setf-expander): Move from cl-lib.el.
6351 * emacs-lisp/syntax.el:
6352 * emacs-lisp/ewoc.el:
6353 * emacs-lisp/smie.el:
6354 * emacs-lisp/cconv.el:
6355 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6356 (timer--time): Use gv-define-simple-setter.
6357 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6358 to avoid coding-system problems in subr.el. Adjust all users.
6359 (macroexp--maxsize, macroexp-small-p): New functions.
6360 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6361 * scroll-bar.el (scroll-bar-mode):
6362 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6363 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6364 * winner.el (winner-configuration, winner-make-point-alist)
6365 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6366 * files.el (locate-file-completion-table): Avoid list*.
6368 2012-06-22 Chong Yidong <cyd@gnu.org>
6370 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6371 (dired-create-files): Doc fix (Bug#11329).
6372 (dired-do-copy): Doc fix (Bug#11334).
6373 (dired-mark-read-string): Doc fix (Bug#11553).
6375 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6376 Doc fix (Bug#11326).
6377 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6378 (dired-dwim-target): Doc fix.
6380 * wdired.el (wdired-mode): Doc fix.
6382 2012-06-22 Glenn Morris <rgm@gnu.org>
6384 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6385 (pcmpl-rpm-cache-stamp-file): New constant.
6386 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6387 (pcmpl-rpm-packages): Optionally cache list of packages.
6389 * pcmpl-rpm.el (pcmpl-rpm): New group.
6390 (pcmpl-rpm-query-options): New option.
6391 (pcmpl-rpm-packages): No need to inline it.
6392 Use pcmpl-rpm-query-options.
6394 * calendar/calendar.el (calendar-in-read-only-buffer):
6395 Avoid some needless mode changes.
6397 2012-06-21 Chong Yidong <cyd@gnu.org>
6399 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6400 (desktop-path): Remove . from the default value (Bug#10977).
6401 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6403 2012-06-20 Chong Yidong <cyd@gnu.org>
6405 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6407 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6409 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6412 2012-06-20 Chong Yidong <cyd@gnu.org>
6414 * term.el (term-window-width): Handle the case of a missing right
6416 (term-check-size): Use window-text-height (Bug#5445).
6417 (term-mode): Use define-derived-mode. Minor cleanups.
6418 Set font-lock-defaults (Bug#7692).
6419 (term-move-columns, term-insert-char, term-emulate-terminal)
6420 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6422 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6424 * net/ange-ftp.el (ange-ftp-get-passwd):
6425 Bind `enable-recursive-minibuffers'.
6426 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6428 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6430 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6432 2012-06-19 Glenn Morris <rgm@gnu.org>
6434 * progmodes/python.el (python-mode): Derive from prog-mode.
6436 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6438 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6439 (edt-user-menu-bar-update-buffers): New functions.
6440 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6442 2012-06-19 Chong Yidong <cyd@gnu.org>
6444 * subr.el (with-selected-window): Preserve the selected window's
6445 terminal's top-frame (Bug#4702).
6447 * window.el (save-selected-window): Likewise.
6449 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * progmodes/python.el (python-rx-constituents): Move backquote.
6452 (python-skeleton-define, python-define-auxiliary-skeleton):
6455 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6457 * minibuffer.el (read-file-name-default): Revert the patch from
6460 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6462 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6463 (pcase--u1, pcase--q1): Don't use apply-partially.
6465 2012-06-18 Glenn Morris <rgm@gnu.org>
6467 * progmodes/python.el (python-proc, python-buffer)
6468 (python-send-receive, python-send-string): Fix obsolete versions.
6470 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6472 * window.el (special-display-p): Completely remove stringp
6473 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6475 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6477 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6479 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6481 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6482 * net/tramp-sh.el (tramp-maybe-open-connection):
6483 Throw if `non-essential' is non-nil.
6485 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6487 * window.el (special-display-p): Signal an error if BUFFER-NAME
6488 is not a string (Bug#11713).
6490 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6492 * progmodes/python.el (python-info-beginning-of-backslash):
6493 Rename from python-info-beginning-of-backlash, as a spelling fix.
6495 2012-06-17 Chong Yidong <cyd@gnu.org>
6497 * term.el (term-emulate-terminal): If term-check-size is called,
6498 move point to the process mark without resetting point (Bug#4635).
6500 2012-06-17 Glenn Morris <rgm@gnu.org>
6502 * international/mule-cmds.el (mule-menu-keymap)
6503 (set-language-environment, set-locale-environment): Doc tweaks.
6505 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6507 * cus-face.el (custom-face-attributes): Add wave-style underline
6509 * faces.el (set-face-attribute): Update docstring to describe
6510 wave-style underline attribute.
6512 2012-06-16 Chong Yidong <cyd@gnu.org>
6514 * term/xterm.el (terminal-init-xterm): Discard input before
6515 querying background mode (Bug#10959).
6517 2012-06-16 Stefan Merten <smerten@oekonux.de>
6519 * textmodes/rst.el: Added and corrected some comments.
6520 (rst-re-alist-def): Improve symbol syntax.
6521 (rst-mode-syntax-table): Correct syntax entries.
6522 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6523 (rst-official-version, rst-official-cvs-rev): Update version
6526 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6528 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6529 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6531 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6533 * progmodes/python.el: New python.el merge.
6534 (python-guess-indent): Obsolete var.
6535 (python-indent-guess-indent-offset): New defcustom.
6536 (python-indent): Obsolete var.
6537 (python-indent-offset): New defcustom.
6538 (python-python-command, python-jython-command): Delete var.
6539 (python-shell-interpreter): New defcustom.
6540 (python-pdbtrack-do-tracking-p): Delete var.
6541 (python-pdbtrack-activate): New defcustom.
6542 (python-use-skeletons): Obsolete var.
6543 (python-skeleton-autoinsert): New defcustom.
6544 (inferior-python-filter-regexp, python-continuation-offset)
6545 (python-honour-comment-indentation, python-indent-string-contents)
6546 (python-jython-packages, python-mode-hook)
6547 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6548 (python-shell-prompt-alist)
6549 (python-source-modes): Delete defcustoms.
6550 (python-check-buffer-name, python-eldoc-setup-code)
6551 (python-eldoc-string-code, python-ffap-setup-code)
6552 (python-ffap-string-code, python-fill-comment-function)
6553 (python-fill-decorator-function, python-fill-paren-function)
6554 (python-fill-string-function, python-imenu-include-defun-type)
6555 (python-imenu-make-tree, python-imenu-subtree-root-label)
6556 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6557 (python-shell-compilation-regexp-alist)
6558 (python-shell-completion-module-string-code)
6559 (python-shell-completion-pdb-string-code)
6560 (python-shell-completion-setup-code)
6561 (python-shell-completion-string-code)
6562 (python-shell-enable-font-lock, python-shell-exec-path)
6563 (python-shell-extra-pythonpaths)
6564 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6565 (python-shell-process-environment)
6566 (python-shell-prompt-block-regexp)
6567 (python-shell-prompt-output-regexp)
6568 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6569 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6570 (python-shell-virtualenv-path): New defcustoms.
6571 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6572 (inferior-python-mode-syntax-table, python--prompt-regexp)
6573 (python-buffer, python-command python-python-command)
6574 (python-default-template, python-imports, python-indent-index)
6575 (python-indent-list, python-indent-list-length)
6576 (python-mode-running, python-pdbtrack-is-tracking-p)
6577 (python-preoutput-continuation, python-preoutput-leftover)
6578 (python-preoutput-result, python-preoutput-skip-next-prompt)
6579 (python-prev-dir/file, python-recursing)
6580 (python-saved-check-command, python-version-checked)
6581 (python-which-func-length-limit)
6582 (view-return-to-alist): Delete vars.
6583 (python-check-custom-command, python-dotty-syntax-table)
6584 (python-imenu-index-alist, python-indent-current-level)
6585 (python-indent-dedenters, python-indent-levels)
6586 (python-nav-beginning-of-defun-regexp)
6587 (python-nav-list-defun-positions-cache)
6588 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6589 (python-shell-internal-buffer)
6590 (python-skeleton-available): New vars.
6591 (def-python-skeleton): Delete macro.
6592 (python-skeleton-define): New macro.
6593 (python-define-auxiliary-skeleton, python-rx): New macros.
6594 (python-insert-class): Delete command.
6595 (python-skeleton-class): New command.
6596 (python-insert-def): Delete command.
6597 (python-skeleton-def): New command.
6598 (python-insert-for): Delete command.
6599 (python-skeleton-for): New command.
6600 (python-insert-if): Delete command.
6601 (python-skeleton-if): New command.
6602 (python-insert-try/except, python-insert-try/finally): Delete commands.
6603 (python-skeleton-try): New command.
6604 (python-insert-while): Delete command.
6605 (python-skeleton-while): New command.
6606 (python-backspace): Delete command.
6607 (python-indent-dedent-line-backspace): New command.
6608 (python-electric-colon): Delete command.
6609 (python-indent-electric-colon): New command.
6610 (python-guess-indent): Delete command.
6611 (python-indent-guess-indent-offset): New command.
6612 (python-shift-left): Delete command.
6613 (python-indent-shift-left): New command.
6614 (python-shift-right): Delete command.
6615 (python-indent-shift-right): New command.
6616 (python-find-function): Delete command.
6617 (python-nav-jump-to-defun): New command.
6618 (python-next-statement): Delete command.
6619 (python-nav-forward-sentence): New command.
6620 (python-previous-statement): Delete command.
6621 (python-nav-backward-sentence): New command.
6622 (python-fill-paragraph): Delete command.
6623 (python-fill-paragraph-function): New command.
6624 (python-send-buffer): Delete command.
6625 (python-shell-send-buffer): New command.
6626 (python-send-defun): Delete command.
6627 (python-shell-send-defun): New command.
6628 (python-send-region, python-send-region-and-go): Delete commands.
6629 (python-shell-send-region)
6630 (python-shell-switch-to-shell): New commands.
6631 (python-send-string): Delete command.
6632 (python-shell-send-string): New command.
6633 (python-switch-to-python): Delete command.
6634 (python-shell-switch-to-shell): New command.
6635 (python-describe-symbol): Delete command.
6636 (python-eldoc-at-point): New command.
6637 (python--set-prompt-regexp, python-args-to-list)
6638 (python-after-info-look, python-check-version)
6639 (python-check-comint-prompt, python-find-imports)
6640 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6641 (python-unload-function, python-expand-template)
6642 (python-maybe-jython, python-preoutput-filter)
6643 (python-pdbtrack-get-source-buffer)
6644 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6645 (python-pdbtrack-toggle-stack-tracking)
6646 (python-pdbtrack-track-stack-file, python-initial-text)
6647 (python-first-word, python-comment-line-p, python-send-command)
6648 (python-setup-brm, python-sentinel, python-set-proc)
6649 (python-skip-out, python-input-filter, python-outdent-p)
6650 (python-outline-level, python-backslash-continuation-line-p)
6651 (python-end-of-block, python-end-of-statement, python-mark-block)
6652 (python-beginning-of-block, python-beginning-of-statement)
6653 (python-blank-line-p, python-beginning-of-string)
6654 (python-open-block-statement-p): Delete functions.
6655 (python-indent-line, python-indent-line-1): Delete functions.
6656 (python-indent-line): New function.
6657 (python-indentation-levels): Delete function.
6658 (python-indent-calculate-levels): New function.
6659 (python-proc): Delete function.
6660 (python-shell-get-process): New function.
6661 (python-send-receive): Delete function.
6662 (python-shell-send-string-no-output): New function.
6663 (python-module-path): Delete function.
6664 (python-ffap-module-path): New function.
6665 (python-completion-at-point)
6666 (python-symbol-completions): Delete functions.
6667 (python-completion-complete-at-point): New function.
6668 (python-load-file): Delete function.
6669 (python-shell-send-file): New function.
6670 (python-calculate-indentation): Delete function.
6671 (python-indent-calculate-indentation): New function.
6672 (python-skip-comments/blanks): Delete function.
6673 (python-util-forward-comment): New function.
6674 (python-continuation-line-p): Delete function.
6675 (python-info-continuation-line-p): New function.
6676 (python-which-func, python-current-defun): Delete function.
6677 (python-info-current-defun): New function.
6678 (python-beginning-of-defun): Delete function.
6679 (python-nav-beginning-of-defun): New function.
6680 (python-close-block-statement-p)
6681 (python-block-end-p): Delete function.
6682 (python-info-closing-block): New function.
6683 (python-comint-output-filter-function)
6684 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6685 (python-fill-comment, python-fill-decorator, python-fill-paren)
6686 (python-fill-string, python-imenu-make-element-tree)
6687 (python-imenu-make-tree, python-imenu-tree-assoc)
6688 (python-indent-context, python-indent-dedent-line)
6689 (python-indent-line-function)
6690 (python-indent-post-self-insert-function)
6691 (python-indent-toggle-levels)
6692 (python-info-assignment-continuation-line-p)
6693 (python-info-beginning-of-backlash)
6694 (python-info-block-continuation-line-p)
6695 (python-info-closing-block-message)
6696 (python-info-line-ends-backslash-p)
6697 (python-info-looking-at-beginning-of-defun)
6698 (python-info-ppss-context, python-info-ppss-context-type)
6699 (python-nav-list-defun-positions, python-nav-read-defun)
6700 (python-nav-sentence-end, python-nav-sentence-start)
6701 (python-pdbtrack-comint-output-filter-function)
6702 (python-pdbtrack-set-tracked-buffer)
6703 (python-shell-calculate-exec-path)
6704 (python-shell-calculate-process-environment)
6705 (python-shell-completion--do-completion-at-point)
6706 (python-shell-completion--get-completions)
6707 (python-shell-completion-complete-at-point)
6708 (python-shell-completion-complete-or-indent)
6709 (python-shell-get-or-create-process)
6710 (python-shell-get-process-name)
6711 (python-shell-internal-get-or-create-process)
6712 (python-shell-internal-get-process-name)
6713 (python-shell-internal-send-string, python-shell-make-comint)
6714 (python-shell-parse-command, python-shell-send-setup-code)
6715 (python-skeleton-add-menu-items)
6716 (python-util-clone-local-variables, python-util-position)
6717 (run-python-internal, python-indentation-levels)
6718 (python-nav-beginning-of-defun)
6719 (python-completion-complete-at-point): New functions.
6720 (run-python): Change arguments. New API requirements.
6722 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6724 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6727 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6728 (macroexp--expand-all): Use it.
6730 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6731 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6732 Use `cl-function' instead.
6734 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6736 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6737 Suggested by Stefan Monnier while discussing bug#11657.
6739 2012-06-14 Sam Steingold <sds@gnu.org>
6741 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6743 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6745 * play/doctor.el (doctor-doc): Remove parameter and use
6746 doctor-sent instead of sent.
6747 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6749 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * files.el: Require cl-lib.
6752 (file-name-non-special): Replace case -> cl-case.
6754 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6756 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6757 mapping from #' to function*.
6759 2012-06-13 Chong Yidong <cyd@gnu.org>
6761 * mouse.el (mouse-drag-track): Do not set the mark if the user
6762 releases the mouse without selecting anything (Bug#11588).
6764 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6767 as well (bug#11646).
6769 * loadup.el: Count byte-code functions as well.
6771 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6772 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6774 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6775 (bug#11649). Add cl-defun and cl-defmacro.
6777 2012-06-13 Drew Adams <drew.adams@oracle.com>
6779 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6782 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6784 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6785 Otherwise, it blocks in batch mode.
6787 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6789 * help-mode.el (bookmark-make-record-default): Declare.
6791 2012-06-13 Chong Yidong <cyd@gnu.org>
6793 * emacs-lisp/package.el (list-packages): Compute a list of
6794 packages that are newly-available since the last list-packages
6796 (package-menu--new-package-list): New var.
6797 (package-menu--generate, package-menu--print-info)
6798 (package-menu--status-predicate, package-menu-mark-install):
6799 Handle new status label "new".
6801 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6804 conversion to backquotes.
6806 2012-06-12 Chong Yidong <cyd@gnu.org>
6808 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6809 Rename from gud-inhibit-global-bindings.
6811 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6813 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6814 hook from nxml-glyph-set-hook.
6816 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6819 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6821 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6822 Convert to defcustom.
6824 2012-06-12 Drew Adams <drew.adams@oracle.com>
6826 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6828 (help-mode): Use them.
6830 2012-06-11 Glenn Morris <rgm@gnu.org>
6832 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6833 Use preprocessor face for directives.
6834 (fortran-directive-re): Doc fix.
6836 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6839 conversion to backquotes (bug#11652).
6841 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6842 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6843 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6844 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6845 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6846 (cl-ninth, cl-tenth): Mark them as inlinable.
6847 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6848 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6849 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6850 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6851 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6852 (cl-list*, cl-adjoin): Don't put an autoload manually.
6853 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6854 (cl--compiler-macro-list*): Add autoload cookie.
6855 (cl--compiler-macro-cXXr): New function.
6857 * help-fns.el (help-fns--compiler-macro): New function extracted from
6858 describe-function-1; follow aliases and use `compiler-macro' property.
6859 (describe-function-1): Use it.
6861 2012-06-11 Chong Yidong <cyd@gnu.org>
6863 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6864 is uninstalled, if imagemagick is installed.
6866 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * emacs-lisp/cl-lib.el: Use lexical-binding.
6869 (cl-map-extents, cl-maclisp-member): Remove.
6870 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6871 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6872 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6873 * emacs-lisp/cl-extra.el: Use lexical-binding.
6874 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6875 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6876 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6877 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6878 * emacs-lisp/cl-seq.el: Use lexical-binding.
6879 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6880 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6881 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6882 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6883 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6886 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6888 Sync with Tramp 2.2.6-pre.
6890 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6891 `print-length' and `print-level' to nil, in order to avoid
6892 truncation. Reported by Christopher Schmidt
6893 <christopher@ristopher.com>.
6895 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6897 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6899 (tramp-compat-copy-directory): Add optional argument
6900 COPY-CONTENTS. It is not handled yet.
6902 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6903 (tramp-ftp-file-name-p): Simplify.
6905 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6906 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6909 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6910 (tramp-methods): Do not use `tramp-password-end-of-line'.
6911 (tramp-completion-function-alist-putty): Handle UNIX case.
6912 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6913 (tramp-do-file-attributes-with-stat)
6914 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6915 gid as real numbers. They could run out of integer range on cygwin.
6916 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6917 (tramp-sh-handle-expand-file-name): Handle hops.
6918 (tramp-open-connection-setup-interactive-shell):
6919 Use `tramp-cleanup'. Move check for busyboxes ...
6920 (tramp-find-shell): ... here. Simplify implementation.
6921 Set "remote-shell" property also for alternative shells.
6922 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6923 If failing, a regular file would be written otherwise.
6924 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6925 (tramp-find-inline-encoding): Cache the coding commands in the
6926 process cache. Apply test command on the remote side, if defined.
6927 (tramp-find-inline-compress): Cache the compress commands in the
6929 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6930 when requested. Handle hops.
6931 (tramp-current-connection): New defvar.
6932 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6933 Throw `suppress', if there was a failed connection shortly before.
6934 Handle user interrupt. (Bug#10187)
6935 (tramp-get-inline-compress, tramp-get-inline-coding):
6936 Read connection properties from the process cache.
6938 * net/tramp-smb.el (tramp-smb-server-version)
6939 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6941 (tramp-smb-prompt): Extend for powershell prompt.
6942 (tramp-smb-file-name-handler-alist): Add handlers for
6943 `process-file', `shell-command' and `start-file-process'.
6944 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6945 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6946 (tramp-smb-file-name-p): Simplify.
6947 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6948 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6949 (tramp-smb-shell-quote-argument): New defuns.
6950 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6951 Implement using "tar". By this, time-stamps are preserved.
6952 (tramp-smb-handle-copy-file): Handle also the case of directories.
6953 (tramp-smb-do-file-attributes-with-stat)
6954 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6955 Use `tramp-get-connection-buffer').
6956 (tramp-smb-handle-rename-file): Use "rename", when source and
6957 target are on the same share.
6958 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6959 Use `tramp-smb-server-version'.
6960 (tramp-smb-wait-for-output): Remove prompt.
6962 * net/tramp.el (top): Require 'cl.
6963 (tramp-methods, tramp-rsh-end-of-line):
6964 Remove `tramp-password-end-of-line' from docstring.
6965 (tramp-save-ad-hoc-proxies): New defcustom.
6966 (tramp-completion-function-alist): Adapt docstring.
6967 (tramp-default-password-end-of-line): Remove defcustom.
6968 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6969 (tramp-user-regexp, tramp-file-name-regexp-unified)
6970 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6971 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6972 (tramp-remote-file-name-spec-regexp): New defconst.
6973 (tramp-file-name-structure): Extend structure for hops.
6974 (tramp-get-method-parameter): Move up.
6975 (tramp-file-name-p, tramp-dissect-file-name)
6976 (with-parsed-tramp-file-name): Handle hops.
6977 (tramp-file-name-hop): New defun.
6978 (tramp-make-tramp-file-name): New optional arg HOP.
6979 (tramp-message-show-progress-reporter-message): New defvar.
6980 (tramp-with-progress-reporter): Use it. We cannot use
6981 `tramp-message-show-message' here, because this suppresses also
6983 (tramp-error-with-buffer): Suppress buffer view, if
6984 `tramp-message-show-message' is nil.
6985 Use `tramp-get-connection-buffer'.
6986 (tramp-cleanup): New defun.
6987 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6988 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6990 (tramp-completion-handle-file-name-all-completions): Handle hops.
6991 Fix an error when called from ido.
6992 (tramp-completion-dissect-file-name): Use better local variable
6993 name. Add hop to the vector.
6994 (tramp-handle-insert-file-contents): Use progress-reporter for the
6996 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6998 (tramp-check-for-regexp): Simplify search.
6999 (tramp-enter-password): Remove it. Move implementation ...
7000 (tramp-action-password): ... here.
7001 (tramp-mode-string-to-int, tramp-local-host-p)
7002 (tramp-make-tramp-temp-file, tramp-read-passwd)
7003 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7004 Set tramp-autoload cookie.
7006 * net/trampver.el: Update release number.
7008 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7009 Michael Albinus <michael.albinus@gmx.de>
7011 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7012 (tramp-parse-group, tramp-parse-file)
7013 (tramp-parse-shostkeys-sknownhosts): New defuns.
7014 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7015 (tramp-parse-shosts-group, tramp-parse-sconfig)
7016 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7017 (tramp-parse-sknownhosts, tramp-parse-hosts)
7018 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7020 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7021 (tramp-parse-putty-group): Don't narrow.
7022 (tramp-parse-putty): Make a loop.
7023 (tramp-file-name-handler): Catch the `suppress' signal.
7025 2012-06-11 Chong Yidong <cyd@gnu.org>
7027 * image.el (imagemagick-register-types): Put the ImageMagick entry
7028 at the end of image-type-file-name-regexps.
7030 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7032 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7033 (pcase, pcase-let*, pcase-dolist): Use them.
7035 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7037 * emacs-lisp/pcase.el (pcase--let*): New function.
7038 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7039 (pcase--expand): Use macroexp-let².
7041 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7043 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7044 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7045 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7046 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7047 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7048 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7050 2012-06-10 Glenn Morris <rgm@gnu.org>
7052 * mail/rmail.el (rmail-yank-current-message): Leave point at
7053 correct position. (Bug#11660)
7055 2012-06-10 Chong Yidong <cyd@gnu.org>
7057 * allout-widgets.el: Fix code header.
7059 2012-06-10 Chong Yidong <cyd@gnu.org>
7061 * cus-edit.el (customize-changed-options-previous-release):
7064 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7066 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7068 2012-06-09 Chong Yidong <cyd@gnu.org>
7070 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7072 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7074 * window.el (special-display-popup-frame): Don't use
7075 window--display-buffer (Bug#11651).
7077 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7079 Fix parallel builds: make sure loaddefs.el is not being written
7080 while Lisp files are compiled.
7081 (compile): Don't depend on 'mh-autoloads'.
7082 (compile-CMD, compile-SH): Depend on 'autoloads'.
7083 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7085 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7087 2012-06-09 Chong Yidong <cyd@gnu.org>
7089 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7090 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7091 Doc fixes (Bug#11225).
7093 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7096 a function if there's a clear indication that it has a compiler-macro.
7097 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7098 (macro-declarations-alist): Add arglist to declaration functions.
7099 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7100 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7101 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7102 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7103 Also add autoload to find the compiler macro.
7104 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7105 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7106 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7107 (cl--compiler-macro-get): New functions, replacing calls to
7108 cl-define-compiler-macro.
7109 (cl-typep) [compiler-macro]: Use macroexp-let².
7111 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7113 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7114 string properly, fixes Bug#11473.
7116 2012-06-08 Chong Yidong <cyd@gnu.org>
7118 * faces.el (set-face-attribute): Doc fix.
7119 (modify-face): Don't use :bold and :italic.
7120 (error, warning, success): Tweak definitions.
7122 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7123 (custom-modified, custom-set, custom-changed, custom-themed)
7124 (custom-saved, custom-button, custom-button-mouse)
7125 (custom-button-pressed, custom-state, custom-comment-tag)
7126 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7127 (custom-group-subtitle): Use new-style face specs.
7128 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7129 (custom-set-face, custom-changed-face, custom-saved-face)
7130 (custom-button-face, custom-button-pressed-face)
7131 (custom-documentation-face, custom-state-face)
7132 (custom-comment-face, custom-comment-tag-face)
7133 (custom-variable-tag-face, custom-variable-button-face)
7134 (custom-face-tag-face, custom-group-tag-face-1)
7135 (custom-group-tag-face): Remove obsolete face alias.
7137 * epa.el (epa-validity-high, epa-validity-medium)
7138 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7139 (epa-field-name, epa-field-body):
7140 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7141 (font-lock-keyword-face, font-lock-builtin-face)
7142 (font-lock-function-name-face, font-lock-variable-name-face)
7143 (font-lock-type-face, font-lock-constant-face):
7144 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7145 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7146 * speedbar.el (speedbar-button-face, speedbar-file-face)
7147 (speedbar-directory-face, speedbar-tag-face)
7148 (speedbar-selected-face, speedbar-highlight-face)
7149 (speedbar-separator-face):
7150 * whitespace.el (whitespace-newline, whitespace-space)
7151 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7152 (whitespace-line, whitespace-space-before-tab)
7153 (whitespace-space-after-tab, whitespace-indentation)
7155 * emulation/cua-base.el (cua-global-mark):
7156 * eshell/em-prompt.el (eshell-prompt):
7157 * net/newst-plainview.el (newsticker-new-item-face)
7158 (newsticker-old-item-face, newsticker-immortal-item-face)
7159 (newsticker-obsolete-item-face, newsticker-date-face)
7160 (newsticker-statistics-face, newsticker-default-face):
7161 * net/newst-reader.el (newsticker-feed-face)
7162 (newsticker-extra-face, newsticker-enclosure-face):
7163 * net/newst-treeview.el (newsticker-treeview-face)
7164 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7165 (newsticker-treeview-immortal-face)
7166 (newsticker-treeview-obsolete-face)
7167 (newsticker-treeview-selection-face):
7168 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7169 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7170 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7171 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7172 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7173 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7174 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7176 * progmodes/vera-mode.el (vera-font-lock-number)
7177 (vera-font-lock-function, vera-font-lock-interface):
7178 * textmodes/table.el (table-cell): Use new-style face specs, and
7179 don't use the old :bold and :italic attributes.
7181 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7182 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7183 (ebrowse-member-class, ebrowse-progress): Likewise.
7184 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7185 (ebrowse-file-name-face, ebrowse-default-face)
7186 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7187 (ebrowse-progress-face): Remove obsolete faces.
7189 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7190 Inherit from error and warning faces respectively.
7192 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7194 (flyspell-incorrect-face, flyspell-duplicate-face):
7195 Remove obsolete aliases.
7197 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7199 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7202 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * startup.el (argv, argi): Make lexically scoped.
7205 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7206 * emacs-lisp/cl-macs.el: Use lexical-binding.
7207 Rename cl-bind-* to cl--bind-*.
7208 * files.el: Don't require `cl' since it doesn't use it.
7209 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7211 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7213 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7214 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7215 instead of calling external sort utility.
7216 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7218 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7220 * descr-text.el (describe-char): Mention how to insert the
7221 character, if the current input method doesn't support it.
7222 See the discussion in this thread for the details:
7223 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7225 2012-06-08 Sam Steingold <sds@gnu.org>
7227 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7228 XF86Back to previous-buffer.
7229 (minibuffer-local-map): Bind them to next-history-element and
7230 previous-history-element respectively.
7231 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7232 help-go-back respectively.
7233 * info.el (Info-mode-map): Bind them to Info-history-forward and
7234 Info-history-back respectively.
7235 These are the keys next to Up on the ThinkPad keyboard.
7237 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7239 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7240 * emacs-lisp/cl-macs.el: Provide itself.
7241 (cl--labels-convert-cache): New var.
7242 (cl--labels-convert): New function.
7243 (cl-flet, cl-labels): New implementation with new semantics, relying on
7245 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7246 (cl-closure-vars, cl--function-convert-cache)
7247 (cl--function-convert): Move from cl-macs.el.
7248 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7249 rename by removing the "cl-" prefix.
7250 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7252 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7255 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7256 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7257 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7258 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7259 (cl-hash-table-count): Add old compatibility aliases.
7261 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7262 Use macroexpand-all-environment instead.
7263 (cl--old-macroexpand): New var.
7264 (cl--sm-macroexpand): New function.
7265 (cl-symbol-macrolet): Use it during macro expansion.
7266 (cl--function-convert-cache): New var.
7267 (cl--function-convert): New function, extracted from
7269 (cl-lexical-let): Use it.
7271 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7272 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7273 (cl-member): Remove old alias.
7275 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7276 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7277 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7278 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7279 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7280 (cl-macroexpand-cmacs): Remove var.
7281 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7282 Use macroexpand-all instead.
7284 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7287 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7288 (macroexp-copyable-p): New functions and macros.
7289 * emacs-lisp/edebug.el (edebug-unwrap):
7290 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7291 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7292 (pcase--let*): Remove.
7293 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7294 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7295 macroexp-const-p instead.
7296 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7298 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7299 instead of "cl-" for internal definitions. Use macroexp-const-p.
7300 (cl-old-bc-file-form): Remove var.
7301 (cl-const-exprs-p): Remove fun.
7302 (cl-labels, cl-macrolet): Use backquote.
7303 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7304 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7305 (cl-define-setf-expander): Rename from cl-define-setf-method.
7306 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7308 * international/mule-cmds.el: Don't require CL.
7309 (view-hello-file): Don't use `letf'.
7311 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * tmm.el (tmm-prompt): Use string-prefix-p.
7314 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7315 (tmm-add-prompt): Use minibuffer-completion-help.
7316 (tmm-delete-map): Remove.
7318 * subr.el (kbd): Make it its own function.
7320 2012-06-07 Stefan Merten <smerten@oekonux.de>
7322 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7323 Silence compiler warnings. Fix versions.
7324 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7325 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7326 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7327 (rst-package-emacs-version-alist): Correct Emacs version to
7328 represent major merge with upstream.
7329 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7331 2012-06-06 Glenn Morris <rgm@gnu.org>
7333 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7334 Only print environment variables if set.
7336 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7339 (macroexp--cons): Rename from maybe-cons.
7340 (macroexp--accumulate): Rename from macroexp-accumulate.
7341 (macroexp--all-forms): Rename from macroexpand-all-forms.
7342 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7343 (macroexp--expand-all): Rename from macroexpand-all-1.
7345 2012-06-06 Sam Steingold <sds@gnu.org>
7347 * calendar/calendar.el (calendar-in-read-only-buffer):
7348 Call `special-mode' to enable the standard read-only keybindings.
7350 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7353 with "loading" messages (bug#11635).
7355 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7357 * files.el (enable-remote-dir-locals): New option.
7358 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7360 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7361 Ensure, that the temp directory is local.
7363 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7364 `temporary-file-directory'.
7366 * progmodes/python.el (python-send-region): Ensure, that the
7367 temporary file is created also in the remote case.
7369 2012-06-06 Glenn Morris <rgm@gnu.org>
7371 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7372 (vc-rcs-update-changelog): Use it.
7374 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7376 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7377 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7378 (vc-sccs-diff): Replace use of the external vcdiff script.
7380 2012-06-05 Glenn Morris <rgm@gnu.org>
7382 * ledit.el: Move to obsolete/.
7384 2012-06-05 Sam Steingold <sds@gnu.org>
7386 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7389 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * emacs-lisp/cust-print.el: Move to obsolete.
7393 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7394 compiler-macro expansion.
7396 Add native compiler-macro support.
7397 * emacs-lisp/macroexp.el (macroexpand-all-1):
7398 Support compiler-macros directly. Properly follow aliases and apply
7399 the compiler macros more thoroughly.
7400 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7401 macroexpand now properly follows aliases.
7402 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7403 (cl-compiler-macroexpand): Use new prop.
7404 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7406 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7408 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7410 * window.el (get-lru-window, get-mru-window, get-largest-window):
7411 New argument NOT-SELECTED to avoid picking the selected window.
7412 (window--display-buffer-1, window--display-buffer-2): Replace by
7413 new function window--display-buffer
7414 (display-buffer-same-window, display-buffer-reuse-window)
7415 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7416 Use window--display-buffer.
7417 (display-buffer-use-some-window): Remove temporary dedication
7418 hack by calling get-lru-window and get-largest-window with
7419 NOT-SELECTED argument non-nil. Call window--display-buffer.
7421 2012-06-05 Glenn Morris <rgm@gnu.org>
7423 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7424 Replace external vcdiff script.
7426 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7430 2012-06-04 Chong Yidong <cyd@gnu.org>
7432 * image.el (imagemagick-types-inhibit): Revert last change.
7434 (imagemagick-enabled-types): Remove CIN and EPS*.
7436 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * emacs-lisp/cl-lib.el: Rename from cl.el.
7439 * emacs-lisp/cl.el: New compatibility file.
7440 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7441 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7442 to obey the "cl-" prefix.
7443 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7445 2012-06-03 Glenn Morris <rgm@gnu.org>
7447 * emacs-lisp/authors.el (authors-aliases): Addition.
7449 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7452 2012-06-03 Stefan Merten <smerten@oekonux.de>
7454 * textmodes/rst.el: Add comments.
7455 (rst-transition, rst-adornment): New faces.
7456 (rst-adornment-faces-alist): Make default safe to reevaluate.
7458 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7459 Improve customization tags.
7460 (rst-define-level-faces): Clarify meaning.
7462 2012-06-03 Chong Yidong <cyd@gnu.org>
7464 * progmodes/compile.el (compilation-mode-line-fail)
7465 (compilation-mode-line-run, compilation-mode-line-exit):
7467 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7469 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7471 * progmodes/which-func.el (which-func-update-ediff-windows):
7472 New function. Use it in ediff-select-hook (Bug#11478).
7474 2012-06-03 Chong Yidong <cyd@gnu.org>
7476 * bindings.el: Remove explicit help text from format-mode-line.
7477 It is now supplied by mode-line-default-help-echo.
7478 (mode-line-front-space, mode-line-end-spaces)
7479 (mode-line-misc-info): New variables.
7480 (mode-line-modes, mode-line-position): Move the default value to
7481 the variable definition.
7482 (mode-line-default-help-echo): New defcustom.
7483 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7484 (mode-line-modified-help-echo): New functions.
7485 (mode-line-mule-info, mode-line-modified): Use them.
7486 (mode-line-eol-desc, propertized-buffer-identification):
7487 Consistency fixes for help text.
7488 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7489 set-buffer-file-coding-system (Bug#289).
7490 (mode-line-mule-info-help-echo): Update help text.
7492 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7494 * simple.el (execute-extended-command): Set real-this-command
7497 2012-06-02 Chong Yidong <cyd@gnu.org>
7499 Remove incorrect uses of "modeline" in comments, docstrings, and
7500 function/variable names (Bug#10329).
7502 * cus-edit.el (mode-line):
7503 * dframe.el (dframe-mouse-hscroll):
7504 * emacs-lisp/re-builder.el:
7505 * emacs-lisp/easy-mmode.el (define-minor-mode):
7506 * frame.el (set-frame-name):
7507 * help.el (lookup-minor-mode-from-indicator):
7508 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7509 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7510 (c-toggle-hungry-state):
7511 * progmodes/antlr-mode.el (antlr-language-alist):
7512 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7513 * progmodes/vhdl-mode.el (vhdl-mode):
7514 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7515 * term/ns-win.el (ns-face-at-pos):
7516 * term/sup-mouse.el (sup-mouse-report):
7517 * textmodes/flyspell.el (flyspell-mode-line-string):
7518 * textmodes/ispell.el (ispell-highlight-face):
7519 * textmodes/reftex-global.el:
7520 * vc/vc-arch.el (vc-arch-mode-line-string):
7521 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7522 * vc/vc-git.el (vc-git-mode-line-string):
7523 * vc/vc-hooks.el (vc-display-status)
7524 (vc-default-mode-line-string):
7525 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7527 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7529 * dired.el (dired-sort-set-mode-line): Rename from
7530 dired-sort-set-modeline. All callers changed.
7532 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7533 eshell-status-in-modeline.
7535 * foldout.el (foldout-mode-line-string): Rename from
7536 foldout-modeline-string. All callers changed.
7537 (foldout-update-mode-line): Rename from foldout-update-modeline.
7539 * subr.el (redraw-modeline): Make into obsolete alias.
7541 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7542 timeclock-modeline-display. Make old name an alias.
7543 (timeclock-update-mode-line): Likewise. All callers changed.
7544 (timeclock-mode-line-display): No need to check before using
7546 (timeclock-relative, timeclock-day-over-hook)
7547 (timeclock-use-elapsed, timeclock-mode-string)
7548 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7550 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7551 crisp-mode-modeline-string.
7553 * play/solitaire.el (solitaire-build-mode-line): Rename from
7554 solitaire-build-modeline. All callers changed.
7556 * play/zone.el (zone-hiding-mode-line): Rename from
7557 zone-hiding-modeline. All callers changed.
7558 (zone): Remove unusued `modeline-hidden-level' property.
7560 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7561 xscheme-modeline-initialize. All callers changed.
7563 * strokes.el (strokes-lighter): Rename from
7564 strokes-modeline-string.
7566 * textmodes/sgml-mode.el (html-face-tag-alist)
7567 (html-tag-face-alist): Use mode-line face instead of obsolete
7570 2012-06-02 Stefan Merten <smerten@oekonux.de>
7572 * textmodes/rst.el: Always require `cl'.
7573 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7575 2012-06-02 Chong Yidong <cyd@gnu.org>
7577 * image.el (imagemagick-enabled-types): Rename from
7578 imagemagick-types-enable. Add many more types.
7579 (imagemagick-types-inhibit): Change default to nil.
7580 (imagemagick-filter-types): Caller changed.
7582 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * emacs-lisp/cl-macs.el: Use backquotes.
7585 (cl-transform-function-property): Use eval-and-compile rather than
7587 (defstruct): Use declare-function instead of with-no-warnings.
7589 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7590 (byte-compile-output-docform): Re-add the print-circle bindings.
7591 (byte-compile-fix-header): Use #$ just because it's shorter.
7592 (byte-compile-output-file-form): Remove defun/defmacro.
7594 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7596 * simple.el (choose-completion): Remove now obsolete binding for
7599 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7601 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7602 in order to avoid "Stack overflow in regexp matcher".
7604 2012-05-31 Glenn Morris <rgm@gnu.org>
7606 * image.el: For clarity, call imagemagick-register-types at
7607 top-level, rather than relying on a custom :initialize.
7608 (imagemagick-types-enable): New option. (Bug#11557)
7609 (imagemagick-filter-types): New function. (Bug#7406)
7610 (imagemagick-register-types): Use imagemagick-filter-types.
7611 If disabling support, remove elements altogether rather
7612 than using an impossible regexp.
7613 (imagemagick-types-inhibit): Give it the default init function.
7615 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7617 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7618 Handle arbitrary file name lengths (Bug#11585).
7620 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7622 * desktop.el (desktop-read): Clear previous and next buffers for
7623 all windows and bury *Messages* buffer (bug#11556).
7625 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7627 Add `declare' for `defun'. Align `defmacro's with it.
7628 * emacs-lisp/easy-mmode.el (define-minor-mode)
7629 (define-globalized-minor-mode): Don't autoload the var definitions.
7630 * emacs-lisp/byte-run.el: Use lexical-binding.
7631 (defun-declarations-alist, macro-declarations-alist): New vars.
7632 (defmacro, defun): Use them.
7633 (make-obsolete, define-obsolete-function-alias)
7634 (make-obsolete-variable, define-obsolete-variable-alias):
7636 (macro-declaration-function): Mark obsolete.
7637 * emacs-lisp/autoload.el: Use lexical-binding.
7638 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7640 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7642 * textmodes/ispell.el (ispell-with-no-warnings):
7644 (ispell-kill-ispell, ispell-change-dictionary):
7645 Use `called-interactively-p' for Emacs instead of obsolete
7648 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7651 (macro-declaration-function): Move var from C code.
7652 (macro-declaration-function): Define function with defalias.
7653 * emacs-lisp/macroexp.el (macroexpand-all-1):
7654 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7655 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7656 defun/defmacro any more.
7657 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7658 Provide fallback for unknown arglist.
7659 (byte-compile-arglist-warn): Change calling convention.
7660 (byte-compile-output-file-form): Move print-vars binding.
7661 (byte-compile-output-docform): Simplify accordingly.
7662 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7663 (byte-compile-defmacro-declaration): Remove.
7664 (byte-compile-file-form-defmumble): Generalize to defalias.
7665 (byte-compile-output-as-comment): Return byte-positions.
7666 Simplify callers accordingly.
7667 (byte-compile-lambda): Use `assert'.
7668 (byte-compile-defun, byte-compile-defmacro): Remove.
7669 (byte-compile-file-form-defalias):
7670 Use byte-compile-file-form-defmumble.
7671 (byte-compile-defalias-warn): Remove.
7673 2012-05-29 Stefan Merten <smerten@oekonux.de>
7675 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7676 possible. Fix authors. Improve comments. Improve loading of `cl'.
7678 (rst-mode-abbrev-table): Merge definition.
7679 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7680 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7682 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7684 * calendar/icalendar.el
7685 (icalendar-export-region): Export UID properly.
7687 2012-05-29 Leo Liu <sdl.web@gmail.com>
7688 * calendar/icalendar.el (icalendar-import-format):
7689 Add `icalendar-import-format-uid' (Bug#11525).
7690 (icalendar-import-format-uid): New.
7691 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7694 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7696 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7697 different alternative patterns.
7698 (pcase-codegen): Be more careful to preserve identity.
7699 (pcase--u1): Don't forget to mark vars as used.
7701 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7702 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7703 (byte-compile-from-buffer): ...rather than here.
7705 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7706 functions from byte-compile-function-environment.
7708 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7710 * window.el (window-deletable-p): Avoid deleting the root window
7711 of a frame with an active minibuffer.
7713 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7715 * simple.el (choose-completion): Use quit-window (Bug#11567).
7717 2012-05-29 Chong Yidong <cyd@gnu.org>
7719 * whitespace.el (whitespace-cleanup): Fix usage of
7720 whitespace-empty-at-bob-regexp (Bug#11492).
7722 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7724 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7727 2012-05-29 Juri Linkov <juri@jurta.org>
7729 * isearch.el (isearch-mode-map): Bind `M-s _' to
7730 `isearch-toggle-symbol'. Bind `M-s c' to
7731 `isearch-toggle-case-fold'.
7732 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7733 (isearch-forward): Add `M-s _' to the docstring.
7734 (isearch-forward-symbol, isearch-toggle-case-fold)
7735 (isearch-symbol-regexp): New functions. (Bug#11381)
7737 2012-05-29 Juri Linkov <juri@jurta.org>
7739 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7740 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7741 a function, call it to get the regexp.
7742 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7743 property `isearch-message-prefix' instead of the string "word ".
7744 (isearch-search-fun-default): For the case of `isearch-word',
7745 return a lambda that calls re-search-forward/re-search-backward
7746 with a regexp returned by `word-search-regexp' or by the function
7749 2012-05-29 Juri Linkov <juri@jurta.org>
7751 * isearch.el (isearch-search-fun-default): New function.
7752 (isearch-search-fun): Move default part to the new function
7753 `isearch-search-fun-default'.
7754 (isearch-search-fun-function): Set the default value to
7755 `isearch-search-fun-default'. (Bug#11381)
7757 * comint.el (comint-history-isearch-end):
7758 Use `isearch-search-fun-default'.
7759 (comint-history-isearch-search): Use `isearch-search-fun-default'
7760 and remove spacial case for `isearch-word'.
7761 (comint-history-isearch-wrap): Remove spacial case for
7764 * hexl.el (hexl-isearch-search-function):
7765 Use `isearch-search-fun-default'.
7767 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7768 Use `word-search-regexp' for `isearch-word'.
7770 * misearch.el (multi-isearch-search-fun):
7771 Use `isearch-search-fun-default'.
7773 * simple.el (minibuffer-history-isearch-search):
7774 Use `isearch-search-fun-default' and remove spacial case for
7776 (minibuffer-history-isearch-wrap): Remove spacial case for
7779 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7780 Remove spacial case for `isearch-word'.
7781 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7783 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7785 Decrease XEmacs incompatibilities.
7786 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7788 (flyspell-delete-region-overlays): Use alternative definition for
7790 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7791 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7792 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7793 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7794 `define-obsolete-face-alias' under XEmacs, but old method.
7796 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7797 `with-no-warnings' definition or Emacs alias.
7798 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7799 (ispell-word): Do not use `region-p' if XEmacs.
7801 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7803 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7804 Check for `ispell-dictionary-base-alist' instead of full
7805 `ispell-dictionary-alist'.
7806 (ispell-init-process): Show spellchecker when starting new Ispell
7809 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7812 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7814 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7816 * version.el (motif-version-string, gtk-version-string)
7817 (ns-version-string): Declare.
7819 2012-05-27 Juri Linkov <juri@jurta.org>
7821 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7822 after the `eval-defun-1' specialcaseing
7823 like in `edebug-eval-defun' (bug#10181).
7825 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7826 like in `eval-defun-1'.
7828 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7830 * mail/sendmail.el (mail-yank-region):
7831 Recognize rmail-yank-current-message in addition to insert-buffer.
7832 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7833 a *mail* buffer created through rmail-start-mail with sendmail as
7836 2012-05-27 Chong Yidong <cyd@gnu.org>
7838 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7839 Default to 256 (Bug#11267).
7841 * help.el (describe-mode): Doc fix.
7843 2012-05-26 Glenn Morris <rgm@gnu.org>
7845 * w32-fns.el (w32-init-info): Remove.
7846 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7848 * info.el (info-initialize): For self-contained NS builds, put the
7849 included info/ directory at the front. (Bug#2791)
7851 * paths.el (Info-default-directory-list): Make it a defcustom,
7852 mainly so that we can use custom-initialize-delay.
7854 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7856 * subr.el (buffer-has-markers-at): Mark obsolete.
7858 * subr.el (lambda): Use declare.
7860 * emacs-lisp/lisp-mode.el (lambda):
7861 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7863 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7865 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7867 2012-05-26 Glenn Morris <rgm@gnu.org>
7869 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7871 2012-05-25 Glenn Morris <rgm@gnu.org>
7873 * paths.el: Remove no-byte-compile.
7874 * loadup.el: No need to load paths.el uncompiled.
7876 * image.el (imagemagick-types-inhibit): Doc fix.
7878 * version.el: Remove no-byte-compile and associated formatting.
7879 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7880 is ancient code from when there was an "inc-vers.el".
7882 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * progmodes/gdb-mi.el: Minor style changes.
7885 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7886 Turn into minor modes.
7887 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7888 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7889 (gdb-shell): Remove unneeded let-binding.
7890 (gdb-get-many-fields): Eliminate O(n²) behavior.
7892 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7894 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7895 platforms that don't link in fontset.c.
7897 2012-05-25 Juri Linkov <juri@jurta.org>
7899 Use the same diff color scheme as in modern VCSes (bug#10181).
7901 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7902 to avoid confusion with `diff-added' that now uses green colors.
7903 (diff-removed): Use shades of red.
7904 (diff-added): Use shades of green.
7905 (diff-changed): Leave just the yellow color.
7906 (diff-use-changed-face): New variable.
7907 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7908 how to highlight context diff changes.
7909 (diff-refine-change): Use shades of yellow.
7910 (diff-refine-removed): New face that uses shades of red.
7911 (diff-refine-added): New face that uses shades of green.
7912 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7913 `diff-refine-removed' in the call to `smerge-refine-subst'
7914 depending on the value of `diff-use-changed-face'.
7916 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7917 (smerge-other): Use shades of green.
7918 (smerge-base): Use shades of yellow.
7919 (smerge-refined-change): Empty face.
7920 (smerge-refined-removed): New face that uses shades of red.
7921 (smerge-refined-added): New face that uses shades of green.
7922 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7923 args `props-r' and `props-a', and use them. Doc fix.
7924 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7925 on its value use different faces `smerge-refined-change',
7926 `smerge-refined-removed', `smerge-refined-added' in the call to
7927 `smerge-refine-subst'.
7929 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7930 Add face condition `min-colors 88' with shades of red.
7931 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7932 `min-colors 88' with shades of green.
7933 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7934 `min-colors 88' with shades of yellow.
7936 2012-05-24 Glenn Morris <rgm@gnu.org>
7938 * paths.el (prune-directory-list, remote-shell-program): Move to...
7939 * files.el (prune-directory-list, remote-shell-program): ...here.
7940 For the latter, delay initialization, prefer ssh, just search PATH.
7942 * paths.el (term-file-prefix): Move to faces.el (the only user).
7943 * faces.el (term-file-prefix): Move here, make it a defcustom.
7945 * paths.el (news-directory, news-path, news-inews-program):
7946 Move to gnus/nnspool.el.
7948 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7950 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7951 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7952 Make the latter a defcustom, with a delayed initialization.
7954 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7955 These were deleted from Gnus itself late 2010.
7957 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7959 * progmodes/which-func.el (which-func-ff-hook):
7960 Check against user-error, not error.
7962 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7963 cl-specs.el, which no longer exists.
7965 2012-05-22 Glenn Morris <rgm@gnu.org>
7967 * info.el (info-emacs-bug): New command.
7968 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7969 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7971 2012-05-21 Glenn Morris <rgm@gnu.org>
7973 * makefile.w32-in (update-subdirs-SH):
7974 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7976 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7980 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7981 Simplify Maven regexp, and make sure the file can't start with a space
7984 2012-05-21 Glenn Morris <rgm@gnu.org>
7986 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7987 Scrap superfluous subshells.
7989 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7991 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7992 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7994 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7996 * calc/calc.el (calc-ensure-consistent-units): New variable.
7998 * calc/calc-units.el (math-consistent-units-p)
7999 (math-check-unit-consistency): New functions.
8000 (calc-quick-units, calc-convert-units):
8001 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8003 (calc-extract-units): Fix typo.
8005 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8009 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8010 (flyspell-default-deplacement-commands): Don't spell check after
8011 repeated window/frame switches (e.g. triggered by mouse-movement).
8012 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8013 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8014 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8015 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8017 (flyspell-get-casechars, flyspell-get-not-casechars):
8018 Simplify; Don't bother removing a ] just to add it back.
8019 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8021 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8023 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8025 (math-function-table): Add support for more C functions.
8027 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8029 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8030 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8031 Protect delay handling for otherchars against empty otherchars.
8033 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8035 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8036 their respective macro declarations.
8037 * skeleton.el (define-skeleton):
8038 * progmodes/compile.el (define-compilation-mode):
8039 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8040 (define-ibuffer-filter):
8041 * emacs-lisp/generic.el (define-generic-mode):
8042 * emacs-lisp/easy-mmode.el (define-minor-mode)
8043 (define-globalized-minor-mode):
8044 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8045 * emacs-lisp/byte-run.el (defsubst):
8046 * custom.el (deftheme): Add doc-string metadata.
8048 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8052 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8056 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8057 * emacs-lisp/cl-macs.el: Idem.
8058 * emacs-lisp/cl-specs.el: Remove.
8060 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8062 Minor renaming of internal CL functions and variables.
8063 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8064 (cl--position): Rename from cl-position.
8065 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8066 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8067 (cl--random-state): Rename from *random-state*.
8069 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8071 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8072 parens around the arg list (bug#11499).
8074 2012-05-17 Juri Linkov <juri@jurta.org>
8076 * isearch.el (word-search-regexp, word-search-backward)
8077 (word-search-forward, word-search-backward-lax)
8078 (word-search-forward-lax): Move functions from search.c
8079 (bug#10145, bug#11381).
8081 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8083 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8084 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8085 Delay for otherchars as for normal word components.
8087 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * minibuffer.el (completion--sifn-requote): Fix last change.
8090 (minibuffer-local-must-match-filename-map):
8091 Move define-obsolete-variable-alias before its var.
8093 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8097 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8099 (completion--string-equal-p): New function.
8100 (completion--twq-all): Use it to get better assertion failure data.
8102 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8103 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8104 (shell--requote-argument): New functions.
8105 (shell-completion-vars): Use them.
8106 (shell--parse-pcomplete-arguments): Rename from
8107 shell-parse-pcomplete-arguments.
8108 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8109 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8110 Obey comint-file-name-quote-list.
8112 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8113 (smie-indent-keyword): Use it.
8115 2012-05-14 Stefan Merten <smerten@oekonux.de>
8117 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8119 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * net/rlogin.el (rlogin-mode-map): Fix last change.
8123 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8125 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8126 the following \r\n using a single `process-send-string', since the
8127 Lotus SMTP server refuses to accept any commands if they are sent
8128 with two `process-send-string's (Bug#11444).
8130 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * shell.el (shell-parse-pcomplete-arguments):
8133 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8135 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8137 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8138 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8139 (image-transform-width, image-transform-fit-width): New functions.
8140 (image-transform-properties): Use them.
8141 (image-transform-check-size): New function.
8142 (image-toggle-display-image): Use it (for testing).
8143 (image-transform-set-rotation): Reduce angle mod 360.
8144 Delete obsolete comment.
8146 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8148 * image-mode.el: Fix scaling (bug#11399).
8149 (image-transform-resize): Doc fix.
8150 (image-transform-properties): Default scale is 1 and height should
8153 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8155 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8156 than hard-coding `car', to fix misbehavior when moving forward.
8158 2012-05-13 Chong Yidong <cyd@gnu.org>
8160 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8161 (tabulated-list-entries, tabulated-list-padding)
8162 (tabulated-list-sort-key): Make permanent-local.
8164 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8165 (electric-buffer-list): Put electric buffer menu
8166 command descriptions in this docstring, instead of the docstring
8167 of electric-buffer-menu-mode. Code cleanups.
8168 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8169 Electric-buffer-menu-mode.
8170 (electric-buffer-update-highlight): Minor code cleanup.
8172 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8174 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8177 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8179 Move define-obsolete-variable-alias before the var's definition.
8180 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8181 * tooltip.el (tooltip-hook):
8182 * textmodes/reftex-toc.el (reftex-toc-map):
8183 * textmodes/reftex-sel.el (reftex-select-label-map)
8184 (reftex-select-bib-map):
8185 * textmodes/reftex-index.el (reftex-index-map)
8186 (reftex-index-phrases-map):
8187 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8188 * progmodes/meta-mode.el (meta-mode-map):
8189 * novice.el (disabled-command-hook):
8190 * loadhist.el (unload-hook-features-list):
8191 * frame.el (blink-cursor):
8192 * files.el (find-file-not-found-hooks, write-file-hooks)
8193 (write-contents-hooks):
8194 * emulation/tpu-edt.el (GOLD-map):
8195 * emacs-lock.el (emacs-lock-from-exiting):
8196 * emacs-lisp/generic.el (generic-font-lock-defaults):
8197 * emacs-lisp/chart.el (chart-map):
8198 * dos-fns.el (register-name-alist):
8199 * dired-x.el (dired-omit-files-p):
8200 * desktop.el (desktop-enable):
8201 * cus-edit.el (custom-mode-hook):
8202 * buff-menu.el (buffer-menu-mode-hook):
8203 * bookmark.el (bookmark-read-annotation-text-func)
8204 (bookmark-exit-hooks):
8205 * allout.el (allout-mode-deactivate-hook)
8206 (allout-exposure-change-hook, allout-structure-added-hook)
8207 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8208 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8209 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8210 comes before the corresponding variable's definition.
8212 2012-05-12 Chong Yidong <cyd@gnu.org>
8214 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8215 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8216 (Buffer-menu-mode-map): Bind it.
8217 (Buffer-menu--pretty-name): Add a mouse-face property.
8219 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8222 (prolog-upper-case-string, prolog-lower-case-string)
8223 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8224 (prolog-use-smie, prolog-smie-grammar): New vars.
8225 (prolog-smie-forward-token, prolog-smie-backward-token)
8226 (prolog-smie-rules): New funs.
8227 (prolog-comment-indent): Remove.
8228 (prolog-mode-variables): Use default comment indentation instead.
8230 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8231 (prolog-mode): Don't call them any more.
8232 (prolog-electric-colon, prolog-electric-dash)
8233 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8235 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8237 * minibuffer.el (completion--twq-all): Again, allow case differences.
8239 * term.el: Move keymap initialization code to be more idiomatic.
8240 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8241 (term-terminal-menu): Move initialization into declaration.
8242 (term-escape-char): Let the user set it in her .emacs.
8244 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8245 Provide SMIE-based indentation (not enabled by default yet).
8246 (sh-mode-map): Don't bind electric keys.
8247 Use electric-pair-mode instead of skeleton-pair.
8248 (sh-assignment-regexp): Fit within 80 columns.
8249 (sh-indent-supported): Specify actual shell name instead of boolean.
8250 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8251 (sh-maybe-here-document): Use it. Make obsolete.
8252 (sh-electric-here-document-mode) New minor mode.
8253 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8254 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8255 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8256 (sh-smie-rc-grammar, sh-use-smie): New vars.
8257 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8258 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8259 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8260 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8261 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8262 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8263 (sh-set-shell): Use smie-setup if requested.
8265 * term.el (term-set-escape-char): Properly set term-escape-char.
8266 See http://stackoverflow.com/questions/10524656.
8268 2012-05-10 Chong Yidong <cyd@gnu.org>
8270 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8271 Use url-generic-parse-url, and handle host names and Windows
8273 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8274 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8275 URL schemes to work on.
8276 (ffap--toggle-read-only): New function.
8277 (ffap-read-only, ffap-read-only-other-window)
8278 (ffap-read-only-other-frame): Use it.
8279 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8280 necessary for ffap-url-unwrap-remote.
8282 2012-05-10 Dave Abrahams <dave@boostpro.com>
8284 * cus-start.el (create-lockfiles): Add it.
8286 2012-05-09 Chong Yidong <cyd@gnu.org>
8288 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8289 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8291 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8295 2012-05-09 Chong Yidong <cyd@gnu.org>
8297 * ansi-color.el (ansi-color-process-output): Check for validity of
8298 comint-last-output-start before using it. This avoids a bad
8299 interaction with gdb-mi's input/output buffer.
8301 2012-05-09 Glenn Morris <rgm@gnu.org>
8303 * files.el (dir-locals-read-from-file):
8304 Mention dir-locals in any error message.
8306 2012-05-09 Chong Yidong <cyd@gnu.org>
8308 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8309 package (Bug#11410).
8311 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8312 variables into description.
8314 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8316 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8317 shell-delimiter-argument-list (bug#11348).
8318 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8320 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8322 * textmodes/rst.el: Silence byte-compiler warnings.
8323 (rst-re-alist, rst-reset-section-caches): Move around.
8324 (rst-re): Use `characterp', not `char-valid-p'.
8325 (font-lock-beg, font-lock-end): Declare.
8327 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8328 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8330 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8332 2012-05-08 Glenn Morris <rgm@gnu.org>
8334 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8336 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * vc/log-edit.el: Add GNU coding standards highlighting.
8339 (log-edit-font-lock-gnu-style)
8340 (log-edit-font-lock-gnu-keywords): New vars.
8341 (log-edit-font-lock-keywords): New fun.
8342 (log-edit-mode): Don't fold case in font-lock.
8343 (log-edit-font-lock-keywords): Do not assume case-folding.
8345 * imenu.el: Misc cleanup. Make docstrings out of comments.
8346 Use lexical-binding.
8347 (imenu--index-alist, imenu--last-menubar-index-alist)
8348 (imenu-menubar-modified-tick): Use defvar-local.
8349 (imenu--split-menu): Remove unused var.
8350 (imenu--cleanup-seen): Declare as global.
8351 (imenu--cleanup): Use dolist.
8353 * subr.el (defvar-local): Add debug spec and doc-string position.
8355 2012-05-08 Glenn Morris <rgm@gnu.org>
8357 * language/burmese.el, language/cham.el, language/czech.el:
8358 * language/english.el, language/georgian.el, language/greek.el:
8359 * language/japanese.el, language/khmer.el, language/korean.el:
8360 * language/lao.el, language/misc-lang.el, language/romanian.el:
8361 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8362 * language/thai.el, language/utf-8-lang.el:
8363 Remove no-byte-compile setting.
8365 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8367 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8369 * progmodes/make-mode.el (makefile-browse):
8370 Remove unnecessary interactive. (Bug#11324)
8372 2012-05-07 Glenn Morris <rgm@gnu.org>
8374 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8376 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8378 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * loadup.el: Preload newcomment.el.
8381 * newcomment.el: Move autoload-only code to toplevel.
8383 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8384 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8385 Handle new :right-align column property.
8386 (tabulated-list-print-col): Idem, plus use `display' text-property to
8387 try and preserve alignment for variable pitch fonts.
8389 2012-05-07 Chong Yidong <cyd@gnu.org>
8391 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8392 (tabulated-list-use-header-line): New var.
8393 (tabulated-list-init-header): Use it.
8394 (tabulated-list-print-fake-header): New function.
8395 (tabulated-list-print): Use it.
8396 (tabulated-list-sort-button-map): Add non-header-line commands.
8397 (tabulated-list-init-header): Add column name property to basic
8399 (tabulated-list-col-sort): Handle non-header-line button case.
8400 (tabulated-list--sort-by-column-name): Fix a corner case.
8402 * buff-menu.el (list-buffers--refresh):
8403 Handle Buffer-menu-use-header-line.
8405 2012-05-06 Chong Yidong <cyd@gnu.org>
8407 * buff-menu.el: Convert to Tabulated List mode.
8408 (Buffer-menu-buffer+size-width): Make obsolete.
8409 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8410 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8411 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8412 documentation into docstring of buffer-menu.
8413 (Buffer-menu-toggle-files-only): Add an informative message.
8414 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8415 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8416 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8417 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8418 (Buffer-menu-execute, Buffer-menu-select)
8419 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8420 (Buffer-menu-bury): Use Tabulated List machinery.
8421 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8422 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8424 (list-buffers--refresh): New function.
8425 (list-buffers-noselect): Use it.
8426 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8427 (Buffer-menu--pretty-file-name): New helper functions.
8429 * loadup.el: Preload tabulated-list.
8431 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8432 tabulated-list-sort-column.
8433 (tabulated-list-init-header): Add the initial aligning space even
8434 if tabulated-list-padding is zero.
8436 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8438 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8439 whose cdr is not a cons cell correctly (bug#11038).
8441 2012-05-06 Chong Yidong <cyd@gnu.org>
8443 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8444 Accept additional plist in column descriptors.
8445 (tabulated-list-init-header): Obey it.
8446 (tabulated-list-get-entry): New function.
8447 (tabulated-list-put-tag): Use it. Use string-width instead of
8449 (tabulated-list--column-number): New function.
8450 (tabulated-list-print): Use it.
8451 (tabulated-list-print-col): New function.
8452 Set `tabulated-list-column-name' property on each column's text.
8453 (tabulated-list-print-entry): Use it.
8454 (tabulated-list-delete-entry, tabulated-list-set-col):
8456 (tabulated-list-sort-column): New command (Bug#11337).
8458 * buff-menu.el (list-buffers): Move C-x C-b binding from
8459 buff-menu.el to bindings.el.
8461 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8462 :advertised-binding feature.
8464 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8466 * progmodes/compile.el (compilation-internal-error-properties):
8467 Calculate start position correctly when end-col is set but
8468 end-line is not (Bug#11382).
8470 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8472 * man.el (Man-unindent): Use text-property-default-nonsticky to
8473 prevent untabify from inheriting face properties (Bug#11408).
8475 2012-05-05 Stefan Merten <smerten@oekonux.de>
8477 * textmodes/rst.el: Major merge with upstream development up to
8478 Docutils SVN r7399 / rst.el V1.2.1.
8480 Clarify maintainership and authors.
8482 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8483 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8484 (rst-official-version, rst-official-cvs-rev, rst-version)
8485 (rst-package-emacs-version-alist): New functions and variables
8486 for version information.
8488 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8489 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8490 (rst-mode-syntax-table, rst-mode): New and corrected functions
8491 and variables representing reStructuredText features.
8493 (rst-re): New function for reStructuredText regexes. Use in
8496 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8497 (rst-mode-map): Rebind keys.
8499 (rst-mode-lazy, rst-font-lock-keywords)
8500 (rst-font-lock-extend-region)
8501 (rst-font-lock-extend-region-internal)
8502 (rst-font-lock-extend-region-extend)
8503 (rst-font-lock-find-unindented-line-limit)
8504 (rst-font-lock-find-unindented-line-match)
8505 (rst-adornment-level, rst-font-lock-adornment-level)
8506 (rst-font-lock-adornment-match)
8507 (rst-font-lock-handle-adornment-pre-match-form)
8508 (rst-font-lock-handle-adornment-matcher): Major revision of
8509 font-locking. Integrate with other code. Use `jit-lock-mode'.
8511 (rst-preferred-adornments, rst-adjust-hook)
8512 (rst-new-adornment-down, rst-preferred-bullets)
8513 (rst-preferred-bullets, rst-indent, rst-indent-width)
8514 (rst-indent-field, rst-indent-literal-normal)
8515 (rst-indent-literal-minimized, rst-indent-comment): Change,
8516 extend and improve customization.
8518 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8519 (rst-normalize-cursor-position, rst-get-decoration)
8520 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8521 (rst-rstrip, rst-toc-insert-find-delete-contents)
8522 (rst-shift-fill-region, rst-compute-bullet-tabs)
8523 (rst-debug-print-tabs, rst-debug-mark-found)
8524 (rst-shift-region-guts, rst-shift-region-right)
8525 (rst-shift-region-left, rst-use-char-classes)
8526 (rst-font-lock-keywords-function)
8527 (rst-font-lock-indentation-point)
8528 (rst-font-lock-find-unindented-line-begin)
8529 (rst-font-lock-find-unindented-line-end)
8530 (rst-font-lock-find-unindented-line)
8531 (rst-font-lock-adornment-point, rst-font-lock-level)
8532 (rst-adornment-level-alist): Remove functions and variables.
8534 (rst-compare-adornments, rst-get-adornment-match)
8535 (rst-suggest-new-adornment, rst-get-adornments-around)
8536 (rst-adornment-complete-p, rst-get-next-adornment)
8537 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8538 (rst-straighten-adornments): Standardize function names to
8539 use "adornment" instead of "decoration". Correct callers.
8540 Similar standardizing in many places.
8542 (rst-update-section, rst-adjust, rst-promote-region)
8543 (rst-enumerate-region, rst-bullet-list-region)
8544 (rst-repeat-last-character): Correct use of `interactive'.
8546 (rst-classify-adornment, rst-find-all-adornments)
8547 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8548 (rst-find-leftmost-column, rst-repeat-last-character):
8551 (rst-find-title-line, rst-reset-section-caches)
8552 (rst-get-adornments-around, rst-adjust-adornment-work)
8553 (rst-arabic-to-roman, rst-roman-to-arabic)
8554 (rst-insert-list-pos, rst-insert-list-new-item)
8555 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8558 (rst-all-sections, rst-section-hierarchy)
8559 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8562 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8563 configuration instead of only buffer. Change where necessary.
8565 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8566 (rst-shift-region, rst-adaptive-fill): New functions for
8567 indentation and filling.
8569 (rst-comment-line-break, rst-comment-indent)
8570 (rst-comment-insert-comment, rst-comment-region)
8571 (rst-uncomment-region): New functions for handling comments.
8573 (rst-compile): Quote shell arguments.
8575 (rst-compile-pdf-preview, rst-compile-slides-preview):
8576 Delete temporary files after use.
8578 2012-05-05 Glenn Morris <rgm@gnu.org>
8580 * calendar/cal-html.el: Optionally include holidays in the output.
8581 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8582 (cal-html-holidays): New option.
8583 (cal-html-css-default): Add holiday entry.
8584 (holiday-in-range): Autoload it.
8585 (cal-html-htmlify-entry): Add optional class argument.
8586 (cal-html-htmlify-list): Add optional holidays argument.
8587 (cal-html-insert-agenda-days): Include holidays in the output.
8588 (cal-html-one-month): Maybe include holidays.
8590 * calendar/holidays.el (holiday-in-range):
8591 Move here from cal-tex-list-holidays.
8592 * calendar/cal-tex.el (cal-tex-list-holidays):
8593 Make it an obsolete alias for holiday-in-range. Update all callers.
8595 2012-05-05 Chong Yidong <cyd@gnu.org>
8597 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8600 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8602 * files.el (file-auto-mode-skip): New var.
8603 (set-auto-mode-1): Use it.
8605 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * repeat.el: Use lexical-binding.
8608 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8609 (repeat-undo-count): Remove.
8611 * progmodes/octave-mod.el (octave-abbrev-start):
8612 * progmodes/f90.el (f90-abbrev-start):
8613 * face-remap.el (text-scale-adjust):
8614 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8616 * emacs-lisp/pcase.el (pcase--let*): New function.
8617 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8619 (pcase--split-pred): Be more clever about ruling out overlap between
8620 a predicate and some constant pattern.
8621 (pcase--q1): Use `null' instead of (eq foo nil).
8623 * subr.el (setq-local, defvar-local): New macros.
8624 (kbd): Redefine as an alias.
8625 (with-selected-window): Leave unrelated frames alone.
8626 (set-temporary-overlay-map): New function.
8628 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * subr.el (user-error): New function.
8631 * window.el (switch-to-buffer):
8632 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8633 (smerge-match-conflict):
8634 * simple.el (previous-matching-history-element)
8635 (next-matching-history-element, goto-history-element, undo-more)
8637 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8638 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8639 (next-file, tags-loop-scan, list-tags, complete-tag):
8640 * progmodes/compile.el (compilation-loop):
8641 * mouse.el (mouse-minibuffer-check):
8642 * man.el (Man-bgproc-sentinel, Man-goto-page):
8643 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8644 (Info-history-forward, Info-follow-reference, Info-menu)
8645 (Info-extract-menu-item, Info-extract-menu-counting)
8646 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8647 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8648 (Info-next-reference, Info-prev-reference, Info-index)
8649 (Info-index-next, Info-follow-nearest-node)
8650 (Info-copy-current-node-name):
8651 * imenu.el (imenu--make-index-alist)
8652 (imenu-default-create-index-function, imenu-add-to-menubar):
8653 * files.el (basic-save-buffer, recover-file):
8654 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8655 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8656 (checkdoc-message-text, checkdoc-defun):
8657 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8658 * cus-edit.el (customize-changed-options, customize-rogue)
8659 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8660 (custom-variable-mark-to-reset-standard)
8661 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8663 * completion.el (check-completion-length):
8664 * comint.el (comint-search-arg)
8665 (comint-previous-matching-input-string-position)
8666 (comint-previous-matching-input)
8667 (comint-replace-by-expanded-history-before-point, comint-send-input)
8668 (comint-copy-old-input, comint-backward-matching-input)
8669 (comint-goto-process-mark, comint-set-process-mark):
8670 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8671 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8673 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8675 * dabbrev.el (dabbrev--ignore-case-p): New function.
8676 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8679 * files.el (automount-dir-prefix): Mark as obsolete.
8681 2012-05-04 Glenn Morris <rgm@gnu.org>
8683 * patcomp.el, play/bruce.el: Move to obsolete/.
8685 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8687 Fix minor Y10k bugs.
8688 * arc-mode.el (archive-unixdate):
8689 * autoinsert.el (auto-insert-alist):
8690 * calc/calc-forms.el (math-this-year):
8691 * emacs-lisp/copyright.el (copyright-current-year)
8692 (copyright-update-year, copyright):
8693 * tar-mode.el (tar-clip-time-string):
8694 * time.el (display-time-update):
8695 Don't assume years have 4 digits.
8697 2012-05-04 Chong Yidong <cyd@gnu.org>
8699 * dos-w32.el (file-name-buffer-file-type-alist)
8700 (direct-print-region-use-command-dot-com):
8701 * ffap.el (ffap-menu-regexp):
8702 * find-file.el (ff-special-constructs):
8703 * follow.el (follow-debug):
8704 * forms.el (forms--debug):
8705 * iswitchb.el (iswitchb-all-frames):
8706 * ido.el (ido-all-frames):
8707 * emacs-lisp/timer.el (timer-max-repeats):
8708 * mail/feedmail.el (feedmail-mail-send-hook)
8709 (feedmail-mail-send-hook-queued):
8710 * mail/footnote.el (footnote-signature-separator):
8711 * mail/mailabbrev.el (mail-alias-separator-string)
8712 (mail-abbrev-mode-regexp):
8713 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8714 * progmodes/idlwave.el (idlwave-libinfo-file)
8715 (idlwave-default-completion-case-is-down)
8716 (idlwave-library-routines): Convert defvars to defcustoms.
8718 * mail/rmail.el (rmail-decode-mime-charset):
8719 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8720 (idlwave-shell-fix-inserted-breaks)
8721 (idlwave-shell-activate-alt-keybindings)
8722 (idlwave-shell-use-breakpoint-glyph):
8723 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8725 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8729 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8731 * progmodes/verilog-mode.el (font-lock-keywords):
8732 Fix mis-highligting auto. Reported by Craig Barner.
8733 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8734 defines from global name space. Reported by Dan Dever.
8735 (verilog-auto-reset, verilog-auto-reset-widths)
8736 (verilog-auto-tieoff): Support using unbased numbers for
8737 AUTORESET and AUTOTIEOFF.
8738 (verilog-submit-bug-report): Update variable list.
8739 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8740 parenthesis from not matching. Reported by Michael Rytting.
8741 (verilog-auto-template-lint): Fix hash error when linting modules
8742 with no used templates.
8743 (verilog-warn, verilog-warn-error)
8744 (verilog-warn-fatal): When non-interactive report multiple
8745 warnings before exiting. Suggested by Brad Dobbie.
8746 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8747 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8748 to report unused template errors. Reported by Brad Dobbie.
8749 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8750 nets, bug438. Reported by Vns Blore.
8751 (verilog-auto-inout-module, verilog-auto-reg)
8752 (verilog-read-decls, verilog-read-sub-decls-sig)
8753 (verilog-signals-edit-wire-reg, verilog-signals-with):
8754 Fix passing of Verilog data types in ANSI input/output ports
8755 such as "output logic" into the AUTOs. Special case "wire" and
8756 "reg" for backwards compatibility presuming Verilog 2001.
8757 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8758 (verilog-preprocess): Fix replication of preprocess output.
8759 Reported by Brad Dobbie.
8760 (verilog-auto-inst-interfaced-ports):
8761 Create verilog-auto-inst-interfaced-ports, bug429.
8762 Reported by Julian Gorfajn.
8763 (verilog-after-save-font-hook)
8764 (verilog-before-save-font-hook): New variable.
8765 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8766 (verilog-save-font-mods): Wrap disabling fontification, reported
8768 (verilog-do-indent, verilog-pretty-declarations-auto)
8769 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8770 Reported by Pierre-David Pfister.
8771 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8772 of class declarations, bug292. Reported by Kevin Heilman.
8773 (verilog-read-decls): Fix 'parameter type' not appearing in
8774 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8775 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8776 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8777 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8778 Reported by David Kravitz.
8780 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8782 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8783 assignment with tests in ifs and for loops.
8784 (verilog-extended-complete-re, verilog-complete-reg): Change so
8785 that DPI inport functions don't look like fuction declarations.
8786 (verilog-pretty-expr): Don't line up assignment
8787 operations to the test and increment in if and for loops
8788 (verilog-extended-complete-re, verilog-complete-reg): Change so
8789 that DPI inport functions don't look like fuction declarations.
8791 2012-05-03 Kenichi Handa <handa@m17n.org>
8793 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8794 decoding, and show a warning message without signaling an error
8797 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8799 * emacs-lisp/bytecomp.el
8800 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8801 since cconv.el might have introduced :fun-body, internal-make-closure,
8802 and friends for bytecomp to handle (bug#11391).
8803 * custom.el (defcustom): Avoid ((λ ..) ..).
8805 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8809 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8811 * notifications.el (dbus-debug):
8812 * term/linux.el (gpm-mouse-enable):
8813 * term/screen.el (xterm-register-default-colors): Declare.
8815 2012-05-02 Chong Yidong <cyd@gnu.org>
8817 * cus-start.el (gc-cons-percentage, exec-suffixes)
8818 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8819 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8820 (make-cursor-line-fully-visible, void-text-area-pointer)
8821 (font-list-limit): Add customization data.
8823 * allout.el (allout-exposure-change-functions)
8824 (allout-structure-added-functions)
8825 (allout-structure-deleted-functions)
8826 (allout-structure-shifted-functions): Rename abnormal hooks from
8827 *-hook, and convert to defcustoms.
8828 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8829 Convert to defcustoms.
8830 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8832 * allout-widgets.el: Hook callers changed.
8834 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8836 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8837 the yanked message in preference to the default value of
8838 buffer-file-coding-system.
8840 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8842 * window.el (display-buffer--action-function-custom-type):
8845 2012-05-02 Alan Mackenzie <acm@muc.de>
8847 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8849 2012-05-01 Glenn Morris <rgm@gnu.org>
8851 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8853 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8855 * cus-edit.el (custom-variable-documentation): Simplify with format.
8857 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8858 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * simple.el (suggest-key-bindings, execute-extended-command):
8861 Move from keyboard.c.
8863 2012-05-01 Chong Yidong <cyd@gnu.org>
8865 * follow.el: Eliminate advice.
8866 (set-process-filter, process-filter, sit-for): Advice deleted.
8867 (follow-mode-off-hook): Obsolete hook removed.
8868 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8870 (follow-auto): Use a :set function.
8871 (follow-mode): Rewritten. Don't advise process filters.
8872 (follow-switch-to-current-buffer-all, follow-scroll-up)
8873 (follow-scroll-down): Assume follow-mode is bound.
8874 (follow-comint-scroll-to-bottom)
8875 (follow-align-compilation-windows): New functions.
8876 (follow--window-sorter): New function.
8877 (follow-all-followers): Use it to explicitly sort windows by their
8878 positions; don't make assumptions about next-window order.
8879 (follow-windows-start-end, follow-delete-other-windows-and-split)
8880 (follow-calc-win-start): Doc fix.
8881 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8882 vertical-motion unnecessarily.
8883 (follow-adjust-window): New function.
8884 (follow-post-command-hook): Use it.
8885 (follow-call-set-process-filter, follow-call-process-filter)
8886 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8887 (follow-stop-intercept-process-output, follow-generic-filter):
8889 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8890 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8891 New functions, replacing advice on scroll-bar-* commands.
8892 (follow-mwheel-scroll): New function (Bug#4112).
8894 * comint.el (comint-adjust-point): New function.
8895 (comint-postoutput-scroll-to-bottom): Use it.
8896 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8898 2012-05-01 Glenn Morris <rgm@gnu.org>
8900 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8901 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8902 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8903 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8904 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8905 Remove no-byte-compile setting.
8907 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8909 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8910 all-completions code to not return a number in the last cdr.
8912 2012-04-30 Leo Liu <sdl.web@gmail.com>
8914 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8917 2012-04-29 Chong Yidong <cyd@gnu.org>
8919 * follow.el (follow-calc-win-end): Rewrite to handle partial
8920 screen lines correctly (Bug#8390).
8921 (follow-avoid-tail-recenter): Minor cleanup.
8923 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8925 Avoid the obsolete `assoc' package.
8926 * speedbar.el (speedbar-refresh): Avoid adelete.
8927 (speedbar-file-lists): Simplify and avoid aput.
8928 * man.el (Man--sections, Man--refpages): New vars, replacing
8929 Man-sections-alist and Man-refpages-alist.
8930 (Man-build-section-alist, Man-build-references-alist):
8931 Use them; avoid aput.
8932 (Man--last-section, Man--last-refpage): New vars.
8933 (Man-follow-manual-reference): Use them.
8934 Use the `default' arg of completing-read.
8935 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8937 2012-04-27 Chong Yidong <cyd@gnu.org>
8939 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8941 * startup.el (x-apply-session-resources): New function.
8943 * term/ns-win.el (ns-initialize-window-system):
8944 * term/w32-win.el (w32-initialize-window-system):
8945 * term/x-win.el (x-initialize-window-system): Use it to properly
8946 set menu-bar-mode and other vars from X resources, even if the
8947 initial frame is not a window-system frame (Bug#2299).
8949 * subr.el (read-key): Avoid running filter function when setting
8950 up temporary tool bar entries (Bug#9922).
8952 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8954 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8957 2012-04-27 Chong Yidong <cyd@gnu.org>
8959 * select.el (xselect--encode-string): New function, split from
8960 xselect-convert-to-string.
8961 (xselect-convert-to-string): Use it.
8962 (xselect-convert-to-filename, xselect-convert-to-os)
8963 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8964 returned strings are properly encoded (Bug#11315).
8966 2012-04-27 Chong Yidong <cyd@gnu.org>
8968 * simple.el (delete-active-region): Move to killing custom group.
8970 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8972 * progmodes/which-func.el (which-func-current): Quote %
8973 characters for mode-line processing.
8975 2012-04-27 Chong Yidong <cyd@gnu.org>
8977 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8978 reaching eob (Bug#11286).
8980 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8982 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8983 (gdb): Make it buffer-local and init to zero.
8984 (gdb-control-commands-regexp): New variable.
8985 (gdb-send): Don't wrap in "-interpreter-exec console" if
8986 gdb-control-level is positive. Increment gdb-control-level
8987 whenever the command matches gdb-control-commands-regexp, and
8988 decrement it each time the command is "end". (Bug#11279)
8990 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8992 * window.el (adjust-window-trailing-edge, enlarge-window)
8993 (shrink-window, window-resize):
8994 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8995 windows (Bug#11276).
8997 2012-04-27 Chong Yidong <cyd@gnu.org>
8999 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9000 fix "missing prefix" warning. All callers changed.
9002 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9004 * emacs-lisp/assoc.el: Move to obsolete/.
9006 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9008 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9010 * term/ns-win.el (ns-define-service):
9011 * progmodes/pascal.el (pascal-goto-defun):
9012 * progmodes/js.el (js--read-tab):
9013 * progmodes/etags.el (tags-lazy-completion-table):
9014 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9015 * emacs-lisp/ewoc.el (ewoc--wrap):
9016 * emacs-lisp/assoc.el (aput, adelete, amake):
9017 * doc-view.el (doc-view-convert-current-doc):
9018 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9020 2012-04-26 Chong Yidong <cyd@gnu.org>
9022 * image.el (image-type-from-buffer): Only return supported image
9025 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9026 value, for symmetry with diff-end-of-hunk.
9027 (diff-split-hunk, diff-find-source-location)
9028 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9029 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9030 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9031 compute the relevant hunk or file properly (Bug#6005).
9032 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9034 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * vc/vc.el: Replace lexical-let by lexical-binding.
9044 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9045 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9046 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9048 2012-04-26 Chong Yidong <cyd@gnu.org>
9050 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9051 (diff-mode-shared-map): Bind it to / and [remap undo].
9053 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9054 (ediff-window-setup-function): Use it as the default, to set up
9055 windows based on whether the current frame is graphical (Bug#2138).
9056 (ediff-choose-window-setup-function-automatically): Make obsolete.
9058 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9060 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9062 * ffap.el: Remove old code for obsolete package.
9063 (ffap-complete-as-file-p): Remove.
9065 Use completion-table-with-quoting for comint and pcomplete.
9066 * comint.el (comint--unquote&requote-argument)
9067 (comint--unquote-argument, comint--requote-argument): New functions.
9068 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9069 (comint-quote-filename): Use regexp-opt-charset.
9070 (comint--common-suffix, comint--common-quoted-suffix)
9071 (comint--table-subvert): Remove.
9072 (comint-unquote-function, comint-requote-function): New vars.
9073 (comint--complete-file-name-data): Use them with
9074 completion-table-with-quoting.
9075 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9076 * pcomplete.el (pcomplete-arg-quote-list)
9077 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9078 (pcomplete-unquote-argument-function): Default to non-nil.
9079 (pcomplete-unquote-argument): Simplify.
9080 (pcomplete--common-quoted-suffix): Remove.
9081 (pcomplete-requote-argument-function): New var.
9082 (pcomplete--common-suffix): New function.
9083 (pcomplete-completions-at-point): Use completion-table-with-quoting
9084 and completion-table-subvert.
9086 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9087 (minibuffer--double-dollars): Preserve properties.
9088 (completion--sifn-requote): New function.
9089 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9091 * minibuffer.el: Add support for completion of quoted/escaped data.
9092 (completion-table-with-quoting, completion-table-subvert): New funs.
9093 (completion--twq-try, completion--twq-all): New functions.
9094 (completion--nth-completion): New function.
9095 (completion-try-completion, completion-all-completions): Use it.
9097 2012-04-25 Leo Liu <sdl.web@gmail.com>
9099 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9100 Use compilation-message if available to find real filename.
9102 2012-04-25 Chong Yidong <cyd@gnu.org>
9104 * vc/diff-mode.el (diff-setup-whitespace): New function.
9105 (diff-mode): Use it.
9107 * vc/diff.el (diff-sentinel):
9108 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9109 Whitespace mode variables based on diff style (Bug#8612).
9111 2012-04-25 Leo Liu <sdl.web@gmail.com>
9113 * progmodes/python.el (python-send-region): Add suffix .py to the
9116 * files.el (auto-mode-alist): Use javascript-mode instead.
9118 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9120 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9122 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9123 (soap-resolve-references-for-array-type): Hack to prevent self
9124 references, see Bug#9.
9125 (soap-parse-envelope): Report the contents of the 'detail' node
9126 when receiving a fault reply.
9127 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9129 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9130 (soap-inspect-simple-type): New function.
9132 * net/soap-client.el (soap-simple-type): New struct.
9133 (soap-default-xsd-types, soap-default-soapenc-types)
9134 (soap-decode-basic-type, soap-encode-basic-type):
9135 support unsignedInt and double basic types.
9136 (soap-resolve-references-for-simple-type)
9137 (soap-parse-simple-type, soap-encode-simple-type): New function.
9138 (soap-parse-schema): Parse xsd:simpleType declarations.
9140 * net/soap-client.el (soap-default-xsd-types)
9141 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9142 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9143 the local name of "soapenc:Array".
9144 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9145 decoding integer, byte and anyURI xsd types.
9147 2012-04-25 Chong Yidong <cyd@gnu.org>
9149 * cus-edit.el (custom-buffer-create-internal): Update header text.
9151 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9153 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9154 settings on 'system-type', not on 'window-system'. On MS-Windows,
9155 set interactive-mode on in GDB.
9157 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9160 (ruby-syntax-propertize-regexp): Remove.
9161 (ruby-syntax-propertize-function): Split regexp into chunks.
9162 Match following code directly.
9164 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9166 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9167 (ruby-syntax-propertize-regexp): New function.
9168 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9169 by a special keyword.
9171 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9172 (ruby-syntax-general-delimiters-goto-beg)
9173 (ruby-syntax-propertize-general-delimiters): New functions.
9174 (ruby-syntax-propertize-function): Use them to handle GDL.
9175 (ruby-font-lock-keywords): Move old handling of GDL...
9176 (ruby-font-lock-syntactic-keywords): .. to here.
9177 (ruby-calculate-indent): Adjust indentation for GDL.
9179 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9181 * notifications.el (top): Remove unneeded declarations.
9182 (notifications-specification-version): Change to "1.2".
9183 (notifications-interface, notifications-notify-method)
9184 (notifications-close-notification-method): Fix docstring.
9185 (notifications-get-capabilities-method): New defconst.
9186 (notifications-notify): Add :action-items, :resident and
9187 :transient hints. Change "image_data" to "image-data" and
9188 "image_path" to "image-path".
9189 (notifications-get-capabilities): New defun.
9191 2012-04-24 Leo Liu <sdl.web@gmail.com>
9193 * progmodes/python.el: Move hideshow setup to the end.
9195 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9197 * window.el (handle-select-window): Clear echo area since this is
9198 no more done by read_char (Bug#11304).
9200 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9202 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9203 and `/ M' to filter-derived-mode.
9204 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9205 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9206 (ibuffer-mark-by-mode): Use default rather than initial-input.
9207 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9209 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9211 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9212 (ibuffer-filter-by-derived-mode): New filter.
9213 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9215 2012-04-23 Andreas Politz <politza@fh-trier.de>
9217 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9219 2012-04-23 Chong Yidong <cyd@gnu.org>
9221 * cus-edit.el (customize-apropos, customize-apropos-options):
9222 Disable matching of non-option variables (Bug#11176).
9223 (customize-option, customize-option-other-window)
9224 (customize-changed-options): Doc fix.
9225 (customize-apropos-options, customize-apropos-faces)
9226 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9228 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9229 Fix word list splitting (Bug#11132).
9230 (apropos-symbol, apropos-keybinding, apropos-label)
9231 (apropos-property, apropos-function-button)
9232 (apropos-variable-button, apropos-misc-button): New faces.
9233 (apropos-symbol-face, apropos-keybinding-face)
9234 (apropos-label-face, apropos-property-face, apropos-match-face):
9235 Variables removed (Bug#8396).
9236 (apropos-library-button, apropos-format-plist, apropos-print)
9237 (apropos-print-doc, apropos-describe-plist): Callers changed.
9239 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9241 * net/xesam.el (xesam-mode-map): Use let-bound map in
9242 initialization. (Bug#11292)
9244 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9246 Preserve ispell session localwords when switching back to
9249 * textmodes/ispell.el (ispell-buffer-session-localwords):
9250 New buffer-local variable to hold buffer session localwords.
9251 (ispell-kill-ispell): Add option 'clear to delete session
9253 (ispell-command-loop, ispell-change-dictionary)
9254 (ispell-buffer-local-words): Preserve session localwords when
9257 * textmodes/flyspell.el (flyspell-process-localwords)
9258 (flyspell-do-correct): Preserve session localwords when needed.
9260 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9262 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9263 using obsolete `translation-table-for-input'.
9264 (ispell-word, ispell-process-line, ispell-complete-word):
9265 Use plain `insert' instead of removed `ispell-insert-word'.
9267 2012-04-22 Chong Yidong <cyd@gnu.org>
9269 * cus-edit.el (custom-variable-menu)
9270 (custom-variable-reset-saved, custom-face-menu)
9271 (custom-face-reset-saved): If there is no saved value, make the
9272 "reset-saved" operation bring back the default (Bug#9509).
9273 (custom-face-state): Properly detect themed faces.
9275 * faces.el (face-spec-set): Stop supporting deprecated form of
9278 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9280 Move functions from C to Lisp. Make non-blocking method calls
9281 the default. Implement further D-Bus standard interfaces.
9283 * net/dbus.el (dbus-message-internal): Declare function.
9284 Remove unneeded function declarations.
9285 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9286 (dbus-message-type-method-return, dbus-message-type-error)
9287 (dbus-message-type-signal): Declare variables. Remove local
9289 (dbus-interface-dbus, dbus-interface-peer)
9290 (dbus-interface-introspectable, dbus-interface-properties)
9291 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9293 (dbus-interface-objectmanager): New defconst.
9294 (dbus-call-method, dbus-call-method-asynchronously)
9295 (dbus-send-signal, dbus-method-return-internal)
9296 (dbus-method-error-internal, dbus-register-service)
9297 (dbus-register-signal, dbus-register-method): New defuns, moved
9299 (dbus-call-method-handler, dbus-setenv)
9300 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9302 (dbus-call-method-non-blocking): Make it an obsolete function.
9303 (dbus-unregister-object, dbus-unregister-service)
9304 (dbus-handle-event, dbus-register-property)
9305 (dbus-property-handler): Obey the new structure of
9306 `bus-registered-objects'.
9307 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9308 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9309 Use `dbus-call-method'.
9311 2012-04-22 Chong Yidong <cyd@gnu.org>
9313 * cus-edit.el (custom-commands, custom-reset-menu)
9314 (Custom-reset-standard): Tweak labels.
9315 (custom-reset-button-menu): Change default to t.
9316 (custom-buffer-create-internal): For the custom-reset-button-menu
9317 case, put the revert button first.
9318 (custom-group-subtitle): New face.
9319 (custom-group-value-create): Align docstring to a specific column.
9321 * wid-edit.el (widget-documentation-link-add): Don't handle
9322 indentation in this function.
9323 (widget-documentation-string-indent-to): New function.
9324 (widget-documentation-string-value-create): Use it.
9326 * autorevert.el (auto-revert):
9327 * epg-config.el (epg):
9328 * ibuffer.el (ibuffer):
9331 * eshell/eshell.el (eshell):
9332 * net/ange-ftp.el (ange-ftp):
9333 * progmodes/ebnf2ps.el (postscript):
9334 * progmodes/flymake.el (flymake):
9335 * progmodes/prolog.el (prolog):
9336 * progmodes/verilog-mode.el (verilog-mode):
9337 * progmodes/which-func.el (which-func):
9338 * term/xterm.el (xterm):
9339 * textmodes/picture.el (picture):
9340 * textmodes/tildify.el (tildify):
9341 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9342 customization buffers.
9344 2012-04-22 Alan Mackenzie <acm@muc.de>
9346 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9347 Adding a ) can hide the resulting (..) from searches. Fix it.
9348 Bound the backward search to the position of the existing (.
9350 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9352 * progmodes/verilog-mode.el (verilog-mode): Check whether
9353 which-func-modes is t before adding verilog-mode.
9354 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9356 2012-04-21 Leo Liu <sdl.web@gmail.com>
9358 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9360 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9362 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9363 filling of the last column of a table (Bug#5635).
9364 (woman-find-next-control-line): New arg, specifying an additional
9365 regexp component for the control line.
9366 (woman2-roff-buffer): Use it.
9367 (woman-break-table): New function.
9368 (woman2-TS): Use it.
9370 2012-04-21 Chong Yidong <cyd@gnu.org>
9372 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9373 (woman-horizontal-escapes, woman-negative-vertical-space)
9374 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9375 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9377 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * minibuffer.el (completion-file-name-table): Complete user names.
9381 2012-04-20 Leo Liu <sdl.web@gmail.com>
9383 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9386 2012-04-20 Chong Yidong <cyd@gnu.org>
9388 * server.el (server-execute): Respect initial-buffer-choice if it
9389 is a string and there are no files to open (Bug#2825).
9390 (server-create-window-system-frame, server-create-tty-frame):
9391 Don't switch buffers here.
9392 (server-process-filter): Only try to open a window system frame if
9393 compiled with graphical support (Bug#8314).
9395 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9397 * battery.el (battery-echo-area-format): Display remaining time
9398 for sysfs backend too (Bug#11269).
9399 (battery-linux-sysfs): Fix conditional for the charge.
9401 2012-04-20 Chong Yidong <cyd@gnu.org>
9403 * progmodes/gdb-mi.el (gdb): Revert previous change.
9404 (gdb-inferior-io--init-proc): New function.
9405 (gdb-init-1): Use it.
9406 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9407 responsible for allocating a new pty and hooking it to gdb when
9408 the old pty gets an EIO due to process exit.
9409 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9410 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9411 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9413 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9415 * window.el (window-min-size, window-sizable, window-min-delta)
9416 (window-max-delta, window--resizable, window-resizable)
9417 (window-total-size, window-full-height-p, window-full-width-p)
9418 (window-in-direction, window--resize-mini-window, window-resize)
9419 (window--resize-child-windows-normal)
9420 (window--resize-child-windows, window--resize-siblings)
9421 (window--resize-this-window, adjust-window-trailing-edge)
9422 (enlarge-window, shrink-window): Doc fixes.
9424 2012-04-20 Chong Yidong <cyd@gnu.org>
9426 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9427 New function to call delete-process on the gdb-inferior buffer's pty.
9428 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9429 pty process (Bug#11273).
9430 (gdb-update): New arg to suppress talking to the gdb process.
9431 (gdb-done-or-error): Use it.
9432 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9433 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9434 sentinel not being called.
9436 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9438 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9440 2012-04-20 Glenn Morris <rgm@gnu.org>
9442 * net/network-stream.el (open-network-stream): Doc fix.
9444 2012-04-20 Chong Yidong <cyd@gnu.org>
9446 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9448 2012-04-20 Alan Mackenzie <acm@muc.de>
9450 Ensure searching for keywords is case sensitive.
9452 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9453 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9454 (c-defun-name, c-mark-function, c-cpp-define-name)
9455 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9456 (c-context-line-break): Bind case-fold-search to nil.
9458 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9459 Bind case-fold-search to nil.
9461 2012-04-20 Chong Yidong <cyd@gnu.org>
9463 * mail/sendmail.el (mail-bury): Call return action with the right
9464 Rmail buffer (Bug#11242).
9466 * server.el (server-process-filter): Handle corner case where both
9467 tty and nowait options are present (Bug#11102).
9469 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9471 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9472 (top level): Put into the executable the ident-style '$Id:' tag on
9475 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * electric.el (electric-indent-post-self-insert-function): Check that
9478 electric-indent-mode is enabled in current buffer.
9480 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9482 * imenu.el (imenu-progress-message): Restore; it is "used" in
9483 erc/erc-imenu.el and net/snmp-mode.el.
9485 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9487 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9488 (mouse-avoidance-nudge-mouse): Remove unused binding.
9490 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9492 * descr-text.el (describe-char):
9493 * progmodes/python.el (python-describe-symbol):
9494 Don't call `toggle-read-only', set `buffer-read-only'.
9496 * imenu.el (imenu-default-goto-function): Mark unused args.
9497 (imenu-progress-message): Remove obsolete macro; all callers changed.
9499 * subr.el (keymap-canonicalize): Remove unused binding.
9500 (read-passwd): Mark unused arg.
9502 * tutorial.el (tutorial--display-changes): Remove unused binding.
9503 (tutorial--save-tutorial-to): Remove unused variable.
9505 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9506 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9507 (package-generate-autoloads, package-menu--generate)
9508 (package-menu--find-upgrades): Remove unused bindings.
9510 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9511 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9512 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9513 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9514 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9515 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9516 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9517 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9518 (cua-delete-char-rectangle): Mark unused args.
9519 (cua-align-rectangle): Remove unused binding.
9521 * mail/rmail.el (compilation--message->loc)
9522 (epa--find-coding-system-for-mime-charset): Declare.
9524 * net/dbus.el (dbus-register-service): Declare.
9525 (dbus-name-owner-changed-handler): Remove unused binding.
9527 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9528 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9529 (nxml-scan-backward-within): Mark unused arg.
9530 (nxml-dynamic-markup-word): Remove unused binding.
9532 * mouse.el (mouse-menu-major-mode-map):
9533 * emacs-lisp/authors.el (authors-scan-change-log)
9534 (authors-add-to-author-list):
9535 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9536 * emacs-lisp/smie.el (smie-auto-fill):
9537 * mail/sendmail.el (mail-bury):
9538 * mail/unrmail.el (unrmail):
9539 * net/tls.el (open-tls-stream):
9540 * textmodes/picture.el (picture-mouse-set-point):
9541 Remove unused bindings.
9543 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9545 * net/tramp.el (tramp-action-password): Let-bind
9546 `enable-recursive-minibuffers' to t.
9548 2012-04-18 Sam Steingold <sds@gnu.org>
9550 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9551 instead of 'string to accommodate values like [f11].
9552 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9553 * progmodes/gdb-mi.el: Likewise.
9555 2012-04-18 Leo Liu <sdl.web@gmail.com>
9557 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9559 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9562 2012-04-18 Chong Yidong <cyd@gnu.org>
9564 * simple.el (line-move): Use forward-line if in batch mode
9567 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9569 * files.el (after-find-file): Do not try to add a final newline if
9570 the buffer is read-only (Bug#11156).
9572 2012-04-17 Richard Stallman <rms@gnu.org>
9574 * mail/rmail.el (rmail-start-mail):
9575 Pass (rmail-mail-return...) for the return-action.
9576 Pass (rmail-yank-current-message...) for the yank-action.
9577 (rmail-yank-current-message): New function.
9578 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9579 (rmail-reply): Likewise.
9580 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9582 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9583 buffer, not the last. Reject temp buffers. Use the rmail-mode
9586 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9588 * server.el (server-ensure-safe-dir): Simplify.
9590 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * emacs-lisp/smie.el: Provide smarter auto-filling.
9593 (smie-auto-fill): New function.
9594 (smie-setup): Use it.
9596 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9598 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9600 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9601 (comment-indent): Use it.
9603 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9605 * ses.el: The overall change is to add cell renaming, that is
9606 setting fancy names for cell symbols other than name matching
9607 "\\`[A-Z]+[0-9]+\\'" regexp .
9608 (ses-localvars): Add ses--renamed-cell-symb-list.
9609 (ses-create-cell-variable): New defun.
9610 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9611 (ses-relocate-formula): Relocate formulas only for cells the
9612 symbols of which are not renamed, i.e. symbols whose names do not
9613 match regexp "\\`[A-Z]+[0-9]+\\'".
9614 (ses-relocate-all): Relocate values only for cells the symbols of
9615 which are not renamed.
9616 (ses-load): Create cells variables as the (ses-cell ...) are read,
9617 in order to check row col consistency with cell symbol name only
9618 for cells that are not renamed.
9619 (ses-replace-name-in-formula): New defun.
9620 (ses-rename-cell): New defun.
9622 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9624 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9625 New option (bug#11118).
9626 (perl-calculate-indent): Respect it.
9628 2012-04-17 Glenn Morris <rgm@gnu.org>
9630 * dired-aux.el (dired-mark-read-string): Doc fix.
9632 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9634 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9635 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9637 2012-04-17 Glenn Morris <rgm@gnu.org>
9639 * mouse.el (mouse-drag-track):
9640 * speedbar.el (speedbar-frame-mode):
9641 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9643 2012-04-16 Leo Liu <sdl.web@gmail.com>
9645 * progmodes/python.el: Trivial cleanup.
9647 2012-04-16 Glenn Morris <rgm@gnu.org>
9649 * vc/vc.el (vc-string-prefix-p):
9650 * vc/pcvs-util.el (cvs-string-prefix-p):
9651 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9652 * mpc.el (mpc-string-prefix-p):
9653 Make all of these into obsolete aliases for string-prefix-p.
9655 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9657 * textmodes/two-column.el: Move custom options to the start.
9658 (frame-width): Remove compat definition.
9659 (2C-associate-buffer, 2C-dissociate):
9660 Use with-current-buffer rather than save-excursion.
9661 (2C-dissociate): Force a mode-line update.
9662 (2C-autoscroll): Use ignore-errors.
9664 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9667 * emacs-lisp/cl-extra.el (*random-state*):
9668 Remove unnecessary declaration.
9670 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9672 * play/cookie1.el (cookie-snarf):
9673 Give an explicit error if input file cannot be read.
9675 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9677 * progmodes/perl-mode.el (c-macro-expand):
9678 Remove unnecessary autoload (it is in loaddefs.el).
9680 * textmodes/picture.el (picture-desired-column)
9681 (picture-update-desired-column): Convert comments to doc-strings.
9682 (picture-substitute): Remove function.
9683 (picture-mode-map): Initialize in the defvar.
9685 * woman.el: Remove eval-after-load for tar-mode.
9686 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9687 (woman-tar-extract-file): Autoload it.
9689 * frame.el (automatic-hscrolling): Make this alias obsolete.
9691 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9693 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9694 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9695 (ispell-dictionary-base-alist): Revert to original XEmacs
9696 friendly version for default. [:alpha:] will be added in
9697 `ispell-set-spellchecker-params' if needed.
9699 2012-04-16 Chong Yidong <cyd@gnu.org>
9701 * image.el (imagemagick--file-regexp): New variable.
9702 (imagemagick-register-types): Use it.
9703 (imagemagick-types-inhibit): Add :set function. Allow new value
9704 of t to inhibit all types.
9706 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9707 so we can preload it.
9709 * loadup.el (fboundp): Preload regexp-opt, needed by
9710 imagemagick-register-types.
9712 2012-04-15 Chong Yidong <cyd@gnu.org>
9714 * frame.el (scrolling): Remove nearly unused customization group.
9716 * scroll-all.el (scroll-all-mode): Move to windows group.
9718 2012-04-15 Chong Yidong <cyd@gnu.org>
9720 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9722 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9724 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9725 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9727 2012-04-15 Glenn Morris <rgm@gnu.org>
9729 * simple.el (process-file-side-effects): Doc fix.
9731 2012-04-15 Glenn Morris <rgm@gnu.org>
9733 * international/mule-cmds.el (set-language-environment): Doc fix.
9735 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9737 * server.el (server-auth-key, server-generate-key): Doc fixes.
9738 (server-get-auth-key): Doc fix. Use `string-match-p'.
9739 (server-start): Reflow docstring.
9741 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9743 * server.el (server-generate-key): `called-interactively-p'
9744 requires a parameter.
9746 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9748 * server.el (server-auth-key): New variable.
9749 (server-generate-key, server-get-auth-key): New function.
9750 (server-start): Use the new variable and functions to allow
9751 setting a permanent server key (bug#9423).
9753 2012-04-14 Leo Liu <sdl.web@gmail.com>
9755 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9757 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9760 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9761 Emacs uses American spelling.
9763 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9765 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9766 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9767 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9768 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9770 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9772 * progmodes/which-func.el (which-func-modes): Change default.
9774 2012-04-14 Kim F. Storm <storm@cua.dk>
9776 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9777 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9779 2012-04-14 Chong Yidong <cyd@gnu.org>
9781 * custom.el (custom-theme-set-variables): Doc fix.
9783 2012-04-14 Glenn Morris <rgm@gnu.org>
9785 * international/mule.el (set-auto-coding-for-load): Doc fix.
9787 2012-04-14 Alan Mackenzie <acm@muc.de>
9789 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9790 imenu work again for Objective C Mode. Correct the *-index values,
9791 these having been disturbed by a previous change in 2011-08.
9793 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9794 Correct two search limits.
9796 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9798 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9800 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9802 * international/characters.el: Fix sorting.
9804 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9806 * international/characters.el: Add more missing Latin case pairs.
9808 2012-04-14 Glenn Morris <rgm@gnu.org>
9810 * files.el (dir-locals-set-class-variables): Doc fix.
9812 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9814 * international/characters.el: Add set-case-syntax-pair call for
9815 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9816 counterpart. (Bug#11209)
9818 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9820 2012-04-14 Glenn Morris <rgm@gnu.org>
9822 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9824 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9826 * textmodes/ispell.el (ispell-dictionary-base-alist):
9827 Add data for Hebrew.
9829 2012-04-14 Chong Yidong <cyd@gnu.org>
9831 * net/rcirc.el (rcirc-cmd-quit):
9832 Revert 2012-03-18 change (Bug#11192).
9834 2012-04-14 Glenn Morris <rgm@gnu.org>
9836 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9838 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9840 * minibuffer.el (completion-in-region-mode-map):
9841 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9843 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9845 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9847 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9849 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9850 to allow `C-M-f' and `C-M-b' to move to the nearest path
9851 separator (bug#9511).
9853 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9855 * avoid.el: Require cl when compiling. And also move the
9856 `provide' to the end.
9858 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9860 * avoid.el (mouse-avoidance-banish-position): New variable.
9861 (mouse-avoidance-banish-destination): Use it (bug#10165).
9863 2012-04-13 Leo Liu <sdl.web@gmail.com>
9865 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9867 2012-04-13 Ken Brown <kbrown@cornell.edu>
9869 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9870 this is no longer needed now that cygstart understands file:// URLs.
9871 (browse-url-filename-alist): For the same reason, don't modify
9872 file:// URLs on Cygwin.
9874 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9877 the region on shift if the binding is already shifted (bug#11221).
9879 2012-04-12 Glenn Morris <rgm@gnu.org>
9881 * mail/mailpost.el: Move to obsolete/.
9883 2012-04-12 Drew Adams <drew.adams@oracle.com>
9885 * imenu.el (imenu--generic-function): Ignore invisible definitions
9888 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9890 * hexl.el (hexl-bits): New variable.
9891 (hexl-options): Mention the variable in the doc string.
9892 (hexl-rulerise, hexl-line-displen): New functions.
9893 (hexl-mode): Mention the new variable.
9894 (hexl-mode, hexl-current-address, hexl-current-address):
9896 (hexl-ascii-start-column): New function.
9897 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9898 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9900 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9902 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9903 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9904 the encoding, as expected by hunspell.
9906 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * battery.el (battery--linux-sysfs-regexp): New const.
9909 (battery-status-function): Use it. Remove yeeloong special case.
9910 (battery-yeeloong-sysfs): Remove.
9911 (battery-echo-area-format): Remove yeeloong special case.
9913 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9915 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9916 Reported by Noah Friedman.
9918 * subr.el (read-passwd): Use read-string.
9920 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9922 * vcursor.el (vcursor-move): Increase the priority of the overlay
9925 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9927 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9928 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9930 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9932 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9933 define-minor-mode (bug#10760).
9935 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9937 * progmodes/grep.el (rgrep): Tweak the find command line so
9938 that directories matching `grep-find-ignored-files' won't be
9941 2012-04-11 Chong Yidong <cyd@gnu.org>
9943 * startup.el (command-line): Remove support for long-obsolete
9944 variable font-lock-face-attributes.
9946 2012-04-11 Glenn Morris <rgm@gnu.org>
9948 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9950 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * window.el (window--state-get-1): Obey window-point-insertion-type.
9954 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9956 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9957 to previous function when point is on the first character of a
9958 function. Take care of that in `narrow-to-defun' (bug#6157).
9960 2012-04-11 Glenn Morris <rgm@gnu.org>
9962 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9963 not just file-errors.
9965 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9966 (vc-bzr-sha1): Use internal sha1.
9968 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9972 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9974 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9975 that start in the middle of the line (bug#10496).
9977 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9979 * battery.el (battery-linux-proc-acpi): Only one battery is
9980 discharged at a time, but that seems to confuse battery.el when
9981 computing `rate-type' for the battery not being discharged
9984 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9986 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9988 * international/quail.el: Use dolist and simplify.
9989 (quail-define-package, quail-update-keyboard-layout)
9990 (quail-define-rules): Use dolist.
9991 (quail-insert-kbd-layout, quail-get-translation): CSE.
9993 * tmm.el: Use dolist, remove left over hook.
9994 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9996 (calendar-load-hook): Don't mess with it.
9998 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9999 Use derived-mode-p. Run the diff asynchronously.
10001 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10003 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10005 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10007 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10008 (list-dynamic-libraries--loaded): New function.
10009 (list-dynamic-libraries--refresh): Use it.
10011 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10013 * progmodes/python.el (python-fill-paragraph):
10014 Make python-fill-region in a multiline string work when font-lock is
10015 disabled (bug#7018).
10017 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10019 * language/european.el (cp775): Add oem/legacy (en)coding on
10020 DOS/MS Windows for the Baltic languages. There are still plenty
10021 of texts written in this encoding/codepage (bug#6519).
10023 2012-04-10 Glenn Morris <rgm@gnu.org>
10025 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10026 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10028 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10030 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10031 next-line "n" and previous-line "p" in order to make recentf more
10032 consistent with ibuffer, dired or org-mode (bug#9387).
10034 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10036 * image.el (put-image): Return the overlay created instead of the
10037 optional input string (bug#7834). Note that this may break code
10038 that is (for some reason or other) depending on `put-image'
10039 returning the string.
10041 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10043 * simple.el (zap-to-char): Allow zapping using input methods
10046 * textmodes/fill.el (fill-region): Leave point and mark where they
10047 were before filling (bug#5399).
10049 2012-04-09 Glenn Morris <rgm@gnu.org>
10051 * version.el (emacs-bzr-get-version):
10052 Handle lightweight checkouts of local branches.
10054 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10056 * international/characters.el: Recover lost case pairs. (Bug#11209)
10058 2012-04-09 Chong Yidong <cyd@gnu.org>
10060 * custom.el (custom-variable-p): Return nil for non-symbol
10061 arguments instead of signaling an error.
10062 (user-variable-p): Obsolete alias for custom-variable-p.
10064 * apropos.el (apropos-variable):
10065 * files-x.el (read-file-local-variable):
10066 * simple.el (set-variable):
10067 * woman.el (woman-mini-help):
10068 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10070 2012-04-09 Glenn Morris <rgm@gnu.org>
10072 * startup.el (normal-top-level): Don't look for leim-list.el
10073 in places where it will not be found. (Bug#910)
10075 * international/mule-cmds.el (set-default-coding-systems):
10076 * files.el (normal-mode):
10077 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10078 This function was removed with ucs-tables.el in 2008.
10080 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10082 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10083 ispell-encoding8-command to "-i", without a trailing space.
10084 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10085 separate command-line arguments, to specify the encoding, since
10086 that's how hunspell expects it.
10088 2012-04-08 Glenn Morris <rgm@gnu.org>
10090 * loadup.el: Load bindings before cus-start.
10091 This reduces somewhat the number of "rogue" settings in emacs -Q.
10093 2012-04-07 Glenn Morris <rgm@gnu.org>
10095 * version.el (emacs-bzr-get-version): New function.
10096 (emacs-bzr-version): New variable.
10097 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10098 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10100 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10102 * international/uni-bidi.el, international/uni-category.el:
10103 * international/uni-combining.el, international/uni-decimal.el:
10104 * international/uni-decomposition.el, international/uni-digit.el:
10105 * international/uni-lowercase.el, international/uni-mirrored.el:
10106 * international/uni-name.el, international/uni-numeric.el:
10107 * international/uni-titlecase.el, international/uni-uppercase.el:
10108 Update for Unicode 6.1.
10110 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10112 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10114 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10116 * window.el (shrink-window): Mention the `window-min-height'
10117 variable in the doc string.
10119 2012-04-05 Bastien Guerry <bzg@altern.org>
10121 * color.el (color-lighten-name): Fix typo.
10123 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10125 * server.el (server--on-display-p): New function.
10126 (server--on-display-p): Use it.
10128 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10130 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10133 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * comint.el (comint--common-quoted-suffix): Check string boundary
10136 before comparing (bug#11158).
10137 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10139 2012-04-04 Chong Yidong <cyd@gnu.org>
10141 * minibuffer.el (completion-extra-properties): Doc fix.
10143 * subr.el (delayed-warnings-hook): Doc fix.
10145 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10147 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10148 selection (Bug#11159).
10149 (epa-insert-keys): Inform that the default public key will be
10150 exported if no key is selected.
10152 2012-04-04 Richard Stallman <rms@gnu.org>
10154 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10156 2012-04-03 Chong Yidong <cyd@gnu.org>
10158 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10159 mail-insert-file, not its obsolete alias mail-attach-file.
10161 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10163 * notifications.el (notifications-notify): Fix docstring.
10165 2012-04-02 Glenn Morris <rgm@gnu.org>
10167 * emacs-lisp/authors.el (authors-aliases): Another addition.
10169 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10171 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10172 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10173 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10175 2012-04-01 Chong Yidong <cyd@gnu.org>
10177 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10178 Handle root directory properly.
10179 (copy-directory): Caller changed.
10181 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10182 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10184 2012-03-31 Glenn Morris <rgm@gnu.org>
10186 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10188 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10190 * calendar/calendar.el (calendar-window-list)
10191 (calendar-hide-window): Restore. (Bug#11140)
10192 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10194 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10196 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10198 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10199 Check if file is a symlink (Bug#10489).
10201 * files.el (copy-directory): Likewise.
10203 2012-03-30 Chong Yidong <cyd@gnu.org>
10205 * image.el (imagemagick-types-inhibit)
10206 (imagemagick-register-types): Doc fix.
10208 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10210 * textmodes/ispell.el (ispell-get-extended-character-mode):
10211 Disable extended-char-mode for hunspell. hunspell does not support it
10212 and treats ~word as ordinary words in pipe mode.
10214 2012-03-30 Glenn Morris <rgm@gnu.org>
10216 * tutorial.el (help-with-tutorial): Ensure local variables don't
10217 happen to make the buffer read-only. (Bug#11127)
10219 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10222 (perl-calculate-indent): Return `noindent' in strings.
10224 2012-03-28 Sam Steingold <sds@gnu.org>
10226 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10227 instead of the broken adhockery which does not prevent calendar
10228 buffers from being displayed at random after exit.
10229 (calendar-window-list, calendar-hide-window): Remove the broken
10232 2012-03-28 Glenn Morris <rgm@gnu.org>
10234 * replace.el (query-replace-map): Doc fix.
10236 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10238 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10239 contents. (Bug#11109)
10241 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10245 (avl-tree--check, avl-tree--check-node): New funs.
10247 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10249 * window.el (switch-to-visible-buffer): New option.
10250 (switch-to-prev-buffer, switch-to-next-buffer):
10251 Observe switch-to-visible-buffer. Make sure that checking for a window
10252 showing a buffer already is done on the same frame.
10254 2012-03-27 Glenn Morris <rgm@gnu.org>
10256 * startup.el (mail-host-address): Doc fix.
10258 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10260 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10261 than 197 variables.
10263 2012-03-26 Ami Fischman <ami@fischman.org>
10265 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10267 2012-03-26 Glenn Morris <rgm@gnu.org>
10269 * files.el (save-buffers-kill-emacs): Doc fix.
10271 * startup.el (normal-top-level, command-line, command-line-1):
10272 Give them doc strings.
10274 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10276 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10277 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10279 2012-03-25 Chong Yidong <cyd@gnu.org>
10281 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10282 theme if it was previously enabled before (Bug#11031).
10284 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10285 spec with custom-face-get-current-spec if its :shown-value is not
10286 determined yet (Bug#9337).
10287 (customize-create-theme, custom-theme-revert): Doc fixes.
10289 * button.el (button-at): Minor addition to docstring.
10291 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10293 * vc/vc.el (vc-merge): Fix a prompt.
10295 2012-03-24 Chong Yidong <cyd@gnu.org>
10297 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10300 * button.el (button-at): Minor addition to docstring.
10302 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * newcomment.el (comment-choose-indent): No space after BOL.
10306 2012-03-22 Sam Steingold <sds@gnu.org>
10308 * window.el (switch-to-prev-buffer): Revert last patch because the
10309 bug turned out to be an advertised feature (Elisp manual 28.14).
10311 2012-03-22 Glenn Morris <rgm@gnu.org>
10313 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10314 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10316 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10318 * net/network-stream.el (network-stream-open-starttls): Make error
10319 message under Windows be less misleading.
10321 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10323 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10324 understands (bug#9942).
10326 2012-03-22 Chong Yidong <cyd@gnu.org>
10328 * simple.el (end-of-visible-line): Handle return value of
10329 next-single-property-change properly (Bug#9371).
10331 2012-03-22 Kenichi Handa <handa@m17n.org>
10333 * international/quail.el (quail-insert-kbd-layout): Fix previous
10334 change. To avoid unwanted bidi reordering, use
10335 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10337 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10339 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10340 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10341 (ruby-beginning-of-indent): Be more careful with the difference
10342 between word-boundary and symbol boundary.
10343 (ruby-mode-syntax-table): Make : a symbol constituent.
10345 2012-03-21 Andreas Politz <politza@fh-trier.de>
10347 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10349 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10351 * progmodes/etags.el (tags-completion-at-point-function):
10354 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10356 2012-03-21 Sam Steingold <sds@gnu.org>
10358 * progmodes/etags.el (tags-completion-at-point-function):
10359 Avoid the error when point is inside the pattern.
10361 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10363 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10366 2012-03-21 Drew Adams <drew.adams@oracle.com>
10368 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10370 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10372 * ido.el (ido-set-current-directory, ido-read-internal)
10373 (ido-choose-completion-string, ido-completion-help): Handle nil
10374 value of ido-completion-buffer (Bug#11008).
10376 2012-03-21 Sam Steingold <sds@gnu.org>
10378 * window.el (switch-to-prev-buffer): Do not switch to a visible
10379 window previous buffer, just like with the frame previous buffers.
10381 2012-03-21 Chong Yidong <cyd@gnu.org>
10383 * faces.el (make-face, make-empty-face, copy-face):
10384 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10387 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10389 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10390 (widget-complete): Remove broken use of it.
10392 2012-03-20 Chong Yidong <cyd@gnu.org>
10394 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10395 Use string-width and truncate-string-width to handle arbitrary
10398 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10400 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10401 to draw rectangles, not squares. (Regression introduced by revno
10402 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10404 2012-03-18 Chong Yidong <cyd@gnu.org>
10406 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10407 it is not yet defined (for temacs).
10409 2012-03-18 Leo Liu <sdl.web@gmail.com>
10411 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10414 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10416 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10417 (ispell-choices-win-default-height, ispell-silently-savep)
10418 (ispell-dictionary-alist, ispell-encoding8-command)
10419 (ispell-check-version, ispell-aspell-find-dictionary)
10420 (ispell-valid-dictionary-list, ispell-words-keyword)
10421 (ispell-get-word, ispell-internal-change-dictionary)
10422 (ispell-region, ispell-skip-region-list)
10423 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10424 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10425 (ispell-message-text-end, ispell-message)
10426 (ispell-buffer-local-parsing): Doc fix.
10428 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10430 * htmlfontify.el: Add support for code block fontification for ODT
10431 export (Bug #9914).
10432 (hfy-optimisations): Define new option
10434 (hfy-fontify-buffer): Honor above setting.
10435 (hfy-begin-span, hfy-end-span): New routines factored out form
10436 `hfy-fontify-buffer'.
10437 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10438 that permit insertion of custom tags.
10439 (hfy-fontify-buffer): Use above handlers.
10440 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10441 (hfy-face-to-css): Re-defined to be a variable.
10442 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10443 over multiple runs. This is made possible by having the caller let
10444 bind a special variable `hfy-user-sheet-assoc'.
10445 (htmlfontify-string): New defun.
10446 (hfy-compile-face-map): Make sure that the last char in the
10447 buffer is correctly fontified.
10448 (hfy-face-resolve-face): Whitespace only change.
10450 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10452 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10453 message more clear.
10455 2012-03-16 Leo Liu <sdl.web@gmail.com>
10457 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10459 2012-03-16 Alan Mackenzie <acm@muc.de>
10461 Further optimise the handling of large macros.
10463 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10464 limit to a call of `c-literal-limits'.
10465 (c-determine-+ve-limit): New function.
10466 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10467 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10468 In CASE 5B, restrict a search limit to 500.
10469 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10471 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10472 Restrict macro bounds to +-500 from after-change's BEG END.
10474 2012-03-16 Leo Liu <sdl.web@gmail.com>
10476 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10478 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10480 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10481 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10483 2012-03-16 Glenn Morris <rgm@gnu.org>
10485 * view.el (view-buffer, view-buffer-other-window)
10486 (view-buffer-other-frame): Doc fixes re special mode-class.
10488 * subr.el (eval-after-load): If named feature is provided not from
10489 a file, run after-load forms. (Bug#10946)
10491 * calendar/calendar.el (calendar-insert-at-column):
10492 Handle non-unit-width characters a bit better. (Bug#10978)
10494 2012-03-15 Chong Yidong <cyd@gnu.org>
10496 * emacs-lisp/ring.el (ring-extend): New function.
10497 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10499 * comint.el (comint-read-input-ring)
10500 (comint-add-to-input-history): Grow comint-input-ring lazily.
10502 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10505 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10507 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10508 (imenu-add-to-menubar): Don't add a redundant index.
10509 (imenu-update-menubar): Handle a dynamically composed keymap.
10511 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10513 * mail/sendmail.el (mail-encode-header):
10514 Bind rfc2047-encode-encoded-words to nil.
10516 2012-03-13 Glenn Morris <rgm@gnu.org>
10518 * calendar/calendar.el (calendar-string-spread):
10519 Handle non-unit-width characters a bit better. (Bug#10978)
10521 2012-03-13 Leo Liu <sdl.web@gmail.com>
10523 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10524 directory and file as argument (Bug#10822).
10526 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10528 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10529 For dynamically generated code, follow $PC.
10530 (gdb-disassembly-handler-custom): Handle no function name case.
10532 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10534 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10535 * emulation/ws-mode.el (ws-query-replace):
10536 * sort.el (sort-regexp-fields):
10537 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10539 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10541 * dabbrev.el: Fix cycle completion order (bug#10963).
10542 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10543 (dabbrev-completion): Don't use an obarray; provide
10544 a cycle-sort-function.
10546 2012-03-12 Leo Liu <sdl.web@gmail.com>
10548 * simple.el (kill-new): Use equal-including-properties for comparison.
10549 (kill-do-not-save-duplicates): Doc fix.
10551 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10553 * dabbrev.el: Fix cycle completion (bug#10963).
10554 Use lexical binding and wrap to 80 columns.
10555 (dabbrev-completion): Delay computing the list of completions.
10557 2012-03-12 Kenichi Handa <handa@m17n.org>
10559 * international/quail.el (quail-insert-kbd-layout): Surround each
10560 row by LRO and PDF instead of inserting many LRMs. Pad the left
10561 and right of each non-spacing marks. Insert invisible space
10562 between lower and upper characters to prevent composition.
10564 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * minibuffer.el (minibuffer-complete): Don't get confused when the
10567 function is run twice via different commands (bug#10958).
10568 (complete-with-action): Fix docstring.
10570 2012-03-12 Chong Yidong <cyd@gnu.org>
10572 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10573 (nxml-completion-at-point-function): New function.
10574 (nxml-mode): Use it.
10575 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10577 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10578 Load generated autoloads file before byte compiling (Bug#10970).
10579 (package--make-autoloads-and-compile): New helper fun.
10581 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10583 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10585 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10587 * autorevert.el (auto-revert-handler): Ensure, that
10588 file-readable-p is applied only for local files or in
10589 auto-revert-tail-mode.
10591 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10593 * server.el (server-eval-at): Handle non-tcp connections.
10594 Decode result string.
10596 * server.el (server-msg-size): New constant.
10597 (server-reply-print): New function.
10598 (server-eval-and-print): Use it.
10599 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10600 Handle -print-nonl.
10602 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10604 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10607 2012-03-11 Chong Yidong <cyd@gnu.org>
10609 * simple.el (goto-line): Doc fix (Bug#9938).
10611 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10613 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10614 when finished (Bug#10963).
10616 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10618 * window.el (split-window-below): Fix bug in case where
10619 split-window-keep-point is nil (Bug#10971).
10621 2012-03-11 Juri Linkov <juri@jurta.org>
10623 * replace.el (replace-highlight): Set isearch-word to nil
10624 unconditionally. (Bug#10887)
10626 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10628 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10629 mairix-replace-illegal-chars; all callers changed. Don't remove
10630 ^, ~, and = characters: they are meaningful in mairix search specs.
10631 (mairix-widget-create-query): Add usage information about mairix
10632 search forms: negating words, searching for substrings, etc.
10634 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10636 * international/fontset.el (font-encoding-alist): Add an entry for
10637 ksx1001 (Bug#5667).
10639 2012-03-10 Richard Stallman <rms@gnu.org>
10641 * mail/sendmail.el (mail-encode-header):
10642 Set rfc2047-encode-encoded-words.
10644 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10646 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10647 view buffer means not swapped.
10648 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10649 (rmail-write-region-annotate): Error if real text has disappeared.
10651 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10653 2012-03-10 Chong Yidong <cyd@gnu.org>
10655 * emulation/cua-rect.el (cua--init-rectangles):
10656 * emulation/cua-base.el (cua--init-keymaps):
10657 Add delete-forward-char to remappings (Bug#9666).
10659 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10661 * speedbar.el (speedbar-unhighlight-one-tag-line):
10662 Avoid unhighlighting due to frame switching (Bug#10275).
10664 2012-03-10 Chong Yidong <cyd@gnu.org>
10666 * minibuffer.el (completion-in-region, completion-help-at-point):
10667 Give the completion field overlay a high priority (Bug#6830).
10669 * dired.el (dired-goto-file): Recognize absolute file name
10670 listings (Bug#7126).
10671 (dired-goto-file-1): New helper function.
10672 (dired-toggle-read-only): Inhibit warnings.
10674 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10676 * net/dbus.el (dbus-property-handler): Return empty array if
10677 there are no properties.
10679 2012-03-09 Leo Liu <sdl.web@gmail.com>
10681 * savehist.el (savehist-printable): Stricter check for string
10684 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10686 * mail/smtpmail.el (smtpmail-send-it):
10687 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10690 2012-03-09 Glenn Morris <rgm@gnu.org>
10692 * files.el (dir-locals-find-file):
10693 Don't check result is regular, readable.
10694 (dir-locals-read-from-file): Demote errors.
10696 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10698 * international/quail.el (quail-insert-kbd-layout):
10699 Insert invisible LRM characters before each character in a keyboard
10700 layout cell, to prevent their reordering by bidi display engine.
10701 For details, see the discussion in
10702 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10704 2012-03-08 Alan Mackenzie <acm@muc.de>
10706 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10707 the starting position; make it extend the marked region when
10708 invoked repeatedly - all under appropriate circumstances.
10709 Fixes bugs #5525, #10906.
10711 2012-03-08 Glenn Morris <rgm@gnu.org>
10713 * files.el (locate-dominating-file, dir-locals-find-file):
10714 Undo 2012-03-06 change.
10716 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10718 * international/quail.el (quail-help):
10719 Force bidi-paragraph-direction be left-to-right. See discussion in
10720 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10723 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10725 Avoid superfluous registering of signals. (Bug#10807)
10727 * notifications.el (notifications-on-action-object)
10728 (notifications-on-close-object): New defvars.
10729 (notifications-on-action-signal, notifications-on-closed-signal):
10730 Unregister the signal if not needed any longer.
10731 (notifications-notify): Register `notifications-action-signal' or
10732 `notifications-closed-signal', if :on-action or :on-close has been
10733 passed as argument.
10735 2012-03-07 Chong Yidong <cyd@gnu.org>
10737 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10740 2012-03-06 Glenn Morris <rgm@gnu.org>
10742 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10743 (x-disown-selection-internal, x-get-selection-internal):
10744 Doc fix (add arglist signatures). (Bug#10783)
10746 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10748 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10749 Handle breakpoints with no "type".
10751 2012-03-06 Glenn Morris <rgm@gnu.org>
10753 * files.el (locate-dominating-file): Add optional predicate argument.
10754 (dir-locals-find-file): Make use of above change.
10756 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10758 * info.el (Info-insert-dir): Also try "dir.gz".
10760 2012-03-06 Glenn Morris <rgm@gnu.org>
10762 * files.el (dir-locals-find-file):
10763 Ignore non-readable or non-regular files. (Bug#10928)
10765 * files.el (locate-dominating-file): Doc fix.
10767 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10769 * calendar/calendar.el (calendar-set-mode-line):
10770 `getenv' returns a string. (Bug#10951)
10772 2012-03-05 Leo Liu <sdl.web@gmail.com>
10774 * simple.el (backward-delete-char-untabify): Constrain point to
10777 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10779 2012-03-05 Chong Yidong <cyd@gnu.org>
10781 * simple.el (count-words): If called from Lisp, return the word
10782 count, for symmetry with `count-lines'. Arglist changed.
10783 (count-words--message): Args changed. Consolidate counting code
10784 from count-words and count-words-region.
10785 (count-words-region): Caller changed.
10786 (count-lines-region): Make it an obsolete alias.
10788 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10790 * saveplace.el (save-place-to-alist)
10791 (save-place-ignore-files-regexp): Allow value nil to disable this
10794 2012-03-04 Chong Yidong <cyd@gnu.org>
10796 * faces.el (face-spec-reset-face): For the default face, reset the
10797 attributes to default values (Bug#10748).
10799 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10801 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10802 previous patch: Check `message-send-mail-function', and not the
10803 default function (bug#10897).
10805 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10807 * notifications.el (notifications-on-action-signal)
10808 (notifications-on-closed-signal): Check for unique service name of
10809 incoming event. Fix error in removing entry.
10810 (top): Register for signals with wildcard service name.
10811 (notifications-notify): Use daemon unique service name for map entries.
10813 2012-03-04 Chong Yidong <cyd@gnu.org>
10815 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10817 2012-03-04 Glenn Morris <rgm@gnu.org>
10819 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10820 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10821 (expand-abbrev, define-abbrev-table): Doc fixes.
10823 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10825 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10826 `message-default-send-mail-function' and not `send-mail-function'
10827 when doing the prompting for `sendmail-query-once' before sending
10828 in Message buffers (bug#10897).
10830 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10831 This is inconsistent with all the other stream functions, which leave
10832 the setting up to the higher levels (if so wanted) (bug#10931).
10834 2012-03-02 Alan Mackenzie <acm@muc.de>
10836 Depessimize the handling of very large macros.
10838 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10839 (c-macro-cache-syntactic): New variables to implement a one
10840 element macro cache.
10841 (c-invalidate-macro-cache): New function.
10842 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10843 Adapt to use the new cache.
10844 (c-state-safe-place): Use better the cache of safe positions.
10845 (c-state-semi-nonlit-pos-cache)
10846 (c-state-semi-nonlit-pos-cache-limit):
10847 New variables for...
10848 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10849 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10850 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10851 Use c-state-semi-safe-place.
10853 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10854 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10856 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10858 * jka-compr.el (jka-compr-call-process):
10859 Apply `file-accessible-directory-p' only when the default directory is
10862 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10864 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10865 access of FILE2, if FILE1 does not exist.
10867 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10868 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10870 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10871 Add "PAGER=" to `process-environment'.
10873 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10875 * progmodes/sql.el: Bug fix
10876 (sql-get-login-ext): Save login values in globals.
10877 (sql-get-login): Use new version of `sql-get-login-ext'.
10878 (sql-interactive-mode): Set global `sql-connection' to nil.
10879 (sql-connect): Set global values for connection.
10880 (sql-product-interactive): Save global values as buffer local.
10882 2012-02-29 Leo Liu <sdl.web@gmail.com>
10884 * abbrev.el (define-abbrevs): Reset sys to nil.
10886 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10888 * files.el (file-equal-p): Rename from `files-equal-p'.
10889 Return nil when one or both files don't exist.
10890 (file-subdir-of-p): Now only top directory must exists,
10891 return nil if it doesn't.
10892 (copy-directory): No need to test with `file-subdir-of-p' after
10894 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10897 2012-02-28 Glenn Morris <rgm@gnu.org>
10899 * shell.el (shell-mode):
10900 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10901 * play/landmark.el (landmark-font-lock-face-O):
10902 * play/handwrite.el (handwrite):
10903 * play/gomoku.el (gomoku-O):
10904 * net/browse-url.el (browse-url-browser-display):
10905 * international/mule.el (define-charset):
10906 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10907 * filesets.el (filesets-find-file-delay):
10908 * eshell/em-xtra.el (eshell-xtra):
10909 * eshell/em-unix.el (eshell-grep):
10910 * emulation/viper.el (viper-mode):
10911 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10912 * emacs-lisp/easymenu.el (easy-menu-define):
10913 * calendar/timeclock.el (timeclock-use-display-time):
10915 * bookmark.el (bookmark-save-flag):
10916 Doc fix (standardize possessive apostrophe usage).
10918 2012-02-27 Chong Yidong <cyd@gnu.org>
10920 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10921 Fix key-binding lookup for ESC key (Bug#9146).
10923 * font-lock.el (font-lock-specified-p): Rename from
10924 font-lock-spec-present. Callers changed.
10926 2012-02-27 Daniel Hackney <dan@haxney.org>
10928 * emacs-lisp/package.el (package-compute-transaction):
10929 Handle holding a package version to t in package-load-list.
10931 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10933 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10934 (tramp-get-inode, tramp-get-device): Use cached values.
10936 2012-02-26 Alan Mackenzie <acm@muc.de>
10938 Check there is a font-lock specification before doing initial
10941 * font-core.el (font-lock-mode): Move the conditional from
10942 :after-hook to font-lock-initial-fontify.
10943 (font-lock-default-function): Move the check for a specification
10944 to font-lock-spec-present.
10946 * font-lock.el (font-lock-initial-fontify): Call ...
10947 (font-lock-spec-present): New function.
10949 2012-02-26 Jim Blandy <jimb@red-bean.com>
10951 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10952 (gdb-send): Apply it to the operand of the '-interpreter-exec
10953 console' command, so that we can pass arguments with (say) quotes
10954 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10956 2012-02-26 Chong Yidong <cyd@gnu.org>
10958 * help-fns.el (describe-function-1): Clarify description of
10959 remapping (Bug#10844).
10961 * files.el (files-equal-p): Doc fix.
10962 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10963 and quit the loop once a mismatch is found.
10965 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10967 * bs.el (bs--show-with-configuration): Don't throw an error
10968 if the window cannot be split; otherwise, subsequent calls to
10969 bs-show fail, restoring a stale window config. (Bug#10882)
10971 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10973 * term/ns-win.el (global-map): Bind ns-drag-file to
10974 ns-find-file (Bug#5855, Bug#10050).
10976 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10978 * calendar/parse-time.el (parse-time-string): Allow extractor to
10981 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10983 * net/tramp.el (tramp-file-name-for-operation):
10984 Add `files-equal-p' and `file-subdir-of-p'.
10986 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10987 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10988 Add COPY-CONTENTS argument.
10990 2012-02-25 Chong Yidong <cyd@gnu.org>
10992 Add custom groups for VC backends, for consistency with vc-bzr.
10994 * vc/vc-arch.el (vc-arch):
10995 * vc/vc-cvs.el (vc-cvs):
10996 * vc/vc-git.el (vc-git):
10997 * vc/vc-hg.el (vc-hg):
10998 * vc/vc-mtn.el (vc-mtn):
10999 * vc/vc-rcs.el (vc-rcs):
11000 * vc/vc-sccs.el (vc-sccs):
11001 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11002 All relevant defcustoms reassigned.
11004 2012-02-25 Chong Yidong <cyd@gnu.org>
11006 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11008 * term/x-win.el (x-initialize-window-system): Reduce default for
11009 x-selection-timeout to 5 seconds (Bug#8869).
11011 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11013 * files.el (files-equal-p, file-subdir-of-p): New functions.
11014 (copy-directory): Error when trying to copy a directory on itself.
11015 Add missing copy-contents arg to tramp handler.
11016 * dired-aux.el (dired-copy-file-recursive): Same.
11017 (dired-create-files): Modify destination when source is equal to
11018 dest when copying files.
11019 Return also when dest is a subdir of source. (Bug#10489)
11021 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11023 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11026 2012-02-23 Alan Mackenzie <acm@muc.de>
11028 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11029 parameter "after-hook:" to allow the expansion to run code after
11030 the execution of the mode hooks.
11032 * font-lock.el (font-lock-initial-fontify): New function extracted
11033 from font-lock-mode-internal.
11035 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11038 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11041 (completion--cache-all-sorted-completions): New function.
11042 (completion-all-sorted-completions): Use it.
11043 (completion--do-completion, minibuffer-force-complete):
11044 Use it to re-instate the flush hook.
11046 * icomplete.el (icomplete-completions): Replace last fix with a better
11049 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11051 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11052 when it might call us back infinitely (bug#10797).
11054 2012-02-23 Glenn Morris <rgm@gnu.org>
11056 * minibuffer.el (completion-category-overrides): Doc fix.
11058 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11060 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11061 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11063 2012-02-23 Glenn Morris <rgm@gnu.org>
11065 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11066 (authors-obsolete-files-regexps, authors-ignored-files)
11067 (authors-ambiguous-files, authors-renamed-files-alist):
11070 2012-02-23 Juri Linkov <juri@jurta.org>
11072 * isearch.el (isearch-occur): Sync interactive spec with occur's
11073 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11075 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11077 2012-02-22 Juri Linkov <juri@jurta.org>
11079 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11080 (ucs-insert): Doc fix. Check for hex digits in the string.
11081 Don't display `nil' in the error message. (Bug#10857)
11083 2012-02-22 Alan Mackenzie <acm@muc.de>
11085 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11087 2012-02-22 Glenn Morris <rgm@gnu.org>
11089 * ffap.el (ffap-c-path):
11090 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11092 2012-02-22 Chong Yidong <cyd@gnu.org>
11094 * custom.el (load-theme): Doc fix.
11096 2012-02-22 Glenn Morris <rgm@gnu.org>
11098 * dired-x.el (dired-guess-shell-alist-default):
11099 Remove escape sequences from nroff output. (Bug#172)
11101 2012-02-21 Glenn Morris <rgm@gnu.org>
11103 * vc/emerge.el (emerge-defvar-local):
11104 Set `permanent-local' property rather than unused `preserved'.
11106 * textmodes/picture.el (picture-delete-char): New alias.
11107 (picture-mode-map): Use it. (Bug#10860)
11108 (picture-mode): Doc fix.
11110 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11112 * newcomment.el (uncomment-region-default): Remove unused binding.
11114 2012-02-21 Glenn Morris <rgm@gnu.org>
11116 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11117 (picture-self-insert, picture-tab-chars): Doc fix.
11118 (picture-mode-map): Fix C-a, C-e.
11120 2012-02-20 Glenn Morris <rgm@gnu.org>
11122 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11124 2012-02-20 Leo Liu <sdl.web@gmail.com>
11126 * icomplete.el (icomplete-completions): Check FROM arg before
11127 passing to substring (Bug#10850).
11129 2012-02-19 Chong Yidong <cyd@gnu.org>
11131 * comint.el: Require ansi-color.
11132 (comint-output-filter-functions): Add ansi-color-process-output.
11134 * ansi-color.el: Don't set comint-output-filter-functions; it is
11135 now in the initial value defined in comint.el.
11136 (ansi-color-apply-face-function): New variable.
11137 (ansi-color-apply-on-region): Use it.
11138 (ansi-color-apply-overlay-face): New function.
11140 * shell.el (shell): No need to require ansi-color.
11141 (shell-mode): Use ansi-color-apply-face-function to highlight
11142 color escapes using font-lock-face property (Bug#10835).
11144 2012-02-19 Chong Yidong <cyd@gnu.org>
11146 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11147 mode-line formats (Bug#10839).
11149 2012-02-18 Glenn Morris <rgm@gnu.org>
11151 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11153 * mail/undigest.el (unforward-rmail-message): Doc fix.
11155 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11157 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11159 * international/characters.el (script-list): Sync with the latest
11160 Unicode Character Database.
11162 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11164 * international/titdic-cnv.el: Remove duplicate coding tag.
11165 * language/cham.el: Likewise.
11166 * language/tai-viet.el: Likewise.
11168 2012-02-18 Glenn Morris <rgm@gnu.org>
11170 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11171 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11172 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11173 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11174 * calendar/holidays.el (holiday-bahai-holidays)
11175 (calendar-holidays, list-holidays):
11176 Use utf-8 Bahá'í in doc-strings, menus, etc.
11178 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11180 * saveplace.el (save-place-ignore-files-regexp): New variable
11181 allowing for excluding files from saving their location of point.
11182 The default value matches the temporary commit message editing
11183 files from Git, SVN, Bazaar, and Mercurial.
11184 (save-place-to-alist): Use it.
11186 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11187 Stefan Monnier <monnier@iro.umontreal.ca>
11189 * newcomment.el (uncomment-region-default): Don't leave extra space
11190 when an arg is provided (bug#8150).
11192 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11194 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11196 2012-02-17 Glenn Morris <rgm@gnu.org>
11198 * net/socks.el: Require network-stream. (Bug#10599)
11200 2012-02-17 Kenichi Handa <handa@m17n.org>
11202 * international/charprop.el:
11203 * international/uni-name.el:
11204 * international/uni-old-name.el:
11205 * international/uni-comment.el: Regenerate.
11207 2012-02-16 Glenn Morris <rgm@gnu.org>
11209 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11210 Interactively in calendar buffer, give an error if not on a date.
11212 2012-02-15 Glenn Morris <rgm@gnu.org>
11214 * shell.el (shell-delimiter-argument-list):
11215 Revert 2011-02-17 change. (Bug#8027)
11217 2012-02-15 Chong Yidong <cyd@gnu.org>
11219 * minibuffer.el (completion-at-point-functions): Doc fix.
11221 * custom.el (defcustom): Doc fix; note use of defvar.
11223 2012-02-15 Glenn Morris <rgm@gnu.org>
11225 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11228 2012-02-14 Glenn Morris <rgm@gnu.org>
11230 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11232 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11234 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11235 way the ports list is computed.
11236 (smtpmail-query-smtp-server): Prompt the user for a port number if
11237 we can't connect to any of the standard ports (bug#10810).
11239 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11241 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11243 2012-02-13 Glenn Morris <rgm@gnu.org>
11245 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11247 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11249 * net/gnutls.el (gnutls-trustfiles): New variable.
11250 (gnutls-negotiate): Use it.
11252 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11254 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11255 does its stuff if Gnus is running.
11257 2012-02-13 Alan Mackenzie <acm@muc.de>
11259 Fix a loop in c-set-fl-decl-start.
11261 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11262 c-backward-syntactic-ws actually moves backwards.
11264 2012-02-13 Leo Liu <sdl.web@gmail.com>
11266 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11267 beginning so that all \C-o chars are removed.
11269 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11271 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11273 2012-02-12 Alan Mackenzie <acm@muc.de>
11275 Fix infinite loop with long macros.
11276 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11278 2012-02-12 Chong Yidong <cyd@gnu.org>
11280 * window.el (display-buffer): Doc fix (Bug#10785).
11282 2012-02-12 Glenn Morris <rgm@gnu.org>
11284 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11285 (x-disown-selection-internal, x-get-selection-internal):
11286 Sync docs with the xselect.c versions.
11288 * allout-widgets.el: Add missing license notice.
11290 2012-02-11 Glenn Morris <rgm@gnu.org>
11292 * select.el (x-get-selection-internal, x-own-selection-internal)
11293 (x-disown-selection-internal):
11294 * x-dnd.el (x-get-selection-internal): Update declarations.
11296 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11298 * window.el (window-sides-slots):
11299 * tool-bar.el (tool-bar-position):
11300 * term/xterm.el (xterm-extra-capabilities):
11301 * ses.el (ses-self-reference-early-detection):
11302 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11303 (verilog-auto-wire-type)
11304 (verilog-auto-delete-trailing-whitespace)
11305 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11306 (verilog-auto-tieoff-declaration):
11307 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11308 (sql-oracle-statement-starters, sql-oracle-scan-on):
11309 * progmodes/prolog.el (prolog-align-comments-flag)
11310 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11311 (prolog-left-indent-regexp, prolog-paren-indent-p)
11312 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11313 (prolog-types, prolog-mode-specificators)
11314 (prolog-determinism-specificators, prolog-directives)
11315 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11316 (prolog-electric-dot-flag)
11317 (prolog-electric-dot-full-predicate-template)
11318 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11319 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11320 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11321 (prolog-program-switches, prolog-prompt-regexp)
11322 (prolog-debug-on-string, prolog-debug-off-string)
11323 (prolog-trace-on-string, prolog-trace-off-string)
11324 (prolog-zip-on-string, prolog-zip-off-string)
11325 (prolog-use-standard-consult-compile-method-flag)
11326 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11327 (prolog-imenu-max-lines, prolog-info-predicate-index)
11328 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11329 (prolog-char-quote-workaround):
11330 * progmodes/cc-vars.el (c-defun-tactic):
11331 * net/tramp.el (tramp-encoding-command-interactive)
11332 (tramp-local-end-of-line):
11333 * net/soap-client.el (soap-client):
11334 * net/netrc.el (netrc-file):
11335 * net/gnutls.el (gnutls):
11336 * minibuffer.el (completion-category-overrides)
11337 (completion-cycle-threshold)
11338 (completion-pcm-complete-word-inserts-delimiters):
11339 * man.el (Man-name-local-regexp):
11340 * mail/feedmail.el (feedmail-display-full-frame):
11341 * international/characters.el (glyphless-char-display-control):
11342 * eshell/em-ls.el (eshell-ls-date-format):
11343 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11344 (lisp-lambda-list-keyword-parameter-indentation)
11345 (lisp-lambda-list-keyword-parameter-alignment):
11346 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11347 * dired-x.el (dired-omit-verbose):
11348 * cus-theme.el (custom-theme-allow-multiple-selections):
11349 * calc/calc.el (calc-highlight-selections-with-faces)
11350 (calc-lu-field-reference, calc-lu-power-reference)
11351 (calc-note-threshold):
11352 * battery.el (battery-mode-line-limit):
11353 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11354 (archive-7z-update):
11355 * allout.el (allout-prefixed-keybindings)
11356 (allout-unprefixed-keybindings)
11357 (allout-inhibit-auto-fill-on-headline)
11358 (allout-flattened-numbering-abbreviation):
11359 * allout-widgets.el (allout-widgets-auto-activation)
11360 (allout-widgets-icons-dark-subdir)
11361 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11362 (allout-widgets-theme-dark-background)
11363 (allout-widgets-theme-light-background)
11364 (allout-widgets-item-image-properties-emacs)
11365 (allout-widgets-item-image-properties-xemacs)
11366 (allout-widgets-run-unit-tests-on-load)
11367 (allout-widgets-time-decoration-activity)
11368 (allout-widgets-hook-error-post-time)
11369 (allout-widgets-track-decoration):
11370 Add missing :version tags to new defcustoms and defgroups.
11372 * progmodes/sql.el (sql-ansi-statement-starters)
11373 (sql-oracle-statement-starters): Add custom type.
11375 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11376 (prolog-system-version): Give it a type.
11378 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11380 * term/pc-win.el (x-select-text, x-selection-owner-p)
11381 (x-own-selection-internal, x-disown-selection-internal)
11382 (x-get-selection-internal): Sync doc strings and argument lists
11383 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11385 2012-02-11 Leo Liu <sdl.web@gmail.com>
11387 * progmodes/python.el (python-end-of-statement): Fix infinite
11390 2012-02-10 Glenn Morris <rgm@gnu.org>
11392 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11393 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11395 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11397 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11398 about SMTP before checking the From header.
11400 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11401 into own function for reuse by emacsbug.el.
11403 2012-02-10 Leo Liu <sdl.web@gmail.com>
11405 * subr.el (condition-case-unless-debug): Rename from
11406 condition-case-no-debug. All callers changed.
11407 (with-demoted-errors): Fix caller.
11409 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11410 * nxml/rng-valid.el (rng-do-some-validation):
11411 * emacs-lisp/package.el (package-refresh-contents)
11412 (package-menu-execute):
11413 * desktop.el (desktop-create-buffer):
11414 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11416 2012-02-10 Glenn Morris <rgm@gnu.org>
11418 * textmodes/bibtex.el:
11419 Add missing :version tags for new/changed defcustoms.
11421 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11423 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11425 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11426 (smtpmail-via-smtp): Use it, or fall back on the From address.
11427 (smtpmail-send-it): Ditto.
11429 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11431 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11432 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11433 (byte-compile-tmp-var): New const.
11434 (byte-compile-defvar): Use it to minimize .elc size.
11435 Just use `defvar' rather than simulate it (bug#10761).
11437 2012-02-09 Glenn Morris <rgm@gnu.org>
11439 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11441 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11444 * progmodes/compile.el (compilation-error-screen-columns)
11445 (compilation-first-column, compilation-filter-start): Doc fixes.
11447 * vc/log-view.el (log-view-toggle-entry-display):
11448 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11450 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11451 (report-emacs-bug-can-use-xdg-email):
11452 (report-emacs-bug-insert-to-mailer): Doc fixes.
11453 (report-emacs-bug): Message fix.
11455 * net/browse-url.el (browse-url-can-use-xdg-open)
11456 (browse-url-xdg-open): Doc fixes.
11458 * electric.el (electric-indent-mode, electric-pair-mode)
11459 (electric-layout-rules, electric-layout-mode): Doc fixes.
11460 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11462 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11464 * server.el (server-unselect-display): Don't inadvertently kill
11465 the current buffer. (Bug#10729)
11467 2012-02-08 Glenn Morris <rgm@gnu.org>
11469 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11470 (sql-list-table): Doc fixes.
11472 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11473 Comment out (does nothing).
11475 * completion.el (dynamic-completion-mode):
11476 * dirtrack.el (dirtrack-debug-mode):
11477 * electric.el (electric-layout-mode):
11478 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11479 * face-remap.el (text-scale-mode, buffer-face-mode):
11480 * iimage.el (iimage-mode):
11481 * image-mode.el (image-transform-mode):
11482 * minibuffer.el (completion-in-region-mode):
11483 * scroll-lock.el (scroll-lock-mode):
11484 * simple.el (next-error-follow-minor-mode):
11485 * tar-mode.el (tar-subfile-mode):
11486 * tooltip.el (tooltip-mode):
11487 * vcursor.el (vcursor-use-vcursor-map):
11488 * wid-browse.el (widget-minor-mode):
11489 * emulation/tpu-edt.el (tpu-edt-mode):
11490 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11491 * international/iso-ascii.el (iso-ascii-mode):
11492 * language/thai-util.el (thai-word-mode):
11493 * mail/supercite.el (sc-minor-mode):
11494 * net/goto-addr.el (goto-address-mode):
11495 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11496 * progmodes/cwarn.el (cwarn-mode):
11497 * progmodes/flymake.el (flymake-mode):
11498 * progmodes/glasses.el (glasses-mode):
11499 * progmodes/hideshow.el (hs-minor-mode):
11500 * progmodes/pascal.el (pascal-outline-mode):
11501 * textmodes/enriched.el (enriched-mode):
11502 * vc/smerge-mode.el (smerge-mode):
11503 Doc fixes (minor mode argument).
11505 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11507 * ls-lisp.el (ls-lisp-sanitize): New function.
11508 (ls-lisp-insert-directory): Use it to fix or remove any elements
11509 in file-alist with missing attributes. (Bug#4673)
11511 2012-02-07 Alan Mackenzie <acm@muc.de>
11513 Fix spurious recognition of c-in-knr-argdecl.
11515 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11516 putative K&R region.
11518 2012-02-07 Alan Mackenzie <acm@muc.de>
11520 * progmodes/cc-engine.el (c-forward-objc-directive):
11521 Prevent looping in "#pragma mark @implementation".
11523 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11525 * notifications.el (notifications-on-closed-signal): Make `reason'
11526 optional. (Bug#10744)
11528 2012-02-07 Glenn Morris <rgm@gnu.org>
11530 * emacs-lisp/easy-mmode.el (define-minor-mode):
11531 Doc fixes for the macro and the mode it defines.
11533 * image.el (imagemagick-types-inhibit): Doc fix.
11535 * cus-start.el (imagemagick-render-type): Add it.
11537 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11539 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11540 Set the default at load time, too, so that `font-lock-fontify-buffer'
11541 can be called without setting up the entire mode first. This fixes
11542 a bug in `mm-inline-text' with C MIME parts.
11544 2012-02-06 Chong Yidong <cyd@gnu.org>
11546 * simple.el (list-processes--refresh): Delete exited processes
11549 * comint.el (comint-next-prompt): next-single-char-property-change
11550 and prev-single-char-property-change never return nil (Bug#8657).
11552 * custom.el (defcustom): Doc fix (Bug#9711).
11554 2012-02-05 Chong Yidong <cyd@gnu.org>
11556 * cus-edit.el (custom-variable-reset-backup): Quote the value
11557 before storing it in the customized-value property (Bug#6712).
11558 (custom-display): Add a customization type tag.
11559 (custom-buffer-create-internal): Improve tooltip message.
11561 * wid-edit.el (widget-field-value-get): New optional arg to
11562 suppress trailing whitespace truncation.
11563 (character): Use it (Bug#2689).
11565 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11567 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11568 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11570 2012-02-05 Chong Yidong <cyd@gnu.org>
11572 * cus-edit.el (custom-variable-value-create): For mismatched
11573 types, show the current value (Bug#7600).
11575 * custom.el (defcustom): Doc fix.
11577 2012-02-05 Glenn Morris <rgm@gnu.org>
11579 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11581 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11583 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11584 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11585 (pp-last-sexp): Use `looking-at-p'.
11587 2012-02-04 Glenn Morris <rgm@gnu.org>
11589 * files.el (revert-buffer):
11590 Doc fix (mention revert-buffer-in-progress-p).
11592 * emacs-lisp/ert-x.el (ert-simulate-command):
11593 Check deferred-action-list (which is obsolete) is bound.
11595 * subr.el (with-wrapper-hook): Doc fixes.
11597 * simple.el (filter-buffer-substring-functions)
11598 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11600 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11602 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11603 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11605 2012-02-04 Leo Liu <sdl.web@gmail.com>
11607 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11609 2012-02-04 Glenn Morris <rgm@gnu.org>
11611 * image.el (image-extension-data): Add obsolete alias.
11613 * isearch.el (isearch-update): Doc fix.
11615 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11617 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11619 2012-02-03 Glenn Morris <rgm@gnu.org>
11621 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11622 (image-animate-timeout): Doc fix.
11624 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11626 2012-02-02 Glenn Morris <rgm@gnu.org>
11628 * server.el (server-auth-dir): Doc fix.
11629 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11631 * subr.el (run-mode-hooks): Doc fix.
11633 2012-02-02 Juri Linkov <juri@jurta.org>
11635 * image-mode.el (image-toggle-display-image): Remove tautological
11636 `major-mode' from the `derived-mode-p' test.
11638 2012-02-02 Kenichi Handa <handa@m17n.org>
11640 * composite.el (compose-region): Cancel previous change.
11642 2012-02-02 Kenichi Handa <handa@m17n.org>
11644 * composite.el (compose-region, compose-string): Signal error for
11645 a null string component (Bug#6988).
11647 2012-02-01 Chong Yidong <cyd@gnu.org>
11649 * view.el (view-buffer-other-window, view-buffer-other-frame):
11650 Handle special modes like view-buffer (Bug#10650).
11651 (view-buffer): Simplify.
11653 * frame.el (set-frame-font): Tweak meaning of third argument.
11655 * dynamic-setting.el (font-setting-change-default-font):
11656 Use set-frame-font (Bug#9982).
11658 2012-02-01 Glenn Morris <rgm@gnu.org>
11660 * progmodes/compile.el (compilation-internal-error-properties):
11661 Respect compilation-first-column in the "*compilation*" buffer.
11663 * emacs-lisp/easy-mmode.el (define-minor-mode):
11664 Relax :variable's test for a named function.
11666 2012-01-31 Alan Mackenzie <acm@muc.de>
11668 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11671 2012-01-31 Chong Yidong <cyd@gnu.org>
11673 * frame.el (set-frame-font): New arg ALL-FRAMES.
11675 * menu-bar.el (menu-set-font): Use set-frame-font.
11677 * faces.el (face-spec-reset-face): Don't apply unspecified
11678 attribute values to the default face.
11680 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11682 * progmodes/cwarn.el (cwarn): Remove dead link.
11683 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11684 Remove * from defcustom docstrings.
11685 (turn-on-cwarn-mode): Make obsolete.
11686 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11687 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11689 2012-01-31 Glenn Morris <rgm@gnu.org>
11691 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11692 Fix :variable handling of mode a symbol not equal to modefun.
11693 Allow named functions to be used as the cdr of :variable.
11695 2012-01-30 Glenn Morris <rgm@gnu.org>
11697 * emacs-lisp/authors.el (authors-fixed-entries):
11698 Remove reference to deleted file rnewspost.el.
11700 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11702 * window.el (window-with-parameter): Remove unused variable `windows'.
11703 (window--side-check): Remove unused variable `code'.
11704 (window--resize-siblings): Remove unused variable `first'.
11705 (adjust-window-trailing-edge): Remove unused variable `failed'.
11706 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11707 Use `let', not `let*'.
11708 (balance-windows-2): Remove unused variable `found'.
11709 (window--state-put-2): Remove unused variable `splits'.
11710 (window-state-put): Remove unused variable `selected'.
11711 (same-window-p): Use `string-match-p'.
11712 (display-buffer-assq-regexp): Remove unused variable `value'.
11713 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11714 Mark argument ALIST as ignored.
11715 (pop-to-buffer): Remove unused variable `old-window'.
11717 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11719 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11720 and .lzma compressed files.
11722 2012-01-29 Chong Yidong <cyd@gnu.org>
11724 * frame.el (window-system-default-frame-alist): Doc fix.
11726 * dynamic-setting.el (font-setting-change-default-font): Don't
11727 change the default face if SET-FONT argument is non-nil (Bug#9982).
11729 2012-01-29 Samuel Bronson <naesten@gmail.com>
11731 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11733 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11735 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11736 breakpoints in files outside current directory (Bug#6098).
11738 2012-01-29 Chong Yidong <cyd@gnu.org>
11740 * progmodes/python.el: Require ansi-color at top-level.
11742 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11743 Define and use in Emacs Lisp mode (Bug#9360).
11744 (lisp-mode-abbrev-table): Add doc.
11745 (lisp-mode-variables): Don't set local-abbrev-table.
11746 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11748 2012-01-28 Roland Winkler <winkler@gnu.org>
11750 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11752 2012-01-28 Roland Winkler <winkler@gnu.org>
11754 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11755 (bibtex-set-dialect): Use it. Either set global values of
11756 dialect-dependent variables or bind these variables buffer-locally
11758 (bibtex-mode): Call bibtex-set-dialect via
11759 hack-local-variables-hook.
11760 (bibtex-dialect): Update docstring.
11761 Add safe-local-variable predicate.
11762 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11763 bibtex-set-dialect.
11764 (bibtex-mode-map): Define menu for each dialect.
11765 (bibtex-entry): Fix docstring.
11767 2012-01-28 Chong Yidong <cyd@gnu.org>
11769 * eshell/esh-arg.el (eshell-quote-argument): New function.
11771 * eshell/esh-ext.el (eshell-invoke-batch-file):
11772 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11773 first arg to eshell-parse-command (Bug#10523).
11775 2012-01-28 Drew Adams <drew.adams@oracle.com>
11777 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11778 `default-directory' is non-nil.
11780 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11782 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11783 line that displays system-configuration-options. (Bug#9924)
11785 2012-01-28 Drew Adams <drew.adams@oracle.com>
11787 * descr-text.el (describe-char): Show information about POS, in
11788 addition to information about the character at POS. Improve and
11789 update the doc string. Change "code point" to "code point in
11790 charset", to avoid confusion with the character's Unicode code
11791 point shown above that. (Bug#10129)
11793 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11795 * descr-text.el (describe-char): Show the raw character, not only
11796 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11797 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11800 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11802 * emacs-lisp/package.el (package-install):
11803 Run package-refresh-contents if there is no archive yet (Bug#9798).
11805 2012-01-28 Chong Yidong <cyd@gnu.org>
11807 * emacs-lisp/package.el (package-maybe-load-descriptor):
11808 New function, split from package-maybe-load-descriptor.
11809 (package-maybe-load-descriptor): Use it.
11810 (package-download-transaction): Fully load required packages
11811 inside the loop, so that `require' calls work (Bug#10593).
11812 (package-install): No need to call package-initialize now.
11814 2012-01-28 Chong Yidong <cyd@gnu.org>
11816 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11818 * tooltip.el (tooltip-mode): Doc fix.
11819 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11821 * frame.el (set-cursor-color): Doc fix (Bug#352).
11823 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11824 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11826 * cus-edit.el (custom-buffer-create-internal): Fix search button
11827 action (Bug#10542).
11828 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11830 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11832 * dired.el (dired-mark-files-regexp):
11833 Include any subdirectory components. (Bug#10445)
11835 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11837 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11838 Handle [host]:port syntax. (Bug#10533)
11840 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11842 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11844 2012-01-26 Glenn Morris <rgm@gnu.org>
11846 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11847 * term.el (term-raw-escape-map): Use Control-X-prefix.
11848 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11850 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11852 * window.el (window-state-get, window--state-get-1): Don't deal
11853 with fixed-sizeness of windows. Simplify code.
11855 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11857 * window.el (window--state-get-1, window--state-put-2):
11858 Don't save and restore the mark.
11860 2012-01-25 Chong Yidong <cyd@gnu.org>
11862 * custom.el (custom-variable-p): Doc fix.
11864 2012-01-25 Glenn Morris <rgm@gnu.org>
11866 * dired.el (dired-goto-file): Handle some of the more common
11867 characters that `ls -b' escapes. (Bug#10596)
11869 * progmodes/compile.el (compilation-next-error-function):
11870 Respect compilation-first-column in the "*compilation*" buffer.
11871 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11873 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11875 2012-01-24 Glenn Morris <rgm@gnu.org>
11877 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11879 2012-01-24 Julien Danjou <julien@danjou.info>
11881 * color.el (color-rgb-to-hsl): Fix value computing.
11882 (color-hue-to-rgb): New function.
11883 (color-hsl-to-rgb): New function.
11884 (color-clamp, color-saturate-hsl, color-saturate-name)
11885 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11886 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11888 2012-01-24 Glenn Morris <rgm@gnu.org>
11890 * vc/vc-rcs.el (vc-rcs-create-tag):
11891 * vc/vc-sccs.el (vc-sccs-create-tag):
11892 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11894 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11896 * eshell/esh-util.el (eshell-read-hosts-file):
11897 Skip comment lines. (Bug#10549)
11899 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11901 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11903 * subr.el (display-delayed-warnings): Doc fix.
11904 (collapse-delayed-warnings): New function to collapse identical
11906 (delayed-warnings-hook): Add it.
11908 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11910 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11912 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11913 (tramp-default-user-alist): Don't add "pscp".
11914 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11915 property "login-as", if set. (Bug#10530)
11917 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11919 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11920 "plink1" and "psftp". (Bug#10530)
11922 2012-01-21 Kenichi Handa <handa@m17n.org>
11924 * international/mule-cmds.el (prefer-coding-system): Show a
11925 warning message if the default value of file-name-coding-system
11928 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11930 * windmove.el (windmove-reference-loc):
11931 Fix windmove-reference-loc miscalculation.
11933 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11935 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11938 2012-01-21 Glenn Morris <rgm@gnu.org>
11940 * international/mule.el (auto-coding-alist): Add .tbz.
11942 * files.el (local-enable-local-variables): Doc fix.
11943 (inhibit-local-variables-regexps): Rename from
11944 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11945 Doc fix. Add some extensions from auto-coding-alist.
11946 (inhibit-local-variables-suffixes):
11947 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11948 (inhibit-local-variables-p):
11949 New function, extracted from set-auto-mode-1.
11950 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11951 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11952 (hack-local-variables): Doc fix. Make the mode-only case
11953 respect enable-local-variables and friends.
11954 Respect inhibit-local-variables-regexps for file-locals, but
11955 not for directory-locals.
11956 (set-visited-file-name):
11957 Take account of inhibit-local-variables-regexps.
11958 Whether it applies may change as the file name is changed.
11959 * jka-cmpr-hook.el (jka-compr-install):
11960 * jka-compr.el (jka-compr-uninstall):
11961 Update for inhibit-first-line-modes-suffixes name change.
11963 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11965 * help-macro.el (make-help-screen): Temporarily restore original
11966 binding for minor-mode-map-alist (Bug#10454).
11968 2012-01-19 Julien Danjou <julien@danjou.info>
11970 * color.el (color-name-to-rgb): Use the white color to find the max
11971 color component value and return correctly computed values.
11972 (color-name-to-rgb): Add missing float conversion for max value.
11974 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11976 * window.el (window--state-get-1, window-state-get): Do not use
11977 special state value for window-persistent-parameters.
11978 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11979 (window--state-put-2): Reset all window parameters to nil before
11980 assigning values of persistent parameters.
11982 2012-01-18 Alan Mackenzie <acm@muc.de>
11984 Eliminate sluggishness and hangs in fontification of "semicolon
11987 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11988 Change value 10000 -> 3000.
11989 (c-state-safe-place): Reformulate so it doesn't stack up an
11990 infinite number of wrong entries in c-state-nonlit-pos-cache.
11991 (c-determine-limit-get-base, c-determine-limit): New functions to
11992 determine backward search limits disregarding literals.
11993 (c-find-decl-spots): Amend commenting.
11994 (c-cheap-inside-bracelist-p): New function which detects "={".
11996 * progmodes/cc-fonts.el
11997 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11999 (c-font-lock-declarations): Fix an occurrence of point being
12000 undefined. Check additionally for point being in a bracelist or
12001 near a macro invocation without a semicolon so as to avoid a
12002 fruitless time consuming search for a declarator. Give a more
12003 precise search limit for declarators using the new
12006 2012-01-18 Glenn Morris <rgm@gnu.org>
12008 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12009 (set-auto-mode): Doc fixes.
12011 2012-01-17 Glenn Morris <rgm@gnu.org>
12013 * isearch.el (search-nonincremental-instead): Fix doc typo.
12015 * dired.el (dired-insert-directory): Handle newlines in directory name.
12016 (dired-build-subdir-alist): Unescape newlines in directory name.
12018 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12020 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12021 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12022 (tramp-action-terminal): Use it. (Bug#10530)
12024 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12026 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12028 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12030 * window.el (window-state-ignored-parameters): Remove variable.
12031 (window--state-get-1): Rename argument MARKERS to IGNORE.
12032 Handle persistent window parameters. Make copy of clone-of
12033 parameter only if requested. (Bug#10348)
12034 (window--state-put-2): Install a window parameter only if it has
12035 a non-nil value or an existing parameter shall be overwritten.
12037 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12039 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12041 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12043 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12044 don't pass the (nil) value of `upnode' to string-match.
12046 2012-01-14 Chong Yidong <cyd@gnu.org>
12048 * startup.el (command-line): Fix X resource class for cursorColor.
12049 Fix values recognized by the cursorBlink resource.
12051 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12053 * epg.el (epg--make-temp-file): Avoid permission race condition
12054 when running on old Emacs versions (bug#10403).
12056 2012-01-14 Glenn Morris <rgm@gnu.org>
12058 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12060 2012-01-13 Alan Mackenzie <acm@muc.de>
12062 Fix filling for when filladapt mode is enabled.
12064 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12065 c-mask-paragraph, pass in `fill-paragraph' rather than
12066 `fill-region-as-paragraph'. (This is a reversion of a previous
12068 * progmodes/cc-mode.el (c-basic-common-init):
12069 Make fill-paragraph-handle-comment buffer local and set it to nil.
12071 2012-01-13 Glenn Morris <rgm@gnu.org>
12073 * dired.el (dired-switches-escape-p): New function.
12074 (dired-insert-directory): Use dired-switches-escape-p.
12075 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12077 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12079 2012-01-12 Glenn Morris <rgm@gnu.org>
12081 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12082 changes in adaptive-fill-regexp. (Bug#10276)
12084 2012-01-11 Alan Mackenzie <acm@muc.de>
12086 Fix Emacs bug #10463 - put `widen's around the critical spots.
12088 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12089 widen around each invocation of c-state-pp-to-literal. Remove an
12090 unused let variable.
12092 2012-01-11 Glenn Morris <rgm@gnu.org>
12094 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12097 2012-01-10 Chong Yidong <cyd@gnu.org>
12099 * net/network-stream.el (network-stream-open-starttls):
12100 Avoid emitting a confusing error message when the server gives a bad
12101 response to the capability command.
12103 2012-01-10 Glenn Morris <rgm@gnu.org>
12105 * mail/unrmail.el (unrmail): Tweak previous change.
12107 2012-01-09 Chong Yidong <cyd@gnu.org>
12109 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12111 2012-01-08 Alan Mackenzie <acm@muc.de>
12113 Optimise font locking in long enum definitions.
12115 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12116 arm to a cond form to handle enums.
12117 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12118 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12120 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12122 * files.el (move-file-to-trash): Preserve default file modes on error.
12125 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12127 * faces.el (set-face-attribute): Clarify the meaning of the nil
12130 * subr.el (with-selected-frame): Mention that the selected frame
12131 is restored (bug#9980).
12133 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12136 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12137 (password-read): Don't autoload unused function.
12139 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12141 * progmodes/which-func.el (which-func-mode): Turn into a
12142 non-interactive function and mark as obsolete (bug#10428).
12144 2012-01-06 Chong Yidong <cyd@gnu.org>
12146 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12147 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12148 functions, along with 1 and -1.
12150 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12152 * time.el (display-time-load-average)
12153 (display-time-default-load-average): Doc fixes. See the thread
12155 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12158 2012-01-06 Glenn Morris <rgm@gnu.org>
12160 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12161 has no messages. (Bug#10377)
12163 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12164 than Info-edit. (Bug#10385)
12166 * time.el (display-time-load-average, display-time-next-load-average):
12169 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12170 local setting of buffer-read-only to the input buffer. (Bug#10419)
12172 * calendar/calendar.el (calendar-mode):
12173 Locally set scroll-margin to 0. (Bug#10379)
12175 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12177 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12179 2012-01-05 Glenn Morris <rgm@gnu.org>
12181 * eshell/em-unix.el (diff-no-select): Autoload it.
12182 (eshell/diff): Use diff-no-select. (Bug#10420)
12184 2012-01-05 Chong Yidong <cyd@gnu.org>
12186 * shell.el (shell-dynamic-complete-functions): Revert last change.
12187 (shell-command-completion-function): New function.
12188 (shell-completion-vars): Use it to implement
12189 shell-completion-execonly (Bug#10417).
12191 * custom.el (enable-theme): Don't set custom-safe-themes.
12193 * cus-theme.el (custom-theme-merge-theme):
12194 Ignore custom-enabled-themes and custom-safe-themes.
12196 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12198 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12199 first prompt in `sql-interacive-mode'.
12200 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12202 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12203 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12204 context of original buffer. Invoke `sql-login-hook'.
12206 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12208 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12209 letters in cite-prefix.
12211 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12213 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12215 2012-01-03 Chong Yidong <cyd@gnu.org>
12217 * shell.el (shell-dynamic-complete-functions):
12218 Put pcomplete-completions-at-point, so as to try
12219 comint-filename-completion first (Bug#10417).
12221 2012-01-02 Richard Stallman <rms@gnu.org>
12223 * battery.el (battery-status-function):
12224 Detect when to use battery-yeeloong-sysfs.
12225 (battery-echo-area-format): Add string for Yeeloong.
12226 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12227 (battery-yeeloong-sysfs): New function.
12229 2012-01-02 Chong Yidong <cyd@gnu.org>
12231 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12232 (dirtrack): Merge code for handling relative filenames in prompt
12233 from shell-dir-cookie-watcher.
12234 (dirtrack-debug-message): New arg to avoid excess format calls.
12236 * shell.el (shell-dir-cookie-re): Variable deleted.
12237 (shell-dir-cookie-watcher): Function deleted.
12238 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12239 with dirtrack-mode.
12241 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12243 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12244 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12247 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12249 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12251 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12253 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12254 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12256 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12258 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12259 also for alternative shells.
12260 (tramp-open-connection-setup-interactive-shell): Check, whether
12261 the shell is a busybox.
12262 (tramp-send-command): Don't suppress multiple prompts for
12263 busyboxes, it hurts.
12265 2011-12-28 Chong Yidong <cyd@gnu.org>
12267 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12268 (gdb-get-source-file): Move mode line update to
12269 gdb-get-source-file (Bug#10087).
12271 2011-12-25 Chong Yidong <cyd@gnu.org>
12273 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12274 gud-gdb-marker-filter without taking it as an argument.
12275 (gud-gdb-run-command-fetch-lines): Caller changed.
12276 (gud-gdb-completion-function): New variable.
12277 (gud-gdb-completion-at-point): Use it.
12278 (gud-gdb-completions-1): Split from gud-gdb-completions.
12280 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12281 function as separate arguments.
12282 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12283 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12284 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12285 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12286 (gdb-stopped, def-gdb-auto-update-trigger)
12287 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12288 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12290 (gud-gdbmi-completions): New function.
12291 (gdb): Use it for generating the completion table.
12293 2011-12-24 Alan Mackenzie <acm@muc.de>
12295 Introduce a mechanism to widen the region used in context font
12296 locking. Use this to protect declarations from losing their contexts.
12298 * progmodes/cc-langs.el (c-before-font-lock-functions):
12299 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12300 (c-before-context-fontification-functions): New defvar, a list of
12301 functions to be run just before context (etc.) font locking.
12303 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12304 New, functionality extracted from
12305 c-neutralize-syntax-in-and-mark-CPP.
12306 (c-in-after-change-fontification): New variable.
12307 (c-after-change): Set c-in-after-change-fontification.
12308 (c-set-fl-decl-start): Rejig its interface, so it can be called
12309 from both after-change and context fontifying.
12310 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12312 (c-standard-font-lock-fontify-region-function): New variable.
12313 (c-font-lock-fontify-region): New function.
12315 2011-12-24 Juri Linkov <juri@jurta.org>
12317 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12320 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12322 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12323 existence of source file. (Bug#10325)
12325 2011-12-23 Alan Mackenzie <acm@muc.de>
12327 Fix unstable fontification inside templates.
12329 * progmodes/cc-langs.el (c-before-font-lock-functions):
12330 Newly created from the singular version. The (c c++ objc) entry now
12331 additionally has c-set-fl-decl-start. The other languages (apart
12332 from AWK) have that as a single entry.
12334 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12335 The functionality for "local" declarations has been extracted to
12336 c-set-fl-decl-start.
12338 * progmodes/cc-mode.el (c-common-init, c-after-change):
12339 Changes due to pluralisation of c-before-font-lock-functions.
12340 (c-set-fl-decl-start): New function, extracted from
12341 c-font-lock-enclosing-decls and enhanced.
12343 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12345 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12347 2011-12-22 Juri Linkov <juri@jurta.org>
12349 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12351 2011-12-22 Chong Yidong <cyd@gnu.org>
12353 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12355 2011-12-21 Drew Adams <drew.adams@oracle.com>
12357 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12359 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12361 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12363 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12365 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12366 highlighting and support. Fix up comments for capitalization.
12367 (cfengine-mode-debug): New var.
12368 (cfengine3-mode): Change the modeline indicator to "CFE3".
12369 (cfengine3-font-lock-keywords): Improve defun highlighting.
12370 (cfengine2-actions): Rename from `cfengine-actions'.
12371 (cfengine2-font-lock-keywords): Rename from
12372 `cfengine-font-lock-keywords'.
12373 (cfengine2-imenu-expression): Rename from
12374 `cfengine-imenu-expression'.
12375 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12376 (cfengine2-beginning-of-defun): Rename from
12377 `cfengine-beginning-of-defun'.
12378 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12379 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12380 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12381 modeline indicator to "CFE2".
12382 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12383 (cfengine-mode-abbrevs): Mark obsolete.
12385 2011-12-21 Chong Yidong <cyd@gnu.org>
12387 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12390 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12392 * window.el (window-normalize-buffer-to-display): Remove.
12393 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12395 2011-12-19 Chong Yidong <cyd@gnu.org>
12397 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12398 Don't signal an error in a predicate function; return non-nil.
12399 (vc-dir-mark-file): Move the error here.
12400 (vc-dir-mark-unmark): If acting on the region, keep going if one
12401 of the entries cannot be marked/unmarked.
12402 (vc-dir-mark-all-files): If current entry is a directory, mark
12403 only child files, as documented.
12405 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12407 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12408 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12411 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12413 * term/ns-win.el (ns-get-selection-internal)
12414 (ns-store-selection-internal): Declare.
12415 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12416 Declare as obsolete.
12417 (ns-get-pasteboard, ns-paste-secondary):
12418 Use ns-get-selection-internal.
12419 (ns-set-pasteboard, ns-copy-including-secondary):
12420 Use ns-store-selection-internal.
12422 2011-12-17 Chong Yidong <cyd@gnu.org>
12424 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12425 (vc-deduce-fileset): Doc fix.
12427 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12429 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12431 2011-12-13 Sam Steingold <sds@gnu.org>
12433 * man.el (Man-getpage-in-background): When running under a
12434 window-system, ignore $MANWIDTH and $COLUMNS.
12436 2011-12-15 Kenichi Handa <handa@m17n.org>
12438 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12439 (setup-ethiopic-environment-internal): Comment out key-binding for
12440 ethio-toggle-punctuation.
12442 2011-12-13 Alan Mackenzie <acm@muc.de>
12444 Add the switch statement to AWK Mode.
12446 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12447 "default" to the keywords regexp.
12449 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12450 expression as the rest.
12451 (c-nonlabel-token-key): Allow string literals for AWK.
12452 Refactor for the other modes.
12454 Large brace-block initialisation makes CC Mode slow: Fix.
12455 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12456 routines. Limit backward searching in c-font-lock-enclosing.decl.
12458 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12459 pp-state and literal type in addition to the limits.
12460 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12461 (c-state-literal-at): Use the above new defun.
12462 (c-slow-in-literal, c-fast-in-literal): Remove.
12463 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12465 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12466 being in a literal. Add a limit for backward searching.
12468 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12471 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12473 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12475 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12477 * window.el (delete-other-windows): Use correct frame in call to
12478 window-with-parameter.
12480 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12482 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12483 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12484 (makefile-gmake-statements, makefile-makepp-statements):
12485 Use it and add new makepp keywords.
12486 (makefile-makepp-font-lock-keywords): Add new patterns.
12487 (makefile-match-function-end): Match new [...] and [[...]].
12489 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12491 * ses.el (ses-call-printer-return, ses-cell-property-get)
12492 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12493 (ses-create-cell-variable, ses-reset-header-string)
12494 (ses-cell-set-formula, ses-repair-cell-reference-all)
12495 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12496 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12497 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12498 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12499 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12500 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12501 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12502 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12503 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12504 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12505 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12506 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12508 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12510 * ses.el: The overall change is to add cell renaming, that is
12511 setting fancy names for cell symbols other than name matching
12512 "\\`[A-Z]+[0-9]+\\'" regexp .
12513 (ses-create-cell-variable): New defun.
12514 (ses-relocate-formula): Relocate formulas only for cells the
12515 symbols of which are not renamed, i.e. symbols whose names do not
12516 match regexp "\\`[A-Z]+[0-9]+\\'".
12517 (ses-relocate-all): Relocate values only for cells the symbols of
12518 which are not renamed.
12519 (ses-load): Create cells variables as the (ses-cell ...) are read,
12520 in order to check row col consistency with cell symbol name only
12521 for cells that are not renamed.
12522 (ses-replace-name-in-formula): New defun.
12523 (ses-rename-cell): New defun.
12525 2011-12-11 Chong Yidong <cyd@gnu.org>
12527 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12528 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12530 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12532 * window.el (other-window): Fix docstring.
12534 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12536 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12537 `from' or `to' address before taking its substring.
12538 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12539 encoded name is chopped in the middle of the encoded string, and
12540 thus displayed encoded.
12542 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12544 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12546 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12548 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12549 to use texinfo-update-node and commands that call it if the
12550 Texinfo file uses @node lines without next/prev/up pointers.
12551 Correct outdated description about texinfo-master-menu.
12552 (texinfo-all-menus-update, texinfo-master-menu)
12553 (texinfo-update-node, texinfo-every-node-update)
12554 (texinfo-multiple-files-update): Doc fix. Warn against updating
12555 all the @node lines.
12556 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12557 argument is numeric. Explain better in the doc string what the
12558 function really does.
12559 (texinfo-insert-master-menu-list): Improve the error message
12560 displayed if there's no menu in the Top node.
12561 (Bug#2975) See also this thread:
12562 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12564 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12566 * speedbar.el (speedbar-supported-extension-expressions):
12567 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12569 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12571 * printing.el (pr-mode-alist):
12572 * simple.el (filter-buffer-substring-functions)
12573 (completion-list-insert-choice-function):
12574 * window.el (window-with-parameter, window-atom-root)
12575 (window-sides-slots, window-size-fixed, window-min-delta)
12576 (window-max-delta, window--resize-mini-window)
12577 (window--resize-child-windows-normal, window-tree)
12578 (delete-other-windows, quit-window, split-window)
12579 (display-buffer-record-window, special-display-buffer-names)
12580 (special-display-regexps, special-display-popup-frame)
12581 (same-window-p, split-window-sensibly)
12582 (display-buffer-overriding-action, display-buffer-alist)
12583 (display-buffer-base-action, display-buffer, switch-to-buffer)
12584 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12585 (fit-window-to-buffer, recenter-positions)
12586 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12587 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12588 and remove unneeded backslashes in docstrings.
12590 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12592 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12594 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12595 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12597 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12598 when reading the makefile (bug#10116).
12600 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12602 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12605 2011-12-06 Glenn Morris <rgm@gnu.org>
12607 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12609 2011-12-06 Chong Yidong <cyd@gnu.org>
12611 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12613 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12615 * textmodes/table.el (table-shorten-cell): Fix typo.
12617 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12619 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12621 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12623 * descr-text.el (describe-char): Fix display of strong
12624 right-to-left characters and directional embeddings and overrides.
12626 * simple.el (what-cursor-position): Fix display of codepoints of
12627 strong right-to-left characters.
12629 2011-12-05 Chong Yidong <cyd@gnu.org>
12631 * faces.el (read-color): Doc fix.
12633 2011-12-05 Glenn Morris <rgm@gnu.org>
12635 * align.el (align--set-marker): Add doc-string.
12636 Don't try to move something that is not a marker. (Bug#10216)
12638 2011-12-04 Glenn Morris <rgm@gnu.org>
12640 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12641 overly zealous deletion of trailing whitespace.
12643 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12645 * server.el (server-delete-client): On Windows, do not try to delete
12647 (server-process-filter): On Windows, treat requests for a tty frame as
12648 if they were for a GUI frame if the running server is in GUI mode.
12650 2011-12-03 Glenn Morris <rgm@gnu.org>
12652 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12654 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12656 * electric.el: Streamline electric-indent's hook.
12657 (electric-indent-chars): Revert to simple list.
12658 (electric-indent-functions): New var.
12659 (electric-indent-post-self-insert-function): Use it.
12661 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12662 there's no inferior buffer (bug#10196).
12663 (prolog-consult-compile): Don't use toggle-read-only.
12665 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12667 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12668 interrupt. (Bug#10187)
12670 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12675 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12678 2011-12-02 Juri Linkov <juri@jurta.org>
12680 * info.el (Info-search): Display "end of manual" when Isearch
12681 reaches the end of single-file Info manual. (Bug#9918)
12683 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12685 * isearch.el (isearch-message-prefix): Run the input method part
12686 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12688 2011-12-02 Juri Linkov <juri@jurta.org>
12690 * isearch.el (isearch-occur): Use `word-search-regexp' for
12692 (isearch-search-and-update): Add condition for `isearch-word' and
12693 call `word-search-regexp'. (Bug#10145)
12695 2011-12-01 Glenn Morris <rgm@gnu.org>
12697 * eshell/em-hist.el (eshell-hist-initialize):
12698 Handle eshell-history-size nil and HISTSIZE set or unset.
12699 (eshell-history-file-name, eshell-history-size): Fix custom type.
12701 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12705 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12707 * progmodes/verilog-mode.el (verilog-pretty-expr):
12708 Rework verilog-pretty-expr to handle new assignment operators in system
12709 verilog, such as += *= and the like.
12710 (verilog-assignment-operator-re): Regular expression to find the
12711 assigment operator in a verilog assignment.
12712 (verilog-assignment-operation-re): Regular expression to find an
12713 assignment statement for pretty-expr.
12714 (verilog-in-attribute-p): Query returns true if point is in an
12715 attribute context; used to skip these for expression line up from
12717 (verilog-in-parameter-p): Query returns true if point is in an
12718 parameter definition context; used to skip these for expression
12719 line up from pretty-expr.
12720 (verilog-in-parenthesis-p): Query returns true if point is in a
12721 parenthetical expression, specifically ( ) but not [ ] or { };
12722 used by pretty-expr.
12723 (verilog-just-one-space): If there is no space, don't add one.
12724 (verilog-get-lineup-indent-2): Specifically skip just attribute
12725 contexts for expression lineup, rather than skipping all
12726 parenthetical expressions.
12727 (verilog-calculate-indent): Fix comment, and fix indent.
12728 (verilog-do-indent): Indent declarations in lists (suggested by
12730 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12732 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12735 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12737 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12738 parameters with embedded comments. Reported by Ray Stevens.
12739 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12740 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12741 Reported by Tim Holt.
12742 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12743 instantiated by upper module causing wrong expansion until AUTOed a
12744 second time. Reported by K C Buckenmaier.
12745 (verilog-diff-auto): Fix showing .* as a difference when
12746 `verilog-auto-star-save' off. Reported by Dan Dever.
12747 (verilog-auto-reset, verilog-read-always-signals)
12748 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12749 temporary signals in reset list if
12750 verilog-auto-reset-blocking-in-non is nil, and match assignment
12751 style to each signal's assignment type, bug381.
12752 Reported by Thomas Esposito.
12753 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12754 (verilog-uvm-statement-re): Support UVM indentation and
12755 highlighting, with old OVM keywords only.
12756 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12757 Support AUTOTIEOFF creating non-wire data types.
12758 Suggested by Jonathan Greenlaw.
12759 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12760 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12761 (verilog-inject-sense, verilog-read-inst-pins)
12762 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12763 Fix mismatching parenthesis inside commented out code when deleting
12764 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12765 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12766 non-numeric vector width. Reported by Alex Reed.
12767 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12768 detecting signals with parameter widths. Reported by Alex Reed.
12769 (verilog-auto-delete-trailing-whitespace):
12770 With `verilog-auto-delete-trailing-whitespace' remove trailing
12771 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12772 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12773 Fix verilog-scan-cache corruption when running user AUTO expansion
12774 hooks that call indentation routines.
12775 (verilog-simplify-range-expression): Fix typo ignoring lower case
12777 (verilog-delete-auto): Fix delete-autos to also remove user created
12778 automatics, as long as they start with AUTO.
12779 (verilog-batch-diff-auto, verilog-diff-auto)
12780 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12781 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12782 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12783 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12784 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12785 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12786 is disabled and its cache will get corrupt, causing AUTOS not to
12787 expand. Instead use only -quick functions.
12788 (verilog-scan-region): Fix scanning over escaped quotes.
12789 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12790 (verilog-re-search-backward-quick)
12791 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12792 related functions now ignore strings, to fix misparsing of strings
12793 with magic comments embedded in them.
12794 (verilog-read-auto-template):
12795 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12796 Reported by Brad Dobbie.
12797 (verilog-read-auto-template):
12798 Fix 'verilog-auto-inst-template-numbers' with comments.
12799 Reported by Brad Dobbie.
12800 (verilog-auto-inst, verilog-auto-inst-param)
12801 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12802 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12803 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12804 debugging templates without merge conflicts, bug357.
12805 Reported by Brad Dobbie.
12806 (verilog-read-auto-template):
12807 Fix verilog-auto-inst-template-numbers with multiple templates.
12808 Reported by Brad Dobbie.
12809 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12810 abbrevs so user won't be asked to save.
12811 (verilog-read-auto-lisp-present): Fix to start at beginning of
12812 buffer in case called outside of verilog-auto.
12813 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12814 to "X-2". Reported by Matthew Myers.
12815 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12816 all inputs from module templates. Reported by Leith Johnson.
12817 (verilog-module-inside-filename-p): Fix locating programs as with
12819 (verilog-auto-inst-port): Fix vl-width expressions when using
12820 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12821 (verilog-decls-get-regs, verilog-decls-get-signals,
12822 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12823 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12824 verilog-read-decls): Combine reg and wire structures into one var
12825 structure to represent SystemVerilog concepts.
12826 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12827 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12828 (verilog-auto-wire-type, verilog-insert-definition):
12829 Add verilog-auto-wire-type and AUTOLOGIC to support using
12830 SystemVerilog "logic" keyword instead of "wire"/"reg".
12831 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12832 to declares outputs that also have assignments (presumably in an
12833 ifdef or generate if so there's not a driver conflict).
12834 Reported by Matthew Myers.
12835 (verilog-auto-declare-nettype, verilog-insert-definition):
12836 Add verilog-auto-declare-nettype to fix declarations using
12837 `default_nettype none. Reported by Julian Gorfajn.
12838 (verilog-read-always-signals-recurse, verilog-read-decls)
12839 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12840 malformed end statement, bug325. Reported by Joshua Wise and
12842 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12843 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12844 when expanding .* in interfaces, bug320.
12845 Reported by Pierre-David Pfister.
12846 (verilog-read-module-name): Fix import statements between module
12847 name and open parenthesis, bug317.
12848 Reported by Pierre-David Pfister.
12849 (verilog-simplify-range-expression): Fix simplification of
12850 multiplications inside AUTOWIRE connections, bug303.
12851 (verilog-auto-inst-port): Support parameter expansion in
12852 multidimensional arrays.
12853 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12854 after "assert property". Reported by Julian Gorfajn.
12855 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12856 with multiplication, bug303.
12857 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12858 Reported by Jan Frode Lonnum.
12860 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12862 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12863 (hfy-shell-file-name, hfy-shell):
12864 * international/fontset.el (x-decompose-font-name): Fix typos.
12866 2011-11-29 Ken Brown <kbrown@cornell.edu>
12868 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12869 (gdb-version): Remove defvar.
12870 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12871 (gdb-gud-context-command, gdb-non-stop-handler)
12872 (gdb-current-context-command, gdb-stopped): Use it.
12873 (gdb-init-1): Enable pretty printing here.
12874 (gdb-non-stop-handler): Don't enable pretty-printing here.
12875 Check to see if the target supports non-stop mode; if not, turn off
12876 non-stop mode. Use the following.
12877 (gdb-check-target-async): New defun.
12878 (gud-watch, gdb-stopped): Fix whitespace.
12879 (gdb-get-source-file): Don't try to display the source file if
12880 `gdb-main-file' is nil.
12882 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12884 * align.el: Try to generate fewer markers (bug#10047).
12885 (align--set-marker): New macro.
12886 (align-region): Use it.
12888 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12890 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12892 2011-11-29 Chong Yidong <cyd@gnu.org>
12894 * indent.el (indent-for-tab-command, indent-according-to-mode):
12896 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12898 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12900 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12901 aware of remote file names. (Bug#10124)
12903 2011-11-29 Chong Yidong <cyd@gnu.org>
12905 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12907 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12909 * files.el (find-file): Don't use force-same-window (bug#10144).
12910 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12911 use pop-to-buffer if the selected window can't be used.
12912 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12914 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12916 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12919 2011-11-28 Chong Yidong <cyd@gnu.org>
12921 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12923 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12925 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12926 gdb-get-source-file-list on gdb-create-source-file-list.
12928 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12930 * whitespace.el (whitespace-newline): Use a different foreground
12931 color for 16-color light-background displays.
12933 2011-11-24 Chong Yidong <cyd@gnu.org>
12935 * window.el (display-buffer--special-action): Doc fix.
12937 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12939 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12940 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12941 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12942 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12943 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12944 (avl-tree-stack-first):
12945 * emacs-lisp/cconv.el (cconv--analyse-use):
12946 * net/gnutls.el (gnutls-negotiate): Fix typos.
12948 2011-11-24 Glenn Morris <rgm@gnu.org>
12950 * lpr.el (lpr-windows-system, lpr-lp-system):
12951 * mail/binhex.el (binhex-begin-line):
12952 * progmodes/grep.el (grep-history, grep-find-history):
12953 * textmodes/flyspell.el:
12954 * vc/pcvs-defs.el (cvs-global-menu):
12955 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12956 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12957 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12959 * net/tls.el: Fix case of "GnuTLS".
12961 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12963 * version.el (emacs-build-system): Give it a doc-string.
12965 2011-11-24 Juri Linkov <juri@jurta.org>
12967 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12969 2011-11-24 Glenn Morris <rgm@gnu.org>
12971 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12972 if called on a non-mime message just toggle the headers. (Bug#8006)
12974 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12976 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12977 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12978 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12979 (allout-rebullet-heading, allout-open-sibtopic)
12980 (allout-toggle-current-subtree-encryption)
12981 (allout-toggle-subtree-encryption, allout-encrypt-string)
12982 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12983 (allout-distinctive-bullets-string, allout-auto-activation):
12984 * window.el (window-normalize-buffer-to-display):
12985 * progmodes/verilog-mode.el (verilog-batch-indent):
12986 * textmodes/bibtex.el (bibtex-field-braces-opt)
12987 (bibtex-field-strings-opt):
12988 * vc/cvs-status.el (cvs-tree-merge):
12991 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12993 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12994 `non-essential' to t, in order to avoid remote connections.
12996 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12998 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12999 On MS-DOS and MS-Windows, compare with loaddefs.el
13000 case-insensitively.
13002 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13004 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13006 2011-11-23 Glenn Morris <rgm@gnu.org>
13008 * paths.el (rmail-file-name): Reformat the doc-string so that it
13011 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13012 (rmail-auto-file): Ignore case in the "special" field names,
13013 as mail-fetch-field does for all others.
13015 * mail/rmail.el (rmail-forward):
13016 * mail/rmailkwd.el (rmail-set-label):
13017 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13018 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13020 * mail/rmail.el (rmail-current-message): Doc fix.
13022 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13024 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13026 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13028 2011-11-22 Glenn Morris <rgm@gnu.org>
13030 * mail/rmailmm.el (test-rmail-mime-handler)
13031 (test-rmail-mime-bulk-handler)
13032 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13034 2011-11-21 Juri Linkov <juri@jurta.org>
13036 * calc/calc.el (calc-read-key-sequence):
13037 Let-bind `input-method-function' to nil. (Bug#10018)
13039 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13041 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13042 Tell the caller that the next line needs recomputation, even
13043 though it doesn't start a sexp (bug#10094).
13045 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13047 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13049 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13051 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13052 Use force-same-window.
13054 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13056 * descr-text.el (describe-char-unicode-data):
13057 * json.el (json-string-escape):
13058 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13059 (Footnote-unicode, Footnote-style-p):
13060 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13062 2011-11-20 Chong Yidong <cyd@gnu.org>
13064 * window.el (replace-buffer-in-windows): Restore interactive spec.
13066 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13068 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13070 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13071 (byte-compile-global-not-obsolete-vars): New var.
13072 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13074 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13076 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13078 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13079 * progmodes/pascal.el (electric-pascal-equal):
13080 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13081 * xml.el (xml-substitute-special): Fix typos.
13083 2011-11-20 Glenn Morris <rgm@gnu.org>
13085 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13086 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13088 (rmail-decode-mime-charset): Mark as obsolete.
13090 * mail/rmailsum.el (rmail-message-regexp-p-1):
13091 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13092 Before using mime functions, check they are set. (Bug#10077)
13094 2011-11-19 Juri Linkov <juri@jurta.org>
13096 * info.el (Info-finder-find-node): Use `package--builtins' instead
13097 of `package-alist'. Use node names formed by the pattern "Keyword "
13098 and the keyword name.
13100 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13102 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13104 2011-11-19 Juri Linkov <juri@jurta.org>
13106 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13107 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13108 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13109 `old-history', `old-history-forward'. Add let-binding
13110 `window-selected'. Remove calls to `kill-buffer',
13111 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13112 before calling `Info-find-node', so `Info-find-node-2' will reread
13113 the Info file. Restore window positions only when `window-selected'
13116 2011-11-19 Juri Linkov <juri@jurta.org>
13118 * isearch.el (isearch-lazy-highlight-new-loop):
13119 Remove condition `(not isearch-error)'. (Bug#9918)
13121 * misearch.el (multi-isearch-search-fun): Add condition
13122 `(not bound)' to ignore lazy-highlighting search.
13123 Add the search-failed message "end of multi" when the end of
13124 multi-sequence is reached. Uncapitalize the search-failed
13125 message "Repeat for next buffer".
13127 * info.el (Info-search): Add the search-failed message
13128 "end of the manual" when the end of the manual is reached
13131 2011-11-19 Juri Linkov <juri@jurta.org>
13133 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13134 Use non-destructive `remove' instead of `delete' because
13135 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13136 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13138 2011-11-19 Juri Linkov <juri@jurta.org>
13140 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13141 to nil instead of binding `search-ring' and `regexp-search-ring'.
13144 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13146 * simple.el (line-move): Force movement by logical lines for any
13147 hscrolled window, not only when auto-hscroll-mode is on.
13148 (line-move-visual): Update doc string to that effect. (Bug#10076)
13150 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13152 * language/european.el (macintosh): Define as alias for mac-roman.
13154 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13156 * mail/rmailmm.el (rmail-mime-display-header)
13157 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13158 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13159 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13160 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13161 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13163 (rmail-mime-entity-segment): To get past the tagline, move forward
13164 2 more lines, to account for the 2 empty lines that precede and
13165 follow the line with the buttons.
13166 (rmail-mime-update-tagline): Move one more line, to get past the
13167 empty line that follows the buttons in the tagline. (Bug#9520)
13169 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13171 * window.el (window-max-delta-1, window-min-delta-1)
13172 (window-min-size-1, window-state-get-1, window-state-put-1)
13173 (window-state-put-2): Use "window--" prefix.
13175 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13177 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13178 (smie-warning-count): New var.
13179 (smie-set-prec2tab): Use it.
13180 (smie-bnf->prec2): Improve warnings. Add docstring.
13181 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13182 (smie-bnf--set-class): New function.
13183 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13186 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13187 (compilation-error-properties, compilation-move-to-column):
13188 Handle compilation-first-column while in the target buffer.
13190 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13191 Don't hardcode point-min==1.
13193 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13194 (eshell-rewrite-for-command): Remove workaround.
13195 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13196 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13197 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13199 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13201 2011-11-17 Glenn Morris <rgm@gnu.org>
13203 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13204 Ignore buffer-local generated-autoload-file if it is the same
13205 as the global value. (Bug#10049)
13207 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13209 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13210 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13211 (reftex-toc-previous-heading, reftex-toc-max-level)
13212 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13213 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13214 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13215 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13216 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13217 (reftex-toc-rename-label, reftex-toc-visit-location)
13218 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13219 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13220 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13221 leaving "*toc*" only for references to the buffer.
13223 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13225 * window.el (window-resize, delete-window, split-window):
13226 Replace window-splits by window-combination-resize.
13227 * cus-start.el (window-splits): Replace by window-combination-resize.
13229 2011-11-17 Glenn Morris <rgm@gnu.org>
13231 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13232 Make bash entry derive from sh entry, not shell entry.
13234 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13236 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13239 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13241 * menu-bar.el (menu-bar-file-menu):
13242 * printing.el (pr-ps-utility):
13243 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13244 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13245 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13246 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13247 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13248 (icalendar--convert-cyclic-to-ical)
13249 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13250 (icalendar--convert-ical-to-diary)
13251 (icalendar--convert-recurring-to-diary)
13252 (icalendar--convert-non-recurring-all-day-to-diary)
13253 (icalendar-import-format-sample):
13254 * progmodes/idlw-shell.el (idlwave-shell-mode):
13255 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13256 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13257 (vhdl-ps-print-init): Fix typos.
13259 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13261 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13262 FSF and collapse date sequence, obscure author/maintainer email address
13263 better, remove extra version line, track relocation of author's webpage.
13265 * progmodes/python.el (python-pdbtrack-input-prompt)
13266 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13267 regular python pdb prompts. Adjustments shamelessly taken exactly as
13268 suggested in EmacsWiki page (tiny change):
13269 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13271 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13273 * expand.el (expand-pos, expand-index, expand-point):
13274 Remove redundant info from docstring.
13275 (expand-add-abbrevs): Doc fix.
13276 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13277 (expand-sample-perl-mode-expand-list): Fix typos.
13279 * net/dbus.el (dbus-event-member-name):
13280 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13281 * term/pc-win.el (msdos-create-frame-with-faces):
13282 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13284 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13286 * window.el (split-window, window-state-get-1)
13287 (window-state-put-1, window-state-put-2): Rename occurrences of
13288 window-nest to window-combination-limit.
13289 * cus-start.el (window-nest): Rename to window-combination-limit.
13291 2011-11-16 Chong Yidong <cyd@gnu.org>
13293 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13294 regexp (Bug#10033).
13296 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13298 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13299 `completing-read' will remove *Completions* and will preserve
13300 current-buffer for us.
13301 (tmm-add-prompt): Users of *Completions* will always (re)set its
13303 (tmm-old-comp-map): Remove.
13305 2011-11-16 Glenn Morris <rgm@gnu.org>
13307 * mail/rmailedit.el: Require rmailmm when compiling.
13308 (rmail-old-mime-state): New declaration.
13309 (rmail-edit-current-message): If editing a mime message,
13310 edit the "raw" message from the mbox buffer.
13311 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13313 2011-11-15 Glenn Morris <rgm@gnu.org>
13315 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13316 which wasn't being used. Add optional arg to force given state.
13317 (rmail-mime): Add optional arg to force given state.
13319 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13321 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13322 * frame.el (display-mm-dimensions-alist):
13323 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13324 (outline-move-subtree-down):
13325 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13326 (newsticker--treeview-do-get-node):
13327 * net/quickurl.el (quickurl-list-buffer-name):
13328 * progmodes/dcl-mode.el (dcl-mode):
13329 * progmodes/gdb-mi.el (gdb-mapcar*):
13330 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13332 2011-11-15 Glenn Morris <rgm@gnu.org>
13334 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13335 in a boolean sense, so just make it a boolean, and fix the doc.
13336 (rmail-show-mime-function, rmail-mime-feature)
13337 (rmail-require-mime-maybe): Doc fixes.
13338 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13340 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13342 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13344 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13345 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13346 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13347 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13349 2011-11-15 Glenn Morris <rgm@gnu.org>
13351 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13352 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13353 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13354 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13355 (rmail-mime, rmail-show-mime): Doc fixes.
13357 * term/ns-win.el (mode-line-frame-identification):
13358 Leave it alone. (Bug#10051)
13360 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13362 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13363 Handle empty buffers. (Bug#9978)
13365 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13367 * international/mule.el (define-charset):
13368 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13369 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13370 * progmodes/verilog-mode.el (verilog-backward-token):
13371 * textmodes/ispell.el (lookup-words):
13372 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13374 2011-11-14 Glenn Morris <rgm@gnu.org>
13376 * progmodes/executable.el
13377 (executable-make-buffer-file-executable-if-script-p):
13378 Handle file-modes returning nil.
13380 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13381 message - not necessary, and causes problems. (Bug#9831)
13383 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13385 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13387 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13388 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13389 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13391 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13393 * window.el (window-resize, delete-window): Use window-splits
13394 variable instead of function.
13395 (window-state-get-1, window-state-put-2, window-state-put):
13396 Don't deal with windows' splits status.
13398 2011-11-12 Glenn Morris <rgm@gnu.org>
13400 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13401 (apropos-documentation): Doc fixes.
13403 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13405 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13406 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13408 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * electric.el (electric-indent-post-self-insert-function): Make it
13411 possible for a char to only indent in some circumstances.
13412 (electric-indent-mode): Simplify.
13414 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13416 * window.el (windows-with-parameter): Remove unused function.
13417 (windows-at-side): Rename to window-at-side-list.
13418 (window-check, window-atom-check, window-atom-check-1)
13419 (window-side-check, window-size-ignore, window-size-fixed-1)
13420 (window-in-direction-2): Prefix with "window--".
13421 (window-tree-1): Rename to window--subtree, fix doc-string.
13423 2011-11-11 Glenn Morris <rgm@gnu.org>
13425 * subr.el (eval-after-load): If FILE is already loaded,
13426 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13428 2011-11-10 Glenn Morris <rgm@gnu.org>
13430 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13431 Call svn via vc-svn-command rather than vc-do-command.
13432 (vc-svn-command): Add --non-interactive. (Bug#9993)
13433 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13435 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13436 Add toggle-read-only. (Bug#7292)
13437 * files.el (toggle-read-only): Mention that it should only
13438 be used interactively. (Bug#10006)
13440 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13442 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13443 Adjust regexp for OCaml warnings.
13445 * electric.el (electric-pair-post-self-insert-function): Let user
13446 turn it off buffer-locally (bug#9932).
13448 * progmodes/python.el (python-beginning-of-statement):
13449 Rewrite (bug#2703).
13451 * progmodes/compile.el: Better handle TABs (bug#9749).
13452 (compilation-internal-error-properties)
13453 (compilation-next-error-function): Obey the target buffer's
13454 compilation-error-screen-columns.
13456 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13458 * progmodes/meta-mode.el: Remove obsolete comments.
13459 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13460 Fix typos in docstrings.
13462 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13464 * window.el (window-size-fixed-p): Rewrite doc-string.
13465 (window-resizable-p): Rename to window--resizable-p. Update callers.
13466 (window--resizable): New function. Make all callers of
13467 window-resizable call window--resizable instead.
13468 (window-resizable): Rewrite in terms of window--resizable.
13470 2011-11-08 Glenn Morris <rgm@gnu.org>
13472 * progmodes/delphi.el (delphi-mode-syntax-table):
13473 Let define-derived-mode define a proper syntax table. (Bug#9994)
13475 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13477 * window.el: Stay away from defsubst.
13478 (window-list-no-nils): Remove.
13479 (window-state-get-1, window-state-get): Use backquote instead.
13481 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13483 * emacs-lisp/find-func.el (find-function-read):
13484 Fix incorrect use of default argument in `completing-read'.
13486 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13488 * window.el (display-buffer-function, special-display-function):
13489 Mention display-buffer-record-window but do not mention
13490 help-setup parameter in doc-strings.
13491 (window-min-delta): Fix doc-string typo.
13493 2011-11-08 Chong Yidong <cyd@gnu.org>
13495 * window.el (window-total-height, window-total-width): Doc fix.
13496 (window-body-size): Move from C.
13497 (window-body-height, window-body-width): Move to C.
13499 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * window.el: Make special-display like display-buffer-alist (bug#9532).
13502 (display-buffer--special-action): New function, morphed
13503 from display-buffer--special.
13504 (display-buffer): Use it to handle special-display-buffers at higher
13505 priority (just after display-buffer-alist).
13506 (display-buffer-fallback-action, display-buffer--other-frame-action)
13507 (pop-to-buffer-same-window): Remove display-buffer--special.
13509 2011-11-07 Glenn Morris <rgm@gnu.org>
13511 * calendar/cal-menu.el (cal-menu-set-date-title):
13512 Do nothing if not in a calendar. (Bug#9976)
13514 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13516 * files.el (find-file): Always use selected-window.
13518 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13520 * window.el (window-combinations): Make WINDOW argument
13521 mandatory. Rewrite doc-string.
13522 (walk-window-subtree, window-atom-check, window-min-delta)
13523 (window-max-delta, window--resize-this-window)
13524 (window--resize-root-window-vertically, window-tree)
13525 (balance-windows, window-state-put): Rewrite doc-strings as to
13526 not mention the term "subwindow".
13527 (window--resize-subwindows-skip-p): Rename to
13528 window--resize-child-windows-skip-p.
13529 (window--resize-subwindows-normal): Rename to
13530 window--resize-child-windows-normal.
13531 (window--resize-subwindows): Rename to
13532 window--resize-child-windows.
13533 (window-or-subwindow-p): Rename to window--in-subtree-p.
13535 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13537 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13538 Ensure that mbox format messages end in two newlines (Bug#9974).
13540 2011-11-06 Chong Yidong <cyd@gnu.org>
13542 * window.el (window-combination-p): Function deleted; its
13543 side-effect is not used in any existing code.
13544 (window-combinations, window-combined-p): Call window-*-child
13547 2011-11-05 Chong Yidong <cyd@gnu.org>
13549 * window.el (window-valid-p): Rename from window-any-p.
13550 (window-size-ignore, window-state-get): Callers changed.
13551 (window-normalize-window): Rename from window-normalize-any-window.
13552 New arg LIVE-ONLY, replacing window-normalize-live-window.
13553 (window-normalize-live-window): Delete.
13554 (window-combination-p, window-combined-p, window-combinations)
13555 (walk-window-subtree, window-atom-root, window-min-size)
13556 (window-sizable, window-sizable-p, window-size-fixed-p)
13557 (window-min-delta, window-max-delta, window-resizable)
13558 (window-resizable-p, window-full-height-p, window-full-width-p)
13559 (window-current-scroll-bars, window-point-1, set-window-point-1)
13560 (window-at-side-p, window-in-direction, window-resize)
13561 (adjust-window-trailing-edge, maximize-window, minimize-window)
13562 (window-deletable-p, delete-window, delete-other-windows)
13563 (record-window-buffer, unrecord-window-buffer)
13564 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13565 (quit-window, split-window, window-state-put)
13566 (set-window-text-height, fit-window-to-buffer)
13567 (shrink-window-if-larger-than-buffer): Callers changed.
13569 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13571 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13572 rfc2047-decode-string.
13573 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13576 * window.el (window-body-height, window-body-width): Mention in
13577 the doc string that the return values are in frame's canonical
13580 2011-11-03 Alan Mackenzie <acm@muc.de>
13582 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13583 change in cc-engine.el.
13585 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13587 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13589 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13591 * window.el (quit-window): Call unrecord-window-buffer after
13592 showing another buffer in the window. (Bug#9937)
13593 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13595 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13597 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13598 Accept status with more than 9 shelves. (Bug#9935)
13599 Reported by Colin D Bennett <colin@gibibit.com>.
13601 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13603 * help.el (with-help-window): Don't reference
13604 temp-buffer-show-specifiers in doc-string.
13606 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13608 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13611 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13613 * whitespace.el: New version 13.2.2.
13614 (whitespace-newline-mode): Disable properly. Reported by Sarah
13617 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13619 * net/newst-treeview.el: Remove "Time-stamp".
13620 (newsticker--group-manage-orphan-feeds): Do not call
13621 newsticker--treeview-tree-update.
13622 (newsticker-treeview-update, newsticker-treeview):
13623 Call newsticker--treeview-tree-update if necessary.
13625 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13627 * window.el (window-iso-combination-p, window-iso-combined-p)
13628 (window-iso-combinations): Remove "iso-" infix.
13629 Suggested by Chong Yidong.
13630 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13631 (window-max-delta-1, window-resize, window--resize-siblings)
13632 (window--resize-this-window, adjust-window-trailing-edge)
13633 (split-window, balance-windows-1)
13634 (shrink-window-if-larger-than-buffer):
13635 * calendar/calendar.el (calendar-generate-window):
13636 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13638 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13640 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13641 in place (bug#9907).
13642 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13643 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13644 (eshell-structure-basic-command, eshell-rewrite-while-command)
13645 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13646 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13647 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13648 (eshell-do-pipelines-synchronously, eshell-eval-command):
13649 Use backquotes and prefer setq to set.
13650 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13651 (eshell-macrop): Use functionp.
13652 (eshell-do-eval): Handle multiple expressions in `while' body.
13654 2011-10-30 Chong Yidong <cyd@gnu.org>
13656 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13657 instead of set-mark (Bug#9810).
13659 2011-10-30 Chong Yidong <cyd@gnu.org>
13661 * window.el (split-window-below, split-window-right): Rename from
13662 split-window-above-each-other and split-window-side-by-side
13663 respectively. All callers changed.
13664 (split-window-sensibly, split-window-sensibly): Use them.
13665 (split-window-keep-point): Doc fix.
13667 * isearch.el: Add isearch-scroll property to split-window-below
13668 and split-window-right.
13670 * follow.el (follow-mode):
13671 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13672 * progmodes/ada-xref.el (ada-gdb-application):
13673 * emulation/vip.el (vip-buffer-in-two-windows):
13674 * image-dired.el (image-dired-dired-with-window-configuration):
13675 * dired-x.el (dired-do-find-marked-files):
13676 * dired.el (dired-pop-to-buffer):
13677 * bs.el (bs--show-with-configuration):
13678 * vc/emerge.el (emerge-setup-windows):
13679 * textmodes/two-column.el (2C-two-columns):
13680 * textmodes/reftex-toc.el (reftex-toc):
13681 * progmodes/gdb-mi.el (gdb-setup-windows):
13682 * progmodes/fortran.el (fortran-window-create):
13683 * net/newst-treeview.el (newsticker--treeview-window-init):
13684 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13685 * emulation/tpu-edt.el (tpu-gold-map):
13686 * emulation/crisp.el (crisp-mode-map):
13687 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13689 2011-10-29 Chong Yidong <cyd@gnu.org>
13691 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13693 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13695 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13696 forged Ispell output (Bug#7904).
13698 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13700 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13702 * doc-view.el: Avoid ugly errors about not finding nil.
13703 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13704 (doc-view-dvipdf-program, doc-view-unoconv-program)
13705 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13706 Avoid nil or absolute file name as default value.
13707 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13709 2011-10-28 Alan Mackenzie <acm@muc.de>
13711 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13713 2011-10-28 Alan Mackenzie <acm@muc.de>
13715 Amend the handling of c-beginning/end-of-defun in nested declaration
13718 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13719 cc-langs.el. Change it to a defcustom.
13721 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13724 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13725 Prevent "class foo : bar" being spuriously recognized as a label.
13727 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13728 Add parameter `inclusive' (to include enclosing braces in the region).
13729 (c-widen-to-enclosing-decl-scope): New function.
13730 (c-while-widening-to-decl-block): New macro.
13731 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13732 outward for defun boundaries, and correspondingly change symbol
13733 `respect-enclosure' to `go-outward'.
13734 (c-declaration-limits): Change algorithm to report only the "innermost"
13735 defun's boundaries.
13737 2011-10-28 Deniz Dogan <deniz@dogan.se>
13739 * net/rcirc.el (rcirc-mode): Use hard newlines.
13741 2011-10-28 Alan Mackenzie <acm@muc.de>
13743 Amend to indent and fontify macros "which include their own semicolon"
13744 correctly, using the "virtual semicolon" mechanism.
13746 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13749 Recode to scan one line at a time rather than having \n and \r
13750 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13751 (c-forward-label): Amend for virtual semicolons.
13752 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13754 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13755 of the new C macros.
13757 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13758 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13759 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13760 (c-opt-cpp-macro-define): Make into a full language variable.
13761 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13762 AWK Mode (including \n, \r) removed, no longer needed.
13764 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13765 Invoke c-make-macro-with-semi-re.
13767 * progmodes/cc-vars.el (c-macro-with-semi-re):
13768 (c-macro-names-with-semicolon): New variables.
13769 (c-make-macro-with-semi-re): New function.
13771 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13773 * vc/log-edit.el: Fill empty field rather than adding new one.
13774 (log-edit-add-field): New function.
13775 (log-edit-insert-changelog): Use it.
13777 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13779 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13781 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13783 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13784 (gdb--check-interpreter): New function.
13787 2011-10-27 Glenn Morris <rgm@gnu.org>
13789 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13790 (least-positive-float, least-negative-float)
13791 (least-positive-normalized-float, least-negative-normalized-float)
13792 (float-epsilon, float-negative-epsilon):
13793 Remove unnecessary declarations.
13795 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13796 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13797 (least-positive-float, least-negative-float)
13798 (least-positive-normalized-float, least-negative-normalized-float)
13799 (float-epsilon, float-negative-epsilon): Add doc-strings,
13800 based on those in cl.texi.
13802 * files.el (set-visited-file-name): If the major-mode changed,
13803 reload the local variables. (Bug#9796)
13805 2011-10-27 Chong Yidong <cyd@gnu.org>
13807 * subr.el (change-major-mode-after-body-hook): New hook.
13808 (run-mode-hooks): Run it.
13810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13811 Use change-major-mode-before-body-hook.
13813 * simple.el (fundamental-mode):
13814 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13815 change introducing fundamental-mode-hook.
13817 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13819 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13821 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13823 * ido.el (ido-file-name-all-completions-1): Do not require
13824 tramp.el explicitly. (Bug#7583)
13826 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13828 * progmodes/octave-mod.el:
13829 * progmodes/octave-inf.el: Update maintainer.
13831 2011-10-26 Chong Yidong <cyd@gnu.org>
13833 * subr.el (with-wrapper-hook): Rewrite doc.
13835 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13837 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13838 filenames "/method:foo:". (Bug#9793)
13840 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13842 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13845 2011-10-24 Glenn Morris <rgm@gnu.org>
13847 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13849 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13851 * notifications.el: Add the requirement of a running D-Bus session
13852 bus to the Commentary.
13854 2011-10-24 Juri Linkov <juri@jurta.org>
13856 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13857 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13860 2011-10-24 Juri Linkov <juri@jurta.org>
13862 * info.el (Info-following-node-name-re): Add newline to the list
13863 of allowed characters for leading space. (Bug#9824)
13865 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * progmodes/octave-inf.el (inferior-octave-mode-map):
13868 Fix C-c C-h binding.
13869 * progmodes/octave-mod.el (octave-help): Remove.
13871 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13873 Sync with Tramp 2.2.3.
13875 * net/tramp-cache.el (top): Pacify byte-compiler using
13876 `init-file-user' and `site-run-file'.
13878 * net/trampver.el: Update release number.
13880 2011-10-23 Chong Yidong <cyd@gnu.org>
13882 * files.el (toggle-read-only): Remove obsolete comment about
13885 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13886 for toggle-read-only. Note that this hasn't called vc-next-action
13887 since 2008-05-02, though it wasn't documented at the time.
13889 * vc/ediff-init.el (ediff-toggle-read-only-function):
13890 Use toggle-read-only.
13892 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13894 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13897 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13898 correct faulty logical expression.
13899 (c-parse-state-state, c-record-parse-state-state):
13900 (c-replay-parse-state-state): New defvar/defuns.
13901 (c-debug-parse-state): Use new functions.
13903 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13905 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13906 last fix. Use window-in-direction correctly.
13908 2011-10-21 Chong Yidong <cyd@gnu.org>
13910 * progmodes/idlwave.el (idlwave-mode):
13911 * progmodes/vera-mode.el (vera-mode): No need to set
13912 require-final-newline; that's done in prog-mode.
13913 Suggested by Stefan Monnier.
13915 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13917 * mouse.el (mouse-drag-window-above)
13918 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13919 (mouse-drag-mode-line-1, mouse-drag-header-line)
13920 (mouse-drag-vertical-line-rightward-window): Remove.
13921 (mouse-drag-line): New function.
13922 (mouse-drag-mode-line, mouse-drag-header-line)
13923 (mouse-drag-vertical-line): Call mouse-drag-line.
13924 * window.el (window-at-side-p, windows-at-side): New functions.
13926 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13928 * tar-mode.el (tar-grind-file-mode):
13929 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13931 2011-10-21 Chong Yidong <cyd@gnu.org>
13933 * progmodes/idlwave.el (idlwave-mode):
13934 * progmodes/vera-mode.el (vera-mode):
13935 Use mode-require-final-newline.
13937 2011-10-20 Glenn Morris <rgm@gnu.org>
13939 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13941 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13943 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13945 2011-10-20 Chong Yidong <cyd@gnu.org>
13947 * emulation/cua-base.el (cua-mode):
13948 * mail/footnote.el (footnote-mode):
13949 * mail/mailabbrev.el (mail-abbrevs-mode):
13950 * net/xesam.el (xesam-minor-mode):
13951 * progmodes/bug-reference.el (bug-reference-mode):
13952 * progmodes/cap-words.el (capitalized-words-mode):
13953 * progmodes/compile.el (compilation-minor-mode)
13954 (compilation-shell-minor-mode):
13955 * progmodes/gud.el (gud-tooltip-mode):
13956 * progmodes/hideif.el (hide-ifdef-mode):
13957 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13958 * progmodes/subword.el (subword-mode):
13959 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13960 * progmodes/which-func.el (which-function-mode):
13961 * term/tvi970.el (tvi970-set-keypad-mode):
13962 * term/vt100.el (vt100-wide-mode):
13963 * textmodes/flyspell.el (flyspell-mode):
13964 * textmodes/ispell.el (ispell-minor-mode):
13965 * textmodes/nroff-mode.el (nroff-electric-mode):
13966 * textmodes/paragraphs.el (use-hard-newlines):
13967 * textmodes/refill.el (refill-mode):
13968 * textmodes/reftex.el (reftex-mode):
13969 * textmodes/rst.el (rst-minor-mode):
13970 * textmodes/sgml-mode.el (html-autoview-mode)
13971 (sgml-electric-tag-pair-mode):
13972 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13973 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13974 * emulation/crisp.el (crisp-mode):
13975 * emacs-lisp/eldoc.el (eldoc-mode):
13976 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13977 minor mode behavior.
13979 2011-10-19 Juri Linkov <juri@jurta.org>
13981 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13982 the list of hard-coded chars with escape-glyph face.
13984 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13986 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13988 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13990 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13993 2011-10-19 Glenn Morris <rgm@gnu.org>
13995 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13996 Ignore ignored files. (Bug#9726)
13998 2011-10-19 Chong Yidong <cyd@gnu.org>
14000 Doc fix for minor modes, stating that an omitted argument enables
14001 the mode unconditionally when called from Lisp.
14003 * abbrev.el (abbrev-mode):
14004 * allout.el (allout-mode):
14005 * autoinsert.el (auto-insert-mode):
14006 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14007 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14008 (global-auto-revert-mode):
14009 * battery.el (display-battery-mode):
14010 * composite.el (global-auto-composition-mode)
14011 (auto-composition-mode):
14012 * delsel.el (delete-selection-mode):
14013 * desktop.el (desktop-save-mode):
14014 * dired-x.el (dired-omit-mode):
14015 * dirtrack.el (dirtrack-mode):
14016 * doc-view.el (doc-view-minor-mode):
14017 * double.el (double-mode):
14018 * electric.el (electric-indent-mode, electric-pair-mode):
14019 * emacs-lock.el (emacs-lock-mode):
14020 * epa-hook.el (auto-encryption-mode):
14021 * follow.el (follow-mode):
14022 * font-core.el (font-lock-mode):
14023 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14024 * help.el (temp-buffer-resize-mode):
14025 * hilit-chg.el (highlight-changes-mode)
14026 (highlight-changes-visible-mode):
14027 * hi-lock.el (hi-lock-mode):
14028 * hl-line.el (hl-line-mode, global-hl-line-mode):
14029 * icomplete.el (icomplete-mode):
14030 * ido.el (ido-everywhere):
14031 * image-file.el (auto-image-file-mode):
14032 * image-mode.el (image-minor-mode):
14033 * iswitchb.el (iswitchb-mode):
14034 * jka-cmpr-hook.el (auto-compression-mode):
14035 * linum.el (linum-mode):
14036 * longlines.el (longlines-mode):
14037 * master.el (master-mode):
14038 * mb-depth.el (minibuffer-depth-indicate-mode):
14039 * menu-bar.el (menu-bar-mode):
14040 * minibuf-eldef.el (minibuffer-electric-default-mode):
14041 * mouse-sel.el (mouse-sel-mode):
14042 * msb.el (msb-mode):
14043 * mwheel.el (mouse-wheel-mode):
14044 * outline.el (outline-minor-mode):
14045 * paren.el (show-paren-mode):
14046 * recentf.el (recentf-mode):
14047 * reveal.el (reveal-mode, global-reveal-mode):
14048 * rfn-eshadow.el (file-name-shadow-mode):
14049 * ruler-mode.el (ruler-mode):
14050 * savehist.el (savehist-mode):
14051 * scroll-all.el (scroll-all-mode):
14052 * scroll-bar.el (scroll-bar-mode):
14053 * server.el (server-mode):
14054 * shell.el (shell-dirtrack-mode):
14055 * simple.el (auto-fill-mode, transient-mark-mode)
14056 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14057 (line-number-mode, column-number-mode, size-indication-mode)
14058 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14059 * strokes.el (strokes-mode):
14060 * time.el (display-time-mode):
14061 * t-mouse.el (gpm-mouse-mode):
14062 * tool-bar.el (tool-bar-mode):
14063 * tooltip.el (tooltip-mode):
14064 * type-break.el (type-break-mode-line-message-mode)
14065 (type-break-query-mode):
14066 * view.el (view-mode):
14067 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14068 (global-whitespace-mode, global-whitespace-newline-mode):
14069 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14071 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14072 Fix autogenerated docstring.
14074 2011-10-19 Juri Linkov <juri@jurta.org>
14076 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14077 by checking environment variables "DESKTOP_SESSION" and
14078 "XDG_CURRENT_DESKTOP". (Bug#9779)
14080 2011-10-19 Juri Linkov <juri@jurta.org>
14082 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14083 (browse-url-chromium-program, browse-url-chromium-arguments):
14085 (browse-url-default-browser): Check for `browse-url-chromium' and
14086 call `browse-url-chromium-program'.
14087 (browse-url-chromium): New command. (Bug#9779)
14089 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14091 * facemenu.el (list-colors-duplicates): On Windows, detect more
14092 duplicates by assuming that only colors matching "^System" are
14093 special "system colors". (Bug#9722)
14095 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14097 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14098 to distinguish the author from the committer.
14100 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14102 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14104 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14106 * international/mule.el (sgml-html-meta-auto-coding-function):
14107 Add support for detecting encoding in HTML5 specified only as
14108 <meta charset="UTF-8">. Implementation just makes http-equiv and
14109 content-type parts from HTML4 encoding string optional. (Bug#9716)
14111 2011-10-18 Glenn Morris <rgm@gnu.org>
14113 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14115 2011-10-18 Chong Yidong <cyd@gnu.org>
14117 * faces.el (cursor): Doc fix.
14119 2011-10-17 Chong Yidong <cyd@gnu.org>
14121 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14123 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14125 * dirtrack.el (dirtrack): Support shell buffers with path
14126 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14128 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14130 * json.el: Bump version to 1.3 and note change in History.
14131 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14133 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14135 * comint.el (comint-insert-input, comint-send-input)
14136 (comint-get-old-input-default, comint-backward-matching-input)
14137 (comint-next-prompt): Use nil instead of `input' for field property of
14138 past user input (bug#114).
14140 * minibuffer.el (completion--replace): Inherit surrounding properties
14142 (minibuffer-complete-and-exit): Use it.
14144 * comint.el (comint--table-subvert): Quote the all-completions output
14147 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14149 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14151 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14152 window on right of selected. (Bug#9350) Reword other window
14153 entries and separate them from frame entries.
14155 2011-10-15 Glenn Morris <rgm@gnu.org>
14157 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14160 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14162 * net/network-stream.el (network-stream-open-starttls):
14163 Improve detection of failure due to lack of TLS support.
14165 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14166 putting the input text in front and in bold.
14168 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14170 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14172 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14175 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14176 unread-command-events rather than pushing yet-another event.
14178 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14180 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14181 the explanation of the possible choices. Make the options passed
14182 to completing-read shorter.
14184 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14186 * textmodes/flyspell.el (flyspell-large-region): Make sure
14187 extended character mode is used if defined (Bug#1339).
14189 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14191 * simple.el (what-cursor-position): Fix the display of the
14192 character info for LRE, LRO, RLE, and RLO characters by appending
14195 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14197 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14198 even in case of error; add debug spec; simplify data flow.
14199 (with-timeout-handler): Remove.
14201 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14203 Fix Bug#6019, Bug#9315.
14205 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14206 complete `buffer-file-name', the local file name part could look
14207 remotely (for example on VMS).
14209 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14210 `tramp-run-real-handler'.
14211 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14212 already quoted by '"'.
14214 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14215 Let `file-name-handler-alist' be nil, the local file name part
14216 could look remotely (for example on VMS).
14218 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14220 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14222 (flyspell-post-command-hook): ...to here.
14224 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14226 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14228 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14229 using completion. Protect against "slow" callers.
14230 Remove the "message hack".
14232 2011-10-11 Juri Linkov <juri@jurta.org>
14234 * isearch.el (isearch-lazy-highlight-word): New variable.
14235 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14238 2011-10-11 Glenn Morris <rgm@gnu.org>
14240 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14241 like f90-previous-statement does.
14243 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14245 * eshell/eshell.el (eshell-command): History should be saved
14246 only in interactive use, to avoid error.
14248 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * minibuffer.el (completion-file-name-table): Fix last change,
14251 i.e. ignore normal errors but not the other ones.
14253 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14255 * window.el (special-display-buffer-names)
14256 (special-display-regexps): Remove some remnants of earlier
14257 changes from doc-strings.
14258 (quit-windows-on): New function.
14260 * vc/vc.el (vc-revert, vc-rollback):
14261 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14262 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14263 (Bug#6183) (Bug#7074) (Bug#7447)
14265 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14267 * window.el (frame-auto-hide-function): Add version tag.
14270 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14272 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14275 2011-10-09 Leo Liu <sdl.web@gmail.com>
14277 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14280 2011-10-08 Glenn Morris <rgm@gnu.org>
14282 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14283 before the first code statement zero indent. (Bug#9690)
14285 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14287 * simple.el (count-words-region): Always count in the region.
14288 Report the number of lines and characters too.
14289 (count-words): New command, which counts in the buffer if the
14290 region is inactive, as count-words-region used to.
14291 (count-words--message): New function. Handle plurals.
14292 (count-lines-region): Make it an alias for count-words-region.
14294 * bindings.el (esc-map): Replace count-lines-region with
14295 count-words-region.
14297 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14299 * window.el (window--delete): Delete dedicated frame
14300 unconditionally when argument KILL is non-nil. (Bug#9699)
14301 (switch-to-buffer): Fix doc-string typo.
14303 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14305 * eshell/eshell.el (eshell-command): Avoid using hooks.
14307 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14309 * bindings.el ([M-left],[M-right]): Bind to left-word and
14310 right-word respectively.
14312 2011-10-07 Glenn Morris <rgm@gnu.org>
14314 * cus-start.el (debug-on-quit): Fix custom type.
14316 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14318 * subr.el (define-key-after): Clarify that the function is not
14319 useful for non-menu keymaps.
14321 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14323 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14325 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14326 in current minibuffer (Fix bug with recursive minibuffers).
14328 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14330 * progmodes/gdb-mi.el (gdb): Doc fix.
14332 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14334 * window.el (frame-auto-hide-function): New option replacing
14335 frame-auto-delete. Suggested by Stefan Monnier.
14336 (window--delete): Call frame-auto-hide-function instead of
14337 investigating frame-auto-delete.
14338 (window-point-1, set-window-point-1): New functions.
14339 (window-in-direction, record-window-buffer, window-state-get-1)
14340 (display-buffer-record-window): Use window-point-1 instead of
14342 (set-window-buffer-start-and-point): Use set-window-point-1.
14344 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14346 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14348 2011-10-05 Glenn Morris <rgm@gnu.org>
14350 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14351 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14353 2011-10-05 Leo Liu <sdl.web@gmail.com>
14355 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14356 works with buffer object.
14358 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14360 * mpc.el (mpc-tool-bar-map): Add labels.
14362 2011-10-04 Glenn Morris <rgm@gnu.org>
14364 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14366 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14368 * window.el (window--delete): New function.
14369 (frame-auto-delete): Resuscitate option.
14370 (bury-buffer, replace-buffer-in-windows)
14371 (quit-window): Rewrite using window--delete.
14372 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14373 Pass display-buffer-mark-dedicated to window--display-buffer-2
14376 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14378 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14379 returns a list (bug#9554). Add remote file name completion.
14380 * comint.el (comint--table-subvert): Curry and get quote&unquote
14381 functions as arguments.
14382 (comint--complete-file-name-data): Adjust call accordingly.
14383 * pcomplete.el (pcomplete--table-subvert): Remove.
14384 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14386 * minibuffer.el (completion-table-case-fold): Use currying.
14387 (completion--styles-type, completion--cycling-threshold-type):
14389 (completion-styles, completion-category-overrides)
14390 (completion-cycle-threshold): Use them.
14391 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14392 completion-table-case-fold.
14394 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14396 * minibuffer.el (completion-category-overrides): Fix type of styles
14397 and add more user friendly tags (bug#9660).
14399 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14402 (mule-input-method-string): New widget.
14403 (default-input-method, language-info-custom-alist): Use it.
14405 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14407 * pcomplete.el: Require comint.
14408 (pcomplete--common-suffix): Remove.
14409 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14410 (pcomplete--table-subvert): Sync with comint--table-subvert.
14411 (pcomplete--entries): Use comint-completion-file-name-table.
14412 * comint.el (comint-unquote-filename): Simplify.
14413 (comint-completion-file-name-table): New function (bug#9616).
14414 (comint--complete-file-name-data): Use it.
14416 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14417 (pcmpl-gnu-tar-buffer): Remove.
14418 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14419 around. Make sure pcomplete-suffix-list is only changed temporarily.
14420 Don't look inside the tar's file if it's too large.
14422 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14424 * cus-edit.el (custom-mode-map):
14425 * epa.el (epa-key-list-mode-map):
14426 * man.el (Man-mode-map):
14427 * startup.el (splash-screen-keymap):
14428 * simple.el (special-mode-map): Use scroll-up-command and
14429 scroll-down-command.
14431 * progmodes/idlw-help.el (idlwave-help-mode-map):
14432 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14433 * net/newst-plainview.el (newsticker-mode-map):
14434 * emulation/ws-mode.el (wordstar-mode-map):
14435 * emulation/vi.el (vi-com-map):
14436 * calc/calc-graph.el (calc-graph-show-dumb):
14437 * term/sun.el (terminal-init-sun):
14438 * term/ns-win.el (global-map):
14439 * progmodes/grep.el (grep-mode-map):
14440 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14441 * mail/rmail.el (rmail-mode-map):
14442 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14444 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14445 custom-safe-themes as special.
14447 2011-10-01 Julien Danjou <julien@danjou.info>
14449 * notifications.el (notifications-notify): Fix docstring.
14451 2011-10-01 Per Starbäck <per@starback.se>
14453 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14455 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14457 * startup.el (command-line-1): Fix last fix by inserting
14458 initial-scratch-message into *scratch* before displaying it.
14459 (Bug#9605) and (Bug#9636)
14461 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14463 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14464 window is hscrolled, move by logical lines. (Bug#9607)
14465 (line-move-visual): Update the doc string to the above effect.
14467 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14469 * window.el (display-buffer-record-window): When WINDOW is the
14470 selected window use `point' instead of `window-point'. (Bug#9626)
14472 * startup.el (command-line-1): Use insert-before-markers when
14473 inserting initial-scratch-message. (Bug#9605)
14475 * help.el (help-window): Remove variable.
14477 2011-09-29 Glenn Morris <rgm@gnu.org>
14479 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14481 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14483 * descr-text.el (describe-char-categories): Accept category
14484 descriptions more than one line long.
14486 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14488 * simple.el (delete-trailing-whitespace): Fix last change.
14490 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14491 Don't confuse "y => 3" as the beginning of a `y' operation.
14493 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14494 object has more than 4 slots (bug#9613).
14496 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14498 * subr.el (with-output-to-temp-buffer):
14499 * net/quickurl.el (quickurl, quickurl-browse-url):
14500 Fix typos in docstrings.
14502 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14504 * minibuffer.el (completion-styles)
14505 (completion-category-overrides): Cross reference each other in doc
14508 2011-09-27 Glenn Morris <rgm@gnu.org>
14510 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14511 to split-string. (Bug#9606)
14513 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14515 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14518 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14520 * emacs-lisp/package.el (list-packages): Fix echo area message.
14522 2011-09-27 Leo Liu <sdl.web@gmail.com>
14524 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14526 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14528 * net/dbus.el (dbus-unregister-object): Don't release services for
14529 registered signals. (Bug#9581)
14531 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14533 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14534 function that picks between cfengine 2 and 3 support
14535 automatically. Update docs accordingly.
14537 2011-09-22 Kenichi Handa <handa@m17n.org>
14539 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14541 (indian-itrans-v5-table-for-tamil): New variable.
14542 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14544 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14546 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14547 that's true if the current command involved collapsing of text.
14548 It's reset to false at the beginning of the next command.
14549 (allout-post-command-business): Move the cursor to the beginning
14550 of entry if the cursor is hidden and collapsing activity just
14553 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14555 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14556 tracking (Bug#9541).
14558 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14560 * net/newst-reader.el (newsticker-html-renderer)
14561 (newsticker-show-news): Automatically load html rendering package
14562 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14563 because w3m-fill-column is let-bound" and the error "Symbol's value
14564 as variable is void: w3m-fill-column".
14566 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14568 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14569 Release services only if they are defined. (Bug#9581)
14571 2011-09-23 Richard Stallman <rms@gnu.org>
14573 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14574 distinguish start of paragraph from start of its text.
14576 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14578 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14579 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14580 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14582 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14584 * international/mule-diag.el (mule-diag): Insert a newline after
14585 each fontset description.
14587 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14589 * simple.el (delete-trailing-whitespace):
14590 Document last change; simplify.
14592 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14594 * simple.el (delete-trailing-whitespace): Also delete
14595 extra newlines at the end of the buffer.
14597 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14598 (picture-newline): Use forward-line so as to ignore fields.
14600 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14602 * subr.el (with-wrapper-hook): Fix edebug spec.
14604 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14606 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14609 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14611 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14612 Fix nasty bug using wrong cached values.
14614 2011-09-23 Alan Mackenzie <acm@muc.de>
14616 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14618 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14620 * window.el (pop-to-buffer): Ensure right window is selected if we
14621 chose another frame.
14623 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14625 * simple.el (what-cursor-position): Use get-char-property-change
14626 and next-single-char-property-change, to be able to show display
14627 properties that come from overlays as well as text properties.
14629 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14631 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14633 * cmuscheme.el (run-scheme, switch-to-scheme):
14634 * cus-edit.el (customize-group, custom-buffer-create)
14635 (customize-browse):
14637 * shell.el (shell):
14638 * mail/sendmail.el (mail):
14639 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14641 2011-09-22 Richard Stallman <rms@gnu.org>
14643 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14644 move back only to line beg, don't move back over blank lines.
14646 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14648 * files.el (copy-directory): Set directory attributes only in case
14649 they could be retrieved from the source directory. (Bug#9565)
14651 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14653 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14654 (hs-find-block-beginning, hs-hide-level-recursive):
14655 Ignore strings as well as comments. (Bug#9502)
14657 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14659 * progmodes/sql.el (sql-comint-postgres):
14660 Convert port number to a string. (Bug#9566)
14662 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14664 * window.el (quit-window): Undedicate window when switching to
14665 previous buffer. Reported by Thierry Volpiatto
14666 <thierry.volpiatto@gmail.com>.
14667 (special-display-popup-frame): When popping up a new frame reset
14668 its previous buffers to nil. Simplify code.
14670 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14672 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14673 and process filter, as done also in `shell-command'.
14675 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14677 * window.el (set-window-buffer-start-and-point):
14678 Call set-window-start with NOFORCE argument t.
14679 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14680 (quit-window): Reword doc-string. Handle new format of
14681 quit-restore parameter. Don't delete window if it has a
14682 previous buffer we can show instead of the present one.
14683 (display-buffer-record-window): Rewrite using a new format for
14684 the quit-restore window parameter
14685 (special-display-popup-frame, display-buffer-same-window)
14686 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14687 (display-buffer-pop-up-window, display-buffer-use-some-window):
14688 Adapt symbol passed to display-buffer-record-window.
14689 * help.el (help-window-setup): Handle new format of quit-restore
14692 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14694 * faces.el (face-list): Fix docstring (bug#9564).
14696 * window.el (display-buffer--action-function-custom-type):
14697 Don't include internal functions in the Custom interface.
14699 2011-09-20 Juri Linkov <juri@jurta.org>
14701 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14702 (Info-forward-node, Info-backward-node, Info-next-preorder)
14703 (Info-last-preorder): Use it. (Bug#9528)
14705 2011-09-20 Juri Linkov <juri@jurta.org>
14707 * info.el (Info-last-preorder): Visit last menu item only when
14708 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14710 2011-09-20 Julien Danjou <julien@danjou.info>
14712 * password-cache.el (password-cache-remove): Remove entries even if the
14713 value is nil, so that password with a nil value (negative caching) is
14714 possible to invalidate.
14716 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14718 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14719 all whitespace around breakpoint. (Bug#9553)
14720 (f90-find-breakpoint): Only break at whitespace inside a comment.
14722 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * minibuffer.el (completion-file-name-table): Keep track of errors.
14725 (completion-table-with-predicate): Handle the case where pred1 is nil.
14726 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14728 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14730 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14731 (debugger-return-value): Signal an error if the debugging context does
14732 not await any return value.
14734 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14735 * image-mode.el (image-toggle-display-text)
14736 (image-toggle-display-image): Stay away from evil `intangible'.
14738 2011-09-19 Leo Liu <sdl.web@gmail.com>
14740 * replace.el (occur-revert-arguments): Make it permanent-local.
14741 (occur-mode): Don't call font-lock-defontify.
14743 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14745 * net/ldap.el (ldap-search-internal): Don't push empty search
14748 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14750 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14752 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14754 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14755 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14757 2011-09-18 Juri Linkov <juri@jurta.org>
14759 * buff-menu.el (Buffer-menu-mode-map):
14760 * dired.el (dired-mode-map):
14761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14762 (lisp-interaction-mode-map):
14763 * emacs-lisp/package.el (package-menu-mode-map):
14764 * epa.el (epa-key-list-mode-map):
14765 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14766 (menu-bar-options-menu):
14767 * outline.el (outline-mode-menu-bar-map):
14768 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14769 * vc/vc-dir.el (vc-dir-menu-map):
14770 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14771 Capitalize non-function content words in menu item strings.
14773 * dired.el (dired-mode-map): Add menu item for
14774 `image-dired-dired-toggle-marked-thumbs'.
14776 2011-09-18 Juri Linkov <juri@jurta.org>
14778 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14779 to `isearch-case-fold-search' and restore its original value
14780 after the `isearch-mode' call.
14782 2011-09-18 Juri Linkov <juri@jurta.org>
14784 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14785 because `zgrep' returns 1 for successful matches (bug#9226).
14787 2011-09-18 Juri Linkov <juri@jurta.org>
14789 * info.el (Info-extract-menu-node-name): Check the second match
14790 for empty string (second test-case of bug#9528).
14791 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14792 intermediate nodes to the history (first test-case of bug#9528).
14794 2011-09-18 Juri Linkov <juri@jurta.org>
14796 * info.el (Info-mode-syntax-table): New variable.
14797 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14799 2011-09-18 Juri Linkov <juri@jurta.org>
14801 * info.el (Info-file-supports-index-cookies):
14802 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14803 outputs one more line for long file names (bug#4142).
14805 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14807 * newcomment.el (comment-normalize-vars): If prompting for
14808 comment-start, set comment-start-skip too (Bug#8424).
14810 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14812 * icomplete.el: Fix previous fix of Bug#5849.
14813 (icomplete-mode): Don't set completion-show-inline-help.
14814 (icomplete-minibuffer-setup): Set completion-show-inline-help
14815 locally during icompletion.
14817 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14819 * woman.el (woman2-process-escapes): Don't delete unrecognized
14820 escapes (Bug#7843).
14822 * files.el (inhibit-first-line-modes-regexps): Add image files.
14823 (hack-local-variables-prop-line): Return nil for malformed
14824 prop-lines (Bug#9044).
14826 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14828 * net/tramp.el (top): Don't require 'shell.
14829 (tramp-methods): Fix docstring.
14830 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14831 Return complete remote file name. Handle "smb" case.
14832 Use `tramp-tmpdir', if defined for the respective method.
14833 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14835 * net/tramp-compat.el (top): Require 'shell.
14837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14838 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14839 `tramp-current-host'.
14840 (tramp-get-remote-tmpdir): Remove.
14842 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14843 `tramp-tmpdir' entries.
14844 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14845 (tramp-smb-handle-file-attributes): Ignore errors.
14846 (tramp-smb-wait-for-output): Check also for process end.
14848 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14850 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14851 when sending QUIT (bug#9312).
14853 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14855 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14856 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14857 occur-mode-display-occurrence.
14858 (occur-edit-mode): Add usage message.
14859 (occur-cease-edit): New command.
14860 (occur-after-change-function): Use text properties to find the
14861 position of the prefix text.
14862 (occur-engine): Set stickiness of prefix text properties.
14864 2011-09-17 Glenn Morris <rgm@gnu.org>
14866 * progmodes/etags.el (complete-tag):
14867 Fix call to completion-in-region. (Bug#9526)
14869 2011-09-17 Juri Linkov <juri@jurta.org>
14871 * textmodes/ispell.el (ispell-word): Add to the error message
14872 the word, ispell program name and current dictionary (bug#9121).
14873 (ispell-tex-arg-end): Capitalize "error" in the error message.
14875 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14877 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14880 2011-09-17 Juri Linkov <juri@jurta.org>
14882 * window.el (window-safe-min-height, window-safe-min-width):
14883 Fix typos (followup to bug#9522).
14885 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14887 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14889 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14891 * simple.el (line-move): If goal-column is set, move by logical
14892 lines, not by display lines. (Bug#971)
14893 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14894 to reflect the above change.
14896 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14898 * image.el (imagemagick-register-types): Use regexp-opt.
14900 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14902 * window.el (display-buffer-base-action): Rename from
14903 display-buffer-default-action. Make default value empty.
14904 (display-buffer-overriding-action): Convert to defvar.
14905 (display-buffer-fallback-action): New var.
14907 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14909 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14911 (package--add-to-archive-contents): If there is a duplicate entry
14912 with an older version, remove it.
14913 (package-menu-mark-delete, package-menu-mark-install)
14914 (package-menu-mark-unmark): Make unused args optional.
14915 (package-menu-mark-obsolete-for-deletion):
14916 Use package-menu-get-status instead of a regexp search.
14917 (package-menu-get-status): Use tabulated-list-entry.
14918 (package-menu-mark-upgrades): New command.
14919 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14920 (package-menu-execute): Do installation before deletion.
14921 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14922 instead of checking major-mode.
14923 (package-menu--find-upgrades): New function.
14925 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14927 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14928 passwords in the log buffer.
14929 (smtpmail-process-filter): Update the process marker so that the
14930 "broken by peer" status message is inserted in the right place.
14932 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14934 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14935 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14936 bibtex-completion-at-point-function.
14937 (bibtex-completion-at-point-function): Use them.
14939 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14941 * mpc.el (mpc-constraints-tag-lookup): New function.
14942 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14943 also to browser "album|playlist".
14945 2011-09-14 Juri Linkov <juri@jurta.org>
14947 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14948 (isearch-edit-string): Use length of `isearch-string' when
14949 `isearch-fail-pos' returns nil.
14950 (isearch-message): Remove duplicate code and call
14951 `isearch-fail-pos' with arg `t'.
14953 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14955 * replace.el (occur-mode-goto-occurrence): Don't force using other
14958 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14960 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14962 * window.el (display-buffer-window): Remove.
14963 (display-buffer-record-window): Use help-setup window parameter
14964 instead of variable display-buffer-window.
14965 (display-buffer-function, special-display-buffer-names)
14966 (special-display-function): Mention help-setup parameter instead
14967 of display-buffer-window in doc-string.
14968 * help.el (help-window-setup): New argument help-window.
14969 Use help-window-setup parameter instead of display-buffer-window.
14970 Reword some messages.
14971 (with-help-window): Pass window used for displaying the buffer
14972 to help-window-setup. Don't set display-buffer-window.
14974 2011-09-13 Glenn Morris <rgm@gnu.org>
14976 * emacs-lisp/debug.el (debugger-make-xrefs):
14977 Preserve point. (Bug#9462)
14979 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14981 * window.el (window-deletable-p): Use next-frame.
14983 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14985 * window.el (window-auto-delete): Remove.
14986 (window-deletable-p): Remove argument FORCE. Don't deal with
14987 dedication and previous buffers.
14988 (switch-to-prev-buffer): Don't delete window.
14989 (delete-windows-on): Delete a window's frame if and only if the
14990 window is dedicated.
14991 (replace-buffer-in-windows): Delete buffer's window or frame if
14992 and only if window is dedicated.
14993 (quit-window): Handle quit-restore as before last change.
14994 (bury-buffer): Delete window only if window-deletable-p returns t.
14996 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14998 * window.el (window-deletable-p): Never delete the last frame on a
15001 2011-09-13 Glenn Morris <rgm@gnu.org>
15003 * help.el (describe-key-briefly): Copy previous standard-output change.
15005 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15007 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15009 2011-09-13 Glenn Morris <rgm@gnu.org>
15011 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15012 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15014 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15016 * dired-aux.el (dired-mark-read-string): Don't return default
15017 value on empty input (Bug#9361).
15018 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15019 Omit initial minibuffer contents.
15020 (dired-do-chmod): Signal an error on empty input.
15021 (dired-mark-read-string): Don't return default on empty input.
15023 * files.el (file-modes-symbolic-to-number): Doc fix.
15025 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15027 * international/mule-cmds.el (ucs-completions): Remove.
15028 (read-char-by-name): Use complete-with-action instead; add metadata.
15030 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15032 * window.el (display-buffer--action-function-custom-type)
15033 (display-buffer--action-custom-type): New vars.
15034 (display-buffer-alist, display-buffer-default-action)
15035 (display-buffer-overriding-action): Add defcustom types.
15037 * frame.el (delete-other-frames): Doc fix (Bug#276).
15039 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15041 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15043 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15045 Change modes that used same-window-* vars to use switch-to-buffer.
15047 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15048 Use switch-to-buffer.
15050 * cus-edit.el (customize-group, custom-buffer-create)
15051 (customize-browse, custom-buffer-create-other-window):
15052 Use switch-to-buffer or switch-to-buffer-other-window.
15054 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15055 (Info-prev, Info-up, Info-speedbar-goto-node)
15056 (info-display-manual): Use switch-to-buffer.
15057 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15059 * mail/sendmail.el (mail): Use switch-to-buffer.
15060 (mail-recover): Use switch-to-buffer-other-window.
15062 * cmuscheme.el (run-scheme, switch-to-scheme):
15064 * shell.el (shell):
15065 * net/rlogin.el (rlogin):
15066 * net/telnet.el (telnet, rsh):
15067 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15069 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15071 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15073 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15076 so don't mention it (bug#9301).
15077 (dired-sort-toggle-or-edit): Clarify string further.
15079 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15080 match `x', `w32' and `ns', like the manual says (bug#9029).
15082 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15083 (process-kill-buffer-query-function): Mention the buffer name in
15086 * image-mode.el (image-next-line): The line parameter is mandatory
15089 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15090 which can be useful (bug#9301).
15092 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15094 * subr.el (match-string): Mention that the current buffer should
15095 be the same as the search was done in (bug#9282).
15097 * facemenu.el: Disable the remove-* commands if the mark isn't
15100 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15102 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15104 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15106 * replace.el (occur-mode-goto-occurrence)
15107 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15108 and display-buffer.
15110 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15113 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15114 special-display and same-window variables.
15115 (mail-other-window): Use switch-to-buffer-other-window.
15116 (mail-other-frame): USe switch-to-buffer-other-frame.
15118 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15119 Use display-buffer-other-frame.
15120 (gdb-display-gdb-buffer): Use pop-to-buffer.
15122 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15124 * progmodes/python.el: Don't set same-window-buffer-names.
15126 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15128 * window.el (display-buffer-alist): Add *Python*.
15130 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15132 * window.el (display-buffer-alist): Add entry for buffers
15133 previously handled same-window-*.
15134 (display-buffer-alist, display-buffer-default-action)
15135 (display-buffer-overriding-action): Mark as risky.
15136 (display-buffer-alist): Document action function changes.
15137 (display-buffer--same-window-action)
15138 (display-buffer--other-frame-action): New variables.
15139 (switch-to-buffer, display-buffer-other-frame): Use them.
15140 (display-buffer): Rename reuse-frame entry to reusable-frames.
15141 (display-buffer-reuse-selected-window): Function deleted.
15142 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15143 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15144 (display-buffer-special): New function.
15145 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15146 display-buffer-reuse-or-pop-window. Split off special-display
15147 part into display-buffer-special.
15148 (display-buffer-use-some-window): Don't perform any special
15149 pop-up-frames handling.
15150 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15151 (display-buffer--maybe-same-window): Rename from
15152 display-buffer-maybe-same-window.
15154 * info.el: Don't set same-window-regexps.
15155 (info-setup): New function.
15156 (info-other-window, info): Call it.
15158 * cus-edit.el: Don't set same-window-regexps.
15159 (customize-group): New argument.
15160 (customize-group-other-window): Use it.
15161 (customize-face, customize-face-other-window): Likewise.
15162 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15166 * progmodes/gud.el: Don't set same-window-regexps.
15171 * mail/sendmail.el:
15172 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15174 2011-09-10 Juri Linkov <juri@jurta.org>
15176 * isearch.el (isearch-edit-string): Remove obsolete mention of
15177 `C-w' (`isearch-yank-word-or-char') from docstring.
15178 (isearch-query-replace): Fix typo in docstring (bug#9466).
15180 2011-09-10 Juri Linkov <juri@jurta.org>
15182 * paren.el (show-paren-function): Don't show escaped parens.
15183 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15185 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15187 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15188 (mm-default-file-encoding): Remove autoload forms, they are
15189 replaced with autoload cookies in mml.el and mm-encode.el.
15190 (mail-add-attachment): New command.
15191 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15192 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15194 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15196 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15198 * simple.el (count-words-region): Use buffer if there's no region
15201 2011-09-09 Juri Linkov <juri@jurta.org>
15203 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15204 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15205 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15207 2011-09-09 Alan Mackenzie <acm@muc.de>
15209 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15210 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15212 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15214 Fix for Savannah bug#9392.
15215 * simple.el (mail-encode-mml): New defvar.
15217 * mail/rmail.el (mail-encode-mml): Add a defvar.
15218 (rmail-enable-mime-composing): Default to t.
15219 (rmail-forward): Use MIME method of forwarding only if both
15220 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15221 Set mail-encode-mml non-nil if the MIME method was used.
15223 * mail/sendmail.el (mml-to-mime): Add autoload form.
15224 (mail-encode-mml): Add a defvar.
15225 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15227 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15228 message through mml-to-mime, and reset mail-encode-mml to nil.
15230 2011-09-09 Glenn Morris <rgm@gnu.org>
15232 * woman.el (woman-if-body): When processing an .el block,
15233 do not delete the next .el block as well. (Bug#9447)
15234 (woman-special-characters): Add oq, cq, and hy characters.
15236 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15238 * window.el (window-deletable-p): Make sure window is live before
15239 invoking window-prev-buffers.
15241 2011-09-08 Leo Liu <sdl.web@gmail.com>
15243 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15245 2011-09-08 Juri Linkov <juri@jurta.org>
15247 * progmodes/compile.el (compilation-environment): Make it
15248 a defcustom (bug#8340).
15250 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15252 * window.el (frame-auto-delete): Rename to window-auto-delete.
15253 Make it control auto-deletion of windows and/or frames.
15254 (window-deletable-p): New argument FORCE. Rewrite conditions
15255 for deleting window/frame. (Bug#9419)
15256 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15257 Rewrite handling of case when window/frame can be deleted.
15258 (delete-windows-on): Call window-deletable-p with new FORCE
15259 argument t. (Bug#9456)
15261 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15263 * help-mode.el (help-mode): Restore autoload.
15265 2011-09-07 Juri Linkov <juri@jurta.org>
15267 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15268 `compilation-environment'. Set buffer-local
15269 `compilation-environment' to `thisenv' later after (funcall mode).
15272 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15273 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15274 instead of replacing its value. (Bug#8340)
15276 2011-09-07 Juri Linkov <juri@jurta.org>
15278 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15279 based on text properties put by `grep-filter' instead of matching
15281 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15282 to the value of `grep-error-screen-columns' (bug#9438).
15284 2011-09-07 Juri Linkov <juri@jurta.org>
15286 * simple.el (next-error-highlight, next-error-highlight-no-select):
15287 Doc fix (bug#9432).
15289 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15291 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15292 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15294 2011-09-07 Leo Liu <sdl.web@gmail.com>
15296 * net/rcirc.el (rcirc-mode): Conditionally initialize
15299 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15301 * emacs-lisp/find-func.el (find-function-C-source): Only set
15302 find-function-C-source-directory after checking that we found a source
15303 file there (bug#9440).
15305 2011-09-06 Alan Mackenzie <acm@muc.de>
15307 * isearch.el (isearch-other-meta-char): Wherever a key list is
15308 unread, "unread" the prefix arg, too. This fixes bug #8901.
15310 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15312 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15314 2011-09-05 Juri Linkov <juri@jurta.org>
15316 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15318 2011-09-05 Juri Linkov <juri@jurta.org>
15320 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15321 keeping point where processing of grep matches begins, and
15322 continue to delete remaining escape sequences from the same point.
15323 (grep-filter): Make leading zero optional in "0?1;31m" because
15324 git-grep emits "\033[1;31m" escape sequences unlike expected
15325 "\033[01;31m" as GNU Grep does (bug#9408).
15326 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15328 2011-09-05 Juri Linkov <juri@jurta.org>
15330 * subr.el (y-or-n-p): Capitalize "yes".
15332 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15334 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15335 `tramp-cache-unload-hook' where appropriate.
15336 (tramp-methods): Rename `tramp-remote-sh' to
15337 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15338 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15340 * net/tramp-sh.el (top): Don't require 'shell.
15341 (tramp-methods): Add `tramp-remote-shell' and
15342 `tramp-remote-shell-args' entries.
15343 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15344 (tramp-sh-handle-shell-command): Remove.
15345 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15346 Use `tramp-remote-shell'.
15348 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15350 * mail/sendmail.el (sendmail-query-once-function): Delete.
15351 (sendmail-query-once): Save directly to send-mail-function.
15352 Update message-send-mail-function too.
15354 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15356 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15358 * progmodes/python.el (python-mode-map): Use correct function to
15359 start python interpreter from menu-bar (as reported by Geert
15361 (inferior-python-mode-map): Fix typo.
15362 (python-shell-map): Remove.
15364 2011-09-03 Deniz Dogan <deniz@dogan.se>
15366 * net/rcirc.el (rcirc-print): Simplify code for
15367 rcirc-scroll-show-maximum-output. There is no need to walk
15368 through all windows to find the right one.
15370 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15372 * help.el (help-return-method): Doc fix.
15374 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15376 * window.el (window-deletable-p): Don't return a non-nil value
15377 when there's a buffer that was shown in the window before.
15379 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15380 Set window's previous buffers to nil.
15382 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15384 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15385 newline before and after the tag line, so it doesn't interfere
15386 with determining the paragraph direction of bidirectional text.
15388 2011-09-03 Leo Liu <sdl.web@gmail.com>
15390 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15392 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15394 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15395 (pop-to-buffer): Change interactive spec. Pass second argument
15396 directly to display-buffer.
15397 (display-buffer): Fix interactive spec. Use functionp to
15398 distinguish between a function and a list of functions.
15400 * abbrev.el (edit-abbrevs):
15401 * arc-mode.el (archive-extract):
15402 * autoinsert.el (auto-insert):
15403 * bookmark.el (bookmark-bmenu-list):
15404 * files.el (find-file):
15405 * view.el (view-buffer):
15406 * progmodes/compile.el (compilation-goto-locus):
15407 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15409 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15411 * window.el (display-buffer-alist): Doc fix.
15412 (display-buffer): Add docstring. Don't treat
15413 display-buffer-default specially.
15414 (display-buffer-reuse-selected-window)
15415 (display-buffer-same-window, display-buffer-maybe-same-window)
15416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15417 (display-buffer-pop-up-window)
15418 (display-buffer-reuse-or-pop-window)
15419 (display-buffer-use-some-window): New functions.
15420 (display-buffer-default-action): Use them.
15421 (display-buffer-default): Delete.
15422 (pop-to-buffer-1): Fix choice of actions.
15424 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15426 * minibuffer.el (completion--insert-strings): Don't get confused by
15427 completion entries that end with an LF char.
15429 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15431 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15433 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15435 * window.el (display-buffer): Restore interactive spec.
15436 (display-buffer-same-window, display-buffer-other-window):
15438 (pop-to-buffer-1): New function. Use the above.
15439 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15440 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15442 * view.el (view-buffer-other-window, view-buffer-other-frame):
15443 Just use pop-to-buffer.
15445 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15447 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15449 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15451 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15453 2011-08-31 Richard Stallman <rms@gnu.org>
15455 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15456 of the separation of rmail-view-buffer from rmail-buffer.
15457 If you say no to "replace original", the decrypt is in the
15458 view buffer. If you say yes, the decrypt goes into the
15461 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15463 * window.el (display-buffer-window): Rewrite doc-string.
15464 (display-buffer-record-window): New function.
15465 (display-buffer-macro-specifiers)
15466 (display-buffer-even-window-sizes, display-buffer-set-height)
15467 (display-buffer-set-width, display-buffer-in-window)
15468 (display-buffer-reuse-window, display-buffer-split-specifiers)
15469 (display-buffer-side-specifiers, display-buffer-split-window-1)
15470 (display-buffer-split-window, display-buffer-split-atom-window)
15471 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15472 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15473 (display-buffer-other-window-means-other-frame)
15474 (display-buffer-normalize-special)
15475 (display-buffer-normalize-default)
15476 (display-buffer-normalize-argument)
15477 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15478 (display-buffer-normalize-specifiers, display-buffer-frame)
15479 (display-buffer-same-window, display-buffer-same-frame)
15480 (display-buffer-other-window)
15481 (display-buffer-same-frame-other-window)
15482 (display-buffer-other-frame, pop-to-buffer-same-window)
15483 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15484 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15485 (switch-to-buffer-same-frame)
15486 (switch-to-buffer-other-window-same-frame)
15487 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15488 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15489 (display-buffer-alist-set): Remove.
15490 (display-buffer-function, special-display-buffer-names)
15491 (special-display-regexps, special-display-function):
15492 In doc-string refer to display-buffer-window and quit-restore
15494 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15495 (special-display-frame-alist, special-display-popup-frame)
15496 (same-window-buffer-names, same-window-regexps, same-window-p)
15497 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15498 (split-window-preferred-function, split-height-threshold)
15499 (split-width-threshold, window-splittable-p)
15500 (split-window-sensibly, window--try-to-split-window)
15501 (window--frame-usable-p, even-window-heights)
15502 (window--even-window-heights, window--display-buffer-1)
15503 (window--display-buffer-2, display-buffer-other-frame):
15504 Restore old Emacs 23 code, order and doc-strings where applicable.
15505 (display-buffer-default, display-buffer-assq-regexp): New functions.
15506 (display-buffer-alist): Rewrite doc-string.
15507 (display-buffer-default-action)
15508 (display-buffer-overriding-action): New variables.
15509 (display-buffer, switch-to-buffer): Rewrite.
15510 (pop-to-buffer): Restore Emacs 23 behavior but use
15511 window-normalize-buffer-to-display.
15512 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15513 Restore Emacs 23 behavior but use
15514 window-normalize-buffer-to-switch-to.
15515 (pop-to-buffer-same-window): Rewrite.
15516 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15517 Rewrite using Emacs 23 options.
15519 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15521 * net/tramp.el (tramp-root-regexp): Remove.
15522 (tramp-completion-file-name-regexp-unified)
15523 (tramp-completion-file-name-regexp-separate)
15524 (tramp-completion-file-name-regexp-url): Don't use leading volume
15525 letter on w32 systems. (Bug#5303, Bug#9311)
15526 (tramp-drop-volume-letter): Simplify definition.
15527 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15529 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15531 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15534 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15536 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15538 2011-08-29 Juri Linkov <juri@jurta.org>
15540 * isearch.el (isearch-done): Don't display message "Mark saved"
15541 when arg `edit' is non-nil to prevent its flicker in the echo area.
15543 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15545 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15546 obsolete packages for deletion.
15548 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15550 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15551 (help-mode): Derive help-mode from special-mode. Don't invoke
15552 view-mode from help-mode.
15553 (help-xref-override-view-map): Remove.
15554 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15555 view-mode is not used anymore.
15557 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15559 * server.el (server-port): Doc fix.
15561 * cus-theme.el (custom-theme-choose-mode): Inherit from
15562 special-mode (Bug#9124).
15563 (custom-theme-choose-mode-map): Add special-mode to parent.
15565 2011-08-28 Alan Mackenzie <acm@muc.de>
15567 * progmodes/cc-fonts.el
15568 (c-make-font-lock-BO-decl-search-function): New function.
15569 (c-basic-matchers-after - "Fontify the clauses after various
15570 keywords"): Extract the three keyword lists for the 3 erroneous
15571 constructs from the list of four, and use the new function above
15572 in place of an old one.
15574 2011-08-28 Deniz Dogan <deniz@dogan.se>
15576 * net/rcirc.el (rcirc-insert-prev-input)
15577 (rcirc-insert-next-input): Remove unused argument.
15579 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15581 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15583 2011-08-27 Alan Mackenzie <acm@muc.de>
15585 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15586 handle function pointer parameters properly.
15588 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15590 * window.el (display-buffer-reuse-window): Fix case where
15591 selected window was reused with non-nil OTHER-WINDOW argument.
15594 2011-08-27 Deniz Dogan <deniz@dogan.se>
15596 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15597 oftc's NickServ messages.
15599 2011-08-27 Glenn Morris <rgm@gnu.org>
15601 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15603 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15605 * emacs-lisp/package.el (package-install): Call package-initialize
15606 if called interactively.
15608 2011-08-26 Leo Liu <sdl.web@gmail.com>
15610 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15612 2011-08-25 Juri Linkov <juri@jurta.org>
15614 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15615 `search-whitespace-regexp' (bug#9364).
15617 2011-08-25 Juri Linkov <juri@jurta.org>
15619 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15620 `regexp-search-ring' to their global values to protect from
15621 updating by `read-from-minibuffer' (bug#9185).
15623 2011-08-25 Juri Linkov <juri@jurta.org>
15625 * textmodes/ispell.el (ispell-command-loop): Add newline
15626 at the end of the "Use option `i'..." line.
15628 2011-08-25 Juri Linkov <juri@jurta.org>
15630 * battery.el (display-battery-mode): If `battery-status-function'
15631 or `battery-mode-line-format' is nil, display the message and set
15632 `display-battery-mode' to nil (bug#9363).
15634 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15636 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15637 bidi-string-mark-left-to-right; they are unnecessary now.
15639 2011-08-25 Deniz Dogan <deniz@dogan.se>
15641 * net/quickurl.el: Documentation typo fixes.
15643 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15645 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15647 2011-08-25 Glenn Morris <rgm@gnu.org>
15649 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15651 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15652 (smtpmail-via-smtp): Handle nil response from smtp.
15654 2011-08-24 Juri Linkov <juri@jurta.org>
15656 * proced.el (proced-marked): Inherit from `error' instead of
15657 `font-lock-warning-face'.
15659 * ibuffer.el (ibuffer-marked-face): Change default face from
15660 `font-lock-warning-face' to `warning'.
15661 (ibuffer-deletion-face): Change default face from
15662 `font-lock-type-face' to `error'.
15664 * battery.el (battery-update): Use the face `error' instead of
15665 `font-lock-warning-face' (bug#6117).
15667 2011-08-24 Juri Linkov <juri@jurta.org>
15669 * faces.el (success): Change face color from "Green3" to
15670 "ForestGreen" on light background (bug#9353).
15672 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15674 * window.el (quit-window): Rename from quit-restore-window.
15675 Use same arglist as old quit-window.
15676 (frame-auto-delete): Doc fix.
15678 * view.el (view-mode-exit): Use quit-window.
15680 2011-08-24 Juri Linkov <juri@jurta.org>
15682 * isearch.el (isearch-ring-adjust1): Start visiting previous
15683 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15684 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15685 for empty search string (when the last search string is reused
15686 automatically) to adjust the isearch ring to the last element and
15687 prepare the correct index for further M-p commands (bug#9185).
15689 2011-08-24 Kenichi Handa <handa@m17n.org>
15691 * international/ucs-normalize.el: If decomposition property of
15692 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15694 (nfd, nfkd): Likewise.
15696 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15698 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15699 from process filters aren't reliably transmitted to the surrounding
15700 accept-process-output.
15701 (mpc-proc-check): New function.
15702 (mpc-proc-sync): Use it (bug#8293)
15704 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15706 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15707 Add compatibility functions (bug#9313).
15709 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15711 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15713 * international/uni-bidi.el: Regenerate.
15715 2011-08-23 Kenichi Handa <handa@m17n.org>
15717 * international/charprop.el:
15718 * international/uni-bidi.el:
15719 * international/uni-category.el:
15720 * international/uni-combining.el:
15721 * international/uni-comment.el:
15722 * international/uni-decimal.el:
15723 * international/uni-decomposition.el:
15724 * international/uni-digit.el:
15725 * international/uni-lowercase.el:
15726 * international/uni-mirrored.el:
15727 * international/uni-name.el:
15728 * international/uni-numeric.el:
15729 * international/uni-old-name.el:
15730 * international/uni-titlecase.el:
15731 * international/uni-uppercase.el: Regenerate.
15733 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15735 * help.el (help-window-setup): Fix message displayed when other
15736 window is reused. (Bug#9341)
15738 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15740 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15741 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15743 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15745 * shell.el (shell-parse-pcomplete-arguments): New function.
15746 (shell-completion-vars): Use it instead (bug#9160).
15748 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15750 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15751 strings and comments (bug#9333).
15753 * emacs-lisp/debug.el (debug-arglist): New function.
15754 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15755 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15757 2011-08-22 Juri Linkov <juri@jurta.org>
15759 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15760 Revert regexp that highlights output switches to its old
15761 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15763 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15764 to check for empty output (bug#9226).
15766 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15768 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15769 symbol-constituent as the default, as that stops font-lock from
15770 working properly (Bug#8843).
15772 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15774 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15775 `coding-system-for-*' around the process open call to avoid
15776 auth-source side effects.
15777 (smtpmail-try-auth-methods): Expand the secret password.
15778 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15781 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15783 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15785 * emacs-lisp/find-func.el (find-function-noselect): New arg
15788 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15789 signal an error for built-in functions (Bug#6664).
15791 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15793 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15794 (smtpmail-try-auth-methods): Use it.
15796 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15798 * font-lock.el (font-lock-fontify-region)
15799 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15800 (font-lock-default-unfontify-buffer)
15801 (font-lock-default-fontify-region)
15802 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15804 * progmodes/compile.el (compilation-error-properties):
15805 Fix confusion between file struct and message struct (Bug#9319).
15806 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15809 * net/browse-url.el (browse-url-firefox): Don't call
15810 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15812 2011-08-20 Glenn Morris <rgm@gnu.org>
15814 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15816 * tutorial.el (tutorial--default-keys): Update some default bindings.
15818 * files.el (hack-local-variables): Fully ignore case for "mode:".
15820 2011-08-20 Alan Mackenzie <acm@muc.de>
15822 Resolve invalid use of a regexp in regexp-opt.
15824 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15825 detection for a java annotation.
15827 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15828 detection for a java annotation.
15830 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15832 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15834 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15836 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15839 2011-08-20 Alan Mackenzie <acm@muc.de>
15841 Fontify CPP expressions correctly when starting in the middle of
15842 such a construct. Mainly for when jit-lock etc. starts a chunk
15845 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15847 (c-make-font-lock-search-form): New function, extracted from
15848 c-make-font-lock-search-function.
15849 (c-make-font-lock-search-function): Use the above function.
15850 (c-make-font-lock-context-search-function): New function.
15851 (c-cpp-matchers): Enhance the preprocessor expression case with
15853 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15854 which takes an expression.
15856 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15858 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15860 * window.el (display-buffer-reuse-window)
15861 (display-buffer-pop-up-window): Don't reuse or split a side
15864 2011-08-19 Glenn Morris <rgm@gnu.org>
15866 * files.el (hack-local-variables-prop-line, hack-local-variables):
15867 Downcase "Mode:". (Bug#9331)
15869 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15871 * international/characters.el: Add L and R categories.
15873 * subr.el (bidi-string-mark-left-to-right): Rename from
15874 string-mark-left-to-right. Use category search.
15876 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15878 2011-08-18 Juri Linkov <juri@jurta.org>
15880 * faces.el (error, warning, success): New faces with definitions
15881 copied from old default values of `font-lock-warning-face',
15882 `compilation-warning', `compilation-info' (bug#6117).
15884 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15886 * progmodes/compile.el (compilation-error): Inherit from `error'.
15887 (compilation-warning): Inherit from `warning'.
15888 (compilation-info): Inherit from `success'.
15890 * dired.el (dired-marked): Inherit from `warning'.
15891 (dired-flagged): Inherit from `error'.
15893 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15895 * mail/smtpmail.el (auth-source): Require to avoid problems with
15896 binding variables (bug#9298). Also clean up some unused
15899 * net/network-stream.el (network-stream-open-starttls):
15900 Support using starttls.el without using gnutls-cli.
15902 2011-08-17 Juri Linkov <juri@jurta.org>
15904 * progmodes/grep.el (rgrep): Handle the case when
15905 `grep-find-command' is a cons cell (bug#9278).
15907 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15909 * window.el (display-buffer-pop-up-frame): Run frame creation
15910 function with BUFFER current (as special-display-popup-frame
15911 does). Reported by Drew Adams.
15913 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15915 * epa-mail.el: Simplify GnuPG group expansion using
15917 (epa-mail-group-alist, epa-mail-group-modtime)
15918 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15919 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15920 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15923 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15925 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15927 2011-08-16 Alan Mackenzie <acm@muc.de>
15929 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15930 Correct, to avoid the inside of macros.
15932 2011-08-16 Richard Stallman <rms@gnu.org>
15934 * epa-mail.el: Handle GnuPG group definitions.
15935 (epa-mail-group-alist, epa-mail-group-modtime)
15936 (epa-mail-gnupg-conf-file): New variables.
15937 (epa-mail-parse-groups, epa-mail-sync-groups)
15938 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15939 (epa-mail-expand-recipients): New functions.
15940 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15942 * mail/rmail.el (rmail-epa-decrypt): New command.
15944 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15945 Don't bind buffer-read-only, just inhibit-read-only.
15946 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15947 (epa-decrypt-armor-in-region): Make error message clearer.
15949 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15951 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15952 and "a2b" to "ab" for `prefix'.
15954 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15956 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15958 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15959 Fourquet (Bug#8804).
15961 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15963 * startup.el (argi): Declare as global variable (bug#9275).
15965 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15967 * subr.el (string-mark-left-to-right): Search the entire string
15968 for RTL script, not just the terminating character. Doc fix.
15970 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15972 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15974 (js--regexp-literal, js-syntax-propertize-function): Remove.
15975 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15976 (js-mode-map): Don't rebind electric keys.
15977 (js-insert-and-indent): Remove.
15978 (js-mode): Setup electric-layout and electric-indent instead.
15980 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15982 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15984 * epa.el (epa-progress-callback-function): Fix the logic of
15985 displaying progress.
15986 * epa-file.el (epa-file-insert-file-contents): Make progress
15987 display more user-friendly.
15988 (epa-file-write-region): Ditto.
15990 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15992 * subr.el (string-mark-left-to-right): New function.
15994 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15995 Use string-mark-left-to-right.
15996 (list-buffers-noselect): Caller changed.
15998 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15999 Use string-mark-left-to-right.
16000 (tabulated-list-print): Recenter after moving point.
16002 2011-08-10 Juri Linkov <juri@jurta.org>
16004 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16005 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16006 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16008 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16010 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16013 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16015 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16016 character. (Bug#6594)
16018 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16020 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16021 (image-dired--with-db-file): New macro.
16022 (image-dired-write-tags, image-dired-remove-tag)
16023 (image-dired-create-gallery-lists, image-dired-write-comments)
16024 (image-dired-get-comment, image-dired-mark-tagged-files)
16025 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16026 (image-dired-gallery-generate): Use insert-file-contents.
16028 * time.el (display-time-world-list, display-time-world-display):
16029 * time-stamp.el (time-stamp-string):
16030 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16031 set-time-zone-rule (Bug#7337).
16033 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16035 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16036 (epg-error-to-string, epg-errors-to-string): New function.
16037 (epg-wait-for-completion): Reverse errors list.
16038 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16039 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16040 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16041 (epg-sign-keys, epg-generate-key-from-file)
16042 (epg-generate-key-from-string): Format errors by using
16043 epg-errors-to-string (bug#9255).
16044 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16046 2011-08-07 Juri Linkov <juri@jurta.org>
16048 * faces.el (list-faces-display): Remove extra angle bracket
16049 from `help-mode-map'.
16051 * info.el (Info-history-toc-nodes): Doc fix.
16053 * longlines.el (longlines-mode): Doc fix.
16055 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16057 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16058 of statements and in a few more cases (bug#9183).
16060 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16062 (cl-transform-lambda): Use them (bug#9239).
16064 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16066 * window.el (display-buffer-same-window)
16067 (display-buffer-same-frame, display-buffer-other-window)
16068 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16069 (pop-to-buffer-other-window)
16070 (pop-to-buffer-same-frame-other-window)
16071 (pop-to-buffer-other-frame): Make them defuns.
16072 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16074 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16076 * subr.el (make-composed-keymap): Move from C. Change calling
16077 convention, and improve docstring to bring attention to a subtle point.
16078 * minibuffer.el (completing-read-default): Adjust accordingly.
16080 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16082 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16083 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16085 * net/trampver.el: Update release number.
16087 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16089 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16092 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16094 * mail/sendmail.el (sendmail-query-once): Restore the current
16095 buffer after querying (bug#9074).
16097 * dired.el (dired-flagged): Use different faces for marked and
16098 flagged files (bug#6117).
16100 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16103 * ido.el (ido-mode): Switch off the message if called
16106 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16107 before 587, since it appears that that's more likely to work for
16110 * cus-edit.el (custom-file): When running under emacs -q, always
16111 refuse to save the customizations, even if the .emacs file doesn't
16114 * info.el: Remove the `Info-beginning-of-buffer' function
16117 * net/network-stream.el (network-stream-open-starttls):
16118 Use `starttls-available-p' to see whether starttls.el can be used.
16120 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16122 * window.el (display-buffer-in-window): Don't set dedicated status
16123 of window here (Bug#9215).
16124 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16125 (display-buffer-pop-up-side-window)
16126 (display-buffer-in-side-window): Set dedicated status of window here.
16128 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16130 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16131 before binding generated-autoload-file.
16133 2011-08-01 Deniz Dogan <deniz@dogan.se>
16135 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16137 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16139 Sync with Tramp 2.2.2.
16141 * net/trampver.el: Update release number.
16143 2011-07-30 Juri Linkov <juri@jurta.org>
16145 * dired-aux.el (dired-touch-initial): Remove function.
16146 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16147 current time, and `default' to the last modification time of the
16148 current marked file (bug#6887).
16150 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16152 * simple.el (goto-line): Use string-to-number to provide a
16153 numeric argument to read-number (bug#9163).
16155 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16157 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16158 connection process, it could be nil.
16160 2011-07-27 Leo Liu <sdl.web@gmail.com>
16162 Simplify url handling in rcirc-mode.
16164 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16165 (rcirc-browse-url-at-mouse): Remove.
16166 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16168 2011-07-26 Alan Mackenzie <acm@muc.de>
16170 Fontify bitfield declarations properly.
16172 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16173 (c-symbol-chars): Now exported as a lang variable.
16174 (c-not-primitive-type-keywords): New lang variable.
16176 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16177 QT keyword "more" to prevent "more slots: ...." being spuriously
16178 parsed as a bitfield declaration.
16180 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16181 Refactor and enhance to handle bitfield declarations.
16182 (c-punctuation-in): New function.
16183 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16184 declarations properly.
16186 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16188 * calendar/icalendar.el (icalendar--all-events): Take care of
16189 multiple vcalendars in a single file.
16190 (icalendar--convert-float-to-ical): Checkdoc fixes.
16192 2011-07-25 Deniz Dogan <deniz@dogan.se>
16194 * image.el (insert-image): Clarifying docstring.
16196 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16198 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16199 `tramp-send-command-and-check' if there is no error.
16200 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16202 2011-07-22 Alan Mackenzie <acm@muc.de>
16204 Prevent cc-langs.elc being loaded at run time.
16206 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16209 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16210 "(require 'cc-langs)". Quote a form so it will evaluate at
16211 (cc-mode's) compilation time.
16213 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16215 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16216 loading. (Bug#9114)
16218 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16220 * window.el (display-buffer-pop-up-window)
16221 (display-buffer-pop-up-side-window)
16222 (display-buffer-in-side-window): Call display-buffer-set-height
16223 and display-buffer-set-width after setting the new window's
16224 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16226 2011-07-20 Sam Steingold <sds@gnu.org>
16228 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16229 (etags-tags-included-tables): Call `convert-standard-filename' on
16230 the file names contained in TAGS so that windows Emacs can handle
16231 TAGS files created by cygwin ctags.
16233 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16235 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16236 which apparently didn't work.
16238 2011-07-19 Roland Winkler <winkler@gnu.org>
16240 * proced.el (proced-send-signal): For *Marked Processes* buffer
16241 put point at beginning of buffer.
16243 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16245 * proced.el (proced-format): Make header lines align with the text
16248 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16250 * view.el (view-buffer): Allow running in `special' modes if we're
16251 visiting a file (bug#8615).
16253 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16255 * window.el (display-buffer-alist-of-strings-p)
16256 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16258 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16261 2011-07-18 Alan Mackenzie <acm@muc.de>
16263 Fontify declarators properly when, e.g., a jit-lock chunk begins
16264 inside a declaration.
16266 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16268 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16270 (c-complex-decl-matchers): Insert reference to
16271 c-font-lock-enclosing-decls.
16273 * progmodes/cc-engine.el (c-backward-single-comment):
16274 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16275 to nil around calls to (forward-comment -1).
16277 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16279 * image.el (put-image): Doc typo fix.
16281 * progmodes/etags.el (tags-search): Doc typo fix.
16283 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16284 password if we get errors 550 to 554.
16286 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16288 * net/gnutls.el (gnutls-log-level): Remove.
16290 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16291 indentation character (bug#6380).
16293 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16295 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16296 to clarify what the problem is (bug#4291).
16298 * simple.el (current-kill): Clarify what
16299 `interprogram-paste-function' does (bug#7500).
16300 (auto-fill-mode): Document `auto-fill-function' in relation to
16301 `auto-fill-mode' (bug#2470).
16303 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16305 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16306 method if slot is read-only (bug#9035).
16308 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16310 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16311 * window.el (pop-to-buffer): Select window used even if it was
16312 selected before, see discussion of (Bug#8615), (Bug#6954).
16313 Pass argument NORECORD on to select-frame-set-input-focus.
16315 2011-07-15 Glenn Morris <rgm@gnu.org>
16317 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16320 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16322 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16323 (gnutls-negotiate): Use it.
16325 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16327 * net/gnutls.el (gnutls-negotiate):
16328 Upcase `gnutls-algorithm-priority'.
16330 2011-07-15 Glenn Morris <rgm@gnu.org>
16332 * jka-compr.el (jka-compr-verbose): Move from here...
16333 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16334 Add missing :version tag.
16335 * info.el: No need to require jka-compr when compiling.
16337 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16339 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16340 (gnutls-negotiate): Use it.
16342 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16344 * info.el (Info-beginning-of-buffer): New command.
16345 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16346 announcing `b' as the key (bug#8325).
16347 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16349 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16351 * international/mule-cmds.el
16352 (describe-specified-language-support): Make the error message
16353 clearer (bug#8905).
16355 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16357 * isearch.el (isearch-barrier): Add a doc string, since it's
16358 mentioned in a function doc string (bug#8678).
16360 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16362 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16363 buffer argument (Bug#9083) and self-identifying label argument.
16365 2011-07-15 Glenn Morris <rgm@gnu.org>
16367 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16369 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371 * man.el (Man-fontify-manpage): Fix message when formatting the
16372 man page (bug#7929).
16374 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16376 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16377 argument LRM; if non-nil, append an invisible LRM character to the
16379 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16380 last argument non-nil, when formatting buffer names.
16381 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16382 paragraph direction.
16384 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16386 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16387 the man page name (bug#7929).
16389 * image.el (put-image): Mention the `put-image' overlay property
16392 * scroll-bar.el (set-scroll-bar-mode): Mention that
16393 `scroll-bar-mode' lists the values (bug#7772).
16395 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16396 command (bug#7729).
16398 * rect.el (apply-on-rectangle): Return the point after the last
16400 (string-rectangle): Go to the point after the last operation
16403 * printing.el (pr-toggle-region): Clarify the documentation
16404 slightly (bug#7493).
16406 * time.el (display-time-update):
16407 Allow `display-time-mail-function' to return nil (bug#7158).
16408 Fix suggested by Detlev Zundel.
16410 * vc/diff.el (diff): Clarify the order the file names are read
16413 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16414 the doc string (bug#7015).
16416 * font-lock.el (font-lock-maximum-decoration): Mention what
16417 numeric levels mean (bug#6935).
16419 * startup.el (initial-buffer-choice): Don't mention the `none'
16420 selection, which is against policy.
16422 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16424 * window.el (display-buffer-normalize-special):
16425 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16427 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16429 * subr.el (version<, version<=, version=): Mention "-CVS" and
16430 "-12345" alpha version numbers.
16432 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16434 * bindings.el: Add advertised binding for set-mark-command
16437 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16439 * bindings.el (mode-line-other-buffer):
16440 * bookmark.el (bookmark-bmenu-2-window):
16441 * bs.el (bs-cycle-next, bs-cycle-previous):
16442 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16445 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16448 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16450 * follow.el (follow-debug-message, follow-redisplay):
16451 * jka-cmpr-hook.el (with-auto-compression-mode):
16452 Fix typos in docstrings.
16454 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16456 * subr.el (with-silent-modifications): Clarify somewhat what the
16457 macro inhibits (bug#6525).
16459 * simple.el (eval-expression): Note what it does if called
16460 interactively (bug#6495).
16462 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16464 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16465 Use pop-to-buffer buffer-or-name if it is nil.
16467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16468 Remove switch-to-buffer.
16470 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16472 * files.el (make-directory): Clarify that an error will be raised
16473 if there's an error (bug#6397).
16475 * startup.el (initial-buffer-choice): Add `none' as a choice
16478 * subr.el (add-hook): Clarify section about buffer-local hooks
16481 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16483 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16485 * tabify.el (untabify): Preserve the current column so that point
16486 doesn't move (bug#6032).
16488 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16490 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16491 Rewrite to avoid awkward possessive "s" (bug#5986).
16493 2011-07-13 Glenn Morris <rgm@gnu.org>
16495 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16496 (dired-insert-directory): Give a message the first time
16497 if ls is found not to support --dired.
16499 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16501 * simple.el (toggle-truncate-lines): Clarify what is toggled
16502 (bug#5580). Text by Drew Adams.
16504 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16506 * simple.el (blink-matching-open): Make the error message from the
16507 last change less verbose.
16509 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16511 * font-lock.el (font-lock-comment-face): Use the high contrast
16512 "yellow" color for font-lock-comment-face on low color terminals
16513 using a dark background color (bug#4221).
16515 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16517 * dired.el (dired-insert-set-properties): Make the doc string
16518 reflect what it does now (bug#5325).
16520 * simple.el (blink-matching-open): Say that we were unable to find
16521 the match within the limit, if we're limited (bug#5122).
16523 * international/mule-cmds.el (prefer-coding-system): Add an
16524 example (bug#4869).
16526 * progmodes/etags.el (tags-search): Document `file-list-form'
16529 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16531 * net/browse-url.el (browse-url-default-browser)
16532 (browse-url-browser-function): Make the default browser choice a
16533 bit more logical (bug#4300). Also clean up the doc string.
16535 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16537 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16538 binary endings (bug#4440).
16540 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16542 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16543 which can be pretty annoying (bug#8971).
16545 * jka-compr.el (jka-compr-verbose): New variable, and use
16546 throughout (bug#8971).
16548 * info.el (Info-find-file): Fall back on the installation
16549 directory if we can't find the info node anywhere else.
16551 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16553 * vc/vc.el (vc-revert-file):
16554 Don't set file time-stamp in the past. (Bug#5181)
16556 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16558 * files.el (after-find-file): Give a better error message when
16559 trying to find a symlink that points to a file that doesn't exist
16562 * progmodes/cc-vars.el: Remove (probably) misleading comment
16565 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16567 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16569 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16571 * mouse-sel.el: Hack restoring functionality, while keeping
16572 compatibility with 2010-07-03 changes to mouse selection.
16573 (mouse-sel-primary-overlay): New var.
16574 (mouse-sel-selection-alist): Use it.
16575 (mouse-sel-mode): Doc fix; remove points that are default features
16578 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16580 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16581 Fix previous fix (bug#2490).
16583 2011-07-12 Roland Winkler <winkler@gnu.org>
16585 * textmodes/bibtex.el (bibtex-initialize):
16586 Use pop-to-buffer-same-window.
16587 (bibtex-search-entries): Fix interactive call.
16589 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16592 Fontise bytecomp Error lines more correctly (bug#2490).
16593 Fix suggested by Johan Bockgård.
16595 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16597 * dired-x.el (dired-guess-default): Use `delete-dups'.
16599 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16601 * dired.el (dired-mark-prompt):
16602 * dired-aux.el (dired-read-shell-command): Doc fix.
16604 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16606 * mail/sendmail.el (sendmail-query-once):
16607 Use `customize-save-variable' unconditionally, now that it works under
16610 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16612 * cus-edit.el (custom-file): Take an optional no-error variable.
16613 (customize-save-variable): Set the variable, and give a warning if
16614 running under "emacs -q".
16616 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16618 * loadhist.el (unload-feature-special-hooks):
16619 Add `auto-coding-functions', `fill-nobreak-predicate' and
16620 `find-directory-functions' (bug#5327).
16622 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16624 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16626 * cus-edit.el (custom-guess-name-alist): -alist variables should
16627 use the `alist' type (bug#3120). Suggested by Drew Adams.
16629 * printing.el: Add documentation to all the `pr-toggle-' commands.
16631 2011-07-11 Leo Liu <sdl.web@gmail.com>
16633 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16634 backends where it makes sense (bug#2623).
16636 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16638 * dired-x.el (dired-guess-default): Remove duplicate shell command
16639 entries (bug#2028).
16640 (dired-guess-default): Fix grammar in doc string (bug#2028).
16641 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16643 * subr.el (remove-duplicates): New conveniency function.
16645 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16647 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16650 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16652 * window.el (display-buffer-normalize-default): Don't invert
16653 meaning of even-window-heights. Reported by Eli Zaretskii
16656 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16658 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16660 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16662 * window.el (display-buffer): Fix arguments to
16663 display-buffer-reuse-window in last change.
16665 * faces.el (link): Use a less saturated blue on light backgrounds.
16667 * startup.el (fancy-startup-text, fancy-about-text)
16668 (fancy-startup-tail): Use font-lock faces, for background safety.
16670 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16672 * emulation/viper-cmd.el (viper-change-state-to-vi):
16673 Limit triggering of abbrev expansion (Bug#9038).
16675 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16677 * window.el (display-buffer-default-specifiers): Remove.
16678 (display-buffer-macro-specifiers): Remove default specifiers.
16679 (display-buffer-alist): Default to nil.
16680 (display-buffer-reuse-window): New optional argument other-window.
16681 (display-buffer-pop-up-window): Allow splitting internal
16682 windows. Check whether a live window was created.
16683 (display-buffer-other-window-means-other-frame)
16684 (display-buffer-normalize-arguments): Rename to
16685 display-buffer-normalize-argument and rewrite. Set the
16686 other-window specifier.
16687 (display-buffer-normalize-special): New function.
16688 (display-buffer-normalize-options): Rename to
16689 display-buffer-normalize-default and rewrite.
16690 (display-buffer-normalize-options-inhibit): Remove.
16691 (display-buffer-normalize-specifiers): Rewrite.
16692 (display-buffer): Process other-window specifier and call
16693 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16695 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16696 (display-buffer-alist-set): Don't handle 'unset default values.
16697 (display-buffer-in-window, display-buffer-alist-set):
16698 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16699 <tassilo@member.fsf.org>.
16701 2011-07-09 Leo Liu <sdl.web@gmail.com>
16703 * register.el (insert-register): Restore accidental change on
16704 2011-06-26. (Bug#9028)
16706 2011-07-09 Glenn Morris <rgm@gnu.org>
16708 * subr.el (remq): Handle the empty list. (Bug#9024)
16710 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16712 * mail/sendmail.el (send-mail-function): No longer delay custom
16714 * custom.el (custom-initialize-delay): Doc fix.
16716 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16718 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16720 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16722 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16723 human-friendly prompt.
16725 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16727 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16728 provided by a particular plugin.
16730 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16732 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16733 save customizations (with "emacs -Q"), just set the variable
16734 instead of erroring out.
16736 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16738 2011-07-08 Juri Linkov <juri@jurta.org>
16740 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16741 (archive-zip-update-case): Use 7z if found by `executable-find'.
16742 The order of searching the available programs is the same as in
16743 `archive-zip-extract' (bug#8968).
16745 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16747 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16748 (menu-bar-options-menu): Tweak descriptions.
16750 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16752 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16753 menu items into verb phrases (bug#1421). Also refill to fit under
16756 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16758 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16759 (Info-read-node-name): Doc fix (Bug#1084).
16761 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16762 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16763 (end-of-sexp, beginning-of-sexp)
16764 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16765 (forward-symbol, forward-same-syntax, word-at-point)
16766 (sentence-at-point): Doc fix (Bug#1144).
16768 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16770 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16771 should cover it (bug#1281).
16773 * cus-edit.el (custom-show): Mark as obsolete.
16775 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16776 negotiation fails, then possibly try again with a non-encrypted
16777 connection (bug#9017).
16779 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16782 2011-07-07 Richard Stallman <rms@gnu.org>
16784 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16785 property, and handle its changed format.
16786 Look for the correct line number.
16787 Use file's line contents (but not past first =) to find
16788 correct line in message.
16790 2011-07-07 Kenichi Handa <handa@m17n.org>
16792 * international/characters.el (build-unicode-category-table):
16794 (unicode-category-table): Set it by unicode-property-table-internal.
16796 * international/mule-cmds.el (char-code-property-alist): Move to
16798 (get-char-code-property): Call unicode-property-table-internal to
16799 load a file. Call get-unicode-property-internal where necessary.
16800 (put-char-code-property): Call unicode-property-table-internal to
16801 load a file. Call put-unicode-property-internal where necessary.
16802 put-unicode-property-internal where necessary.
16803 (char-code-property-description):
16804 Call unicode-property-table-internal to load a file.
16806 * international/charprop.el:
16807 * international/uni-bidi.el:
16808 * international/uni-category.el:
16809 * international/uni-combining.el:
16810 * international/uni-comment.el:
16811 * international/uni-decimal.el:
16812 * international/uni-decomposition.el:
16813 * international/uni-digit.el:
16814 * international/uni-lowercase.el:
16815 * international/uni-mirrored.el:
16816 * international/uni-name.el:
16817 * international/uni-numeric.el:
16818 * international/uni-old-name.el:
16819 * international/uni-titlecase.el:
16820 * international/uni-uppercase.el: Regenerate.
16822 * loadup.el: Load international/charprop.el before
16823 international/characters.
16825 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16827 * window.el (next-buffer, previous-buffer): Signal an error if
16828 called from a minibuffer window.
16830 * bindings.el: Revert 2011-07-04 change.
16832 2011-07-06 Richard Stallman <rms@gnu.org>
16834 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16835 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16836 Treat markers like ints.
16837 (rmail-mime-entity): Doc fix.
16839 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16842 defcustom again for backwards compatibility.
16844 * simple.el (shell-command-on-region): Fill.
16846 * dired-aux.el (dired-kill-line): Add a doc string.
16848 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16849 to "\\sw\\|\\s_" (bug#358).
16851 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16852 (dired-unmark-backward): Ditto.
16853 (dired-flag-backup-files): Ditto.
16855 * dired-x.el (dired-mark-sexp): Ditto.
16857 2011-07-06 Richard Stallman <rms@gnu.org>
16859 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16860 (rmail-mime-entity): New arg TRUNCATED.
16861 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16863 (rmail-mime-save): Warn if entity is truncated.
16864 (rmail-mime-toggle-hidden): Likewise, for showing.
16865 (rmail-mime-process-multipart): Record when an entity is truncated.
16867 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16868 if ENTITY is a string.
16870 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16872 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16873 of faces when `M-C-x'-ing their definitions (bug#8378).
16874 Also clean up the code slightly.
16876 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16877 because that makes the colors go away.
16879 * mail/sendmail.el (send-mail-function): Change the default to
16880 `sendmail-query-once'.
16881 (sendmail-query-once): Add an autoload cookie.
16883 * net/network-stream.el (network-stream-open-starttls): Try using
16884 a plain connection even if the server offered STARTTLS, and we
16885 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16886 capability. This should make smtpmail.el work in slightly more
16889 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16891 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16893 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16895 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16897 * progmodes/sql.el: Version 3.0
16898 (sql-product-alist): Add product :completion-object,
16899 :completion-column, and :statement attributes.
16900 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16901 (sql-mode-syntax-table): Mark all punctuation.
16902 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16904 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16905 (sql-mode-oracle-font-lock-keywords): Improve.
16906 (sql-oracle-show-reserved-words): New function for development.
16907 (sql-product-font-lock): Simplify for source code buffers.
16908 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16910 (sql-highlight-product): Set product specific syntax table.
16911 (sql-mode-map): Add statement movement functions.
16912 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16914 (sql-statement-regexp, sql-beginning-of-statement)
16915 (sql-end-of-statement, sql-signum): New functions.
16916 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16917 (sql-show-sqli-buffer): Bug fix.
16918 (sql-interactive-mode): Store connection data as buffer local.
16919 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16920 with sql-interactive-mode.
16921 (sql-save-connection): Save buffer local settings.
16922 (sql-connection-menu-filter): Change menu entry name.
16923 (sql-product-interactive): Bug fix.
16924 (sql-preoutput-hold): New variable.
16925 (sql-interactive-remove-continuation-prompt): Bug fixes.
16926 (sql-debug-redirect): New variable.
16927 (sql-str-literal): New function.
16928 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16930 (sql-oracle-save-settings, sql-oracle-restore-settings)
16931 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16932 (sql-completion-object, sql-completion-column)
16933 (sql-completion-sqlbuf): New variables.
16934 (sql-build-completions-1, sql-build-completions)
16935 (sql-try-completion): New functions.
16936 (sql-read-table-name): Use them.
16937 (sql-contains-names): New buffer local variable.
16938 (sql-list-all, sql-list-table): Use it.
16939 (sql-oracle-completion-types): New variable.
16940 (sql-oracle-completion-object, sql-sqlite-completion-object)
16941 (sql-postgres-completion-object): New functions.
16943 2011-07-06 Glenn Morris <rgm@gnu.org>
16945 * window.el (pop-to-buffer): Doc fix.
16947 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16949 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16951 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16953 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16955 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16957 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16959 * button.el (button): Inherit from link face. Suggested by Dan
16962 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16964 * progmodes/gdb-mi.el: Fit in 80 columns.
16965 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16968 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16969 if imenu is simply not configured (bug#8941).
16971 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16973 * allout.el (allout-post-undo-hook): New allout outline-change
16974 event hook to signal undo activity.
16975 (allout-post-command-business): Run allout-post-undo-hook if an
16976 undo just occurred.
16977 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16978 * allout-widgets.el (allout-widgets-after-undo-function):
16979 Ensure the integrity of the current item's decoration after it has been
16980 in the vicinity of an undo.
16981 (allout-widgets-mode): Include allout-widgets-after-undo-function
16982 on the new allout-post-undo-hook.
16984 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16986 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16987 Let define-derived-mode define it.
16988 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16989 cycles of abbrev-table inheritance (bug#8998).
16991 2011-07-05 Roland Winkler <winkler@gnu.org>
16993 * textmodes/bibtex.el: Add support for biblatex.
16994 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16995 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16996 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16997 (bibtex-entry-alist, bibtex-field-alist): New variables.
16998 (bibtex-entry-field-alist): Obsolete alias for
16999 bibtex-BibTeX-entry-alist.
17000 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17001 (bibtex-set-dialect): New command.
17002 (bibtex-entry-type, bibtex-entry-head)
17003 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17004 Bind via bibtex-set-dialect.
17005 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17006 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17007 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17008 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17009 Define via bibtex-set-dialect.
17010 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17011 Obey bibtex-no-opt-remove-re.
17012 (bibtex-vec-push, bibtex-vec-incr): New functions.
17013 (bibtex-format-entry, bibtex-field-list)
17014 (bibtex-print-help-message, bibtex-validate)
17015 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17017 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17019 * progmodes/compile.el (compilation-goto-locus):
17020 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17021 * bs.el (bs-cycle-next, bs-cycle-previous):
17022 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17023 * bindings.el (mode-line-other-buffer):
17024 * autoinsert.el (auto-insert):
17025 * arc-mode.el (archive-extract):
17026 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17028 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17030 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17031 Fix check of `emacs-lock-unlockable-modes'.
17032 Coerce true values of `emacs-lock--try-unlocking' to t.
17034 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17036 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17037 * emacs-lock.el: New file.
17039 2011-07-05 Julien Danjou <julien@danjou.info>
17041 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17042 than `boundp' to check if face is set.
17044 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17046 * register.el (registerv-make):
17047 * window.el (window-min-height): Fix typos in docstrings.
17049 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17051 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17054 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17056 * server.el (server-execute): Catch quit and call
17057 `server-return-error' to pass the error back to emacsclient and
17058 close the connection (bug#8942).
17060 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17062 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17063 insecure exception for current topic. Also note that auto-saves
17064 are handled differently.
17066 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17067 State variables for tracking auto-save inhibition situation.
17069 (allout-write-contents-hook-handler): Rename from
17070 'allout-write-file-hook-handler', and describe how it depends on
17071 write-contents-functions sensitivity to non-nil value to prevent
17074 (allout-auto-save-hook-handler): Remove. auto-save does not check
17075 this in individual buffers, only in the starting buffer, so this
17076 is not the right way for us to inhibit auto-save in a buffer
17077 according to its condition.
17079 (allout-mode): Use new allout-write-contents-hook-handler, and
17080 only with write-contents-functions. Remove auto-save provisions -
17081 they're implemented elsewhere.
17083 (allout-before-change-handler): If undo is in progress, note that
17084 for attention of allout-post-command-business.
17086 (allout-post-command-business): If the command we're following was
17087 an undo, check for change in the status of encrypted items and
17088 adjust auto-save inhibitions accordingly.
17090 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17091 according to whether there are or aren't any plain-text topics
17092 pending encryption.
17094 (allout-inhibit-auto-save-info-for-decryption):
17095 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17096 if there are plain-text topics pending encryption.
17098 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17099 buffer-saved-size and some allout state to not inhibit auto-saves
17100 if there are no longer any plain-text topics pending encryption.
17102 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17103 No longer provide for exemption of the current topic.
17105 2011-07-04 Juri Linkov <juri@jurta.org>
17107 Add 7z operations to delete and save changed members (bug#8968).
17108 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17110 (archive-7z-write-file-member): New function.
17111 (archive-7z-summarize): Fix the number of dashes in the
17114 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17116 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17119 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17121 * bindings.el: Ignore next-buffer and previous-buffer in
17122 minibuffer-local-map.
17124 * font-lock.el (font-lock-builtin-face): Change light background
17125 color to dark slate blue (Bug#6693).
17127 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17129 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17131 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17133 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17134 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17135 Add switch-to-buffer.
17137 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17139 * isearch.el (isearch-search-fun-function): Clarify further the
17140 meaning of the function returned.
17142 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17144 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17146 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17147 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17149 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17150 `tramp-default-remote-path' does not exist.
17151 (tramp-send-command-and-read): New optional argument NOERROR.
17152 (tramp-open-connection-setup-interactive-shell)
17153 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17154 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17155 (tramp-process-sentinel): Flush also process' connection property.
17156 (tramp-sh-handle-start-file-process): Do not set process
17157 sentinel. It is done now ...
17158 (tramp-maybe-open-connection): ... here. (Bug#8929)
17160 2011-07-04 MON KEY <monkey@sandpframing.com>
17162 * play/animate.el (animate-string): Doc fixes and allow changing
17163 the buffer name (bug#5417).
17165 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17167 * play/animate.el (animation-buffer-name): Rename from *animate*.
17169 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17171 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17172 This is simpler and helps future-proof the code.
17173 (timer-until): Use time-subtract and float-time.
17174 (timer--time-less-p): Use time-less-p.
17176 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17178 * type-break.el (timep): Use the value of `float-time' to avoid a
17179 byte-compiler warning.
17181 * server.el (server-eval-and-print): Return any result, even nil.
17183 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17185 * type-break.el: Accept time formats that the builtins accept.
17186 (timep, type-break-time-difference): Accept any format that
17187 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17188 This is simpler and helps future-proof the code.
17189 (type-break-time-difference): Round rather than ignoring
17190 subseconds components.
17192 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17194 * info.el (Info-apropos-matches): Make non-interactive, since it
17195 doesn't seem to do anything useful as a command (bug#8829).
17197 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17199 * frame.el (frame-background-mode, frame-set-background-mode):
17200 Move from faces.el.
17201 (frame-default-terminal-background): New function.
17203 * custom.el (custom-push-theme): Don't record faces in `changed'
17204 theme; this doesn't work correctly for per-frame face settings.
17205 (disable-theme): Use face-set-after-frame-default to reset faces.
17206 (custom--frame-color-default): New function.
17208 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17210 * dired.el (dired-flagging-regexp): Remove unused variable
17213 2011-03-29 Kevin Ryde <user42@zip.com.au>
17215 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17216 `perl-Test2' extend to match possible "fail #N" rep count
17219 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17221 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17222 `smtpmail-via-smtp' now returns the error instead of nil.
17224 * isearch.el (isearch-search-fun-function): Clarify the doc string
17227 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17229 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17230 unnecessary spaces (bug#8987).
17232 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17234 * net/network-stream.el (open-network-stream): Use the
17235 :end-of-capability command thoughout.
17237 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17239 * net/network-stream.el (open-network-stream): Add the
17240 :end-of-capability command parameter, used by pop3.el.
17242 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17244 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17246 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17247 for list)" (bug#6475).
17249 * files.el (file-expand-wildcards): Ignore non-readable
17250 sub-directories while trying to find matches instead of signaling
17251 an error (bug#6297).
17253 * man.el (Man-reference-regexp): Allow matching possible
17254 word-wrapped references (bug#6289).
17256 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17257 for consistency with the other vc buffers (bug#6197).
17258 (vc-checkin): Ditto.
17260 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17262 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17264 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17266 * custom.el (defcustom): Clarify that :set is only used in the
17267 Customize user interface (bug#6089).
17269 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17270 associated with a file, refuse to run instead of erroring out
17273 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17274 the doc string, since it appears that using `fill-column' always
17275 controls the width (bug#7845).
17277 * simple.el (shell-command-on-region): Say where the error output
17278 went if `shell-command-default-error-buffer' is set (bug#6857).
17280 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17282 * allout.el (allout-yank-processing): Adjust cursor position for
17283 backwards-deleted space.
17285 (allout-rebullet-heading): Register changes with
17286 allout-exposure-changed-hook, so the modified topic is properly
17289 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17291 * minibuffer.el (completion-in-region): Document PREDICATE
17294 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17295 of keyword/argument pairs (bug#6904).
17297 * replace.el (multi-occur):
17298 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17300 2011-07-02 Drew Adams <drew.adams@oracle.com>
17302 * dired.el (dired-mark-if): Make the message about whether it's
17303 marking or unmarking clearer (bug#8523).
17305 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17307 * disp-table.el (display-table-print-array): New function.
17308 (describe-display-table): Use it to print the vectors more pretty
17311 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17313 * window.el (window-state-get-1): Don't assign clone numbers.
17314 Add clone-of item to list of window parameters.
17315 (window-state-put-2): Don't process clone numbers.
17316 (display-buffer-alist): Fix doc-string.
17318 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17320 * subr.el (remq): Don't allocate if it's not needed.
17321 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17322 (keymap--merge-bindings): New functions.
17323 (keymap-canonicalize): Use them to refine the canonicalization.
17324 * minibuffer.el (minibuffer-local-completion-map)
17325 (minibuffer-local-must-match-map): Move initialization from C.
17326 (minibuffer-local-filename-completion-map): Move initialization from C;
17327 don't inherit from anything here.
17328 (minibuffer-local-filename-must-match-map): Make obsolete.
17329 (completing-read-default): Use make-composed-keymap to combine
17330 minibuffer-local-filename-completion-map with either
17331 minibuffer-local-must-match-map or
17332 minibuffer-local-filename-completion-map.
17334 2011-07-01 Glenn Morris <rgm@gnu.org>
17336 * type-break.el (type-break-time-sum): Use dolist.
17338 * textmodes/flyspell.el (flyspell-word-search-backward):
17339 Replace CL function.
17341 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17343 * mouse.el (mouse--strip-first-event): New function.
17344 (function-key-map): Use it to map fringe clicks to normal clicks
17347 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17348 (vc-bzr-revision-completion-table): Add support for annotate and date.
17350 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17351 inherit from parent.
17353 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17355 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17356 (dired-show-file-type): Doc fixup (bug#8818).
17358 * dired.el (dired-mode): Fix up the doc string as suggested by
17359 Drew Adams (bug#8817).
17361 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17362 cookie, since the manual says that it should be possible to add
17363 this function to `find-file-hook' (bug#8709).
17365 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17367 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17368 here. Noted Ted Zlatanov as the maintainer.
17369 (cfengine-common-settings, cfengine-common-syntax): New functions
17370 to set up common things between `cfengine-mode' and
17372 (cfengine3-mode): New mode.
17373 (cfengine3-defuns cfengine3-defuns-regex
17374 (cfengine3-class-selector-regex cfengine3-category-regex)
17375 (cfengine3-vartypes cfengine3-font-lock-keywords)
17376 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17377 (cfengine3-indent-line): Add from cfengine3.el.
17379 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17381 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17385 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17387 * window.el (same-window-buffer-names, same-window-regexps)
17388 (same-window-p, special-display-frame-alist)
17389 (special-display-popup-frame, special-display-function)
17390 (special-display-buffer-names, special-display-regexps)
17391 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17392 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17393 (split-window-preferred-function, split-height-threshold)
17394 (split-width-threshold, even-window-heights)
17395 (display-buffer-mark-dedicated, window-splittable-p)
17396 (split-window-sensibly, window-safely-shrinkable-p):
17398 (display-buffer): Don't spread args with function specifier
17399 because special-display-popup-frame won't like it.
17401 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17403 Time-stamp simplifications and fixes.
17404 These improve accuracy slightly, and future-proof the code
17405 against some potential changes to current-time format.
17407 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17408 by using time-since and float-time.
17410 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17411 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17412 + NNN microseconds".
17414 * type-break.el (type-break-time-sum): Rewrite using time-add.
17416 * play/hanoi.el (hanoi-current-time-float): Remove.
17417 All uses replaced by float-time.
17419 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17420 This yields a more-accurate answer.
17421 (rng-time-to-float): Remove; no longer needed.
17423 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17425 * calendar/timeclock.el (timeclock-seconds-to-time):
17426 Defalias to seconds-to-time, since they're the same thing.
17428 * emacs-lisp/elp.el (elp-elapsed-time):
17429 * emacs-lisp/benchmark.el (benchmark-elapse):
17430 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17432 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17434 * window.el (bury-buffer): Don't iconify the only frame.
17435 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17436 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17438 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17440 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17441 Add mouse-yank-primary.
17443 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17445 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17447 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17449 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17450 (find-library-name): Use it to find relative load names when provided
17451 absolute file name (bug#8803).
17453 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17455 * textmodes/flyspell.el (flyspell-word): Consider words that
17456 differ only in case as potential doublons (bug#5687).
17458 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17459 Remove two rather uninteresting debugging-like messages to make
17460 debbugs.el more silent.
17462 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17463 a password-like phrase.
17465 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17467 * progmodes/cc-guess.el: New file.
17469 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17471 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17472 derived from `c-basic-common-init'.
17474 * progmodes/cc-mode.el (top-level): Require cc-guess.
17475 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17477 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17479 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17481 2011-06-30 Alan Mackenzie <acm@muc.de>
17483 * progmodes/cc-engine.el (c-guess-continued-construct):
17484 Correct the handling of template-args-cont, particularly for when font
17485 lock is disabled. Name this case as "CASE G".
17487 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17489 * allout.el (allout-yank-processing): Fix injection of extra space
17490 between bullet and non-whitespace character in first topic when
17491 pasting, ensuring that the actual spacing in the pasted topic
17492 following the bullet char is preserved. This extra space was
17493 causing pasted encrypted topics to get a decrypted status even
17494 when the content was actually still encrypted. Now the decryption
17495 status from before the paste is preserved.
17497 (allout-flag-region): Set all allout overlays so they evaporate
17498 when reduced to zero length (evanescent), to prevent overlay
17501 2011-06-30 Glenn Morris <rgm@gnu.org>
17503 * w32-fns.el (w32-charset-info-alist): Declare.
17505 * find-dired.el (find-grep-options): Simplify.
17507 * term/ns-win.el (ns-set-resource): Declare.
17509 * ses.el (row, col): Declare dynamic variables honestly.
17511 * textmodes/reftex-parse.el (index-tags): Declare.
17513 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17515 * cus-edit.el (customize-push-and-save): New function.
17517 * files.el (hack-local-variables-confirm): Use it.
17519 * custom.el (load-theme): New arg NO-CONFIRM.
17520 Use customize-push-and-save (Bug#8720).
17521 (custom-enabled-themes): Doc fix.
17523 * cus-theme.el (customize-create-theme)
17524 (custom-theme-merge-theme): Callers to load-theme changed.
17526 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17528 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17529 short URLs have at least one dot in them (bug #7614).
17531 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17532 nil, because using a pty is apparently too slow (bug #895).
17534 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17536 * mail/sendmail.el (sendmail-query-once): New function.
17537 (sendmail-query-once-function): New variable.
17539 2011-06-29 Glenn Morris <rgm@gnu.org>
17541 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17543 * ses.el (top-level): Require cl when compiling.
17544 (ses-set-localvars): Fix error statement.
17545 Call it at compile time to silence a storm of warnings.
17547 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17549 * window.el (normalize-live-buffer): Rename to
17550 window-normalize-buffer.
17551 (normalize-live-frame): Rename to window-normalize-frame.
17552 (normalize-any-window): Rename to window-normalize-any-window.
17553 (normalize-live-window): Rename to window-normalize-live-window.
17554 (make-window-atom): Rename to window-make-atom.
17555 (window-resize-reset): Rename to window--resize-reset.
17556 (window-resize-reset-1): Rename to window--resize-reset-1.
17557 (resize-mini-window): Rename to window--resize-mini-window.
17558 (resize-subwindows-skip-p): Rename to
17559 window--resize-subwindows-skip-p.
17560 (resize-subwindows-normal): Rename to
17561 window--resize-subwindows-normal.
17562 (resize-subwindows): Rename to window--resize-subwindows.
17563 (resize-other-windows): Rename to window--resize-siblings.
17564 (resize-this-window): Rename to window--resize-this-window.
17565 (resize-root-window): Rename to window--resize-root-window.
17566 (resize-root-window-vertically): Rename to
17567 window--resize-root-window-vertically.
17568 (normalize-buffer-to-display): Rename to
17569 window-normalize-buffer-to-display.
17570 (normalize-buffer-to-switch-to): Rename to
17571 window-normalize-buffer-to-switch-to.
17572 Correspondingly update all callers of the functions listed
17574 (display-buffer-alist, display-buffer-normalize-arguments)
17575 (display-buffer-normalize-options, display-buffer)
17576 (display-buffer-alist-set): Use "function" instead of
17579 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17581 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17582 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17583 debbugs.gnu.org. Mention acknowledgment email.
17585 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17587 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17588 buffer multibyteness, since it shouldn't matter.
17590 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17592 * window.el (display-buffer-in-side-window): Handle dedicated
17593 windows as in display-buffer-reuse-window.
17594 (display-buffer-normalize-alist): Use value of override
17596 (display-buffer-normalize-specifiers): Use value of
17597 other-window-means-other-frame specifier.
17598 (display-buffer-alist): Rewrite some texts in widgets.
17599 (display-buffer): Spread arguments when calling function
17600 specified by fun-with-args.
17602 2011-06-28 Deniz Dogan <deniz@dogan.se>
17604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17607 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17608 selectors (Bug#5732).
17609 (css-proprietary-nmstart-re): Use `regexp-opt'.
17611 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17613 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17614 (eshell-ls-date-format): New defcustom.
17615 (eshell-ls-file): Use it.
17617 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17619 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17621 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17623 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17624 (ange-ftp-make-tmp-name): New arg.
17625 (ange-ftp-file-local-copy): Use it.
17627 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17629 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17630 no-conversion (Bug#8870).
17632 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17634 * window.el (window-right, window-left, window-child)
17635 (window-child-count, window-last-child)
17636 (window-iso-combination-p, walk-window-tree-1)
17637 (window-atom-check-1, window-tree-1, delete-window)
17638 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17639 new naming conventions - window-vchild, window-hchild,
17640 window-next and window-prev are now called window-top-child,
17641 window-left-child, window-next-sibling and window-prev-sibling
17643 (resize-window-reset): Rename to window-resize-reset.
17644 (resize-window-reset-1): Rename to window-resize-reset-1.
17645 (resize-window): Rename to window-resize.
17646 (window-min-height, window-min-width)
17647 (resize-mini-window, resize-this-window, resize-root-window)
17648 (resize-root-window-vertically, adjust-window-trailing-edge)
17649 (enlarge-window, shrink-window, maximize-window)
17650 (minimize-window, delete-window, quit-restore-window)
17651 (split-window, balance-windows, balance-windows-area-adjust)
17652 (balance-windows-area, window-state-put-2)
17653 (display-buffer-even-window-sizes, display-buffer-set-height)
17654 (display-buffer-set-width, set-window-text-height)
17655 (fit-window-to-buffer): Rename all "resize-window" prefixed
17656 calls to use the "window-resize" prefix convention.
17657 (display-buffer-alist): Fix symbol for label specifier.
17658 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17659 corresponding specifier.
17660 Reported by Juanma Barranquero <lekktu@gmail.com>.
17662 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17664 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17666 (ses-call-printer): Does not pass an empty string to formatter when the
17667 cell is empty to keep from barking printer Calc math-format-value.
17669 2011-06-27 Richard Stallman <rms@gnu.org>
17671 * battery.el (battery-mode-line-limit): New variable.
17672 (battery-update): Handle it.
17674 * mail/rmailmm.el (rmail-mime-process-multipart):
17675 Handle truncated messages.
17677 2011-06-27 Glenn Morris <rgm@gnu.org>
17679 * progmodes/flymake.el (flymake-err-line-patterns):
17680 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17682 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17684 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17685 (ses--clean-!, ses--clean-_): New functions.
17686 (ses-range): Add configurability of readout order, and conversion
17689 * ses.el (ses-repair-cell-reference-all): New function.
17690 (ses-cell-symbol): Set macro as safe, so that it can be used in
17693 * ses.el: Update cycle detection algorithm.
17694 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17695 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17696 (ses-set-localvars): New function.
17697 (ses-make-cell): Add property-list as a cell element.
17698 (ses-cell-property-get-fun, ses-cell-property-get)
17699 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17700 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17702 (ses-cell-property-set, ses-cell-property-pop)
17703 (ses-cell-property-get-handle): New macro.
17704 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17705 New aliases, used for code readability.
17706 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17708 (ses-self-reference-early-detection): New defcustom.
17709 (ses-formula-references): Robustify against self-referring cells.
17710 (ses-mode): Use ses-set-localvars.
17711 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17712 before lauching the update processing.
17713 (ses-initialize-Dijkstra-attempt): New function.
17714 (ses-recalculate-cell): Update for cycle detection based on
17715 Dijkstra algorithm.
17717 * ses.el: Fix commenting and indenting convention.
17719 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17721 * bs.el (bs-cycle-next): Complete last change.
17723 2011-06-27 Drew Adams <drew.adams@oracle.com>
17725 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17727 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17729 * net/network-stream.el (network-stream-open-starttls):
17730 Don't re-get capabilities unless we've reestablished connection.
17731 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17733 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17734 to binary to possibly avoid line encoding issues on Windows (among
17737 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17739 * net/network-stream.el (open-network-stream): Return an :error
17740 saying what the problem was, if possible.
17742 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17745 * net/network-stream.el (network-stream-open-starttls): If we
17746 wanted to use STARTTLS, and the server offered it, but we weren't
17747 able to because we had no STARTTLS support, then close the connection.
17748 (open-network-stream): Return an :error element, if present.
17750 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17752 * hl-line.el (hl-line-sticky-flag): Doc fix.
17753 (global-hl-line-sticky-flag): New option (Bug#8323).
17754 (global-hl-line-highlight): Obey it.
17756 * vc/vc.el (vc-revert-show-diff): Default to t.
17758 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17760 * allout-widgets.el (allout-widgets-post-command-business):
17761 Stop decorating intermediate isearch matches. They're not being
17762 undecorated when an isearch is continued past, and isearch
17763 automatically collapses them. This leads to "widget leaks", where
17764 decorated items accumulate in collapsed areas. Lines with lots of
17765 hidden widgets can slow down cursor travel, substantially.
17766 Too much complicated machinery would be needed to ensure undecoration,
17767 so we're doing without this nicety.
17769 (allout-widgets-tally-string): Don't try to do a hash-table-count
17770 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17771 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17772 *Messages* when allout-widgets-maintain-tally is t.
17774 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17776 * window.el (display-buffer-normalize-argument): Rename to
17777 display-buffer-normalize-arguments. Handle special meaning of
17778 LABEL argument. Respect special-display-function when popping up
17779 a new frame. Fix code searching for a window showing the buffer
17781 (display-buffer-normalize-specifiers):
17782 Call display-buffer-normalize-arguments.
17783 (display-buffer-in-window): Don't undedicate the window if its
17784 buffer remains the same.
17785 Reported by Drew Adams <drew.adams@oracle.com>.
17786 (display-buffer-alist): Add choice for same-window macro
17788 (display-buffer): Mention special meaning of LABEL argument in
17789 doc-string. Fix quoting. Don't pop up a new frame even as
17792 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17794 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17795 avoid deleting the current window in some cases (bug#8911).
17797 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17799 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17802 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17804 * net/network-stream.el (network-stream-open-starttls):
17805 Use built-in TLS support if `gnutls-available-p' is true.
17806 (network-stream-open-tls): Ditto.
17808 2011-06-26 Leo Liu <sdl.web@gmail.com>
17810 * register.el (registerv): New struct.
17811 (registerv-make): New function.
17812 (jump-to-register, describe-register-1, insert-register):
17813 Support the jump-func, print-func and insert-func slot of a registerv
17816 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17818 * vc/vc.el (vc-revert-show-diff): New defcustom.
17819 (vc-diff-internal): New arg specifying diff buffer.
17820 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17821 reuse an existing *vc-diff* buffer (Bug#8927).
17823 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17825 2011-06-26 Glenn Morris <rgm@gnu.org>
17827 * progmodes/f90.el (f90-critical-indent): New option.
17828 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17829 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17830 (f90-mode): Doc fix.
17831 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17832 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17833 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17834 (f90-match-end): Handle block, critical.
17836 2011-06-25 Glenn Morris <rgm@gnu.org>
17838 * calendar/diary-lib.el (diary-included-files): Doc fix.
17839 (diary-include-files): New function, extracted from
17840 diary-include-other-diary-files and diary-mark-included-diary-files.
17841 (diary-include-other-diary-files, diary-mark-included-diary-files):
17842 Just call diary-include-files.
17843 (diary-mark-entries): Reset diary-included-files on first call.
17845 * calendar/diary-lib.el (diary-mark-entries)
17846 (diary-mark-included-diary-files):
17847 Visit included diary-files in temp buffers.
17849 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17850 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17851 (f90-start-block-re, f90-imenu-generic-expression)
17852 (f90-looking-at-program-block-start, f90-no-block-limit):
17853 Add support for submodules.
17855 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17856 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17858 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17860 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17861 buffer-file-type before setting its value, to avoid disastrous
17862 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17864 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17866 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17868 * ses.el (ses-unload-function):
17869 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17871 * proced.el (proced-unload-function):
17872 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17874 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17876 * server.el (server-create-window-system-frame): Add parameters arg.
17877 (server-process-filter): Doc fix. Handle frame-parameters.
17879 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17881 Fix bug#8730, bug#8781.
17883 * loadhist.el (unload--set-major-mode): New function.
17884 (unload-feature): Use it.
17886 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17887 (python-unload-function): New function.
17889 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17891 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17893 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17895 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17896 the candidates list.
17898 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17900 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17902 2011-06-23 Richard Stallman <rms@gnu.org>
17904 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17905 (rmail-variables): Set next-error-move-function.
17906 (rmail-what-message): Take argument POS.
17907 (rmail-next-error-move): New function.
17909 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17911 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17912 messages for adjacent non-terminals.
17914 2011-06-23 Richard Stallman <rms@gnu.org>
17916 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17917 (rmail-show-message-1): Preserve buffer modified flag.
17918 (rmail-start-mail): Don't specify use of rmail-mail-return;
17919 that's done by mail-bury now.
17920 (rmail-mail-return): Handle arg NEWBUF.
17922 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17924 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17927 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17929 * window.el (get-lru-window, get-mru-window)
17930 (get-largest-window): Never return a minibuffer window.
17931 (display-buffer-pop-up-window): Fix a bug that could lead to
17932 reusing the minibuffer window.
17933 (display-buffer): Pass original specifier argument to
17934 display-buffer-function instead of the normalized one.
17935 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17937 2011-06-22 Leo Liu <sdl.web@gmail.com>
17939 * minibuffer.el (completing-read-function)
17940 (completing-read-default): Move from minibuf.c.
17942 2011-06-22 Richard Stallman <rms@gnu.org>
17944 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17945 to Rmail even if not started by a special Rmail command.
17947 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17948 Copy the buffer currently showing just one message.
17950 2011-06-22 Roland Winkler <winkler@gnu.org>
17952 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17953 (bibtex-clean-entry): First delete the old key so that a
17954 customized algorithm for generating the new key does not get
17955 confused by the old key.
17956 (bibtex-url): Obey regexp of first step.
17957 (bibtex-search-entries): Do not use add-to-list with local
17960 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17962 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17963 stored a user name, then query for the password first, instead of
17964 waiting for SMTP to give an error message and the trying again.
17966 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17968 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17969 BUFFER in call-process.
17971 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17973 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17975 (smtpmail-try-auth-methods): Require user name and password from
17978 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17980 * window.el (display-buffer-default-specifiers)
17981 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17982 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17983 (split-window): Normalize SIDE argument (Bug#8916).
17985 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17986 (special-display-frame-alist, special-display-popup-frame):
17987 Remove duplicate declarations. These are now in window.el.
17989 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17991 * mail/smtpmail.el (smtpmail-via-smtp):
17992 Set :use-starttls-if-possible so that we always use STARTTLS if the
17993 server supports it. SMTP servers that support STARTTLS commonly
17996 * net/network-stream.el (network-stream-open-starttls): Support
17997 upgrading to STARTTLS always, even if we don't have built-in support.
17998 (open-network-stream): Add the :always-query-capabilities keyword.
18000 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18001 upgrades with `open-network-stream', and rely solely on
18002 auth-source for all credentials. Big changes throughout the file,
18004 (smtpmail-auth-credentials): Remove.
18005 (smtpmail-starttls-credentials): Remove.
18006 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18009 * net/network-stream.el (network-stream-open-starttls):
18010 Provide support for client certificates both for external and built-in
18012 (auth-source): Require.
18013 (open-network-stream): Document the :client-certificate keyword.
18014 (network-stream-certificate): Change cert-cert to cert and
18017 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18019 * net/tramp-cache.el (top): Don't load the persistency file when
18020 "emacs -Q" has been called.
18022 2011-06-21 Tim Harper <timcharper@gmail.com>
18024 * term/ns-win.el (ns-initialize-window-system):
18025 Set application-specific `ApplePressAndHoldEnabled' system
18026 resource to NO as it is not yet supported by the NS port.
18028 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18030 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18031 (list-dynamic-libraries): ...not here.
18033 2011-06-21 Leo Liu <sdl.web@gmail.com>
18035 * subr.el (sha1): Implement sha1 using secure-hash.
18037 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18039 * window.el (display-buffer-alist): In default value do not
18040 enforce searching a window on any but the selected frame.
18041 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18042 (display-buffer-select-window): Remove function.
18043 (display-buffer-in-window): When a window on another frame gets
18044 reused, do not select it any more but just raise its frame if
18045 necessary (Bug#8851) and (Bug#8856).
18046 (display-buffer-normalize-options): Handle pop-up-frames related
18047 options more faithfully.
18048 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18049 window if it is on another frame.
18050 (display-buffer-alist, display-buffer-default-specifiers):
18051 Don't make new frame unsplittable by default.
18052 (display-buffer-normalize-argument): Fix doc-string typo and use
18053 'same-frame-other-window instead of 'other-window when associating
18054 with display-buffer-macro-specifiers.
18056 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18058 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18060 (5x5-mode-map, 5x5-mode-menu): Bind them.
18061 (5x5-draw-grid): Tweak the solver's rendering.
18063 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18065 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18066 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18068 2011-06-21 Drew Adams <drew.adams@oracle.com>
18070 * menu-bar.el: Use function variable instead of switch-to-buffer.
18071 (menu-bar-select-buffer-function): New variable.
18072 (menu-bar-update-buffers): Use it (bug#8876).
18074 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18076 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18079 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18081 * x-dnd.el (x-dnd-version-from-flags)
18082 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18083 and long as number (Bug#8899).
18084 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18086 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18088 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18089 (completion-try-completion, completion-all-completions): Compute the
18090 metadata argument if it's missing; make it optional (bug#8795).
18092 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18093 (widget-complete): Use new :completion-function property.
18094 (widget-completions-at-point): New function.
18095 (default): Use :completion-function instead of :complete.
18096 (widget-default-completions): Rename from widget-default-complete;
18098 (widget-string-complete, widget-file-complete, widget-color-complete):
18100 (file, symbol, function, variable, coding-system, color):
18101 * international/mule-cmds.el (default-input-method, charset)
18102 (language-info-custom-alist):
18103 * cus-edit.el (face): Use new property :completions.
18105 * progmodes/pascal.el (pascal-completions-at-point): New function.
18106 (pascal-mode): Use it.
18107 (pascal-mode-map): Use completion-at-point.
18108 (pascal-toggle-completions): Make obsolete.
18109 (pascal-complete-word, pascal-show-completions):
18110 * progmodes/octave-mod.el (octave-complete-symbol):
18111 Redefine as obsolete alias.
18112 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18113 Signal absence of completion info for old Octave,
18114 (inferior-octave-complete): Redefine as obsolete alias.
18115 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18116 (meta-completions-at-point): Rename from meta-complete-symbol and
18117 adapt it for use on completion-at-point-functions.
18118 (meta-common-mode): Use it.
18119 (meta-looking-at-backward, meta-match-buffer): Remove.
18120 (meta-complete-symbol): Redefine as obsolete alias.
18121 (meta-common-mode-map): Use completion-at-point.
18122 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18123 (makefile-mode-map): Use completion-at-point.
18124 (makefile-completions-at-point): Rename from makefile-complete and
18125 adapt it for use on completion-at-point-functions.
18126 (makefile-mode): Use it.
18127 (makefile-complete): Redefine as obsolete alias.
18129 2011-06-20 Deniz Dogan <deniz@dogan.se>
18131 * net/rcirc.el: Delete trailing whitespaces once and for all.
18133 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18135 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18137 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18139 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18141 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18143 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18145 * window.el (display-buffer-other-window-means-other-frame):
18146 Call display-buffer-normalize-alist.
18147 (display-buffer-normalize-specifiers-1): Rename to
18148 display-buffer-normalize-argument. New argument other-frame.
18150 (display-buffer-normalize-specifiers-2): Rename to
18151 display-buffer-normalize-options.
18152 (display-buffer-normalize-alist-1): New function.
18153 (display-buffer-normalize-specifiers-3): Rename to
18154 display-buffer-normalize-alist.
18155 Call display-buffer-normalize-alist-1.
18156 (display-buffer-normalize-options-inhibit): New variable.
18157 (display-buffer-normalize-specifiers): Rewrite calling
18158 display-buffer-normalize-alist,
18159 display-buffer-normalize-argument, and
18160 display-buffer-normalize-options. Don't call the latter if
18161 display-buffer-normalize-options-inhibit is non-nil.
18162 (frame-auto-delete): New option.
18163 (window-deletable-p): Use frame-auto-delete.
18164 (window-list-no-nils, window-state-ignored-parameters)
18165 (window-state-get-1, window-state-get, window-state-put-list)
18166 (window-state-put-1, window-state-put-2, window-state-put):
18168 (display-buffer-normalize-options): Move special-display-p group
18169 after pop-up-frame group (Bug#8851) and (Bug#8856).
18171 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18173 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18175 (rx-submatch-n): New function.
18178 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18181 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18183 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18185 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18186 anytime existing face settings are present (Bug#8889).
18188 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18189 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18190 Remove unused argument.
18192 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18194 * window.el (display-buffer-default-specifiers):
18195 Remove pop-up-frame. Add pop-up-window-min-height,
18196 pop-up-window-min-width, and another reuse-window specifier
18197 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18198 (display-buffer-normalize-specifiers-2):
18199 Handle split-height-threshold and split-width-threshold also when
18200 pop-up-windows is unset. Add a reuse-window specifier for the
18201 case popping up a new window fails.
18202 (special-display-popup-frame): Remove double quoting.
18203 (display-buffer-normalize-specifiers-1): Fix thinko.
18205 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18207 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18208 according to comint-completion-addsuffix.
18210 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18211 (pcomplete-suffix-list): Mark as obsolete.
18212 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18213 pcomplete-seen in the closure.
18214 (pcomplete-comint-setup): Setup completion-at-point as well.
18215 (pcomplete--entries): New function.
18216 (pcomplete--env-regexp): New var.
18217 (pcomplete-entries): Rewrite to work with partial-completion and
18218 without relying on pcomplete-suffix-list.
18219 (pcomplete-pare-list): Remove, unused.
18221 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18223 * window.el (display-buffer-alist): Set pop-up-window-min-height
18224 and pop-up-window-min-width in default value. Reported by
18225 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18226 other-window-means-other-frame.
18227 (display-buffer-macro-specifiers): Comment out entry for
18228 other-window specifier.
18229 (display-buffer-other-window-means-other-frame): New function.
18230 (display-buffer-normalize-specifiers-1): New arguments
18231 buffer-name and label. Treat other-window case specially.
18232 (display-buffer-normalize-specifiers-2): Treat other-window case
18234 (display-buffer-normalize-specifiers-3): New function.
18235 (display-buffer-normalize-specifiers):
18236 Call display-buffer-normalize-specifiers-3.
18238 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18240 * window.el (same-window-p): Fix two typos introduced when
18241 adding with-no-warnings.
18242 (display-buffer-normalize-specifiers-1): Don't check
18243 pop-up-frames for 'unset initialization.
18244 (display-buffer-normalize-specifiers-2): Major rewrite using
18245 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18246 (pop-up-frames, display-buffer-reuse-frames)
18247 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18248 Suggested by David Engster <deng@randomsample.de>.
18249 (even-window-heights): Initialize to 'unset.
18250 (display-buffer-alist-set): Handle new 'unset initializations.
18251 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18254 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18256 * window.el (display-buffer-normalize-specifiers-1):
18257 Respect current value of pop-up-frames for most reasonable values of
18258 second argument of display-buffer (Bug#8865).
18259 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18260 (switch-to-buffer-other-window-same-frame)
18261 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18263 (display-buffer): Don't check noninteractive when calling
18264 display-buffer-pop-up-frame.
18265 (display-buffer-pop-up-frame): Never pop up a frame in
18266 noninteractive mode (Bug#8857).
18267 (enlarge-window, shrink-window): Don't report an error when the
18268 window can't be resized as requested (Bug#8862).
18270 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18272 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18274 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18276 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18278 2011-06-15 Alan Mackenzie <acm@muc.de>
18280 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18281 for declarators, disable knr checking to speed up for normal files.
18282 2: Refactor, replacing a sequence of nested if forms by a cond form.
18284 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18286 * net/network-stream.el (open-network-stream): Add the keyword
18287 :always-query-capabilities for the case where you want to force a
18288 `plain' network connection, but the protocol still requires the
18289 capabilitiy command (i.e., SMTP and EHLO).
18291 * subr.el (process-live-p): Rename from `process-alive-p' for
18292 consistency with other `-live-p' functions.
18294 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18296 * window.el (same-window-buffer-names, same-window-regexps)
18297 (special-display-frame-alist, special-display-popup-frame)
18298 (special-display-function, special-display-buffer-names)
18299 (special-display-regexps, pop-up-frame-alist)
18300 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18301 (pop-up-windows, split-window-preferred-function)
18302 (split-height-threshold, split-width-threshold, even-window-heights)
18303 (display-buffer-mark-dedicated): Don't encourage the use of
18304 display-buffer-alist from Elisp code.
18306 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18308 * progmodes/python.el (python-mode): Derive from prog-mode.
18309 * progmodes/ps-mode.el (ps-mode):
18310 * progmodes/mixal-mode.el (mixal-mode):
18311 * progmodes/cfengine.el (cfengine-mode):
18312 * progmodes/ld-script.el (ld-script-mode): Likewise.
18314 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18316 * window.el (display-buffer-alist): Trim default value to avoid
18317 popping up a new frame (Bug#8857) or reusing an arbitrary window
18319 (display-buffer): Do not fall back on popping up a new frame in
18320 batch mode (Bug#8857).
18322 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18324 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18325 (custom-theme-summary): New function.
18326 (customize-themes): Use it.
18328 2011-06-13 Glenn Morris <rgm@gnu.org>
18330 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18332 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18334 * help.el (help-window): Remove variable.
18335 (help-window-point-marker, temp-buffer-max-height)
18336 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18337 (help-print-return-message): Don't set help-window.
18338 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18339 (help-window-setup-finish): Remove.
18340 (help-window-display-message, help-window-setup)
18341 (with-help-window): Major rewrite based on new
18342 display-buffer-window variable.
18344 * help-mode.el (help-mode-finish): Remove help-window related
18347 * view.el (view-exits-all-viewing-windows): Remove reference to
18348 view-return-to-alist in doc-string.
18349 (view-return-to-alist): Make obsolete.
18350 (view-buffer): Call pop-to-buffer-same-window and remove
18352 (view-buffer-other-window): Call pop-to-buffer-other-window and
18353 simplify code. Ignore second argument.
18354 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18355 simplify code. Ignore second argument.
18356 (view-return-to-alist-update): Make obsolete.
18357 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18358 Rewrite using quit-restore window parameters.
18359 (view-mode-exit): Rename second argument to EXIT-ONLY.
18360 Rewrite using quit-restore-window.
18361 (View-exit, View-exit-and-edit, View-leave, View-quit)
18362 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18363 appropriate arguments.
18364 (view-end-message): Use quit-restore window parameter.
18366 * window.el (display-buffer-function): Rewrite doc-string.
18367 (display-buffer-window, display-buffer-alist): New variables.
18368 (display-buffer-split-specifiers)
18369 (display-buffer-side-specifiers)
18370 (display-buffer-macro-specifiers): New constants.
18371 (display-buffer-even-window-sizes, display-buffer-set-height)
18372 (display-buffer-set-width, display-buffer-select-window)
18373 (display-buffer-in-window, display-buffer-reuse-window)
18374 (display-buffer-split-window-1, display-buffer-split-window)
18375 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18376 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18377 (display-buffer-in-side-window, normalize-buffer-to-display)
18378 (display-buffer-normalize-specifiers-1)
18379 (display-buffer-normalize-specifiers-2)
18380 (display-buffer-normalize-specifiers, display-buffer-frame):
18382 (display-buffer): Major rewrite.
18383 (display-buffer-other-window, display-buffer-other-frame)
18384 (pop-to-buffer, switch-to-buffer-other-window)
18385 (switch-to-buffer-other-frame): Rewrite.
18386 (display-buffer-same-window, display-buffer-same-frame)
18387 (display-buffer-same-frame-other-window)
18388 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18389 (pop-to-buffer-other-window)
18390 (pop-to-buffer-same-frame-other-window)
18391 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18392 (switch-to-buffer-other-window-same-frame): New functions.
18393 (same-window-p, special-display-p): Rewrite disabling warnings.
18395 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18396 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18398 (same-window-buffer-names, same-window-regexps)
18399 (special-display-frame-alist, special-display-popup-frame)
18400 (special-display-function, special-display-buffer-names)
18401 (special-display-regexps, pop-up-frame-alist)
18402 (pop-up-frame-function, split-window-preferred-function)
18403 (split-height-threshold, split-width-threshold)
18404 (even-window-heights): Make obsolete.
18406 2011-06-12 Glenn Morris <rgm@gnu.org>
18408 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18409 Misc simplifications.
18411 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18413 * window.el (window-safely-shrinkable-p): Restore function which
18414 was inadvertently removed in change from 2011-06-11. Declare as
18417 * calendar/calendar.el (calendar-generate-window):
18418 Use window-iso-combined-p instead of combination of one-window-p and
18419 window-safely-shrinkable-p.
18421 2011-06-12 Glenn Morris <rgm@gnu.org>
18423 * progmodes/fortran.el (fortran-mode-syntax-table):
18424 * progmodes/f90.el (f90-mode-syntax-table):
18425 Set % to punctuation. (Bug#8820)
18426 (f90-find-tag-default): Remove, no longer needed.
18428 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18430 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18432 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18434 * image.el (image-animated-p): Return animation delay in seconds.
18435 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18436 (image-animate-timeout): Remove DELAY argument. Don't assume
18437 every subimage has the same delay; get it from image-animated-p.
18438 (image-animate): Caller changed.
18440 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18442 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18443 to ignored backtrace functions.
18445 2011-06-11 Glenn Morris <rgm@gnu.org>
18447 * calendar/appt.el (appt-disp-window-function): Doc fix.
18448 (appt-check): Handle overlapping appointments. (Bug#8337)
18450 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18452 * window.el (window-tree-1, window-tree): New functions, moving
18453 the latter to window.el.
18454 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18455 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18456 (bw-refresh-edges): Remove.
18457 (balance-windows-1, balance-windows-2): New functions.
18458 (balance-windows): Rewrite in terms of window tree functions,
18459 balance-windows-1 and balance-windows-2.
18460 (bw-adjust-window): Remove.
18461 (balance-windows-area-adjust): New function with functionality of
18462 bw-adjust-window but using resize-window.
18463 (set-window-text-height): Rewrite doc-string.
18464 Use normalize-live-window and resize-window.
18465 (enlarge-window-horizontally, shrink-window-horizontally):
18466 Rename argument to DELTA.
18467 (window-buffer-height): New function.
18468 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18469 Rewrite using new window resize routines.
18470 (kill-buffer-and-window, mouse-autoselect-window-select):
18471 Use ignore-errors instead of condition-case.
18472 (quit-window): Call delete-frame instead of delete-windows-on
18473 for the only buffer on frame.
18475 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18477 * loadup.el (top-level): Load window before files for the sake
18478 of replace-buffer-in-windows.
18480 * files.el (read-buffer-to-switch)
18481 (switch-to-buffer-other-window)
18482 (switch-to-buffer-other-frame, display-buffer-other-frame):
18485 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18486 (previous-buffer): Move to window.el.
18488 * bindings.el (unbury-buffer): Move to window.el.
18490 * window.el (delete-other-windows-vertically): Move after
18491 definition of delete-other-windows.
18492 (other-window, delete-windows-on, replace-buffer-in-windows):
18493 Move here from window.c.
18494 (record-window-buffer, unrecord-window-buffer)
18495 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18496 (switch-to-next-buffer): New functions.
18497 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18498 from simple.el. Call switch-to-next-buffer.
18499 (previous-buffer): Move here from simple.el.
18500 Call switch-to-prev-buffer.
18501 (bury-buffer): Move here from buffer.c. Switch to previous
18502 buffer when window cannot be deleted.
18503 (unbury-buffer): Move here from bindings.el.
18504 (ctl-x-map): Move binding for other-window from window.c to
18506 (read-buffer-to-switch, switch-to-buffer-other-window)
18507 (switch-to-buffer-other-frame): Move here from files.el.
18508 (normalize-buffer-to-switch-to): New functions.
18509 (switch-to-buffer): Move here from buffer.c.
18510 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18512 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18514 * window.el (window-min-height, window-min-width): Move here
18515 from window.c. Add defcustoms and rewrite doc-strings.
18516 (resize-mini-window, resize-window): New functions.
18517 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18518 Move here from window.c.
18519 (maximize-window, minimize-window): New functions.
18520 (delete-window, delete-other-windows, split-window): Move here
18522 (window-split-min-size): New function.
18523 (split-window-keep-point): Mention split-window-above-each-other
18524 instead of split-window-vertically.
18525 (split-window-above-each-other, split-window-vertically):
18526 Rename split-window-vertically to split-window-above-each-other
18527 and provide defalias for old definition.
18528 (split-window-side-by-side, split-window-horizontally):
18529 Rename split-window-horizontally to split-window-side-by-side
18530 and provide defalias for the old definition.
18531 (ctl-x-map): Move bindings for delete-window,
18532 delete-other-windows and enlarge-window here from window.c.
18533 Replace bindings for split-window-vertically and
18534 split-window-horizontally by bindings for
18535 split-window-above-each-other and split-window-side-by-side.
18537 * cus-start.el (all): Remove entries for window-min-height and
18538 window-min-width. Add entries for window-splits and
18541 2011-06-09 Glenn Morris <rgm@gnu.org>
18543 * calendar/appt.el (appt-mode-line): New function.
18544 (appt-check, appt-disp-window): Use it.
18546 * files.el (hack-one-local-variable-eval-safep):
18547 Allow minor-modes with explicit +/-1 arguments.
18549 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18551 * term/xterm.el (xterm): Add defgroup.
18552 (xterm-extra-capabilities): Add defcustom to supply known xterm
18553 capabilities, skip querying them, or query them (default).
18554 (terminal-init-xterm): Use it.
18555 (terminal-init-xterm-modify-other-keys): New function to set up
18556 modifyOtherKeys support to simplify `terminal-init-xterm'.
18558 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18560 * window.el (resize-window-reset, resize-window-reset-1)
18561 (resize-subwindows-skip-p, resize-subwindows-normal)
18562 (resize-subwindows, resize-other-windows, resize-this-window)
18563 (resize-root-window, resize-root-window-vertically)
18564 (window-deletable-p, window-or-subwindow-p)
18565 (frame-root-window-p): New functions.
18567 2011-06-09 Glenn Morris <rgm@gnu.org>
18569 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18570 (ange-ftp-get-files): Use it.
18572 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18574 * mail/sendmail.el (mail-recover-1, mail-recover):
18575 * files.el (recover-file, recover-session):
18576 Handle dired-listing-switches not being just a single short option.
18578 2011-06-09 Glenn Morris <rgm@gnu.org>
18580 * calendar/appt.el (appt-display-message, appt-disp-window):
18581 Handle lists of appointments.
18583 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18585 * window.el (one-window-p): Move down in code.
18586 Rewrite doc-string.
18587 (window-current-scroll-bars): Rewrite doc-string.
18588 Normalize live window argument.
18589 (walk-windows, get-window-with-predicate, count-windows):
18590 Rewrite doc-string. Use window-list-1.
18591 (window-in-direction-2, window-in-direction, get-mru-window):
18594 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18596 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18597 Doc fix (Bug#8713).
18599 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18601 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18603 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18605 * loadhist.el (unload-feature-special-hooks):
18606 Add `comint-output-filter-functions'.
18608 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18610 * calendar/appt.el (appt-check): Move some initializations into the let.
18612 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18614 * window.el (window-height): Defalias to window-total-height.
18615 (window-width): Defalias to window-body-width.
18617 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18619 * image-mode.el (image-toggle-animation): New command.
18620 (image-mode-map): Bind it to RET.
18621 (image-mode): Update message.
18622 (image-toggle-display-image): Avoid a spurious cache flush.
18623 (image-transform-rotation): Doc fix.
18624 (image-transform-properties): Return quickly in the normal case.
18625 (image-animate-loop): Rename from image-animate-max-time.
18627 * image.el (image-animate-max-time): Move to image-mode.el.
18628 (create-animated-image): Remove unnecessary function.
18629 (image-animate): Rename from image-animate-start. New arg.
18630 (image-animate-stop): Remove; just use image-animate-timer.
18631 (image-animate-timer): Use car-safe.
18632 (image-animate-timeout): Rename argument.
18634 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18636 * window.el (get-lru-window, get-largest-window): Move here from
18637 window.c. Rename first argument to ALL-FRAMES.
18638 Rephrase doc-strings.
18639 (get-buffer-window-list): Rewrite using window-list-1.
18640 Rephrase doc-string.
18641 (window-safe-min-height, window-safe-min-width): New constants.
18642 (window-size-ignore, window-min-size, window-min-size-1)
18643 (window-sizable, window-sizable-p, window-size-fixed-1)
18644 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18645 (window-max-delta-1, window-max-delta, window-resizable)
18646 (window-resizable-p, window-total-height, window-total-width)
18647 (window-body-width): New functions.
18648 (window-full-height-p, window-full-width-p): Rewrite using
18650 (window-body-height): Rewrite using window-body-size.
18652 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18654 * window.el (window-right, window-left, window-child)
18655 (window-child-count, window-last-child, window-any-p)
18656 (normalize-live-buffer, normalize-live-frame)
18657 (normalize-any-window, normalize-live-window)
18658 (window-iso-combination-p, window-iso-combined-p)
18659 (window-iso-combinations)
18660 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18661 (windows-with-parameter, window-with-parameter)
18662 (window-atom-root, make-window-atom, window-atom-check-1)
18663 (window-atom-check, window-side-check, window-check):
18665 (ignore-window-parameters, window-sides, window-sides-vertical)
18666 (window-sides-slots): New variables.
18667 (window-size-fixed): Move down in code. Minor doc-string fix.
18669 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18671 * comint.el (comint-dynamic-complete-as-filename)
18672 (comint-dynamic-complete-filename): Correctly call
18673 completion-in-region.
18675 2011-06-05 Deniz Dogan <deniz@dogan.se>
18677 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18680 2011-06-05 Deniz Dogan <deniz@dogan.se>
18682 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18683 (rcirc): Use it to prompt for encryption.
18685 2011-06-05 Roland Winkler <winkler@gnu.org>
18687 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18688 (bibtex-search-entries): New command bound to C-c C-a.
18689 (bibtex-display-entries): New function.
18691 2011-06-05 Roland Winkler <winkler@gnu.org>
18693 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18694 (bibtex-insert-kill): After yanking insert newline if necessary.
18695 (bibtex-initialize): Call bibtex-string-files-init only once.
18696 (bibtex-mode): Do not call easy-menu-add.
18697 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18698 (bibtex-yank): Set arg properly if nil.
18700 2011-06-05 Roland Winkler <winkler@gnu.org>
18702 * textmodes/bibtex.el (bibtex-search-entry-globally):
18704 (bibtex-search-entry): Use it.
18706 2011-06-05 Roland Winkler <winkler@gnu.org>
18708 * textmodes/bibtex.el (bibtex-entry-format): New option
18710 (bibtex-format-entry, bibtex-reformat): Honor this option.
18711 (bibtex-parse-entry): Return fields in proper order.
18713 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18715 * doc-view.el (doc-view-remove-if): Move computation of result out
18716 of `dolist' to silence misleading lexical-binding warning.
18718 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18720 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18721 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18723 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18725 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18728 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18730 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18731 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18732 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18733 (tramp-parse-putty):
18734 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18735 (tramp-completion-function-alist-ssh)
18736 (tramp-completion-function-alist-telnet)
18737 (tramp-completion-function-alist-su)
18738 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18741 * net/tramp-ftp.el:
18743 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18744 load "tramp.el" `tramp-set-completion-function'.
18746 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18748 * shell.el: Require and use pcomplete.
18749 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18750 (shell-completion-vars): Set pcomplete-default-completion-function.
18752 2011-06-04 Deniz Dogan <deniz@dogan.se>
18754 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18757 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18759 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18761 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18763 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18764 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18765 * vc/log-view.el (log-view-beginning-of-defun):
18766 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18767 (smerge-refine-forward, smerge-refine-chopup-region):
18768 Silence warning for unused `dotimes' counter variables.
18770 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18772 * net/tramp.el (tramp-with-progress-reporter): Rename from
18773 with-progress-reporter. Use `declare'.
18774 * net/tramp-smb.el:
18776 * net/tramp-gvfs.el: Update all uses.
18778 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18780 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18781 buffer isn't killed before making it current.
18783 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18785 Silence various byte-compiler warnings.
18786 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18787 `access-type' and new obsolescence format.
18788 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18790 (byte-compile-check-variable): New `access-type' argument.
18791 Only warn if the access-type is obsolete.
18792 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18793 (byte-compile-variable-set): Adjust callers.
18794 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18795 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18796 setting it as obsolete.
18797 * simple.el (minibuffer-completing-symbol):
18798 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18799 access as obsolete.
18800 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18802 * international/quail.el (quail-mouse-choose-completion): Remove unused
18803 code referring to obsolete var.
18804 (quail-choose-completion-string): Remove.
18805 * server.el (server-clients-with, server-kill-buffer-query-function)
18806 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18807 * proced.el (proced-send-signal):
18808 * emacs-lisp/lisp.el (lisp-complete-symbol):
18809 Replace completion-annotate-function with completion-extra-properties.
18811 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18813 * simple.el (goto-line): Use read-number.
18814 (overriding-map-is-bound): Remove.
18815 (saved-overriding-map): Change default.
18816 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18817 Take the map as argument.
18818 (universal-argument, negative-argument, digit-argument): Use it.
18819 (restore-overriding-map): Adjust.
18820 (do-auto-fill): Use fill-forward-paragraph.
18821 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18823 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18824 (minibuffer-inactive-mode): New major mode.
18825 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18826 the *Messages* buffer" hack.
18827 (mouse-popup-menubar): Don't burp if the event is a normal key.
18829 Miscellaneous tweaks.
18830 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18831 lexical scoping as in subr.el's dolist and dotimes.
18832 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18833 Silence compiler warning.
18834 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18835 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18836 * international/ccl.el (ccl-compile): Trivial simplification.
18837 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18838 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18839 `printflag' argument.
18840 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18841 Purecopy the whole obsolescence data.
18843 2011-06-01 Leo Liu <sdl.web@gmail.com>
18845 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18846 improve doc-string as suggested by Marco Pessotto
18847 <melmothx@gmail.com>.
18848 (rcirc-print): Fix last change.
18850 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18852 * minibuffer.el (complete-with-action): Return nil for the metadata and
18853 boundaries of non-functional tables.
18854 (completion-table-dynamic): Return nil for the metadata.
18855 (completion-table-with-terminator): Add default case, using
18856 complete-with-action.
18857 (completion--metadata): New function.
18858 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18859 to try and avoid pathological performance problems.
18860 (completion--embedded-envvar-table): Return `category' metadata.
18862 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18864 * subr.el (process-alive-p): New tiny convenience function.
18866 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18868 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18869 content but also its previous major mode.
18871 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18873 * emacs-lisp/debug.el (debug): Restore the previous content of the
18874 *Backtrace* buffer when we exit with C-M-c.
18876 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18878 * minibuffer.el: Add metadata method to completion tables.
18879 (completion-category-overrides): New defcustom.
18880 (completion-metadata, completion--field-metadata)
18881 (completion-metadata-get, completion--styles)
18882 (completion--cycle-threshold): New functions.
18883 (completion-try-completion, completion-all-completions):
18884 Add `metadata' argument to choose completion-styles.
18885 (completion--do-completion): Use metadata to choose cycling.
18886 (completion-all-sorted-completions): Use metadata for sorting.
18887 Remove :completion-cycle-penalty which is not needed any more.
18888 (completion--try-word-completion): Add `metadata' argument.
18889 (minibuffer-completion-help): Check metadata for annotation function
18891 (completion-file-name-table): Return `category' metadata.
18892 (minibuffer-completing-file-name): Make obsolete.
18893 * simple.el (minibuffer-completing-symbol): Make obsolete.
18894 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18895 completion-try-completion.
18897 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18899 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18901 2011-05-30 Leo Liu <sdl.web@gmail.com>
18903 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18904 (rcirc-print): Decode all incoming messages (bug#8744).
18905 (rcirc-decode-coding-system): Allow value nil for automatic coding
18908 2011-06-01 Glenn Morris <rgm@gnu.org>
18910 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18912 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18914 * image.el (image-animate-max-time): Allow nil and t values.
18916 (create-animated-image): Doc fix.
18917 (image-animate-start): Remove second arg; just use
18918 image-animate-max-time.
18919 (image-animate-timeout): Doc fix. Args changed.
18921 * image-mode.el (image-toggle-display-image): Ensure that the
18922 image spec passed to the animate timer is the same object as in
18923 the buffer's display property (Bug#6981).
18924 (image-transform-properties): Doc fix.
18926 * image.el (image-animate-max-time): Default to nil.
18928 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18930 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18931 entire buffer list (Bug#8184).
18933 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18935 * image.el (imagemagick-types-inhibit)
18936 (imagemagick-register-types): Doc fix.
18938 2011-05-29 Deniz Dogan <deniz@dogan.se>
18940 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18943 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18945 * select.el: Don't perform clipboard-manager saving in hooks;
18946 leave the hooks empty.
18948 2011-05-28 Leo Liu <sdl.web@gmail.com>
18950 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18951 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18952 (occur-edit-mode): New major mode (Bug#8463).
18953 (occur-after-change-function): New function.
18954 (occur-engine): Give Occur tags a read-only property.
18956 2011-05-28 Kevin Ryde <user42@zip.com.au>
18958 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18960 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18962 * bindings.el (help-echo): Make the initial non-indicator dash
18963 empty on graphical terminals (Bug#7295).
18965 * files.el (auto-mode-alist): Move config rule after the
18966 in-stripping one (Bug#8547).
18968 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18970 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18971 setting (Bug#8740).
18973 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18975 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18976 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18979 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18981 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18983 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18985 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18986 (hs-hide-block-at-point, hs-find-block-beginning)
18987 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18990 2011-05-28 Glenn Morris <rgm@gnu.org>
18992 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18994 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18996 * help-fns.el (describe-function-1): If the function is a derived
18997 major mode, print the parent mode.
18999 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19000 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19002 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19004 * minibuffer.el (completion--capf-wrapper): Check applicability before
19005 returning non-nil for non-exclusive completion data.
19006 * progmodes/etags.el (tags-completion-at-point-function):
19007 * info-look.el (info-lookup-completions-at-point): Mark as
19009 (info-complete): Adjust accordingly.
19011 * info-look.el: Convert to lexical-binding and completion-at-point.
19012 (info-lookup-completions-at-point): New function.
19013 (info-complete): Use it and completion-in-region.
19015 2011-05-28 Drew Adams <drew.adams@oracle.com>
19017 * isearch.el: Let M-e start with point at the first mismatched char.
19018 (isearch-fail-pos): New function.
19019 (isearch-edit-string): Use it.
19021 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19023 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19025 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19027 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19028 traversal functions for avl-trees.
19029 (avl-tree--stack): New struct.
19030 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19031 (avl-tree-enter): Add optional `updatefun' arg.
19032 (avl-tree--do-enter): Add optional `updatefun' arg.
19033 Change return value.
19034 (avl-tree-delete): Add optional `test' and `nilflag' args.
19035 (avl-tree--do-delete): Add `test' and `nilflag' args.
19036 Change return value.
19037 (avl-tree-member): Add optional `nilflag'
19038 (avl-tree-member-p): New function.
19039 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19040 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19041 (avl-tree-stack-empty-p): New functions.
19043 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19044 avl-tree--del-balance1 and make it work both ways.
19045 (avl-tree--del-balance2): Remove.
19046 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19047 make it work both ways.
19048 (avl-tree--enter-balance2): Remove.
19049 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19051 (avl-tree--mapc, avl-tree-map): Add direction argument.
19053 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19055 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19057 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19059 * select.el: Support clipboard managers with built-in function
19060 x-clipboard-manager-save, via delete-frame-functions and
19062 (xselect-convert-to-targets): Add MULTIPLE target to list.
19063 (xselect-convert-to-save-targets): New function.
19065 2011-05-27 Kenichi Handa <handa@m17n.org>
19067 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19068 let-binding rfc2047-encode-encoded-words to nil.
19070 2011-05-27 Glenn Morris <rgm@gnu.org>
19072 * mail/emacsbug.el: Don't require url-util.
19074 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19076 * files.el (set-auto-mode):
19077 Also respect mode: entries at the end of the file. (Bug#8586)
19079 2011-05-26 Glenn Morris <rgm@gnu.org>
19081 * files.el (hack-local-variables-prop-line, hack-local-variables):
19082 Downcase mode names, as seems to be traditional.
19083 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19085 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19086 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19088 2011-05-25 Julien Danjou <julien@danjou.info>
19090 * textmodes/rst.el (rst-define-level-faces): Do not define face
19091 symbol if it is already defined.
19093 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19095 * play/5x5.el (5x5-new-game, 5x5-randomize):
19096 Reset 5x5-solver-output to nil when a new grid is cast.
19097 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19098 these debugging traces, as defmacro breaks the compiled code.
19100 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19102 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19104 2011-05-24 Leo Liu <sdl.web@gmail.com>
19106 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19107 (vc-bzr-sha1): Adapt.
19109 * sha1.el: Remove. Function `sha1' is now builtin.
19111 * bindings.el: Provide sha1 feature.
19113 2011-05-24 Kenichi Handa <handa@m17n.org>
19115 * mail/sendmail.el: Require `rfc2047'.
19116 (mail-insert-from-field): Do not perform RFC2047 encoding.
19117 (mail-encode-header): New function.
19118 (sendmail-send-it): Set buffer-file-coding-system of the work
19119 buffer to the return value of select-message-coding-system.
19120 Call mail-encode-header.
19122 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19124 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19126 * mail/supercite.el (sc-default-cite-frame):
19127 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19129 2011-05-24 Glenn Morris <rgm@gnu.org>
19131 * progmodes/python.el (brm-menu): Declare.
19133 * emulation/viper.el (viper-set-hooks): Declare.
19135 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19136 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19137 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19138 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19139 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19140 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19142 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19144 Add an :exit-function for completion-at-point.
19146 * minibuffer.el (completion--done): New fun.
19147 (completion--do-completion): Use it. New arg `expect-exact'.
19148 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19149 since completion--do-completion does it for us now.
19150 (minibuffer-force-complete): Use completion--done and
19151 completion--replace. Handle sole-completion case with more care.
19152 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19153 (completion-extra-properties): New var.
19154 (completion-annotate-function): Make obsolete.
19155 (minibuffer-completion-help): Adjust accordingly.
19156 Use completion-list-insert-choice-function.
19157 (completion-at-point, completion-help-at-point):
19158 Bind completion-extra-properties.
19159 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19160 * simple.el (completion-list-insert-choice-function): New var.
19161 (completion-setup-function): Preserve it.
19162 (choose-completion): Pay attention to it, shuffle the code a bit.
19163 (choose-completion-string): New arg `insert-function'.
19165 * textmodes/bibtex.el: Convert to lexical binding.
19166 (bibtex-mode-map): Use completion-at-point.
19167 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19168 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19169 (bibtex-complete): Define as obsolete alias.
19170 (bibtex-complete-internal): Remove.
19171 (bibtex-format-entry): Remove unused sub-group in regexp.
19172 * shell.el (shell--command-completion-data)
19173 (shell-environment-variable-completion):
19174 * pcomplete.el (pcomplete-completions-at-point):
19175 * comint.el (comint--complete-file-name-data): Use :exit-function
19176 instead of completion-table-with-terminator so it also works for
19179 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19181 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19183 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19186 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19188 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19190 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19191 customization variable and implement: If non-nil, auto-fill will
19192 be inhibited while on topic's header line.
19194 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19196 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19197 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19198 always have a solution in grid size = 5 cases.
19199 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19200 (5x5-solver-output, 5x5-log-buffer): New vars.
19201 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19202 Make these variables buffer local to achieve 5x5 multi-session-ness.
19203 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19204 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19205 (5x5-solve-suggest): New funs.
19206 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19207 randomize a grid so that we ensure that there is always a solution.
19208 (5x5-make-random-grid): Allow other movement than flipping.
19210 2011-05-23 Kevin Ryde <user42@zip.com.au>
19212 * emacs-lisp/advice.el (ad-read-advised-function):
19213 Use `function-called-at-point' as the default, if it has
19214 advice and passes PREDICATE.
19216 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19218 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19219 byte-compile-lambda if it's actually a lambda.
19221 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19222 Fix function quoting. Use backquote better.
19224 2011-05-22 Yuanle Song <sylecn@gmail.com>
19226 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19227 matching (Bug#8516).
19229 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19231 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19232 different face (Bug#8178).
19234 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19236 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19237 defface (Bug#8144).
19239 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19242 funcall as well (bug#8712). Warn when performing those conversions.
19243 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19245 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19247 2011-05-22 Glenn Morris <rgm@gnu.org>
19249 * files.el (hack-local-variables-prop-line): Small simplifications.
19250 (hack-local-variables, hack-local-variables-prop-line):
19251 If MODE-ONLY, return the mode, rather than just `t'.
19253 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19255 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19257 2011-05-21 Glenn Morris <rgm@gnu.org>
19259 * files.el (hack-local-variables-prop-line, hack-local-variables):
19260 If only interested in the mode, don't bother doing the other stuff.
19262 * image-mode.el (image-after-revert-hook):
19263 Redraw all frames on which the image is visible. (Bug#8567)
19265 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19267 * wid-edit.el (widget-checklist-match-inline):
19268 Fix 2011-04-19 change. (Bug#8649)
19270 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19273 Also allow singlespace after single-letter capitals followed by a dot.
19275 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19276 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19278 2011-05-20 Nix <nix@esperi.org.uk>
19280 * files.el (basic-save-buffer-2):
19281 Fix handling of break-hardlink-on-save with non-existent files.
19283 2011-05-19 Deniz Dogan <deniz@dogan.se>
19285 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19286 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19288 2011-05-19 Glenn Morris <rgm@gnu.org>
19290 * progmodes/f90.el (f90-type-def-re):
19291 Handle "type, bind(c)". (Bug#8691)
19293 * emacs-lisp/autoload.el (batch-update-autoloads):
19294 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19296 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19298 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19299 property for the correct connection in case of multihops.
19301 2011-05-18 Glenn Morris <rgm@gnu.org>
19303 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19304 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19306 Rationalize calendar handling of day and month abbrev-arrays.
19307 * calendar/calendar.el (calendar-customized-p): New function.
19308 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19309 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19311 (calendar-abbrev-length, calendar-day-abbrev-array)
19312 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19313 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19314 Elements may no longer be nil.
19315 (calendar-day-name, calendar-month-name):
19316 Update for changed nature of abbrev arrays.
19317 * calendar/diary-lib.el (diary-name-pattern):
19318 Update for changed nature of abbrev arrays.
19319 (diary-mark-entries-1): Update calendar-make-alist calls.
19320 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19321 * calendar/cal-html.el (cal-html-day-abbrev-array):
19322 Simply inherit from calendar-day-abbrev-array.
19324 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * progmodes/grep.el (grep-mode): Disable default
19327 compilation-directory-matcher setting (bug#8684).
19329 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19331 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19332 instead of "head" and "tail". There were problems with SunOS 5.9,
19333 and it performs better.
19335 2011-05-17 Glenn Morris <rgm@gnu.org>
19337 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19339 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19340 Replace obsolete function.
19342 * shell.el (pcomplete-parse-arguments-function): Declare.
19344 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19345 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19346 (appt-check): Doc fixes.
19347 (appt-disp-window-function, appt-delete-window-function):
19348 Remove needless special case in custom :type.
19349 (appt-display-count): Default to 0, not nil.
19350 (appt-check): Reset appt-display-count to 0, not nil.
19352 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19354 * progmodes/python.el (python-font-lock-keywords):
19355 Add the Python 3.X keyword "nonlocal" (bug#8639).
19357 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19359 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19361 2011-05-16 Kevin Ryde <user42@zip.com.au>
19363 * info-look.el (makefile-automake-mode): New setups, looking in
19364 automake manual, then makefile-mode.
19365 (makefile-mode): Remove automake manual, have it just in
19366 makefile-automake-mode since there's various things different or
19367 not relevant to plain make.
19368 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19369 believe a hypothetical automake-mode would go to makefile-mode,
19370 not the other way around.
19372 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19374 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19375 hunk-end tags (Bug#8672).
19377 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19378 vc-annotate-show-diff-revision-at-line (Bug#8671).
19380 2011-05-14 Glenn Morris <rgm@gnu.org>
19382 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19383 in the middle of an existing one with multiple authors. (Bug#8645)
19384 (change-log-font-lock-keywords): Also handle multiple author lines
19385 with leading tabs. (Bug#8644)
19387 * calendar/appt.el (appt-check): Rename some local variables.
19388 Some simplification/reordering.
19390 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19391 (feedmail-sendmail-f-doesnt-sell-me-out)
19392 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19393 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19394 (feedmail-queue-runner-message-sender): Set :version.
19395 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19396 (bbdb-dwim-net-address, vm-mail): Declare.
19397 (feedmail-binmail-gnulinuxish-template):
19398 Rename from feedmail-binmail-linuxish-template.
19399 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19400 Use insert-buffer-substring.
19402 2011-05-14 Bill Carpenter <bill@carpenter.org>
19404 * mail/feedmail.el (feedmail-patch-level): Increase.
19405 (feedmail-debug): New custom group.
19406 (feedmail-confirm-outgoing-timeout)
19407 (feedmail-sendmail-f-doesnt-sell-me-out)
19408 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19409 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19410 (feedmail-sender-line, feedmail-from-line)
19411 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19412 (feedmail-spray-this-address)
19413 (feedmail-spray-address-fiddle-plex-list)
19414 (feedmail-queue-use-send-time-for-date)
19415 (feedmail-queue-use-send-time-for-message-id)
19416 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19417 (feedmail-buffer-eating-function):
19419 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19420 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19421 (feedmail-message-action-scroll-down): New functions.
19422 (feedmail-queue-directory, feedmail-queue-draft-directory):
19423 Use expand-file-name.
19424 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19425 Remove C-v help entry.
19426 (feedmail-queue-buffer-file-name): New variable.
19427 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19428 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19429 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19430 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19431 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19432 (feedmail-message-action-toggle-spray)
19433 (feedmail-run-the-queue-no-prompts)
19434 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19435 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19436 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19437 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19438 (feedmail-envelope-deducer, feedmail-fiddle-from)
19439 (feedmail-fiddle-sender, feedmail-default-date-generator)
19440 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19441 (feedmail-fiddle-spray-address)
19442 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19443 (feedmail-fiddle-list-of-fiddle-plexes)
19444 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19445 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19446 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19447 Change default. Doc fix.
19448 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19449 (feedmail-binmail-linuxish-template): New constant.
19450 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19451 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19452 (feedmail-send-it): Add debug call.
19453 Use feedmail-queue-buffer-file-name, and
19454 feedmail-send-it-immediately-wrapper.
19455 (feedmail-message-action-send): Add debug call.
19456 Use feedmail-send-it-immediately-wrapper.
19457 (feedmail-queue-express-to-queue): Add debug call.
19458 Run feedmail-queue-express-hook.
19459 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19460 (feedmail-message-action-help-blat):
19461 Rename from feedmail-queue-send-edit-prompt-help-first.
19462 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19463 Check line-endings. Handle errors better.
19464 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19465 Doc fix. Add debug call.
19466 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19467 Use feedmail-queue-send-edit-prompt-inner.
19468 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19469 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19470 from feedmail-queue-send-edit-prompt.
19471 (feedmail-queue-send-edit-prompt-help)
19472 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19473 (feedmail-tidy-up-slug): Add debug call.
19474 Respect feedmail-queue-slug-suspect-regexp.
19475 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19476 (feedmail-dump-message-to-queue): Add debug call.
19477 Expand queue-directory.
19478 (feedmail-dump-message-to-queue): Change message slightly.
19479 Use feedmail-say-chatter.
19480 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19481 (feedmail-send-it-immediately-wrapper): New function.
19482 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19483 Insert empty string rather than newline. Handle full-frame case.
19484 Use catch/throw. Use feedmail-say-chatter.
19485 (feedmail-fiddle-from): Try mail-host-address.
19486 (feedmail-default-message-id-generator): Doc fix.
19487 Bind system-time-locale. Handle missing end.
19488 (feedmail-fiddle-x-mailer): Add debug call.
19489 Handle feedmail-x-mailer-line being nil.
19490 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19491 Add debug call. Use buffer-substring-no-properties.
19492 (feedmail-say-debug, feedmail-say-chatter): New functions.
19493 (feedmail-find-eoh): Give an explicit error.
19495 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19497 * net/newst-treeview.el (newsticker-treeview-face): Change default
19498 family from helvetica to sans.
19499 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19500 etc/images/newsticker.
19502 * net/newst-reader.el (newsticker-feed-face): Change default
19503 family from helvetica to sans.
19505 * net/newst-plainview.el (newsticker-new-item-face)
19506 (newsticker-old-item-face, newsticker-immortal-item-face)
19507 (newsticker-obsolete-item-face, newsticker-date-face)
19508 (newsticker-statistics-face): Change default family from
19510 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19511 etc/images/newsticker.
19513 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19514 (newsticker--process-auto-mark-filter-match): Tell user about
19517 2011-05-13 Didier Verna <didier@xemacs.org>
19519 Common Lisp indentation improvements on defmethod and lambda-lists.
19520 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19522 (lisp-lambda-list-keyword-parameter-indentation)
19523 (lisp-lambda-list-keyword-parameter-alignment)
19524 (lisp-lambda-list-keyword-alignment): New customizable user options.
19525 (lisp-indent-defun-method): Improve docstring.
19526 (extended-loop-p): Fix comment.
19527 (lisp-indent-lambda-list-keywords-regexp): New variable.
19528 (lisp-indent-lambda-list): New function.
19529 (lisp-indent-259): Use it.
19530 (lisp-indent-defmethod): Support for more than one
19531 method qualifier and properly indent methods lambda-lists.
19532 (defgeneric): Provide a missing common-lisp-indent-function property.
19534 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19536 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19537 bounds for the empty string (bug#8667).
19539 2011-05-13 Glenn Morris <rgm@gnu.org>
19541 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19543 * mail/sendmail.el (sendmail-program): Try executable-find first.
19544 (sendmail-send-it): `sendmail-program' cannot be unbound.
19546 * calendar/appt.el (appt-make-list): Simplify.
19547 (appt-time-msg-list): Doc fix.
19548 (appt-check): Change mode-line message at the time of the appointment.
19550 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19552 * progmodes/ld-script.el (ld-script-keywords)
19553 (ld-script-builtins): Update keywords list.
19555 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19557 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19559 * shell.el (shell-completion-vars): New function.
19561 * simple.el (read-shell-command): Use it.
19562 (blink-matching-open): No need for " [...]" in minibuffer-message.
19564 2011-05-12 Glenn Morris <rgm@gnu.org>
19566 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19567 (appt-check): Simplify.
19569 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19571 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19572 literal "/dev/null".
19574 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19576 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19579 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19581 * progmodes/which-func.el (which-function):
19582 Use add-log-current-defun instead of add-log-current-defun-function,
19583 which might not be defined (Bug#8260).
19585 2011-05-12 Glenn Morris <rgm@gnu.org>
19587 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19588 Let byte-compile-initial-macro-environment always take precedence.
19590 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19592 * net/rcirc.el: Add support for SSL/TLS connections.
19593 (rcirc-server-alist): New field `encryption'.
19594 (rcirc): Check `encryption' settings.
19595 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19596 Merge make-local-variable into `set'.
19597 (rcirc--connection-open-p): New function.
19598 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19599 the process is not a network process (e.g. running gnutls-cli).
19600 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19601 Make rcirc-(en|de)code-coding-system local here.
19602 (rcirc-mode): Merge make-local-variable into `set'.
19603 (rcirc-parent-buffer): Make permanent buffer-local.
19604 (rcirc-multiline-minor-mode): Don't do it here.
19605 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19606 there's no server buffer.
19608 2011-05-11 Glenn Morris <rgm@gnu.org>
19610 * newcomment.el (comment-kill): Prefix "unused" local.
19612 * term/w32console.el (get-screen-color): Declare.
19614 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19615 Handle symbol elements of byte-compile-initial-macro-environment.
19617 2011-05-10 Leo Liu <sdl.web@gmail.com>
19619 * bookmark.el (bookmark-bmenu-mode-map):
19620 Bind bookmark-bmenu-search to `/'.
19622 * mail/footnote.el: Convert to utf-8 encoding.
19623 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19624 (Footnote-unicode): New function.
19625 (footnote-style-alist): Add unicode style to the list.
19626 (footnote-style): Doc fix.
19628 2011-05-10 Jim Meyering <meyering@redhat.com>
19630 Fix doubled-word typos.
19631 * international/quail.el (quail-insert-kbd-layout): and and -> and
19632 * kermit.el: and and -> and
19633 * net/ldap.el (ldap-search-internal): to to -> to
19634 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19635 * progmodes/js.el (js-mode): and and -> and
19636 * textmodes/artist.el (artist-move-to-xy): at at -> at
19637 (artist-draw-region-trim-line-endings): if if -> if
19638 And Safetyc -> Safety.
19639 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19641 2011-05-10 Glenn Morris <rgm@gnu.org>
19642 Stefan Monnier <monnier@iro.umontreal.ca>
19644 * files.el (hack-one-local-variable-eval-safep):
19645 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19647 2011-05-10 Glenn Morris <rgm@gnu.org>
19649 * calendar/diary-lib.el (diary-list-entries-hook)
19650 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19651 (diary-nongregorian-marking-hook, diary-list-entries)
19652 (diary-include-other-diary-files, diary-mark-entries)
19653 (diary-mark-included-diary-files): Doc fixes.
19655 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19657 * misc.el: Require tabulated-list.el during compilation.
19659 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19661 * progmodes/compile.el (compilation-start):
19662 Run compilation-filter-hook for the async case too.
19663 (compilation-filter-hook): Doc fix.
19665 2011-05-09 Deniz Dogan <deniz@dogan.se>
19667 * wdired.el: Remove outdated installation comment. Fix usage
19670 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19672 * misc.el: Implement new command `list-dynamic-libraries'.
19673 (list-dynamic-libraries--loaded-only-p): New variable.
19674 (list-dynamic-libraries--refresh): New function.
19675 (list-dynamic-libraries): New command.
19677 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19679 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19680 Fix the ant regexp to handle end-line and end-column info from jikes.
19681 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19682 higher priority to avoid clobbering by gnu.
19684 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19686 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19687 if the face has existing theme settings (Bug#8454).
19689 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19691 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19692 Only match variables declared via `my' or `our' (Bug#8261).
19694 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19695 special file names `.' and `..' (Bug#8259).
19697 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19699 * progmodes/grep.el (grep-mode-font-lock-keywords):
19700 Remove buffer-changing entries.
19701 (grep-filter): New function.
19702 (grep-mode): Add it to compilation-filter-hook.
19704 * progmodes/compile.el (compilation-filter-hook)
19705 (compilation-filter-start): New defvars.
19706 (compilation-filter): Call compilation-filter-hook prior to
19707 updating the process mark.
19709 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19711 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19713 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19715 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19716 mailclient-send-it even if window-system is nil. (Bug#8595)
19718 * term/w32console.el (terminal-init-w32console):
19719 Call get-screen-color and use its output to set the frame
19720 background-mode. (Bug#8597)
19722 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19724 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19725 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19727 (defgeneric, eieio--defmethod): Use them.
19728 (eieio-defgeneric): Remove.
19729 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19731 2011-05-07 Glenn Morris <rgm@gnu.org>
19733 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19734 Use let rather than let*.
19735 (timeclock-find-discrep): Remove unused local.
19737 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19739 * calendar/appt.el (appt-time-msg-list): Doc fix.
19741 2011-05-06 Noah Friedman <friedman@splode.com>
19743 * apropos.el (apropos-print-doc): Only use
19744 emacs-lisp-docstring-fill-column when it is bound to an integer,
19745 per that variable's documentation.
19747 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19749 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19750 and warnings are not silently discarded (e.g. use -d instead of -P).
19752 2011-05-06 Glenn Morris <rgm@gnu.org>
19754 * calendar/appt.el (appt-message-warning-time): Doc fix.
19755 (appt-warning-time-regexp): New option.
19756 (appt-make-list): Respect appt-message-warning-time.
19758 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19760 (diary-add-to-list): Strip comments from the displayed string.
19761 (diary-mode): Set comment-start and comment-end.
19763 * vc/diff-mode.el (smerge-refine-subst): Declare.
19764 (diff-refine-hunk): Don't require smerge-mode when compiling.
19766 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19768 * simple.el (list-processes): Return nil as the docstring says.
19770 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19772 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19774 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19775 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19776 determining of binary transfer. (Bug#7383)
19778 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19781 Fix port computation bug. (Bug#8618)
19783 2011-05-05 Glenn Morris <rgm@gnu.org>
19785 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19787 * simple.el (shell-dynamic-complete-functions)
19788 (comint-dynamic-complete-functions): Declare.
19790 * net/network-stream.el (gnutls-negotiate):
19791 * simple.el (tabulated-list-print): Fix declarations.
19793 * progmodes/gud.el (syntax-symbol, syntax-point):
19794 Remove unnecessary and incorrect declarations.
19796 * emacs-lisp/check-declare.el (check-declare-scan):
19797 Handle byte-compile-initial-macro-environment in bytecomp.el.
19799 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19801 Fix earlier half-done eieio-defmethod change (bug#8338).
19802 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19803 Streamline and change calling convention.
19804 (defmethod): Adjust accordingly and simplify.
19805 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19806 new eieio--defmethod.
19807 (slot-boundp): Minor CSE simplification.
19809 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19811 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19812 (glasses-make-readable): Use glasses-separate-capital-groups.
19814 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19816 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19817 (warning-series): Doc fix.
19818 (display-warning): Don't try to create the buffer if we just found it.
19820 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19822 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19823 (autoload-find-generated-file): New function.
19824 (generate-file-autoloads): Bind generated-autoload-file to
19826 (update-file-autoloads, update-directory-autoloads):
19827 Use autoload-find-generated-file. If called interactively, prompt for
19828 output file (Bug#7989).
19829 (batch-update-autoloads): Doc fix.
19831 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19833 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19835 2011-05-04 Glenn Morris <rgm@gnu.org>
19837 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19838 function, so it follows changes in calendar-date-style.
19839 (diary-fancy-date-matcher): New function.
19840 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19841 (diary-fancy-font-lock-fontify-region-function):
19842 Use diary-fancy-date-pattern as a function.
19844 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19845 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19847 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19849 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19850 instead of positional arguments. Allow :keylist and :crlfiles
19852 (open-gnutls-stream): Call it.
19854 * net/network-stream.el (network-stream-open-starttls): Adjust to
19855 call `gnutls-negotiate' with :process and :hostname arguments.
19857 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19859 * minibuffer.el (completion--message): New function.
19860 (completion--do-completion, minibuffer-complete)
19861 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19862 (completion--do-completion): Don't ignore completion-auto-help when in
19865 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19866 internal encoding (e.g. tibetan zero is not whitespace).
19867 (global-whitespace-mode): Prefer save-current-buffer.
19868 (whitespace-trailing-regexp): Remove useless save-match-data.
19869 (whitespace-empty-at-bob-regexp): Minor simplification.
19871 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19873 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19875 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19877 * textmodes/ispell.el (ispell-add-per-file-word-list):
19878 Use `concat' to create string for insertion.
19880 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19882 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19883 Avoid open-line which runs post-self-insert-hook.
19884 (bibtex-fill-entry): Remove unused `end' var.
19886 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19888 * textmodes/ispell.el (ispell-add-per-file-word-list):
19889 Protect against `nil' value of `comment-start' (Bug#8579).
19891 2011-05-03 Leo Liu <sdl.web@gmail.com>
19893 * isearch.el (isearch-yank-pop): New command.
19894 (isearch-mode-map): Bind it to `M-y'.
19895 (isearch-forward): Mention it.
19897 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19899 * simple.el (minibuffer-complete-shell-command): Remove.
19900 (minibuffer-local-shell-command-map): Use completion-at-point.
19901 (read-shell-command): Setup completion vars here instead.
19902 (read-expression-map): Bind TAB to symbol completion.
19904 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19905 error directly rather via storing it into `results'.
19907 2011-05-02 Leo Liu <sdl.web@gmail.com>
19909 * vc/diff.el: Fix description.
19911 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19913 * server.el (server-eval-at): New function.
19915 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19917 * net/network-stream.el (open-network-stream): Take a :nowait
19918 parameter and pass it on to `make-network-process'.
19919 (network-stream-open-plain): Ditto.
19921 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19923 * faces.el (face-spec-set-match-display): Don't match toolkit
19924 options on terminal frames.
19926 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19928 * progmodes/pascal.el: Use lexical binding.
19929 (pascal-mode-map): Remove author preferences.
19931 * pcomplete.el (pcomplete-std-complete): Don't abuse
19932 completion-at-point.
19934 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19936 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19937 removing code that has been dead since 1991 or so.
19939 * startup.el (command-line): When warning about "_emacs", use a
19940 delayed warning to allow the user to filter it out.
19942 2011-04-28 Deniz Dogan <deniz@dogan.se>
19944 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19945 user has not joined.
19947 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19949 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19950 aren't any completions at point.
19952 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19954 * subr.el (display-delayed-warnings): New function.
19955 (delayed-warnings-hook): New variable.
19957 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19959 * minibuffer.el (completion-at-point, completion-help-at-point):
19960 Don't presume that a given completion-at-point-function will always
19961 use the same calling convention.
19963 * pcomplete.el (pcomplete-completions-at-point):
19964 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19965 pcomplete-seen is non-nil.
19966 (pcomplete-comint-setup): Also recognize the new comint/shell
19967 completion functions.
19968 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19969 pcomplete-seen is non-nil.
19971 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19973 * calendar/icalendar.el (diary-lib): Add require statement.
19974 (icalendar--create-uid): Read out a uid from a text-property on
19975 the first character in the entry. This allows for code to add its
19976 own uid to the entry.
19977 (icalendar--convert-float-to-ical): Add export of
19978 `diary-float'-entries save for those with the optional DAY
19981 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19983 * subr.el (shell-quote-argument): Use alternate escaping strategy
19984 when we spot a variable reference in a string.
19986 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19988 * cus-start.el (all): Define customization for debug-on-event.
19990 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19992 * subr.el (shell-quote-argument): Escape correctly under Windows.
19994 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19996 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19998 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20000 * net/tramp.el (tramp-process-actions): Add POS argument.
20001 Delete region between POS and (pos).
20003 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20004 Use `nil' position in `tramp-process-actions' call.
20005 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20007 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20008 position in `tramp-process-actions' call.
20010 * net/trampver.el: Update release number.
20012 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20014 * custom.el (defcustom): Obey lexical-binding.
20016 Fix octave-inf completion problems reported by Alexander Klimov.
20017 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20018 Inherit from octave-mode-syntax-table.
20019 (inferior-octave-mode): Set info-lookup-mode.
20020 (inferior-octave-completion-at-point): New function.
20021 (inferior-octave-complete): Use it and completion-in-region.
20022 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20023 comint-filename-completion.
20024 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20025 symbol elements which shouldn't be word elements.
20026 (octave-font-lock-keywords, octave-beginning-of-defun)
20027 (octave-function-header-regexp): Adjust regexps accordingly.
20028 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20030 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20032 * net/gnutls.el (gnutls-errorp): Declare before first use.
20034 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20036 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20037 verify-error, and verify-hostname-error parameters. Check whether
20038 default trustfile exists before going to use it. Add missing
20039 argument to gnutls-message-maybe call. Return value.
20040 Reported by Claudio Bley <claudio.bley@gmail.com>.
20041 (open-gnutls-stream): Add usage example.
20043 * net/network-stream.el (network-stream-open-starttls): Give host
20044 parameter to `gnutls-negotiate'.
20045 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20046 * subr.el (shell-quote-argument): Escape correctly under Windows.
20048 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20050 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20051 Use correct match group (bug#8438).
20053 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20055 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20056 (package-menu--generate): New arg specifying packages to show.
20057 (package-menu-refresh, package-menu-execute, list-packages):
20059 (package-show-package-list): New function, replacing deleted
20060 package--list-packages (renamed because it is non-internal).
20062 * finder.el (finder-list-matches): Use package-show-package-list
20063 instead of deleted package--list-packages.
20065 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20066 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20067 (vc-annotate-mode-map): Bind it to RET.
20069 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20071 * progmodes/etags.el (next-file): Don't use set-buffer to change
20072 buffers (Bug#8478).
20074 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20076 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20078 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20079 (apropos-accumulator): Doc fix.
20080 (apropos-function, apropos-macro, apropos-command)
20081 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20082 (apropos-plist): Add face property.
20083 (apropos-symbols-internal): Fix indentation.
20084 (apropos-print): Simplify help, and recognize apropos-multi-type.
20085 (apropos-print-doc): Use button-type-get to extract the button's
20086 face property. Fill docstring (Bug#8352).
20088 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20090 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20092 * play/mpuz.el (mpuz-silent): Doc fix.
20093 (mpuz-mode-map): Use mapc.
20094 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20095 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20096 Fix typos in docstrings.
20098 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20099 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20101 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20103 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20105 * minibuffer.el (completion--do-completion): Avoid the "Next char
20106 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20108 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20109 mouse-2 into unread-command-events, it is interpreted correctly.
20111 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20112 (image-toggle-display): Doc fix.
20114 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20116 * textmodes/page.el (what-page): Use line-number-at-pos to
20117 calculate line number (Bug#6825).
20119 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20121 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20122 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20123 Pass argument NO-DEFAULT to `find-tag-interactive'.
20125 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20127 Lexical-binding cleanup.
20129 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20130 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20131 * progmodes/ada-prj.el (ada-prj-initialize-values)
20132 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20133 (ada-prj-show-value):
20134 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20135 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20136 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20137 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20138 * progmodes/bug-reference.el (bug-reference-push-button):
20139 * progmodes/fortran.el (fortran-line-length):
20140 * progmodes/glasses.el (glasses-change):
20141 * progmodes/octave-mod.el (octave-fill-paragraph):
20142 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20143 (python-pdbtrack-grub-for-buffer, python-sentinel):
20144 * progmodes/sql.el (sql-save-connection):
20145 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20146 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20147 Mark unused parameters.
20149 * progmodes/compile.el (compilation--flush-directory-cache)
20150 (compilation--flush-parse, compile-internal): Mark unused parameters.
20151 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20152 (compilation-next-error-function): Remove unused variable `timestamp'.
20154 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20155 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20157 * progmodes/dcl-mode.el (dcl-end-of-command):
20158 Remove unused variable `start'.
20159 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20160 (dcl-option-value-basic, dcl-option-value-offset)
20161 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20162 Mark unused parameters.
20163 (dcl-save-local-variable): Remove unused variable `val'.
20166 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20167 Mark unused parameters.
20168 (delphi-ignore-changes): Move before first use.
20169 (delphi-charset-token-at): Remove unused variable `start'.
20170 (delphi-else-start): Remove unused variable `if-count'.
20171 (delphi-comment-block-start, delphi-comment-block-end):
20172 Remove unused variable `kind'.
20173 (delphi-indent-line): Remove unused variable `new-point'.
20175 * progmodes/ebrowse.el (ebrowse-files-list)
20176 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20177 Mark unused parameters. Don't quote `lambda'.
20178 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20179 Don't quote `lambda'.
20180 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20181 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20182 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20183 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20184 Use `ignore-errors'.
20185 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20186 (ebrowse-view/find-file-and-search-pattern)
20187 (ebrowse-view/find-member-declaration/definition):
20188 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20189 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20190 Rename parameter PREFIX-ARG to PREFIX.
20191 (ebrowse-tags-read-name): Remove unused variables `start' and
20193 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20196 * progmodes/etags.el (local-find-tag-hook): Declare.
20197 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20198 Mark unused parameters.
20200 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20201 (executable-interpret): Mark unused parameter.
20203 * progmodes/flymake.el (flymake-process-sentinel)
20204 (flymake-after-change-function)
20205 (flymake-create-temp-with-folder-structure)
20206 (flymake-get-include-dirs-dot): Mark unused parameters.
20207 (flymake-safe-delete-directory): Remove unused variable `err'.
20209 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20210 (speedbar-timer-fn, speedbar-line-text)
20211 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20212 (speedbar-center-buffer-smartly): Declare functions.
20213 (gdb-find-watch-expression): Remove unused variable `array'.
20214 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20215 (gdb-starting): Mark unused parameters.
20216 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20217 (gdb-table-string): Remove unused variable `res'.
20218 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20219 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20220 (gdb-display-buffer): Remove unused variable `cur-size'.
20222 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20223 allow lexical-binding compilation.
20224 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20225 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20226 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20227 Mark unused parameters.
20228 (gud-gdb-marker-filter): Remove unused variable `match'.
20229 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20230 lambda expressions and funcall them, instead of using `fset'.
20232 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20233 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20235 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20236 variable `header-beg'; use `let'.
20238 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20239 `restart', `last-sexp' and `at-do'.
20241 * progmodes/js.el (js--debug): Mark unused parameter.
20242 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20243 (js--splice-into-items): Remove unused variable `item'.
20244 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20246 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20247 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20248 (makefile-complete): Remove unused variable `try'.
20249 (makefile-fill-paragraph, makefile-match-function-end):
20250 Mark unused parameters.
20252 * progmodes/octave-inf.el (inferior-octave-complete):
20253 Remove unused variable `proc'.
20254 (inferior-octave-output-digest): Mark unused parameter.
20256 * progmodes/perl-mode.el (perl-calculate-indent):
20257 Remove unused variable `err'.
20259 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20260 (prolog-indent-line): Mark unused parameters.
20261 (prolog-indent-line): Remove unused variable `beg'.
20263 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20264 (reporter-dont-compact-list): Declare.
20266 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20267 Remove unused variable `char'.
20268 (sh-debug): Mark unused parameter.
20269 (sh-get-indent-info): Remove unused variable `start'.
20270 (sh-calculate-indent): Remove unused variable `var'.
20272 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20273 (simula-electric-keyword): Remove unused variable `null'.
20274 (simula-search-backward, simula-search-forward): Remove unused
20275 variables `begin' and `end'.
20277 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20278 Remove unused variable `pos'.
20279 (vera-electric-tab, vera-comment-uncomment-region):
20280 Mark unused parameters.
20281 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20283 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20285 * emacs-lisp/package.el (package--builtins, package-alist)
20286 (package-load-descriptor, package-built-in-p, package-activate)
20287 (define-package, package-installed-p)
20288 (package-compute-transaction, package-buffer-info)
20289 (package--push): Doc fix. Distinguish more clearly between
20290 version strings and version lists.
20292 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20294 Lexical-binding cleanup.
20296 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20297 (5x5-make-mutate-best):
20298 * play/fortune.el (fortune-in-buffer):
20299 * play/gomoku.el (gomoku-init-display):
20300 * play/solitaire.el (solitaire, solitaire-do-check):
20301 * play/tetris.el (tetris-default-update-speed-function):
20302 Mark unused parameters.
20304 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20305 (bubbles--shift): Remove unused variable `char-org'.
20306 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20307 (bubbles--show-images): Remove unused variable `char'.
20309 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20310 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20311 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20312 (decipher-analyze-buffer): Use ?\s.
20313 (decipher-make-checkpoint): Remove unused variable `mapping'.
20315 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20317 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20318 Remove unused variable `result'; use `let'.
20320 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20321 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20322 (gametree-children-shown-p, gametree-compute-reduced-score):
20323 Use `ignore-errors'.
20325 * play/handwrite.el (ps-lpr-switches): Declare.
20326 (handwrite): Remove unused variables `pmin' and `lastp'.
20328 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20330 * play/landmark.el (landmark-init-display)
20331 (landmark-update-naught-weights): Mark unused parameters.
20332 (landmark-y): Remove unused variable `noise'. Simplify.
20333 (landmark-human-plays): Remove unused variable `score'.
20335 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20336 (mpuz-try-proposal): Remove unused variable `game'.
20338 * play/zone.el (life-patterns): Declare.
20340 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20342 * vc/vc.el (ediff-vc-internal): Declare function.
20344 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20346 * shell.el: Use lexical-binding and std completion UI.
20347 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20348 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20349 comint-preoutput-filter-functions rather than on
20350 comint-output-filter-functions.
20351 (shell-command-completion, shell--command-completion-data)
20352 (shell-filename-completion, shell-environment-variable-completion)
20353 (shell-c-a-p-replace-by-expanded-directory): New functions.
20354 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20355 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20356 (shell-dynamic-complete-environment-variable): Use them.
20357 (shell-dynamic-complete-as-environment-variable)
20358 (shell-dynamic-complete-as-command): Remove.
20359 (shell-match-partial-variable): Match past point.
20360 * comint.el: Clean up use of completion-at-point-functions.
20361 (comint-completion-at-point): New function.
20362 (comint-mode): Use it completion-at-point-functions.
20363 (comint-dynamic-complete): Make it obsolete.
20364 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20365 (comint-c-a-p-replace-by-expanded-history): New function.
20366 (comint-dynamic-complete-functions)
20367 (comint-replace-by-expanded-history): Use it.
20368 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20369 termination strings. Try harder to avoid second try-completion.
20370 (completion-in-region-mode-map): Disable bindings that don't work yet.
20372 * comint.el: Use lexical-binding. Require CL.
20373 (comint-dynamic-complete-functions): Use comint-filename-completion.
20374 (comint-completion-addsuffix): Tweak custom type.
20375 (comint-filename-completion, comint--common-suffix)
20376 (comint--common-quoted-suffix, comint--table-subvert)
20377 (comint--complete-file-name-data): New functions.
20378 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20379 (comint-dynamic-list-filename-completions): Use them.
20380 (comint-dynamic-simple-complete): Make obsolete.
20382 * minibuffer.el (completion-in-region-mode):
20383 Keep completion-in-region-mode--predicate global.
20384 (completion-in-region--postch):
20385 Assume completion-in-region-mode--predicate is not null.
20387 * progmodes/flymake.el (flymake-start-syntax-check-process):
20388 Obey `dir'. Simplify.
20390 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20391 we're in VC after all.
20393 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20395 * vc/vc.el (vc-diff-build-argument-list-internal)
20396 (vc-version-ediff, vc-ediff): New commands.
20397 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20399 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20401 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20404 * obsolete/erc-hecomplete.el: Make obsolete.
20405 * obsolete/: Standardize obsolescence info in the header.
20407 2011-04-20 Glenn Morris <rgm@gnu.org>
20409 * calendar/solar.el (solar-horizontal-coordinates):
20410 Use the longitude argument rather than `calendar-longitude'.
20411 (solar-date-next-longitude): Remove unused locals.
20413 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20415 * whitespace.el: New version 13.2.1.
20417 2011-04-20 felix <EmacsWiki> (tiny change)
20419 * whitespace.el (global-whitespace-mode): Keep highlight when
20420 switching between major modes on a file.
20422 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20424 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20425 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20426 multi-line comments as well.
20428 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20430 Lexical-binding cleanup.
20432 * arc-mode.el (archive-mode-revert):
20433 * cmuscheme.el (scheme-interactively-start-process):
20434 * custom.el (custom-initialize-delay):
20435 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20436 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20437 * emacs-lock.el (emacs-lock-clear-sentinel):
20438 * ezimage.el (defezimage):
20439 * follow.el (follow-avoid-tail-recenter):
20440 * fringe.el (set-fringe-mode-1):
20441 * generic-x.el (bat-generic-mode-compile):
20442 * help-mode.el (help-info-variable, help-do-xref)
20443 (help-mode-revert-buffer):
20444 * help.el (view-emacs-todo):
20445 * iswitchb.el (iswitchb-completion-help):
20446 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20447 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20448 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20449 * locate.el (locate-update):
20450 * longlines.el (longlines-encode-region)
20451 (longlines-after-change-function):
20452 * outline.el (outline-isearch-open-invisible):
20453 * ps-def.el (declare-function, charset-dimension, char-width)
20455 * ps-mule.el (ps-mule-plot-string):
20456 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20457 (recentf-edit-list-select, recentf-edit-list-validate)
20458 (recentf-open-files-action):
20459 * rect.el (delete-whitespace-rectangle-line)
20460 (rectangle-number-line-callback):
20461 * register.el (window-configuration-to-register)
20462 (frame-configuration-to-register):
20463 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20464 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20465 (xselect-convert-to-targets, xselect-convert-to-delete)
20466 (xselect-convert-to-filename, xselect-convert-to-charpos)
20467 (xselect-convert-to-lineno, xselect-convert-to-colno)
20468 (xselect-convert-to-os, xselect-convert-to-host)
20469 (xselect-convert-to-user, xselect-convert-to-class)
20470 (xselect-convert-to-name, xselect-convert-to-integer)
20471 (xselect-convert-to-atom, xselect-convert-to-identity):
20472 * subr.el (declare, ignore, process-kill-without-query)
20473 (text-clone-maintain):
20474 * terminal.el (te-get-char, te-tic-sentinel):
20475 * tool-bar.el (tool-bar-make-keymap):
20476 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20477 * type-break.el (type-break-mode, type-break-noninteractive-query):
20478 * view.el (View-back-to-mark):
20479 * wid-browse.el (widget-browse-action, widget-browse-widget)
20480 (widget-browse-widgets, widget-browse-sexp):
20481 * widget.el (define-widget-keywords):
20482 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20483 Mark unused parameters.
20485 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20486 (align-areas): Remove unused variable `look'.
20487 (align-region): Remove unused variables `real-end' and `pos-list'.
20489 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20491 * bindings.el (mode-line-modified, mode-line-remote):
20492 Mark unused parameters.
20493 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20495 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20496 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20498 * comint.el (comint-history-isearch-pop-state)
20499 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20500 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20501 (comint-substitute-in-file-name): Doc fix.
20503 * completion.el (cmpl-statistics-block): Mark unused parameter.
20504 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20505 (save-completions-to-file, load-completions-from-file):
20506 Remove unused local variable `e'.
20508 * composite.el (compose-chars): Remove unused variable `len'.
20509 (lgstring-insert-glyph): Remove unused variable `g'.
20510 (compose-glyph-string): Remove unused variables `ascent',
20511 `descent', `lbearing' and `rbearing'.
20512 (compose-glyph-string-relative): Remove unused variables
20513 `lbearing', `rbearing' and `wadjust'.
20514 (compose-gstring-for-graphic): Remove unused variables `header',
20515 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20516 (compose-gstring-for-terminal): Remove unused variables `header'
20517 and `nchars'. Use `let', not `let*'.
20519 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20520 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20521 (Custom-buffer-done, custom-buffer-create-internal)
20522 (custom-browse-visibility-action, custom-browse-group-tag-action)
20523 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20524 (widget-magic-mouse-down-action, custom-toggle-parent)
20525 (custom-add-parent-links, custom-toggle-hide-variable)
20526 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20527 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20528 (custom-face-menu-create, custom-variable-menu-create, get)
20529 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20530 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20531 (customize-apropos): Remove unused variable `tests'.
20532 (custom-group-value-create): Remove unused variable `hidden-p'.
20533 (sort-fold-case): Declare.
20535 * cus-theme.el (custom-reset-standard-faces-list)
20536 (custom-reset-standard-variables-list): Declare.
20537 (customize-create-theme, custom-theme-revert, custom-theme-write)
20538 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20539 Mark unused parameters.
20541 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20543 * delim-col.el (delimit-columns-max): Move defvar before first use.
20545 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20546 (describe-char): Don't quote `lambda'. Mark unused parameter.
20548 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20549 (auto-insert): Declare.
20550 (desktop-restore-file-buffer): Rename desktop-* parameters;
20552 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20553 (desktop-buffer): Rename desktop-* parameters.
20555 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20556 (dframe-reposition-frame-xemacs, dframe-help-echo)
20557 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20558 Mark unused parameters.
20560 * dired-aux.el (backup-extract-version-start, overwrite-query)
20561 (overwrite-backup-query, rename-regexp-query)
20562 (rename-non-directory-query): Declare.
20563 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20564 (dired-add-entry): Remove unused variable `orig-file-name'.
20565 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20566 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20567 `dired-copy-preserve-time' directly.
20568 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20569 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20571 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20572 (dired-virtual-revert, dired-make-relative-symlink):
20573 Mark unused parameters.
20574 (manual-program): Declare.
20575 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20576 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20577 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20579 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20581 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20583 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20586 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20588 * electric.el (Electric-command-loop): Rename parameter
20589 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20591 * expand.el (expand-in-literal): Remove unused variable `here'.
20593 * facemenu.el (facemenu-add-new-color):
20594 Remove unused variable `docstring'.
20596 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20597 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20598 (face-attr-construct): Mark unused parameter. Doc fix.
20599 (read-color): Remove unused variable `hex-string'.
20601 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20602 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20603 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20604 (display-buffer-other-frame): Remove unused variable `old-window'.
20605 (kill-buffer-hook): Declare.
20606 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20607 Mark unused parameters.
20608 (after-find-file): Pass 1 to `auto-save-mode', not t.
20610 * files-x.el (auto-insert): Declare.
20611 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20613 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20614 variable `buf'. Mark unused parameter.
20615 (find-lisp-insert-directory): Mark unused parameter.
20617 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20618 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20619 (format-common-tail): Remove, unused.
20620 (format-deannotate-region): Remove unused variable `loc'.
20621 (format-annotate-region): Remove unused variable `p'.
20622 (format-annotate-single-property-change): Remove unused variables
20623 `default' and `tail'.
20625 * forms.el (read-file-filter): Declare.
20626 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20628 * frame.el (frame-creation-function-alist): Mark unused parameter.
20629 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20631 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20632 Remove unused parameters.
20633 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20634 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20636 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20637 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20638 (hfy-prepare-tag-map): Mark unused parameters.
20639 (htmlfontify-buffer): Use `called-interactively-p'.
20641 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20642 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20643 (ibuffer-do-occur): Mark unused parameters.
20644 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20645 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20647 * ibuffer.el: Don't quote `lambda'.
20648 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20649 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20650 Mark unused parameters.
20652 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20653 (ido-completing-read): Mark unused parameters.
20654 (ido-copy-current-word): Mark unused parameters;
20655 remove unused variable `name'.
20656 (ido-sort-merged-list): Remove unused parameter `dirs'.
20658 * ielm.el (ielm-input-sender): Mark unused parameter.
20659 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20660 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20661 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20662 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20663 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20665 * image-dired.el (image-dired-display-thumbs): Remove unused
20666 variables `curr-file' and `count'.
20667 (image-dired-remove-tag): Remove unused variable `start'.
20668 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20669 variable `curr-file'
20670 (image-dired-rotate-original): Remove unused variable `temp-file'.
20671 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20672 Remove unused variable `file'.
20673 (image-dired-gallery-generate): Remove unused variable `curr'.
20674 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20676 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20678 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20680 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20682 * isearch.el (minibuffer-history-symbol): Declare.
20683 (isearch-edit-string): Remove unused variable `err'.
20684 (isearch-message-prefix, isearch-message-suffix):
20685 Mark unused parameters.
20687 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20689 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20691 * makesum.el (double-column): Remove unused variable `cnt'.
20693 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20694 (ido-ignore-item-temp-list): Declare.
20696 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20697 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20698 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20699 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20702 * mouse-sel.el (mouse-extend-internal):
20703 Remove unused variable `orig-window-frame'.
20705 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20706 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20707 Move declarations before first use.
20708 (pcomplete-opt): Mark unused parameters; doc fix.
20710 * proced.el (proced-revert): Mark unused parameter.
20711 (proced-send-signal): Remove unused variable `err'.
20713 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20714 Rename parameter PREFIX-ARG to ARG.
20715 (ps-basic-plot-string, ps-basic-plot-whitespace):
20716 Mark unused parameters.
20718 * replace.el (replace-count): Define.
20719 (occur-revert-function): Mark unused parameters.
20720 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20721 (isearch-case-fold-search, isearch-string): Declare.
20722 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20723 bind `case-fold-search'. Remove unused variables `beg' and `end',
20725 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20726 COUNT and bind `replace-count'.
20727 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20730 * savehist.el (print-readably, print-string-length): Declare.
20732 * shadowfile.el (shadow-expand-cluster-in-file-name):
20733 Remove unused variable `cluster'.
20734 (shadow-copy-file): Remove unused variable `i'.
20735 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20736 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20737 (shadow-define-literal-group, shadow-define-regexp-group)
20738 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20740 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20741 (shell): Use `called-interactively-p'.
20742 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20744 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20745 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20746 (delete-backward-char): Remove unused variable `ocol'.
20747 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20748 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20749 (event-apply-hyper-modifier, event-apply-shift-modifier)
20750 (event-apply-control-modifier, event-apply-meta-modifier):
20751 Mark unused parameters.
20752 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20753 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20755 * speedbar.el (speedbar-ignored-directory-expressions)
20756 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20757 (speedbar-find-file, speedbar-dir-follow)
20758 (speedbar-directory-buttons-follow, speedbar-tag-find)
20759 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20760 (speedbar-buffers-line-directory, speedbar-buffer-click):
20761 Mark unused parameters.
20762 (speedbar-tag-file): Remove unused variable `mode'.
20763 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20765 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20767 * talk.el (talk): Remove unused variable `display'.
20769 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20770 (tar-write-region-annotate): Mark unused parameter.
20772 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20773 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20774 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20775 warning by another.
20777 * time-stamp.el (time-stamp-string-preprocess):
20778 Remove unused variable `require-padding'.
20780 * tree-widget.el (widget-glyph-enable): Declare.
20781 (tree-widget-action): Mark unused parameter.
20783 * w32-fns.el (x-get-selection): Mark unused parameter.
20784 (autoload-make-program, generated-autoload-file): Declare.
20786 * wdired.el (wdired-revert): Mark unused parameters.
20787 (wdired-xcase-word): Remove unused variable `err'.
20789 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20790 (whitespace-help-scroll): Remove unused variable `data-help'.
20792 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20793 (widget-image-insert, widget-after-change, default)
20794 (widget-default-format-handler, widget-default-notify)
20795 (widget-default-prompt-value, widget-info-link-action)
20796 (widget-url-link-action, widget-function-link-action)
20797 (widget-variable-link-action, widget-file-link-action)
20798 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20799 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20800 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20801 (widget-insert-button-action, widget-delete-button-action, visibility)
20802 (widget-documentation-link-action, widget-documentation-string-action)
20803 (widget-const-prompt-value, widget-regexp-match, symbol)
20804 (widget-coding-system-prompt-value)
20805 (widget-key-sequence-value-to-external, sexp)
20806 (widget-sexp-value-to-internal, character, vector, cons)
20807 (widget-choice-prompt-value, widget-boolean-prompt-value)
20808 (widget-color--choose-action): Mark unused parameters.
20809 (widget-item-match-inline, widget-choice-match-inline)
20810 (widget-checklist-match, widget-checklist-match-inline)
20811 (widget-group-match): Rename parameter VALUES to VALS.
20812 (widget-field-value-set): Remove unused variable `size'.
20813 (widget-color-action): Remove unused variables `value' and `start'.
20815 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20816 variable `dir'. Doc fix.
20817 (windmove-find-other-window): Don't pass it.
20819 * window.el (count-windows): Mark unused parameter.
20820 (bw-adjust-window): Remove unused variable `err'.
20822 * woman.el (woman-file-name): Remove unused variable `default'.
20823 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20824 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20825 (global-font-lock-mode): Declare.
20826 (woman-decode-region): Mark unused parameter.
20827 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20829 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20830 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20831 (x-dnd-handle-moz-url): Remove unused variable `title'.
20832 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20834 * xml.el (xml-parse-tag, xml-parse-attlist):
20835 Remove unused variable `pos'.
20837 2011-04-19 Glenn Morris <rgm@gnu.org>
20839 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20840 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20841 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20842 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20843 * calendar/cal-html.el (cal-html-insert-minical):
20844 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20845 (calendar-mark-date-pattern):
20846 Prefix "unused" locals.
20848 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20849 optional argument `style'.
20851 * calendar/appt.el (appt-make-list):
20852 * calendar/cal-china.el (calendar-chinese-date-string):
20853 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20854 (diary-hebrew-yahrzeit):
20855 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20856 * calendar/calendar.el (calendar-generate-window):
20857 * calendar/time-date.el (time-to-days):
20858 Remove unused local variables.
20860 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20862 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20863 glyphless-char-display table.
20864 (tabulated-list-glyphless-char-display): New var.
20866 2011-04-18 Sam Steingold <sds@gnu.org>
20868 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20869 to acknowledgments.
20871 2011-04-17 Glenn Morris <rgm@gnu.org>
20873 * calendar/diary-lib.el (diary-sexp-entry):
20874 * calendar/holidays.el (holiday-sexp):
20875 Set debug-on-error rather than the removed stack-trace-on-error.
20877 2011-04-16 Glenn Morris <rgm@gnu.org>
20879 * progmodes/f90.el: Use lexical-binding.
20880 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20882 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20884 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20885 (mail-mode): Setup mailalias completion here instead.
20886 * mail/mailalias.el: Use lexical-binding.
20887 (pattern, mailalias-done): Declare dynamic.
20888 (mail-completion-at-point-function): New function, from mail-complete.
20889 (mail-complete): Use it.
20890 (mail-completion-expand): New function.
20891 (mail-get-names): Use it.
20892 (mail-directory, mail-directory-process, mail-directory-stream):
20893 Don't use `pattern' for lexically bound arg.
20895 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20897 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20898 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20899 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20901 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20902 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20903 (byte-interactive-p): Define them again, for use when inlining
20906 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20908 * loadup.el: Use `string-to-number', not `string-to-int'.
20910 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20912 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20913 gud-gdb-complete-command.
20914 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20915 (gud-gdb-completion-at-point): New function.
20916 (gud-gdb-completions): Remove.
20918 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20920 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20921 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20922 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20923 whether `executable-find' is bound.
20925 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20927 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20929 * minibuffer.el (completion-in-region-mode-predicate)
20930 (completion-in-region-mode--predicate): New vars.
20931 (completion-in-region, completion-in-region--postch)
20932 (completion-in-region-mode): Use them.
20933 (completion--capf-wrapper): Also return the hook function.
20934 (completion-at-point, completion-help-at-point):
20935 Adjust and provide a predicate.
20937 Preserve arg names for advice of subr and lexical functions (bug#8457).
20938 * help-fns.el (help-function-arglist): Consolidate the subr and
20939 new-byte-code cases. Add argument `preserve-names' to extract names
20940 from the docstring when needed.
20941 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20942 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20943 (ad-arglist): Use help-function-arglist's new arg.
20944 (ad-definition-type): Use cond.
20946 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20948 * autorevert.el (auto-revert-handler):
20949 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20950 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20951 Don't quote lambda.
20953 * image-mode.el (image-transform-set-scale):
20954 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20956 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20958 * net/network-stream.el (network-stream-open-starttls): Only do
20959 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20960 Upgrades via gnutls-cli are too slow to be done opportunistically.
20962 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20964 * dframe.el (dframe-current-frame): Remove spurious quote.
20966 2011-04-12 Glenn Morris <rgm@gnu.org>
20968 * calendar/cal-tex.el (cal-tex-end-document):
20969 Try to automatically use latin1 input if needed.
20971 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20972 Don't try to cons a mark onto an empty element.
20974 2011-04-11 Leo Liu <sdl.web@gmail.com>
20976 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20978 (ido-kill-buffer-at-head): Support killing virtual buffers.
20980 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20982 * minibuffer.el (completion-show-inline-help): New var.
20983 (completion--do-completion, minibuffer-complete)
20984 (minibuffer-force-complete, minibuffer-complete-word):
20985 Inhibit minibuffer messages if completion-show-inline-help is nil.
20987 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20988 to avoid interference from inline help (Bug#5849).
20990 2011-04-10 Leo Liu <sdl.web@gmail.com>
20992 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20995 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20997 * image-mode.el (image-toggle-display-image): Signal an error if
20999 (image-transform-mode, image-transform-resize)
21000 (image-transform-set-rotation): Doc fix.
21001 (image-transform-set-resize): Delete.
21002 (image-transform-set-scale, image-transform-fit-to-height)
21003 (image-transform-fit-to-width): Handle image-toggle-display-image
21004 and image-transform-resize directly.
21006 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21008 * doc-view.el (doc-view-fit-width-to-window)
21009 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21010 New functions for fitting the shown image to the Emacs window size.
21011 (doc-view-mode-map): Add bindings for the new functions.
21013 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21015 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21016 Fix typo in docstring.
21018 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21020 * files.el (file-size-human-readable): Produce one digit after
21021 decimal, like "ls -lh" does.
21023 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21024 the file size representation.
21026 * simple.el (list-processes): If async subprocesses are not
21027 available, error out with a clear error message.
21029 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21031 * help.el (help-form-show): New function, to be called from C.
21032 Put help-form output in a buffer named differently than *Help*.
21034 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21036 * files.el (file-size-human-readable): New function.
21038 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21039 computing the representation inline. Don't require `cl'.
21041 2011-04-08 Glenn Morris <rgm@gnu.org>
21043 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21045 * net/browse-url.el (browse-url-firefox):
21046 Test system-type, not system-configuration.
21048 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21049 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21050 Use log-edit-empty-buffer-p. (Bug#7598)
21052 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21053 (rlogin-mode-map): Initialize in the defvar.
21054 (rlogin): Use ignore-errors.
21056 * replace.el (occur-mode-map): Some fixes for menu items.
21058 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21060 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21062 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21064 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21065 issuing unused warnings.
21067 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21070 * simple.el: Lisp reimplement of list-processes. Based on an
21071 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21072 (process-menu-mode): New major mode.
21073 (list-processes--refresh, list-processes):
21074 (process-menu-visit-buffer): New functions.
21076 * files.el (save-buffers-kill-emacs): Don't assume any return
21077 value of list-processes, which is undocumented anyway.
21079 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21081 * emacs-lisp/tabulated-list.el: New file.
21083 * emacs-lisp/package.el: Use Tabulated List mode.
21084 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21085 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21086 table format using Tabulated List mode variables.
21087 (package--push): New macro, replacing package-list-maybe-add.
21088 (package-menu--generate): Use package--push. Renamed from
21089 package--generate-package-list.
21090 (package-menu-refresh, list-packages): Use it.
21091 (package-menu--print-info): Rename from package-print-package.
21092 Return insertion data instead of inserting it directly.
21093 (package-menu-describe-package, package-menu-execute):
21094 Use tabulated-list-get-id.
21095 (package-menu-mark-delete, package-menu-mark-install)
21096 (package-menu-mark-unmark, package-menu-backup-unmark)
21097 (package-menu-mark-obsolete-for-deletion):
21098 Use tabulated-list-put-tag.
21099 (package--list-packages, package-menu-revert)
21100 (package-menu-get-package, package-menu-get-version)
21101 (package-menu-sort-by-column): Functions deleted.
21102 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21103 (package-menu--status-predicate, package-menu--version-predicate)
21104 (package-menu--name-predicate)
21105 (package-menu--description-predicate): Handle arguments in the
21106 Tabulated List format.
21107 (package-list-packages-no-fetch): Call list-packages.
21109 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21111 * files.el (after-find-file-from-revert-buffer): Remove variable.
21112 (after-find-file): Don't bind it.
21113 (revert-buffer-in-progress-p): New variable.
21114 (revert-buffer): Bind it.
21115 Pass nil for `after-find-file-from-revert-buffer'.
21117 * saveplace.el (save-place-find-file-hook): Use new variable
21118 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21120 2011-04-06 Glenn Morris <rgm@gnu.org>
21122 * Makefile.in (AUTOGEN_VCS): New variable.
21123 (autoloads): Use $AUTOGEN_VCS.
21125 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21126 * calendar/calendar.el (calendar-mode-map):
21127 Check for toolkit scroll bars. (Bug#8305)
21129 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21131 * minibuffer.el (completion-in-region--postch)
21132 (completion-in-region-mode): Remove unnecessary messages.
21134 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21136 * font-lock.el (font-lock-refresh-defaults):
21137 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21138 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21140 * info.el (Info-directory-list, Info-read-node-name-2)
21141 (Info-split-parameter-string): Doc fixes.
21142 (Info-virtual-nodes): Reflow docstring.
21143 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21144 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21145 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21146 Fix typos in docstrings.
21147 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21148 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21149 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21150 (Info-restore-desktop-buffer): Mark unused parameters.
21151 (Info-directory-find-file, Info-directory-find-node)
21152 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21153 (Info-virtual-index-find-node, Info-apropos-find-file)
21154 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21155 Mark unused parameters; fix typos in docstrings.
21156 (Info-virtual-index): Remove unused local variable `nodename'.
21158 2011-04-05 Deniz Dogan <deniz@dogan.se>
21160 * net/rcirc.el: Update my e-mail address.
21161 (rcirc-mode-map): Remove M-o binding.
21163 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21165 * startup.el (command-line): Save the cursor's theme-face
21166 directly, instead of using face-override-spec.
21168 * custom.el (load-theme): Minor optimization in assigning faces.
21170 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21172 * help-fns.el (describe-variable): Complete all variables having
21173 documentation, including keywords.
21174 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21176 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21178 Convert to lexical-binding.
21180 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21181 (bs--get-marked-string, bs--get-modified-string)
21182 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21183 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21184 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21186 * ehelp.el (electric-help-execute-extended)
21187 (electric-help-ctrl-x-prefix):
21188 * hexl.el (hexl-revert-buffer-function):
21189 * linum.el (linum-after-change, linum-after-scroll):
21190 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21192 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21194 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21201 * epg.el: Use lexical binding.
21203 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21205 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21207 * textmodes/flyspell.el (flyspell-word): Recognize default
21208 dictionary case for flyspell-mark-duplications-exceptions.
21209 Use regexp matching for languages.
21210 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21211 default dictionary (Bug#7926).
21213 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21215 * emacs-lisp/package.el (package--with-work-buffer):
21216 Recognize https URLs.
21218 * net/network-stream.el: Move from gnus/proto-stream.el.
21219 Change prefix to network-stream throughout.
21220 (open-protocol-stream): Merge into open-network-stream, leaving
21221 open-protocol-stream as an alias. Handle nil BUFFER args.
21223 * subr.el (open-network-stream): Move to net/network-stream.el.
21225 2011-04-02 Glenn Morris <rgm@gnu.org>
21227 * find-dired.el (find-exec-terminator): New option.
21228 (find-ls-option): Test for -ls support.
21229 (find-ls-subdir-switches): Test for -b in find-ls-option.
21230 (find-dired, find-grep-dired): Doc fixes.
21231 (find-dired): Use find-exec-terminator.
21233 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21234 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21235 (find-name-arg): Remove purecopy.
21237 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21238 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21239 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21240 accordingly. Don't add the null-device if not needed.
21242 * files.el (save-some-buffers): Doc fix.
21244 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21246 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21248 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21250 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21251 Use `dolist' rather than `mapcar'.
21253 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21255 Add lexical binding.
21257 * subr.el (apply-partially): Use new closures rather than CL.
21258 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21259 (dolist, dotimes): Use slightly different expansion for lexical code.
21260 (functionp): Move to C.
21261 (letrec): New macro.
21262 (with-wrapper-hook): Use it and apply-partially instead of CL.
21263 (eval-after-load): Preserve lexical-binding.
21264 (save-window-excursion, with-output-to-temp-buffer): Turn them
21267 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21269 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21271 (help-add-fundoc-usage): Don't add `Not documented'.
21272 (help-function-arglist): Handle closures, subroutines, and new
21273 byte-code-functions.
21274 (help-make-usage): Remove leading underscores.
21275 (describe-function-1): Handle closures.
21276 (describe-variable): Use special-variable-p for completion.
21278 * files.el (lexical-binding): Declare safe.
21280 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21281 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21282 (pcase): Add `let' pattern.
21283 Change memoization so it actually works.
21284 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21285 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21288 * emacs-lisp/macroexp.el: Use lexical binding.
21289 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21290 Don't convert ' to #' without checking that it's indeed quoting
21293 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21294 Use eval-sexp-add-defvars.
21295 (eval-sexp-add-defvars): New fun.
21297 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21299 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21301 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21302 than the internal `byte-compile-lambda'.
21303 (defmethod): Don't hide code under quotes.
21304 (eieio-defmethod): New `code' argument.
21306 * emacs-lisp/eieio-comp.el: Remove.
21308 * emacs-lisp/edebug.el (edebug-eval-defun)
21309 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21310 (edebug-toggle): Avoid `eval'.
21312 * emacs-lisp/disass.el (disassemble-internal): Handle new
21314 (disassemble-1): Handle new byte codes.
21316 * emacs-lisp/cl.el (pushnew): Silence warning.
21318 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21319 (cl-byte-compile-throw): Remove.
21320 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21322 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21325 * emacs-lisp/cconv.el: New file.
21327 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21328 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21329 (byte-compile-initial-macro-environment):
21330 Handle declare-function here.
21331 (byte-compile--lexical-environment): New var.
21332 (byte-stack-ref, byte-stack-set, byte-discardN)
21333 (byte-discardN-preserve-tos): New lap codes.
21334 (byte-interactive-p): Don't use any more.
21335 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21337 (byte-compile-lapcode): Use them and handle new lap codes.
21338 (byte-compile-obsolete): Remove.
21339 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21340 (byte-compile-arglist-warn): Check late def of inlinable funs.
21341 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21342 since they should have been expanded by now.
21343 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21344 (byte-compile-from-buffer): Remove unused second arg.
21345 (byte-compile-preprocess): New function.
21346 (byte-compile-toplevel-file-form): New function to distinguish
21347 file-form calls from outside from file-form calls from hunk-handlers.
21348 (byte-compile-file-form): Simplify.
21349 (byte-compile-file-form-defsubst): Remove.
21350 (byte-compile-file-form-defmumble): Simplify now that
21351 byte-compile-lambda always returns a byte-code-function.
21352 (byte-compile): Preprocess.
21353 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21354 Remove, not used any more.
21355 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21356 (byte-compile-make-args-desc): New funs.
21357 (byte-compile-lambda): Handle lexical functions. Always return
21358 a byte-code-function.
21359 (byte-compile-reserved-constants): New var, to make up room for
21360 closed-over variables.
21361 (byte-compile-constants-vector): Obey it.
21362 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21363 (byte-compile-macroexpand-declare-function): New function.
21364 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21365 byte-code-functions.
21366 (byte-compile-form): Check obsolescence here.
21367 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21368 (byte-compile-variable-ref): Remove.
21369 (byte-compile-dynamic-variable-op): New fun.
21370 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21371 (byte-compile-variable-set): New funs.
21372 (byte-compile-discard): Add 2 args.
21373 (byte-compile-stack-ref, byte-compile-stack-set)
21374 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21375 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21376 macroexpand-all instead.
21377 (byte-compile-quote-form): Remove.
21378 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21379 (byte-compile-bind, byte-compile-unbind): New funs.
21380 (byte-compile-let): Handle let* and lexical binding.
21381 (byte-compile-let*): Remove.
21382 (byte-compile-catch, byte-compile-unwind-protect)
21383 (byte-compile-track-mouse, byte-compile-condition-case):
21384 Handle a new :fun-body form, used for lexical scoping.
21385 (byte-compile-save-window-excursion)
21386 (byte-compile-with-output-to-temp-buffer): Remove.
21387 (byte-compile-defun): Simplify.
21388 (byte-compile-stack-adjustment): New fun.
21389 (byte-compile-out): Use it.
21390 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21392 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21395 * emacs-lisp/byte-opt.el: Use lexical binding.
21396 (byte-inline-lapcode): Remove (to bytecomp).
21397 (byte-compile-inline-expand): Pay attention to inlining to/from
21398 lexically bound code.
21399 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21401 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21402 any more and don't call compiler-macros.
21403 (byte-compile-splice-in-already-compiled-code): Remove.
21404 (byte-code): Don't inline any more.
21405 (disassemble-offset): Receive `bytes' as argument rather than via
21407 (byte-compile-tag-number): Declare before first use.
21408 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21409 `return' even if make-spliceable.
21410 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21411 obsolete interactive-p.
21412 (byte-optimize-lapcode): Optimize new lap-codes.
21413 Don't trip up on new form of `byte-constant' lap code.
21415 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21417 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21419 * custom.el (custom-initialize-default, custom-declare-variable):
21422 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21424 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21425 (COMPILE_FIRST): Add macroexp and cconv.
21426 * makefile.w32-in: Mirror changes in Makefile.in.
21428 * vc/cvs-status.el:
21432 * vc/smerge-mode.el:
21433 * textmodes/bibtex-style.el:
21434 * textmodes/css-mode.el:
21442 * emacs-lisp/smie.el:
21445 * abbrev.el: Use lexical binding.
21447 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21449 * info.el (info-display-manual): New function.
21451 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21453 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21455 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21457 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21458 an entry for that server in rcirc-authinfo. (Bug#8385)
21460 2011-03-31 Glenn Morris <rgm@gnu.org>
21462 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21464 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21466 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21468 * progmodes/python.el (python-default-interpreter)
21469 (python-python-command-args, python-jython-command-args)
21470 (python-which-shell, python-which-args, python-which-bufname)
21471 (python-file-queue, python-comint-output-filter-function)
21472 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21473 variables and functions.
21475 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21477 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21478 (completion-in-region-mode): New minor mode.
21479 (completion-in-region): Use it.
21480 (completion-in-region--data, completion-in-region-mode-map): New vars.
21481 (completion-in-region--postch): New function.
21482 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21484 (completion--capf-wrapper): New function.
21485 (completion-at-point): Use it to track well-behavedness of
21487 (completion-help-at-point): New command.
21489 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21491 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21492 syntax class to search for whitespace on a single line
21493 (Message-ID: <4D938140.4030905@redhat.com>).
21495 2011-03-30 Leo Liu <sdl.web@gmail.com>
21497 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21499 (edit-abbrevs-map): Bind them here.
21500 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21502 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21504 * allout.el (allout-hide-by-annotation, allout-flag-region):
21505 Reduce possibility of overlay leakage by making them volatile.
21507 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21508 hash is not shared between buffers. Mode initialization is
21509 responsible for giving it a useful starting value.
21510 (allout-item-span): Reduce possibility of overlay leakage by
21511 making them volatile.
21512 (allout-widgets-count-buttons-in-region): Add diagnostic function
21513 for tracking down button overlay leaks.
21515 2011-03-29 Leo Liu <sdl.web@gmail.com>
21517 * ido.el (ido-read-internal): Use the default history var
21518 minibuffer-history if no HISTORY is specified.
21520 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21522 * net/imap.el (imap-shell-open, imap-process-connection-type):
21523 Use imap-process-connection-type for 'shell' streams as well as
21524 Kerberos, SSL, other subprocesses.
21526 2011-03-28 Leo Liu <sdl.web@gmail.com>
21528 * abbrev.el (abbrev-table-empty-p): New function.
21529 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21530 nonempty ones. (Bug#5937)
21532 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21534 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21536 2011-03-27 Leo Liu <sdl.web@gmail.com>
21538 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21539 for foreground and background colors.
21540 (ansi-color-make-color-map): Adapt.
21542 2011-03-25 Leo Liu <sdl.web@gmail.com>
21544 * midnight.el (midnight-time-float): Remove. Note it calculates
21545 the microsecond component incorrectly and seconds-to-time does the
21547 Remove redundant (require 'timer).
21549 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21550 (ido-completions): Remove unused arguments. (Bug#8329)
21552 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21554 * minibuffer.el (completion--flush-all-sorted-completions):
21555 Remove itself from hook.
21556 (completion-at-point): Let the functions perform the completion
21557 immediately and return nil or t.
21558 * comint.el (comint-dynamic-complete-functions): Now identical to
21559 completion-at-point-functions.
21560 (comint-dynamic-list-input-ring): Remove unused var `index'.
21561 (comint--match-partial-filename, comint--unquote&expand-filename):
21562 New funs, split from comint-match-partial-filename.
21563 (comint-dynamic-complete): Use completion-at-point.
21564 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21566 2011-03-24 Drew Adams <drew.adams@oracle.com>
21568 * thingatpt.el: Support `defun'.
21570 2011-03-23 Leo Liu <sdl.web@gmail.com>
21572 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21574 * help-mode.el (help-mode-finish): Tweak regexp.
21576 2011-03-23 Glenn Morris <rgm@gnu.org>
21578 * eshell/esh-opt.el (eshell-eval-using-options):
21579 Do not bind unused local variable `eshell-option-stub'.
21581 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21583 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21585 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21586 keymap variable in `with-no-warnings' to avoid a warning when the
21587 keymap has been already `defconst'ed.
21589 2011-03-22 Leo Liu <sdl.web@gmail.com>
21591 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21592 encode all chars in abbrevs; otherwise use emacs-mule or
21593 utf-8-emacs. (Bug#8308)
21595 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21597 * simple.el (backward-delete-char-untabify):
21598 Avoid warning about using `delete-backward-char'.
21600 * image.el (image-type-file-name-regexps): Make it variable.
21601 `imagemagick-register-types' modifies it, and the user may want
21602 to add new extensions for known image types.
21603 (imagemagick-register-types): Throw error if not using ImageMagick.
21605 2011-03-22 Leo Liu <sdl.web@gmail.com>
21607 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21608 located before rcirc-prompt-end-marker.
21609 (rcirc-complete): Error if point is not after rcirc prompt.
21610 Handle the case when table is nil.
21611 (rcirc-user-authenticated): Define to fix compiler warning.
21613 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21615 * custom.el (custom--inhibit-theme-enable): Make it affect only
21616 custom-theme-set-variables and custom-theme-set-faces.
21617 (provide-theme): Ignore custom--inhibit-theme-enable.
21618 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21619 (custom-enabling-themes): Delete variable.
21620 (enable-theme): Accept only loaded themes as arguments.
21621 Ignore the special custom-enabled-themes variable.
21622 (custom-enabled-themes): Forbid themes from setting this.
21623 Eliminate use of custom-enabling-themes.
21624 (custom-push-theme): Quote "changed" custom var entry.
21626 2011-03-21 Leo Liu <sdl.web@gmail.com>
21628 * ido.el (ido-read-internal): Add ido-selected to history instead
21631 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21633 * subr.el (deferred-action-list, deferred-action-function):
21636 2011-03-21 Leo Liu <sdl.web@gmail.com>
21638 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21639 change on 2011-02-13 (bug#8309).
21641 * minibuffer.el (read-file-name-function): Change default value.
21642 (read-file-name--defaults): Rename from read-file-name-defaults.
21643 (read-file-name-default): Rename from read-file-name.
21644 (read-file-name): Call read-file-name-function.
21646 2011-03-21 Glenn Morris <rgm@gnu.org>
21648 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21651 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21653 * cus-theme.el: Add missing provide statement.
21654 (customize-create-theme): Extract theme value correctly.
21655 (custom-theme-visit-theme): Autoload.
21656 (customize-create-theme): Prompt before inserting default faces.
21658 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21660 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21661 units and musical notes.
21663 2011-03-20 Leo Liu <sdl.web@gmail.com>
21665 * ido.el (ido-read-internal): Use completing-read-default.
21666 (ido-completing-read): Fix compatibility with completing-read.
21668 2011-03-20 Christian Ohler <ohler@gnu.org>
21670 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21671 (ert-delete-all-tests): Use `called-interactively-p' rather than
21673 (ert--make-xrefs-region): Respect END.
21675 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21677 * dired-aux.el (dired-create-directory): Signal an error if the
21678 directory already exists (Bug#8246).
21680 * facemenu.el (list-colors-display): Call list-faces-display
21681 inside with-help-window.
21682 (list-colors-print): Use display property to align the final
21683 column, instead of checking window-width.
21685 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21687 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21688 windows-nt systems.
21689 (emerge-protect-metachars): Quote correctly for ms-dos and
21690 windows-nt systems.
21692 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21694 * info.el (info-initialize): Replace all uses of `:' with
21695 path-separator for compatibility with non-Unix systems.
21696 Cache quoting of path-separator. (Bug#8258)
21698 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21700 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21701 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21702 (mouse-avoidance-mode): Fix typos in docstrings.
21704 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21706 * startup.el (package-subdirectory-regexp): Move from package.el.
21707 Omit \\` and \\', and let callers add them.
21709 * emacs-lisp/package.el (package-strip-version)
21710 (package-load-all-descriptors): Add \\` and \\' to
21711 package-subdirectory-regexp before using it.
21712 (package-untar-buffer): New arg DIR; ensure that file untars only
21713 into this expected directory. Remove superfluous delete-region.
21714 (package-unpack): Caller changed.
21715 (package-tar-file-info): Use package-subdirectory-regexp.
21717 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21719 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21720 diff-mode-shared-map (bug#8284).
21721 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21723 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21725 * calendar/time-date.el (format-seconds): Use assoc instead of
21726 assoc-string, since assoc-string doesn't exist in XEmacs.
21728 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21730 * custom.el (custom-known-themes): Reflow docstring.
21731 (custom-theme-load-path): Fix typo in docstring.
21732 (load-theme): Fix typo in error message.
21733 (custom-available-themes, custom-variable-theme-value):
21734 Use `let', not `let*'.
21736 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21738 * calc/README: Mention inclusion of musical notes.
21740 * calc/calc-units.el (calc-lu-quant): Rename from
21741 `calc-logunits-quantity'.
21742 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21743 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21744 (calc-db): Rename from `calc-dblevel'.
21745 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21746 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21747 (calc-np): Rename from `calc-nplevel'.
21748 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21749 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21750 (calc-lu-plus): Rename from `calc-logunits-add'.
21751 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21752 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21753 (calc-lu-minus): Rename from `calc-logunits-sub'.
21754 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21755 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21756 (calc-lu-times): Rename from `calc-logunits-mul'.
21757 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21758 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21759 (calc-lu-divide): Rename from `calc-logunits-div'.
21760 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21761 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21763 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21764 functions being autoloaded.
21766 * calc/calc.el (calc-lu-power-reference): Rename from
21767 `calc-logunits-power-reference'.
21768 (calc-lu-field-reference): Rename from
21769 `calc-logunits-field-reference'.
21771 * calc/calc-help.el (calc-l-prefix-help):
21772 Mention musical note functions.
21774 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21776 * minibuffer.el (completion-all-sorted-completions):
21777 Use :completion-cycle-penalty text property if present.
21779 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21781 * allout.el (allout-yank-processing): Adjust for new rebulleting
21782 regime so bullet being yanked is used without prompting the user
21785 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21787 * startup.el (command-line): Warn the user that _emacs is deprecated.
21789 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21791 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21792 (delphi-verbose, delphi-comment-face, delphi-string-face)
21793 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21794 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21795 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21796 (delphi-new-comment-line, delphi-font-lock-defaults)
21797 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21798 Fix typos in docstrings.
21800 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21802 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21803 Invert the roles of character and string values for INSTEAD, so a
21804 string is used for the more common case of a defaulting prompt.
21806 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21808 * progmodes/ruby-mode.el (ruby-backward-sexp):
21809 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21810 * play/gamegrid.el (gamegrid-make-face):
21811 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21812 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21813 * notifications.el (notifications-notify):
21814 * net/xesam.el (xesam-search-engines):
21815 * net/quickurl.el (quickurl-list-insert):
21816 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21818 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21820 * startup.el (command-line): Update package subdirectory regexp.
21822 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21824 * allout.el (allout-abbreviate-flattened-numbering)
21825 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21827 * subr.el (read-char-choice): Only show the cursor after the prompt,
21828 not after the answer.
21830 2011-03-15 Kevin Ryde <user42@zip.com.au>
21832 * help-fns.el (variable-at-point): Skip leading quotes, if any
21835 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21837 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21840 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21842 * shell.el (shell): When called interactively, offer to change the
21843 shell file name on remote hosts.
21845 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21847 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21848 integration for LDAP parameters. The host, base, user or binddn,
21849 and secret tokens can be specified in a netrc file, for instance.
21850 This is optional because an `auth-source' parameter must be
21851 specified in the search attributes.
21853 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21855 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21857 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21859 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21860 into declaration. Remove redundant and harmful binding.
21862 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21864 * files.el (file-ownership-preserved-p): Pass `integer' as an
21865 explicit 2nd argument to `file-attributes'. If the file's owner
21866 is the Administrators group on Windows, and the current user is
21867 Administrator, consider that a match.
21869 * server.el (server-ensure-safe-dir): Consider server directory
21870 safe on MS-Windows if its owner is the Administrators group while
21871 the current Emacs user is Administrator. Use `=' to compare
21872 numerical UIDs, since they could be integers or floats.
21874 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21876 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21878 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21880 Sync with Tramp 2.2.1.
21882 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21884 * net/trampver.el: Update release number.
21886 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21888 * progmodes/compile.el (compilation--previous-directory): Fix up
21889 various nil/dead-marker mismatches (bug#8014).
21890 (compilation-directory-properties, compilation-error-properties):
21891 Don't call it at a position past the one we're about to change.
21893 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21894 Disable obsolescence warnings in the file that declares it.
21896 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21898 * allout-widgets.el (allout-widgets-tally):
21899 Initialize allout-widgets-tally as a hash table rather than nil to
21900 prevent mode-line redisplay warnings. Also, clarify the module
21901 description and fix a comment typo.
21903 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21905 * help-fns.el (describe-variable): Don't complete keywords.
21906 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21908 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21910 * emacs-lisp/package.el (package-version-join): Impose a standard
21911 string representation for pre/alpha/beta version lists.
21912 (package-unpack-single): Standardize the directory name by passing
21913 it through package-version-join.
21914 (package-strip-rcs-id): Accept any version string that does not
21915 signal an error in version-to-list.
21917 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21919 * simple.el (delete-trailing-whitespace): Return nil for the
21920 benefit of `write-file-functions'.
21922 2011-03-10 Glenn Morris <rgm@gnu.org>
21924 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21926 * vc/vc-git.el (vc-git-program): New option.
21927 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21928 (vc-git--call): Use it.
21930 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21932 * cus-edit.el (Custom-newline): If no button at point, look
21933 for a subgroup button at start-of-line. (Bug#2298)
21935 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21937 2011-03-10 Julien Danjou <julien@danjou.info>
21939 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21940 `cursor-type' is nil.
21942 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21944 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21946 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21948 * allout.el: Change so yank of distinctive-bullet items
21949 preserves the existing header prefix, rebulleting it if necessary,
21950 rather than replacing it. This is necessary for proper operation
21951 of cooperative addons like allout-widgets.
21952 (allout-make-topic-prefix, allout-rebullet-heading):
21953 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21954 value as alternate bullet to be used, instead of prompting the user
21955 for a bullet character.
21957 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21959 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21960 Do not use `tramp-file-name-port', because this returns also
21961 `tramp-default-port'.
21963 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21965 * net/rcirc.el (rcirc-handler-001): Remove useless
21966 with-rcirc-process-buffer.
21967 (rcirc-check-auth-status): Swap arguments to string-match.
21969 2011-03-09 Glenn Morris <rgm@gnu.org>
21971 * shell.el (shell-mode):
21972 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21974 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21975 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21977 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21979 * emacs-lisp/package.el (package-refresh-contents)
21980 (package-menu-execute): Use condition-case-no-debug.
21982 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21984 * simple.el (shell-command-to-string): Use `process-file'.
21986 * emacs-lisp/package.el (package-tar-file-info): Handle also
21989 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21990 Use `equal' for upload base check.
21992 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21994 * textmodes/texinfo.el (texinfo-environments):
21995 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21997 2011-03-08 Glenn Morris <rgm@gnu.org>
21999 * cus-start.el (cursor-in-non-selected-windows):
22000 Fix :set quoting oddness. (Bug#8192)
22002 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22003 in some setf expressions. (Bug#2159)
22005 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22007 * custom.el (custom-available-themes): Return themes in
22008 alphabetical order.
22010 See ChangeLog.15 for earlier changes.
22012 ;; Local Variables:
22016 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22018 This file is part of GNU Emacs.
22020 GNU Emacs is free software: you can redistribute it and/or modify
22021 it under the terms of the GNU General Public License as published by
22022 the Free Software Foundation, either version 3 of the License, or
22023 (at your option) any later version.
22025 GNU Emacs is distributed in the hope that it will be useful,
22026 but WITHOUT ANY WARRANTY; without even the implied warranty of
22027 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22028 GNU General Public License for more details.
22030 You should have received a copy of the GNU General Public License
22031 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.