1 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3 * textmodes/css-mode.el (css-current-defun-name): New function.
6 * textmodes/sgml-mode.el (html-current-defun-name): New function.
9 2012-12-01 Chong Yidong <cyd@gnu.org>
11 Modularize add-log-current-defun (Bug#2224).
12 Suggested by Jari Aalto.
14 * vc/add-log.el (add-log-current-defun-function): Doc fix.
15 (add-log-current-defun): Move mode-specific code to other files.
16 (add-log-lisp-like-modes, add-log-c-like-modes)
17 (add-log-tex-like-modes): Variables deleted.
19 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
20 (lisp-mode-variables): Use it.
22 * progmodes/cc-mode.el (c-common-init):
23 * progmodes/cperl-mode.el (cperl-mode): Set a value for
24 add-log-current-defun-function.
26 * progmodes/m4-mode.el (m4-current-defun-name): New function.
29 * progmodes/perl-mode.el (perl-current-defun-name): New.
32 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
33 lisp-current-defun-name.
35 * textmodes/tex-mode.el (tex-current-defun-name): New.
36 (tex-common-initialization): Use it.
38 * textmodes/texinfo.el (texinfo-current-defun-name): New.
39 (texinfo-mode): Use it.
41 2012-12-01 Chong Yidong <cyd@gnu.org>
43 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
44 * progmodes/autoconf.el (autoconf-mode):
45 * progmodes/js.el (js-mode):
46 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
47 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
48 * progmodes/perl-mode.el (perl-mode):
49 * progmodes/sh-script.el (sh-mode, sh-set-shell):
50 * textmodes/css-mode.el (css-mode):
51 * textmodes/sgml-mode.el (html-mode, sgml-mode)
52 (sgml-tags-invisible, sgml-guess-indent):
53 * textmodes/tex-mode.el (tex-common-initialization)
54 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
55 (doctex-mode, plain-tex-mode, latex-mode):
56 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
58 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
60 * vc/vc-hg.el (vc-hg-next-revision):
61 Ensure use of default "tip" output format. (Bug#6968)
63 2012-12-01 Kim F. Storm <storm@cua.dk>
65 * startup.el (fancy-startup-tail): Add a clickable link
68 2012-12-01 Chong Yidong <cyd@gnu.org>
70 * startup.el (fancy-startup-tail): Improve the message about
71 auto-save files (Bug#2176).
73 * files.el (recover-session): Improve the descriptive message, and
74 use substitute-command-keys.
76 2012-12-01 Glenn Morris <rgm@gnu.org>
78 * ido.el (ido-file-internal):
79 Handle other-window, other-frame for dired. (Bug#13036)
81 2012-11-30 Glenn Morris <rgm@gnu.org>
83 * icomplete.el (icomplete-separator): Fix :version.
85 2012-11-30 Chong Yidong <cyd@gnu.org>
87 * shell.el (shell): For C-u M-x shell, use an inactive shell
88 buffer as the default (Bug#1975).
89 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
90 (shell-mode): Use them to reapply ansi colorization if Shell mode
93 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
95 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
97 2012-11-30 Samuel Bronson <naesten@gmail.com>
99 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
100 flag to xargs, for compatibility with BSD xargs (Bug#11703).
102 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
104 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
105 by move-to-column (Bug#3234).
107 2012-11-30 Chong Yidong <cyd@gnu.org>
109 * longlines.el (longlines-wrap-line, longlines-encode-region):
110 Preserve text properties (Bug#1425).
112 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
114 * vc/vc.el (vc-register): Allow registering a file which is
115 already registered with a different backend (Bug#10589).
117 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
118 Stefan Monnier <monnier@iro.umontreal.ca>
120 * icomplete.el: Change separator; add ido-style commands.
121 (icomplete-show-key-bindings): Remove custom var.
122 (icomplete-get-keys): Remove function.
123 (icomplete-forward-completions, icomplete-backward-completions):
125 (icomplete-minibuffer-map): New var.
126 (icomplete-minibuffer-setup): Use it.
127 (icomplete-exhibit): Don't delay if the list of completions is known.
128 (icomplete-separator): New custom.
129 (icomplete-completions): Use it.
130 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
131 (minibuffer-force-complete-and-exit): New command.
132 (minibuffer--complete-and-exit): New function extracted from
133 minibuffer-complete-and-exit.
134 (minibuffer-complete-and-exit): Use it.
136 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
137 error message when the file doesn't exist (bug#12974).
139 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
141 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
143 2012-11-29 Glenn Morris <rgm@gnu.org>
145 * files.el (hack-dir-local-variables): Warn if try to set
146 coding via dir-locals, since it doesn't work. (Bug#7169)
148 Add desktop support for restoring vc-dir buffers. (Bug#10606)
149 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
150 Set buffer-local value of desktop-save-buffer.
151 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
153 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
154 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
156 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
157 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
159 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
162 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
164 * calc/calc-forms.el (calc-date-notation): Fix regexp
165 used to find time codes. Fix symbol for seconds.
167 2012-11-27 Glenn Morris <rgm@gnu.org>
169 * emacs-lisp/derived.el (derived-mode-make-docstring):
170 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
172 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
174 * textmodes/table.el (table-insert): Don't use `symbol-name' on
175 lexically scoped variables (bug#13005).
177 2012-11-27 Glenn Morris <rgm@gnu.org>
179 * vc/vc-hooks.el (vc-mistrust-permissions):
180 Default to t, to avoid data-loss. (Bug#11490)
182 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
184 * progmodes/python.el (python-indent-guess-indent-offset):
185 If indentation is guessed make python-indent-offset buffer-local.
187 Fix Imenu regression.
188 * progmodes/python.el (python-nav-beginning-of-defun):
189 Fix forward movement when statement(s) separates point from defun.
190 (python-imenu-prev-index-position): New function.
192 2012-11-27 Eli Zaretskii <eliz@gnu.org>
194 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
196 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
197 Don't set buffer-file-type. Return nil. (Bug#12989)
199 2012-11-27 Glenn Morris <rgm@gnu.org>
201 * hippie-exp.el (hippie-expand-try-functions-list):
202 Re-autoload it. (Bug#12982)
204 2012-11-27 Eli Zaretskii <eliz@gnu.org>
206 * descr-text.el (describe-char-padded-string):
207 Call internal-char-font only on GUI frames. (Bug#11964)
209 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
211 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
212 and obsoletion message.
214 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
216 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
217 the constructs to keep outside of the `cl-block' (bug#12977).
219 2012-11-27 Chong Yidong <cyd@gnu.org>
221 * mouse.el (mouse-drag-line): Even if the line is not draggable,
222 keep reading until we get the up-event anyway, in order to process
223 the up-event for mouse-1-click-follows-link (Bug#12971).
225 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
227 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
228 base function is not yet defined (bug#12965).
229 (ad-activate-advised-definition): Use ad-compile-function.
230 (ad-activate): Use cond.
232 2012-11-25 Leo Liu <sdl.web@gmail.com>
234 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
237 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
239 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
240 reftex-section-info-function in order to be compatible with
243 * textmodes/reftex.el (reftex-section-pre-regexp)
244 (reftex-section-post-regexp, reftex-section-info-function):
246 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
247 reftex-section-post-regexp, and reftex-section-info-function in order
248 to be compatible with Texinfo integration.
250 * textmodes/reftex-toc.el (reftex-toc-promote-action):
251 use reftex-section-pre-regexp variable in order to be compatible with
254 2012-11-25 Chong Yidong <cyd@gnu.org>
256 * faces.el: Make face-spec-set more analogous to setq.
257 (face-spec-set): Change the third arg to specify whether this
258 function is being called via defface, customize, or a third party.
259 Set the appropriate symbol properties. Clear the override spec if
260 setting via Custom. Initialize face if necessary. (Bug#4988)
261 (face-spec-recalc): Allow theme faces to completely replace the
262 defface spec, in the same way as custom faces (Bug#8454).
264 * cus-face.el (custom-declare-face): Move face initialization to
266 (custom-theme-set-faces): Don't initialize the face name here, as
267 that is now done in face-spec-set.
269 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
270 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
271 Simplify by using the new arg to face-spec-set.
273 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
274 reset face-override-spec too, and use custom-declare-face.
276 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
278 * term/ns-win.el (ns-initialize-window-system): Move creation of
279 fontsets here (Bug#11964).
281 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
283 * ses.el (ses-rename-cell): Correct bug on mode-line update after
286 2012-11-24 Chong Yidong <cyd@gnu.org>
288 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
291 * custom.el (custom-theme-set-variables): Use a topological sort
292 for ordering by custom dependencies (Bug#12952).
293 (custom--sort-vars, custom--sort-vars-1): New functions.
295 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
297 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
298 lexical-binding (bug#12938).
300 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
302 * image-mode.el (image-transform-check-size): Use assertions only
303 for images of type imagemagick.
305 Otherwise no error, image-transform-fit-to-{width,height} is
306 silently ignored, as before. Doc fix.
308 2012-11-24 Chong Yidong <cyd@gnu.org>
310 * faces.el (color-defined-p): Doc fix (Bug#12853).
312 2012-11-24 Juri Linkov <juri@jurta.org>
314 * dired.el (dired-mark): Add optional arg `interactive'.
315 Check for `use-region-p' if `interactive' is non-nil.
316 (dired-unmark, dired-flag-file-deletion): Add optional arg
317 `interactive'. Call `dired-mark' with the arg `interactive'.
320 * wdired.el: Revert 2012-10-17 change partly and replace it with
321 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
322 (wdired-finish-edit): Add marks for new file names to
323 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
324 after `revert-buffer'.
325 (wdired-do-renames): Remove calls to `dired-remove-file',
326 `dired-add-file', `dired-add-entry'. (Bug#11795)
328 2012-11-24 Alan Mackenzie <acm@muc.de>
330 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
332 Fix bugs in the state cache. Enhance a debugging mechanism.
333 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
334 "brace at column zero" strategy for C++.
335 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
336 (c-parse-state-point): New variable.
337 (c-record-parse-state-state): Record old parse state with
338 `copy-tree'. Record previous value of point.
339 (c-debug-parse-state-double-cons): New debugging function.
340 (c-debug-parse-state): Call the above new function.
341 (c-toggle-parse-state-debug): Output a confirmatory message.
343 * progmodes/cc-mode.el (c-before-change, c-after-change):
344 Call c-invalidate-state-cache from `c-before-change' instead of
347 2012-11-23 Chong Yidong <cyd@gnu.org>
349 * find-cmd.el (find-constituents): Add executable, ipath,
350 readable, samefile, writable, daystart, regextype (Bug#12856).
352 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
354 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
356 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
358 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
359 definition. This fixes a bootstrap failure.
360 (calc-gregorian-switch): In menu, put dates before regions.
361 This is easier to follow, lines up better in the menu, and lets us
362 coalesce regions that switch at the same time. Give country
363 names, not "Vatican", as that's better for non-expert users.
364 Use names that are stable between the date of switch and now, e.g.,
365 Bohemia and Moravia (which existed then and now) and not
366 Czechoslovakia (which didn't exist then and doesn't exist now).
367 What is now the U.S. mostly did not switch at the same time as
368 Britain, so omit the U.S. Correct spelling of "Britain".
369 Catholic Switzerland was too much of a mess, so omit it.
371 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
373 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
374 after the variable is changed.
376 2012-11-21 Daniel Colascione <dancol@dancol.org>
378 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
379 in SQL declarations for font-lock.
380 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
382 2012-11-21 Glenn Morris <rgm@gnu.org>
384 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
385 (face-italic-p): Add optional argument "inherit".
387 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
388 Remove -p suffix from names, for consistency with other set-face-*.
389 (set-face-inverse-video): Fix interactive spec.
390 * play/gamegrid.el (gamegrid-make-mono-tty-face):
391 * textmodes/table.el (table--update-cell-face):
392 Use set-face-inverse-video rather than now obsolete alias.
394 2012-11-21 Eli Zaretskii <eliz@gnu.org>
396 * simple.el (line-move): Don't call line-move-partial if
397 scroll-conservatively is in effect. (Bug#12927)
399 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
401 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
402 Fallback on completion-at-point rather than
403 pcomplete-expand-and-complete, and only if pcomplete actually failed.
404 (eshell-cmpl-initialize): Setup completion-at-point.
406 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
408 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
410 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
412 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
413 are remote, check out-of-band property for both.
415 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
417 * window.el (switch-to-buffer): Re-add the warning that was lost in the
420 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
422 More minor time fixes.
423 * calendar/time-date.el: Commentary fix.
424 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
425 too much other code depends on (0 0) time stamps.
426 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
427 Add a couple of FIXME comments.
429 Minor cleanup for times as lists of four integers.
430 * files.el (dir-locals-directory-cache):
431 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
433 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
434 * ps-bdf.el (bdf-file-newer-than-time):
435 Process four-integers time stamps, not two. Doc fixes.
437 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
439 * uniquify.el (uniquify-managed): Use defvar-local.
440 (rename-buffer, create-file-buffer): Advise with advice-add.
441 (uniquify-unload-function): Unadvise accordingly.
443 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
444 (trace-buffer): Don't purecopy.
445 (trace-entry-message, trace-exit-message): Add `context' arg.
446 (trace--timer): New var.
447 (trace-make-advice): Adjust for use in nadvice.
448 Add `context' argument. Delay `display-buffer' via a timer.
449 (trace-function-internal): Use advice-add.
450 (trace--read-args): New function.
451 (trace-function-foreground, trace-function-background): Use it.
452 (trace-function): Rename to trace-function-foreground and redefine as
453 an alias to that new name.
454 (untrace-function, untrace-all): Adjust to the use of nadvice.
456 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
458 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
460 * subr.el (called-interactively-p-functions): New var.
461 (internal--called-interactively-p--get-frame): New macro.
462 (called-interactively-p, interactive-p): Rewrite in Lisp.
463 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
464 (called-interactively-p-functions): Use it.
465 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
466 (called-interactively-p-functions): Use it.
467 * allout.el (allout-called-interactively-p): Don't assume
468 called-interactively-p is a subr.
470 2012-11-20 Glenn Morris <rgm@gnu.org>
472 * profiler.el (profiler-report-mode-map): Add a menu.
473 No need to bind `q' because we derive from special-mode.
474 (profiler-report-find-entry): Handle calls from the menu-bar.
476 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
478 * emacs-lisp/byte-run.el (defun-declarations-alist):
479 Allow a compiler-macro to be a lambda expression.
481 * progmodes/python.el: Use cl-lib. Move var declarations outside of
483 (python-syntax-context): Add compiler-macro.
484 (python-font-lock-keywords): Simplify with De Morgan.
486 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
488 * files.el (load-file): Require match in minibuffer selection, as was
489 the case in Emacs-20 before we changed the spec to allow .elc files
492 * json.el: Don't require cl since we don't use it.
493 * color.el: Don't require cl.
494 (color-complement): `caddr' -> `nth 2'.
496 * calendar/time-date.el (time-to-seconds): De-obsolete.
498 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
500 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
502 (math-date-to-julian-dt): Adjust the initial approximation for the
503 year to deal with the new definition of the DATE.
505 2012-11-19 Daniel Colascione <dancol@dancol.org>
507 * term/w32-win.el (cygwin-convert-path-from-windows):
508 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
510 2012-11-18 Chong Yidong <cyd@gnu.org>
512 * filecache.el (file-cache--read-list): New function.
513 (file-cache-add-directory-list, file-cache-add-file-list)
514 (file-cache-delete-file-list, file-cache-delete-directory-list):
515 Use it to read a list of files or directories (Bug#12846).
516 (file-cache-add-file, file-cache-add-directory)
517 (file-cache-delete-file-list, file-cache-delete-file-regexp)
518 (file-cache-delete-directory): Print an message.
520 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
522 * calc/calc-forms.el (math-date-to-dt): Use integer date when
523 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
525 2012-11-18 Glenn Morris <rgm@gnu.org>
527 * image.el (insert-image, insert-sliced-image): Doc fix.
529 2012-11-18 Chong Yidong <cyd@gnu.org>
531 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
534 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
536 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
537 response when the target file is in a subdirectory (Bug#12757).
539 2012-11-18 Chong Yidong <cyd@gnu.org>
541 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
543 2012-11-18 Glenn Morris <rgm@gnu.org>
545 * emacs-lisp/cl-lib.el (face-underline-p):
546 Use set-face-underline rather than the alias set-face-underline-p.
548 * window.el (with-temp-buffer-window): Doc fix.
549 * subr.el (with-output-to-temp-buffer):
550 Add doc xref to with-temp-buffer-window.
552 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
554 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
555 * calc/calc.el (math-format-date-cache): Declare.
557 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
559 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
560 It also uses January 1, 1 AD as its day number 1.
561 * calc/calc-forms.el (math-julian-date-beginning)
562 (math-julian-date-beginning-int): Implement this.
564 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
566 * descr-text.el (quail-find-key):
567 * dired.el (desktop-file-name):
568 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
569 * generic-x.el (comint-mode, comint-exec):
570 * image-dired.el (widget-forward):
571 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
572 (speedbar-change-expand-button-char)
573 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
574 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
575 * printing.el (easy-menu-add-item, easy-menu-remove-item)
576 (widget-field-action, widget-value-set):
577 * speedbar.el (imenu--make-index-alist):
578 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
579 (ring-length, ring-insert):
580 * vcursor.el (compare-windows-skip-whitespace):
581 * woman.el (dired-get-filename):
584 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
586 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
588 * calc/calc.el (calc-gregorian-switch): New variable.
590 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
591 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
592 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
593 (math-leap-year-p): Add option to distinguish between Julian
594 and Gregorian calendars.
595 (math-day-number): Use `math-day-in-year' to do the computations.
596 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
597 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
598 to do the computations.
599 (math-date-to-dt): Use `math-date-to-julian-dt' and
600 `math-date-to-gregorian-dt' to do the computations.
601 (calcFunc-weekday, math-format-date-part): Use the new version of
602 the DATE to determine the weekday.
603 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
606 2012-11-17 Eli Zaretskii <eliz@gnu.org>
608 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
609 Cygwin; otherwise use 'file:'. (Bug#12914)
610 (cygwin-convert-path-from-windows): Declare, to avoid
611 byte-compiler warnings.
613 2012-11-17 Andreas Politz <politza@fh-trier.de>
615 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
616 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
617 prefix and negative numeric prefix args (Bug#12795).
619 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
621 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
622 Don't signal an error with a score that is too low to add to the
623 list of top scores. (Bug#12779)
625 2012-11-17 Chong Yidong <cyd@gnu.org>
627 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
629 * filecache.el (file-cache-add-file): Handle relative file name in
630 the argument (Bug#12694).
632 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
634 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
636 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
638 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
640 * emacs-lisp/cl-lib.el: Set more meaningful version number.
642 2012-11-16 Martin Rudalics <rudalics@gmx.at>
644 * window.el (enlarge-window, shrink-window): Don't mention return
645 value in doc-string (Bug#12896).
646 (window--display-buffer): Don't resize frames - it won't work
647 with all window managers and defeat pop-up-frame-alist.
648 (display-buffer-alist): In doc-string explain that CONDITION can
649 be a function and which arguments are passed to it (Bug#12854).
650 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
651 expressions (Bug#12854).
652 (display-buffer): Pass ACTION argument to
653 display-buffer-assq-regexp.
655 2012-11-16 Glenn Morris <rgm@gnu.org>
657 * window.el (fit-frame-to-buffer-bottom-margin)
658 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
660 * faces.el (face-underline-p): Use face-attribute-specified-or.
662 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
664 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
666 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
668 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
670 2012-11-16 Glenn Morris <rgm@gnu.org>
672 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
673 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
675 * faces.el (face-underline-p): Doc fix. Handle :underline being
676 things other than `t' (a string, a list).
677 (face-inverse-video-p): Doc fix.
678 (set-face-underline): Rename it back from set-face-underline-p.
679 Doc fix. Allow interactive input of values other than t.
680 (read-face-attribute): Apply formatting to :underline,
681 since like :box and :stipple it can take list values.
683 * term.el (ansi-term): Don't let C-x escape-char binding
684 clobber the more standard C-c binding. (Bug#12842)
686 * subr.el (set-temporary-overlay-map): Doc fix.
688 2012-11-16 Martin Rudalics <rudalics@gmx.at>
690 * window.el (record-window-buffer)
691 (display-buffer-record-window): When copying the markers to
692 window-point preserve window-point-insertion-type. (Bug#12588)
694 2012-11-16 Glenn Morris <rgm@gnu.org>
696 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
697 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
698 Use new names for hooks rather than obsolete aliases.
700 2012-11-15 Daniel Colascione <dancol@dancol.org>
702 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
703 prefix instead of "file:" so that when FILE-NAME begins with "//",
704 as it does when the target file is on a network share, url-handler
707 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
709 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
710 a preactivated advice from an old advice.el; they're not compatible!
712 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
714 * emacs-lisp/nadvice.el (advice--make-interactive-form):
715 Fix string-spec case.
717 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
719 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
721 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
722 (advice--buffer-local-function-sample): New var.
723 (advice--set-buffer-local, advice--buffer-local): New functions.
724 (add-function, remove-function): Use them.
726 2012-11-15 Drew Adams <drew.adams@oracle.com>
728 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
730 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
732 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
733 potential binding of print-gensym to t, and prettify (back)quotes in
734 case they appear in args's default values (bug#12884).
736 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
738 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
739 (advice-eval-interactive-spec): New function.
740 (advice--make-interactive-form): Support around advice (bug#12844).
742 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
744 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
745 more strict. Add docstring.
746 (ruby-expression-expansion-re): Extract from
747 `ruby-match-expression-expansion'.
748 (ruby-syntax-propertize-function): After everything else, search
749 for expansions in string literals, mark their insides as
750 whitespace syntax and save match data for font-lock.
751 (ruby-font-lock-keywords): Use the 2nd group from expression
753 (ruby-match-expression-expansion): Use the match data saved to the
754 text property in ruby-syntax-propertize-function.
756 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
758 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
761 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
763 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
764 start/end keyword a bit harder. Works with different values of N.
766 (ruby-end-of-block): Update accordingly.
768 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
770 * woman.el (woman-file-name): Don't mess with unread-command-events
773 * emacs-lisp/advice.el: Layer on top of nadvice.el.
774 Remove out of date self-require hack.
775 (ad-do-advised-functions): Use simple `dolist'.
776 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
777 (ad-advice-definition): Redefine as functions.
778 (ad-advice-classes): Move before first use.
779 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
780 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
781 (ad--defalias-fset): Remove functions.
782 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
783 (ad-get-orig-definition): Rewrite.
784 (ad-make-advised-definition-docstring): Change base docstring.
785 (ad-real-orig-definition): Rewrite.
786 (ad-map-arglists): Change name of called function.
787 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
788 (ad-make-advised-definition): Simplify.
789 (ad-assemble-advised-definition): Tweak for new calling context.
790 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
791 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
792 function and call ad-activate if needed.
793 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
794 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
795 (ad-compile-function): Compile ad-Advice-*.
796 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
797 (ad-start-advice, ad-stop-advice): Remove.
799 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
801 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
802 period before class method names, not after. Remove handling of
803 one impossible case. Add comments.
805 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
807 * emacs-lisp/advice.el: Remove support for freezing.
808 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
809 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
810 Remove support for `freeze'.
812 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
813 override the default.
814 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
816 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
819 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
821 (advice--strip-macro): New function.
822 (advice--defalias-fset): Use them to handle macros.
823 (advice-add): Use them.
824 (advice-member-p): Correctly handle macros.
826 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
828 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
829 Never font-lock the beginning of singleton class as heredoc.
831 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
833 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
835 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
837 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
838 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
839 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
841 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
843 Fix end-of-defun misbehavior.
844 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
845 python-beginning-of-defun-function. Handle nested defuns
847 (python-nav-end-of-defun): Rename from
848 python-end-of-defun-function. Ensure forward movement.
849 (python-info-current-defun): Reimplement to work as intended
850 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
851 parent defuns as soon as possible.
853 2012-11-13 Glenn Morris <rgm@gnu.org>
855 * progmodes/flymake.el (flymake-error-bitmap)
856 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
857 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
859 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
861 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
862 backward, always stop at indentation. Reverts the change from
863 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
865 2012-11-13 Glenn Morris <rgm@gnu.org>
867 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
868 Add ibuffer-filter-by-derived-mode.
870 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
871 the same name shadowing each other.
873 * window.el (with-temp-buffer-window): Doc tweak.
875 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
877 * help.el (temp-buffer-max-height):
878 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
879 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
881 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
883 * emacs-lisp/nadvice.el: New package.
884 * subr.el (special-form-p): New function.
885 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
886 (elp-all-instrumented-list): Remove var.
887 (elp-not-profilable): Remove elp-wrapper.
888 (elp-profilable-p): Use autoloadp and special-form-p.
889 (elp--advice-name): New const.
890 (elp-instrument-function): Use advice-add.
891 (elp--instrumented-p): New predicate.
892 (elp-restore-function): Use advice-remove.
893 (elp-restore-all, elp-reset-all): Use mapatoms.
894 (elp-set-master): Use elp--instrumented-p.
895 (elp--make-wrapper): Rename from elp-wrapper, return a function
896 suitable for advice-add. Use cl-inf.
897 (elp-results): Use mapatoms+elp--instrumented-p.
898 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
899 (debug-function-list): Remove var.
900 (debug): Rename arg, and then let-bind it explicitly inside.
901 (debugger-setup-buffer): Rename arg.
902 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
903 (debugger-frame-number): Adjust to new debug-on-entry setup.
904 (debug--implement-debug-on-entry): Rename from
905 implement-debug-on-entry, add argument.
906 (debugger-special-form-p): Remove, use special-form-p instead.
907 (debug-on-entry): Use advice-add.
908 (debug--function-list): New function.
909 (cancel-debug-on-entry): Use it, along with advice-remove.
910 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
911 (debugger-list-functions): Use debug--function-list instead of
913 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
914 (ad-special-form-p): Remove, use special-form-p instead.
915 (ad-set-advice-info): Use add-function and remove-function.
916 (ad--defalias-fset): Adjust accordingly.
918 2012-11-10 Glenn Morris <rgm@gnu.org>
920 * mail/emacsbug.el (report-emacs-bug-tracker-url)
921 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
922 (report-emacs-bug-create-existing-bugs-buffer)
923 (report-emacs-bug-parse-query-results)
924 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
926 * term.el (term-default-fg-color, term-default-bg-color):
927 Make obsolete, rather than just saying "deprecated" in the doc.
929 * term.el (term): Rename from `term-face'.
930 (term-current-face, ansi-term-color-vector)
931 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
934 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
936 * server.el (server-create-window-system-frame): Handle Nextstep
937 specially (Bug#12780).
939 2012-11-10 Glenn Morris <rgm@gnu.org>
941 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
942 Unautoload, and make obsolete. (Bug#7449)
944 2012-11-10 Chong Yidong <cyd@gnu.org>
946 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
947 rename from diff-remove-trailing-whitespace (Bug#12831).
949 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
951 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
952 miscompilation of trace.el.
954 2012-11-10 Glenn Morris <rgm@gnu.org>
956 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
958 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
960 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
963 2012-11-10 Chong Yidong <cyd@gnu.org>
965 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
966 a defcustom with an appropriate :set function.
967 (minibuffer-default--in-prompt-regexps): New function.
969 2012-11-10 Glenn Morris <rgm@gnu.org>
971 * emacs-lisp/cl.el (define-setf-expander, defsetf)
972 (define-modify-macro): Doc fixes.
974 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
975 (gv-define-simple-setter): Update doc of `fix-return'.
977 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
979 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
980 twice when `fix-return' is set (bug#12813).
982 * emacs-lisp/cl.el (defsetf): Pass the third arg to
983 gv-define-simple-setter (bug#12812).
985 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
988 2012-11-10 Glenn Morris <rgm@gnu.org>
990 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
992 * emacs-lisp/cl-extra.el (cl-prettyexpand):
993 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
994 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
995 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
997 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
999 2012-11-10 Leo Liu <sdl.web@gmail.com>
1001 * ido.el (ido-set-matches-1): Improve flex matching performance by
1002 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1004 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1007 (ad--defalias-fset): New function.
1008 (ad-safe-fset): Remove.
1009 (ad-make-freeze-definition): Use cl-letf*.
1011 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1013 * subr.el (dolist): Don't bind VAR in RESULT.
1015 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1016 (fset, documentation): Don't save real def since we don't advise.
1017 (ad-do-advised-functions): Remove problematic `result-form'.
1018 (ad-safe-fset): `ad-real-fset' => `fset'.
1019 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1020 uses CL's dolist internally.
1021 (ad-arglist): Remove unused arg `name'.
1022 (ad-docstring, ad-make-advised-docstring):
1023 `ad-real-documentation' => `documentation'.
1024 (warning-suppress-types): Declare.
1025 (ad-set-arguments): Simple CSE.
1026 (ad-recover-normality): Sanity check.
1028 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1029 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1031 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1033 * ses.el: symbol to coordinate mapping is made by symbol property
1034 `ses-cell'. This means that the same mapping is done for all SES
1035 sheets. That is good enough for cells with standard A1 names, but
1036 not for named cell. So a hash map is added for the latter.
1037 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1038 (ses-sym-rowcol): Use hashmap for named cell.
1039 (ses-is-cell-sym-p): New defun.
1040 (ses-decode-cell-symbol): New defun.
1041 (ses-create-cell-variable): Add cell to hashmap when name is not
1043 (ses-rename-cell): Check that cell new name is not already in
1044 spreadsheet with the use of ses-is-cell-sym-p
1045 (ses-rename-cell): Use hash map for named cells, but accept also
1046 renaming back to A1-like.
1048 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * emacs-lisp/advice.el: Use new dynamic docstrings.
1051 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1052 Use dynamic-docstring-function instead of ad-advice-info.
1053 (ad--make-advised-docstring): New function extracted from
1054 ad-make-advised-docstring.
1055 (ad-make-advised-docstring): Use it.
1056 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1058 (sql-help): Use it with dynamic-docstring-function.
1060 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1062 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * files.el (hack-one-local-variable--obsolete): New function.
1065 (hack-one-local-variable): Use it for obsolete settings.
1067 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1070 * progmodes/js.el (js--filling-paragraph): New var.
1071 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1072 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1075 2012-11-08 Julien Danjou <julien@danjou.info>
1077 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1078 `auto-mode-alist' (Bug#12835).
1080 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1083 (perl--prettify-symbols-alist): New const.
1084 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1086 (perl-font-lock-keywords-2): Use them.
1087 (perl-electric-noindent-p): New function.
1088 (perl-mode): Use it to set up electric-indent-mode.
1089 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1090 (perl-mode-map): Remove bindings for them.
1091 (perl-imenu-generic-expression, perl-outline-level):
1092 Match functions&packages in column>0.
1094 * env.el (env--substitute-vars-regexp): New const.
1095 (substitute-env-vars): Use it. Add `only-defined' arg.
1096 * net/tramp.el (tramp-replace-environment-variables): Use it.
1098 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1099 Byte-compile *before* eval in eval-and-compile.
1100 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1101 (byte-compile-file-form-autoload): Don't hide actual definition.
1102 (byte-compile-maybe-guarded): Accept `functionp' as well.
1104 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1106 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1108 * notifications.el (notifications-get-server-information-method):
1110 (notifications-get-capabilities): Fix docstring.
1111 (notifications-get-server-information): New defun.
1113 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1115 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1118 * textmodes/ispell.el: Experimental support for support debugging.
1119 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1121 (ispell-print-if-debug): New function to print stuff to
1122 `ispell-debug-buffer' if debugging is enabled.
1123 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1124 show some debugging info.
1125 (ispell-buffer-with-debug): New function that creates a debugging
1126 buffer and calls `ispell-buffer' with debugging enabled.
1128 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1129 comment in autoconf mode. (Bug#12768)
1131 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1133 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1134 frame-first-window, frame-root-window, frame-selected-window,
1135 minibuffer-selected-window, minibuffer-window,
1136 window-absolute-pixel-edges, window-at, window-body-height,
1137 window-body-width, window-display-table, window-combination-limit,
1138 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1139 window-inside-edges, window-inside-pixel-edges, window-left-child,
1140 window-left-column, window-margins, window-next-buffers,
1141 window-next-sibling, window-new-normal, window-new-total,
1142 window-normal-size, window-parameter, window-parameters, window-parent,
1143 window-pixel-edges, window-point, window-prev-buffers,
1144 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1145 window-start, window-text-height, window-top-child, window-top-line,
1146 window-total-height, window-total-width and window-use-time to the list
1147 of functions without side-effects.
1148 (toplevel): Add window-valid-p to the list of error-free functions
1149 without side-effects.
1151 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1153 * textmodes/ispell.el (ispell-program-name):
1154 Update spellchecker parameters when customized.
1156 2012-11-04 Glenn Morris <rgm@gnu.org>
1158 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1160 2012-11-04 Chong Yidong <cyd@gnu.org>
1162 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1163 same-window-* variables.
1165 2012-11-04 Juri Linkov <juri@jurta.org>
1167 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1168 (isearch-describe-key, isearch-describe-mode): Use a display
1169 action instead of binding same-window-* variables (Bug#10040).
1171 2012-11-03 Glenn Morris <rgm@gnu.org>
1173 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1174 Rename handler properties back from cl-- to cl-. (Bug#12788)
1176 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1178 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1180 * term/pc-win.el: Don't load term/internal from here.
1182 * loadup.el: Load term/internal from here.
1184 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1186 * progmodes/python.el (inferior-python-mode): Fix hang in
1187 jit-lock (Bug#12645).
1189 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1191 * window.el (switch-to-visible-buffer)
1192 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1194 2012-11-03 Glenn Morris <rgm@gnu.org>
1196 * emacs-lisp/cl-lib.el (cl--random-time):
1197 Rename from cl-random-time. (Bug#12773)
1198 (cl--gensym-counter, cl--random-state): Update callers.
1199 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1201 2012-11-03 Chong Yidong <cyd@gnu.org>
1203 * cus-start.el: Make cursor-type customizable (Bug#11633).
1205 2012-11-02 Glenn Morris <rgm@gnu.org>
1207 * filecache.el: No need to load find-lisp when compiling.
1208 (find-lisp-find-files): Autoload it.
1209 (file-cache-add-directory-recursively): Don't require find-lisp.
1211 * image.el (image-type-from-file-name): Trivial simplification.
1213 * emacs-lisp/bytecomp.el (byte-compile-eval):
1214 Decouple "noruntime" and "cl-functions" warnings.
1216 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1218 * play/gomoku.el (gomoku-display-statistics): Update mode line
1219 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1221 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1223 * window.el (quit-restore-window): If the window has been
1224 created on an existing frame and ended up as the sole window on
1225 that frame, do not delete it (Bug#12764).
1227 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1230 Rename from sh--inside-arithmetic-expression, handle more cases
1233 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1234 (sh-font-lock-open-heredoc): Use it (bug#12770).
1236 2012-10-30 Glenn Morris <rgm@gnu.org>
1238 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1240 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1242 2012-10-29 Chong Yidong <cyd@gnu.org>
1244 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1245 function key is stored in a keyboard macro (Bug#4894).
1247 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1249 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1253 (diff-unified->context, diff-context->unified)
1254 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1256 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1258 * files.el (find-alternate-file): Only ask one question (bug#12487).
1260 2012-10-29 Chong Yidong <cyd@gnu.org>
1262 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1263 Suggested by Dan Nicolaescu (Bug#6326).
1265 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1267 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1269 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1271 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1273 * face-remap.el (face-remap-add-relative): Handle the case where a
1274 face-remapping-alist entry is a cons cell (Bug#12762).
1276 2012-10-29 Kevin Ryde <user42@zip.com.au>
1278 * woman.el (woman-parse-numeric-value): Handle picas correctly
1281 2012-10-29 Glenn Morris <rgm@gnu.org>
1283 * emacs-lisp/cl.el (defsetf): Doc fix.
1285 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1288 syntax to the matching opener, if any (bug#12547).
1289 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1290 matching open as a "case-(".
1291 (sh-smie-rc-grammar): Add a corresponding rule for it.
1293 2012-10-28 Daniel Hackney <dan@haxney.org>
1295 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1296 "PKGNAME-autoloads.el" in case we created it.
1298 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1300 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1301 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1302 (completion--twq-all): Disable too-strict assertions.
1304 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1306 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1308 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1309 text to match the real keybindings.
1311 2012-10-27 Juri Linkov <juri@jurta.org>
1313 * wdired.el (wdired-keep-marker-rename): New defcustom.
1314 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1317 * dired.el (dired-keep-marker-rename): Add reference to
1318 `wdired-keep-marker-rename' in the docstring.
1319 Add default character value ?R to display initially in
1320 Customization UI instead of ?@.
1322 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1324 * window.el (display-buffer): In doc-string describe
1325 window-height and window-width alist entries.
1327 * time.el (display-time-world): Restore fit-window-to-buffer
1330 2012-10-27 Chong Yidong <cyd@gnu.org>
1332 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1334 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1336 * minibuffer.el (completion-category-overrides): New completion
1337 category `bookmark' (bug#11131).
1339 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1342 Silence bogus compiler warnings for ad-do-it.
1344 * bookmark.el (bookmark-completing-read): Set the completion category
1345 to `bookmark' (bug#11131).
1347 2012-10-26 Bastien <bzg@altern.org>
1348 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * face-remap.el: Use lexical-binding.
1351 (text-scale-adjust): Improve docstring. Use itself for the temporary
1352 overlay-map bindings, so as to repeat the "Use..." message each time.
1354 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1356 * emacs-lisp/macroexp.el (macroexp--expand-all):
1357 Obey byte-compile-warning-enabled-p (bug#12486).
1359 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1360 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1362 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1364 * mouse.el (mouse-drag-line): Move last form into preceding when
1367 * help.el (resize-temp-buffer-window): Fix doc-string.
1369 2012-10-25 David Engster <deng@randomsample.de>
1371 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1372 Remove. This feature is already integrated in imenu.
1374 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1375 always loaded. Require `speedbar' unconditionally.
1377 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1381 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1383 * net/ldap.el (ldap-search-internal): The official ldif format starts
1384 with a "version: 1" header (bug#12724).
1386 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1389 2012-10-25 Glenn Morris <rgm@gnu.org>
1391 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1393 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * minibuffer.el (minibuffer-force-complete): Use one more marker
1396 for the temporary-overlay-map command (bug#12619).
1398 2012-10-24 Chong Yidong <cyd@gnu.org>
1400 * time.el (display-time-world-mode): Derive from special-mode.
1401 (display-time-world): Use display-buffer (Bug#12708).
1402 (display-time-world-mode-map): Variable deleted.
1403 (display-time-world-display): Wrap the final delete-char inside
1406 2012-10-24 Chong Yidong <cyd@gnu.org>
1408 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1411 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1413 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1415 * minibuffer.el (completion--all-sorted-completions-location): New var.
1416 (completion--cache-all-sorted-completions)
1417 (completion--flush-all-sorted-completions): Use it.
1418 (completion-in-region, completion-in-region--postch)
1419 (completion-at-point, completion-help-at-point): Use markers in
1420 completion-in-region--data (bug#12619).
1422 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * progmodes/compile.el (compilation-start): Try to handle common
1425 quoting of `cd' argument (bug#12640).
1427 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1430 2012-10-23 Glenn Morris <rgm@gnu.org>
1432 * progmodes/gud.el (gud-menu-map):
1433 Check gdb-active-process is bound. (Bug#12358)
1435 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * repeat.el (repeat): Set real-this-command (bug#12232).
1439 * htmlfontify.el (hfy-post-html-hook):
1440 * filesets.el (filesets-cache-fill-content-hook):
1441 * arc-mode.el (archive-extract-hook):
1442 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1443 * net/rcirc.el (rcirc-sentinel-functions)
1444 (rcirc-receive-message-functions, rcirc-activity-functions)
1445 (rcirc-print-functions):
1446 * net/dbus.el (dbus-event-error-functions):
1447 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1448 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1449 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1450 * term/sun.el (sun-raw-prefix-hooks):
1451 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1453 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1455 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1456 Set `tramp-chunksize' to 1. This improves the performance.
1457 (tramp-smb-wait-for-output): Add timeout to
1458 `tramp-accept-process-output' calls.
1460 2012-10-23 Chong Yidong <cyd@gnu.org>
1462 * faces.el (font-list-limit): Define as an obsolete variable.
1464 * startup.el (command-line):
1465 * cus-start.el: Don't refer to font-list-limit.
1467 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1469 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * subr.el (internal-temp-output-buffer-show): Rename from
1472 temp-output-buffer-show, since previously compiled files expect this name.
1474 2012-10-23 Glenn Morris <rgm@gnu.org>
1476 * image.el (image-type-from-file-name): If multiple types match,
1477 return the first one that is supported. (Bug#9045)
1479 2012-10-22 Glenn Morris <rgm@gnu.org>
1481 * image.el (imagemagick-enabled-types): Doc fix.
1483 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1485 * progmodes/which-func.el (which-func-current): The hash-table may have
1486 an explicit nil (bug#12338).
1488 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * electric.el (electric-pair-delete-selection-self-insert-function):
1491 Rename to electric-pair-will-use-region, return a boolean.
1492 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1494 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1495 (delete-selection-pre-hook): Use use-region-p.
1496 (delete-selection-self-insert-function): Remove.
1497 (self-insert-command): Obey self-insert-uses-region-functions.
1498 (self-insert-iso): Revert to previous setting, since we don't actually
1499 know what that command does.
1500 (delete-selection-self-insert-hooks): Remove.
1502 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1504 * delsel.el (delete-selection-helper): New function, extracted from
1505 delete-selection-pre-hook.
1506 (delete-selection-pre-hook): Use it.
1507 (delete-selection-self-insert-function): New function.
1508 (delete-selection-self-insert-hooks): New hook.
1509 (self-insert-command, self-insert-iso): Use it.
1510 * electric.el (electric-pair-syntax): New function, extracted from
1511 electric-pair-post-self-insert-function.
1512 (electric-pair-post-self-insert-function): Use it.
1513 (electric-pair-delete-selection-self-insert-function): New function.
1514 (electric-pair-mode): Require delsel and setup
1515 delete-selection-self-insert-hooks (bug#11520).
1517 2012-10-20 Chong Yidong <cyd@gnu.org>
1519 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1520 no changes to show (Bug#12586).
1522 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1523 list explicitly (Bug#12571).
1525 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1527 * progmodes/flymake.el (flymake-create-temp-inplace):
1530 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1532 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1534 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1536 * calc/calc-units.el (math-extract-units): Properly extract powers
1539 2012-10-20 Daniel Colascione <dancol@dancol.org>
1541 * frame.el (make-frame): Set x-display-name as we used to in order
1542 to unbreak creating an X11 frame from an Emacs daemon started
1545 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1548 the same completion-field (bug#12221).
1550 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1552 * emacs-lisp/debug.el (debug): Record height of debugger window
1553 also when debugger will be back (Bug#8789).
1555 2012-10-18 Chong Yidong <cyd@gnu.org>
1557 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1558 Convert to defcustom.
1559 (gdb-get-source-file): Don't bind pop-up-windows.
1561 * progmodes/gud.el (gud-display-line): Don't specially re-use
1562 other frames for the gdb-mi case (Bug#12648).
1564 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * emacs-lisp/advice.el: Clean up commentary a bit.
1567 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1568 (byte-code-function-p): Never redefine.
1570 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1572 2012-10-18 Glenn Morris <rgm@gnu.org>
1574 * dired.el (dired-sort-toggle): Some ls implementations only allow
1575 a single option string. (Bug#12666)
1577 * minibuffer.el (completion-cycle-threshold): Doc fix.
1579 2012-10-17 Kenichi Handa <handa@gnu.org>
1581 * international/mule.el (set-keyboard-coding-system):
1582 Recover input meta mode when the new coding system doesn not use 8-bit.
1583 Supply TERMINAL arg to set-input-meta-mode.
1585 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1587 * wdired.el (wdired-old-marks): New variable.
1588 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1589 (wdired-do-renames): Move point with renamed file and don't lose
1590 mark status (Bug#11795).
1592 2012-10-16 Juri Linkov <juri@jurta.org>
1594 * replace.el (query-replace-help): Mention multi-buffer replacement
1595 keys in the Help message. (Bug#12655)
1597 2012-10-15 Chong Yidong <cyd@gnu.org>
1599 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1601 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1603 * window.el (display-buffer): Doc fix.
1605 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1606 Adjust the msft regexp to the output of Studio 2010, and move msft
1607 before edg-1. See the discussion on emacs-devel,
1608 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1611 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1614 (oset): Move uses of object-class-fast macro after its definition.
1616 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1618 2012-10-13 Chong Yidong <cyd@gnu.org>
1620 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1621 enabled, re-enable it (Bug#11963).
1623 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1625 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1626 non-nil, restore window configuration (Bug#12623).
1628 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * help-fns.el (describe-variable, describe-function-1):
1631 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1633 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1635 2012-10-12 Glenn Morris <rgm@gnu.org>
1637 * mail/rmailsum.el (rmail-header-summary):
1638 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1640 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1642 * progmodes/python.el (python-mode-map):
1643 Replace subtitute-key-definition with proper command remapping.
1644 (python-nav--up-list): Fix behavior for blocks on the same level.
1646 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1650 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1651 changes to the format of load-history.
1653 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1654 completion-ignore-case in case that var is buffer-local (bug#12615).
1656 2012-10-11 Kenichi Handa <handa@gnu.org>
1658 * international/eucjp-ms.el: Re-generated.
1660 2012-10-10 Kenichi Handa <handa@gnu.org>
1662 * select.el (xselect--encode-string): If a coding is specified for
1663 selection, and that is compatible with COMPOUND_TEXT, use it.
1665 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1667 * window.el (switch-to-buffer-preserve-window-point): New option.
1669 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1671 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1673 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1674 Don't document nil as a useful value (bug#12583).
1676 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1678 * net/tramp.el (tramp-debug-message):
1679 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1680 (with-tramp-progress-reporter): Rename from
1681 `tramp-with-progress-reporter'.
1682 (with-tramp-file-property, with-tramp-connection-property):
1683 Move from tramp-cache.el, rename from `with-file-property' and
1684 `with-connection-property', respectively.
1686 * net/tramp-cache.el: Remove `with-file-property' and
1687 `with-connection-property'.
1690 * net/tramp-gvfs.el:
1692 * net/tramp-smb.el: Adapt callees.
1694 * net/trampver.el: Update release number.
1696 2012-10-09 Glenn Morris <rgm@gnu.org>
1698 * w32-fns.el (set-message-beep):
1699 * term/w32-win.el (set-message-beep): Update declarations.
1701 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1704 (mode-line-widen, mode-line-input-method-map)
1705 (mode-line-coding-system-map, mode-line-remote)
1706 (mode-line-unbury-buffer, mode-line-bury-buffer)
1707 (mode-line-next-buffer, mode-line-previous-buffer):
1708 Replace save-selected-window+select-window => with-selected-window.
1710 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1711 * progmodes/cc-vars.el (bq-process): Remove, unused.
1713 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1715 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1717 Implemented `backward-up-list'-like navigation.
1718 * progmodes/python.el (python-nav-up-list)
1719 (python-nav-backward-up-list): New functions.
1720 (python-mode-map): Define substitute key for backward-up-list to
1721 python-nav-backward-up-list.
1723 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1725 * progmodes/python.el (python-fill-paragraph): Rename from
1726 python-fill-paragraph-function. Fixed fill-paragraph for
1727 decorators (Bug#12605).
1729 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1731 * progmodes/python.el (python-shell-output-filter): Handle extra
1732 carriage return in OSX (Bug#12409).
1734 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1736 Fix shell handling of unbalanced quotes and parens in output.
1737 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1738 (python-syntax-propertize-function): Use it.
1739 (python-shell-output-syntax-table): New var.
1740 (inferior-python-mode): Prevent unbalanced parens/quotes from
1741 previous output mess with current input context.
1743 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1745 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1746 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1748 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1750 * ffap.el (ffap-replace-file-component): Support Tramp file name
1751 syntax, not only ange-ftp's one.
1753 2012-10-08 Glenn Morris <rgm@gnu.org>
1755 * cus-start.el (message-log-max): Set :version.
1757 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1759 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1761 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1762 the minibuffer window (Bug#10851).
1764 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1766 Enhancements on forward-sexp movement.
1767 * progmodes/python.el (python-nav-beginning-of-statement)
1768 (python-nav-end-of-statement): Return point-marker.
1769 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1770 (python-info-current-symbol)
1771 (python-info-statement-starts-block-p): Rename from
1772 python-info-beginning-of-block-p.
1773 (python-info-statement-ends-block-p): Rename from
1774 python-info-end-of-block-p.
1775 (python-info-beginning-of-statement-p)
1776 (python-info-end-of-statement-p)
1777 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1780 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1783 frame-selected-windows.
1785 2012-10-08 Daniel Colascione <dancol@dancol.org>
1787 * battery.el (battery-status-function): Check for
1788 w32-battery-status itself, not system-time windows-nt.
1790 * frame.el: Require cl-lib.
1791 (display-format-alist): New variable mapping frame types to
1792 functions that initialize them.
1793 (window-system-for-display): New function: interprets
1794 display-format-alist.
1795 (make-frame-on-display): Remove existing display-selection logic
1796 and just forward to make-frame, which will now DTRT.
1797 (make-frame): Restructure to use window-system-for-display to
1798 figure out how to create a frame on a given display.
1799 (display-mouse-p): Look for frame-type w32, not a particular
1802 * loadup.el: Load w32 lisp code when we have the w32 feature.
1804 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1805 system-type windows-nt.
1807 * server.el (server-create-window-system-frame): Look for window
1809 (server-proces-filter): Only force a window system when windows-nt
1810 _and_ w32. Explain why.
1812 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1813 of window systems we configure for the mode.
1815 * startup.el (command-line): Mark window system is initialized
1816 after we've done it.
1818 * common-win.el (x-select-text): Look for w32, not windows-nt.
1820 * ns-win.el: Require cl-lib. Add ourselves to
1821 display-format-alist.
1822 (ns-initialize-window-system): Assert we're not initialized twice.
1824 * w32-win.el: Enable lexical binding; require cl-lib; add
1825 ourselves to display-format-alist.
1826 (w32-handle-dropped-file): Convert incoming dropped files from
1827 Windows paths to Cygwin ones before passing them on to the rest of
1829 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1830 (w32-initialize-window-system): Assert we're not initialized twice.
1832 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1833 (x-initialize-window-system): Assert we're not initialized twice.
1835 * w32-common-fns.el: New File.
1836 (w32-version, w32-using-nt, w32-get-clipboard-data)
1837 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1838 (w32-charset-info-alist, x-last-selected, text)
1839 (x-get-selection-value, x-selection-value): Move here.
1841 * w32-fns.el: Require w32-common-fns.
1842 (w32-version, w32-using-nt, w32-get-clipboard-data)
1843 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1844 (w32-charset-info-alist, x-last-selected, text)
1845 (x-get-selection-value, x-selection-value): Move to
1849 (w32-allow-system-shell, w32-system-shells): Define only in
1852 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1854 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1855 (read-passwd): Remove a few more potential sources of leaks.
1857 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1859 * progmodes/python.el (inferior-python-mode)
1860 (python-shell-make-comint): Fix initialization of local
1861 variables copied from parent buffer.
1863 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1865 * term/ns-win.el (ns-read-file-name): Update declaration to match
1867 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1868 it is set when font is acted upon.
1870 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1872 Enhancements to indentation.
1873 * progmodes/python.el (python-indent-context): Give priority to
1874 inside-string context. Make comments indentation markers.
1875 (python-indent-region): Do not mess with strings, unless it's the
1876 enclosing set of quotes.
1878 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * window.el (internal--before-save-selected-window)
1881 (internal--after-save-selected-window): New functions extracted from
1882 save-selected-window. Make sure we return the `alist' we construct.
1883 (save-selected-window): Use them.
1885 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1886 Use with-selected-window.
1888 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1889 forms that define macros (bug#12593).
1891 2012-10-07 Kenichi Handa <handa@gnu.org>
1893 * international/mule-conf.el (compound-text-with-extensions):
1894 Add :mime-charset property as x-ctext.
1896 2012-10-07 Stefan Merten <smerten@oekonux.de>
1898 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1899 (rst-indent-literal-normal, rst-indent-literal-minimized)
1900 (rst-indent-comment): Correct :version tag.
1901 (rst-official-cvs-rev): Correct version string.
1903 2012-10-07 Glenn Morris <rgm@gnu.org>
1905 * mail/rmailmm.el (rmail-mime-process-multipart):
1906 Do not confuse a multipart message with an epilogue
1907 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1909 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1911 Fix shell output retrieval and comint-prompt-regexp init.
1912 * progmodes/python.el (inferior-python-mode):
1913 (python-shell-make-comint): Fix initialization of
1914 comint-prompt-regexp from copied file local variables.
1915 (python-shell-fetched-lines): Remove var.
1916 (python-shell-output-filter-in-progress): Rename from
1917 python-shell-fetch-lines-in-progress.
1918 (python-shell-output-filter-buffer): Rename from
1919 python-shell-fetch-lines-string.
1920 (python-shell-fetch-lines-filter): Delete function.
1921 (python-shell-output-filter): New function.
1922 (python-shell-send-string-no-output): Use them.
1924 2012-10-07 Glenn Morris <rgm@gnu.org>
1926 * hi-lock.el (hi-lock-process-phrase):
1927 Try to make it less fragile. (Bug#7161)
1929 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1931 2012-10-06 Glenn Morris <rgm@gnu.org>
1933 * ehelp.el (electric-help-mode): Use help-mode rather than
1934 non-existent mode `help'.
1935 (electric-help-map): Use button-buffer-map. (Bug#10917)
1937 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1938 (reftex-create-bibtex-footer): Fix custom types.
1940 * progmodes/sh-script.el (sh-indent-after-continuation):
1941 Add explicit :group.
1943 * textmodes/rst.el (rst-preferred-decorations)
1944 (rst-shift-basic-offset): Clarify obsolescence versions.
1946 * profiler.el (profiler): Add missing group :version tag.
1947 * avoid.el (mouse-avoidance-banish-position):
1948 * proced.el (proced-renice-command):
1949 * calc/calc.el (calc-ensure-consistent-units):
1950 * calendar/icalendar.el (icalendar-import-format-uid):
1951 * net/tramp.el (tramp-save-ad-hoc-proxies):
1952 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1953 * progmodes/flymake.el (flymake-error-bitmap)
1954 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1955 * progmodes/sh-script.el (sh-indent-after-continuation):
1956 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1957 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1958 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1959 (vhdl-array-index-record-field-in-sensitivity-list)
1960 (vhdl-indent-comment-like-next-code-line):
1961 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1962 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1963 (reftex-cite-key-separator, reftex-create-bibtex-header)
1964 (reftex-create-bibtex-footer):
1965 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1966 (rst-indent-literal-normal, rst-indent-literal-minimized)
1967 (rst-indent-comment): Add missing custom :version tags.
1969 * calendar/timeclock.el (timeclock-modeline-display):
1970 Add missing obsolete alias for renamed user option.
1972 * strokes.el (strokes-modeline-string):
1973 * emulation/crisp.el (crisp-mode-modeline-string):
1974 * eshell/esh-mode.el (eshell-status-in-modeline):
1975 Aliases to defcustoms must come before the defcustom.
1977 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1978 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1979 (cal-tex-cursor-week-monday): Doc fixes.
1980 (cal-tex-cursor-week2-summary): Doc fix.
1981 Rename from cal-tex-cursor-week-at-a-glance.
1983 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1984 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1986 * calendar/calendar.el (calendar-mode-map):
1987 Add cal-tex-cursor-week2-summary.
1989 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1991 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1993 * subr.el (read-passwd-map): New var.
1994 (read-passwd): Use `read-string' again.
1995 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1997 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1999 * register.el (append-to-register, prepend-to-register):
2000 Deactivate mark, as does `copy-to-register' (bug#12389).
2002 2012-10-06 Chong Yidong <cyd@gnu.org>
2004 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2006 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2008 * international/characters.el: Fix simple mistake ((car chars) ->
2009 elt), delete duplicated code.
2011 2012-10-06 Glenn Morris <rgm@gnu.org>
2013 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2015 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2017 * color.el (color-hsl-to-rgb): Fix incorrect results for
2018 small and large hue values. (Bug#12559)
2020 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2022 Enhancements to docstring formatting when filling paragraphs.
2023 * progmodes/python.el (python-fill-docstring-style): Rename from
2024 python-fill-string-style. Added new style.
2025 (python-fill-string): Use new style. Better checks for
2028 2012-10-05 Glenn Morris <rgm@gnu.org>
2030 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2032 * color.el (color-name-to-rgb, color-rgb-to-hex)
2033 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2034 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2035 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2036 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2038 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2040 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2042 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2043 to get the correct size across symlinks.
2045 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2047 2012-10-04 Juri Linkov <juri@jurta.org>
2049 * replace.el (query-replace-interactive): Declare obsolete.
2050 (query-replace-read-from): Add the last incremental search string
2051 to the list of default values accessible via M-n.
2052 (map-query-replace-regexp): Use `read-regexp'.
2053 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2054 (map-query-replace-regexp, replace-string, replace-regexp):
2055 Fix docstrings to replace mentions of `query-replace-interactive'
2056 with alternatives. (Bug#12526)
2058 2012-10-04 Juri Linkov <juri@jurta.org>
2060 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2061 (dired-pop-to-buffer): Declare obsolete.
2062 (dired-mark-pop-up): Doc fix.
2064 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2066 Allow user to set docstring style for fill-paragraph.
2067 * progmodes/python.el
2068 (python-fill-comment-function, python-fill-string-function)
2069 (python-fill-decorator-function, python-fill-paren-function):
2070 Remove :safe for defcustoms.
2071 (python-fill-string-style): New defcustom
2072 (python-fill-paragraph-function): Enhance context detection.
2073 (python-fill-string): Honor python-fill-string-style settings.
2075 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2077 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2078 after setting its buffer (Bug#10805).
2080 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2082 Fix cornercase for string syntax.
2083 * progmodes/python.el (python-syntax-propertize-function):
2084 Simplify and enhance the regexp for unescaped quotes. Now it also
2085 matches quotes in weird situations like the single quote in
2087 (python-syntax-stringify): Simplify num-quotes detecting code.
2089 2012-10-03 Glenn Morris <rgm@gnu.org>
2091 * help-macro.el (three-step-help):
2092 Revert 2012-09-29 change. (Bug#12567)
2094 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2096 * menu-bar.el (kill-this-buffer): Don't do anything when
2097 `menu-frame' is not alive or visible (Bug#8184).
2099 * emacs-lisp/debug.el (debug): When quitting the debugger window
2100 restore current buffer (Bug#12502).
2102 2012-10-02 Chong Yidong <cyd@gnu.org>
2104 * progmodes/hideif.el (hif-lookup, hif-defined):
2105 Handle semantic-c-takeover-hideif.
2107 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2109 Change sampling interval units from ms to ns.
2110 * profiler.el (profiler-sampling-interval): Change units
2111 from ms to ns, multiplying the default by 1000000 so that
2113 (profiler-report-cpu-line-format): Give enough room for
2114 the maximum counters on 64-bit hosts.
2115 (profiler-report-render-calltree-1): Call them "CPU samples",
2116 not "Time (ms)", since they are not milliseconds now (and
2119 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2121 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2122 Fix querying BBDB for entries without a last name (Bug#11580).
2124 2012-10-02 Chong Yidong <cyd@gnu.org>
2126 * emacs-lisp/eieio.el: Restore Version header.
2128 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2130 * vc/diff-mode.el (diff--auto-refine-data): New var.
2131 (diff-hunk): Use it to delay refinement.
2132 (diff-mode): Remove overlays when we turn off font-lock.
2134 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2135 (table-initialize-table-fixed-width-mode)
2136 (table-set-table-fixed-width-mode): Remove functions.
2137 (table-command-list): Move initialization into declaration.
2138 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2139 (table-with-cache-buffer): Use `declare'.
2140 (table-span-cell): Simplify via CSE.
2141 (table-fixed-width-mode): Use define-minor-mode.
2142 (table-call-interactively, table-funcall, table-apply): Remove.
2143 (table-function): New function, to replace them.
2145 * bookmark.el (bookmark-search-pattern): Remove var.
2146 (bookmark-read-search-input): Remove function.
2147 (bookmark-bmenu-search): Reimplement using a minibuffer.
2149 * faces.el (modeline): Remove obsolete face name.
2151 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2152 and give a non-nil default value.
2153 (add-change-log-entry): Simplify accordingly.
2155 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2157 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2158 (vc-git-log-edit-toggle-amend): New function.
2159 (vc-git-log-edit-toggle-signoff): New function.
2160 (vc-git-log-edit-mode): New major mode.
2161 (vc-git-log-edit-mode-map): Keymap for it.
2162 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2164 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2166 (log-edit-toggle-header): New function.
2167 (log-edit-extract-headers): Accept function values in HEADERS alist.
2169 2012-10-01 David Engster <deng@randomsample.de>
2171 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2172 from symbol property and change message to be more consistent with
2174 (eieio-describe-generic): Add filename for each implementation.
2175 Fix indices for generic and normal methods.
2176 (eieio-method-def, eieio-class-def): New buttons.
2177 (eieio-help-find-method-definition)
2178 (eieio-help-find-class-definition): New functions.
2179 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2180 class, constructor and method definitions.
2182 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2183 information in symbol property.
2184 (scoped-class): Remove.
2185 (eieio-slot-name-index, call-next-method): Check if it is bound.
2187 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2189 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2190 (eieio-custom-mode): New major mode.
2191 (eieio-customize-object): Use it.
2193 2012-10-01 Eric Ludlam <zappo@gnu.org>
2195 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2196 specifying the expected class, and whether subclassing is allowed.
2197 (eieio-persistent-convert-list-to-object):
2198 (eieio-persistent-validate/fix-slot-value)
2199 (eieio-persistent-slot-type-is-class-p): New functions.
2200 (eieio-named::slot-missing): Doc fix.
2202 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2203 Stop using unused publd variable.
2205 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2206 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2207 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2208 (eieio-speedbar-handle-click): Do not specify a class for the
2209 method. Fixes method invocation order problems with EDE.
2211 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2214 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2216 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2218 * bookmark.el (bookmark-version-control): Give tags in the
2219 :type choices (Bug#12309), and improve doc string.
2220 (bookmark-write-file): Bind `print-circle' to `t' to allow
2221 circular custom bookmark types. (Bug#12503)
2223 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2225 Revert the FOLLOW-SYMLINKS change for file-attributes.
2226 * files.el (remote-file-name-inhibit-cache, after-find-file):
2227 * time.el (display-time-file-nonempty-p): Undo last change.
2229 * profiler.el (profiler-sampling-interval): Change default back to 1.
2230 See Stefan Monnier in
2231 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2233 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2235 Shell output catching a la gud-gdb.
2236 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2237 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2239 (python-shell-fetch-lines-filter): New function.
2240 (python-shell-send-string-no-output): Use them.
2242 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2244 * profiler.el (profiler-sampling-interval): Rename from
2245 profiler-sample-interval.
2246 (profiler-sampling-interval): Default to 10.
2247 (profiler-find-profile): New command (was profiler-find-log).
2248 (profiler-find-profile-other-window): New command.
2249 (profiler-find-profile-other-frame): New command.
2250 (profiler-profile): Introduce API-level data structure.
2252 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2254 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2255 * files.el (remote-file-name-inhibit-cache):
2256 * time.el (display-time-file-nonempty-p): Use it.
2257 * files.el (after-find-file): Don't chase links before calling
2258 file-exists-p, as file-exists-p already does the right thing.
2260 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2262 Merge from standalone RefTeX repository.
2264 The following ChangeLog entries are shortened versions of the
2265 original ones with file paths adapted. A not so strongly edited
2266 version of the original ChangeLog can be found in the commit log.
2268 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2269 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2270 Correctly handle new value type returned by `reftex-citation'.
2272 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2273 that entries with whitespace at various places are found.
2274 Doc fix. Include entries that are cross-referenced from cited entries.
2275 Include @String definitions in the resulting bib file. Add header
2276 and footer defined in `reftex-create-bibtex-header' and
2277 `reftex-create-bibtex-footer'.
2278 (reftex-do-citation): Make it possible again to insert
2279 non-existent entries. Save match data when asking for optional
2280 arguments. Return all keys, not just the first one.
2281 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2282 all citations in the same line.
2283 (reftex-parse-bibtex-entry): Accept additional optional argument
2284 `raw' and keep quotes or braces if it is non-nil. Match fields
2285 containing hyphens besides word constituents.
2286 (reftex-get-string-refs): New function.
2287 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2288 and ask if it should be reread in case it did.
2289 (reftex-pop-to-bibtex-entry)
2290 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2291 entries with spaces or tabs in front of arguments.
2292 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2293 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2294 Match entries containing numbers and symbol constituents.
2295 (reftex-do-citation, reftex-figure-out-cite-format):
2296 Use `reftex-cite-key-separator'.
2298 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2299 (reftex-mouse-view-crossref): Explain why point is set.
2301 * textmodes/reftex-global.el: Whitespace changes.
2303 * textmodes/reftex-index.el: Move provide statement to end of
2305 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2306 (reftex-index-visit-phrases-buffer): Set marker when visiting
2307 buffer. This allows for returning from the phrases file to the
2308 file one was just editing instead of the file where the last
2309 phrases was added from.
2310 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2311 punctuation syntax as it usually is not used as string quote in
2312 TeX-related modes and may occur unmatched. The change also
2313 prevents fontification of quoted content.
2314 (reftex-index-phrases-mode): Use it.
2316 * textmodes/reftex-parse.el (reftex-parse-from-file):
2317 Move backward one char if a `\' was matched after a section macro.
2318 (reftex-parse-from-file): Use beginning of match instead of end as
2321 * textmodes/reftex-ref.el: Adapt creation of
2322 `reftex-<package>-<macro>' functions to new structure of
2323 `reftex-ref-style-alist'.
2324 (reftex-reference): Use `reftex-ref-style-list' function.
2325 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2326 reference macro if `reftex-ref-macro-prompt' is non-nil.
2327 (reftex-reference): Pass refstyle to `reftex-format-special'.
2328 Determine reference macro by looking at
2329 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2330 Use only one special format function.
2331 (reftex-varioref-vref, reftex-fancyref-fref)
2332 (reftex-fancyref-Fref): Remove definitions. The functions are now
2333 generated from `reftex-ref-style-alist'.
2334 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2336 (reftex-format-special): New function.
2338 * textmodes/reftex-sel.el
2339 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2340 of `reftex-ref-style-alist'. Remove code for testing macro type.
2341 (reftex-select-toggle-varioref)
2342 (reftex-select-toggle-fancyref): Remove.
2343 (reftex-select-cycle-ref-style-internal)
2344 (reftex-select-cycle-ref-style-forward)
2345 (reftex-select-cycle-ref-style-backward): New functions.
2346 (reftex-select-label-map): Use `v' and `V' for general cycling
2347 through reference styles. Add `p' for switching between number
2348 and page reference types.
2350 * textmodes/reftex-toc.el (reftex-re-enlarge):
2351 Call `enlarge-window' only if there is something to do because in Emacs
2352 the horizontal version throws an error even if the parameter is 0.
2354 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2355 (reftex-plug-into-AUCTeX): Doc fix.
2356 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2357 string. Adapt to new name.
2358 (reftex-ref-style-alist): Change structure so that it is not
2359 possible to use multiple different package names within a style.
2360 Remove the symbols for symbols for macro type distinction.
2361 Add characters for macro selection.
2362 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2363 (reftex-create-bibtex-footer): New variables.
2364 (reftex-format-ref-function): Mention third argument of special
2366 (reftex-ref-style-alist, reftex-ref-style-default-list):
2368 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2369 to new implementation. Mark as obsolete. Add compatibility code
2370 for honoring the variable values in case they are set.
2371 (reftex-cite-format-builtin, reftex-bibliography-commands):
2372 Add support for ConTeXt.
2373 (reftex-format-ref-function, reftex-format-cite-function):
2375 (reftex-cite-key-separator): New variable.
2377 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2378 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2379 `reftex-syntax-table' because parens have to retain their paren
2380 syntax in order for parsing of BibTeX entries like @book(...) to
2382 (reftex-in-comment): Do not error out if `comment-start-skip' is
2383 not set. Deal correctly with escaped comment characters.
2384 (reftex-tie-multifile-symbols): Add doc string.
2385 Initialize `reftex-ref-style-list'.
2386 (reftex-untie-multifile-symbols): Add doc string.
2387 (reftex-add-index-macros): Doc fix.
2388 (reftex-ref-style-activate, reftex-ref-style-toggle)
2389 (reftex-ref-style-list): New functions.
2390 (reftex-mode-menu): Use them. Adapt to new structure of
2391 `reftex-ref-style-alist'.
2392 (reftex-select-with-char): Kill the RefTeX Select buffer when
2394 (reftex-remove-if): New function.
2395 (reftex-erase-all-selection-and-index-buffers)
2396 (reftex-mode-menu): Reference styles are now computed from
2397 `reftex-ref-style-alist'. Fix typo.
2398 (reftex-report-bug): New function.
2399 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2400 algorithms with O(n log n). Introduce optional argument SORT (not
2403 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2405 Enhancements for triple-quote string syntax.
2406 * progmodes/python.el (python-syntax-propertize-function):
2407 Match both quote cases in one regexp.
2408 (python-syntax-stringify): Handle matches properly.
2410 2012-09-30 Juri Linkov <juri@jurta.org>
2412 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2413 to nil around the call to `insert' to prevent
2414 directory time modification by lock_file. (Bug#2295)
2415 * tar-mode.el (tar-summarize-buffer): Idem.
2417 2012-09-30 Juri Linkov <juri@jurta.org>
2419 * facemenu.el (list-colors-sort): Add option "Luminance".
2420 (list-colors-sort-key): Implement it.
2422 * vc/diff-mode.el (diff-refine-removed):
2423 * vc/ediff-init.el (ediff-fine-diff-A):
2424 * vc/smerge-mode.el (smerge-refined-removed):
2425 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2427 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2429 * term/ns-win.el (x-file-dialog): New function.
2431 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2433 * ido.el (ido-max-directory-size): Default to nil; the current
2434 default is small for POSIX systems, and impractical on Windows 7
2435 now that lstat returns directory sizes for NTFS.
2437 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2439 In buffer display functions handle window-height/window-width
2440 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2441 * window.el (window--display-buffer): New argument ALIST.
2442 Obey window-height and window-width alist entries.
2443 (window--try-to-split-window): New argument ALIST.
2444 Bind window-combination-limit to t when the window's size shall be
2445 changed and window-combination-limit equals `window-size'.
2446 (display-buffer-in-atom-window)
2447 (display-buffer-in-major-side-window)
2448 (display-buffer-in-side-window, display-buffer-same-window)
2449 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2450 (display-buffer-pop-up-window, display-buffer-below-selected)
2451 (display-buffer-at-bottom, display-buffer-in-previous-window)
2452 (display-buffer-use-some-window): Adjust all callers of
2453 window--display-buffer and window--try-to-split-window.
2454 (fit-frame-to-buffer): New option.
2455 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2457 (display-buffer-in-major-side-window): Evaluate window-height /
2458 window-width alist entries.
2460 * help.el (temp-buffer-resize-frames)
2461 (temp-buffer-resize-regexps): Remove options.
2462 (temp-buffer-resize-mode): Adjust doc-string.
2463 (resize-temp-buffer-window): Don't consult
2464 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2465 temp-buffer-resize-frames.
2467 * dired.el (dired-mark-pop-up):
2468 Call display-buffer-below-selected with a fit-window-to-buffer alist
2471 2012-09-30 Chong Yidong <cyd@gnu.org>
2473 * server.el (server-host): Document the security implications.
2474 (server-auth-key): Doc fix.
2476 * startup.el (initial-buffer-choice): Doc fix.
2478 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2480 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2483 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2485 * help-fns.el (help-fns--obsolete): Fix last change.
2487 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2489 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2490 (minor-mode-map-alist): Remove redundant code.
2492 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2493 visited in a buffer.
2494 (cvs-insert-visited-file): New function.
2495 (find-file-hook): Use it.
2497 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2499 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2501 (log-edit-empty-buffer-p): Don't require a space after a header.
2503 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2505 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2507 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2508 a proper minor-mode.
2510 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2512 2012-09-29 Glenn Morris <rgm@gnu.org>
2514 * winner.el (winner-mode): Remove variable (let define-minor-mode
2516 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2518 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2519 (winner-mode): Use define-minor-mode.
2521 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2522 the full definition in loaddefs, rather than duplicating it.
2524 * help-macro.el (three-step-help): No need to autoload defcustom.
2526 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2527 (inferior-lisp-program, inferior-lisp-load-command)
2528 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2529 No need to autoload defcustoms.
2531 * hippie-exp.el (hippie-expand-try-functions-list)
2532 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2533 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2534 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2535 (hippie-expand-only-buffers): No need to autoload defcustoms.
2536 * progmodes/vhdl-mode.el (vhdl-line-expand):
2537 Explicitly load hippie-exp, so it does not get autoloaded
2538 while hippie-expand-try-functions-list is let-bound.
2540 2012-09-28 Glenn Morris <rgm@gnu.org>
2542 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2544 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2545 Only "cl.el" counts as cl these days.
2547 2012-09-28 Juri Linkov <juri@jurta.org>
2549 Display archive errors in the echo area instead of inserting
2552 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2553 to STDERR-TEST that can be a regexp matching a successful output.
2554 Create a temporary file and redirect stderr to it. Search for
2555 STDERR-TEST in the stderr output and display it in the echo area
2556 if no match is found.
2557 (archive-extract-by-file): New function like
2558 `archive-extract-by-stdout' but extracting archives to files
2559 and looking for successful matches in stdout. Function body is
2560 mostly copied from `archive-rar-extract'.
2561 (archive-rar-extract): Use `archive-extract-by-file'.
2562 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2564 2012-09-28 Leo Liu <sdl.web@gmail.com>
2566 * pcomplete.el (pcomplete-show-completions):
2567 Use minibuffer-message to make pcomplete usable in minibuffer.
2569 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2571 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * type-break.el: Use lexical-binding.
2574 (type-break-mode): Use define-minor-mode.
2576 * emacs-lisp/pcase.el (pcase--mark-used): New.
2577 (pcase--u1): Use it (bug#12512).
2579 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2580 in load-history with the right file name.
2582 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2584 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2585 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2586 (doc-view-get-bounding-box): Make bounding box slicing work for
2587 ODF and DVI documents.
2589 2012-09-28 Glenn Morris <rgm@gnu.org>
2591 * type-break.el (type-break-mode, type-break-interval)
2592 (type-break-good-rest-interval, type-break-keystroke-threshold):
2593 No need to autoload.
2594 (type-break-good-rest-interval, type-break-keystroke-threshold):
2597 2012-09-28 Chong Yidong <cyd@gnu.org>
2599 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2602 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2606 2012-09-27 Glenn Morris <rgm@gnu.org>
2608 * faces.el (x-display-name): Declare (for without-x builds).
2610 * linum.el (linum-format): Don't autoload it. Improve :type.
2612 * progmodes/tcl.el: Don't require outline when compiling.
2613 (outline-regexp, outline-level): Declare.
2614 * textmodes/sgml-mode.el: Don't require outline when compiling.
2615 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2617 * term.el (term-ansi-reset):
2618 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2620 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2621 files for RCS and SCCS. (Bug#9781)
2623 2012-09-27 Chong Yidong <cyd@gnu.org>
2625 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2626 change; value should be t.
2628 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * image-mode.el: Use lexical-binding.
2631 (image-mode-winprops): Use t to stand for the window of
2632 a buffer that's not displayed.
2633 * doc-view.el (doc-view-new-window-function): Handle the new
2635 (doc-view-enlarge): Make it a real nop if the size is not changed.
2636 (doc-view-display): Handle the case where the buffer is not (yet?)
2637 displayed in any window.
2638 (doc-view-saved-settings): New var.
2639 (doc-view-mode): Use it.
2640 (doc-view-fallback-mode): Set it.
2642 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2643 Set lexical-binding.
2644 (minibuffer-eldef-shorten-default): New var.
2645 (minibuffer-default-in-prompt-regexps): Use it for new default.
2646 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2648 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2650 * international/uni-bidi.el:
2651 * international/uni-category.el:
2652 * international/uni-name.el:
2653 * international/uni-numeric.el: Regenerate.
2655 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2656 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * profiler.el: New file.
2660 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2663 (testcover-reinstrument): Simplify with CSE.
2665 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2667 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2669 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2671 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2672 (verilog-auto-input, verilog-auto-insert-lisp)
2673 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2674 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2675 (verilog-auto-unused, verilog-auto-wire)
2676 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2677 newline. Reported by Andrew Jones.
2678 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2679 Reported by Brad Dobbie.
2680 (verilog-batch-delete-trailing-whitespace):
2681 Create verilog-batch-delete-trailing-whitespace.
2682 Reported by Brad Dobbie.
2683 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2684 parameters from another module. Reported by Dan Katz.
2685 (verilog-auto, verilog-auto-assign-modport)
2686 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2687 AUTOINOUTMODPORT for UVM interface module shell generation.
2688 Reported by Brad Dobbie.
2689 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2691 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2692 Reported by Matt Martin.
2694 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2696 * window.el (window--resize-child-windows): When resizing child
2697 windows proportionally, process them in reverse order to
2698 preserve the "when splitting a window the new one gets the odd
2700 (window--resize-root-window-vertically): When resizing the
2701 minibuffer window try to affect only windows at the bottom of the
2704 2012-09-25 Chong Yidong <cyd@gnu.org>
2706 * subr.el (declare): Doc fix.
2708 * help-fns.el (help-fns--obsolete): Handle macros properly.
2710 2012-09-25 Chong Yidong <cyd@gnu.org>
2712 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2713 this function obsolete.
2715 * calendar/cal-x.el (calendar-two-frame-setup)
2716 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2717 * calendar/calendar.el (american-calendar, european-calendar)
2718 (calendar-for-loop):
2719 * comint.el (comint-dynamic-simple-complete)
2720 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2721 * desktop.el (desktop-load-default):
2722 * dired-x.el (dired-omit-here-always)
2723 (dired-hack-local-variables, dired-default-directory):
2724 * emacs-lisp/derived.el (derived-mode-class):
2725 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2726 * emacs-lock.el (toggle-emacs-lock):
2727 * epa.el (epa-display-verify-result):
2728 * epg.el (epg-sign-keys, epg-start-sign-keys)
2729 (epg-passphrase-callback-function):
2730 * eshell/esh-util.el (eshell-for):
2731 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2732 (eshell-add-to-window-buffer-names):
2733 * files.el (locate-file-completion):
2734 * imenu.el (imenu-example--create-c-index)
2735 (imenu-example--create-lisp-index)
2736 (imenu-example--lisp-extract-index-name)
2737 (imenu-example--name-and-position):
2738 * international/mule-cmds.el (princ-list):
2739 * international/mule-diag.el (decode-codepage-char):
2740 * international/mule-util.el (detect-coding-with-priority):
2741 * iswitchb.el (iswitchb-read-buffer):
2742 * mail/mailalias.el (mail-complete):
2743 * mail/sendmail.el (mail-sent-via):
2744 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2745 (mouse-major-mode-menu):
2746 * password-cache.el (password-read-and-add):
2747 * pcomplete.el (pcomplete-parse-comint-arguments):
2748 * progmodes/sh-script.el (sh-maybe-here-document):
2749 * replace.el (query-replace-regexp-eval):
2750 * savehist.el (savehist-load):
2751 * simple.el (choose-completion-delete-max-match):
2752 * term.el (term-dynamic-simple-complete):
2753 * vc/ediff-init.el (ediff-check-version):
2754 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2755 * vc/vc.el (vc-diff-switches-list):
2756 * view.el (view-return-to-alist-update): Likewise.
2758 * subr.el (eval-next-after-load, makehash, insert-string)
2759 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2761 (mode-line-inverse-video): Variable deleted.
2763 * international/mule-util.el (string-to-sequence): Remove.
2765 * calendar/calendar.el (calendar-version):
2766 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2767 (icalendar-convert-diary-to-ical):
2768 * cus-edit.el (custom-mode):
2769 * ansi-color.el (ansi-color-unfontify-region):
2770 * international/latin1-disp.el (latin1-char-displayable-p):
2771 * progmodes/cwarn.el (turn-on-cwarn-mode):
2772 * progmodes/which-func.el (which-func-update-1):
2773 Use define-obsolete-function-alias.
2775 * net/newst-backend.el (newsticker-cache-filename):
2776 * net/newst-treeview.el (newsticker-groups-filename):
2777 Fix incorrect obsolescence declaration.
2779 * allout.el (allout-passphrase-hint-string): Likewise.
2780 (allout-init): Use a declare form to mark obsolete.
2782 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2783 this applies to functions.
2785 * iswitchb.el (iswitchb-read-buffer): Move code of
2786 iswitchb-define-mode-map here, and delete that obsolete function.
2788 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2789 font-lock-reference-face.
2791 2012-09-25 Glenn Morris <rgm@gnu.org>
2793 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2796 * eshell/em-term.el (eshell-term-name):
2797 Default to term-term-name. (Bug#12485)
2799 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2801 * progmodes/python.el (python-shell-send-buffer): Better handling
2802 of "if __name__ == '__main__':" conditionals when sending the buffer.
2804 2012-09-24 Glenn Morris <rgm@gnu.org>
2806 * eshell/esh-cmd.el (eshell-find-alias-function):
2807 Tighten up file-name regexp. (Bug#12499)
2809 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2811 Enhancements for triple-quote string syntax.
2812 * progmodes/python.el (python-quote-syntax): Remove.
2813 (python-syntax-propertize-function): New value.
2814 (python-syntax-count-quotes, python-syntax-stringify):
2817 2012-09-24 Chong Yidong <cyd@gnu.org>
2819 * mail/supercite.el (sc-version): Remove obsolete function.
2820 (sc-describe): Don't mark as obsolete, since it is bound.
2821 (sc-submit-bug-report): Remove.
2823 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2824 (cvs-commit-buffer-require-final-newline): Remove.
2825 (log-edit-require-final-newline)
2826 (log-edit-changelog-full-paragraphs): Default to t.
2828 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2829 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2830 * vc/vc.el (vc-checkout-carefully): Likewise.
2832 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2833 (emerge-version): Remove.
2835 * progmodes/compile.el (compile-internal): Remove.
2836 (compilation-parse-errors-function): Fix typo.
2838 * international/mule.el (set-char-table-default): Remove.
2839 (set-coding-priority, make-coding-system, generic-char-p)
2840 (charset-list, charset-bytes, charset-id): Use declare to mark
2841 functions as obsolete.
2843 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2844 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2845 * vc/vc-hooks.el (vc-default-registered): Don't use
2846 vc-master-templates.
2848 * font-lock.el (font-lock-reference-face):
2849 Use define-obsolete-variable-alias.
2851 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2852 * calendar/calendar.el (calendar-font-lock-keywords):
2853 * calendar/diary-lib.el (diary-font-lock-keywords)
2854 (diary-fancy-font-lock-keywords):
2855 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2856 * textmodes/reftex-index.el (reftex-insert-index):
2857 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2858 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2859 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2860 * progmodes/prolog.el (prolog-font-lock-keywords):
2861 * progmodes/idlwave.el (idlwave-idl-keywords):
2862 * progmodes/ada-mode.el (ada-font-lock-keywords):
2863 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2865 2012-09-24 Glenn Morris <rgm@gnu.org>
2867 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2869 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2871 * progmodes/python.el (python-indent-line): More consistent cursor
2874 2012-09-23 Stefan Merten <smerten@oekonux.de>
2876 * textmodes/rst.el: Fix compiler warning.
2878 2012-09-23 Roland Winkler <winkler@gnu.org>
2880 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2881 Transcribe also LaTeX hyphenation.
2882 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2883 bibtex-reformat-previous-options.
2885 2012-09-23 Roland Winkler <winkler@gnu.org>
2887 * proced.el (proced-renice-command): New variable.
2888 (proced-marked-processes): New function.
2889 (proced-with-processes-buffer): New macro.
2890 (proced-send-signal): Use them.
2891 (proced-renice): New command bound to r.
2893 2012-09-23 Roland Winkler <winkler@gnu.org>
2895 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2896 ibuffer-saved-filter-groups has one element, shortcut the call of
2897 completing-read. (Bug#12331)
2899 2012-09-23 Chong Yidong <cyd@gnu.org>
2901 * bindings.el (mode-line-toggle-read-only):
2902 * bs.el (bs-toggle-readonly):
2903 * buff-menu.el (Buffer-menu-toggle-read-only):
2904 * dired.el (dired-toggle-read-only):
2905 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2907 2012-09-23 Chong Yidong <cyd@gnu.org>
2909 * image.el (image-type-available-p): Adapt to init-image-library
2912 2012-09-22 Juri Linkov <juri@jurta.org>
2914 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2915 `dired-toggle-read-only'. (Bug#12462)
2917 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2919 * subr.el (temp-output-buffer-show): New function.
2920 (with-output-to-temp-buffer): Call temp-output-buffer-show
2921 instead of internal-temp-output-buffer-show.
2923 2012-09-22 Chong Yidong <cyd@gnu.org>
2925 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2928 * repeat.el (repeat): Doc fix (Bug#12348).
2930 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2933 * simple.el (shell-command-on-region): Doc fix.
2934 (read-only-mode): Doc fix.
2936 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2938 * emacs-lisp/timer.el (run-with-idle-timer)
2939 (timer-activate-when-idle): Warn against reinvoking an idle timer
2940 from within its own timer action. (Bug#12447)
2942 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2944 * cus-start.el (window-combination-limit): Add new optional
2946 * window.el (temp-buffer-window-show)
2947 (window--try-to-split-window): Handle new values of
2948 window-combination-limit (Bug#1806).
2949 (split-window): Test window-combination-limit for t instead of
2951 (display-buffer-at-bottom): New buffer display action function.
2952 * help.el (temp-buffer-resize-regexps): New option.
2953 (temp-buffer-resize-mode): Rewrite doc-string.
2954 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2955 Don't resize reused window. Suggested by Glenn Morris.
2957 2012-09-22 Stefan Merten <smerten@oekonux.de>
2959 * textmodes/rst.el: Revamp section title faces.
2960 (rst-official-version)
2961 (rst-package-emacs-version-alist): Sync with official version
2963 (rst-faces-defaults, rst-set-level-default)
2964 (rst-level-face-max, rst-level-face-base-color)
2965 (rst-level-face-base-light, rst-level-face-format-light)
2966 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2967 (rst-adornment-faces-alist): Match new setup.
2968 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2969 (rst-level-5, rst-level-6): New faces.
2971 2012-09-22 Chong Yidong <cyd@gnu.org>
2973 * simple.el (undo): Handle indirect buffers (Bug#8207).
2975 2012-09-21 Leo Liu <sdl.web@gmail.com>
2977 IDO: Disable match re-ordering for buffer switching.
2978 * ido.el (ido-buffer-disable-smart-matches): New variable.
2979 (ido-set-matches-1): Use it. (Bug#2042)
2981 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2983 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2984 Fix 2011-05-17 change. (Bug#12418)
2986 2012-09-21 Leo Liu <sdl.web@gmail.com>
2988 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2990 2012-09-21 Glenn Morris <rgm@gnu.org>
2992 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2993 Be more robust about locating simple.el.
2995 2012-09-21 Glenn Morris <rgm@gnu.org>
2997 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2999 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3001 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3003 2012-09-20 Juri Linkov <juri@jurta.org>
3005 * replace.el (query-replace-read-from): Use `read-regexp' instead
3006 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3007 (occur-read-primary-args): Use `read-regexp' instead of
3009 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3010 `read-from-minibuffer'.
3011 * isearch.el (isearch-occur): Use `read-regexp' instead of
3013 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3014 `read-from-minibuffer'.
3015 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3016 of `read-string'. (Bug#7567)
3018 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3019 and allow accepting a list of strings prepended to a list of
3020 standard default values. Doc fix. (Bug#12321)
3022 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3024 * replace.el (read-regexp): Don't add ": " when PROMPT already
3025 ends with a colon and space. (Bug#12321)
3027 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3029 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3032 2012-09-20 Stefan Merten <smerten@oekonux.de>
3034 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3035 Fixes feature request bug#11711.
3036 (rst-mode): Create `imenu-create-index-function'.
3037 (rst-get-stripped-line): Delete after refactoring.
3038 (rst-section-tree, rst-section-tree-rec)
3039 (rst-section-tree-point): Refactor and document properly.
3040 (rst-imenu-find-adornments-for-position)
3041 (rst-imenu-convert-cell, rst-imenu-create-index):
3044 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3046 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3047 (macroexp--expand-all): Use it.
3048 (macroexp--funcall-and-return): Remove by folding it into its sole
3049 caller (macroexp--warn-and-return).
3050 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3051 Use macroexp--obsolete-warning.
3053 * calc/calc.el: Fix last change by removing the whole chunk, since it
3054 was only needed back when Calc was not bundled.
3056 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3058 * emacs-lisp/debug.el (debug): Restore assignment to
3059 debugger-old-buffer removed on 2012-09-08.
3061 2012-09-20 Juri Linkov <juri@jurta.org>
3063 * dired-aux.el (dired-diff): Remove (require 'diff) since
3064 `diff-latest-backup-file' is now autoloaded.
3066 2012-09-20 Chong Yidong <cyd@gnu.org>
3068 * vc/diff.el (diff-latest-backup-file): Autoload.
3070 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * calc/calc.el: Remove redundant autoload shape check.
3073 (sel-mode): Don't defvar.
3074 (calc-get-stack-element): Add `sel-mode' arg instead.
3075 (calc-top, calc-top-list): Pass it this additional argument.
3076 * calc/calc-store.el (calc-store-map):
3077 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3078 (calc-map-equation, calc-outer-product, calc-inner-product):
3079 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3081 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3083 2012-09-19 Juri Linkov <juri@jurta.org>
3085 * dired-aux.el (dired-diff): Add (require 'diff) because
3086 `diff-latest-backup-file' is not autoloaded.
3087 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3088 of `dired-get-filename' to t to not report error when there is
3089 no default file on the current line.
3091 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3094 macroexp--eval-if-compile.
3095 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3096 (macroexp--expand-all): Use them (bug#12371).
3098 * doc-view.el (doc-view-guess-paper-size)
3099 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3101 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3103 New feature: set optimal slice from BoundingBox information.
3104 * doc-view.el (doc-view-mode-map): Add keybinding.
3105 (doc-view-menu): Add menu entry.
3106 (doc-view-set-slice): Adapt docstring.
3107 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3108 (doc-view-scale-bounding-box)
3109 (doc-view-set-slice-from-bounding-box): New functions.
3110 (doc-view-paper-sizes): New defvar.
3112 2012-09-19 Glenn Morris <rgm@gnu.org>
3114 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3115 (byte-compile-log-warning): Autoload. (Bug#12371)
3117 * calendar/calendar.el (calendar-american-month-header)
3118 (calendar-european-month-header, calendar-iso-month-header)
3119 (calendar-month-header): New options.
3120 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3121 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3123 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3125 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3127 2012-09-18 Juri Linkov <juri@jurta.org>
3129 * dired-aux.el (dired-diff): Restore original functionality of
3130 getting the default value, but keep new feature of using the
3131 latest existing backup file (`diff-latest-backup-file').
3133 2012-09-18 Juri Linkov <juri@jurta.org>
3135 * dired.el (dired-mark): If the region is active in Transient Mark
3136 mode, mark all files in the active region. Doc fix.
3137 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3138 Doc fix. (Bug#10624)
3140 2012-09-18 Juri Linkov <juri@jurta.org>
3142 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3143 attributes for M-n are pulled from the file at point.
3144 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3145 Suggested by Drew Adams. (Bug#10624)
3147 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3149 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3150 whitespace after "end".
3151 (ruby-do-end-to-brace): Collapse block to one line if it fits
3154 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3156 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3158 (debug): Don't remove debugger window when debugger is expected
3161 2012-09-18 Chong Yidong <cyd@gnu.org>
3163 * custom.el (defface): Doc fix.
3165 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3167 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3169 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3170 to initialize query-on-exit; then test that instead (bug#12288).
3172 2012-09-17 Stefan Merten <smerten@oekonux.de>
3174 * textmodes/rst.el: Add support for `testcover'.
3175 (rst-defcustom-testcover, rst-testcover-add-compose)
3176 (rst-testcover-add-1value): New functions.
3177 (rst-portable-mark-active-p): Replace by `use-region-p'.
3178 (rst-update-section, rst-classify-adornment)
3179 (rst-find-title-line): Mark `1value' forms.
3180 (rst-classify-adornment): Remove superfluous form.
3181 (rst-update-section, rst-get-adornments-around)
3182 (rst-adornment-complete-p, rst-get-next-adornment)
3183 (rst-adjust, rst-promote-region)
3184 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3185 (rst-find-pfx-in-region, rst-section-tree-rec)
3186 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3187 (rst-toc-node, rst-toc, rst-forward-section)
3188 (rst-iterate-leftmost-paragraphs)
3189 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3190 (rst-bullet-list-region)
3191 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3192 (rst-compile-find-conf, rst-compile)
3193 (rst-repeat-last-character): Fix style.
3195 2012-09-17 Chong Yidong <cyd@gnu.org>
3197 * comint.el (comint--complete-file-name-data): Don't add a space
3198 if the status is `sole'; that adds a gratuitous space in the
3199 completion-cycling case (Bug#12092).
3201 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3203 2012-09-17 Richard Stallman <rms@gnu.org>
3205 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3206 only in the mime-shown mode, not in raw mode.
3207 (rmail-mime): Toggle off mime by displaying the message without
3208 mime processing. (Bug#12305)
3210 * mail/rmail.el (rmail-retry-failure):
3211 Turn off mime processing first. (Bug#12037)
3213 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3215 2012-09-17 Chong Yidong <cyd@gnu.org>
3217 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3218 (shell-dynamic-complete-functions): Convert to defcustom.
3219 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3221 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3222 * comint.el (comint-prompt-read-only):
3223 * custom.el (defcustom):
3224 * hi-lock.el (hi-lock-mode):
3225 * ibuffer.el (ibuffer-formats):
3226 * ielm.el (ielm-prompt-read-only):
3227 * novice.el (disable-command):
3228 * saveplace.el (toggle-save-place):
3229 * speedbar.el (speedbar-supported-extension-expressions):
3230 * startup.el (auto-save-list-file-prefix, init-file-user)
3231 (after-init-hook, inhibit-startup-echo-area-message):
3232 * strokes.el (strokes-help):
3233 * time-stamp.el (time-stamp):
3234 * calendar/calendar.el (calendar, diary-file):
3235 * calendar/diary-lib.el (diary-mail-entries, diary)
3236 (diary-list-entries-hook):
3237 * calendar/holidays.el (holidays, calendar-holidays):
3238 * calendar/lunar.el (lunar-phases):
3239 * calendar/solar.el (sunrise-sunset):
3240 * emulation/edt.el (edt-load-keys):
3241 * emulation/viper.el (viper-mode):
3242 * eshell/em-alias.el (eshell-command-aliases-list):
3243 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3244 * international/ogonek.el (ogonek-information):
3245 * net/tramp-cmds.el (tramp-bug):
3246 * net/quickurl.el (quickurl-reread-hook-postfix):
3247 * play/decipher.el (decipher-font-lock-keywords):
3248 * progmodes/cc-styles.el (c-set-style):
3249 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3250 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3251 * progmodes/octave-mod.el (octave-mode):
3252 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3253 * progmodes/verilog-mode.el (verilog-read-defines):
3254 * textmodes/two-column.el (2C-mode): Likewise.
3256 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3258 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3259 that holds many addresses.
3261 2012-09-16 Chong Yidong <cyd@gnu.org>
3263 * align.el (align-areas): Call the indication function with
3264 positions instead of markers for arguments (Bug#12343).
3266 * files.el (parse-colon-path): Use split-string (Bug#12351).
3268 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3269 (display-buffer-function): Mark as obsolete.
3271 * progmodes/compile.el (compilation-parse-errors): Accept list
3272 values similar to font-lock-keywords (Bug#12136).
3273 Suggested by Oleksandr Manzyuk.
3274 (compilation-error-regexp-alist): Doc fix.
3276 2012-09-15 Glenn Morris <rgm@gnu.org>
3278 * version.el (emacs-bzr-version-bzr): New function.
3279 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3281 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3282 checkouts, check the parent dirstate matches the branch.
3283 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3286 * version.el (emacs-bzr-version): Doc fix.
3287 (emacs-bzr-version-dirstate): New function.
3288 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3289 is local try and check that it matches the branch. If not, just
3290 use dirstate information. (Bug#12441)
3292 2012-09-14 Juri Linkov <juri@jurta.org>
3294 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3297 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3299 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3301 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3302 Remove obsolete byte-compiler hack that tried to silence some warnings.
3303 (edebug-submit-bug-report): Remove.
3304 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3305 Remove aliases, use the un-prefixed name instead.
3306 (edebug-pop-to-buffer): Consider other frames.
3307 (edebug-original-read):: Make it more obvious that it's always defined.
3308 (edebug--make-form-data-entry, edebug--form-data-name)
3309 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3310 single-dashed name, and implement with cl-defstruct.
3311 (edebug-set-form-data-entry): Use the standard accessors.
3312 (edebug-make-top-form-data-entry): Use push.
3313 (edebug-no-match): Drop useless `funcall'.
3314 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3316 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3317 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3318 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3319 (easy-menu-define, with-custom-print): Remove redundant specs.
3320 (edebug-outside-overriding-local-map)
3321 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3322 (edebug--display): Bind unread-command-events directly to nil rather
3323 than binding it to unread-command-events and later setting it to nil.
3324 (edebug--display): Kill edebug-eval-buffer here...
3325 (edebug--recursive-edit): ...rather than here.
3326 Bind standard-output and standard-input.
3327 (edebug-eval): Check cl-macroexpand-all is fboundp.
3328 (edebug-temp-display-freq-count): Fix last change.
3330 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3331 * subr.el (noreturn, 1value): Add `debug' spec.
3332 * emacs-lisp/advice.el: Require cl-lib.
3333 (ad-copy-tree): Remove, use copy-tree instead.
3334 (ad-dolist): Remove use dolist or cl-dolist instead.
3335 (ad-do-return): Remove, use cl-return instead.
3336 (defadvice): Add `debug' spec.
3338 2012-09-13 Juri Linkov <juri@jurta.org>
3340 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3343 2012-09-13 Glenn Morris <rgm@gnu.org>
3345 * calc/calc.el (math-compose-expr):
3346 * calc/calc-ext.el (math-compose-expr):
3347 * progmodes/cc-defs.el (cl-macroexpand-all):
3348 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3349 (cl-macroexpand-all): Update declarations.
3351 * vc/vc.el: No need to require ediff.
3352 (ediff-load-version-control): Declare.
3353 (ediff-vc-internal): Fix declaration.
3354 (vc-version-ediff): Require ediff.
3356 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3358 Use a more backwards-compatible timer format (Bug#12430).
3359 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3360 being right after USECS, as that better supports old code that
3361 inadvisedly looked directly at the timer vector.
3363 2012-09-13 Kenichi Handa <handa@gnu.org>
3365 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3366 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3367 `coding-priority' property of these language environment.
3369 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3371 Fix glitches caused by addition of psec to timers (Bug#12430).
3372 * image.el (image-animate-timer):
3373 * time.el (display-time-world-timer):
3374 Use timer--function and timer--args rather than raw access to
3377 2012-09-13 Glenn Morris <rgm@gnu.org>
3379 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3380 If not compiling a file, try using load-file-name.
3382 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3384 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3386 (edebug-update-eval-list): Use `push'.
3388 * emacs-lisp/edebug.el: Use lexical-binding.
3389 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3390 Mark unused args with underscore.
3391 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3392 (edebug-form-data): Use defvar-local.
3393 (edebug-make-before-and-after-form, edebug-make-after-form):
3395 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3396 Not dynamically scoped any more.
3397 (edebug--enter-trace): Add arguments `function' and `args'.
3398 Rename from edebug-enter-trace.
3399 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3400 (edebug--update-coverage): Add `after-index' and `value' args.
3401 Rename from edebug-update-coverage.
3402 (edebug-slow-after): Call it accordingly.
3403 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3404 edebug-recursive-edit.
3405 (edebug--display): Call it accordingly. Add args `value',
3406 `offset-index', and `arg-mode'. Rename from edebug-display.
3407 (edebug-debugger, edebug): Call it accordingly.
3408 (edebug-eval-display-list): Use dolist.
3410 2012-09-12 Juri Linkov <juri@jurta.org>
3412 * info.el (Info-search): Don't check for isearch-mode and
3413 isearch-regexp before let-binding search-spaces-regexp to
3414 Info-search-whitespace-regexp.
3415 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3416 search-whitespace-regexp if isearch-lax-whitespace or
3417 isearch-regexp-lax-whitespace is non-nil.
3418 (Info-mode): Don't set local variable search-whitespace-regexp.
3419 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3421 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3424 (debugger-env-macro): Remove support for unread-command-char.
3426 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3427 the temporary map re-appearing on emulation-mode-map-alists.
3429 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3432 * ehelp.el (with-electric-help): Accept functions in
3433 electric-help-form-to-execute.
3434 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3435 And replace unread-command-char -> unread-command-events.
3437 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3439 Sync with Tramp 2.2.6.
3441 * net/tramp.el (tramp-accept-process-output): Don't use
3442 JUST-THIS-ONE in the XEmacs case.
3444 * net/trampver.el: Update release number.
3446 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3448 * emacs-lisp/debug.el (debugger-previous-window-height):
3450 (debug): When debugger-jumping-flag is non-nil try to restore
3451 height of debugger window. (Bug#8789)
3453 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3456 overriding-local-map and pre/post-command-hook here.
3457 (edebug-recursive-edit): Do it here instead (bug#12345).
3458 (edebug-outside-unread-command-char): Remove all uses of
3459 unread-command-char.
3461 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3462 inhibit-debugger is bound instead.
3464 2012-09-11 Bastien Guerry <bzg@gnu.org>
3466 * subr.el (set-temporary-overlay-map): Add a docstring.
3469 2012-09-11 Bastien Guerry <bzg@gnu.org>
3471 * minibuffer.el (completion-table-subvert): Fix docstring.
3474 2012-09-11 Bastien Guerry <bzg@gnu.org>
3476 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3478 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3480 * progmodes/sql.el: Version 3.1
3481 (sql-db2-escape-newlines): New variable.
3482 (sql-escape-newlines-filter): Use it.
3484 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3486 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3488 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3490 * vc/diff-mode.el (diff-mode-menu):
3491 Bind diff-remove-trailing-whitespace.
3493 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3495 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3496 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3497 (emacs-lisp-byte-code-mode): New functions.
3498 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3499 (eval-defun-2): Remove bogus interactive spec.
3500 (lisp-indent-line): Remove redundant whole-exp code, now done in
3501 indent-according-to-mode.
3502 (save-match-data): Remove redundant indent data.
3504 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3507 2012-09-09 Juri Linkov <juri@jurta.org>
3509 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3510 (replace-lax-whitespace, query-replace-regexp)
3511 (query-replace-regexp-eval, replace-regexp): Doc fix.
3512 (perform-replace, replace-highlight): Let-bind
3513 isearch-lax-whitespace to replace-lax-whitespace and
3514 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3516 * isearch.el (isearch-query-replace): Let-bind
3517 replace-lax-whitespace to isearch-lax-whitespace and
3518 replace-regexp-lax-whitespace to
3519 isearch-regexp-lax-whitespace. (Bug#10885)
3521 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3525 2012-09-09 Alan Mackenzie <acm@muc.de>
3527 * progmodes/cc-engine.el (c-state-cache-init):
3528 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3529 (c-record-parse-state-state):
3530 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3532 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3534 * register.el (register-separator): Rename from
3535 separator-register. All uses changed. Doc fix.
3536 (register): Fix version.
3538 2012-09-09 Chong Yidong <cyd@gnu.org>
3540 * replace.el (query-replace-map): Bind four new symbols for
3541 requesting window scrolling.
3543 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3544 query-replace-map (Bug#8948).
3546 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3548 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3549 since they are now in query-replace-map.
3551 * window.el (scroll-other-window-down): Make the arg optional.
3553 2012-09-09 Chong Yidong <cyd@gnu.org>
3555 * files.el (hack-local-variables-confirm): Use quit-window to kill
3556 the *Local Variables* buffer.
3558 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3560 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3561 not just expect to be at its beginning. Adjust callees.
3562 Succeed when do-end block has no space before the pipe character.
3563 (ruby-brace-to-do-end): When the original block is one-liner,
3564 convert to multiline. Reindent the result.
3566 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3568 * register.el (register): New group.
3569 (separator-register): New user option.
3570 (increment-register): Route it to `append-to-register', if
3571 register contains text. Implication is that `C-x r +' can now be
3572 used for appending to a text register (bug#12217).
3573 (append-to-register, prepend-to-register): Add separator based on
3574 `separator-register'.
3576 2012-09-08 Alan Mackenzie <acm@muc.de>
3578 AWK Mode: make auto-newline work when there's "==" in the pattern.
3579 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3581 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3582 Test more rigorously for "=" token.
3584 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3586 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3587 Only fail when reached LIMIT.
3589 2012-09-08 Chong Yidong <cyd@gnu.org>
3591 * dired.el (dired-mode-map): Don't bind M-=.
3593 * dired-aux.el (dired-diff): Use backup file as default.
3595 2012-09-08 Drew Adams <drew.adams@oracle.com>
3597 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3599 2012-09-08 Chong Yidong <cyd@gnu.org>
3601 * subr.el (syntax-after, syntax-class): Doc fix.
3603 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3605 * window.el (display-buffer-in-previous-window): New buffer
3606 display action function.
3608 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3609 (debugger-previous-window): New variable.
3610 (debug): Rewrite using display-buffer-in-previous-window,
3611 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3613 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3617 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3619 * progmodes/python.el (python-shell-send-string):
3620 When default-directory is remote, create temp file on remote
3622 (python-shell-send-file): When file is remote, pass local view of
3623 file paths to remote Python interpreter. (Bug#12340)
3625 2012-09-07 Chong Yidong <cyd@gnu.org>
3627 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3629 * files.el (after-find-file): Don't fail on a read-only buffer if
3630 require-final-newline is `visit' or `visit-save' (Bug#11156).
3632 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3634 * userlock.el (ask-user-about-supersession-threat):
3635 Use read-char-choice (Bug#12093).
3637 2012-09-07 Chong Yidong <cyd@gnu.org>
3639 * subr.el (buffer-narrowed-p): New function.
3641 * ses.el (ses-widen):
3642 * simple.el (count-words--buffer-message):
3643 * net/browse-url.el (browse-url-of-buffer): Use it.
3645 * simple.el (count-words-region): Don't signal an error if there
3646 is a non-nil prefix arg and the mark is not set.
3648 * help.el (describe-key-briefly): Allow the message to be seen
3649 when invoked from the minibuffer (Bug#7014).
3651 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3653 * progmodes/ruby-mode.el (ruby-end-of-defun)
3654 (ruby-beginning-of-defun): Simplify, allow indentation before
3655 block beginning and end keywords.
3656 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3657 (ruby-end-of-defun): Expect that the point is at the beginning of
3660 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3662 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3664 (cl--make-usage-args): Strip _ from argument names.
3666 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3668 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3669 obsolete alias speedbar-key-map.
3670 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3671 (vhdl-index-menu-init): Don't use obsolete variable
3672 font-lock-maximum-size.
3674 2012-09-06 Chong Yidong <cyd@gnu.org>
3676 * frame.el (window-system-version): Mark as obsolete.
3678 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3679 of obsolete variable speedbar-key-map.
3681 2012-09-06 Juri Linkov <juri@jurta.org>
3683 * replace.el (replace-lax-whitespace): New defcustom.
3684 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3685 (replace-string, replace-regexp): Mention it in docstrings.
3686 (perform-replace, replace-highlight): Let-bind
3687 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3688 to the values of replace-lax-whitespace and regexp-flag.
3689 Don't let-bind search-whitespace-regexp. (Bug#10885)
3691 * isearch.el (isearch-query-replace): Let-bind
3692 replace-lax-whitespace instead of let-binding
3693 replace-search-function and replace-re-search-function.
3694 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3695 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3696 (isearch-toggle-symbol): Set isearch-regexp to nil
3697 in isearch-word mode (like in isearch-toggle-word).
3699 2012-09-06 Juri Linkov <juri@jurta.org>
3701 * replace.el (replace-search-function)
3702 (replace-re-search-function): Set default values to nil.
3703 (perform-replace): Let-bind isearch-related variables based on
3704 replace-related values, call `isearch-search-fun' and let-bind
3705 the result to `search-function'. Remove code that sets
3706 `search-function' and `search-string' separately for
3708 (replace-highlight): Add new argument `delimited-flag' and
3709 rename other arguments to the names used in `perform-replace'.
3710 Let-bind `isearch-word' to the argument `delimited-flag'.
3711 (Bug#10885, bug#10887)
3713 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3715 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3716 ruby-beginning-of-indent, simplify, allow all keywords to have
3717 indentation before them.
3718 (ruby-beginning-of-indent): Adjust for above. Search until the
3719 found point is not inside a string or comment.
3720 (ruby-font-lock-keywords): Allow symbols to start with "@"
3721 character, give them higher priority than variables.
3722 (ruby-syntax-propertize-function)
3723 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3724 matchers. Expression expansions are not comments when inside a
3725 string, and there comment syntax status is irrelevant.
3726 (ruby-match-expression-expansion): New function. Check that
3727 expression expansion is inside a string, and it's not escaped.
3728 (ruby-font-lock-keywords): Use it.
3730 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3732 * help.el (temp-buffer-max-height): New default value.
3733 (temp-buffer-resize-frames): New option.
3734 (resize-temp-buffer-window): Optionally resize frame.
3736 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3737 (fit-frame-to-buffer): New function.
3739 2012-09-05 Glenn Morris <rgm@gnu.org>
3741 * emulation/cua-rect.el (cua--init-rectangles):
3742 * textmodes/picture.el (picture-mode-map):
3743 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3744 like forward-char and backward-char. (Bug#12317)
3746 2012-09-05 Leo Liu <sdl.web@gmail.com>
3748 * progmodes/flymake.el (flymake-warning-re): New variable.
3749 (flymake-parse-line): Use it.
3751 2012-09-05 Glenn Morris <rgm@gnu.org>
3753 * calendar/holidays.el (holiday-christian-holidays):
3754 Rename an entry. (Bug#12289)
3756 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3761 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * loadup.el: Load macroexp. Remove hack.
3764 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3765 (macroexp--expand-all): Use it to get better warnings.
3766 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3767 (internal-macroexpand-for-load): New functions.
3768 (macroexp--pending-eager-loads): New var.
3769 (emacs-startup-hook): New hack to replace one in loadup.el.
3770 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3771 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3772 (cl-psetf): Simplify.
3773 (cl-defstruct): Add indent rule.
3775 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3777 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3778 over `user-mail-address' for the SMTP MAIL FROM envelope.
3779 (smtpmail-via-smtp): Ditto.
3781 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3783 * progmodes/ruby-mode.el: Clean up keybindings.
3784 (ruby-mode-map): Don't bind ruby-electric-brace,
3785 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3786 backward-kill-word, reindent-then-newline-and-indent.
3787 (ruby-mark-defun): Remove.
3788 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3789 (ruby-mode): Set local beginning-of-defun-function and
3790 end-of-defun-function values.
3792 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3794 * window.el (temp-buffer-window-setup-hook)
3795 (temp-buffer-window-show-hook): New hooks.
3796 (temp-buffer-window-setup, temp-buffer-window-show)
3797 (with-temp-buffer-window): New functions.
3798 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3799 (special-display-popup-frame): Make sure the window used shows BUFFER.
3801 * help.el (temp-buffer-resize-mode): Fix doc-string.
3802 (resize-temp-buffer-window): New optional argument WINDOW.
3804 * files.el (recover-file, save-buffers-kill-emacs):
3805 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3807 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3809 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3810 remote definition of `default-directory', ensure we can connect.
3812 2012-09-02 Juri Linkov <juri@jurta.org>
3814 Toggle whitespace matching mode with M-s SPC.
3815 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3817 * isearch.el (search-whitespace-regexp): Doc fix.
3818 Remove cons cell customization.
3819 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3820 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3822 (isearch-forward, isearch-forward-regexp): Doc fix.
3823 (isearch-toggle-lax-whitespace): New command.
3824 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3825 (re-search-forward-lax-whitespace)
3826 (re-search-backward-lax-whitespace): New functions.
3827 (isearch-whitespace-regexp): Remove function.
3828 (isearch-query-replace): Let-bind replace-search-function and
3829 replace-re-search-function.
3830 (isearch-occur): Let-bind search-spaces-regexp according to the
3831 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3832 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3833 condition for C-q SPC.
3834 (isearch-search-fun-default): Use new functions mentioned above.
3835 (isearch-search-forward, isearch-search-backward): Remove functions.
3836 (isearch-search): Don't let-bind search-spaces-regexp.
3837 (isearch-lazy-highlight-space-regexp): Remove variable.
3838 (isearch-lazy-highlight-lax-whitespace)
3839 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3840 (isearch-lazy-highlight-new-loop): Use them.
3841 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3843 2012-09-02 Chong Yidong <cyd@gnu.org>
3845 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3847 2012-09-02 Glenn Morris <rgm@gnu.org>
3849 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3851 2012-09-01 Glenn Morris <rgm@gnu.org>
3853 * term.el: Tidy up menu definitions.
3854 (term-mode-map): Use easymenu for In/Out, Complete menus.
3855 (term-pager-break-map): Initialize in the defvar.
3856 (term-terminal-menu, term-signals-menu): Define with easymenu.
3857 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3858 (term-pager-menu): New, extracted from term-process-pager.
3859 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3860 (term-update-mode-line): Propertize line/char and page items.
3861 (term-process-pager): Move keymap initialization elsewhere.
3863 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3865 * window.el (switch-to-prev-buffer): Handle additional values of
3866 BURY-OR-KILL argument. Don't switch in minibuffer window.
3867 (switch-to-next-buffer): Don't switch in minibuffer window.
3868 (quit-restore-window): New function based on quit-window.
3869 Handle additional values of former KILL argument.
3870 (quit-window): Call quit-restore-window with appropriate
3871 interpretation of KILL argument.
3872 (display-buffer-below-selected): New buffer display action
3875 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * minibuffer.el (completion-at-point-functions): Complete docstring
3880 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3882 Better seed support for (random).
3883 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3884 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3885 * play/mpuz.el, play/tetris.el, play/zone.el:
3886 * calc/calc-comb.el (math-init-random-base):
3887 * play/blackbox.el (bb-init-board):
3888 * play/life.el (life):
3889 * server.el (server-use-tcp):
3890 * type-break.el (type-break):
3891 Remove unnecessary call to (random t).
3892 * net/sasl.el (sasl-unique-id-function):
3893 Change (random t) to (random), now that the latter is more random.
3894 * play/life.el (life-initialized): Remove no-longer-needed var.
3896 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3898 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3899 Consider frame's buffer predicate when choosing the buffer.
3902 2012-08-30 Richard Stallman <rms@gnu.org>
3904 * simple.el (special-mode-map): Delete binding for `z'.
3906 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3908 * progmodes/compile.el (compilation-always-kill): Doc fix.
3910 2012-08-30 Chong Yidong <cyd@gnu.org>
3912 * window.el (display-buffer-reuse-frames): Make the obsolescence
3913 message more informative.
3915 2012-08-30 Glenn Morris <rgm@gnu.org>
3917 * paren.el (show-paren-delay):
3918 Add a :set function. Doc fix. (Bug#12297)
3920 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3922 * progmodes/compile.el (compilation-always-kill): New var.
3923 (compilation-start): Use it.
3925 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3928 * files.el (read-only-mode): Move to simple.el.
3930 * files.el (read-only-mode): New minor mode.
3931 (toggle-read-only): Use it and mark obsolete.
3932 (find-file--read-only):
3933 * vc/vc.el (vc-next-action, vc-checkout):
3934 * vc/vc-cvs.el (vc-cvs-checkout):
3935 * obsolete/vc-mcvs.el (vc-mcvs-update):
3936 * ffap.el (ffap--toggle-read-only): Update callers.
3938 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3940 * eshell/esh-ext.el (eshell-external-command): Do not examine
3941 remote shell scripts.
3942 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3944 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3947 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3951 2012-08-28 Leo Liu <sdl.web@gmail.com>
3953 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3954 completion-at-point. (Bug#12220)
3956 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3958 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3960 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3962 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3963 be buffer-local; add delete-trailing-whitespace (bug#12259).
3965 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3967 * progmodes/hideif.el (hif-compress-define-list):
3968 Fix typo. (Bug#11951)
3970 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3972 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3973 buffer local setting.
3975 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3976 rcirc-encode-coding-system.
3978 2012-08-28 Leo Liu <sdl.web@gmail.com>
3980 * net/rcirc.el (rcirc-split-message): New function.
3981 (rcirc-send-message): Use it. (Bug#12051)
3983 2012-08-28 Juri Linkov <juri@jurta.org>
3985 * info.el (Info-fontify-node): Hide empty lines at the end of
3986 the node. (Bug#12272)
3988 2012-08-27 Drew Adams <drew.adams@oracle.com>
3990 * dired.el (dired-pop-to-buffer): Make window start at beginning
3991 of buffer (Bug#12281).
3993 2012-08-26 Chong Yidong <cyd@gnu.org>
3995 * window.el (special-display-regexps, special-display-frame-alist)
3996 (special-display-buffer-names, special-display-function)
3997 (display-buffer-reuse-frames): Mark as obsolete.
3999 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4001 * help.el (help-print-return-message): Don't treat
4002 display-buffer-reuse-frames specially.
4004 2012-08-26 Chong Yidong <cyd@gnu.org>
4006 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4007 New variable, replacing gdb-frame-parameters.
4008 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4009 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4010 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4011 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4012 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4013 the functions directly with gdb-display-buffer-other-frame-action.
4014 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4015 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4016 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4017 (gdb-display-registers-buffer): Define directly.
4018 (def-gdb-display-buffer): Macro deleted.
4019 (gdb-display-buffer): Remove second and third args, callers don't
4020 use them. Defer to the default display-buffer behavior, apart
4021 from making windows dedicated.
4022 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4024 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4026 * window.el (display-buffer-pop-up-frame): Handle a
4027 pop-up-frame-parameters alist entry.
4028 (display-buffer): Document it.
4030 2012-08-26 Chong Yidong <cyd@gnu.org>
4032 * isearch.el (search-whitespace-regexp): Make string and nil
4033 values apply to both ordinary and regexp search. Allow a cons
4034 cell value to distinguish between the two.
4035 (isearch-whitespace-regexp, isearch-search-forward)
4036 (isearch-search-backward): New functions.
4037 (isearch-occur, isearch-search-fun-default, isearch-search)
4038 (isearch-lazy-highlight-new-loop): Use them.
4039 (isearch-forward, isearch-forward-regexp): Doc fix.
4041 2012-08-26 Chong Yidong <cyd@gnu.org>
4043 * faces.el (help-argument-name): Always inherit from italic
4046 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4048 * window.el (window--even-window-heights): Even heights when
4049 WINDOW and the selected window form a vertical combination.
4050 (display-buffer-use-some-window): Provide that window used gets
4051 sized back by quit-window. (Bug#11880) and (Bug#12091)
4053 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4055 Fix file time stamp problem with bzr and CVS (Bug#12001).
4056 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4057 in the file's time stamp, since the version control system loses
4060 2012-08-22 Juri Linkov <juri@jurta.org>
4062 * info.el (Info-fontify-node): Hide the suffix of the
4063 Info file name in the header line. (Bug#12187)
4065 2012-08-22 Glenn Morris <rgm@gnu.org>
4067 * calendar/cal-tex.el (cal-tex-weekly-common):
4068 Restore leading blank page.
4070 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4072 * misc.el (forward-to-word, backward-to-word): Activate or extend
4073 the region under `shift-select-mode'. (Bug#12231)
4075 2012-08-22 Bastien Guerry <bzg@gnu.org>
4077 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4078 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4079 gives details on why the space is never needed.
4081 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4083 * window.el (walk-window-tree, window-with-parameter):
4084 New optional argument MINIBUF to control whether these functions
4085 should run on the minibuffer window.
4086 (window-at-side-list): Don't operate on minibuffer window.
4087 (window-in-direction): Simplify and rewrite doc-string.
4088 (window--size-ignore): Rename to window--size-ignore-p.
4090 (display-buffer-in-atom-window, window--major-non-side-window)
4091 (window--major-side-window, display-buffer-in-major-side-window)
4092 (delete-side-window, display-buffer-in-side-window):
4094 (window--side-check, window-deletable-p, delete-window)
4095 (delete-other-windows, split-window): Handle side windows and
4096 atomic windows appropriately.
4097 (window--display-buffer): Call display-buffer-record-window also
4098 when the window buffer did not change.
4100 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4102 * help-fns.el (help-fns--key-bindings):
4103 Abbreviate non-symbol remap targets. (Bug#12174)
4105 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4107 * dired.el (dired-mark-remembered): Don't clobber point.
4110 2012-08-22 Glenn Morris <rgm@gnu.org>
4112 * progmodes/bug-reference.el (bug-reference): New custom group.
4113 (bug-reference-bug-regexp): Make it a defcustom.
4115 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4117 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4118 (js-paren-indent-offset, js-square-indent-offset)
4119 (js-curly-indent-offset): Add :safe (Bug#12257).
4121 2012-08-22 Edward O'Connor <hober0@gmail.com>
4123 * json.el (json-key-format): Add error properties.
4124 (json-encode-key): New function.
4125 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4126 Use json-encode-key.
4128 2012-08-22 Glenn Morris <rgm@gnu.org>
4130 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4131 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4132 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4133 Update for above change.
4135 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4137 * cus-face.el (custom-face-attributes): Fix customize type for the
4138 :underline attribute. (Bug#11805)
4140 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4142 * window.el (window-point-1, set-window-point-1): Remove.
4143 (window-in-direction, record-window-buffer)
4144 (set-window-buffer-start-and-point, split-window-below)
4145 (window--state-get-1, display-buffer-record-window):
4146 Replace calls to window-point-1 and set-window-point-1 by calls to
4147 window-point and set-window-point respectively.
4149 2012-08-21 Glenn Morris <rgm@gnu.org>
4151 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4152 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4155 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4156 (cal-tex-shortday): New function.
4157 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4158 (cal-tex-cursor-filofax-daily): Use the above.
4160 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4162 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4163 (cal-tex-cursor-filofax-week): Use them.
4165 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4167 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4168 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4170 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4171 (cal-tex-end-document): Don't rely on buffer name.
4173 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4175 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4176 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4177 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4180 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4181 (cal-tex-cursor-week, cal-tex-cursor-week2)
4182 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4183 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4184 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4185 (cal-tex-insert-preamble, cal-tex-b-document)
4186 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4187 Improve cal-tex-cmd usage.
4189 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4190 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4191 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4192 (cal-tex-weekly-paper): New function.
4193 (cal-tex-cursor-week, cal-tex-cursor-week2)
4194 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4195 (cal-tex-cursor-day): Use it.
4197 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4198 (cal-tex-cursor-filofax-week): Remove leading blank page.
4200 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4201 Add autoload cookie. For now at least, don't use color, since
4202 no other cal-tex function does.
4204 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4205 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4206 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4208 2012-08-21 Juri Linkov <juri@jurta.org>
4210 * info.el (Info-file-attributes): New variable.
4211 (info-insert-file-contents): Add file attributes to
4212 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4213 `Info-toc-nodes' when previous modtime of the Info file is less
4215 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4216 of info.el. (Bug#12230)
4218 2012-08-20 Glenn Morris <rgm@gnu.org>
4220 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4221 * calendar/holidays.el (calendar-holiday-list):
4222 Report errors with display-warning rather than beep'n'sleep.
4224 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4226 * net/tramp.el (tramp-accept-process-output): Accept only output
4227 from PROC. Otherwise, process filters and sentinels might be
4228 confused. (Bug#12145)
4230 2012-08-20 Chong Yidong <cyd@gnu.org>
4232 * descr-text.el (describe-text-properties-1): Use overlays-in to
4233 report on empty overlays (Bug#3322).
4235 2012-08-20 Glenn Morris <rgm@gnu.org>
4237 * mail/rmailout.el (rmail-output-read-file-name):
4238 Trap and report errors in rmail-output-file-alist elements.
4240 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4241 since most non-font-lock faces are not also variables).
4243 2012-08-20 Edward Reingold <reingold@iit.edu>
4245 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4246 New function. (Bug12160)
4248 2012-08-19 Glenn Morris <rgm@gnu.org>
4250 * mail/rmailout.el (rmail-output-read-file-name):
4251 Fix previous change (when the alist is nil or does not match).
4253 2012-08-19 Chong Yidong <cyd@gnu.org>
4255 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4258 2012-08-18 Chong Yidong <cyd@gnu.org>
4260 * simple.el (yank-handled-properties): New defcustom.
4261 (yank-excluded-properties): Add font-lock-face and category.
4264 * subr.el (remove-yank-excluded-properties):
4265 Obey yank-handled-properties. The special handling of font-lock-face
4266 and category is now done this way, instead of being hard-coded.
4267 (insert-for-yank-1): Remove font-lock-face handling.
4268 (yank-handle-font-lock-face-property)
4269 (yank-handle-category-property): New function.
4271 2012-08-17 Glenn Morris <rgm@gnu.org>
4273 * mail/rmailout.el (rmail-output-read-file-name):
4274 Check rmail-output-file-alist against the full message body
4275 in the correct rmail buffer. (Bug#12214)
4277 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4279 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4280 Eliminate superfluous prompt. (Bug#12203)
4282 2012-08-17 Chong Yidong <cyd@gnu.org>
4284 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4285 font spec, set the font directly (Bug#3228).
4287 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4289 * window.el (delete-window): Fix last fix.
4291 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4293 * window.el (window-valid-p): Move to window.c.
4294 (window-child, window-child-count, window-last-child)
4295 (window-normalize-window, window-combined-p)
4296 (window-combinations, window-atom-root, window-min-size)
4297 (window-sizable, window-sizable-p, window-size-fixed-p)
4298 (window-min-delta, window-max-delta, window--resizable)
4299 (window--resizable-p, window-resizable, window-total-size)
4300 (window-full-height-p, window-full-width-p, window-body-size)
4301 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4302 (minimize-window, window-deletable-p, delete-window)
4303 (delete-other-windows, set-window-buffer-start-and-point)
4304 (next-buffer, previous-buffer, split-window, balance-windows-2)
4305 (set-window-text-height, window-buffer-height)
4306 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4307 (truncated-partial-width-window-p): Minor code adjustments.
4308 In doc-strings state whether the argument window has to denote a
4309 live, valid or any window.
4311 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4313 * progmodes/subword.el (subword-forward-function)
4314 (subword-backward-function, subword-forward-regexp)
4315 (subword-backward-regexp): New variables.
4316 (subword-forward, subword-forward-internal, subword-backward-internal):
4317 Use new variables, eg so that different "word" definitions
4318 can be easily used. (Bug#11411)
4320 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4323 for composite selectors.
4324 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4325 operation just because we can't find a previous revision.
4327 2012-08-15 Chong Yidong <cyd@gnu.org>
4329 * frame.el (set-frame-font): Accept font objects.
4331 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4335 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4337 * man.el (Man-overstrike-face, Man-underline-face)
4338 (Man-reverse-face): Remove variables.
4339 (Man-overstrike, Man-underline, Man-reverse): New faces.
4340 (Man-fontify-manpage): Use them instead of the variables.
4341 (Man-cleanup-manpage): Comment change.
4342 (Man-ansi-color-map): New variable.
4343 (Man-fontify-manpage): Use it.
4344 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4346 Implement ANSI SGR parameters 22-27 (bug#12146).
4347 * ansi-color.el (ansi-colors): Doc fix.
4348 (ansi-color-context, ansi-color-context-region): Doc fix.
4349 (ansi-color--find-face): New function.
4350 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4351 Rename the local variable `face' to `codes' since it is now a list of
4352 ansi codes. Doc fix.
4353 (ansi-color-get-face): Remove.
4354 (ansi-color-parse-sequence): New function, derived from
4355 ansi-color-get-face.
4356 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4359 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * subr.el (read-passwd): Allow use from a minibuffer.
4363 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4365 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4366 inside comments and strings as identifiers.
4368 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4369 expression to evaluate. This allows to evaluate expressions with
4370 embedded whitespace.
4371 (gud-tooltip-tips): Add a blank before the newline in the
4372 message-box text, for the benefit of message-box emulation on
4375 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4376 messages from GDB, pop them up in a tooltip to give feedback to
4378 (gdb-tooltip-print-1): Quote the expression to evaluate.
4379 This allows to evaluate expressions with embedded whitespace.
4380 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4381 if the TTY name is nil or empty (which happens when communicating
4382 with the inferior via pipes, e.g. on MS-Windows).
4383 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4384 don't send that to the GUD buffer.
4386 2012-08-14 Glenn Morris <rgm@gnu.org>
4388 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4389 Optimize away setq-default with no args, as for setq. (Bug#12195)
4391 2012-08-14 Chong Yidong <cyd@gnu.org>
4393 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4395 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4398 2012-08-14 Glenn Morris <rgm@gnu.org>
4400 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4402 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4404 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4405 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4406 Use cached shell name.
4408 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4410 * progmodes/python.el (python-shell-send-string):
4411 (python-shell-send-setup-code): Do not use `format' with `message'.
4413 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4415 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4416 (ruby-percent-literal-beg-re): New constant.
4417 (ruby-syntax-general-delimiters-goto-beg): Rename to
4418 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4419 (ruby-syntax-propertize-general-delimiters): Rename to
4420 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4421 popular term. Adjust comments everywhere.
4422 (ruby-syntax-propertize-percent-literal): Only propertize when not
4423 inside a simple string or comment. When the literal is unclosed,
4424 leave the text after it unpropertized.
4425 (ruby-syntax-methods-before-regexp): New constant.
4426 (ruby-syntax-propertize-function): Use it to recognize regexps.
4427 Don't look at the text after regexp, just use the whitelist.
4429 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4431 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4432 non-nil always load the compiled file if it exists. (Bug#12197)
4434 2012-08-14 Chong Yidong <cyd@gnu.org>
4436 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4437 (hi-lock-set-pattern): When deciding whether to use font lock or
4438 overlays, look at font-lock-mode instead of font-lock-fontified
4440 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4441 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4443 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4445 * subr.el (internal--after-with-selected-window): Fix typo
4448 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4450 Use `completion-table-dynamic' for completion functions.
4451 * progmodes/python.el
4452 (python-shell-completion--do-completion-at-point)
4453 (python-shell-completion--get-completions):
4455 (python-shell-completion-complete-at-point): New function.
4456 (python-completion-complete-at-point): Use it.
4458 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4460 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4461 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4463 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4465 * subr.el (function-get): Refine `autoload' arg so it can also
4466 autoload functions for gv.el (bug#12191).
4467 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4470 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4471 Prefer pcase-let over destructuring-bind.
4472 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4473 Also, remove whitespace as we go, rather than after accumulating the
4476 * subr.el (internal--before-with-selected-window)
4477 (internal--after-with-selected-window): Fix typo seleted->selected.
4478 (with-selected-window): Adjust callers.
4479 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4481 2012-08-13 Bastien Guerry <bzg@gnu.org>
4483 * window.el (special-display-popup-frame): Minor docstring
4484 enhancement. (Bug#12172)
4486 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4488 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4490 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4493 * files.el (hack-local-variables-filter): Remove useless eval.
4495 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4497 * subr.el (with-selected-window): Fix last change.
4499 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * subr.el (internal--before-with-seleted-window)
4502 (internal--after-with-seleted-window): New functions.
4503 (with-selected-window): Use them, to replace dependency on
4506 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4508 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4509 binding for `newline'.
4510 (ruby-move-to-block): When moving backward, stop at block opening,
4512 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4513 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4514 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4515 `ruby-toggle-block'.
4517 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * ibuffer.el (ibuffer-do-toggle-read-only):
4520 * dired.el (dired-toggle-read-only):
4521 * buff-menu.el (Buffer-menu-toggle-read-only):
4522 * bindings.el (mode-line-toggle-read-only):
4523 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4525 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4527 * descr-text.el (describe-char): Put the overlays over the
4528 "displayed as" character.
4530 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4532 * calc/calc-units.el (math-default-units-table): Give an
4534 (math-put-default-units): Add options to put composite units and
4535 unit systems in the default units table.
4536 (calc-convert-units): Send composite units to
4537 `math-put-default-units' when appropriate.
4539 2012-08-11 Glenn Morris <rgm@gnu.org>
4541 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4543 * tutorial.el (help-with-tutorial):
4544 * emacs-lisp/copyright.el (copyright-update-directory):
4545 * emacs-lisp/autoload.el (autoload-find-generated-file)
4546 (autoload-find-file): Disable local eval: (for insurance).
4548 * files.el (hack-local-variables-filter): If an eval: form is not
4549 known to be safe, and enable-local-variables is :safe, then ignore
4550 the form totally, as is done for non-eval forms. (Bug#12155)
4551 This is CVE-2012-3479.
4553 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4556 (rx-form): Simplify.
4558 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4560 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4561 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4562 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4563 (ruby-syntax-propertize-function): Adjust for changes in
4564 `ruby-syntax-propertize-heredoc'.
4566 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4568 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4569 binding (use `M-;' instead).
4570 (ruby-singleton-class-p): New function.
4571 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4573 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4575 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4577 2012-08-10 Chong Yidong <cyd@gnu.org>
4579 * progmodes/python.el (python-shell-get-process-name): Don't mess
4580 with same-window-buffer-names.
4582 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4583 (eshell-remove-from-window-buffer-names): Make obsolete.
4584 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4585 (eshell): Just use pop-to-buffer-same-window instead.
4587 2012-08-10 Chong Yidong <cyd@gnu.org>
4589 * bindings.el: Bind M-= back to count-words-region.
4591 * simple.el (count-words-region): Accept a prefix arg for acting
4592 on the entire buffer.
4593 (count-words--buffer-message): New helper function.
4595 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4597 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4598 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4599 (event-start, event-end): Use posn-at-point to return a more
4601 (posnp): New function.
4602 * mouse.el (popup-menu-normalize-position): Use it.
4604 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4606 * mouse.el (popup-menu-normalize-position): New function.
4607 (popup-menu): Use `popup-menu-normalize-position' to normalize
4608 the form for POSITION argument.
4610 * term/x-win.el (x-menu-bar-open):
4611 Use the value returend from (posn-at-point) as position
4612 passed to `popup-menu'.
4614 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4616 * calc/calccomp.el (math-compose-expr): Add extra argument
4617 indicating that parentheses should be put around products in
4618 denominators. Give multiplication precedence over division during
4621 2012-08-09 Chong Yidong <cyd@gnu.org>
4623 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4624 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4625 (Man-untabify-command, manual-program): Convert to defcustom
4628 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4630 * descr-text.el (describe-char): Don't insert extra newlines
4633 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4634 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4636 * align.el (align-region): Delete temporary markers (Bug#10047).
4637 Plus some code cleanups.
4639 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4641 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4642 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4643 (python-shell-internal-last-output): Use make-local-variable
4644 instead of make-variable-buffer-local.
4646 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4648 * progmodes/python.el: Enhancements to forward-sexp.
4649 (python-nav-forward-sexp): Rename from
4650 python-nav-forward-sexp-function.
4651 (python-nav--forward-sexp, python-nav--backward-sexp):
4654 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4656 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4657 modes and simplification modes.
4659 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4661 * delsel.el (delete-selection-pre-hook): Don't propagate the
4662 file-supersession signals (bug#12161).
4664 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4666 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4667 (cl-map-extents): Add compatibility aliases (bug#12135).
4669 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4671 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4672 tests by `ignore-error'.
4673 (tramp-find-shell): Open also a new shell, when cache is already
4674 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4676 2012-08-08 Juri Linkov <juri@jurta.org>
4678 * bookmark.el: Add `defaults' property to the bookmark record.
4679 (bookmark-current-buffer): Doc fix.
4680 (bookmark-make-record): Add `defaults' property with default values
4681 to the bookmark record.
4682 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4683 with `bookmark-insert-current-bookmark'.
4684 (bookmark-set): Get `defaults' property from the bookmark record
4685 and use it in `read-from-minibuffer'.
4686 (bookmark-insert-current-bookmark): Remove function.
4688 * info.el (Info-bookmark-make-record): Add `defaults' property
4689 with values of canonical Info node name, the current Info file
4690 name and the current Info node name. (Bug#12107)
4692 2012-08-08 Juri Linkov <juri@jurta.org>
4694 * files.el (basic-save-buffer): Use `buffer-name' as the default
4695 of `read-file-name' when buffer is not visiting a file (bug#12128).
4697 2012-08-08 Juri Linkov <juri@jurta.org>
4699 * info.el (Info-isearch-search): Doc fix.
4700 (Info-search): Change search-failed message from "initial node" to
4701 "end of node" (bug#12078).
4702 (Info-isearch-search): Change `isearch-string-state' to
4703 `isearch--state-string'.
4705 2012-08-08 Glenn Morris <rgm@gnu.org>
4707 * language/persian.el: Remove file.
4708 * language/misc-lang.el: Move unique part of persian.el here.
4709 * loadup.el: Remove language/persian.
4711 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4713 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4715 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4717 * progmodes/python.el Fixed defsubst warning.
4718 (python-syntax-context) Rename from python-info-ppss-context.
4719 (python-syntax-context-type): Rename from
4720 python-info-ppss-context-type.
4721 (python-syntax-comment-or-string-p): Rename from
4722 python-info-ppss-comment-or-string-p.
4724 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4726 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4728 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4730 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4731 a defcustom that is quoted with backquote.
4733 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4734 Fix handling of interactive spec when the body uses return.
4735 (math-do-arg-check, math-define-function-body): Use backquote forms.
4736 * calc/calc-ext.el (math-defcache): Likewise.
4737 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4738 * allout.el (allout-new-exposure): Likewise.
4739 * calc/calcalg2.el (math-tracing-integral): Likewise.
4740 * info.el (Info-last-menu-item): Likewise.
4741 * emulation/vip.el (vip-loop): Likewise.
4742 * textmodes/artist.el (artist-funcall): Likewise.
4743 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4744 Construct menu-item directly.
4746 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4749 2012-08-07 Chong Yidong <cyd@gnu.org>
4751 * simple.el (deactivate-mark): Preserve text properties when
4752 saving the primary selection (Bug#8384).
4754 2012-08-07 Kevin Ryde <user42@zip.com.au>
4756 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4757 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4758 and continue processing (Bug#12110).
4760 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4763 syntax-propertize-function (bug#10095).
4765 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4768 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4769 describe-function-1.
4770 (describe-function-1): Use them. Move compiler macro after sig.
4771 (help-fns--compiler-macro): Use function-get. Assume we're already in
4772 standard-output. Adjust layout to new call order.
4774 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4775 re-binding a symbol that has a symbol-macro (bug#12119).
4777 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4779 * language/persian.el: New file. (Bug#11812)
4780 * loadup.el: Add language/persian.el.
4782 2012-08-06 Chong Yidong <cyd@gnu.org>
4784 * window.el (window--maybe-raise-frame): New function.
4785 (window--display-buffer): Split off from here.
4786 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4787 (display-buffer-pop-up-window, display-buffer-use-some-window):
4788 Obey an inhibit-switch-frame action alist entry.
4789 (display-buffer): Update doc.
4791 * replace.el (occur-after-change-function): Avoid losing focus by
4792 using the inhibit-switch-frame display parameter (Bug#12139).
4794 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4796 Make internal shell process buffer names start with space.
4797 * progmodes/python.el (python-shell-make-comint): Add optional
4799 (run-python-internal): Use it.
4800 (python-shell-internal-get-or-create-process): Check for new
4801 internal buffer names.
4803 2012-08-06 Glenn Morris <rgm@gnu.org>
4805 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4806 Do less getting and setting of environment variables.
4808 2012-08-05 Chong Yidong <cyd@gnu.org>
4810 * proced.el (proced): Add substitution string to docstring to
4811 trigger autoloading of the proced library on C-h f (Bug#1768).
4813 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4814 Don't show defvars which have no second argument (Bug#8638).
4816 * imenu.el (imenu-generic-expression): Move documentation here
4817 from imenu--generic-function.
4818 (imenu--generic-function): Refer to imenu-generic-expression.
4820 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4822 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4823 indentation declaration.
4824 (viper-loop): Add indentation declaration (Bug#7025).
4826 2012-08-05 Chong Yidong <cyd@gnu.org>
4828 * help-fns.el (describe-variable): Add hyperlink for
4829 directory-local variables files. Improve buffer-local and
4830 permanent-local reporting; suggested by MON KEY (Bug#6644).
4832 * help-mode.el (help-dir-local-var-def): New button type.
4834 * files.el (kill-buffer-hook): Provide a defvar.
4836 2012-08-05 Glenn Morris <rgm@gnu.org>
4838 * eshell/esh-ext.el (eshell/addpath):
4839 Also update eshell-path-env. (Bug#12013)
4841 2012-08-05 Chong Yidong <cyd@gnu.org>
4843 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4845 * fringe.el (fringe-styles): Add docstring.
4846 (fringe--check-mode): New function.
4847 (set-fringe-mode, set-fringe-style): Use it.
4848 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4850 * files.el (set-auto-mode): Fix invalid setq call.
4852 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4854 * isearch.el: Misc simplification; use defstruct.
4855 (isearch-mode-map): Dense maps now work like sparse ones.
4856 (isearch--state): New defstruct.
4857 (isearch-string-state, isearch-message-state, isearch-point-state)
4858 (isearch-success-state, isearch-forward-state)
4859 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4860 (isearch-wrapped-state, isearch-barrier-state)
4861 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4862 replaced by defstruct's accessors.
4863 (isearch--set-state): Rename from isearch-top-state and change
4865 (isearch-push-state): Use new isearch--get-state.
4866 (isearch-toggle-word): Disable regexp when enabling word.
4867 (isearch-message-prefix): Remove unused arg _c-q-hack.
4868 (isearch-message-suffix): Remove unused arg _ellipsis.
4870 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4872 * simple.el (list-processes--refresh): For a server use :host or
4873 :local as the address.
4874 (list-processes): Doc fix.
4876 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4878 * lisp/mpc.el: Support password in host argument.
4879 (mpc--proc-connect): Parse and use new password element.
4880 Set mpc-proc variable instead of returning process.
4881 (mpc-proc): Adjust accordingly.
4883 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4885 * whitespace.el (whitespace-display-mappings): Use Unicode
4886 codepoints, instead of emacs-mule codepoints. See
4887 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4890 * files.el (file-truename): Don't skip symlink-chasing part on
4891 windows-nt. Incorporate the resolution of 8+3 short aliases on
4892 Windows into the loop that recursively chases symlinks.
4893 Compare directory and its parent case-insensitively on MS-Windows and
4896 2012-08-03 Chong Yidong <cyd@gnu.org>
4898 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4900 * sort.el (sort-regexp-fields): Doc fix.
4902 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4904 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4905 labels regex position point at the expected place.
4907 2012-08-03 MON KEY <monkey@sandpframing.com>
4909 * net/imap.el (imap-interactive-login, imap-authenticate)
4910 (imap-mailbox-lsub, imap-mailbox-list)
4911 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4912 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4913 (imap-parse-response): Doc fix.
4915 2012-08-03 João Távora <joaotavora@gmail.com>
4917 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4918 if sexp scanning does not move point (Bug#5734).
4920 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4922 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4923 Add listings, minted, and ctable packages.
4924 (reftex-label-alist-builtin): Move listings, minted, and ctable
4925 entries before LaTeX.
4926 (reftex-label-alist): Docfix.
4928 2012-08-02 Bastien Guerry <bzg@gnu.org>
4930 * replace.el (occur): Fix docstring (bug#12122).
4932 2012-08-02 Glenn Morris <rgm@gnu.org>
4934 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4936 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4938 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4939 * international/mule-cmds.el: Create
4940 inactivate-current-input-method-function as an obsolete alias for
4941 deactivate-current-input-method-function. See Katsumi Yamaoka in
4942 <http://bugs.gnu.org/10150#46>.
4944 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4946 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4949 2012-08-01 Glenn Morris <rgm@gnu.org>
4951 * progmodes/autoconf.el (autoconf-definition-regexp):
4952 Add AH_TEMPLATE, adjust submatch numbering.
4953 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4954 (autoconf-current-defun-function): Update for above change.
4955 (autoconf-current-defun-function): First skip to end of current word.
4957 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4959 * calendar/cal-html.el (cal-html-insert-agenda-days):
4960 Fix typo. (Bug#12018)
4962 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4964 Shell processes: enhancements to startup and CEDET compatibility.
4965 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4966 (python-shell-make-comint): accept-process-output at startup.
4967 (run-python-internal): Set inferior-python-mode-hook to nil.
4968 (python-shell-internal-get-or-create-process): call sit-for.
4969 (python-preoutput-result): Add obsolete alias.
4970 (python-shell-internal-send-string): Use it.
4971 (python-shell-send-setup-code): Remove call to
4972 accept-process-output.
4974 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4976 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4979 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4981 * calc-mode.el (calc-basic-simplification-mode): Rename from
4982 `calc-limited-simplification-mode'.
4983 (calc-alg-simplification-mode): New function.
4984 (calc-set-simplify-mode): Adjust message.
4986 * calc.el (calc-set-mode-line): Adjust mode line display for
4987 basic simplification mode.
4989 * calc-help.el (calc-m-prefix-help): Update help message.
4991 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4992 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4994 2012-07-31 Bastien Guerry <bzg@gnu.org>
4996 * man.el (man): Fix comment. (bug#12101)
4998 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5000 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5001 Don't return a non-nil value when no suitable buffer was found.
5003 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5005 * progmodes/python.el (run-python-internal): Disable font lock for
5008 2012-07-30 Stefan Merten <smerten@oekonux.de>
5010 * textmodes/rst.el: Silence `checkdoc-ispell'.
5011 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5012 (rst-official-version, rst-official-cvs-rev)
5013 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5014 (rst-mode-map): New key binding.
5016 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5018 Update .PHONY listings in makefiles.
5019 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5020 autoloads, update-subdirs, updates, bzr-update, update-authors,
5021 compile-onefile, compile-calc, backup-compiled-files,
5022 compile-after-backup, compile-one-process, mh-autoloads,
5023 bootstrap-clean, distclean, maintainer-clean.
5025 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5027 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5028 (calc-set-mode-line): Don't display "AlgSimp ".
5030 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5031 (calc-lim-simplify-mode): New function.
5032 (calc-set-simplify-mode): Default to 'alg.
5033 (calc-default-simplify-mode): Make algebraic simplifications
5036 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5037 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5039 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5040 indicate new simplification modes.
5042 * calc/README: Mention new default simplification mode.
5044 * calc/calc.el (math-normalize-error): New variable.
5045 (math-normalize): Set `math-normalize-error' to t
5046 when there's an error.
5048 * calc/calc-alg.el (math-simplify): Don't simplify when
5049 `math-normalize' returns an error.
5051 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5053 * international/mule-cmds.el (set-locale-environment): Revert last
5054 change, since display-graphic-p returns nil when this function is
5055 called during startup. Instead...
5057 * term/w32console.el (terminal-init-w32console): ...setup the
5058 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5060 2012-07-29 Juri Linkov <juri@jurta.org>
5062 * simple.el (goto-line): Don't display default line number in the
5063 prompt because it should be displayed by `read-number' (bug#9952).
5064 Add the current line number to the defaults of `goto-line' to
5065 allow its easier modification by users with `M-n' (bug#9201).
5067 * subr.el (read-number): Support multiple default values like in
5068 other minibuffer reading functions. Replace `read' with
5069 `string-to-number' for consistency with `number-to-string'.
5071 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5073 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5074 * emulation/viper-init.el (viper-deactivate-input-method-action):
5075 Rename from viper-inactivate-input-method-action.
5076 (viper-deactivate-input-method):
5077 Rename from viper-inactivate-input-method.
5078 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5079 * international/mule-cmds.el (deactivate-input-method):
5080 Rename from inactivate-input-method.
5081 Also run input-method-deactivate-hook.
5082 (deactivate-current-input-method-function):
5083 Rename from inactivate-current-input-method-function.
5084 (input-method-deactivate-hook): New hook.
5085 (input-method-inactivate-hook): Mark obsolete.
5086 (inactivate-input-method): Mark obsolete.
5088 * international/quail.el (quail-activate):
5089 Also run quail-deactivate-hook.
5090 (quail-deactivate): Rename from quail-inactivate.
5091 * international/robin.el (robin-activate):
5092 Also run robin-deactivate-hook.
5093 (robin-deactivate): Rename from robin-inactivate.
5095 2012-07-29 Chong Yidong <cyd@gnu.org>
5097 * simple.el (indicate-copied-region): New function.
5098 (kill-ring-save): Split off from here.
5100 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5101 (kill-rectangle): Set deactivate-mark to t on read-only error.
5103 * register.el (copy-to-register, copy-rectangle-to-register):
5104 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5105 (append-to-register, prepend-to-register): Call indicate-copied-region.
5107 2012-07-29 Juri Linkov <juri@jurta.org>
5109 * simple.el (async-shell-command-buffer): New defcustom.
5110 (shell-command): Use it. (Bug#4719)
5112 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5114 * international/mule-cmds.el (set-locale-environment): In a
5115 console session on MS-Windows, set up keyboard and terminal
5116 encoding from the OEM codepage, not the ANSI codepage.
5119 2012-07-28 Chong Yidong <cyd@gnu.org>
5121 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5124 2012-07-28 Leo Liu <sdl.web@gmail.com>
5126 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5127 the alist (bug#12029).
5129 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5131 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5132 (compile-always, compile-first)
5133 ($(lisp)/calendar/cal-loaddefs.el)
5134 ($(lisp)/calendar/diary-loaddefs.el)
5135 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5136 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5137 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5138 instead of on update-subdirs.
5139 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5141 2012-07-28 Chong Yidong <cyd@gnu.org>
5143 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5144 directory if vc-deduce-backend returns nil (Bug#7350).
5146 * simple.el (delete-trailing-lines): New option.
5147 (delete-trailing-whitespace): Obey it (Bug#11879).
5149 2012-07-28 David Engster <deng@randomsample.de>
5151 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5152 Explanation of new 'symbol-qnames feature in doc-strings.
5153 (xml-maybe-do-ns): Return expanded names as plain symbols if
5154 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5155 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5157 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5159 Consistent completion in inferior python with emacs -nw.
5160 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5161 binding in inferior-python-mode-map with "\t".
5162 (python-shell-completion-complete-at-point)
5163 (python-completion-complete-at-point): Remove interactive spec.
5165 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5167 * calc/calccomp.el (math-compose-expr): Undo previous change.
5169 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5171 * progmodes/python.el (python-mode-map): Add keybinding for
5173 (python-shell-make-comint): Fix pop-to-buffer call.
5174 (run-python): Autoload. New arg SHOW.
5175 (python-shell-get-or-create-process): Do not pop python process
5178 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5180 * notifications.el (notifications-on-action-signal)
5181 (notifications-on-closed-signal): Use also the bus address for the map.
5182 (notifications-notify, notifications-close-notification)
5183 (notifications-get-capabilities): Add optional argument BUS.
5185 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5187 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5188 Add support for the lstlisting and minted environments, and for the
5190 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5191 labels written in keyvals syntax.
5193 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5195 * calc/calccomp.el (math-compose-expr): Use parentheses when
5196 there is a product in the denominator of a fraction.
5198 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5200 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5201 ($(lisp)/calendar/diary-loaddefs.el)
5202 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5203 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5204 Fixes failures in parallel bootstrap because subdirs.el is being
5205 rewritten while the autoload files are built at the same time,
5206 which needs to load subdirs.el.
5208 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5210 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5211 (mouse-drag-line): Don't exit tracking when a switch-frame or
5212 switch-window event occurs (Bug#12006).
5214 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5216 * mouse.el (popup-menu): Fix last change.
5218 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5220 Autoload from Lisp with more care. Follow aliases when looking for
5221 function properties.
5222 * subr.el (autoloadp): New function.
5223 (symbol-file): Use it.
5224 (function-get): New function.
5225 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5227 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5228 (lisp-indent-function):
5229 * emacs-lisp/gv.el (gv-get):
5230 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5231 * emacs-lisp/byte-opt.el (byte-optimize-form):
5232 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5233 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5235 * emacs-lisp/cl.el: Don't propagate function properties any more.
5237 * speedbar.el (speedbar-add-localized-speedbar-support):
5238 * emacs-lisp/disass.el (disassemble-internal):
5239 * desktop.el (desktop-load-file):
5240 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5241 (describe-function-1):
5242 * emacs-lisp/find-func.el (find-function-noselect):
5243 * emacs-lisp/elp.el (elp-instrument-function):
5244 * emacs-lisp/advice.el (ad-has-proper-definition):
5245 * apropos.el (apropos-safe-documentation, apropos-macrop):
5246 * emacs-lisp/debug.el (debug-on-entry):
5247 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5248 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5249 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5251 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5253 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5254 function, not an obsolete variable (Bug#12046).
5256 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5258 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5260 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5262 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5263 window only if it is still live (Bug#12034).
5265 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5267 * subr.el (redirect-frame-focus): Add advertised calling
5268 convention (Bug#12030).
5270 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5272 Prefer typical American spelling for "acknowledgment".
5273 * vc/add-log.el (change-log-acknowledgment): Rename from
5274 change-log-acknowledgement, with an alias for the old name.
5276 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5278 * calc-alg.el (math-simplify-divide): Don't cross multiply
5279 in an equation when the lhs is a variable.
5281 2012-07-24 Julien Danjou <julien@danjou.info>
5283 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5286 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5288 * startup.el (command-line): Don't display an empty user name in
5289 the error message about non-existent home directory, when
5290 init-file-user was set to an empty string. See
5291 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5292 for the details and context.
5294 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5296 * ses.el (ses-cell-formula-aset): New macro.
5297 (ses-cell-references-aset): New macro.
5298 (ses-cell-p): New function.
5299 (ses-rename-cell): Do no longer rely on complex operations like
5300 ses-cell-set-formula or ses-set-cell to change the cell and handle
5301 the undo at the same time, but rather use lower level new macros
5302 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5303 the undo directly. Refresh the mode line.
5305 2012-07-21 Leo Liu <sdl.web@gmail.com>
5307 * progmodes/cc-cmds.el (c-defun-name):
5308 Use match-string-no-properties instead for consistency.
5310 2012-07-20 Leo Liu <sdl.web@gmail.com>
5312 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5315 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5317 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5320 * progmodes/bug-reference.el, misearch.el: Provide themselves
5323 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5324 of narrowed buffer (bug#11966).
5326 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5328 * ses.el (ses-rename-cell): Set new name also in reference list of
5329 cells of which the renamed cell depends.
5331 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5333 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5334 to check whether menu-bar is shown or not. If not shown,
5335 show the menu-bar as a popup menu instead of using tmm.
5336 * mouse.el (popup-menu): Accept `point' as `position' argument.
5338 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5340 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5341 up inside string symbol literal (bug#11923).
5343 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5345 * startup.el (fancy-startup-text): Read the whole tutorial, not
5346 just its first 256 bytes. Prevents gibberish in display of the
5349 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5351 Drop idle buffer compaction due to an absence of the
5353 * compact.el: Remove.
5355 2012-07-19 Sam Steingold <sds@gnu.org>
5357 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5358 vc-bzr-pull & vc-bzr-merge-branch.
5359 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5360 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5361 for consistency with compilation-error-regexp-alist.
5362 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5363 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5364 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5365 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5367 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * emacs-lisp/chart.el: Use lexical-binding.
5370 (chart-emacs-storage): Don't hardcode the list of entries.
5372 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5374 Next round of tweaks caused by Fgarbage_collect changes.
5375 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5377 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5379 Compact buffers when idle.
5380 * compact.el: New file.
5382 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * subr.el (eventp): Presume that if it looks vaguely like an event,
5385 it's an event (bug#10190).
5387 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5389 Enhancements to ppss related code (thanks Stefan).
5390 * progmodes/python.el (python-indent-context)
5391 (python-indent-calculate-indentation, python-indent-dedent-line)
5392 (python-indent-electric-colon, python-nav-forward-block)
5393 (python-mode-abbrev-table)
5394 (python-info-assignment-continuation-line-p): Simplify checks
5396 (python-info-continuation-line-p): Cleanup.
5397 (python-info-ppss-context): Do not catch 'quote.
5398 (python-info-ppss-context-type)
5399 (python-info-ppss-comment-or-string-p): Simplify.
5401 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5403 * progmodes/python.el: Enhancements to eldoc support.
5404 (python-info-current-symbol): New function.
5405 (python-eldoc-at-point): Use python-info-current-symbol.
5406 (python-info-current-defun): Fix cornercase on first defun scan.
5407 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5408 and signal error when no inferior python process is available.
5410 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5412 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5413 assume it's always t.
5414 (vc-git-registered): Remove caching, the function is only called
5416 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5418 2012-07-18 Chong Yidong <cyd@gnu.org>
5420 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5422 * simple.el (count-words): Report on narrowing (Bug#9959).
5424 * bindings.el: Bind M-= to count-words.
5426 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5428 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5430 * progmodes/sh-script.el (sh-imenu-generic-expression):
5431 Capture a function with `function' keyword and without parentheses
5432 like "function FOO" (bug#11856).
5434 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5436 * window.el (split-window-sensibly): Make WINDOW argument
5439 2012-07-18 Chong Yidong <cyd@gnu.org>
5441 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5443 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5444 and make C-x 8 RET exit isearch (Bug#11439).
5446 * international/iso-transl.el: Move isearch-mode-map key
5447 definitions to isearch.el.
5449 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5451 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5452 (eieio-defclass): Use gv-define-setter when possible.
5454 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5456 Reflect recent changes in Fgarbage_collect.
5457 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5458 reflect new format of data returned by Fgarbage_collect.
5460 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5462 New utility functions + python-info-ppss-context fix (Bug#11910).
5463 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5464 (python-info-ppss-comment-or-string-p): New functions.
5465 (python-info-ppss-context): Small fix for string check.
5467 2012-07-17 Juri Linkov <juri@jurta.org>
5469 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5470 (dired-do-async-shell-command): Don't add `*' at the end of the
5471 command (Bug#11815).
5472 (dired-do-shell-command): Doc fix.
5473 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5474 Join the individual commands using either "&" or ";" as the
5475 separator depending on the values of these trailing characters.
5476 At the end re-add the trailing "&". (Bug#10598)
5478 * simple.el (async-shell-command): Sync the interactive spec with
5479 `shell-command'. Doc fix.
5480 (shell-command): Doc fix.
5482 2012-07-17 Juri Linkov <juri@jurta.org>
5484 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5486 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5488 Final renames and doc fixes for movement commands (bug#11899).
5489 * progmodes/python.el (python-nav-beginning-of-statement):
5490 Rename from python-nav-statement-start.
5491 (python-nav-end-of-statement): Rename from
5492 python-nav-statement-end.
5493 (python-nav-beginning-of-block): Rename from
5494 python-nav-block-start.
5495 (python-nav-end-of-block): Rename from python-nav-block-end.
5497 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5499 * progmodes/python.el (python-shell-send-string-no-output):
5500 Allow accept-process-output to quit, keeping shell process ready for
5501 future interactions (Bug#11868).
5503 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5505 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5507 * emacs-lisp/elint.el (elint-find-args-in-code):
5508 Use help-function-arglist, so as to handle lexical byte-code.
5510 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5513 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5516 Avoid spuriously marking the buffer as modified because of c-is-sws.
5518 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5519 as not-a-comment (bug#11946).
5521 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5522 for uninterned vars.
5524 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5525 Use read-event since we don't really want to read chars but bytes.
5527 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5528 $$..$$ but also $..$ using regexps (bug#11953).
5529 Use tex-verbatim for \url and \path.
5530 (tex-font-lock-keywords): Define as defconst like the others.
5531 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5533 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5535 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5536 alias for insert-char.
5538 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5540 * progmodes/python.el: Simplified imenu implementation.
5541 (python-nav-jump-to-defun): Remove command.
5542 (python-mode-map): Use `imenu' instead.
5543 (python-nav-list-defun-positions-cache)
5544 (python-imenu-include-defun-type, python-imenu-make-tree)
5545 (python-imenu-subtree-root-label, python-imenu-index-alist):
5547 (python-nav-list-defun-positions, python-nav-read-defun)
5548 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5549 (python-imenu-make-tree, python-imenu-create-index):
5551 (python-mode): Update to interact with imenu by setting
5552 `imenu-extract-index-name-function' only.
5554 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5556 * progmodes/python.el: Enhancements to navigation commands.
5557 (python-nav-backward-sentence)
5558 (python-nav-forward-sentence): Remove.
5559 (python-nav-backward-statement, python-nav-forward-statement)
5560 (python-nav-statement-start, python-nav-statement-end)
5561 (python-nav-backward-block, python-nav-forward-block)
5562 (python-nav-block-start, python-nav-block-end)
5563 (python-nav-forward-sexp-function)
5564 (python-info-current-line-comment-p)
5565 (python-info-current-line-empty-p): New functions.
5566 (python-indent-context): Use `python-nav-statement-start'.
5568 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5570 * eshell/em-ls.el (eshell/ls): Use `apply'.
5572 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5573 multi-hops, instead of Tramp internals.
5575 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5577 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5578 when F1 and F2 are located on different hosts.
5580 2012-07-14 Chong Yidong <cyd@gnu.org>
5582 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5583 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5584 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5585 (xterm-mouse--read-event-sequence-1000)
5586 (xterm-mouse--read-event-sequence-1006): New functions. For old
5587 mouse protocol, handle M-mouse-X events correctly.
5588 (xterm-mouse-event): New arg specifying mouse protocol.
5589 (turn-on-xterm-mouse-tracking-on-terminal)
5590 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5591 sequence to toggle extended coordinates on newer XTerms.
5592 This appears to be harmless on terminals which do not support this.
5594 2012-07-14 Leo Liu <sdl.web@gmail.com>
5596 Add fringe bitmap indicators for flymake. (Bug#11253)
5597 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5598 (flymake-make-overlay): New arg BITMAP.
5599 (flymake-error-bitmap, flymake-warning-bitmap)
5600 (flymake-fringe-indicator-position): New user variables.
5602 * fringe.el: New bitmap exclamation-mark.
5604 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5606 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5609 2012-07-14 Chong Yidong <cyd@gnu.org>
5611 * electric.el (electric-pair-post-self-insert-function): Fix pair
5612 insertion in empty-region case (Bug#11520).
5614 2012-07-14 Chong Yidong <cyd@gnu.org>
5616 * bindings.el: Consolidate ctl-x-r-map bindings.
5617 Bind copy-rectangle-as-kill to C-x r w.
5619 * rect.el, register.el: Move bindings to bindings.el.
5621 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5623 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5625 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5627 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5629 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5631 * bindings.el (top): Use `mapc' instead of `mapcar'.
5633 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5635 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5637 * progmodes/sql.el (sql-comint): Suppress the check for program on
5638 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5641 2012-07-13 Chong Yidong <cyd@gnu.org>
5643 * bindings.el: Assign a non-nil permanent-local property to
5644 per-buffer variables which lack a default value (Bug#11930).
5646 * help-fns.el (describe-variable): In the "automatically becomes
5647 local" notice, take note of permanent-local variables.
5649 2012-07-13 Chong Yidong <cyd@gnu.org>
5651 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5652 to allow printing the message when called from Lisp.
5654 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5655 Remove toggle-read-only.
5657 * bs.el (bs-toggle-readonly):
5658 * buff-menu.el (Buffer-menu-toggle-read-only):
5659 Remove with-no-warnings around toggle-read-only.
5661 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5662 Remove with-no-warnings around toggle-read-only.
5663 (ffap-read-only, ffap-read-only-other-window)
5664 (ffap-read-only-other-frame): Callers changed.
5666 * help-mode.el: Don't require view package.
5667 (help-mode-finish): Set buffer-read-only instead of calling
5670 * bindings.el (mode-line-toggle-read-only):
5671 * dired.el (dired-toggle-read-only):
5672 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5673 with non-nil second arg.
5675 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5676 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5679 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5681 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5684 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5686 More CL cleanups and reduction of use of cl.el.
5687 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5688 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5689 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5690 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5691 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5692 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5693 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5694 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5695 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5696 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5697 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5698 * eshell/em-cmpl.el, eshell/em-banner.el:
5699 * calendar/parse-time.el: Use cl-lib.
5700 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5701 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5702 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5703 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5704 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5705 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5706 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5707 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5708 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5709 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5710 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5711 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5712 `lambda' rather than with `quote'.
5713 (eshell-do-opt): Adjust accordingly.
5714 (eshell-process-option): Simplify.
5715 * eshell/esh-var.el:
5716 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5717 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5718 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5719 to `pcase--dontcare'.
5720 * emacs-lisp/cl.el (labels): Mark obsolete.
5721 (cl--letf, letf): Move to cl-lib.
5722 (cl--letf*, letf*): Remove.
5723 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5724 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5725 (cl-progv): Rewrite.
5726 (cl--letf, cl-letf): Move from cl.el.
5727 (cl-letf*): New macro.
5728 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5730 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5732 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5734 2012-07-11 Chong Yidong <cyd@gnu.org>
5736 * vc/log-edit.el (log-edit-vc-backend): New variable.
5737 (log-edit): Doc fix.
5739 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5740 argument of log-edit to set up all local variables.
5741 (vc-start-logentry): New optional arg specifying VC backend.
5743 * vc/vc.el (vc-checkin): Use it.
5744 (vc-deduce-fileset): Handle Log Edit buffers.
5745 (vc-diff): Make first argument optional too.
5747 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5749 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5751 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5752 command, just in case. The function is not needed anymore.
5753 (eshell-external-command): Do not call `eshell-remote-command'.
5755 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5757 Reduce use of (require 'cl).
5758 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5759 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5760 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5761 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5762 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5763 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5764 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5765 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5766 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5767 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5768 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5769 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5770 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5771 (byte-compile-unfold-bcf, byte-compile-check-variable):
5772 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5773 (byte-compile-nilconstp):
5774 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5775 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5777 * emacs-lisp/gv.el (cond): Make it a valid place.
5778 (if): Simplify slightly.
5780 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5781 (pcase--self-quoting-p): New function.
5782 (pcase--u1): Use it.
5784 2012-07-10 Glenn Morris <rgm@gnu.org>
5786 * emacs-lisp/authors.el (authors-fixed-entries):
5787 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5789 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5791 Rename configure.in to configure.ac (Bug#11603).
5792 * emacs-lisp/authors.el (authors-canonical-file-name):
5793 * progmodes/autoconf.el (autoconf-mode):
5794 Prefer configure.ac to configure.in.
5796 2012-07-08 Chong Yidong <cyd@gnu.org>
5798 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5799 Implement the mouse-1-click-follows-link handling properly.
5801 * info.el (Info-link-keymap): Use follow-link mechanism for
5802 header-line links (Bug#374).
5804 * simple.el (deactivate-mark): Do not set the primary selection
5805 if another program has acquired it (Bug#11772).
5807 2012-07-07 Kevin Ryde <user42@zip.com.au>
5809 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5810 (woman-decode-region): Replace escaped-escapes without destroying
5811 bold or underline (Bug#11552).
5812 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5814 2012-07-07 Chong Yidong <cyd@gnu.org>
5816 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5817 (interprogram-cut-function, interprogram-paste-function):
5818 Mention that we typically mean the clipboard.
5820 2012-07-06 Glenn Morris <rgm@gnu.org>
5822 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5824 * files.el (toggle-read-only): Restrict message to interactive use.
5826 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5828 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5830 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5832 2012-07-06 Glenn Morris <rgm@gnu.org>
5834 * Makefile.in (compile-one-process): Rename from "recompile".
5836 * Makefile.in (bzr-update): "compile" is the same as "recompile
5837 autoloads", but parallelizable, so use that instead.
5839 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5841 * window.el (quit-window): Always restore window height when
5842 it's saved in quit-restore parameter (Bug#11810).
5844 2012-07-06 Glenn Morris <rgm@gnu.org>
5846 * simple.el (kill-whole-line): Doc tweak.
5848 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5850 * files.el (file-relative-name): Compare file names
5851 case-insensitively if on MS-Windows or MS-DOS, or if
5852 read-file-name-completion-ignore-case is non-nil. Don't use
5853 case-fold-search for this purpose. (Bug#11827)
5855 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5857 * calendar/cal-dst.el (calendar-current-time-zone):
5858 Return calendar-current-time-zone-cache if non-nil.
5860 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5861 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5863 * calendar/cal-dst.el (calendar-current-time-zone):
5864 Return calendar-current-time-zone-cache if non-nil.
5866 2012-07-06 Glenn Morris <rgm@gnu.org>
5868 * Makefile.in (cvs-update): Remove old alias.
5870 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5872 Sync with Tramp 2.2.6-pre.
5874 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5875 compatible declaration.
5877 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5878 Protect `list-load-path-shadows' call.
5880 * net/tramp-compat.el (top): Require packages, which aren't
5881 autoloaded anymore for XEmacs. Protect call of
5882 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5883 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5884 it hurts at least for SXEmacs.
5885 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5886 standard-value for `temporary-file-directory'.
5888 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5889 Redirect stderr to /dev/null.
5890 (tramp-sh-handle-write-region): uid and gid can be floats.
5891 Reported by Russell Sim <russell.sim@gmail.com>.
5892 (tramp-sh-handle-vc-registered): Hide errors.
5893 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5894 and `start-file-process'.
5895 (tramp-maybe-open-connection): Check also whether `non-essential'
5898 2012-07-04 Chong Yidong <cyd@gnu.org>
5900 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5901 (xml-parse-tag): Likewise, and avoid changing entity tables.
5902 (xml-syntax-table): Define from scratch, making sure not to give
5903 x2000 and other Unicode spaces whitespace syntax, since those are
5905 (xml-parse-fragment): Delete unused function.
5906 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5907 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5908 (xml-entity-ref, xml-pe-reference-re)
5909 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5910 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5911 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5912 (xml-entity-value-re): Use syntax references in regexps where
5913 possible; no need to define inside a let-binding.
5914 (xml-parse-dtd): Use xml-pe-reference-re.
5915 (xml-entity-or-char-ref-re): New defconst.
5916 (xml-parse-string, xml-substitute-special): Use it.
5918 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5920 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5921 (find-file--read-only): New function.
5922 (find-file-read-only, find-file-read-only-other-window)
5923 (find-file-read-only-other-frame): Use it.
5924 (insert-file-contents-literally): Don't `fset'.
5925 (get-free-disk-space): Use locate-dominating-file.
5927 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5928 function is already compiled.
5930 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5932 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5934 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5935 files on the same host.
5937 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5939 * help-fns.el (describe-function-1): Only call
5940 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5942 2012-07-03 Chong Yidong <cyd@gnu.org>
5944 * xml.el: Protect parser against XML bombs.
5945 (xml-entity-expansion-limit): New variable.
5946 (xml-parse-string, xml-substitute-special): Use it.
5947 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5949 2012-07-03 Glenn Morris <rgm@gnu.org>
5951 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5952 Allow linking to specific messages in debbugs reports (eg 123#5).
5954 2012-07-02 Chong Yidong <cyd@gnu.org>
5956 * xml.el: Fix entity and character reference expansion, allowing
5957 them to expand into markup as per XML spec.
5958 (xml-default-ns): New variable.
5959 (xml-entity-alist): Use XML spec definitions for lt and amp.
5960 (xml-parse-region): Make first two arguments optional.
5961 Discard text properties.
5962 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5963 All callers changed.
5964 (xml-parse-tag): Call xml-parse-tag-1. For backward
5965 compatibility, this function should not modify buffer contents.
5966 (xml-parse-tag-1): Fix opening-tag regexp.
5967 (xml-parse-string): Rewrite, handling entity and character
5968 references properly.
5969 (xml--entity-replacement-text): Signal an error if a parameter
5970 entity is undefined.
5972 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5974 * comint.el (comint-output-filter): Filter out repeated prompts.
5976 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5977 and file-name-absolute-p.
5978 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5981 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5984 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5985 Rename from byte-compile--refiy-function. All uses changed.
5987 2012-07-01 Chong Yidong <cyd@gnu.org>
5989 * xml.el (xml--parse-buffer): New function. Move most of
5990 xml-parse-region here.
5991 (xml-parse-region): Copy region into a temporary buffer, since
5992 parameter entity substitution requires changing buffer contents.
5993 Use xml--parse-buffer.
5994 (xml-parse-file): Use xml--parse-buffer.
5995 (xml-parse-dtd): Make parameter entity substitution work right.
5996 Use proper regexps for ELEMENT declarations (Bug#7172).
5998 2012-06-30 Glenn Morris <rgm@gnu.org>
6000 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6002 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6003 Remove outdated and unnecessary dbus declarations.
6005 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6007 * emacs-lisp/timer.el (timer-until): Subtract results of
6008 float-time, instead of taking float-time of the result of
6009 time-subtract, since float-time signals an error for negative time
6012 2012-06-30 Chong Yidong <cyd@gnu.org>
6014 * xml.el (xml-*-re): Convert defvars into defconsts, and
6015 eval-and-compile them so eval-and-compile works on derivatives.
6016 (xml--entity-replacement-text): Use eval-and-comple.
6018 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6020 * vc/vc-git.el (vc-git-registered): Use cache property
6022 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6023 `vc-git-working-revision' in order to benefit from the cache.
6024 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6026 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6028 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6029 removed (likely outside Emacs). (Bug#11757)
6031 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6033 * emacs-lisp/cl-lib.el: Require macroexp.
6035 2012-06-30 Chong Yidong <cyd@gnu.org>
6037 * xml.el: Implement XML parameter entities.
6038 (xml-parameter-entity-alist): New variable.
6039 (xml-parse-region, xml-parse-fragment): Preserve previous values
6040 of xml-entity-alist and xml-parameter-entity-alist, so that
6041 repeated calls on different documents do not change them.
6042 (xml-parse-tag): Fix doctype regexp.
6043 (xml--entity-replacement-text): New function.
6044 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6045 properly requires url retrieval which is unimplemented.
6046 (xml-escape-string): Doc fix.
6048 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6050 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6052 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6054 * fringe.el (fringe-mode): Doc fix.
6056 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6058 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6060 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6061 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6063 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6065 * calendar/cal-dst.el (calendar-current-time-zone):
6066 Return calendar-current-time-zone-cache if non-nil.
6068 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6070 * progmodes/which-func.el (which-func-format):
6071 Add mouse-face. (Bug#11698)
6073 2012-06-29 Leo Liu <sdl.web@gmail.com>
6075 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6077 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6079 * minibuffer.el (minibuffer-confirm-exit-commands):
6080 Add completion-at-point (bug#11725).
6082 2012-06-29 Glenn Morris <rgm@gnu.org>
6084 * progmodes/f90.el (f90-font-lock-keywords-2):
6085 Add some preprocessor elements. (Bug#10499)
6087 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6089 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6090 Use syntax-propertize (bug#11739).
6092 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6094 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6096 2012-06-28 Julien Danjou <julien@danjou.info>
6098 * term.el (term-handle-colors-array): Use a set of new faces to
6099 color the terminal. Also uses :inverse-video property.
6100 (term-default-fg-color): Set to nil by default, deprecate in favor
6102 (term-default-bg-color): Set to nil by default, deprecate in favor
6104 (term-current-face): Use `term-face' by default.
6105 (term-bold-attribute): Variable deleted.
6107 2012-06-28 Glenn Morris <rgm@gnu.org>
6109 * simple.el (completion-list-mode-finish):
6110 Don't use toggle-read-only. (Since completion-list-mode has
6111 a special mode-class, it wasn't doing anything extra anyway.)
6113 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6115 Make inlining of other-mode interpreted functions work (bug#11799).
6116 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6117 (byte-compile): Use it to fix compilation of lexical-binding closures.
6118 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6119 function, if needed.
6121 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * help-mode.el (help-make-xrefs): Don't just withstand
6124 cyclic-variable-indirection but any error in documentation-property.
6126 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6128 * bindings.el (bindings--define-key): New function.
6129 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6130 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6131 * bindings.el: Use it to purecopy define-key bindings.
6133 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6135 * emacs-lisp/cl.el (flet): Mark obsolete.
6136 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6137 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6138 * progmodes/js.el (js-c-fill-paragraph):
6139 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6140 (ebrowse-switch-member-buffer-to-derived-class):
6141 * play/5x5.el (5x5-solver): Use cl-flet.
6143 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6144 (cl--symbol-function): New macro.
6145 (cl--letf, cl--letf*): Use it.
6147 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6148 Strip "toggle-" if any.
6150 2012-06-27 Glenn Morris <rgm@gnu.org>
6152 * info.el (Info-default-directory-list): Move here from paths.el.
6153 * paths.el: Remove file, which is now empty.
6154 * loadup.el: No longer load "paths".
6156 * custom.el (custom-initialize-delay): Doc fix.
6158 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6159 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6160 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6161 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6162 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6163 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6164 * eshell/eshell.el (eshell-defgroup): Remove alias.
6166 2012-06-27 Chong Yidong <cyd@gnu.org>
6168 * help.el (help-enable-auto-load): New variable.
6170 * help-fns.el (help-fns--autoloaded-p): New function.
6171 (describe-function-1): Refer to a function as "autoloaded" if it
6172 was autoloaded at any time in the past. Perform autoloading if
6173 help-enable-auto-load is non-nil.
6175 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6177 * makefile.w32-in (compile, compile-always): Depend on
6178 update-subdirs, not on subdirs.el. Otherwise, several different
6179 sub-targets of 'bootstrap' running in parallel could
6180 simultaneously write to subdirs.el, producing a garbled file.
6182 2012-06-26 Sam Steingold <sds@gnu.org>
6184 * files.el (file-name-base): New convenience function.
6185 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6186 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6187 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6188 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6189 * textmodes/ispell.el, textmodes/reftex-ref.el:
6190 * textmodes/tex-mode.el: Use it.
6191 Did not touch cedet and org because they are maintained elsewhere.
6193 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6195 * calendar/calendar.el (calendar-exit): Don't try to delete or
6196 iconify last frame. See:
6197 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6199 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6201 * server.el (server-process-filter): Remember dir in the
6202 process's `server-client-directory' properties.
6204 2012-06-24 Chong Yidong <cyd@gnu.org>
6206 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6209 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6211 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6213 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * help-fns.el (describe-variable): Don't croak when doc is not found.
6216 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6217 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6218 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6219 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6220 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6222 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6224 2012-06-23 Chong Yidong <cyd@gnu.org>
6226 * info.el (Info-mouse-follow-link): Accept symbol values of
6227 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6228 (Info-fontify-node): Use Info-link-keymap for all navigation
6229 buttons, with link-args property to perform the desired action.
6230 (Info-link-keymap): Doc fix.
6231 (Info-next-link-keymap, Info-prev-link-keymap)
6232 (Info-up-link-keymap): Delete now-unused keymaps.
6234 2012-06-23 Chong Yidong <cyd@gnu.org>
6236 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6238 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6241 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6243 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6245 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6248 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6249 the requote function doesn't work properly (bug#11714).
6251 2012-06-23 Glenn Morris <rgm@gnu.org>
6253 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6255 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6257 Further GV/CL cleanups.
6258 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6260 (gv--defun-declaration): New function.
6261 (defun-declarations-alist): Use it.
6262 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6263 (gv-place): Autoload.
6264 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6265 original definition of dotimes and dolist.
6266 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6267 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6268 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6269 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6270 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6271 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6272 to the function's definition.
6273 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6277 * env.el: Don't use CL.
6279 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6281 Support higher-resolution time stamps (Bug#9000).
6283 * calendar/time-date.el (with-decoded-time-value): New arg
6284 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6285 (encode-time-value): New optional arg PICO. New type 3.
6286 (time-to-seconds) [!float-time]: Support the new picoseconds
6287 component if it's used.
6288 (seconds-to-time, time-subtract, time-add):
6289 Support ps-resolution time stamps as well.
6291 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6292 (timerp): Timer vectors now have length 9, not 8.
6293 (timer--time): Support new-style (4-part) time stamps.
6294 (timer-next-integral-multiple-of-time): Time stamps now have
6295 picosecond resolution, so take a bit more care about rounding.
6296 (timer-relative-time, timer-inc-time): New optional arg psecs.
6297 (timer-set-time-with-usecs): Set psecs to 0.
6298 (timer--activate): Check psecs component, too.
6300 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6302 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6305 Move the non-essential binding to the post/pre-command-hook where it is
6306 more obviously correct.
6308 * subr.el (read-passwd): Don't use a history at all.
6309 * savehist.el (savehist-save): Remove password saved accidentally
6310 because of the above bug.
6312 2012-06-22 Bastien Guerry <bzg@gnu.org>
6314 * files.el (toggle-read-only): Display a message telling whether
6315 the buffer is read-only or not (bug#11726).
6317 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * emacs-lisp/gv.el: New file.
6320 * subr.el (push, pop): Extend to generalized variables.
6321 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6322 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6323 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6324 gv-define-simple-setter, and gv-define-expander.
6325 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6326 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6327 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6328 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6329 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6331 (cl-defstruct): Don't define setf-method any more.
6332 * emacs-lisp/cl.el (flet): Don't autoload.
6333 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6334 (define-setf-expander, defsetf, define-modify-macro)
6335 (cl-struct-setf-expander): Move from cl-lib.el.
6336 * emacs-lisp/syntax.el:
6337 * emacs-lisp/ewoc.el:
6338 * emacs-lisp/smie.el:
6339 * emacs-lisp/cconv.el:
6340 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6341 (timer--time): Use gv-define-simple-setter.
6342 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6343 to avoid coding-system problems in subr.el. Adjust all users.
6344 (macroexp--maxsize, macroexp-small-p): New functions.
6345 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6346 * scroll-bar.el (scroll-bar-mode):
6347 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6348 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6349 * winner.el (winner-configuration, winner-make-point-alist)
6350 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6351 * files.el (locate-file-completion-table): Avoid list*.
6353 2012-06-22 Chong Yidong <cyd@gnu.org>
6355 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6356 (dired-create-files): Doc fix (Bug#11329).
6357 (dired-do-copy): Doc fix (Bug#11334).
6358 (dired-mark-read-string): Doc fix (Bug#11553).
6360 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6361 Doc fix (Bug#11326).
6362 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6363 (dired-dwim-target): Doc fix.
6365 * wdired.el (wdired-mode): Doc fix.
6367 2012-06-22 Glenn Morris <rgm@gnu.org>
6369 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6370 (pcmpl-rpm-cache-stamp-file): New constant.
6371 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6372 (pcmpl-rpm-packages): Optionally cache list of packages.
6374 * pcmpl-rpm.el (pcmpl-rpm): New group.
6375 (pcmpl-rpm-query-options): New option.
6376 (pcmpl-rpm-packages): No need to inline it.
6377 Use pcmpl-rpm-query-options.
6379 * calendar/calendar.el (calendar-in-read-only-buffer):
6380 Avoid some needless mode changes.
6382 2012-06-21 Chong Yidong <cyd@gnu.org>
6384 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6385 (desktop-path): Remove . from the default value (Bug#10977).
6386 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6388 2012-06-20 Chong Yidong <cyd@gnu.org>
6390 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6392 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6394 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6397 2012-06-20 Chong Yidong <cyd@gnu.org>
6399 * term.el (term-window-width): Handle the case of a missing right
6401 (term-check-size): Use window-text-height (Bug#5445).
6402 (term-mode): Use define-derived-mode. Minor cleanups.
6403 Set font-lock-defaults (Bug#7692).
6404 (term-move-columns, term-insert-char, term-emulate-terminal)
6405 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6407 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6409 * net/ange-ftp.el (ange-ftp-get-passwd):
6410 Bind `enable-recursive-minibuffers'.
6411 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6413 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6415 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6417 2012-06-19 Glenn Morris <rgm@gnu.org>
6419 * progmodes/python.el (python-mode): Derive from prog-mode.
6421 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6423 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6424 (edt-user-menu-bar-update-buffers): New functions.
6425 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6427 2012-06-19 Chong Yidong <cyd@gnu.org>
6429 * subr.el (with-selected-window): Preserve the selected window's
6430 terminal's top-frame (Bug#4702).
6432 * window.el (save-selected-window): Likewise.
6434 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6436 * progmodes/python.el (python-rx-constituents): Move backquote.
6437 (python-skeleton-define, python-define-auxiliary-skeleton):
6440 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6442 * minibuffer.el (read-file-name-default): Revert the patch from
6445 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6448 (pcase--u1, pcase--q1): Don't use apply-partially.
6450 2012-06-18 Glenn Morris <rgm@gnu.org>
6452 * progmodes/python.el (python-proc, python-buffer)
6453 (python-send-receive, python-send-string): Fix obsolete versions.
6455 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6457 * window.el (special-display-p): Completely remove stringp
6458 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6460 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6462 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6464 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6466 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6467 * net/tramp-sh.el (tramp-maybe-open-connection):
6468 Throw if `non-essential' is non-nil.
6470 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6472 * window.el (special-display-p): Signal an error if BUFFER-NAME
6473 is not a string (Bug#11713).
6475 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6477 * progmodes/python.el (python-info-beginning-of-backslash):
6478 Rename from python-info-beginning-of-backlash, as a spelling fix.
6480 2012-06-17 Chong Yidong <cyd@gnu.org>
6482 * term.el (term-emulate-terminal): If term-check-size is called,
6483 move point to the process mark without resetting point (Bug#4635).
6485 2012-06-17 Glenn Morris <rgm@gnu.org>
6487 * international/mule-cmds.el (mule-menu-keymap)
6488 (set-language-environment, set-locale-environment): Doc tweaks.
6490 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6492 * cus-face.el (custom-face-attributes): Add wave-style underline
6494 * faces.el (set-face-attribute): Update docstring to describe
6495 wave-style underline attribute.
6497 2012-06-16 Chong Yidong <cyd@gnu.org>
6499 * term/xterm.el (terminal-init-xterm): Discard input before
6500 querying background mode (Bug#10959).
6502 2012-06-16 Stefan Merten <smerten@oekonux.de>
6504 * textmodes/rst.el: Added and corrected some comments.
6505 (rst-re-alist-def): Improve symbol syntax.
6506 (rst-mode-syntax-table): Correct syntax entries.
6507 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6508 (rst-official-version, rst-official-cvs-rev): Update version
6511 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6513 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6514 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6516 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6518 * progmodes/python.el: New python.el merge.
6519 (python-guess-indent): Obsolete var.
6520 (python-indent-guess-indent-offset): New defcustom.
6521 (python-indent): Obsolete var.
6522 (python-indent-offset): New defcustom.
6523 (python-python-command, python-jython-command): Delete var.
6524 (python-shell-interpreter): New defcustom.
6525 (python-pdbtrack-do-tracking-p): Delete var.
6526 (python-pdbtrack-activate): New defcustom.
6527 (python-use-skeletons): Obsolete var.
6528 (python-skeleton-autoinsert): New defcustom.
6529 (inferior-python-filter-regexp, python-continuation-offset)
6530 (python-honour-comment-indentation, python-indent-string-contents)
6531 (python-jython-packages, python-mode-hook)
6532 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6533 (python-shell-prompt-alist)
6534 (python-source-modes): Delete defcustoms.
6535 (python-check-buffer-name, python-eldoc-setup-code)
6536 (python-eldoc-string-code, python-ffap-setup-code)
6537 (python-ffap-string-code, python-fill-comment-function)
6538 (python-fill-decorator-function, python-fill-paren-function)
6539 (python-fill-string-function, python-imenu-include-defun-type)
6540 (python-imenu-make-tree, python-imenu-subtree-root-label)
6541 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6542 (python-shell-compilation-regexp-alist)
6543 (python-shell-completion-module-string-code)
6544 (python-shell-completion-pdb-string-code)
6545 (python-shell-completion-setup-code)
6546 (python-shell-completion-string-code)
6547 (python-shell-enable-font-lock, python-shell-exec-path)
6548 (python-shell-extra-pythonpaths)
6549 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6550 (python-shell-process-environment)
6551 (python-shell-prompt-block-regexp)
6552 (python-shell-prompt-output-regexp)
6553 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6554 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6555 (python-shell-virtualenv-path): New defcustoms.
6556 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6557 (inferior-python-mode-syntax-table, python--prompt-regexp)
6558 (python-buffer, python-command python-python-command)
6559 (python-default-template, python-imports, python-indent-index)
6560 (python-indent-list, python-indent-list-length)
6561 (python-mode-running, python-pdbtrack-is-tracking-p)
6562 (python-preoutput-continuation, python-preoutput-leftover)
6563 (python-preoutput-result, python-preoutput-skip-next-prompt)
6564 (python-prev-dir/file, python-recursing)
6565 (python-saved-check-command, python-version-checked)
6566 (python-which-func-length-limit)
6567 (view-return-to-alist): Delete vars.
6568 (python-check-custom-command, python-dotty-syntax-table)
6569 (python-imenu-index-alist, python-indent-current-level)
6570 (python-indent-dedenters, python-indent-levels)
6571 (python-nav-beginning-of-defun-regexp)
6572 (python-nav-list-defun-positions-cache)
6573 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6574 (python-shell-internal-buffer)
6575 (python-skeleton-available): New vars.
6576 (def-python-skeleton): Delete macro.
6577 (python-skeleton-define): New macro.
6578 (python-define-auxiliary-skeleton, python-rx): New macros.
6579 (python-insert-class): Delete command.
6580 (python-skeleton-class): New command.
6581 (python-insert-def): Delete command.
6582 (python-skeleton-def): New command.
6583 (python-insert-for): Delete command.
6584 (python-skeleton-for): New command.
6585 (python-insert-if): Delete command.
6586 (python-skeleton-if): New command.
6587 (python-insert-try/except, python-insert-try/finally): Delete commands.
6588 (python-skeleton-try): New command.
6589 (python-insert-while): Delete command.
6590 (python-skeleton-while): New command.
6591 (python-backspace): Delete command.
6592 (python-indent-dedent-line-backspace): New command.
6593 (python-electric-colon): Delete command.
6594 (python-indent-electric-colon): New command.
6595 (python-guess-indent): Delete command.
6596 (python-indent-guess-indent-offset): New command.
6597 (python-shift-left): Delete command.
6598 (python-indent-shift-left): New command.
6599 (python-shift-right): Delete command.
6600 (python-indent-shift-right): New command.
6601 (python-find-function): Delete command.
6602 (python-nav-jump-to-defun): New command.
6603 (python-next-statement): Delete command.
6604 (python-nav-forward-sentence): New command.
6605 (python-previous-statement): Delete command.
6606 (python-nav-backward-sentence): New command.
6607 (python-fill-paragraph): Delete command.
6608 (python-fill-paragraph-function): New command.
6609 (python-send-buffer): Delete command.
6610 (python-shell-send-buffer): New command.
6611 (python-send-defun): Delete command.
6612 (python-shell-send-defun): New command.
6613 (python-send-region, python-send-region-and-go): Delete commands.
6614 (python-shell-send-region)
6615 (python-shell-switch-to-shell): New commands.
6616 (python-send-string): Delete command.
6617 (python-shell-send-string): New command.
6618 (python-switch-to-python): Delete command.
6619 (python-shell-switch-to-shell): New command.
6620 (python-describe-symbol): Delete command.
6621 (python-eldoc-at-point): New command.
6622 (python--set-prompt-regexp, python-args-to-list)
6623 (python-after-info-look, python-check-version)
6624 (python-check-comint-prompt, python-find-imports)
6625 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6626 (python-unload-function, python-expand-template)
6627 (python-maybe-jython, python-preoutput-filter)
6628 (python-pdbtrack-get-source-buffer)
6629 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6630 (python-pdbtrack-toggle-stack-tracking)
6631 (python-pdbtrack-track-stack-file, python-initial-text)
6632 (python-first-word, python-comment-line-p, python-send-command)
6633 (python-setup-brm, python-sentinel, python-set-proc)
6634 (python-skip-out, python-input-filter, python-outdent-p)
6635 (python-outline-level, python-backslash-continuation-line-p)
6636 (python-end-of-block, python-end-of-statement, python-mark-block)
6637 (python-beginning-of-block, python-beginning-of-statement)
6638 (python-blank-line-p, python-beginning-of-string)
6639 (python-open-block-statement-p): Delete functions.
6640 (python-indent-line, python-indent-line-1): Delete functions.
6641 (python-indent-line): New function.
6642 (python-indentation-levels): Delete function.
6643 (python-indent-calculate-levels): New function.
6644 (python-proc): Delete function.
6645 (python-shell-get-process): New function.
6646 (python-send-receive): Delete function.
6647 (python-shell-send-string-no-output): New function.
6648 (python-module-path): Delete function.
6649 (python-ffap-module-path): New function.
6650 (python-completion-at-point)
6651 (python-symbol-completions): Delete functions.
6652 (python-completion-complete-at-point): New function.
6653 (python-load-file): Delete function.
6654 (python-shell-send-file): New function.
6655 (python-calculate-indentation): Delete function.
6656 (python-indent-calculate-indentation): New function.
6657 (python-skip-comments/blanks): Delete function.
6658 (python-util-forward-comment): New function.
6659 (python-continuation-line-p): Delete function.
6660 (python-info-continuation-line-p): New function.
6661 (python-which-func, python-current-defun): Delete function.
6662 (python-info-current-defun): New function.
6663 (python-beginning-of-defun): Delete function.
6664 (python-nav-beginning-of-defun): New function.
6665 (python-close-block-statement-p)
6666 (python-block-end-p): Delete function.
6667 (python-info-closing-block): New function.
6668 (python-comint-output-filter-function)
6669 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6670 (python-fill-comment, python-fill-decorator, python-fill-paren)
6671 (python-fill-string, python-imenu-make-element-tree)
6672 (python-imenu-make-tree, python-imenu-tree-assoc)
6673 (python-indent-context, python-indent-dedent-line)
6674 (python-indent-line-function)
6675 (python-indent-post-self-insert-function)
6676 (python-indent-toggle-levels)
6677 (python-info-assignment-continuation-line-p)
6678 (python-info-beginning-of-backlash)
6679 (python-info-block-continuation-line-p)
6680 (python-info-closing-block-message)
6681 (python-info-line-ends-backslash-p)
6682 (python-info-looking-at-beginning-of-defun)
6683 (python-info-ppss-context, python-info-ppss-context-type)
6684 (python-nav-list-defun-positions, python-nav-read-defun)
6685 (python-nav-sentence-end, python-nav-sentence-start)
6686 (python-pdbtrack-comint-output-filter-function)
6687 (python-pdbtrack-set-tracked-buffer)
6688 (python-shell-calculate-exec-path)
6689 (python-shell-calculate-process-environment)
6690 (python-shell-completion--do-completion-at-point)
6691 (python-shell-completion--get-completions)
6692 (python-shell-completion-complete-at-point)
6693 (python-shell-completion-complete-or-indent)
6694 (python-shell-get-or-create-process)
6695 (python-shell-get-process-name)
6696 (python-shell-internal-get-or-create-process)
6697 (python-shell-internal-get-process-name)
6698 (python-shell-internal-send-string, python-shell-make-comint)
6699 (python-shell-parse-command, python-shell-send-setup-code)
6700 (python-skeleton-add-menu-items)
6701 (python-util-clone-local-variables, python-util-position)
6702 (run-python-internal, python-indentation-levels)
6703 (python-nav-beginning-of-defun)
6704 (python-completion-complete-at-point): New functions.
6705 (run-python): Change arguments. New API requirements.
6707 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6712 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6713 (macroexp--expand-all): Use it.
6715 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6716 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6717 Use `cl-function' instead.
6719 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6721 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6722 Suggested by Stefan Monnier while discussing bug#11657.
6724 2012-06-14 Sam Steingold <sds@gnu.org>
6726 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6728 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6730 * play/doctor.el (doctor-doc): Remove parameter and use
6731 doctor-sent instead of sent.
6732 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6734 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6736 * files.el: Require cl-lib.
6737 (file-name-non-special): Replace case -> cl-case.
6739 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6741 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6742 mapping from #' to function*.
6744 2012-06-13 Chong Yidong <cyd@gnu.org>
6746 * mouse.el (mouse-drag-track): Do not set the mark if the user
6747 releases the mouse without selecting anything (Bug#11588).
6749 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6752 as well (bug#11646).
6754 * loadup.el: Count byte-code functions as well.
6756 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6757 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6759 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6760 (bug#11649). Add cl-defun and cl-defmacro.
6762 2012-06-13 Drew Adams <drew.adams@oracle.com>
6764 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6767 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6769 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6770 Otherwise, it blocks in batch mode.
6772 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6774 * help-mode.el (bookmark-make-record-default): Declare.
6776 2012-06-13 Chong Yidong <cyd@gnu.org>
6778 * emacs-lisp/package.el (list-packages): Compute a list of
6779 packages that are newly-available since the last list-packages
6781 (package-menu--new-package-list): New var.
6782 (package-menu--generate, package-menu--print-info)
6783 (package-menu--status-predicate, package-menu-mark-install):
6784 Handle new status label "new".
6786 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6789 conversion to backquotes.
6791 2012-06-12 Chong Yidong <cyd@gnu.org>
6793 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6794 Rename from gud-inhibit-global-bindings.
6796 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6798 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6799 hook from nxml-glyph-set-hook.
6801 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6804 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6806 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6807 Convert to defcustom.
6809 2012-06-12 Drew Adams <drew.adams@oracle.com>
6811 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6813 (help-mode): Use them.
6815 2012-06-11 Glenn Morris <rgm@gnu.org>
6817 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6818 Use preprocessor face for directives.
6819 (fortran-directive-re): Doc fix.
6821 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6824 conversion to backquotes (bug#11652).
6826 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6827 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6828 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6829 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6830 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6831 (cl-ninth, cl-tenth): Mark them as inlinable.
6832 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6833 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6834 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6835 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6836 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6837 (cl-list*, cl-adjoin): Don't put an autoload manually.
6838 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6839 (cl--compiler-macro-list*): Add autoload cookie.
6840 (cl--compiler-macro-cXXr): New function.
6842 * help-fns.el (help-fns--compiler-macro): New function extracted from
6843 describe-function-1; follow aliases and use `compiler-macro' property.
6844 (describe-function-1): Use it.
6846 2012-06-11 Chong Yidong <cyd@gnu.org>
6848 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6849 is uninstalled, if imagemagick is installed.
6851 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * emacs-lisp/cl-lib.el: Use lexical-binding.
6854 (cl-map-extents, cl-maclisp-member): Remove.
6855 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6856 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6857 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6858 * emacs-lisp/cl-extra.el: Use lexical-binding.
6859 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6860 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6861 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6862 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6863 * emacs-lisp/cl-seq.el: Use lexical-binding.
6864 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6865 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6866 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6867 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6868 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6871 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6873 Sync with Tramp 2.2.6-pre.
6875 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6876 `print-length' and `print-level' to nil, in order to avoid
6877 truncation. Reported by Christopher Schmidt
6878 <christopher@ristopher.com>.
6880 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6882 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6884 (tramp-compat-copy-directory): Add optional argument
6885 COPY-CONTENTS. It is not handled yet.
6887 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6888 (tramp-ftp-file-name-p): Simplify.
6890 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6891 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6894 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6895 (tramp-methods): Do not use `tramp-password-end-of-line'.
6896 (tramp-completion-function-alist-putty): Handle UNIX case.
6897 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6898 (tramp-do-file-attributes-with-stat)
6899 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6900 gid as real numbers. They could run out of integer range on cygwin.
6901 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6902 (tramp-sh-handle-expand-file-name): Handle hops.
6903 (tramp-open-connection-setup-interactive-shell):
6904 Use `tramp-cleanup'. Move check for busyboxes ...
6905 (tramp-find-shell): ... here. Simplify implementation.
6906 Set "remote-shell" property also for alternative shells.
6907 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6908 If failing, a regular file would be written otherwise.
6909 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6910 (tramp-find-inline-encoding): Cache the coding commands in the
6911 process cache. Apply test command on the remote side, if defined.
6912 (tramp-find-inline-compress): Cache the compress commands in the
6914 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6915 when requested. Handle hops.
6916 (tramp-current-connection): New defvar.
6917 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6918 Throw `suppress', if there was a failed connection shortly before.
6919 Handle user interrupt. (Bug#10187)
6920 (tramp-get-inline-compress, tramp-get-inline-coding):
6921 Read connection properties from the process cache.
6923 * net/tramp-smb.el (tramp-smb-server-version)
6924 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6926 (tramp-smb-prompt): Extend for powershell prompt.
6927 (tramp-smb-file-name-handler-alist): Add handlers for
6928 `process-file', `shell-command' and `start-file-process'.
6929 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6930 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6931 (tramp-smb-file-name-p): Simplify.
6932 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6933 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6934 (tramp-smb-shell-quote-argument): New defuns.
6935 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6936 Implement using "tar". By this, time-stamps are preserved.
6937 (tramp-smb-handle-copy-file): Handle also the case of directories.
6938 (tramp-smb-do-file-attributes-with-stat)
6939 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6940 Use `tramp-get-connection-buffer').
6941 (tramp-smb-handle-rename-file): Use "rename", when source and
6942 target are on the same share.
6943 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6944 Use `tramp-smb-server-version'.
6945 (tramp-smb-wait-for-output): Remove prompt.
6947 * net/tramp.el (top): Require 'cl.
6948 (tramp-methods, tramp-rsh-end-of-line):
6949 Remove `tramp-password-end-of-line' from docstring.
6950 (tramp-save-ad-hoc-proxies): New defcustom.
6951 (tramp-completion-function-alist): Adapt docstring.
6952 (tramp-default-password-end-of-line): Remove defcustom.
6953 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6954 (tramp-user-regexp, tramp-file-name-regexp-unified)
6955 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6956 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6957 (tramp-remote-file-name-spec-regexp): New defconst.
6958 (tramp-file-name-structure): Extend structure for hops.
6959 (tramp-get-method-parameter): Move up.
6960 (tramp-file-name-p, tramp-dissect-file-name)
6961 (with-parsed-tramp-file-name): Handle hops.
6962 (tramp-file-name-hop): New defun.
6963 (tramp-make-tramp-file-name): New optional arg HOP.
6964 (tramp-message-show-progress-reporter-message): New defvar.
6965 (tramp-with-progress-reporter): Use it. We cannot use
6966 `tramp-message-show-message' here, because this suppresses also
6968 (tramp-error-with-buffer): Suppress buffer view, if
6969 `tramp-message-show-message' is nil.
6970 Use `tramp-get-connection-buffer'.
6971 (tramp-cleanup): New defun.
6972 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6973 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6975 (tramp-completion-handle-file-name-all-completions): Handle hops.
6976 Fix an error when called from ido.
6977 (tramp-completion-dissect-file-name): Use better local variable
6978 name. Add hop to the vector.
6979 (tramp-handle-insert-file-contents): Use progress-reporter for the
6981 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6983 (tramp-check-for-regexp): Simplify search.
6984 (tramp-enter-password): Remove it. Move implementation ...
6985 (tramp-action-password): ... here.
6986 (tramp-mode-string-to-int, tramp-local-host-p)
6987 (tramp-make-tramp-temp-file, tramp-read-passwd)
6988 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6989 Set tramp-autoload cookie.
6991 * net/trampver.el: Update release number.
6993 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6994 Michael Albinus <michael.albinus@gmx.de>
6996 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6997 (tramp-parse-group, tramp-parse-file)
6998 (tramp-parse-shostkeys-sknownhosts): New defuns.
6999 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7000 (tramp-parse-shosts-group, tramp-parse-sconfig)
7001 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7002 (tramp-parse-sknownhosts, tramp-parse-hosts)
7003 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7005 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7006 (tramp-parse-putty-group): Don't narrow.
7007 (tramp-parse-putty): Make a loop.
7008 (tramp-file-name-handler): Catch the `suppress' signal.
7010 2012-06-11 Chong Yidong <cyd@gnu.org>
7012 * image.el (imagemagick-register-types): Put the ImageMagick entry
7013 at the end of image-type-file-name-regexps.
7015 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7017 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7018 (pcase, pcase-let*, pcase-dolist): Use them.
7020 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7022 * emacs-lisp/pcase.el (pcase--let*): New function.
7023 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7024 (pcase--expand): Use macroexp-let².
7026 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7028 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7029 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7030 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7031 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7032 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7033 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7035 2012-06-10 Glenn Morris <rgm@gnu.org>
7037 * mail/rmail.el (rmail-yank-current-message): Leave point at
7038 correct position. (Bug#11660)
7040 2012-06-10 Chong Yidong <cyd@gnu.org>
7042 * allout-widgets.el: Fix code header.
7044 2012-06-10 Chong Yidong <cyd@gnu.org>
7046 * cus-edit.el (customize-changed-options-previous-release):
7049 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7051 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7053 2012-06-09 Chong Yidong <cyd@gnu.org>
7055 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7057 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7059 * window.el (special-display-popup-frame): Don't use
7060 window--display-buffer (Bug#11651).
7062 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7064 Fix parallel builds: make sure loaddefs.el is not being written
7065 while Lisp files are compiled.
7066 (compile): Don't depend on 'mh-autoloads'.
7067 (compile-CMD, compile-SH): Depend on 'autoloads'.
7068 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7070 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7072 2012-06-09 Chong Yidong <cyd@gnu.org>
7074 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7075 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7076 Doc fixes (Bug#11225).
7078 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7080 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7081 a function if there's a clear indication that it has a compiler-macro.
7082 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7083 (macro-declarations-alist): Add arglist to declaration functions.
7084 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7085 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7086 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7087 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7088 Also add autoload to find the compiler macro.
7089 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7090 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7091 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7092 (cl--compiler-macro-get): New functions, replacing calls to
7093 cl-define-compiler-macro.
7094 (cl-typep) [compiler-macro]: Use macroexp-let².
7096 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7098 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7099 string properly, fixes Bug#11473.
7101 2012-06-08 Chong Yidong <cyd@gnu.org>
7103 * faces.el (set-face-attribute): Doc fix.
7104 (modify-face): Don't use :bold and :italic.
7105 (error, warning, success): Tweak definitions.
7107 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7108 (custom-modified, custom-set, custom-changed, custom-themed)
7109 (custom-saved, custom-button, custom-button-mouse)
7110 (custom-button-pressed, custom-state, custom-comment-tag)
7111 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7112 (custom-group-subtitle): Use new-style face specs.
7113 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7114 (custom-set-face, custom-changed-face, custom-saved-face)
7115 (custom-button-face, custom-button-pressed-face)
7116 (custom-documentation-face, custom-state-face)
7117 (custom-comment-face, custom-comment-tag-face)
7118 (custom-variable-tag-face, custom-variable-button-face)
7119 (custom-face-tag-face, custom-group-tag-face-1)
7120 (custom-group-tag-face): Remove obsolete face alias.
7122 * epa.el (epa-validity-high, epa-validity-medium)
7123 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7124 (epa-field-name, epa-field-body):
7125 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7126 (font-lock-keyword-face, font-lock-builtin-face)
7127 (font-lock-function-name-face, font-lock-variable-name-face)
7128 (font-lock-type-face, font-lock-constant-face):
7129 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7130 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7131 * speedbar.el (speedbar-button-face, speedbar-file-face)
7132 (speedbar-directory-face, speedbar-tag-face)
7133 (speedbar-selected-face, speedbar-highlight-face)
7134 (speedbar-separator-face):
7135 * whitespace.el (whitespace-newline, whitespace-space)
7136 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7137 (whitespace-line, whitespace-space-before-tab)
7138 (whitespace-space-after-tab, whitespace-indentation)
7140 * emulation/cua-base.el (cua-global-mark):
7141 * eshell/em-prompt.el (eshell-prompt):
7142 * net/newst-plainview.el (newsticker-new-item-face)
7143 (newsticker-old-item-face, newsticker-immortal-item-face)
7144 (newsticker-obsolete-item-face, newsticker-date-face)
7145 (newsticker-statistics-face, newsticker-default-face):
7146 * net/newst-reader.el (newsticker-feed-face)
7147 (newsticker-extra-face, newsticker-enclosure-face):
7148 * net/newst-treeview.el (newsticker-treeview-face)
7149 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7150 (newsticker-treeview-immortal-face)
7151 (newsticker-treeview-obsolete-face)
7152 (newsticker-treeview-selection-face):
7153 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7154 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7155 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7156 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7157 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7158 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7159 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7161 * progmodes/vera-mode.el (vera-font-lock-number)
7162 (vera-font-lock-function, vera-font-lock-interface):
7163 * textmodes/table.el (table-cell): Use new-style face specs, and
7164 don't use the old :bold and :italic attributes.
7166 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7167 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7168 (ebrowse-member-class, ebrowse-progress): Likewise.
7169 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7170 (ebrowse-file-name-face, ebrowse-default-face)
7171 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7172 (ebrowse-progress-face): Remove obsolete faces.
7174 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7175 Inherit from error and warning faces respectively.
7177 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7179 (flyspell-incorrect-face, flyspell-duplicate-face):
7180 Remove obsolete aliases.
7182 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7184 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7187 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * startup.el (argv, argi): Make lexically scoped.
7190 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7191 * emacs-lisp/cl-macs.el: Use lexical-binding.
7192 Rename cl-bind-* to cl--bind-*.
7193 * files.el: Don't require `cl' since it doesn't use it.
7194 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7196 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7198 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7199 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7200 instead of calling external sort utility.
7201 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7203 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7205 * descr-text.el (describe-char): Mention how to insert the
7206 character, if the current input method doesn't support it.
7207 See the discussion in this thread for the details:
7208 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7210 2012-06-08 Sam Steingold <sds@gnu.org>
7212 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7213 XF86Back to previous-buffer.
7214 (minibuffer-local-map): Bind them to next-history-element and
7215 previous-history-element respectively.
7216 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7217 help-go-back respectively.
7218 * info.el (Info-mode-map): Bind them to Info-history-forward and
7219 Info-history-back respectively.
7220 These are the keys next to Up on the ThinkPad keyboard.
7222 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7224 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7225 * emacs-lisp/cl-macs.el: Provide itself.
7226 (cl--labels-convert-cache): New var.
7227 (cl--labels-convert): New function.
7228 (cl-flet, cl-labels): New implementation with new semantics, relying on
7230 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7231 (cl-closure-vars, cl--function-convert-cache)
7232 (cl--function-convert): Move from cl-macs.el.
7233 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7234 rename by removing the "cl-" prefix.
7235 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7237 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7240 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7241 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7242 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7243 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7244 (cl-hash-table-count): Add old compatibility aliases.
7246 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7247 Use macroexpand-all-environment instead.
7248 (cl--old-macroexpand): New var.
7249 (cl--sm-macroexpand): New function.
7250 (cl-symbol-macrolet): Use it during macro expansion.
7251 (cl--function-convert-cache): New var.
7252 (cl--function-convert): New function, extracted from
7254 (cl-lexical-let): Use it.
7256 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7257 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7258 (cl-member): Remove old alias.
7260 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7261 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7262 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7263 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7264 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7265 (cl-macroexpand-cmacs): Remove var.
7266 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7267 Use macroexpand-all instead.
7269 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7272 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7273 (macroexp-copyable-p): New functions and macros.
7274 * emacs-lisp/edebug.el (edebug-unwrap):
7275 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7276 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7277 (pcase--let*): Remove.
7278 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7279 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7280 macroexp-const-p instead.
7281 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7283 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7284 instead of "cl-" for internal definitions. Use macroexp-const-p.
7285 (cl-old-bc-file-form): Remove var.
7286 (cl-const-exprs-p): Remove fun.
7287 (cl-labels, cl-macrolet): Use backquote.
7288 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7289 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7290 (cl-define-setf-expander): Rename from cl-define-setf-method.
7291 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7293 * international/mule-cmds.el: Don't require CL.
7294 (view-hello-file): Don't use `letf'.
7296 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * tmm.el (tmm-prompt): Use string-prefix-p.
7299 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7300 (tmm-add-prompt): Use minibuffer-completion-help.
7301 (tmm-delete-map): Remove.
7303 * subr.el (kbd): Make it its own function.
7305 2012-06-07 Stefan Merten <smerten@oekonux.de>
7307 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7308 Silence compiler warnings. Fix versions.
7309 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7310 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7311 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7312 (rst-package-emacs-version-alist): Correct Emacs version to
7313 represent major merge with upstream.
7314 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7316 2012-06-06 Glenn Morris <rgm@gnu.org>
7318 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7319 Only print environment variables if set.
7321 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7323 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7324 (macroexp--cons): Rename from maybe-cons.
7325 (macroexp--accumulate): Rename from macroexp-accumulate.
7326 (macroexp--all-forms): Rename from macroexpand-all-forms.
7327 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7328 (macroexp--expand-all): Rename from macroexpand-all-1.
7330 2012-06-06 Sam Steingold <sds@gnu.org>
7332 * calendar/calendar.el (calendar-in-read-only-buffer):
7333 Call `special-mode' to enable the standard read-only keybindings.
7335 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7337 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7338 with "loading" messages (bug#11635).
7340 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7342 * files.el (enable-remote-dir-locals): New option.
7343 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7345 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7346 Ensure, that the temp directory is local.
7348 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7349 `temporary-file-directory'.
7351 * progmodes/python.el (python-send-region): Ensure, that the
7352 temporary file is created also in the remote case.
7354 2012-06-06 Glenn Morris <rgm@gnu.org>
7356 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7357 (vc-rcs-update-changelog): Use it.
7359 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7361 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7362 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7363 (vc-sccs-diff): Replace use of the external vcdiff script.
7365 2012-06-05 Glenn Morris <rgm@gnu.org>
7367 * ledit.el: Move to obsolete/.
7369 2012-06-05 Sam Steingold <sds@gnu.org>
7371 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7374 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7376 * emacs-lisp/cust-print.el: Move to obsolete.
7378 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7379 compiler-macro expansion.
7381 Add native compiler-macro support.
7382 * emacs-lisp/macroexp.el (macroexpand-all-1):
7383 Support compiler-macros directly. Properly follow aliases and apply
7384 the compiler macros more thoroughly.
7385 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7386 macroexpand now properly follows aliases.
7387 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7388 (cl-compiler-macroexpand): Use new prop.
7389 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7391 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7393 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7395 * window.el (get-lru-window, get-mru-window, get-largest-window):
7396 New argument NOT-SELECTED to avoid picking the selected window.
7397 (window--display-buffer-1, window--display-buffer-2): Replace by
7398 new function window--display-buffer
7399 (display-buffer-same-window, display-buffer-reuse-window)
7400 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7401 Use window--display-buffer.
7402 (display-buffer-use-some-window): Remove temporary dedication
7403 hack by calling get-lru-window and get-largest-window with
7404 NOT-SELECTED argument non-nil. Call window--display-buffer.
7406 2012-06-05 Glenn Morris <rgm@gnu.org>
7408 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7409 Replace external vcdiff script.
7411 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7415 2012-06-04 Chong Yidong <cyd@gnu.org>
7417 * image.el (imagemagick-types-inhibit): Revert last change.
7419 (imagemagick-enabled-types): Remove CIN and EPS*.
7421 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7423 * emacs-lisp/cl-lib.el: Rename from cl.el.
7424 * emacs-lisp/cl.el: New compatibility file.
7425 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7426 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7427 to obey the "cl-" prefix.
7428 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7430 2012-06-03 Glenn Morris <rgm@gnu.org>
7432 * emacs-lisp/authors.el (authors-aliases): Addition.
7434 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7437 2012-06-03 Stefan Merten <smerten@oekonux.de>
7439 * textmodes/rst.el: Add comments.
7440 (rst-transition, rst-adornment): New faces.
7441 (rst-adornment-faces-alist): Make default safe to reevaluate.
7443 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7444 Improve customization tags.
7445 (rst-define-level-faces): Clarify meaning.
7447 2012-06-03 Chong Yidong <cyd@gnu.org>
7449 * progmodes/compile.el (compilation-mode-line-fail)
7450 (compilation-mode-line-run, compilation-mode-line-exit):
7452 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7454 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7456 * progmodes/which-func.el (which-func-update-ediff-windows):
7457 New function. Use it in ediff-select-hook (Bug#11478).
7459 2012-06-03 Chong Yidong <cyd@gnu.org>
7461 * bindings.el: Remove explicit help text from format-mode-line.
7462 It is now supplied by mode-line-default-help-echo.
7463 (mode-line-front-space, mode-line-end-spaces)
7464 (mode-line-misc-info): New variables.
7465 (mode-line-modes, mode-line-position): Move the default value to
7466 the variable definition.
7467 (mode-line-default-help-echo): New defcustom.
7468 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7469 (mode-line-modified-help-echo): New functions.
7470 (mode-line-mule-info, mode-line-modified): Use them.
7471 (mode-line-eol-desc, propertized-buffer-identification):
7472 Consistency fixes for help text.
7473 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7474 set-buffer-file-coding-system (Bug#289).
7475 (mode-line-mule-info-help-echo): Update help text.
7477 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7479 * simple.el (execute-extended-command): Set real-this-command
7482 2012-06-02 Chong Yidong <cyd@gnu.org>
7484 Remove incorrect uses of "modeline" in comments, docstrings, and
7485 function/variable names (Bug#10329).
7487 * cus-edit.el (mode-line):
7488 * dframe.el (dframe-mouse-hscroll):
7489 * emacs-lisp/re-builder.el:
7490 * emacs-lisp/easy-mmode.el (define-minor-mode):
7491 * frame.el (set-frame-name):
7492 * help.el (lookup-minor-mode-from-indicator):
7493 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7494 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7495 (c-toggle-hungry-state):
7496 * progmodes/antlr-mode.el (antlr-language-alist):
7497 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7498 * progmodes/vhdl-mode.el (vhdl-mode):
7499 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7500 * term/ns-win.el (ns-face-at-pos):
7501 * term/sup-mouse.el (sup-mouse-report):
7502 * textmodes/flyspell.el (flyspell-mode-line-string):
7503 * textmodes/ispell.el (ispell-highlight-face):
7504 * textmodes/reftex-global.el:
7505 * vc/vc-arch.el (vc-arch-mode-line-string):
7506 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7507 * vc/vc-git.el (vc-git-mode-line-string):
7508 * vc/vc-hooks.el (vc-display-status)
7509 (vc-default-mode-line-string):
7510 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7512 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7514 * dired.el (dired-sort-set-mode-line): Rename from
7515 dired-sort-set-modeline. All callers changed.
7517 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7518 eshell-status-in-modeline.
7520 * foldout.el (foldout-mode-line-string): Rename from
7521 foldout-modeline-string. All callers changed.
7522 (foldout-update-mode-line): Rename from foldout-update-modeline.
7524 * subr.el (redraw-modeline): Make into obsolete alias.
7526 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7527 timeclock-modeline-display. Make old name an alias.
7528 (timeclock-update-mode-line): Likewise. All callers changed.
7529 (timeclock-mode-line-display): No need to check before using
7531 (timeclock-relative, timeclock-day-over-hook)
7532 (timeclock-use-elapsed, timeclock-mode-string)
7533 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7535 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7536 crisp-mode-modeline-string.
7538 * play/solitaire.el (solitaire-build-mode-line): Rename from
7539 solitaire-build-modeline. All callers changed.
7541 * play/zone.el (zone-hiding-mode-line): Rename from
7542 zone-hiding-modeline. All callers changed.
7543 (zone): Remove unusued `modeline-hidden-level' property.
7545 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7546 xscheme-modeline-initialize. All callers changed.
7548 * strokes.el (strokes-lighter): Rename from
7549 strokes-modeline-string.
7551 * textmodes/sgml-mode.el (html-face-tag-alist)
7552 (html-tag-face-alist): Use mode-line face instead of obsolete
7555 2012-06-02 Stefan Merten <smerten@oekonux.de>
7557 * textmodes/rst.el: Always require `cl'.
7558 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7560 2012-06-02 Chong Yidong <cyd@gnu.org>
7562 * image.el (imagemagick-enabled-types): Rename from
7563 imagemagick-types-enable. Add many more types.
7564 (imagemagick-types-inhibit): Change default to nil.
7565 (imagemagick-filter-types): Caller changed.
7567 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7569 * emacs-lisp/cl-macs.el: Use backquotes.
7570 (cl-transform-function-property): Use eval-and-compile rather than
7572 (defstruct): Use declare-function instead of with-no-warnings.
7574 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7575 (byte-compile-output-docform): Re-add the print-circle bindings.
7576 (byte-compile-fix-header): Use #$ just because it's shorter.
7577 (byte-compile-output-file-form): Remove defun/defmacro.
7579 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7581 * simple.el (choose-completion): Remove now obsolete binding for
7584 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7586 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7587 in order to avoid "Stack overflow in regexp matcher".
7589 2012-05-31 Glenn Morris <rgm@gnu.org>
7591 * image.el: For clarity, call imagemagick-register-types at
7592 top-level, rather than relying on a custom :initialize.
7593 (imagemagick-types-enable): New option. (Bug#11557)
7594 (imagemagick-filter-types): New function. (Bug#7406)
7595 (imagemagick-register-types): Use imagemagick-filter-types.
7596 If disabling support, remove elements altogether rather
7597 than using an impossible regexp.
7598 (imagemagick-types-inhibit): Give it the default init function.
7600 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7603 Handle arbitrary file name lengths (Bug#11585).
7605 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7607 * desktop.el (desktop-read): Clear previous and next buffers for
7608 all windows and bury *Messages* buffer (bug#11556).
7610 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7612 Add `declare' for `defun'. Align `defmacro's with it.
7613 * emacs-lisp/easy-mmode.el (define-minor-mode)
7614 (define-globalized-minor-mode): Don't autoload the var definitions.
7615 * emacs-lisp/byte-run.el: Use lexical-binding.
7616 (defun-declarations-alist, macro-declarations-alist): New vars.
7617 (defmacro, defun): Use them.
7618 (make-obsolete, define-obsolete-function-alias)
7619 (make-obsolete-variable, define-obsolete-variable-alias):
7621 (macro-declaration-function): Mark obsolete.
7622 * emacs-lisp/autoload.el: Use lexical-binding.
7623 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7625 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7627 * textmodes/ispell.el (ispell-with-no-warnings):
7629 (ispell-kill-ispell, ispell-change-dictionary):
7630 Use `called-interactively-p' for Emacs instead of obsolete
7633 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7635 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7636 (macro-declaration-function): Move var from C code.
7637 (macro-declaration-function): Define function with defalias.
7638 * emacs-lisp/macroexp.el (macroexpand-all-1):
7639 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7640 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7641 defun/defmacro any more.
7642 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7643 Provide fallback for unknown arglist.
7644 (byte-compile-arglist-warn): Change calling convention.
7645 (byte-compile-output-file-form): Move print-vars binding.
7646 (byte-compile-output-docform): Simplify accordingly.
7647 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7648 (byte-compile-defmacro-declaration): Remove.
7649 (byte-compile-file-form-defmumble): Generalize to defalias.
7650 (byte-compile-output-as-comment): Return byte-positions.
7651 Simplify callers accordingly.
7652 (byte-compile-lambda): Use `assert'.
7653 (byte-compile-defun, byte-compile-defmacro): Remove.
7654 (byte-compile-file-form-defalias):
7655 Use byte-compile-file-form-defmumble.
7656 (byte-compile-defalias-warn): Remove.
7658 2012-05-29 Stefan Merten <smerten@oekonux.de>
7660 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7661 possible. Fix authors. Improve comments. Improve loading of `cl'.
7663 (rst-mode-abbrev-table): Merge definition.
7664 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7665 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7667 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7669 * calendar/icalendar.el
7670 (icalendar-export-region): Export UID properly.
7672 2012-05-29 Leo Liu <sdl.web@gmail.com>
7673 * calendar/icalendar.el (icalendar-import-format):
7674 Add `icalendar-import-format-uid' (Bug#11525).
7675 (icalendar-import-format-uid): New.
7676 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7679 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7681 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7682 different alternative patterns.
7683 (pcase-codegen): Be more careful to preserve identity.
7684 (pcase--u1): Don't forget to mark vars as used.
7686 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7687 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7688 (byte-compile-from-buffer): ...rather than here.
7690 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7691 functions from byte-compile-function-environment.
7693 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7695 * window.el (window-deletable-p): Avoid deleting the root window
7696 of a frame with an active minibuffer.
7698 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7700 * simple.el (choose-completion): Use quit-window (Bug#11567).
7702 2012-05-29 Chong Yidong <cyd@gnu.org>
7704 * whitespace.el (whitespace-cleanup): Fix usage of
7705 whitespace-empty-at-bob-regexp (Bug#11492).
7707 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7709 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7712 2012-05-29 Juri Linkov <juri@jurta.org>
7714 * isearch.el (isearch-mode-map): Bind `M-s _' to
7715 `isearch-toggle-symbol'. Bind `M-s c' to
7716 `isearch-toggle-case-fold'.
7717 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7718 (isearch-forward): Add `M-s _' to the docstring.
7719 (isearch-forward-symbol, isearch-toggle-case-fold)
7720 (isearch-symbol-regexp): New functions. (Bug#11381)
7722 2012-05-29 Juri Linkov <juri@jurta.org>
7724 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7725 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7726 a function, call it to get the regexp.
7727 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7728 property `isearch-message-prefix' instead of the string "word ".
7729 (isearch-search-fun-default): For the case of `isearch-word',
7730 return a lambda that calls re-search-forward/re-search-backward
7731 with a regexp returned by `word-search-regexp' or by the function
7734 2012-05-29 Juri Linkov <juri@jurta.org>
7736 * isearch.el (isearch-search-fun-default): New function.
7737 (isearch-search-fun): Move default part to the new function
7738 `isearch-search-fun-default'.
7739 (isearch-search-fun-function): Set the default value to
7740 `isearch-search-fun-default'. (Bug#11381)
7742 * comint.el (comint-history-isearch-end):
7743 Use `isearch-search-fun-default'.
7744 (comint-history-isearch-search): Use `isearch-search-fun-default'
7745 and remove spacial case for `isearch-word'.
7746 (comint-history-isearch-wrap): Remove spacial case for
7749 * hexl.el (hexl-isearch-search-function):
7750 Use `isearch-search-fun-default'.
7752 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7753 Use `word-search-regexp' for `isearch-word'.
7755 * misearch.el (multi-isearch-search-fun):
7756 Use `isearch-search-fun-default'.
7758 * simple.el (minibuffer-history-isearch-search):
7759 Use `isearch-search-fun-default' and remove spacial case for
7761 (minibuffer-history-isearch-wrap): Remove spacial case for
7764 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7765 Remove spacial case for `isearch-word'.
7766 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7768 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7770 Decrease XEmacs incompatibilities.
7771 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7773 (flyspell-delete-region-overlays): Use alternative definition for
7775 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7776 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7777 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7778 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7779 `define-obsolete-face-alias' under XEmacs, but old method.
7781 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7782 `with-no-warnings' definition or Emacs alias.
7783 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7784 (ispell-word): Do not use `region-p' if XEmacs.
7786 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7788 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7789 Check for `ispell-dictionary-base-alist' instead of full
7790 `ispell-dictionary-alist'.
7791 (ispell-init-process): Show spellchecker when starting new Ispell
7794 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7797 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7799 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7801 * version.el (motif-version-string, gtk-version-string)
7802 (ns-version-string): Declare.
7804 2012-05-27 Juri Linkov <juri@jurta.org>
7806 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7807 after the `eval-defun-1' specialcaseing
7808 like in `edebug-eval-defun' (bug#10181).
7810 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7811 like in `eval-defun-1'.
7813 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7815 * mail/sendmail.el (mail-yank-region):
7816 Recognize rmail-yank-current-message in addition to insert-buffer.
7817 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7818 a *mail* buffer created through rmail-start-mail with sendmail as
7821 2012-05-27 Chong Yidong <cyd@gnu.org>
7823 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7824 Default to 256 (Bug#11267).
7826 * help.el (describe-mode): Doc fix.
7828 2012-05-26 Glenn Morris <rgm@gnu.org>
7830 * w32-fns.el (w32-init-info): Remove.
7831 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7833 * info.el (info-initialize): For self-contained NS builds, put the
7834 included info/ directory at the front. (Bug#2791)
7836 * paths.el (Info-default-directory-list): Make it a defcustom,
7837 mainly so that we can use custom-initialize-delay.
7839 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * subr.el (buffer-has-markers-at): Mark obsolete.
7843 * subr.el (lambda): Use declare.
7845 * emacs-lisp/lisp-mode.el (lambda):
7846 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7848 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7850 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7852 2012-05-26 Glenn Morris <rgm@gnu.org>
7854 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7856 2012-05-25 Glenn Morris <rgm@gnu.org>
7858 * paths.el: Remove no-byte-compile.
7859 * loadup.el: No need to load paths.el uncompiled.
7861 * image.el (imagemagick-types-inhibit): Doc fix.
7863 * version.el: Remove no-byte-compile and associated formatting.
7864 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7865 is ancient code from when there was an "inc-vers.el".
7867 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7869 * progmodes/gdb-mi.el: Minor style changes.
7870 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7871 Turn into minor modes.
7872 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7873 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7874 (gdb-shell): Remove unneeded let-binding.
7875 (gdb-get-many-fields): Eliminate O(n²) behavior.
7877 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7879 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7880 platforms that don't link in fontset.c.
7882 2012-05-25 Juri Linkov <juri@jurta.org>
7884 Use the same diff color scheme as in modern VCSes (bug#10181).
7886 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7887 to avoid confusion with `diff-added' that now uses green colors.
7888 (diff-removed): Use shades of red.
7889 (diff-added): Use shades of green.
7890 (diff-changed): Leave just the yellow color.
7891 (diff-use-changed-face): New variable.
7892 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7893 how to highlight context diff changes.
7894 (diff-refine-change): Use shades of yellow.
7895 (diff-refine-removed): New face that uses shades of red.
7896 (diff-refine-added): New face that uses shades of green.
7897 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7898 `diff-refine-removed' in the call to `smerge-refine-subst'
7899 depending on the value of `diff-use-changed-face'.
7901 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7902 (smerge-other): Use shades of green.
7903 (smerge-base): Use shades of yellow.
7904 (smerge-refined-change): Empty face.
7905 (smerge-refined-removed): New face that uses shades of red.
7906 (smerge-refined-added): New face that uses shades of green.
7907 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7908 args `props-r' and `props-a', and use them. Doc fix.
7909 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7910 on its value use different faces `smerge-refined-change',
7911 `smerge-refined-removed', `smerge-refined-added' in the call to
7912 `smerge-refine-subst'.
7914 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7915 Add face condition `min-colors 88' with shades of red.
7916 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7917 `min-colors 88' with shades of green.
7918 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7919 `min-colors 88' with shades of yellow.
7921 2012-05-24 Glenn Morris <rgm@gnu.org>
7923 * paths.el (prune-directory-list, remote-shell-program): Move to...
7924 * files.el (prune-directory-list, remote-shell-program): ...here.
7925 For the latter, delay initialization, prefer ssh, just search PATH.
7927 * paths.el (term-file-prefix): Move to faces.el (the only user).
7928 * faces.el (term-file-prefix): Move here, make it a defcustom.
7930 * paths.el (news-directory, news-path, news-inews-program):
7931 Move to gnus/nnspool.el.
7933 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7935 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7936 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7937 Make the latter a defcustom, with a delayed initialization.
7939 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7940 These were deleted from Gnus itself late 2010.
7942 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7944 * progmodes/which-func.el (which-func-ff-hook):
7945 Check against user-error, not error.
7947 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7948 cl-specs.el, which no longer exists.
7950 2012-05-22 Glenn Morris <rgm@gnu.org>
7952 * info.el (info-emacs-bug): New command.
7953 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7954 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7956 2012-05-21 Glenn Morris <rgm@gnu.org>
7958 * makefile.w32-in (update-subdirs-SH):
7959 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7961 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7966 Simplify Maven regexp, and make sure the file can't start with a space
7969 2012-05-21 Glenn Morris <rgm@gnu.org>
7971 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7972 Scrap superfluous subshells.
7974 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7976 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7977 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7979 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7981 * calc/calc.el (calc-ensure-consistent-units): New variable.
7983 * calc/calc-units.el (math-consistent-units-p)
7984 (math-check-unit-consistency): New functions.
7985 (calc-quick-units, calc-convert-units):
7986 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7988 (calc-extract-units): Fix typo.
7990 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7994 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7995 (flyspell-default-deplacement-commands): Don't spell check after
7996 repeated window/frame switches (e.g. triggered by mouse-movement).
7997 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7998 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7999 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8000 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8002 (flyspell-get-casechars, flyspell-get-not-casechars):
8003 Simplify; Don't bother removing a ] just to add it back.
8004 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8006 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8008 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8010 (math-function-table): Add support for more C functions.
8012 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8014 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8015 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8016 Protect delay handling for otherchars against empty otherchars.
8018 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8020 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8021 their respective macro declarations.
8022 * skeleton.el (define-skeleton):
8023 * progmodes/compile.el (define-compilation-mode):
8024 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8025 (define-ibuffer-filter):
8026 * emacs-lisp/generic.el (define-generic-mode):
8027 * emacs-lisp/easy-mmode.el (define-minor-mode)
8028 (define-globalized-minor-mode):
8029 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8030 * emacs-lisp/byte-run.el (defsubst):
8031 * custom.el (deftheme): Add doc-string metadata.
8033 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8035 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8037 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8041 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8042 * emacs-lisp/cl-macs.el: Idem.
8043 * emacs-lisp/cl-specs.el: Remove.
8045 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8047 Minor renaming of internal CL functions and variables.
8048 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8049 (cl--position): Rename from cl-position.
8050 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8051 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8052 (cl--random-state): Rename from *random-state*.
8054 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8056 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8057 parens around the arg list (bug#11499).
8059 2012-05-17 Juri Linkov <juri@jurta.org>
8061 * isearch.el (word-search-regexp, word-search-backward)
8062 (word-search-forward, word-search-backward-lax)
8063 (word-search-forward-lax): Move functions from search.c
8064 (bug#10145, bug#11381).
8066 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8068 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8069 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8070 Delay for otherchars as for normal word components.
8072 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8074 * minibuffer.el (completion--sifn-requote): Fix last change.
8075 (minibuffer-local-must-match-filename-map):
8076 Move define-obsolete-variable-alias before its var.
8078 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8080 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8082 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8084 (completion--string-equal-p): New function.
8085 (completion--twq-all): Use it to get better assertion failure data.
8087 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8088 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8089 (shell--requote-argument): New functions.
8090 (shell-completion-vars): Use them.
8091 (shell--parse-pcomplete-arguments): Rename from
8092 shell-parse-pcomplete-arguments.
8093 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8094 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8095 Obey comint-file-name-quote-list.
8097 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8098 (smie-indent-keyword): Use it.
8100 2012-05-14 Stefan Merten <smerten@oekonux.de>
8102 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8104 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * net/rlogin.el (rlogin-mode-map): Fix last change.
8108 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8110 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8111 the following \r\n using a single `process-send-string', since the
8112 Lotus SMTP server refuses to accept any commands if they are sent
8113 with two `process-send-string's (Bug#11444).
8115 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8117 * shell.el (shell-parse-pcomplete-arguments):
8118 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8120 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8122 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8123 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8124 (image-transform-width, image-transform-fit-width): New functions.
8125 (image-transform-properties): Use them.
8126 (image-transform-check-size): New function.
8127 (image-toggle-display-image): Use it (for testing).
8128 (image-transform-set-rotation): Reduce angle mod 360.
8129 Delete obsolete comment.
8131 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8133 * image-mode.el: Fix scaling (bug#11399).
8134 (image-transform-resize): Doc fix.
8135 (image-transform-properties): Default scale is 1 and height should
8138 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8140 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8141 than hard-coding `car', to fix misbehavior when moving forward.
8143 2012-05-13 Chong Yidong <cyd@gnu.org>
8145 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8146 (tabulated-list-entries, tabulated-list-padding)
8147 (tabulated-list-sort-key): Make permanent-local.
8149 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8150 (electric-buffer-list): Put electric buffer menu
8151 command descriptions in this docstring, instead of the docstring
8152 of electric-buffer-menu-mode. Code cleanups.
8153 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8154 Electric-buffer-menu-mode.
8155 (electric-buffer-update-highlight): Minor code cleanup.
8157 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8159 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8162 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8164 Move define-obsolete-variable-alias before the var's definition.
8165 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8166 * tooltip.el (tooltip-hook):
8167 * textmodes/reftex-toc.el (reftex-toc-map):
8168 * textmodes/reftex-sel.el (reftex-select-label-map)
8169 (reftex-select-bib-map):
8170 * textmodes/reftex-index.el (reftex-index-map)
8171 (reftex-index-phrases-map):
8172 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8173 * progmodes/meta-mode.el (meta-mode-map):
8174 * novice.el (disabled-command-hook):
8175 * loadhist.el (unload-hook-features-list):
8176 * frame.el (blink-cursor):
8177 * files.el (find-file-not-found-hooks, write-file-hooks)
8178 (write-contents-hooks):
8179 * emulation/tpu-edt.el (GOLD-map):
8180 * emacs-lock.el (emacs-lock-from-exiting):
8181 * emacs-lisp/generic.el (generic-font-lock-defaults):
8182 * emacs-lisp/chart.el (chart-map):
8183 * dos-fns.el (register-name-alist):
8184 * dired-x.el (dired-omit-files-p):
8185 * desktop.el (desktop-enable):
8186 * cus-edit.el (custom-mode-hook):
8187 * buff-menu.el (buffer-menu-mode-hook):
8188 * bookmark.el (bookmark-read-annotation-text-func)
8189 (bookmark-exit-hooks):
8190 * allout.el (allout-mode-deactivate-hook)
8191 (allout-exposure-change-hook, allout-structure-added-hook)
8192 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8193 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8194 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8195 comes before the corresponding variable's definition.
8197 2012-05-12 Chong Yidong <cyd@gnu.org>
8199 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8200 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8201 (Buffer-menu-mode-map): Bind it.
8202 (Buffer-menu--pretty-name): Add a mouse-face property.
8204 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8206 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8207 (prolog-upper-case-string, prolog-lower-case-string)
8208 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8209 (prolog-use-smie, prolog-smie-grammar): New vars.
8210 (prolog-smie-forward-token, prolog-smie-backward-token)
8211 (prolog-smie-rules): New funs.
8212 (prolog-comment-indent): Remove.
8213 (prolog-mode-variables): Use default comment indentation instead.
8215 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8216 (prolog-mode): Don't call them any more.
8217 (prolog-electric-colon, prolog-electric-dash)
8218 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8220 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8222 * minibuffer.el (completion--twq-all): Again, allow case differences.
8224 * term.el: Move keymap initialization code to be more idiomatic.
8225 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8226 (term-terminal-menu): Move initialization into declaration.
8227 (term-escape-char): Let the user set it in her .emacs.
8229 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8230 Provide SMIE-based indentation (not enabled by default yet).
8231 (sh-mode-map): Don't bind electric keys.
8232 Use electric-pair-mode instead of skeleton-pair.
8233 (sh-assignment-regexp): Fit within 80 columns.
8234 (sh-indent-supported): Specify actual shell name instead of boolean.
8235 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8236 (sh-maybe-here-document): Use it. Make obsolete.
8237 (sh-electric-here-document-mode) New minor mode.
8238 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8239 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8240 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8241 (sh-smie-rc-grammar, sh-use-smie): New vars.
8242 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8243 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8244 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8245 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8246 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8247 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8248 (sh-set-shell): Use smie-setup if requested.
8250 * term.el (term-set-escape-char): Properly set term-escape-char.
8251 See http://stackoverflow.com/questions/10524656.
8253 2012-05-10 Chong Yidong <cyd@gnu.org>
8255 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8256 Use url-generic-parse-url, and handle host names and Windows
8258 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8259 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8260 URL schemes to work on.
8261 (ffap--toggle-read-only): New function.
8262 (ffap-read-only, ffap-read-only-other-window)
8263 (ffap-read-only-other-frame): Use it.
8264 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8265 necessary for ffap-url-unwrap-remote.
8267 2012-05-10 Dave Abrahams <dave@boostpro.com>
8269 * cus-start.el (create-lockfiles): Add it.
8271 2012-05-09 Chong Yidong <cyd@gnu.org>
8273 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8274 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8276 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8278 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8280 2012-05-09 Chong Yidong <cyd@gnu.org>
8282 * ansi-color.el (ansi-color-process-output): Check for validity of
8283 comint-last-output-start before using it. This avoids a bad
8284 interaction with gdb-mi's input/output buffer.
8286 2012-05-09 Glenn Morris <rgm@gnu.org>
8288 * files.el (dir-locals-read-from-file):
8289 Mention dir-locals in any error message.
8291 2012-05-09 Chong Yidong <cyd@gnu.org>
8293 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8294 package (Bug#11410).
8296 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8297 variables into description.
8299 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8302 shell-delimiter-argument-list (bug#11348).
8303 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8305 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8307 * textmodes/rst.el: Silence byte-compiler warnings.
8308 (rst-re-alist, rst-reset-section-caches): Move around.
8309 (rst-re): Use `characterp', not `char-valid-p'.
8310 (font-lock-beg, font-lock-end): Declare.
8312 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8313 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8315 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8317 2012-05-08 Glenn Morris <rgm@gnu.org>
8319 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8321 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * vc/log-edit.el: Add GNU coding standards highlighting.
8324 (log-edit-font-lock-gnu-style)
8325 (log-edit-font-lock-gnu-keywords): New vars.
8326 (log-edit-font-lock-keywords): New fun.
8327 (log-edit-mode): Don't fold case in font-lock.
8328 (log-edit-font-lock-keywords): Do not assume case-folding.
8330 * imenu.el: Misc cleanup. Make docstrings out of comments.
8331 Use lexical-binding.
8332 (imenu--index-alist, imenu--last-menubar-index-alist)
8333 (imenu-menubar-modified-tick): Use defvar-local.
8334 (imenu--split-menu): Remove unused var.
8335 (imenu--cleanup-seen): Declare as global.
8336 (imenu--cleanup): Use dolist.
8338 * subr.el (defvar-local): Add debug spec and doc-string position.
8340 2012-05-08 Glenn Morris <rgm@gnu.org>
8342 * language/burmese.el, language/cham.el, language/czech.el:
8343 * language/english.el, language/georgian.el, language/greek.el:
8344 * language/japanese.el, language/khmer.el, language/korean.el:
8345 * language/lao.el, language/misc-lang.el, language/romanian.el:
8346 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8347 * language/thai.el, language/utf-8-lang.el:
8348 Remove no-byte-compile setting.
8350 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8352 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8354 * progmodes/make-mode.el (makefile-browse):
8355 Remove unnecessary interactive. (Bug#11324)
8357 2012-05-07 Glenn Morris <rgm@gnu.org>
8359 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8361 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8363 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8365 * loadup.el: Preload newcomment.el.
8366 * newcomment.el: Move autoload-only code to toplevel.
8368 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8369 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8370 Handle new :right-align column property.
8371 (tabulated-list-print-col): Idem, plus use `display' text-property to
8372 try and preserve alignment for variable pitch fonts.
8374 2012-05-07 Chong Yidong <cyd@gnu.org>
8376 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8377 (tabulated-list-use-header-line): New var.
8378 (tabulated-list-init-header): Use it.
8379 (tabulated-list-print-fake-header): New function.
8380 (tabulated-list-print): Use it.
8381 (tabulated-list-sort-button-map): Add non-header-line commands.
8382 (tabulated-list-init-header): Add column name property to basic
8384 (tabulated-list-col-sort): Handle non-header-line button case.
8385 (tabulated-list--sort-by-column-name): Fix a corner case.
8387 * buff-menu.el (list-buffers--refresh):
8388 Handle Buffer-menu-use-header-line.
8390 2012-05-06 Chong Yidong <cyd@gnu.org>
8392 * buff-menu.el: Convert to Tabulated List mode.
8393 (Buffer-menu-buffer+size-width): Make obsolete.
8394 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8395 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8396 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8397 documentation into docstring of buffer-menu.
8398 (Buffer-menu-toggle-files-only): Add an informative message.
8399 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8400 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8401 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8402 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8403 (Buffer-menu-execute, Buffer-menu-select)
8404 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8405 (Buffer-menu-bury): Use Tabulated List machinery.
8406 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8407 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8409 (list-buffers--refresh): New function.
8410 (list-buffers-noselect): Use it.
8411 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8412 (Buffer-menu--pretty-file-name): New helper functions.
8414 * loadup.el: Preload tabulated-list.
8416 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8417 tabulated-list-sort-column.
8418 (tabulated-list-init-header): Add the initial aligning space even
8419 if tabulated-list-padding is zero.
8421 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8423 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8424 whose cdr is not a cons cell correctly (bug#11038).
8426 2012-05-06 Chong Yidong <cyd@gnu.org>
8428 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8429 Accept additional plist in column descriptors.
8430 (tabulated-list-init-header): Obey it.
8431 (tabulated-list-get-entry): New function.
8432 (tabulated-list-put-tag): Use it. Use string-width instead of
8434 (tabulated-list--column-number): New function.
8435 (tabulated-list-print): Use it.
8436 (tabulated-list-print-col): New function.
8437 Set `tabulated-list-column-name' property on each column's text.
8438 (tabulated-list-print-entry): Use it.
8439 (tabulated-list-delete-entry, tabulated-list-set-col):
8441 (tabulated-list-sort-column): New command (Bug#11337).
8443 * buff-menu.el (list-buffers): Move C-x C-b binding from
8444 buff-menu.el to bindings.el.
8446 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8447 :advertised-binding feature.
8449 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8451 * progmodes/compile.el (compilation-internal-error-properties):
8452 Calculate start position correctly when end-col is set but
8453 end-line is not (Bug#11382).
8455 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8457 * man.el (Man-unindent): Use text-property-default-nonsticky to
8458 prevent untabify from inheriting face properties (Bug#11408).
8460 2012-05-05 Stefan Merten <smerten@oekonux.de>
8462 * textmodes/rst.el: Major merge with upstream development up to
8463 Docutils SVN r7399 / rst.el V1.2.1.
8465 Clarify maintainership and authors.
8467 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8468 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8469 (rst-official-version, rst-official-cvs-rev, rst-version)
8470 (rst-package-emacs-version-alist): New functions and variables
8471 for version information.
8473 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8474 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8475 (rst-mode-syntax-table, rst-mode): New and corrected functions
8476 and variables representing reStructuredText features.
8478 (rst-re): New function for reStructuredText regexes. Use in
8481 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8482 (rst-mode-map): Rebind keys.
8484 (rst-mode-lazy, rst-font-lock-keywords)
8485 (rst-font-lock-extend-region)
8486 (rst-font-lock-extend-region-internal)
8487 (rst-font-lock-extend-region-extend)
8488 (rst-font-lock-find-unindented-line-limit)
8489 (rst-font-lock-find-unindented-line-match)
8490 (rst-adornment-level, rst-font-lock-adornment-level)
8491 (rst-font-lock-adornment-match)
8492 (rst-font-lock-handle-adornment-pre-match-form)
8493 (rst-font-lock-handle-adornment-matcher): Major revision of
8494 font-locking. Integrate with other code. Use `jit-lock-mode'.
8496 (rst-preferred-adornments, rst-adjust-hook)
8497 (rst-new-adornment-down, rst-preferred-bullets)
8498 (rst-preferred-bullets, rst-indent, rst-indent-width)
8499 (rst-indent-field, rst-indent-literal-normal)
8500 (rst-indent-literal-minimized, rst-indent-comment): Change,
8501 extend and improve customization.
8503 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8504 (rst-normalize-cursor-position, rst-get-decoration)
8505 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8506 (rst-rstrip, rst-toc-insert-find-delete-contents)
8507 (rst-shift-fill-region, rst-compute-bullet-tabs)
8508 (rst-debug-print-tabs, rst-debug-mark-found)
8509 (rst-shift-region-guts, rst-shift-region-right)
8510 (rst-shift-region-left, rst-use-char-classes)
8511 (rst-font-lock-keywords-function)
8512 (rst-font-lock-indentation-point)
8513 (rst-font-lock-find-unindented-line-begin)
8514 (rst-font-lock-find-unindented-line-end)
8515 (rst-font-lock-find-unindented-line)
8516 (rst-font-lock-adornment-point, rst-font-lock-level)
8517 (rst-adornment-level-alist): Remove functions and variables.
8519 (rst-compare-adornments, rst-get-adornment-match)
8520 (rst-suggest-new-adornment, rst-get-adornments-around)
8521 (rst-adornment-complete-p, rst-get-next-adornment)
8522 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8523 (rst-straighten-adornments): Standardize function names to
8524 use "adornment" instead of "decoration". Correct callers.
8525 Similar standardizing in many places.
8527 (rst-update-section, rst-adjust, rst-promote-region)
8528 (rst-enumerate-region, rst-bullet-list-region)
8529 (rst-repeat-last-character): Correct use of `interactive'.
8531 (rst-classify-adornment, rst-find-all-adornments)
8532 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8533 (rst-find-leftmost-column, rst-repeat-last-character):
8536 (rst-find-title-line, rst-reset-section-caches)
8537 (rst-get-adornments-around, rst-adjust-adornment-work)
8538 (rst-arabic-to-roman, rst-roman-to-arabic)
8539 (rst-insert-list-pos, rst-insert-list-new-item)
8540 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8543 (rst-all-sections, rst-section-hierarchy)
8544 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8547 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8548 configuration instead of only buffer. Change where necessary.
8550 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8551 (rst-shift-region, rst-adaptive-fill): New functions for
8552 indentation and filling.
8554 (rst-comment-line-break, rst-comment-indent)
8555 (rst-comment-insert-comment, rst-comment-region)
8556 (rst-uncomment-region): New functions for handling comments.
8558 (rst-compile): Quote shell arguments.
8560 (rst-compile-pdf-preview, rst-compile-slides-preview):
8561 Delete temporary files after use.
8563 2012-05-05 Glenn Morris <rgm@gnu.org>
8565 * calendar/cal-html.el: Optionally include holidays in the output.
8566 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8567 (cal-html-holidays): New option.
8568 (cal-html-css-default): Add holiday entry.
8569 (holiday-in-range): Autoload it.
8570 (cal-html-htmlify-entry): Add optional class argument.
8571 (cal-html-htmlify-list): Add optional holidays argument.
8572 (cal-html-insert-agenda-days): Include holidays in the output.
8573 (cal-html-one-month): Maybe include holidays.
8575 * calendar/holidays.el (holiday-in-range):
8576 Move here from cal-tex-list-holidays.
8577 * calendar/cal-tex.el (cal-tex-list-holidays):
8578 Make it an obsolete alias for holiday-in-range. Update all callers.
8580 2012-05-05 Chong Yidong <cyd@gnu.org>
8582 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8585 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8587 * files.el (file-auto-mode-skip): New var.
8588 (set-auto-mode-1): Use it.
8590 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * repeat.el: Use lexical-binding.
8593 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8594 (repeat-undo-count): Remove.
8596 * progmodes/octave-mod.el (octave-abbrev-start):
8597 * progmodes/f90.el (f90-abbrev-start):
8598 * face-remap.el (text-scale-adjust):
8599 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8601 * emacs-lisp/pcase.el (pcase--let*): New function.
8602 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8604 (pcase--split-pred): Be more clever about ruling out overlap between
8605 a predicate and some constant pattern.
8606 (pcase--q1): Use `null' instead of (eq foo nil).
8608 * subr.el (setq-local, defvar-local): New macros.
8609 (kbd): Redefine as an alias.
8610 (with-selected-window): Leave unrelated frames alone.
8611 (set-temporary-overlay-map): New function.
8613 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8615 * subr.el (user-error): New function.
8616 * window.el (switch-to-buffer):
8617 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8618 (smerge-match-conflict):
8619 * simple.el (previous-matching-history-element)
8620 (next-matching-history-element, goto-history-element, undo-more)
8622 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8623 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8624 (next-file, tags-loop-scan, list-tags, complete-tag):
8625 * progmodes/compile.el (compilation-loop):
8626 * mouse.el (mouse-minibuffer-check):
8627 * man.el (Man-bgproc-sentinel, Man-goto-page):
8628 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8629 (Info-history-forward, Info-follow-reference, Info-menu)
8630 (Info-extract-menu-item, Info-extract-menu-counting)
8631 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8632 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8633 (Info-next-reference, Info-prev-reference, Info-index)
8634 (Info-index-next, Info-follow-nearest-node)
8635 (Info-copy-current-node-name):
8636 * imenu.el (imenu--make-index-alist)
8637 (imenu-default-create-index-function, imenu-add-to-menubar):
8638 * files.el (basic-save-buffer, recover-file):
8639 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8640 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8641 (checkdoc-message-text, checkdoc-defun):
8642 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8643 * cus-edit.el (customize-changed-options, customize-rogue)
8644 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8645 (custom-variable-mark-to-reset-standard)
8646 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8648 * completion.el (check-completion-length):
8649 * comint.el (comint-search-arg)
8650 (comint-previous-matching-input-string-position)
8651 (comint-previous-matching-input)
8652 (comint-replace-by-expanded-history-before-point, comint-send-input)
8653 (comint-copy-old-input, comint-backward-matching-input)
8654 (comint-goto-process-mark, comint-set-process-mark):
8655 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8656 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8658 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * dabbrev.el (dabbrev--ignore-case-p): New function.
8661 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8664 * files.el (automount-dir-prefix): Mark as obsolete.
8666 2012-05-04 Glenn Morris <rgm@gnu.org>
8668 * patcomp.el, play/bruce.el: Move to obsolete/.
8670 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8672 Fix minor Y10k bugs.
8673 * arc-mode.el (archive-unixdate):
8674 * autoinsert.el (auto-insert-alist):
8675 * calc/calc-forms.el (math-this-year):
8676 * emacs-lisp/copyright.el (copyright-current-year)
8677 (copyright-update-year, copyright):
8678 * tar-mode.el (tar-clip-time-string):
8679 * time.el (display-time-update):
8680 Don't assume years have 4 digits.
8682 2012-05-04 Chong Yidong <cyd@gnu.org>
8684 * dos-w32.el (file-name-buffer-file-type-alist)
8685 (direct-print-region-use-command-dot-com):
8686 * ffap.el (ffap-menu-regexp):
8687 * find-file.el (ff-special-constructs):
8688 * follow.el (follow-debug):
8689 * forms.el (forms--debug):
8690 * iswitchb.el (iswitchb-all-frames):
8691 * ido.el (ido-all-frames):
8692 * emacs-lisp/timer.el (timer-max-repeats):
8693 * mail/feedmail.el (feedmail-mail-send-hook)
8694 (feedmail-mail-send-hook-queued):
8695 * mail/footnote.el (footnote-signature-separator):
8696 * mail/mailabbrev.el (mail-alias-separator-string)
8697 (mail-abbrev-mode-regexp):
8698 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8699 * progmodes/idlwave.el (idlwave-libinfo-file)
8700 (idlwave-default-completion-case-is-down)
8701 (idlwave-library-routines): Convert defvars to defcustoms.
8703 * mail/rmail.el (rmail-decode-mime-charset):
8704 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8705 (idlwave-shell-fix-inserted-breaks)
8706 (idlwave-shell-activate-alt-keybindings)
8707 (idlwave-shell-use-breakpoint-glyph):
8708 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8710 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8714 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8716 * progmodes/verilog-mode.el (font-lock-keywords):
8717 Fix mis-highligting auto. Reported by Craig Barner.
8718 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8719 defines from global name space. Reported by Dan Dever.
8720 (verilog-auto-reset, verilog-auto-reset-widths)
8721 (verilog-auto-tieoff): Support using unbased numbers for
8722 AUTORESET and AUTOTIEOFF.
8723 (verilog-submit-bug-report): Update variable list.
8724 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8725 parenthesis from not matching. Reported by Michael Rytting.
8726 (verilog-auto-template-lint): Fix hash error when linting modules
8727 with no used templates.
8728 (verilog-warn, verilog-warn-error)
8729 (verilog-warn-fatal): When non-interactive report multiple
8730 warnings before exiting. Suggested by Brad Dobbie.
8731 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8732 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8733 to report unused template errors. Reported by Brad Dobbie.
8734 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8735 nets, bug438. Reported by Vns Blore.
8736 (verilog-auto-inout-module, verilog-auto-reg)
8737 (verilog-read-decls, verilog-read-sub-decls-sig)
8738 (verilog-signals-edit-wire-reg, verilog-signals-with):
8739 Fix passing of Verilog data types in ANSI input/output ports
8740 such as "output logic" into the AUTOs. Special case "wire" and
8741 "reg" for backwards compatibility presuming Verilog 2001.
8742 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8743 (verilog-preprocess): Fix replication of preprocess output.
8744 Reported by Brad Dobbie.
8745 (verilog-auto-inst-interfaced-ports):
8746 Create verilog-auto-inst-interfaced-ports, bug429.
8747 Reported by Julian Gorfajn.
8748 (verilog-after-save-font-hook)
8749 (verilog-before-save-font-hook): New variable.
8750 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8751 (verilog-save-font-mods): Wrap disabling fontification, reported
8753 (verilog-do-indent, verilog-pretty-declarations-auto)
8754 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8755 Reported by Pierre-David Pfister.
8756 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8757 of class declarations, bug292. Reported by Kevin Heilman.
8758 (verilog-read-decls): Fix 'parameter type' not appearing in
8759 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8760 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8761 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8762 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8763 Reported by David Kravitz.
8765 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8767 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8768 assignment with tests in ifs and for loops.
8769 (verilog-extended-complete-re, verilog-complete-reg): Change so
8770 that DPI inport functions don't look like fuction declarations.
8771 (verilog-pretty-expr): Don't line up assignment
8772 operations to the test and increment in if and for loops
8773 (verilog-extended-complete-re, verilog-complete-reg): Change so
8774 that DPI inport functions don't look like fuction declarations.
8776 2012-05-03 Kenichi Handa <handa@m17n.org>
8778 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8779 decoding, and show a warning message without signaling an error
8782 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * emacs-lisp/bytecomp.el
8785 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8786 since cconv.el might have introduced :fun-body, internal-make-closure,
8787 and friends for bytecomp to handle (bug#11391).
8788 * custom.el (defcustom): Avoid ((λ ..) ..).
8790 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8792 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8794 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8796 * notifications.el (dbus-debug):
8797 * term/linux.el (gpm-mouse-enable):
8798 * term/screen.el (xterm-register-default-colors): Declare.
8800 2012-05-02 Chong Yidong <cyd@gnu.org>
8802 * cus-start.el (gc-cons-percentage, exec-suffixes)
8803 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8804 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8805 (make-cursor-line-fully-visible, void-text-area-pointer)
8806 (font-list-limit): Add customization data.
8808 * allout.el (allout-exposure-change-functions)
8809 (allout-structure-added-functions)
8810 (allout-structure-deleted-functions)
8811 (allout-structure-shifted-functions): Rename abnormal hooks from
8812 *-hook, and convert to defcustoms.
8813 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8814 Convert to defcustoms.
8815 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8817 * allout-widgets.el: Hook callers changed.
8819 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8821 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8822 the yanked message in preference to the default value of
8823 buffer-file-coding-system.
8825 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8827 * window.el (display-buffer--action-function-custom-type):
8830 2012-05-02 Alan Mackenzie <acm@muc.de>
8832 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8834 2012-05-01 Glenn Morris <rgm@gnu.org>
8836 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8838 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8840 * cus-edit.el (custom-variable-documentation): Simplify with format.
8842 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8843 Stefan Monnier <monnier@iro.umontreal.ca>
8845 * simple.el (suggest-key-bindings, execute-extended-command):
8846 Move from keyboard.c.
8848 2012-05-01 Chong Yidong <cyd@gnu.org>
8850 * follow.el: Eliminate advice.
8851 (set-process-filter, process-filter, sit-for): Advice deleted.
8852 (follow-mode-off-hook): Obsolete hook removed.
8853 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8855 (follow-auto): Use a :set function.
8856 (follow-mode): Rewritten. Don't advise process filters.
8857 (follow-switch-to-current-buffer-all, follow-scroll-up)
8858 (follow-scroll-down): Assume follow-mode is bound.
8859 (follow-comint-scroll-to-bottom)
8860 (follow-align-compilation-windows): New functions.
8861 (follow--window-sorter): New function.
8862 (follow-all-followers): Use it to explicitly sort windows by their
8863 positions; don't make assumptions about next-window order.
8864 (follow-windows-start-end, follow-delete-other-windows-and-split)
8865 (follow-calc-win-start): Doc fix.
8866 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8867 vertical-motion unnecessarily.
8868 (follow-adjust-window): New function.
8869 (follow-post-command-hook): Use it.
8870 (follow-call-set-process-filter, follow-call-process-filter)
8871 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8872 (follow-stop-intercept-process-output, follow-generic-filter):
8874 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8875 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8876 New functions, replacing advice on scroll-bar-* commands.
8877 (follow-mwheel-scroll): New function (Bug#4112).
8879 * comint.el (comint-adjust-point): New function.
8880 (comint-postoutput-scroll-to-bottom): Use it.
8881 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8883 2012-05-01 Glenn Morris <rgm@gnu.org>
8885 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8886 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8887 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8888 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8889 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8890 Remove no-byte-compile setting.
8892 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8894 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8895 all-completions code to not return a number in the last cdr.
8897 2012-04-30 Leo Liu <sdl.web@gmail.com>
8899 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8902 2012-04-29 Chong Yidong <cyd@gnu.org>
8904 * follow.el (follow-calc-win-end): Rewrite to handle partial
8905 screen lines correctly (Bug#8390).
8906 (follow-avoid-tail-recenter): Minor cleanup.
8908 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8910 Avoid the obsolete `assoc' package.
8911 * speedbar.el (speedbar-refresh): Avoid adelete.
8912 (speedbar-file-lists): Simplify and avoid aput.
8913 * man.el (Man--sections, Man--refpages): New vars, replacing
8914 Man-sections-alist and Man-refpages-alist.
8915 (Man-build-section-alist, Man-build-references-alist):
8916 Use them; avoid aput.
8917 (Man--last-section, Man--last-refpage): New vars.
8918 (Man-follow-manual-reference): Use them.
8919 Use the `default' arg of completing-read.
8920 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8922 2012-04-27 Chong Yidong <cyd@gnu.org>
8924 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8926 * startup.el (x-apply-session-resources): New function.
8928 * term/ns-win.el (ns-initialize-window-system):
8929 * term/w32-win.el (w32-initialize-window-system):
8930 * term/x-win.el (x-initialize-window-system): Use it to properly
8931 set menu-bar-mode and other vars from X resources, even if the
8932 initial frame is not a window-system frame (Bug#2299).
8934 * subr.el (read-key): Avoid running filter function when setting
8935 up temporary tool bar entries (Bug#9922).
8937 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8939 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8942 2012-04-27 Chong Yidong <cyd@gnu.org>
8944 * select.el (xselect--encode-string): New function, split from
8945 xselect-convert-to-string.
8946 (xselect-convert-to-string): Use it.
8947 (xselect-convert-to-filename, xselect-convert-to-os)
8948 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8949 returned strings are properly encoded (Bug#11315).
8951 2012-04-27 Chong Yidong <cyd@gnu.org>
8953 * simple.el (delete-active-region): Move to killing custom group.
8955 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8957 * progmodes/which-func.el (which-func-current): Quote %
8958 characters for mode-line processing.
8960 2012-04-27 Chong Yidong <cyd@gnu.org>
8962 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8963 reaching eob (Bug#11286).
8965 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8967 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8968 (gdb): Make it buffer-local and init to zero.
8969 (gdb-control-commands-regexp): New variable.
8970 (gdb-send): Don't wrap in "-interpreter-exec console" if
8971 gdb-control-level is positive. Increment gdb-control-level
8972 whenever the command matches gdb-control-commands-regexp, and
8973 decrement it each time the command is "end". (Bug#11279)
8975 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8977 * window.el (adjust-window-trailing-edge, enlarge-window)
8978 (shrink-window, window-resize):
8979 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8980 windows (Bug#11276).
8982 2012-04-27 Chong Yidong <cyd@gnu.org>
8984 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8985 fix "missing prefix" warning. All callers changed.
8987 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8989 * emacs-lisp/assoc.el: Move to obsolete/.
8991 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8993 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8995 * term/ns-win.el (ns-define-service):
8996 * progmodes/pascal.el (pascal-goto-defun):
8997 * progmodes/js.el (js--read-tab):
8998 * progmodes/etags.el (tags-lazy-completion-table):
8999 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9000 * emacs-lisp/ewoc.el (ewoc--wrap):
9001 * emacs-lisp/assoc.el (aput, adelete, amake):
9002 * doc-view.el (doc-view-convert-current-doc):
9003 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9005 2012-04-26 Chong Yidong <cyd@gnu.org>
9007 * image.el (image-type-from-buffer): Only return supported image
9010 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9011 value, for symmetry with diff-end-of-hunk.
9012 (diff-split-hunk, diff-find-source-location)
9013 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9014 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9015 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9016 compute the relevant hunk or file properly (Bug#6005).
9017 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9019 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9028 * vc/vc.el: Replace lexical-let by lexical-binding.
9029 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9030 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9031 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9033 2012-04-26 Chong Yidong <cyd@gnu.org>
9035 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9036 (diff-mode-shared-map): Bind it to / and [remap undo].
9038 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9039 (ediff-window-setup-function): Use it as the default, to set up
9040 windows based on whether the current frame is graphical (Bug#2138).
9041 (ediff-choose-window-setup-function-automatically): Make obsolete.
9043 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9045 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9047 * ffap.el: Remove old code for obsolete package.
9048 (ffap-complete-as-file-p): Remove.
9050 Use completion-table-with-quoting for comint and pcomplete.
9051 * comint.el (comint--unquote&requote-argument)
9052 (comint--unquote-argument, comint--requote-argument): New functions.
9053 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9054 (comint-quote-filename): Use regexp-opt-charset.
9055 (comint--common-suffix, comint--common-quoted-suffix)
9056 (comint--table-subvert): Remove.
9057 (comint-unquote-function, comint-requote-function): New vars.
9058 (comint--complete-file-name-data): Use them with
9059 completion-table-with-quoting.
9060 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9061 * pcomplete.el (pcomplete-arg-quote-list)
9062 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9063 (pcomplete-unquote-argument-function): Default to non-nil.
9064 (pcomplete-unquote-argument): Simplify.
9065 (pcomplete--common-quoted-suffix): Remove.
9066 (pcomplete-requote-argument-function): New var.
9067 (pcomplete--common-suffix): New function.
9068 (pcomplete-completions-at-point): Use completion-table-with-quoting
9069 and completion-table-subvert.
9071 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9072 (minibuffer--double-dollars): Preserve properties.
9073 (completion--sifn-requote): New function.
9074 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9076 * minibuffer.el: Add support for completion of quoted/escaped data.
9077 (completion-table-with-quoting, completion-table-subvert): New funs.
9078 (completion--twq-try, completion--twq-all): New functions.
9079 (completion--nth-completion): New function.
9080 (completion-try-completion, completion-all-completions): Use it.
9082 2012-04-25 Leo Liu <sdl.web@gmail.com>
9084 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9085 Use compilation-message if available to find real filename.
9087 2012-04-25 Chong Yidong <cyd@gnu.org>
9089 * vc/diff-mode.el (diff-setup-whitespace): New function.
9090 (diff-mode): Use it.
9092 * vc/diff.el (diff-sentinel):
9093 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9094 Whitespace mode variables based on diff style (Bug#8612).
9096 2012-04-25 Leo Liu <sdl.web@gmail.com>
9098 * progmodes/python.el (python-send-region): Add suffix .py to the
9101 * files.el (auto-mode-alist): Use javascript-mode instead.
9103 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9105 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9107 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9108 (soap-resolve-references-for-array-type): Hack to prevent self
9109 references, see Bug#9.
9110 (soap-parse-envelope): Report the contents of the 'detail' node
9111 when receiving a fault reply.
9112 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9114 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9115 (soap-inspect-simple-type): New function.
9117 * net/soap-client.el (soap-simple-type): New struct.
9118 (soap-default-xsd-types, soap-default-soapenc-types)
9119 (soap-decode-basic-type, soap-encode-basic-type):
9120 support unsignedInt and double basic types.
9121 (soap-resolve-references-for-simple-type)
9122 (soap-parse-simple-type, soap-encode-simple-type): New function.
9123 (soap-parse-schema): Parse xsd:simpleType declarations.
9125 * net/soap-client.el (soap-default-xsd-types)
9126 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9127 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9128 the local name of "soapenc:Array".
9129 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9130 decoding integer, byte and anyURI xsd types.
9132 2012-04-25 Chong Yidong <cyd@gnu.org>
9134 * cus-edit.el (custom-buffer-create-internal): Update header text.
9136 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9138 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9139 settings on 'system-type', not on 'window-system'. On MS-Windows,
9140 set interactive-mode on in GDB.
9142 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9145 (ruby-syntax-propertize-regexp): Remove.
9146 (ruby-syntax-propertize-function): Split regexp into chunks.
9147 Match following code directly.
9149 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9151 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9152 (ruby-syntax-propertize-regexp): New function.
9153 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9154 by a special keyword.
9156 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9157 (ruby-syntax-general-delimiters-goto-beg)
9158 (ruby-syntax-propertize-general-delimiters): New functions.
9159 (ruby-syntax-propertize-function): Use them to handle GDL.
9160 (ruby-font-lock-keywords): Move old handling of GDL...
9161 (ruby-font-lock-syntactic-keywords): .. to here.
9162 (ruby-calculate-indent): Adjust indentation for GDL.
9164 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9166 * notifications.el (top): Remove unneeded declarations.
9167 (notifications-specification-version): Change to "1.2".
9168 (notifications-interface, notifications-notify-method)
9169 (notifications-close-notification-method): Fix docstring.
9170 (notifications-get-capabilities-method): New defconst.
9171 (notifications-notify): Add :action-items, :resident and
9172 :transient hints. Change "image_data" to "image-data" and
9173 "image_path" to "image-path".
9174 (notifications-get-capabilities): New defun.
9176 2012-04-24 Leo Liu <sdl.web@gmail.com>
9178 * progmodes/python.el: Move hideshow setup to the end.
9180 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9182 * window.el (handle-select-window): Clear echo area since this is
9183 no more done by read_char (Bug#11304).
9185 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9187 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9188 and `/ M' to filter-derived-mode.
9189 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9190 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9191 (ibuffer-mark-by-mode): Use default rather than initial-input.
9192 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9194 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9196 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9197 (ibuffer-filter-by-derived-mode): New filter.
9198 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9200 2012-04-23 Andreas Politz <politza@fh-trier.de>
9202 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9204 2012-04-23 Chong Yidong <cyd@gnu.org>
9206 * cus-edit.el (customize-apropos, customize-apropos-options):
9207 Disable matching of non-option variables (Bug#11176).
9208 (customize-option, customize-option-other-window)
9209 (customize-changed-options): Doc fix.
9210 (customize-apropos-options, customize-apropos-faces)
9211 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9213 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9214 Fix word list splitting (Bug#11132).
9215 (apropos-symbol, apropos-keybinding, apropos-label)
9216 (apropos-property, apropos-function-button)
9217 (apropos-variable-button, apropos-misc-button): New faces.
9218 (apropos-symbol-face, apropos-keybinding-face)
9219 (apropos-label-face, apropos-property-face, apropos-match-face):
9220 Variables removed (Bug#8396).
9221 (apropos-library-button, apropos-format-plist, apropos-print)
9222 (apropos-print-doc, apropos-describe-plist): Callers changed.
9224 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9226 * net/xesam.el (xesam-mode-map): Use let-bound map in
9227 initialization. (Bug#11292)
9229 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9231 Preserve ispell session localwords when switching back to
9234 * textmodes/ispell.el (ispell-buffer-session-localwords):
9235 New buffer-local variable to hold buffer session localwords.
9236 (ispell-kill-ispell): Add option 'clear to delete session
9238 (ispell-command-loop, ispell-change-dictionary)
9239 (ispell-buffer-local-words): Preserve session localwords when
9242 * textmodes/flyspell.el (flyspell-process-localwords)
9243 (flyspell-do-correct): Preserve session localwords when needed.
9245 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9247 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9248 using obsolete `translation-table-for-input'.
9249 (ispell-word, ispell-process-line, ispell-complete-word):
9250 Use plain `insert' instead of removed `ispell-insert-word'.
9252 2012-04-22 Chong Yidong <cyd@gnu.org>
9254 * cus-edit.el (custom-variable-menu)
9255 (custom-variable-reset-saved, custom-face-menu)
9256 (custom-face-reset-saved): If there is no saved value, make the
9257 "reset-saved" operation bring back the default (Bug#9509).
9258 (custom-face-state): Properly detect themed faces.
9260 * faces.el (face-spec-set): Stop supporting deprecated form of
9263 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9265 Move functions from C to Lisp. Make non-blocking method calls
9266 the default. Implement further D-Bus standard interfaces.
9268 * net/dbus.el (dbus-message-internal): Declare function.
9269 Remove unneeded function declarations.
9270 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9271 (dbus-message-type-method-return, dbus-message-type-error)
9272 (dbus-message-type-signal): Declare variables. Remove local
9274 (dbus-interface-dbus, dbus-interface-peer)
9275 (dbus-interface-introspectable, dbus-interface-properties)
9276 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9278 (dbus-interface-objectmanager): New defconst.
9279 (dbus-call-method, dbus-call-method-asynchronously)
9280 (dbus-send-signal, dbus-method-return-internal)
9281 (dbus-method-error-internal, dbus-register-service)
9282 (dbus-register-signal, dbus-register-method): New defuns, moved
9284 (dbus-call-method-handler, dbus-setenv)
9285 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9287 (dbus-call-method-non-blocking): Make it an obsolete function.
9288 (dbus-unregister-object, dbus-unregister-service)
9289 (dbus-handle-event, dbus-register-property)
9290 (dbus-property-handler): Obey the new structure of
9291 `bus-registered-objects'.
9292 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9293 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9294 Use `dbus-call-method'.
9296 2012-04-22 Chong Yidong <cyd@gnu.org>
9298 * cus-edit.el (custom-commands, custom-reset-menu)
9299 (Custom-reset-standard): Tweak labels.
9300 (custom-reset-button-menu): Change default to t.
9301 (custom-buffer-create-internal): For the custom-reset-button-menu
9302 case, put the revert button first.
9303 (custom-group-subtitle): New face.
9304 (custom-group-value-create): Align docstring to a specific column.
9306 * wid-edit.el (widget-documentation-link-add): Don't handle
9307 indentation in this function.
9308 (widget-documentation-string-indent-to): New function.
9309 (widget-documentation-string-value-create): Use it.
9311 * autorevert.el (auto-revert):
9312 * epg-config.el (epg):
9313 * ibuffer.el (ibuffer):
9316 * eshell/eshell.el (eshell):
9317 * net/ange-ftp.el (ange-ftp):
9318 * progmodes/ebnf2ps.el (postscript):
9319 * progmodes/flymake.el (flymake):
9320 * progmodes/prolog.el (prolog):
9321 * progmodes/verilog-mode.el (verilog-mode):
9322 * progmodes/which-func.el (which-func):
9323 * term/xterm.el (xterm):
9324 * textmodes/picture.el (picture):
9325 * textmodes/tildify.el (tildify):
9326 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9327 customization buffers.
9329 2012-04-22 Alan Mackenzie <acm@muc.de>
9331 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9332 Adding a ) can hide the resulting (..) from searches. Fix it.
9333 Bound the backward search to the position of the existing (.
9335 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9337 * progmodes/verilog-mode.el (verilog-mode): Check whether
9338 which-func-modes is t before adding verilog-mode.
9339 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9341 2012-04-21 Leo Liu <sdl.web@gmail.com>
9343 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9345 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9347 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9348 filling of the last column of a table (Bug#5635).
9349 (woman-find-next-control-line): New arg, specifying an additional
9350 regexp component for the control line.
9351 (woman2-roff-buffer): Use it.
9352 (woman-break-table): New function.
9353 (woman2-TS): Use it.
9355 2012-04-21 Chong Yidong <cyd@gnu.org>
9357 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9358 (woman-horizontal-escapes, woman-negative-vertical-space)
9359 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9360 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9362 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * minibuffer.el (completion-file-name-table): Complete user names.
9366 2012-04-20 Leo Liu <sdl.web@gmail.com>
9368 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9371 2012-04-20 Chong Yidong <cyd@gnu.org>
9373 * server.el (server-execute): Respect initial-buffer-choice if it
9374 is a string and there are no files to open (Bug#2825).
9375 (server-create-window-system-frame, server-create-tty-frame):
9376 Don't switch buffers here.
9377 (server-process-filter): Only try to open a window system frame if
9378 compiled with graphical support (Bug#8314).
9380 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9382 * battery.el (battery-echo-area-format): Display remaining time
9383 for sysfs backend too (Bug#11269).
9384 (battery-linux-sysfs): Fix conditional for the charge.
9386 2012-04-20 Chong Yidong <cyd@gnu.org>
9388 * progmodes/gdb-mi.el (gdb): Revert previous change.
9389 (gdb-inferior-io--init-proc): New function.
9390 (gdb-init-1): Use it.
9391 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9392 responsible for allocating a new pty and hooking it to gdb when
9393 the old pty gets an EIO due to process exit.
9394 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9395 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9396 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9398 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9400 * window.el (window-min-size, window-sizable, window-min-delta)
9401 (window-max-delta, window--resizable, window-resizable)
9402 (window-total-size, window-full-height-p, window-full-width-p)
9403 (window-in-direction, window--resize-mini-window, window-resize)
9404 (window--resize-child-windows-normal)
9405 (window--resize-child-windows, window--resize-siblings)
9406 (window--resize-this-window, adjust-window-trailing-edge)
9407 (enlarge-window, shrink-window): Doc fixes.
9409 2012-04-20 Chong Yidong <cyd@gnu.org>
9411 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9412 New function to call delete-process on the gdb-inferior buffer's pty.
9413 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9414 pty process (Bug#11273).
9415 (gdb-update): New arg to suppress talking to the gdb process.
9416 (gdb-done-or-error): Use it.
9417 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9418 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9419 sentinel not being called.
9421 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9423 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9425 2012-04-20 Glenn Morris <rgm@gnu.org>
9427 * net/network-stream.el (open-network-stream): Doc fix.
9429 2012-04-20 Chong Yidong <cyd@gnu.org>
9431 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9433 2012-04-20 Alan Mackenzie <acm@muc.de>
9435 Ensure searching for keywords is case sensitive.
9437 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9438 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9439 (c-defun-name, c-mark-function, c-cpp-define-name)
9440 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9441 (c-context-line-break): Bind case-fold-search to nil.
9443 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9444 Bind case-fold-search to nil.
9446 2012-04-20 Chong Yidong <cyd@gnu.org>
9448 * mail/sendmail.el (mail-bury): Call return action with the right
9449 Rmail buffer (Bug#11242).
9451 * server.el (server-process-filter): Handle corner case where both
9452 tty and nowait options are present (Bug#11102).
9454 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9456 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9457 (top level): Put into the executable the ident-style '$Id:' tag on
9460 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9462 * electric.el (electric-indent-post-self-insert-function): Check that
9463 electric-indent-mode is enabled in current buffer.
9465 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9467 * imenu.el (imenu-progress-message): Restore; it is "used" in
9468 erc/erc-imenu.el and net/snmp-mode.el.
9470 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9472 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9473 (mouse-avoidance-nudge-mouse): Remove unused binding.
9475 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9477 * descr-text.el (describe-char):
9478 * progmodes/python.el (python-describe-symbol):
9479 Don't call `toggle-read-only', set `buffer-read-only'.
9481 * imenu.el (imenu-default-goto-function): Mark unused args.
9482 (imenu-progress-message): Remove obsolete macro; all callers changed.
9484 * subr.el (keymap-canonicalize): Remove unused binding.
9485 (read-passwd): Mark unused arg.
9487 * tutorial.el (tutorial--display-changes): Remove unused binding.
9488 (tutorial--save-tutorial-to): Remove unused variable.
9490 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9491 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9492 (package-generate-autoloads, package-menu--generate)
9493 (package-menu--find-upgrades): Remove unused bindings.
9495 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9496 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9497 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9498 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9499 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9500 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9501 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9502 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9503 (cua-delete-char-rectangle): Mark unused args.
9504 (cua-align-rectangle): Remove unused binding.
9506 * mail/rmail.el (compilation--message->loc)
9507 (epa--find-coding-system-for-mime-charset): Declare.
9509 * net/dbus.el (dbus-register-service): Declare.
9510 (dbus-name-owner-changed-handler): Remove unused binding.
9512 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9513 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9514 (nxml-scan-backward-within): Mark unused arg.
9515 (nxml-dynamic-markup-word): Remove unused binding.
9517 * mouse.el (mouse-menu-major-mode-map):
9518 * emacs-lisp/authors.el (authors-scan-change-log)
9519 (authors-add-to-author-list):
9520 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9521 * emacs-lisp/smie.el (smie-auto-fill):
9522 * mail/sendmail.el (mail-bury):
9523 * mail/unrmail.el (unrmail):
9524 * net/tls.el (open-tls-stream):
9525 * textmodes/picture.el (picture-mouse-set-point):
9526 Remove unused bindings.
9528 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9530 * net/tramp.el (tramp-action-password): Let-bind
9531 `enable-recursive-minibuffers' to t.
9533 2012-04-18 Sam Steingold <sds@gnu.org>
9535 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9536 instead of 'string to accommodate values like [f11].
9537 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9538 * progmodes/gdb-mi.el: Likewise.
9540 2012-04-18 Leo Liu <sdl.web@gmail.com>
9542 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9544 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9547 2012-04-18 Chong Yidong <cyd@gnu.org>
9549 * simple.el (line-move): Use forward-line if in batch mode
9552 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9554 * files.el (after-find-file): Do not try to add a final newline if
9555 the buffer is read-only (Bug#11156).
9557 2012-04-17 Richard Stallman <rms@gnu.org>
9559 * mail/rmail.el (rmail-start-mail):
9560 Pass (rmail-mail-return...) for the return-action.
9561 Pass (rmail-yank-current-message...) for the yank-action.
9562 (rmail-yank-current-message): New function.
9563 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9564 (rmail-reply): Likewise.
9565 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9567 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9568 buffer, not the last. Reject temp buffers. Use the rmail-mode
9571 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9573 * server.el (server-ensure-safe-dir): Simplify.
9575 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9577 * emacs-lisp/smie.el: Provide smarter auto-filling.
9578 (smie-auto-fill): New function.
9579 (smie-setup): Use it.
9581 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9583 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9585 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9586 (comment-indent): Use it.
9588 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9590 * ses.el: The overall change is to add cell renaming, that is
9591 setting fancy names for cell symbols other than name matching
9592 "\\`[A-Z]+[0-9]+\\'" regexp .
9593 (ses-localvars): Add ses--renamed-cell-symb-list.
9594 (ses-create-cell-variable): New defun.
9595 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9596 (ses-relocate-formula): Relocate formulas only for cells the
9597 symbols of which are not renamed, i.e. symbols whose names do not
9598 match regexp "\\`[A-Z]+[0-9]+\\'".
9599 (ses-relocate-all): Relocate values only for cells the symbols of
9600 which are not renamed.
9601 (ses-load): Create cells variables as the (ses-cell ...) are read,
9602 in order to check row col consistency with cell symbol name only
9603 for cells that are not renamed.
9604 (ses-replace-name-in-formula): New defun.
9605 (ses-rename-cell): New defun.
9607 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9609 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9610 New option (bug#11118).
9611 (perl-calculate-indent): Respect it.
9613 2012-04-17 Glenn Morris <rgm@gnu.org>
9615 * dired-aux.el (dired-mark-read-string): Doc fix.
9617 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9619 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9620 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9622 2012-04-17 Glenn Morris <rgm@gnu.org>
9624 * mouse.el (mouse-drag-track):
9625 * speedbar.el (speedbar-frame-mode):
9626 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9628 2012-04-16 Leo Liu <sdl.web@gmail.com>
9630 * progmodes/python.el: Trivial cleanup.
9632 2012-04-16 Glenn Morris <rgm@gnu.org>
9634 * vc/vc.el (vc-string-prefix-p):
9635 * vc/pcvs-util.el (cvs-string-prefix-p):
9636 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9637 * mpc.el (mpc-string-prefix-p):
9638 Make all of these into obsolete aliases for string-prefix-p.
9640 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9642 * textmodes/two-column.el: Move custom options to the start.
9643 (frame-width): Remove compat definition.
9644 (2C-associate-buffer, 2C-dissociate):
9645 Use with-current-buffer rather than save-excursion.
9646 (2C-dissociate): Force a mode-line update.
9647 (2C-autoscroll): Use ignore-errors.
9649 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9652 * emacs-lisp/cl-extra.el (*random-state*):
9653 Remove unnecessary declaration.
9655 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9657 * play/cookie1.el (cookie-snarf):
9658 Give an explicit error if input file cannot be read.
9660 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9662 * progmodes/perl-mode.el (c-macro-expand):
9663 Remove unnecessary autoload (it is in loaddefs.el).
9665 * textmodes/picture.el (picture-desired-column)
9666 (picture-update-desired-column): Convert comments to doc-strings.
9667 (picture-substitute): Remove function.
9668 (picture-mode-map): Initialize in the defvar.
9670 * woman.el: Remove eval-after-load for tar-mode.
9671 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9672 (woman-tar-extract-file): Autoload it.
9674 * frame.el (automatic-hscrolling): Make this alias obsolete.
9676 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9678 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9679 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9680 (ispell-dictionary-base-alist): Revert to original XEmacs
9681 friendly version for default. [:alpha:] will be added in
9682 `ispell-set-spellchecker-params' if needed.
9684 2012-04-16 Chong Yidong <cyd@gnu.org>
9686 * image.el (imagemagick--file-regexp): New variable.
9687 (imagemagick-register-types): Use it.
9688 (imagemagick-types-inhibit): Add :set function. Allow new value
9689 of t to inhibit all types.
9691 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9692 so we can preload it.
9694 * loadup.el (fboundp): Preload regexp-opt, needed by
9695 imagemagick-register-types.
9697 2012-04-15 Chong Yidong <cyd@gnu.org>
9699 * frame.el (scrolling): Remove nearly unused customization group.
9701 * scroll-all.el (scroll-all-mode): Move to windows group.
9703 2012-04-15 Chong Yidong <cyd@gnu.org>
9705 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9707 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9709 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9710 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9712 2012-04-15 Glenn Morris <rgm@gnu.org>
9714 * simple.el (process-file-side-effects): Doc fix.
9716 2012-04-15 Glenn Morris <rgm@gnu.org>
9718 * international/mule-cmds.el (set-language-environment): Doc fix.
9720 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9722 * server.el (server-auth-key, server-generate-key): Doc fixes.
9723 (server-get-auth-key): Doc fix. Use `string-match-p'.
9724 (server-start): Reflow docstring.
9726 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9728 * server.el (server-generate-key): `called-interactively-p'
9729 requires a parameter.
9731 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9733 * server.el (server-auth-key): New variable.
9734 (server-generate-key, server-get-auth-key): New function.
9735 (server-start): Use the new variable and functions to allow
9736 setting a permanent server key (bug#9423).
9738 2012-04-14 Leo Liu <sdl.web@gmail.com>
9740 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9742 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9745 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9746 Emacs uses American spelling.
9748 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9750 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9751 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9752 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9753 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9755 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9757 * progmodes/which-func.el (which-func-modes): Change default.
9759 2012-04-14 Kim F. Storm <storm@cua.dk>
9761 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9762 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9764 2012-04-14 Chong Yidong <cyd@gnu.org>
9766 * custom.el (custom-theme-set-variables): Doc fix.
9768 2012-04-14 Glenn Morris <rgm@gnu.org>
9770 * international/mule.el (set-auto-coding-for-load): Doc fix.
9772 2012-04-14 Alan Mackenzie <acm@muc.de>
9774 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9775 imenu work again for Objective C Mode. Correct the *-index values,
9776 these having been disturbed by a previous change in 2011-08.
9778 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9779 Correct two search limits.
9781 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9783 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9785 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9787 * international/characters.el: Fix sorting.
9789 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9791 * international/characters.el: Add more missing Latin case pairs.
9793 2012-04-14 Glenn Morris <rgm@gnu.org>
9795 * files.el (dir-locals-set-class-variables): Doc fix.
9797 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9799 * international/characters.el: Add set-case-syntax-pair call for
9800 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9801 counterpart. (Bug#11209)
9803 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9805 2012-04-14 Glenn Morris <rgm@gnu.org>
9807 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9809 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9811 * textmodes/ispell.el (ispell-dictionary-base-alist):
9812 Add data for Hebrew.
9814 2012-04-14 Chong Yidong <cyd@gnu.org>
9816 * net/rcirc.el (rcirc-cmd-quit):
9817 Revert 2012-03-18 change (Bug#11192).
9819 2012-04-14 Glenn Morris <rgm@gnu.org>
9821 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9823 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9825 * minibuffer.el (completion-in-region-mode-map):
9826 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9828 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9830 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9832 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9834 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9835 to allow `C-M-f' and `C-M-b' to move to the nearest path
9836 separator (bug#9511).
9838 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9840 * avoid.el: Require cl when compiling. And also move the
9841 `provide' to the end.
9843 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9845 * avoid.el (mouse-avoidance-banish-position): New variable.
9846 (mouse-avoidance-banish-destination): Use it (bug#10165).
9848 2012-04-13 Leo Liu <sdl.web@gmail.com>
9850 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9852 2012-04-13 Ken Brown <kbrown@cornell.edu>
9854 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9855 this is no longer needed now that cygstart understands file:// URLs.
9856 (browse-url-filename-alist): For the same reason, don't modify
9857 file:// URLs on Cygwin.
9859 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9861 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9862 the region on shift if the binding is already shifted (bug#11221).
9864 2012-04-12 Glenn Morris <rgm@gnu.org>
9866 * mail/mailpost.el: Move to obsolete/.
9868 2012-04-12 Drew Adams <drew.adams@oracle.com>
9870 * imenu.el (imenu--generic-function): Ignore invisible definitions
9873 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9875 * hexl.el (hexl-bits): New variable.
9876 (hexl-options): Mention the variable in the doc string.
9877 (hexl-rulerise, hexl-line-displen): New functions.
9878 (hexl-mode): Mention the new variable.
9879 (hexl-mode, hexl-current-address, hexl-current-address):
9881 (hexl-ascii-start-column): New function.
9882 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9883 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9885 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9887 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9888 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9889 the encoding, as expected by hunspell.
9891 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9893 * battery.el (battery--linux-sysfs-regexp): New const.
9894 (battery-status-function): Use it. Remove yeeloong special case.
9895 (battery-yeeloong-sysfs): Remove.
9896 (battery-echo-area-format): Remove yeeloong special case.
9898 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9900 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9901 Reported by Noah Friedman.
9903 * subr.el (read-passwd): Use read-string.
9905 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9907 * vcursor.el (vcursor-move): Increase the priority of the overlay
9910 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9912 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9913 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9915 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9917 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9918 define-minor-mode (bug#10760).
9920 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9922 * progmodes/grep.el (rgrep): Tweak the find command line so
9923 that directories matching `grep-find-ignored-files' won't be
9926 2012-04-11 Chong Yidong <cyd@gnu.org>
9928 * startup.el (command-line): Remove support for long-obsolete
9929 variable font-lock-face-attributes.
9931 2012-04-11 Glenn Morris <rgm@gnu.org>
9933 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9935 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9937 * window.el (window--state-get-1): Obey window-point-insertion-type.
9939 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9941 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9942 to previous function when point is on the first character of a
9943 function. Take care of that in `narrow-to-defun' (bug#6157).
9945 2012-04-11 Glenn Morris <rgm@gnu.org>
9947 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9948 not just file-errors.
9950 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9951 (vc-bzr-sha1): Use internal sha1.
9953 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9955 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9957 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9959 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9960 that start in the middle of the line (bug#10496).
9962 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9964 * battery.el (battery-linux-proc-acpi): Only one battery is
9965 discharged at a time, but that seems to confuse battery.el when
9966 computing `rate-type' for the battery not being discharged
9969 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9971 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9973 * international/quail.el: Use dolist and simplify.
9974 (quail-define-package, quail-update-keyboard-layout)
9975 (quail-define-rules): Use dolist.
9976 (quail-insert-kbd-layout, quail-get-translation): CSE.
9978 * tmm.el: Use dolist, remove left over hook.
9979 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9981 (calendar-load-hook): Don't mess with it.
9983 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9984 Use derived-mode-p. Run the diff asynchronously.
9986 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9990 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9992 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9993 (list-dynamic-libraries--loaded): New function.
9994 (list-dynamic-libraries--refresh): Use it.
9996 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9998 * progmodes/python.el (python-fill-paragraph):
9999 Make python-fill-region in a multiline string work when font-lock is
10000 disabled (bug#7018).
10002 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10004 * language/european.el (cp775): Add oem/legacy (en)coding on
10005 DOS/MS Windows for the Baltic languages. There are still plenty
10006 of texts written in this encoding/codepage (bug#6519).
10008 2012-04-10 Glenn Morris <rgm@gnu.org>
10010 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10011 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10013 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10015 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10016 next-line "n" and previous-line "p" in order to make recentf more
10017 consistent with ibuffer, dired or org-mode (bug#9387).
10019 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021 * image.el (put-image): Return the overlay created instead of the
10022 optional input string (bug#7834). Note that this may break code
10023 that is (for some reason or other) depending on `put-image'
10024 returning the string.
10026 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10028 * simple.el (zap-to-char): Allow zapping using input methods
10031 * textmodes/fill.el (fill-region): Leave point and mark where they
10032 were before filling (bug#5399).
10034 2012-04-09 Glenn Morris <rgm@gnu.org>
10036 * version.el (emacs-bzr-get-version):
10037 Handle lightweight checkouts of local branches.
10039 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10041 * international/characters.el: Recover lost case pairs. (Bug#11209)
10043 2012-04-09 Chong Yidong <cyd@gnu.org>
10045 * custom.el (custom-variable-p): Return nil for non-symbol
10046 arguments instead of signaling an error.
10047 (user-variable-p): Obsolete alias for custom-variable-p.
10049 * apropos.el (apropos-variable):
10050 * files-x.el (read-file-local-variable):
10051 * simple.el (set-variable):
10052 * woman.el (woman-mini-help):
10053 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10055 2012-04-09 Glenn Morris <rgm@gnu.org>
10057 * startup.el (normal-top-level): Don't look for leim-list.el
10058 in places where it will not be found. (Bug#910)
10060 * international/mule-cmds.el (set-default-coding-systems):
10061 * files.el (normal-mode):
10062 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10063 This function was removed with ucs-tables.el in 2008.
10065 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10067 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10068 ispell-encoding8-command to "-i", without a trailing space.
10069 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10070 separate command-line arguments, to specify the encoding, since
10071 that's how hunspell expects it.
10073 2012-04-08 Glenn Morris <rgm@gnu.org>
10075 * loadup.el: Load bindings before cus-start.
10076 This reduces somewhat the number of "rogue" settings in emacs -Q.
10078 2012-04-07 Glenn Morris <rgm@gnu.org>
10080 * version.el (emacs-bzr-get-version): New function.
10081 (emacs-bzr-version): New variable.
10082 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10083 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10085 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10087 * international/uni-bidi.el, international/uni-category.el:
10088 * international/uni-combining.el, international/uni-decimal.el:
10089 * international/uni-decomposition.el, international/uni-digit.el:
10090 * international/uni-lowercase.el, international/uni-mirrored.el:
10091 * international/uni-name.el, international/uni-numeric.el:
10092 * international/uni-titlecase.el, international/uni-uppercase.el:
10093 Update for Unicode 6.1.
10095 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10097 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10099 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10101 * window.el (shrink-window): Mention the `window-min-height'
10102 variable in the doc string.
10104 2012-04-05 Bastien Guerry <bzg@altern.org>
10106 * color.el (color-lighten-name): Fix typo.
10108 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10110 * server.el (server--on-display-p): New function.
10111 (server--on-display-p): Use it.
10113 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10115 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10118 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * comint.el (comint--common-quoted-suffix): Check string boundary
10121 before comparing (bug#11158).
10122 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10124 2012-04-04 Chong Yidong <cyd@gnu.org>
10126 * minibuffer.el (completion-extra-properties): Doc fix.
10128 * subr.el (delayed-warnings-hook): Doc fix.
10130 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10132 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10133 selection (Bug#11159).
10134 (epa-insert-keys): Inform that the default public key will be
10135 exported if no key is selected.
10137 2012-04-04 Richard Stallman <rms@gnu.org>
10139 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10141 2012-04-03 Chong Yidong <cyd@gnu.org>
10143 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10144 mail-insert-file, not its obsolete alias mail-attach-file.
10146 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10148 * notifications.el (notifications-notify): Fix docstring.
10150 2012-04-02 Glenn Morris <rgm@gnu.org>
10152 * emacs-lisp/authors.el (authors-aliases): Another addition.
10154 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10156 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10157 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10158 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10160 2012-04-01 Chong Yidong <cyd@gnu.org>
10162 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10163 Handle root directory properly.
10164 (copy-directory): Caller changed.
10166 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10167 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10169 2012-03-31 Glenn Morris <rgm@gnu.org>
10171 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10173 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10175 * calendar/calendar.el (calendar-window-list)
10176 (calendar-hide-window): Restore. (Bug#11140)
10177 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10179 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10181 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10183 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10184 Check if file is a symlink (Bug#10489).
10186 * files.el (copy-directory): Likewise.
10188 2012-03-30 Chong Yidong <cyd@gnu.org>
10190 * image.el (imagemagick-types-inhibit)
10191 (imagemagick-register-types): Doc fix.
10193 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10195 * textmodes/ispell.el (ispell-get-extended-character-mode):
10196 Disable extended-char-mode for hunspell. hunspell does not support it
10197 and treats ~word as ordinary words in pipe mode.
10199 2012-03-30 Glenn Morris <rgm@gnu.org>
10201 * tutorial.el (help-with-tutorial): Ensure local variables don't
10202 happen to make the buffer read-only. (Bug#11127)
10204 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10207 (perl-calculate-indent): Return `noindent' in strings.
10209 2012-03-28 Sam Steingold <sds@gnu.org>
10211 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10212 instead of the broken adhockery which does not prevent calendar
10213 buffers from being displayed at random after exit.
10214 (calendar-window-list, calendar-hide-window): Remove the broken
10217 2012-03-28 Glenn Morris <rgm@gnu.org>
10219 * replace.el (query-replace-map): Doc fix.
10221 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10223 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10224 contents. (Bug#11109)
10226 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10230 (avl-tree--check, avl-tree--check-node): New funs.
10232 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10234 * window.el (switch-to-visible-buffer): New option.
10235 (switch-to-prev-buffer, switch-to-next-buffer):
10236 Observe switch-to-visible-buffer. Make sure that checking for a window
10237 showing a buffer already is done on the same frame.
10239 2012-03-27 Glenn Morris <rgm@gnu.org>
10241 * startup.el (mail-host-address): Doc fix.
10243 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10246 than 197 variables.
10248 2012-03-26 Ami Fischman <ami@fischman.org>
10250 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10252 2012-03-26 Glenn Morris <rgm@gnu.org>
10254 * files.el (save-buffers-kill-emacs): Doc fix.
10256 * startup.el (normal-top-level, command-line, command-line-1):
10257 Give them doc strings.
10259 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10261 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10262 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10264 2012-03-25 Chong Yidong <cyd@gnu.org>
10266 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10267 theme if it was previously enabled before (Bug#11031).
10269 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10270 spec with custom-face-get-current-spec if its :shown-value is not
10271 determined yet (Bug#9337).
10272 (customize-create-theme, custom-theme-revert): Doc fixes.
10274 * button.el (button-at): Minor addition to docstring.
10276 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10278 * vc/vc.el (vc-merge): Fix a prompt.
10280 2012-03-24 Chong Yidong <cyd@gnu.org>
10282 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10285 * button.el (button-at): Minor addition to docstring.
10287 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * newcomment.el (comment-choose-indent): No space after BOL.
10291 2012-03-22 Sam Steingold <sds@gnu.org>
10293 * window.el (switch-to-prev-buffer): Revert last patch because the
10294 bug turned out to be an advertised feature (Elisp manual 28.14).
10296 2012-03-22 Glenn Morris <rgm@gnu.org>
10298 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10299 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10301 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10303 * net/network-stream.el (network-stream-open-starttls): Make error
10304 message under Windows be less misleading.
10306 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10308 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10309 understands (bug#9942).
10311 2012-03-22 Chong Yidong <cyd@gnu.org>
10313 * simple.el (end-of-visible-line): Handle return value of
10314 next-single-property-change properly (Bug#9371).
10316 2012-03-22 Kenichi Handa <handa@m17n.org>
10318 * international/quail.el (quail-insert-kbd-layout): Fix previous
10319 change. To avoid unwanted bidi reordering, use
10320 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10322 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10324 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10325 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10326 (ruby-beginning-of-indent): Be more careful with the difference
10327 between word-boundary and symbol boundary.
10328 (ruby-mode-syntax-table): Make : a symbol constituent.
10330 2012-03-21 Andreas Politz <politza@fh-trier.de>
10332 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10334 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10336 * progmodes/etags.el (tags-completion-at-point-function):
10339 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10341 2012-03-21 Sam Steingold <sds@gnu.org>
10343 * progmodes/etags.el (tags-completion-at-point-function):
10344 Avoid the error when point is inside the pattern.
10346 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10348 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10351 2012-03-21 Drew Adams <drew.adams@oracle.com>
10353 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10355 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10357 * ido.el (ido-set-current-directory, ido-read-internal)
10358 (ido-choose-completion-string, ido-completion-help): Handle nil
10359 value of ido-completion-buffer (Bug#11008).
10361 2012-03-21 Sam Steingold <sds@gnu.org>
10363 * window.el (switch-to-prev-buffer): Do not switch to a visible
10364 window previous buffer, just like with the frame previous buffers.
10366 2012-03-21 Chong Yidong <cyd@gnu.org>
10368 * faces.el (make-face, make-empty-face, copy-face):
10369 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10372 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10374 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10375 (widget-complete): Remove broken use of it.
10377 2012-03-20 Chong Yidong <cyd@gnu.org>
10379 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10380 Use string-width and truncate-string-width to handle arbitrary
10383 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10385 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10386 to draw rectangles, not squares. (Regression introduced by revno
10387 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10389 2012-03-18 Chong Yidong <cyd@gnu.org>
10391 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10392 it is not yet defined (for temacs).
10394 2012-03-18 Leo Liu <sdl.web@gmail.com>
10396 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10399 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10401 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10402 (ispell-choices-win-default-height, ispell-silently-savep)
10403 (ispell-dictionary-alist, ispell-encoding8-command)
10404 (ispell-check-version, ispell-aspell-find-dictionary)
10405 (ispell-valid-dictionary-list, ispell-words-keyword)
10406 (ispell-get-word, ispell-internal-change-dictionary)
10407 (ispell-region, ispell-skip-region-list)
10408 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10409 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10410 (ispell-message-text-end, ispell-message)
10411 (ispell-buffer-local-parsing): Doc fix.
10413 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10415 * htmlfontify.el: Add support for code block fontification for ODT
10416 export (Bug #9914).
10417 (hfy-optimisations): Define new option
10419 (hfy-fontify-buffer): Honor above setting.
10420 (hfy-begin-span, hfy-end-span): New routines factored out form
10421 `hfy-fontify-buffer'.
10422 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10423 that permit insertion of custom tags.
10424 (hfy-fontify-buffer): Use above handlers.
10425 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10426 (hfy-face-to-css): Re-defined to be a variable.
10427 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10428 over multiple runs. This is made possible by having the caller let
10429 bind a special variable `hfy-user-sheet-assoc'.
10430 (htmlfontify-string): New defun.
10431 (hfy-compile-face-map): Make sure that the last char in the
10432 buffer is correctly fontified.
10433 (hfy-face-resolve-face): Whitespace only change.
10435 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10437 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10438 message more clear.
10440 2012-03-16 Leo Liu <sdl.web@gmail.com>
10442 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10444 2012-03-16 Alan Mackenzie <acm@muc.de>
10446 Further optimise the handling of large macros.
10448 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10449 limit to a call of `c-literal-limits'.
10450 (c-determine-+ve-limit): New function.
10451 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10452 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10453 In CASE 5B, restrict a search limit to 500.
10454 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10456 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10457 Restrict macro bounds to +-500 from after-change's BEG END.
10459 2012-03-16 Leo Liu <sdl.web@gmail.com>
10461 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10463 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10465 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10466 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10468 2012-03-16 Glenn Morris <rgm@gnu.org>
10470 * view.el (view-buffer, view-buffer-other-window)
10471 (view-buffer-other-frame): Doc fixes re special mode-class.
10473 * subr.el (eval-after-load): If named feature is provided not from
10474 a file, run after-load forms. (Bug#10946)
10476 * calendar/calendar.el (calendar-insert-at-column):
10477 Handle non-unit-width characters a bit better. (Bug#10978)
10479 2012-03-15 Chong Yidong <cyd@gnu.org>
10481 * emacs-lisp/ring.el (ring-extend): New function.
10482 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10484 * comint.el (comint-read-input-ring)
10485 (comint-add-to-input-history): Grow comint-input-ring lazily.
10487 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10490 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10492 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10493 (imenu-add-to-menubar): Don't add a redundant index.
10494 (imenu-update-menubar): Handle a dynamically composed keymap.
10496 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10498 * mail/sendmail.el (mail-encode-header):
10499 Bind rfc2047-encode-encoded-words to nil.
10501 2012-03-13 Glenn Morris <rgm@gnu.org>
10503 * calendar/calendar.el (calendar-string-spread):
10504 Handle non-unit-width characters a bit better. (Bug#10978)
10506 2012-03-13 Leo Liu <sdl.web@gmail.com>
10508 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10509 directory and file as argument (Bug#10822).
10511 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10513 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10514 For dynamically generated code, follow $PC.
10515 (gdb-disassembly-handler-custom): Handle no function name case.
10517 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10519 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10520 * emulation/ws-mode.el (ws-query-replace):
10521 * sort.el (sort-regexp-fields):
10522 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10524 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10526 * dabbrev.el: Fix cycle completion order (bug#10963).
10527 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10528 (dabbrev-completion): Don't use an obarray; provide
10529 a cycle-sort-function.
10531 2012-03-12 Leo Liu <sdl.web@gmail.com>
10533 * simple.el (kill-new): Use equal-including-properties for comparison.
10534 (kill-do-not-save-duplicates): Doc fix.
10536 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * dabbrev.el: Fix cycle completion (bug#10963).
10539 Use lexical binding and wrap to 80 columns.
10540 (dabbrev-completion): Delay computing the list of completions.
10542 2012-03-12 Kenichi Handa <handa@m17n.org>
10544 * international/quail.el (quail-insert-kbd-layout): Surround each
10545 row by LRO and PDF instead of inserting many LRMs. Pad the left
10546 and right of each non-spacing marks. Insert invisible space
10547 between lower and upper characters to prevent composition.
10549 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * minibuffer.el (minibuffer-complete): Don't get confused when the
10552 function is run twice via different commands (bug#10958).
10553 (complete-with-action): Fix docstring.
10555 2012-03-12 Chong Yidong <cyd@gnu.org>
10557 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10558 (nxml-completion-at-point-function): New function.
10559 (nxml-mode): Use it.
10560 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10562 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10563 Load generated autoloads file before byte compiling (Bug#10970).
10564 (package--make-autoloads-and-compile): New helper fun.
10566 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10568 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10570 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10572 * autorevert.el (auto-revert-handler): Ensure, that
10573 file-readable-p is applied only for local files or in
10574 auto-revert-tail-mode.
10576 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10578 * server.el (server-eval-at): Handle non-tcp connections.
10579 Decode result string.
10581 * server.el (server-msg-size): New constant.
10582 (server-reply-print): New function.
10583 (server-eval-and-print): Use it.
10584 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10585 Handle -print-nonl.
10587 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10589 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10592 2012-03-11 Chong Yidong <cyd@gnu.org>
10594 * simple.el (goto-line): Doc fix (Bug#9938).
10596 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10598 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10599 when finished (Bug#10963).
10601 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10603 * window.el (split-window-below): Fix bug in case where
10604 split-window-keep-point is nil (Bug#10971).
10606 2012-03-11 Juri Linkov <juri@jurta.org>
10608 * replace.el (replace-highlight): Set isearch-word to nil
10609 unconditionally. (Bug#10887)
10611 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10613 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10614 mairix-replace-illegal-chars; all callers changed. Don't remove
10615 ^, ~, and = characters: they are meaningful in mairix search specs.
10616 (mairix-widget-create-query): Add usage information about mairix
10617 search forms: negating words, searching for substrings, etc.
10619 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10621 * international/fontset.el (font-encoding-alist): Add an entry for
10622 ksx1001 (Bug#5667).
10624 2012-03-10 Richard Stallman <rms@gnu.org>
10626 * mail/sendmail.el (mail-encode-header):
10627 Set rfc2047-encode-encoded-words.
10629 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10631 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10632 view buffer means not swapped.
10633 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10634 (rmail-write-region-annotate): Error if real text has disappeared.
10636 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10638 2012-03-10 Chong Yidong <cyd@gnu.org>
10640 * emulation/cua-rect.el (cua--init-rectangles):
10641 * emulation/cua-base.el (cua--init-keymaps):
10642 Add delete-forward-char to remappings (Bug#9666).
10644 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10646 * speedbar.el (speedbar-unhighlight-one-tag-line):
10647 Avoid unhighlighting due to frame switching (Bug#10275).
10649 2012-03-10 Chong Yidong <cyd@gnu.org>
10651 * minibuffer.el (completion-in-region, completion-help-at-point):
10652 Give the completion field overlay a high priority (Bug#6830).
10654 * dired.el (dired-goto-file): Recognize absolute file name
10655 listings (Bug#7126).
10656 (dired-goto-file-1): New helper function.
10657 (dired-toggle-read-only): Inhibit warnings.
10659 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10661 * net/dbus.el (dbus-property-handler): Return empty array if
10662 there are no properties.
10664 2012-03-09 Leo Liu <sdl.web@gmail.com>
10666 * savehist.el (savehist-printable): Stricter check for string
10669 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10671 * mail/smtpmail.el (smtpmail-send-it):
10672 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10675 2012-03-09 Glenn Morris <rgm@gnu.org>
10677 * files.el (dir-locals-find-file):
10678 Don't check result is regular, readable.
10679 (dir-locals-read-from-file): Demote errors.
10681 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10683 * international/quail.el (quail-insert-kbd-layout):
10684 Insert invisible LRM characters before each character in a keyboard
10685 layout cell, to prevent their reordering by bidi display engine.
10686 For details, see the discussion in
10687 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10689 2012-03-08 Alan Mackenzie <acm@muc.de>
10691 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10692 the starting position; make it extend the marked region when
10693 invoked repeatedly - all under appropriate circumstances.
10694 Fixes bugs #5525, #10906.
10696 2012-03-08 Glenn Morris <rgm@gnu.org>
10698 * files.el (locate-dominating-file, dir-locals-find-file):
10699 Undo 2012-03-06 change.
10701 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10703 * international/quail.el (quail-help):
10704 Force bidi-paragraph-direction be left-to-right. See discussion in
10705 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10708 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10710 Avoid superfluous registering of signals. (Bug#10807)
10712 * notifications.el (notifications-on-action-object)
10713 (notifications-on-close-object): New defvars.
10714 (notifications-on-action-signal, notifications-on-closed-signal):
10715 Unregister the signal if not needed any longer.
10716 (notifications-notify): Register `notifications-action-signal' or
10717 `notifications-closed-signal', if :on-action or :on-close has been
10718 passed as argument.
10720 2012-03-07 Chong Yidong <cyd@gnu.org>
10722 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10725 2012-03-06 Glenn Morris <rgm@gnu.org>
10727 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10728 (x-disown-selection-internal, x-get-selection-internal):
10729 Doc fix (add arglist signatures). (Bug#10783)
10731 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10733 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10734 Handle breakpoints with no "type".
10736 2012-03-06 Glenn Morris <rgm@gnu.org>
10738 * files.el (locate-dominating-file): Add optional predicate argument.
10739 (dir-locals-find-file): Make use of above change.
10741 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10743 * info.el (Info-insert-dir): Also try "dir.gz".
10745 2012-03-06 Glenn Morris <rgm@gnu.org>
10747 * files.el (dir-locals-find-file):
10748 Ignore non-readable or non-regular files. (Bug#10928)
10750 * files.el (locate-dominating-file): Doc fix.
10752 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10754 * calendar/calendar.el (calendar-set-mode-line):
10755 `getenv' returns a string. (Bug#10951)
10757 2012-03-05 Leo Liu <sdl.web@gmail.com>
10759 * simple.el (backward-delete-char-untabify): Constrain point to
10762 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10764 2012-03-05 Chong Yidong <cyd@gnu.org>
10766 * simple.el (count-words): If called from Lisp, return the word
10767 count, for symmetry with `count-lines'. Arglist changed.
10768 (count-words--message): Args changed. Consolidate counting code
10769 from count-words and count-words-region.
10770 (count-words-region): Caller changed.
10771 (count-lines-region): Make it an obsolete alias.
10773 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10775 * saveplace.el (save-place-to-alist)
10776 (save-place-ignore-files-regexp): Allow value nil to disable this
10779 2012-03-04 Chong Yidong <cyd@gnu.org>
10781 * faces.el (face-spec-reset-face): For the default face, reset the
10782 attributes to default values (Bug#10748).
10784 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10786 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10787 previous patch: Check `message-send-mail-function', and not the
10788 default function (bug#10897).
10790 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10792 * notifications.el (notifications-on-action-signal)
10793 (notifications-on-closed-signal): Check for unique service name of
10794 incoming event. Fix error in removing entry.
10795 (top): Register for signals with wildcard service name.
10796 (notifications-notify): Use daemon unique service name for map entries.
10798 2012-03-04 Chong Yidong <cyd@gnu.org>
10800 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10802 2012-03-04 Glenn Morris <rgm@gnu.org>
10804 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10805 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10806 (expand-abbrev, define-abbrev-table): Doc fixes.
10808 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10810 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10811 `message-default-send-mail-function' and not `send-mail-function'
10812 when doing the prompting for `sendmail-query-once' before sending
10813 in Message buffers (bug#10897).
10815 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10816 This is inconsistent with all the other stream functions, which leave
10817 the setting up to the higher levels (if so wanted) (bug#10931).
10819 2012-03-02 Alan Mackenzie <acm@muc.de>
10821 Depessimize the handling of very large macros.
10823 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10824 (c-macro-cache-syntactic): New variables to implement a one
10825 element macro cache.
10826 (c-invalidate-macro-cache): New function.
10827 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10828 Adapt to use the new cache.
10829 (c-state-safe-place): Use better the cache of safe positions.
10830 (c-state-semi-nonlit-pos-cache)
10831 (c-state-semi-nonlit-pos-cache-limit):
10832 New variables for...
10833 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10834 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10835 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10836 Use c-state-semi-safe-place.
10838 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10839 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10841 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10843 * jka-compr.el (jka-compr-call-process):
10844 Apply `file-accessible-directory-p' only when the default directory is
10847 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10849 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10850 access of FILE2, if FILE1 does not exist.
10852 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10853 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10855 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10856 Add "PAGER=" to `process-environment'.
10858 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10860 * progmodes/sql.el: Bug fix
10861 (sql-get-login-ext): Save login values in globals.
10862 (sql-get-login): Use new version of `sql-get-login-ext'.
10863 (sql-interactive-mode): Set global `sql-connection' to nil.
10864 (sql-connect): Set global values for connection.
10865 (sql-product-interactive): Save global values as buffer local.
10867 2012-02-29 Leo Liu <sdl.web@gmail.com>
10869 * abbrev.el (define-abbrevs): Reset sys to nil.
10871 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10873 * files.el (file-equal-p): Rename from `files-equal-p'.
10874 Return nil when one or both files don't exist.
10875 (file-subdir-of-p): Now only top directory must exists,
10876 return nil if it doesn't.
10877 (copy-directory): No need to test with `file-subdir-of-p' after
10879 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10882 2012-02-28 Glenn Morris <rgm@gnu.org>
10884 * shell.el (shell-mode):
10885 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10886 * play/landmark.el (landmark-font-lock-face-O):
10887 * play/handwrite.el (handwrite):
10888 * play/gomoku.el (gomoku-O):
10889 * net/browse-url.el (browse-url-browser-display):
10890 * international/mule.el (define-charset):
10891 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10892 * filesets.el (filesets-find-file-delay):
10893 * eshell/em-xtra.el (eshell-xtra):
10894 * eshell/em-unix.el (eshell-grep):
10895 * emulation/viper.el (viper-mode):
10896 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10897 * emacs-lisp/easymenu.el (easy-menu-define):
10898 * calendar/timeclock.el (timeclock-use-display-time):
10900 * bookmark.el (bookmark-save-flag):
10901 Doc fix (standardize possessive apostrophe usage).
10903 2012-02-27 Chong Yidong <cyd@gnu.org>
10905 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10906 Fix key-binding lookup for ESC key (Bug#9146).
10908 * font-lock.el (font-lock-specified-p): Rename from
10909 font-lock-spec-present. Callers changed.
10911 2012-02-27 Daniel Hackney <dan@haxney.org>
10913 * emacs-lisp/package.el (package-compute-transaction):
10914 Handle holding a package version to t in package-load-list.
10916 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10918 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10919 (tramp-get-inode, tramp-get-device): Use cached values.
10921 2012-02-26 Alan Mackenzie <acm@muc.de>
10923 Check there is a font-lock specification before doing initial
10926 * font-core.el (font-lock-mode): Move the conditional from
10927 :after-hook to font-lock-initial-fontify.
10928 (font-lock-default-function): Move the check for a specification
10929 to font-lock-spec-present.
10931 * font-lock.el (font-lock-initial-fontify): Call ...
10932 (font-lock-spec-present): New function.
10934 2012-02-26 Jim Blandy <jimb@red-bean.com>
10936 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10937 (gdb-send): Apply it to the operand of the '-interpreter-exec
10938 console' command, so that we can pass arguments with (say) quotes
10939 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10941 2012-02-26 Chong Yidong <cyd@gnu.org>
10943 * help-fns.el (describe-function-1): Clarify description of
10944 remapping (Bug#10844).
10946 * files.el (files-equal-p): Doc fix.
10947 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10948 and quit the loop once a mismatch is found.
10950 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10952 * bs.el (bs--show-with-configuration): Don't throw an error
10953 if the window cannot be split; otherwise, subsequent calls to
10954 bs-show fail, restoring a stale window config. (Bug#10882)
10956 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10958 * term/ns-win.el (global-map): Bind ns-drag-file to
10959 ns-find-file (Bug#5855, Bug#10050).
10961 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10963 * calendar/parse-time.el (parse-time-string): Allow extractor to
10966 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10968 * net/tramp.el (tramp-file-name-for-operation):
10969 Add `files-equal-p' and `file-subdir-of-p'.
10971 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10972 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10973 Add COPY-CONTENTS argument.
10975 2012-02-25 Chong Yidong <cyd@gnu.org>
10977 Add custom groups for VC backends, for consistency with vc-bzr.
10979 * vc/vc-arch.el (vc-arch):
10980 * vc/vc-cvs.el (vc-cvs):
10981 * vc/vc-git.el (vc-git):
10982 * vc/vc-hg.el (vc-hg):
10983 * vc/vc-mtn.el (vc-mtn):
10984 * vc/vc-rcs.el (vc-rcs):
10985 * vc/vc-sccs.el (vc-sccs):
10986 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10987 All relevant defcustoms reassigned.
10989 2012-02-25 Chong Yidong <cyd@gnu.org>
10991 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10993 * term/x-win.el (x-initialize-window-system): Reduce default for
10994 x-selection-timeout to 5 seconds (Bug#8869).
10996 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10998 * files.el (files-equal-p, file-subdir-of-p): New functions.
10999 (copy-directory): Error when trying to copy a directory on itself.
11000 Add missing copy-contents arg to tramp handler.
11001 * dired-aux.el (dired-copy-file-recursive): Same.
11002 (dired-create-files): Modify destination when source is equal to
11003 dest when copying files.
11004 Return also when dest is a subdir of source. (Bug#10489)
11006 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11008 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11011 2012-02-23 Alan Mackenzie <acm@muc.de>
11013 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11014 parameter "after-hook:" to allow the expansion to run code after
11015 the execution of the mode hooks.
11017 * font-lock.el (font-lock-initial-fontify): New function extracted
11018 from font-lock-mode-internal.
11020 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11023 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11026 (completion--cache-all-sorted-completions): New function.
11027 (completion-all-sorted-completions): Use it.
11028 (completion--do-completion, minibuffer-force-complete):
11029 Use it to re-instate the flush hook.
11031 * icomplete.el (icomplete-completions): Replace last fix with a better
11034 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11036 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11037 when it might call us back infinitely (bug#10797).
11039 2012-02-23 Glenn Morris <rgm@gnu.org>
11041 * minibuffer.el (completion-category-overrides): Doc fix.
11043 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11045 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11046 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11048 2012-02-23 Glenn Morris <rgm@gnu.org>
11050 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11051 (authors-obsolete-files-regexps, authors-ignored-files)
11052 (authors-ambiguous-files, authors-renamed-files-alist):
11055 2012-02-23 Juri Linkov <juri@jurta.org>
11057 * isearch.el (isearch-occur): Sync interactive spec with occur's
11058 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11060 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11062 2012-02-22 Juri Linkov <juri@jurta.org>
11064 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11065 (ucs-insert): Doc fix. Check for hex digits in the string.
11066 Don't display `nil' in the error message. (Bug#10857)
11068 2012-02-22 Alan Mackenzie <acm@muc.de>
11070 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11072 2012-02-22 Glenn Morris <rgm@gnu.org>
11074 * ffap.el (ffap-c-path):
11075 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11077 2012-02-22 Chong Yidong <cyd@gnu.org>
11079 * custom.el (load-theme): Doc fix.
11081 2012-02-22 Glenn Morris <rgm@gnu.org>
11083 * dired-x.el (dired-guess-shell-alist-default):
11084 Remove escape sequences from nroff output. (Bug#172)
11086 2012-02-21 Glenn Morris <rgm@gnu.org>
11088 * vc/emerge.el (emerge-defvar-local):
11089 Set `permanent-local' property rather than unused `preserved'.
11091 * textmodes/picture.el (picture-delete-char): New alias.
11092 (picture-mode-map): Use it. (Bug#10860)
11093 (picture-mode): Doc fix.
11095 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11097 * newcomment.el (uncomment-region-default): Remove unused binding.
11099 2012-02-21 Glenn Morris <rgm@gnu.org>
11101 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11102 (picture-self-insert, picture-tab-chars): Doc fix.
11103 (picture-mode-map): Fix C-a, C-e.
11105 2012-02-20 Glenn Morris <rgm@gnu.org>
11107 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11109 2012-02-20 Leo Liu <sdl.web@gmail.com>
11111 * icomplete.el (icomplete-completions): Check FROM arg before
11112 passing to substring (Bug#10850).
11114 2012-02-19 Chong Yidong <cyd@gnu.org>
11116 * comint.el: Require ansi-color.
11117 (comint-output-filter-functions): Add ansi-color-process-output.
11119 * ansi-color.el: Don't set comint-output-filter-functions; it is
11120 now in the initial value defined in comint.el.
11121 (ansi-color-apply-face-function): New variable.
11122 (ansi-color-apply-on-region): Use it.
11123 (ansi-color-apply-overlay-face): New function.
11125 * shell.el (shell): No need to require ansi-color.
11126 (shell-mode): Use ansi-color-apply-face-function to highlight
11127 color escapes using font-lock-face property (Bug#10835).
11129 2012-02-19 Chong Yidong <cyd@gnu.org>
11131 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11132 mode-line formats (Bug#10839).
11134 2012-02-18 Glenn Morris <rgm@gnu.org>
11136 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11138 * mail/undigest.el (unforward-rmail-message): Doc fix.
11140 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11142 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11144 * international/characters.el (script-list): Sync with the latest
11145 Unicode Character Database.
11147 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11149 * international/titdic-cnv.el: Remove duplicate coding tag.
11150 * language/cham.el: Likewise.
11151 * language/tai-viet.el: Likewise.
11153 2012-02-18 Glenn Morris <rgm@gnu.org>
11155 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11156 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11157 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11158 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11159 * calendar/holidays.el (holiday-bahai-holidays)
11160 (calendar-holidays, list-holidays):
11161 Use utf-8 Bahá'í in doc-strings, menus, etc.
11163 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11165 * saveplace.el (save-place-ignore-files-regexp): New variable
11166 allowing for excluding files from saving their location of point.
11167 The default value matches the temporary commit message editing
11168 files from Git, SVN, Bazaar, and Mercurial.
11169 (save-place-to-alist): Use it.
11171 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11172 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * newcomment.el (uncomment-region-default): Don't leave extra space
11175 when an arg is provided (bug#8150).
11177 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11179 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11181 2012-02-17 Glenn Morris <rgm@gnu.org>
11183 * net/socks.el: Require network-stream. (Bug#10599)
11185 2012-02-17 Kenichi Handa <handa@m17n.org>
11187 * international/charprop.el:
11188 * international/uni-name.el:
11189 * international/uni-old-name.el:
11190 * international/uni-comment.el: Regenerate.
11192 2012-02-16 Glenn Morris <rgm@gnu.org>
11194 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11195 Interactively in calendar buffer, give an error if not on a date.
11197 2012-02-15 Glenn Morris <rgm@gnu.org>
11199 * shell.el (shell-delimiter-argument-list):
11200 Revert 2011-02-17 change. (Bug#8027)
11202 2012-02-15 Chong Yidong <cyd@gnu.org>
11204 * minibuffer.el (completion-at-point-functions): Doc fix.
11206 * custom.el (defcustom): Doc fix; note use of defvar.
11208 2012-02-15 Glenn Morris <rgm@gnu.org>
11210 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11213 2012-02-14 Glenn Morris <rgm@gnu.org>
11215 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11217 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11219 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11220 way the ports list is computed.
11221 (smtpmail-query-smtp-server): Prompt the user for a port number if
11222 we can't connect to any of the standard ports (bug#10810).
11224 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11226 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11228 2012-02-13 Glenn Morris <rgm@gnu.org>
11230 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11232 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11234 * net/gnutls.el (gnutls-trustfiles): New variable.
11235 (gnutls-negotiate): Use it.
11237 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11239 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11240 does its stuff if Gnus is running.
11242 2012-02-13 Alan Mackenzie <acm@muc.de>
11244 Fix a loop in c-set-fl-decl-start.
11246 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11247 c-backward-syntactic-ws actually moves backwards.
11249 2012-02-13 Leo Liu <sdl.web@gmail.com>
11251 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11252 beginning so that all \C-o chars are removed.
11254 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11256 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11258 2012-02-12 Alan Mackenzie <acm@muc.de>
11260 Fix infinite loop with long macros.
11261 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11263 2012-02-12 Chong Yidong <cyd@gnu.org>
11265 * window.el (display-buffer): Doc fix (Bug#10785).
11267 2012-02-12 Glenn Morris <rgm@gnu.org>
11269 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11270 (x-disown-selection-internal, x-get-selection-internal):
11271 Sync docs with the xselect.c versions.
11273 * allout-widgets.el: Add missing license notice.
11275 2012-02-11 Glenn Morris <rgm@gnu.org>
11277 * select.el (x-get-selection-internal, x-own-selection-internal)
11278 (x-disown-selection-internal):
11279 * x-dnd.el (x-get-selection-internal): Update declarations.
11281 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11283 * window.el (window-sides-slots):
11284 * tool-bar.el (tool-bar-position):
11285 * term/xterm.el (xterm-extra-capabilities):
11286 * ses.el (ses-self-reference-early-detection):
11287 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11288 (verilog-auto-wire-type)
11289 (verilog-auto-delete-trailing-whitespace)
11290 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11291 (verilog-auto-tieoff-declaration):
11292 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11293 (sql-oracle-statement-starters, sql-oracle-scan-on):
11294 * progmodes/prolog.el (prolog-align-comments-flag)
11295 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11296 (prolog-left-indent-regexp, prolog-paren-indent-p)
11297 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11298 (prolog-types, prolog-mode-specificators)
11299 (prolog-determinism-specificators, prolog-directives)
11300 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11301 (prolog-electric-dot-flag)
11302 (prolog-electric-dot-full-predicate-template)
11303 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11304 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11305 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11306 (prolog-program-switches, prolog-prompt-regexp)
11307 (prolog-debug-on-string, prolog-debug-off-string)
11308 (prolog-trace-on-string, prolog-trace-off-string)
11309 (prolog-zip-on-string, prolog-zip-off-string)
11310 (prolog-use-standard-consult-compile-method-flag)
11311 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11312 (prolog-imenu-max-lines, prolog-info-predicate-index)
11313 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11314 (prolog-char-quote-workaround):
11315 * progmodes/cc-vars.el (c-defun-tactic):
11316 * net/tramp.el (tramp-encoding-command-interactive)
11317 (tramp-local-end-of-line):
11318 * net/soap-client.el (soap-client):
11319 * net/netrc.el (netrc-file):
11320 * net/gnutls.el (gnutls):
11321 * minibuffer.el (completion-category-overrides)
11322 (completion-cycle-threshold)
11323 (completion-pcm-complete-word-inserts-delimiters):
11324 * man.el (Man-name-local-regexp):
11325 * mail/feedmail.el (feedmail-display-full-frame):
11326 * international/characters.el (glyphless-char-display-control):
11327 * eshell/em-ls.el (eshell-ls-date-format):
11328 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11329 (lisp-lambda-list-keyword-parameter-indentation)
11330 (lisp-lambda-list-keyword-parameter-alignment):
11331 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11332 * dired-x.el (dired-omit-verbose):
11333 * cus-theme.el (custom-theme-allow-multiple-selections):
11334 * calc/calc.el (calc-highlight-selections-with-faces)
11335 (calc-lu-field-reference, calc-lu-power-reference)
11336 (calc-note-threshold):
11337 * battery.el (battery-mode-line-limit):
11338 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11339 (archive-7z-update):
11340 * allout.el (allout-prefixed-keybindings)
11341 (allout-unprefixed-keybindings)
11342 (allout-inhibit-auto-fill-on-headline)
11343 (allout-flattened-numbering-abbreviation):
11344 * allout-widgets.el (allout-widgets-auto-activation)
11345 (allout-widgets-icons-dark-subdir)
11346 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11347 (allout-widgets-theme-dark-background)
11348 (allout-widgets-theme-light-background)
11349 (allout-widgets-item-image-properties-emacs)
11350 (allout-widgets-item-image-properties-xemacs)
11351 (allout-widgets-run-unit-tests-on-load)
11352 (allout-widgets-time-decoration-activity)
11353 (allout-widgets-hook-error-post-time)
11354 (allout-widgets-track-decoration):
11355 Add missing :version tags to new defcustoms and defgroups.
11357 * progmodes/sql.el (sql-ansi-statement-starters)
11358 (sql-oracle-statement-starters): Add custom type.
11360 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11361 (prolog-system-version): Give it a type.
11363 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11365 * term/pc-win.el (x-select-text, x-selection-owner-p)
11366 (x-own-selection-internal, x-disown-selection-internal)
11367 (x-get-selection-internal): Sync doc strings and argument lists
11368 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11370 2012-02-11 Leo Liu <sdl.web@gmail.com>
11372 * progmodes/python.el (python-end-of-statement): Fix infinite
11375 2012-02-10 Glenn Morris <rgm@gnu.org>
11377 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11378 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11380 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11382 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11383 about SMTP before checking the From header.
11385 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11386 into own function for reuse by emacsbug.el.
11388 2012-02-10 Leo Liu <sdl.web@gmail.com>
11390 * subr.el (condition-case-unless-debug): Rename from
11391 condition-case-no-debug. All callers changed.
11392 (with-demoted-errors): Fix caller.
11394 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11395 * nxml/rng-valid.el (rng-do-some-validation):
11396 * emacs-lisp/package.el (package-refresh-contents)
11397 (package-menu-execute):
11398 * desktop.el (desktop-create-buffer):
11399 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11401 2012-02-10 Glenn Morris <rgm@gnu.org>
11403 * textmodes/bibtex.el:
11404 Add missing :version tags for new/changed defcustoms.
11406 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11408 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11410 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11411 (smtpmail-via-smtp): Use it, or fall back on the From address.
11412 (smtpmail-send-it): Ditto.
11414 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11416 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11417 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11418 (byte-compile-tmp-var): New const.
11419 (byte-compile-defvar): Use it to minimize .elc size.
11420 Just use `defvar' rather than simulate it (bug#10761).
11422 2012-02-09 Glenn Morris <rgm@gnu.org>
11424 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11426 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11429 * progmodes/compile.el (compilation-error-screen-columns)
11430 (compilation-first-column, compilation-filter-start): Doc fixes.
11432 * vc/log-view.el (log-view-toggle-entry-display):
11433 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11435 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11436 (report-emacs-bug-can-use-xdg-email):
11437 (report-emacs-bug-insert-to-mailer): Doc fixes.
11438 (report-emacs-bug): Message fix.
11440 * net/browse-url.el (browse-url-can-use-xdg-open)
11441 (browse-url-xdg-open): Doc fixes.
11443 * electric.el (electric-indent-mode, electric-pair-mode)
11444 (electric-layout-rules, electric-layout-mode): Doc fixes.
11445 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11447 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11449 * server.el (server-unselect-display): Don't inadvertently kill
11450 the current buffer. (Bug#10729)
11452 2012-02-08 Glenn Morris <rgm@gnu.org>
11454 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11455 (sql-list-table): Doc fixes.
11457 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11458 Comment out (does nothing).
11460 * completion.el (dynamic-completion-mode):
11461 * dirtrack.el (dirtrack-debug-mode):
11462 * electric.el (electric-layout-mode):
11463 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11464 * face-remap.el (text-scale-mode, buffer-face-mode):
11465 * iimage.el (iimage-mode):
11466 * image-mode.el (image-transform-mode):
11467 * minibuffer.el (completion-in-region-mode):
11468 * scroll-lock.el (scroll-lock-mode):
11469 * simple.el (next-error-follow-minor-mode):
11470 * tar-mode.el (tar-subfile-mode):
11471 * tooltip.el (tooltip-mode):
11472 * vcursor.el (vcursor-use-vcursor-map):
11473 * wid-browse.el (widget-minor-mode):
11474 * emulation/tpu-edt.el (tpu-edt-mode):
11475 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11476 * international/iso-ascii.el (iso-ascii-mode):
11477 * language/thai-util.el (thai-word-mode):
11478 * mail/supercite.el (sc-minor-mode):
11479 * net/goto-addr.el (goto-address-mode):
11480 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11481 * progmodes/cwarn.el (cwarn-mode):
11482 * progmodes/flymake.el (flymake-mode):
11483 * progmodes/glasses.el (glasses-mode):
11484 * progmodes/hideshow.el (hs-minor-mode):
11485 * progmodes/pascal.el (pascal-outline-mode):
11486 * textmodes/enriched.el (enriched-mode):
11487 * vc/smerge-mode.el (smerge-mode):
11488 Doc fixes (minor mode argument).
11490 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11492 * ls-lisp.el (ls-lisp-sanitize): New function.
11493 (ls-lisp-insert-directory): Use it to fix or remove any elements
11494 in file-alist with missing attributes. (Bug#4673)
11496 2012-02-07 Alan Mackenzie <acm@muc.de>
11498 Fix spurious recognition of c-in-knr-argdecl.
11500 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11501 putative K&R region.
11503 2012-02-07 Alan Mackenzie <acm@muc.de>
11505 * progmodes/cc-engine.el (c-forward-objc-directive):
11506 Prevent looping in "#pragma mark @implementation".
11508 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11510 * notifications.el (notifications-on-closed-signal): Make `reason'
11511 optional. (Bug#10744)
11513 2012-02-07 Glenn Morris <rgm@gnu.org>
11515 * emacs-lisp/easy-mmode.el (define-minor-mode):
11516 Doc fixes for the macro and the mode it defines.
11518 * image.el (imagemagick-types-inhibit): Doc fix.
11520 * cus-start.el (imagemagick-render-type): Add it.
11522 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11524 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11525 Set the default at load time, too, so that `font-lock-fontify-buffer'
11526 can be called without setting up the entire mode first. This fixes
11527 a bug in `mm-inline-text' with C MIME parts.
11529 2012-02-06 Chong Yidong <cyd@gnu.org>
11531 * simple.el (list-processes--refresh): Delete exited processes
11534 * comint.el (comint-next-prompt): next-single-char-property-change
11535 and prev-single-char-property-change never return nil (Bug#8657).
11537 * custom.el (defcustom): Doc fix (Bug#9711).
11539 2012-02-05 Chong Yidong <cyd@gnu.org>
11541 * cus-edit.el (custom-variable-reset-backup): Quote the value
11542 before storing it in the customized-value property (Bug#6712).
11543 (custom-display): Add a customization type tag.
11544 (custom-buffer-create-internal): Improve tooltip message.
11546 * wid-edit.el (widget-field-value-get): New optional arg to
11547 suppress trailing whitespace truncation.
11548 (character): Use it (Bug#2689).
11550 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11552 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11553 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11555 2012-02-05 Chong Yidong <cyd@gnu.org>
11557 * cus-edit.el (custom-variable-value-create): For mismatched
11558 types, show the current value (Bug#7600).
11560 * custom.el (defcustom): Doc fix.
11562 2012-02-05 Glenn Morris <rgm@gnu.org>
11564 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11566 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11568 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11569 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11570 (pp-last-sexp): Use `looking-at-p'.
11572 2012-02-04 Glenn Morris <rgm@gnu.org>
11574 * files.el (revert-buffer):
11575 Doc fix (mention revert-buffer-in-progress-p).
11577 * emacs-lisp/ert-x.el (ert-simulate-command):
11578 Check deferred-action-list (which is obsolete) is bound.
11580 * subr.el (with-wrapper-hook): Doc fixes.
11582 * simple.el (filter-buffer-substring-functions)
11583 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11585 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11587 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11588 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11590 2012-02-04 Leo Liu <sdl.web@gmail.com>
11592 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11594 2012-02-04 Glenn Morris <rgm@gnu.org>
11596 * image.el (image-extension-data): Add obsolete alias.
11598 * isearch.el (isearch-update): Doc fix.
11600 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11602 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11604 2012-02-03 Glenn Morris <rgm@gnu.org>
11606 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11607 (image-animate-timeout): Doc fix.
11609 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11611 2012-02-02 Glenn Morris <rgm@gnu.org>
11613 * server.el (server-auth-dir): Doc fix.
11614 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11616 * subr.el (run-mode-hooks): Doc fix.
11618 2012-02-02 Juri Linkov <juri@jurta.org>
11620 * image-mode.el (image-toggle-display-image): Remove tautological
11621 `major-mode' from the `derived-mode-p' test.
11623 2012-02-02 Kenichi Handa <handa@m17n.org>
11625 * composite.el (compose-region): Cancel previous change.
11627 2012-02-02 Kenichi Handa <handa@m17n.org>
11629 * composite.el (compose-region, compose-string): Signal error for
11630 a null string component (Bug#6988).
11632 2012-02-01 Chong Yidong <cyd@gnu.org>
11634 * view.el (view-buffer-other-window, view-buffer-other-frame):
11635 Handle special modes like view-buffer (Bug#10650).
11636 (view-buffer): Simplify.
11638 * frame.el (set-frame-font): Tweak meaning of third argument.
11640 * dynamic-setting.el (font-setting-change-default-font):
11641 Use set-frame-font (Bug#9982).
11643 2012-02-01 Glenn Morris <rgm@gnu.org>
11645 * progmodes/compile.el (compilation-internal-error-properties):
11646 Respect compilation-first-column in the "*compilation*" buffer.
11648 * emacs-lisp/easy-mmode.el (define-minor-mode):
11649 Relax :variable's test for a named function.
11651 2012-01-31 Alan Mackenzie <acm@muc.de>
11653 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11656 2012-01-31 Chong Yidong <cyd@gnu.org>
11658 * frame.el (set-frame-font): New arg ALL-FRAMES.
11660 * menu-bar.el (menu-set-font): Use set-frame-font.
11662 * faces.el (face-spec-reset-face): Don't apply unspecified
11663 attribute values to the default face.
11665 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11667 * progmodes/cwarn.el (cwarn): Remove dead link.
11668 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11669 Remove * from defcustom docstrings.
11670 (turn-on-cwarn-mode): Make obsolete.
11671 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11672 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11674 2012-01-31 Glenn Morris <rgm@gnu.org>
11676 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11677 Fix :variable handling of mode a symbol not equal to modefun.
11678 Allow named functions to be used as the cdr of :variable.
11680 2012-01-30 Glenn Morris <rgm@gnu.org>
11682 * emacs-lisp/authors.el (authors-fixed-entries):
11683 Remove reference to deleted file rnewspost.el.
11685 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11687 * window.el (window-with-parameter): Remove unused variable `windows'.
11688 (window--side-check): Remove unused variable `code'.
11689 (window--resize-siblings): Remove unused variable `first'.
11690 (adjust-window-trailing-edge): Remove unused variable `failed'.
11691 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11692 Use `let', not `let*'.
11693 (balance-windows-2): Remove unused variable `found'.
11694 (window--state-put-2): Remove unused variable `splits'.
11695 (window-state-put): Remove unused variable `selected'.
11696 (same-window-p): Use `string-match-p'.
11697 (display-buffer-assq-regexp): Remove unused variable `value'.
11698 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11699 Mark argument ALIST as ignored.
11700 (pop-to-buffer): Remove unused variable `old-window'.
11702 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11704 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11705 and .lzma compressed files.
11707 2012-01-29 Chong Yidong <cyd@gnu.org>
11709 * frame.el (window-system-default-frame-alist): Doc fix.
11711 * dynamic-setting.el (font-setting-change-default-font): Don't
11712 change the default face if SET-FONT argument is non-nil (Bug#9982).
11714 2012-01-29 Samuel Bronson <naesten@gmail.com>
11716 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11718 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11720 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11721 breakpoints in files outside current directory (Bug#6098).
11723 2012-01-29 Chong Yidong <cyd@gnu.org>
11725 * progmodes/python.el: Require ansi-color at top-level.
11727 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11728 Define and use in Emacs Lisp mode (Bug#9360).
11729 (lisp-mode-abbrev-table): Add doc.
11730 (lisp-mode-variables): Don't set local-abbrev-table.
11731 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11733 2012-01-28 Roland Winkler <winkler@gnu.org>
11735 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11737 2012-01-28 Roland Winkler <winkler@gnu.org>
11739 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11740 (bibtex-set-dialect): Use it. Either set global values of
11741 dialect-dependent variables or bind these variables buffer-locally
11743 (bibtex-mode): Call bibtex-set-dialect via
11744 hack-local-variables-hook.
11745 (bibtex-dialect): Update docstring.
11746 Add safe-local-variable predicate.
11747 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11748 bibtex-set-dialect.
11749 (bibtex-mode-map): Define menu for each dialect.
11750 (bibtex-entry): Fix docstring.
11752 2012-01-28 Chong Yidong <cyd@gnu.org>
11754 * eshell/esh-arg.el (eshell-quote-argument): New function.
11756 * eshell/esh-ext.el (eshell-invoke-batch-file):
11757 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11758 first arg to eshell-parse-command (Bug#10523).
11760 2012-01-28 Drew Adams <drew.adams@oracle.com>
11762 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11763 `default-directory' is non-nil.
11765 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11767 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11768 line that displays system-configuration-options. (Bug#9924)
11770 2012-01-28 Drew Adams <drew.adams@oracle.com>
11772 * descr-text.el (describe-char): Show information about POS, in
11773 addition to information about the character at POS. Improve and
11774 update the doc string. Change "code point" to "code point in
11775 charset", to avoid confusion with the character's Unicode code
11776 point shown above that. (Bug#10129)
11778 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11780 * descr-text.el (describe-char): Show the raw character, not only
11781 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11782 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11785 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11787 * emacs-lisp/package.el (package-install):
11788 Run package-refresh-contents if there is no archive yet (Bug#9798).
11790 2012-01-28 Chong Yidong <cyd@gnu.org>
11792 * emacs-lisp/package.el (package-maybe-load-descriptor):
11793 New function, split from package-maybe-load-descriptor.
11794 (package-maybe-load-descriptor): Use it.
11795 (package-download-transaction): Fully load required packages
11796 inside the loop, so that `require' calls work (Bug#10593).
11797 (package-install): No need to call package-initialize now.
11799 2012-01-28 Chong Yidong <cyd@gnu.org>
11801 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11803 * tooltip.el (tooltip-mode): Doc fix.
11804 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11806 * frame.el (set-cursor-color): Doc fix (Bug#352).
11808 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11809 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11811 * cus-edit.el (custom-buffer-create-internal): Fix search button
11812 action (Bug#10542).
11813 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11815 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11817 * dired.el (dired-mark-files-regexp):
11818 Include any subdirectory components. (Bug#10445)
11820 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11822 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11823 Handle [host]:port syntax. (Bug#10533)
11825 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11827 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11829 2012-01-26 Glenn Morris <rgm@gnu.org>
11831 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11832 * term.el (term-raw-escape-map): Use Control-X-prefix.
11833 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11835 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11837 * window.el (window-state-get, window--state-get-1): Don't deal
11838 with fixed-sizeness of windows. Simplify code.
11840 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11842 * window.el (window--state-get-1, window--state-put-2):
11843 Don't save and restore the mark.
11845 2012-01-25 Chong Yidong <cyd@gnu.org>
11847 * custom.el (custom-variable-p): Doc fix.
11849 2012-01-25 Glenn Morris <rgm@gnu.org>
11851 * dired.el (dired-goto-file): Handle some of the more common
11852 characters that `ls -b' escapes. (Bug#10596)
11854 * progmodes/compile.el (compilation-next-error-function):
11855 Respect compilation-first-column in the "*compilation*" buffer.
11856 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11858 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11860 2012-01-24 Glenn Morris <rgm@gnu.org>
11862 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11864 2012-01-24 Julien Danjou <julien@danjou.info>
11866 * color.el (color-rgb-to-hsl): Fix value computing.
11867 (color-hue-to-rgb): New function.
11868 (color-hsl-to-rgb): New function.
11869 (color-clamp, color-saturate-hsl, color-saturate-name)
11870 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11871 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11873 2012-01-24 Glenn Morris <rgm@gnu.org>
11875 * vc/vc-rcs.el (vc-rcs-create-tag):
11876 * vc/vc-sccs.el (vc-sccs-create-tag):
11877 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11879 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11881 * eshell/esh-util.el (eshell-read-hosts-file):
11882 Skip comment lines. (Bug#10549)
11884 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11886 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11888 * subr.el (display-delayed-warnings): Doc fix.
11889 (collapse-delayed-warnings): New function to collapse identical
11891 (delayed-warnings-hook): Add it.
11893 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11895 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11897 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11898 (tramp-default-user-alist): Don't add "pscp".
11899 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11900 property "login-as", if set. (Bug#10530)
11902 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11904 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11905 "plink1" and "psftp". (Bug#10530)
11907 2012-01-21 Kenichi Handa <handa@m17n.org>
11909 * international/mule-cmds.el (prefer-coding-system): Show a
11910 warning message if the default value of file-name-coding-system
11913 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11915 * windmove.el (windmove-reference-loc):
11916 Fix windmove-reference-loc miscalculation.
11918 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11920 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11923 2012-01-21 Glenn Morris <rgm@gnu.org>
11925 * international/mule.el (auto-coding-alist): Add .tbz.
11927 * files.el (local-enable-local-variables): Doc fix.
11928 (inhibit-local-variables-regexps): Rename from
11929 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11930 Doc fix. Add some extensions from auto-coding-alist.
11931 (inhibit-local-variables-suffixes):
11932 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11933 (inhibit-local-variables-p):
11934 New function, extracted from set-auto-mode-1.
11935 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11936 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11937 (hack-local-variables): Doc fix. Make the mode-only case
11938 respect enable-local-variables and friends.
11939 Respect inhibit-local-variables-regexps for file-locals, but
11940 not for directory-locals.
11941 (set-visited-file-name):
11942 Take account of inhibit-local-variables-regexps.
11943 Whether it applies may change as the file name is changed.
11944 * jka-cmpr-hook.el (jka-compr-install):
11945 * jka-compr.el (jka-compr-uninstall):
11946 Update for inhibit-first-line-modes-suffixes name change.
11948 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11950 * help-macro.el (make-help-screen): Temporarily restore original
11951 binding for minor-mode-map-alist (Bug#10454).
11953 2012-01-19 Julien Danjou <julien@danjou.info>
11955 * color.el (color-name-to-rgb): Use the white color to find the max
11956 color component value and return correctly computed values.
11957 (color-name-to-rgb): Add missing float conversion for max value.
11959 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11961 * window.el (window--state-get-1, window-state-get): Do not use
11962 special state value for window-persistent-parameters.
11963 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11964 (window--state-put-2): Reset all window parameters to nil before
11965 assigning values of persistent parameters.
11967 2012-01-18 Alan Mackenzie <acm@muc.de>
11969 Eliminate sluggishness and hangs in fontification of "semicolon
11972 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11973 Change value 10000 -> 3000.
11974 (c-state-safe-place): Reformulate so it doesn't stack up an
11975 infinite number of wrong entries in c-state-nonlit-pos-cache.
11976 (c-determine-limit-get-base, c-determine-limit): New functions to
11977 determine backward search limits disregarding literals.
11978 (c-find-decl-spots): Amend commenting.
11979 (c-cheap-inside-bracelist-p): New function which detects "={".
11981 * progmodes/cc-fonts.el
11982 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11984 (c-font-lock-declarations): Fix an occurrence of point being
11985 undefined. Check additionally for point being in a bracelist or
11986 near a macro invocation without a semicolon so as to avoid a
11987 fruitless time consuming search for a declarator. Give a more
11988 precise search limit for declarators using the new
11991 2012-01-18 Glenn Morris <rgm@gnu.org>
11993 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11994 (set-auto-mode): Doc fixes.
11996 2012-01-17 Glenn Morris <rgm@gnu.org>
11998 * isearch.el (search-nonincremental-instead): Fix doc typo.
12000 * dired.el (dired-insert-directory): Handle newlines in directory name.
12001 (dired-build-subdir-alist): Unescape newlines in directory name.
12003 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12005 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12006 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12007 (tramp-action-terminal): Use it. (Bug#10530)
12009 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12013 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12015 * window.el (window-state-ignored-parameters): Remove variable.
12016 (window--state-get-1): Rename argument MARKERS to IGNORE.
12017 Handle persistent window parameters. Make copy of clone-of
12018 parameter only if requested. (Bug#10348)
12019 (window--state-put-2): Install a window parameter only if it has
12020 a non-nil value or an existing parameter shall be overwritten.
12022 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12024 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12026 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12028 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12029 don't pass the (nil) value of `upnode' to string-match.
12031 2012-01-14 Chong Yidong <cyd@gnu.org>
12033 * startup.el (command-line): Fix X resource class for cursorColor.
12034 Fix values recognized by the cursorBlink resource.
12036 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12038 * epg.el (epg--make-temp-file): Avoid permission race condition
12039 when running on old Emacs versions (bug#10403).
12041 2012-01-14 Glenn Morris <rgm@gnu.org>
12043 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12045 2012-01-13 Alan Mackenzie <acm@muc.de>
12047 Fix filling for when filladapt mode is enabled.
12049 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12050 c-mask-paragraph, pass in `fill-paragraph' rather than
12051 `fill-region-as-paragraph'. (This is a reversion of a previous
12053 * progmodes/cc-mode.el (c-basic-common-init):
12054 Make fill-paragraph-handle-comment buffer local and set it to nil.
12056 2012-01-13 Glenn Morris <rgm@gnu.org>
12058 * dired.el (dired-switches-escape-p): New function.
12059 (dired-insert-directory): Use dired-switches-escape-p.
12060 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12062 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12064 2012-01-12 Glenn Morris <rgm@gnu.org>
12066 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12067 changes in adaptive-fill-regexp. (Bug#10276)
12069 2012-01-11 Alan Mackenzie <acm@muc.de>
12071 Fix Emacs bug #10463 - put `widen's around the critical spots.
12073 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12074 widen around each invocation of c-state-pp-to-literal. Remove an
12075 unused let variable.
12077 2012-01-11 Glenn Morris <rgm@gnu.org>
12079 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12082 2012-01-10 Chong Yidong <cyd@gnu.org>
12084 * net/network-stream.el (network-stream-open-starttls):
12085 Avoid emitting a confusing error message when the server gives a bad
12086 response to the capability command.
12088 2012-01-10 Glenn Morris <rgm@gnu.org>
12090 * mail/unrmail.el (unrmail): Tweak previous change.
12092 2012-01-09 Chong Yidong <cyd@gnu.org>
12094 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12096 2012-01-08 Alan Mackenzie <acm@muc.de>
12098 Optimise font locking in long enum definitions.
12100 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12101 arm to a cond form to handle enums.
12102 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12103 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12105 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12107 * files.el (move-file-to-trash): Preserve default file modes on error.
12110 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12112 * faces.el (set-face-attribute): Clarify the meaning of the nil
12115 * subr.el (with-selected-frame): Mention that the selected frame
12116 is restored (bug#9980).
12118 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12121 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12122 (password-read): Don't autoload unused function.
12124 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12126 * progmodes/which-func.el (which-func-mode): Turn into a
12127 non-interactive function and mark as obsolete (bug#10428).
12129 2012-01-06 Chong Yidong <cyd@gnu.org>
12131 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12132 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12133 functions, along with 1 and -1.
12135 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12137 * time.el (display-time-load-average)
12138 (display-time-default-load-average): Doc fixes. See the thread
12140 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12143 2012-01-06 Glenn Morris <rgm@gnu.org>
12145 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12146 has no messages. (Bug#10377)
12148 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12149 than Info-edit. (Bug#10385)
12151 * time.el (display-time-load-average, display-time-next-load-average):
12154 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12155 local setting of buffer-read-only to the input buffer. (Bug#10419)
12157 * calendar/calendar.el (calendar-mode):
12158 Locally set scroll-margin to 0. (Bug#10379)
12160 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12162 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12164 2012-01-05 Glenn Morris <rgm@gnu.org>
12166 * eshell/em-unix.el (diff-no-select): Autoload it.
12167 (eshell/diff): Use diff-no-select. (Bug#10420)
12169 2012-01-05 Chong Yidong <cyd@gnu.org>
12171 * shell.el (shell-dynamic-complete-functions): Revert last change.
12172 (shell-command-completion-function): New function.
12173 (shell-completion-vars): Use it to implement
12174 shell-completion-execonly (Bug#10417).
12176 * custom.el (enable-theme): Don't set custom-safe-themes.
12178 * cus-theme.el (custom-theme-merge-theme):
12179 Ignore custom-enabled-themes and custom-safe-themes.
12181 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12183 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12184 first prompt in `sql-interacive-mode'.
12185 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12187 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12188 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12189 context of original buffer. Invoke `sql-login-hook'.
12191 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12193 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12194 letters in cite-prefix.
12196 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12198 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12200 2012-01-03 Chong Yidong <cyd@gnu.org>
12202 * shell.el (shell-dynamic-complete-functions):
12203 Put pcomplete-completions-at-point, so as to try
12204 comint-filename-completion first (Bug#10417).
12206 2012-01-02 Richard Stallman <rms@gnu.org>
12208 * battery.el (battery-status-function):
12209 Detect when to use battery-yeeloong-sysfs.
12210 (battery-echo-area-format): Add string for Yeeloong.
12211 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12212 (battery-yeeloong-sysfs): New function.
12214 2012-01-02 Chong Yidong <cyd@gnu.org>
12216 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12217 (dirtrack): Merge code for handling relative filenames in prompt
12218 from shell-dir-cookie-watcher.
12219 (dirtrack-debug-message): New arg to avoid excess format calls.
12221 * shell.el (shell-dir-cookie-re): Variable deleted.
12222 (shell-dir-cookie-watcher): Function deleted.
12223 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12224 with dirtrack-mode.
12226 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12228 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12229 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12232 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12234 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12236 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12238 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12239 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12241 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12243 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12244 also for alternative shells.
12245 (tramp-open-connection-setup-interactive-shell): Check, whether
12246 the shell is a busybox.
12247 (tramp-send-command): Don't suppress multiple prompts for
12248 busyboxes, it hurts.
12250 2011-12-28 Chong Yidong <cyd@gnu.org>
12252 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12253 (gdb-get-source-file): Move mode line update to
12254 gdb-get-source-file (Bug#10087).
12256 2011-12-25 Chong Yidong <cyd@gnu.org>
12258 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12259 gud-gdb-marker-filter without taking it as an argument.
12260 (gud-gdb-run-command-fetch-lines): Caller changed.
12261 (gud-gdb-completion-function): New variable.
12262 (gud-gdb-completion-at-point): Use it.
12263 (gud-gdb-completions-1): Split from gud-gdb-completions.
12265 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12266 function as separate arguments.
12267 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12268 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12269 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12270 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12271 (gdb-stopped, def-gdb-auto-update-trigger)
12272 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12273 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12275 (gud-gdbmi-completions): New function.
12276 (gdb): Use it for generating the completion table.
12278 2011-12-24 Alan Mackenzie <acm@muc.de>
12280 Introduce a mechanism to widen the region used in context font
12281 locking. Use this to protect declarations from losing their contexts.
12283 * progmodes/cc-langs.el (c-before-font-lock-functions):
12284 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12285 (c-before-context-fontification-functions): New defvar, a list of
12286 functions to be run just before context (etc.) font locking.
12288 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12289 New, functionality extracted from
12290 c-neutralize-syntax-in-and-mark-CPP.
12291 (c-in-after-change-fontification): New variable.
12292 (c-after-change): Set c-in-after-change-fontification.
12293 (c-set-fl-decl-start): Rejig its interface, so it can be called
12294 from both after-change and context fontifying.
12295 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12297 (c-standard-font-lock-fontify-region-function): New variable.
12298 (c-font-lock-fontify-region): New function.
12300 2011-12-24 Juri Linkov <juri@jurta.org>
12302 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12305 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12307 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12308 existence of source file. (Bug#10325)
12310 2011-12-23 Alan Mackenzie <acm@muc.de>
12312 Fix unstable fontification inside templates.
12314 * progmodes/cc-langs.el (c-before-font-lock-functions):
12315 Newly created from the singular version. The (c c++ objc) entry now
12316 additionally has c-set-fl-decl-start. The other languages (apart
12317 from AWK) have that as a single entry.
12319 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12320 The functionality for "local" declarations has been extracted to
12321 c-set-fl-decl-start.
12323 * progmodes/cc-mode.el (c-common-init, c-after-change):
12324 Changes due to pluralisation of c-before-font-lock-functions.
12325 (c-set-fl-decl-start): New function, extracted from
12326 c-font-lock-enclosing-decls and enhanced.
12328 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12330 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12332 2011-12-22 Juri Linkov <juri@jurta.org>
12334 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12336 2011-12-22 Chong Yidong <cyd@gnu.org>
12338 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12340 2011-12-21 Drew Adams <drew.adams@oracle.com>
12342 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12344 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12346 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12348 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12350 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12351 highlighting and support. Fix up comments for capitalization.
12352 (cfengine-mode-debug): New var.
12353 (cfengine3-mode): Change the modeline indicator to "CFE3".
12354 (cfengine3-font-lock-keywords): Improve defun highlighting.
12355 (cfengine2-actions): Rename from `cfengine-actions'.
12356 (cfengine2-font-lock-keywords): Rename from
12357 `cfengine-font-lock-keywords'.
12358 (cfengine2-imenu-expression): Rename from
12359 `cfengine-imenu-expression'.
12360 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12361 (cfengine2-beginning-of-defun): Rename from
12362 `cfengine-beginning-of-defun'.
12363 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12364 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12365 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12366 modeline indicator to "CFE2".
12367 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12368 (cfengine-mode-abbrevs): Mark obsolete.
12370 2011-12-21 Chong Yidong <cyd@gnu.org>
12372 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12375 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12377 * window.el (window-normalize-buffer-to-display): Remove.
12378 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12380 2011-12-19 Chong Yidong <cyd@gnu.org>
12382 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12383 Don't signal an error in a predicate function; return non-nil.
12384 (vc-dir-mark-file): Move the error here.
12385 (vc-dir-mark-unmark): If acting on the region, keep going if one
12386 of the entries cannot be marked/unmarked.
12387 (vc-dir-mark-all-files): If current entry is a directory, mark
12388 only child files, as documented.
12390 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12392 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12393 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12396 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12398 * term/ns-win.el (ns-get-selection-internal)
12399 (ns-store-selection-internal): Declare.
12400 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12401 Declare as obsolete.
12402 (ns-get-pasteboard, ns-paste-secondary):
12403 Use ns-get-selection-internal.
12404 (ns-set-pasteboard, ns-copy-including-secondary):
12405 Use ns-store-selection-internal.
12407 2011-12-17 Chong Yidong <cyd@gnu.org>
12409 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12410 (vc-deduce-fileset): Doc fix.
12412 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12414 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12416 2011-12-13 Sam Steingold <sds@gnu.org>
12418 * man.el (Man-getpage-in-background): When running under a
12419 window-system, ignore $MANWIDTH and $COLUMNS.
12421 2011-12-15 Kenichi Handa <handa@m17n.org>
12423 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12424 (setup-ethiopic-environment-internal): Comment out key-binding for
12425 ethio-toggle-punctuation.
12427 2011-12-13 Alan Mackenzie <acm@muc.de>
12429 Add the switch statement to AWK Mode.
12431 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12432 "default" to the keywords regexp.
12434 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12435 expression as the rest.
12436 (c-nonlabel-token-key): Allow string literals for AWK.
12437 Refactor for the other modes.
12439 Large brace-block initialisation makes CC Mode slow: Fix.
12440 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12441 routines. Limit backward searching in c-font-lock-enclosing.decl.
12443 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12444 pp-state and literal type in addition to the limits.
12445 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12446 (c-state-literal-at): Use the above new defun.
12447 (c-slow-in-literal, c-fast-in-literal): Remove.
12448 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12450 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12451 being in a literal. Add a limit for backward searching.
12453 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12456 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12460 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12462 * window.el (delete-other-windows): Use correct frame in call to
12463 window-with-parameter.
12465 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12467 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12468 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12469 (makefile-gmake-statements, makefile-makepp-statements):
12470 Use it and add new makepp keywords.
12471 (makefile-makepp-font-lock-keywords): Add new patterns.
12472 (makefile-match-function-end): Match new [...] and [[...]].
12474 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12476 * ses.el (ses-call-printer-return, ses-cell-property-get)
12477 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12478 (ses-create-cell-variable, ses-reset-header-string)
12479 (ses-cell-set-formula, ses-repair-cell-reference-all)
12480 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12481 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12482 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12483 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12484 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12485 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12486 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12487 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12488 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12489 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12490 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12491 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12493 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12495 * ses.el: The overall change is to add cell renaming, that is
12496 setting fancy names for cell symbols other than name matching
12497 "\\`[A-Z]+[0-9]+\\'" regexp .
12498 (ses-create-cell-variable): New defun.
12499 (ses-relocate-formula): Relocate formulas only for cells the
12500 symbols of which are not renamed, i.e. symbols whose names do not
12501 match regexp "\\`[A-Z]+[0-9]+\\'".
12502 (ses-relocate-all): Relocate values only for cells the symbols of
12503 which are not renamed.
12504 (ses-load): Create cells variables as the (ses-cell ...) are read,
12505 in order to check row col consistency with cell symbol name only
12506 for cells that are not renamed.
12507 (ses-replace-name-in-formula): New defun.
12508 (ses-rename-cell): New defun.
12510 2011-12-11 Chong Yidong <cyd@gnu.org>
12512 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12513 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12515 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12517 * window.el (other-window): Fix docstring.
12519 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12521 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12522 `from' or `to' address before taking its substring.
12523 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12524 encoded name is chopped in the middle of the encoded string, and
12525 thus displayed encoded.
12527 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12529 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12531 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12533 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12534 to use texinfo-update-node and commands that call it if the
12535 Texinfo file uses @node lines without next/prev/up pointers.
12536 Correct outdated description about texinfo-master-menu.
12537 (texinfo-all-menus-update, texinfo-master-menu)
12538 (texinfo-update-node, texinfo-every-node-update)
12539 (texinfo-multiple-files-update): Doc fix. Warn against updating
12540 all the @node lines.
12541 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12542 argument is numeric. Explain better in the doc string what the
12543 function really does.
12544 (texinfo-insert-master-menu-list): Improve the error message
12545 displayed if there's no menu in the Top node.
12546 (Bug#2975) See also this thread:
12547 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12549 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12551 * speedbar.el (speedbar-supported-extension-expressions):
12552 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12554 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12556 * printing.el (pr-mode-alist):
12557 * simple.el (filter-buffer-substring-functions)
12558 (completion-list-insert-choice-function):
12559 * window.el (window-with-parameter, window-atom-root)
12560 (window-sides-slots, window-size-fixed, window-min-delta)
12561 (window-max-delta, window--resize-mini-window)
12562 (window--resize-child-windows-normal, window-tree)
12563 (delete-other-windows, quit-window, split-window)
12564 (display-buffer-record-window, special-display-buffer-names)
12565 (special-display-regexps, special-display-popup-frame)
12566 (same-window-p, split-window-sensibly)
12567 (display-buffer-overriding-action, display-buffer-alist)
12568 (display-buffer-base-action, display-buffer, switch-to-buffer)
12569 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12570 (fit-window-to-buffer, recenter-positions)
12571 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12572 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12573 and remove unneeded backslashes in docstrings.
12575 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12579 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12580 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12582 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12583 when reading the makefile (bug#10116).
12585 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12587 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12590 2011-12-06 Glenn Morris <rgm@gnu.org>
12592 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12594 2011-12-06 Chong Yidong <cyd@gnu.org>
12596 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12598 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12600 * textmodes/table.el (table-shorten-cell): Fix typo.
12602 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12604 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12606 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12608 * descr-text.el (describe-char): Fix display of strong
12609 right-to-left characters and directional embeddings and overrides.
12611 * simple.el (what-cursor-position): Fix display of codepoints of
12612 strong right-to-left characters.
12614 2011-12-05 Chong Yidong <cyd@gnu.org>
12616 * faces.el (read-color): Doc fix.
12618 2011-12-05 Glenn Morris <rgm@gnu.org>
12620 * align.el (align--set-marker): Add doc-string.
12621 Don't try to move something that is not a marker. (Bug#10216)
12623 2011-12-04 Glenn Morris <rgm@gnu.org>
12625 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12626 overly zealous deletion of trailing whitespace.
12628 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12630 * server.el (server-delete-client): On Windows, do not try to delete
12632 (server-process-filter): On Windows, treat requests for a tty frame as
12633 if they were for a GUI frame if the running server is in GUI mode.
12635 2011-12-03 Glenn Morris <rgm@gnu.org>
12637 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12639 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12641 * electric.el: Streamline electric-indent's hook.
12642 (electric-indent-chars): Revert to simple list.
12643 (electric-indent-functions): New var.
12644 (electric-indent-post-self-insert-function): Use it.
12646 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12647 there's no inferior buffer (bug#10196).
12648 (prolog-consult-compile): Don't use toggle-read-only.
12650 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12652 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12653 interrupt. (Bug#10187)
12655 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12660 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12663 2011-12-02 Juri Linkov <juri@jurta.org>
12665 * info.el (Info-search): Display "end of manual" when Isearch
12666 reaches the end of single-file Info manual. (Bug#9918)
12668 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12670 * isearch.el (isearch-message-prefix): Run the input method part
12671 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12673 2011-12-02 Juri Linkov <juri@jurta.org>
12675 * isearch.el (isearch-occur): Use `word-search-regexp' for
12677 (isearch-search-and-update): Add condition for `isearch-word' and
12678 call `word-search-regexp'. (Bug#10145)
12680 2011-12-01 Glenn Morris <rgm@gnu.org>
12682 * eshell/em-hist.el (eshell-hist-initialize):
12683 Handle eshell-history-size nil and HISTSIZE set or unset.
12684 (eshell-history-file-name, eshell-history-size): Fix custom type.
12686 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12688 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12690 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12692 * progmodes/verilog-mode.el (verilog-pretty-expr):
12693 Rework verilog-pretty-expr to handle new assignment operators in system
12694 verilog, such as += *= and the like.
12695 (verilog-assignment-operator-re): Regular expression to find the
12696 assigment operator in a verilog assignment.
12697 (verilog-assignment-operation-re): Regular expression to find an
12698 assignment statement for pretty-expr.
12699 (verilog-in-attribute-p): Query returns true if point is in an
12700 attribute context; used to skip these for expression line up from
12702 (verilog-in-parameter-p): Query returns true if point is in an
12703 parameter definition context; used to skip these for expression
12704 line up from pretty-expr.
12705 (verilog-in-parenthesis-p): Query returns true if point is in a
12706 parenthetical expression, specifically ( ) but not [ ] or { };
12707 used by pretty-expr.
12708 (verilog-just-one-space): If there is no space, don't add one.
12709 (verilog-get-lineup-indent-2): Specifically skip just attribute
12710 contexts for expression lineup, rather than skipping all
12711 parenthetical expressions.
12712 (verilog-calculate-indent): Fix comment, and fix indent.
12713 (verilog-do-indent): Indent declarations in lists (suggested by
12715 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12717 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12720 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12722 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12723 parameters with embedded comments. Reported by Ray Stevens.
12724 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12725 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12726 Reported by Tim Holt.
12727 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12728 instantiated by upper module causing wrong expansion until AUTOed a
12729 second time. Reported by K C Buckenmaier.
12730 (verilog-diff-auto): Fix showing .* as a difference when
12731 `verilog-auto-star-save' off. Reported by Dan Dever.
12732 (verilog-auto-reset, verilog-read-always-signals)
12733 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12734 temporary signals in reset list if
12735 verilog-auto-reset-blocking-in-non is nil, and match assignment
12736 style to each signal's assignment type, bug381.
12737 Reported by Thomas Esposito.
12738 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12739 (verilog-uvm-statement-re): Support UVM indentation and
12740 highlighting, with old OVM keywords only.
12741 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12742 Support AUTOTIEOFF creating non-wire data types.
12743 Suggested by Jonathan Greenlaw.
12744 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12745 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12746 (verilog-inject-sense, verilog-read-inst-pins)
12747 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12748 Fix mismatching parenthesis inside commented out code when deleting
12749 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12750 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12751 non-numeric vector width. Reported by Alex Reed.
12752 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12753 detecting signals with parameter widths. Reported by Alex Reed.
12754 (verilog-auto-delete-trailing-whitespace):
12755 With `verilog-auto-delete-trailing-whitespace' remove trailing
12756 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12757 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12758 Fix verilog-scan-cache corruption when running user AUTO expansion
12759 hooks that call indentation routines.
12760 (verilog-simplify-range-expression): Fix typo ignoring lower case
12762 (verilog-delete-auto): Fix delete-autos to also remove user created
12763 automatics, as long as they start with AUTO.
12764 (verilog-batch-diff-auto, verilog-diff-auto)
12765 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12766 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12767 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12768 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12769 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12770 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12771 is disabled and its cache will get corrupt, causing AUTOS not to
12772 expand. Instead use only -quick functions.
12773 (verilog-scan-region): Fix scanning over escaped quotes.
12774 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12775 (verilog-re-search-backward-quick)
12776 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12777 related functions now ignore strings, to fix misparsing of strings
12778 with magic comments embedded in them.
12779 (verilog-read-auto-template):
12780 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12781 Reported by Brad Dobbie.
12782 (verilog-read-auto-template):
12783 Fix 'verilog-auto-inst-template-numbers' with comments.
12784 Reported by Brad Dobbie.
12785 (verilog-auto-inst, verilog-auto-inst-param)
12786 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12787 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12788 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12789 debugging templates without merge conflicts, bug357.
12790 Reported by Brad Dobbie.
12791 (verilog-read-auto-template):
12792 Fix verilog-auto-inst-template-numbers with multiple templates.
12793 Reported by Brad Dobbie.
12794 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12795 abbrevs so user won't be asked to save.
12796 (verilog-read-auto-lisp-present): Fix to start at beginning of
12797 buffer in case called outside of verilog-auto.
12798 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12799 to "X-2". Reported by Matthew Myers.
12800 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12801 all inputs from module templates. Reported by Leith Johnson.
12802 (verilog-module-inside-filename-p): Fix locating programs as with
12804 (verilog-auto-inst-port): Fix vl-width expressions when using
12805 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12806 (verilog-decls-get-regs, verilog-decls-get-signals,
12807 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12808 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12809 verilog-read-decls): Combine reg and wire structures into one var
12810 structure to represent SystemVerilog concepts.
12811 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12812 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12813 (verilog-auto-wire-type, verilog-insert-definition):
12814 Add verilog-auto-wire-type and AUTOLOGIC to support using
12815 SystemVerilog "logic" keyword instead of "wire"/"reg".
12816 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12817 to declares outputs that also have assignments (presumably in an
12818 ifdef or generate if so there's not a driver conflict).
12819 Reported by Matthew Myers.
12820 (verilog-auto-declare-nettype, verilog-insert-definition):
12821 Add verilog-auto-declare-nettype to fix declarations using
12822 `default_nettype none. Reported by Julian Gorfajn.
12823 (verilog-read-always-signals-recurse, verilog-read-decls)
12824 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12825 malformed end statement, bug325. Reported by Joshua Wise and
12827 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12828 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12829 when expanding .* in interfaces, bug320.
12830 Reported by Pierre-David Pfister.
12831 (verilog-read-module-name): Fix import statements between module
12832 name and open parenthesis, bug317.
12833 Reported by Pierre-David Pfister.
12834 (verilog-simplify-range-expression): Fix simplification of
12835 multiplications inside AUTOWIRE connections, bug303.
12836 (verilog-auto-inst-port): Support parameter expansion in
12837 multidimensional arrays.
12838 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12839 after "assert property". Reported by Julian Gorfajn.
12840 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12841 with multiplication, bug303.
12842 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12843 Reported by Jan Frode Lonnum.
12845 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12847 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12848 (hfy-shell-file-name, hfy-shell):
12849 * international/fontset.el (x-decompose-font-name): Fix typos.
12851 2011-11-29 Ken Brown <kbrown@cornell.edu>
12853 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12854 (gdb-version): Remove defvar.
12855 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12856 (gdb-gud-context-command, gdb-non-stop-handler)
12857 (gdb-current-context-command, gdb-stopped): Use it.
12858 (gdb-init-1): Enable pretty printing here.
12859 (gdb-non-stop-handler): Don't enable pretty-printing here.
12860 Check to see if the target supports non-stop mode; if not, turn off
12861 non-stop mode. Use the following.
12862 (gdb-check-target-async): New defun.
12863 (gud-watch, gdb-stopped): Fix whitespace.
12864 (gdb-get-source-file): Don't try to display the source file if
12865 `gdb-main-file' is nil.
12867 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12869 * align.el: Try to generate fewer markers (bug#10047).
12870 (align--set-marker): New macro.
12871 (align-region): Use it.
12873 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12875 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12877 2011-11-29 Chong Yidong <cyd@gnu.org>
12879 * indent.el (indent-for-tab-command, indent-according-to-mode):
12881 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12883 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12885 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12886 aware of remote file names. (Bug#10124)
12888 2011-11-29 Chong Yidong <cyd@gnu.org>
12890 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12892 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * files.el (find-file): Don't use force-same-window (bug#10144).
12895 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12896 use pop-to-buffer if the selected window can't be used.
12897 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12899 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12901 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12904 2011-11-28 Chong Yidong <cyd@gnu.org>
12906 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12908 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12910 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12911 gdb-get-source-file-list on gdb-create-source-file-list.
12913 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12915 * whitespace.el (whitespace-newline): Use a different foreground
12916 color for 16-color light-background displays.
12918 2011-11-24 Chong Yidong <cyd@gnu.org>
12920 * window.el (display-buffer--special-action): Doc fix.
12922 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12924 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12925 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12926 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12927 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12928 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12929 (avl-tree-stack-first):
12930 * emacs-lisp/cconv.el (cconv--analyse-use):
12931 * net/gnutls.el (gnutls-negotiate): Fix typos.
12933 2011-11-24 Glenn Morris <rgm@gnu.org>
12935 * lpr.el (lpr-windows-system, lpr-lp-system):
12936 * mail/binhex.el (binhex-begin-line):
12937 * progmodes/grep.el (grep-history, grep-find-history):
12938 * textmodes/flyspell.el:
12939 * vc/pcvs-defs.el (cvs-global-menu):
12940 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12941 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12942 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12944 * net/tls.el: Fix case of "GnuTLS".
12946 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12948 * version.el (emacs-build-system): Give it a doc-string.
12950 2011-11-24 Juri Linkov <juri@jurta.org>
12952 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12954 2011-11-24 Glenn Morris <rgm@gnu.org>
12956 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12957 if called on a non-mime message just toggle the headers. (Bug#8006)
12959 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12961 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12962 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12963 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12964 (allout-rebullet-heading, allout-open-sibtopic)
12965 (allout-toggle-current-subtree-encryption)
12966 (allout-toggle-subtree-encryption, allout-encrypt-string)
12967 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12968 (allout-distinctive-bullets-string, allout-auto-activation):
12969 * window.el (window-normalize-buffer-to-display):
12970 * progmodes/verilog-mode.el (verilog-batch-indent):
12971 * textmodes/bibtex.el (bibtex-field-braces-opt)
12972 (bibtex-field-strings-opt):
12973 * vc/cvs-status.el (cvs-tree-merge):
12976 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12978 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12979 `non-essential' to t, in order to avoid remote connections.
12981 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12983 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12984 On MS-DOS and MS-Windows, compare with loaddefs.el
12985 case-insensitively.
12987 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12989 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12991 2011-11-23 Glenn Morris <rgm@gnu.org>
12993 * paths.el (rmail-file-name): Reformat the doc-string so that it
12996 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12997 (rmail-auto-file): Ignore case in the "special" field names,
12998 as mail-fetch-field does for all others.
13000 * mail/rmail.el (rmail-forward):
13001 * mail/rmailkwd.el (rmail-set-label):
13002 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13003 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13005 * mail/rmail.el (rmail-current-message): Doc fix.
13007 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13009 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13013 2011-11-22 Glenn Morris <rgm@gnu.org>
13015 * mail/rmailmm.el (test-rmail-mime-handler)
13016 (test-rmail-mime-bulk-handler)
13017 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13019 2011-11-21 Juri Linkov <juri@jurta.org>
13021 * calc/calc.el (calc-read-key-sequence):
13022 Let-bind `input-method-function' to nil. (Bug#10018)
13024 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13026 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13027 Tell the caller that the next line needs recomputation, even
13028 though it doesn't start a sexp (bug#10094).
13030 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13032 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13034 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13037 Use force-same-window.
13039 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13041 * descr-text.el (describe-char-unicode-data):
13042 * json.el (json-string-escape):
13043 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13044 (Footnote-unicode, Footnote-style-p):
13045 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13047 2011-11-20 Chong Yidong <cyd@gnu.org>
13049 * window.el (replace-buffer-in-windows): Restore interactive spec.
13051 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13053 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13055 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13056 (byte-compile-global-not-obsolete-vars): New var.
13057 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13059 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13061 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13063 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13064 * progmodes/pascal.el (electric-pascal-equal):
13065 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13066 * xml.el (xml-substitute-special): Fix typos.
13068 2011-11-20 Glenn Morris <rgm@gnu.org>
13070 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13071 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13073 (rmail-decode-mime-charset): Mark as obsolete.
13075 * mail/rmailsum.el (rmail-message-regexp-p-1):
13076 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13077 Before using mime functions, check they are set. (Bug#10077)
13079 2011-11-19 Juri Linkov <juri@jurta.org>
13081 * info.el (Info-finder-find-node): Use `package--builtins' instead
13082 of `package-alist'. Use node names formed by the pattern "Keyword "
13083 and the keyword name.
13085 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13087 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13089 2011-11-19 Juri Linkov <juri@jurta.org>
13091 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13092 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13093 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13094 `old-history', `old-history-forward'. Add let-binding
13095 `window-selected'. Remove calls to `kill-buffer',
13096 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13097 before calling `Info-find-node', so `Info-find-node-2' will reread
13098 the Info file. Restore window positions only when `window-selected'
13101 2011-11-19 Juri Linkov <juri@jurta.org>
13103 * isearch.el (isearch-lazy-highlight-new-loop):
13104 Remove condition `(not isearch-error)'. (Bug#9918)
13106 * misearch.el (multi-isearch-search-fun): Add condition
13107 `(not bound)' to ignore lazy-highlighting search.
13108 Add the search-failed message "end of multi" when the end of
13109 multi-sequence is reached. Uncapitalize the search-failed
13110 message "Repeat for next buffer".
13112 * info.el (Info-search): Add the search-failed message
13113 "end of the manual" when the end of the manual is reached
13116 2011-11-19 Juri Linkov <juri@jurta.org>
13118 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13119 Use non-destructive `remove' instead of `delete' because
13120 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13121 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13123 2011-11-19 Juri Linkov <juri@jurta.org>
13125 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13126 to nil instead of binding `search-ring' and `regexp-search-ring'.
13129 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13131 * simple.el (line-move): Force movement by logical lines for any
13132 hscrolled window, not only when auto-hscroll-mode is on.
13133 (line-move-visual): Update doc string to that effect. (Bug#10076)
13135 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13137 * language/european.el (macintosh): Define as alias for mac-roman.
13139 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13141 * mail/rmailmm.el (rmail-mime-display-header)
13142 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13143 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13144 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13145 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13146 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13148 (rmail-mime-entity-segment): To get past the tagline, move forward
13149 2 more lines, to account for the 2 empty lines that precede and
13150 follow the line with the buttons.
13151 (rmail-mime-update-tagline): Move one more line, to get past the
13152 empty line that follows the buttons in the tagline. (Bug#9520)
13154 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13156 * window.el (window-max-delta-1, window-min-delta-1)
13157 (window-min-size-1, window-state-get-1, window-state-put-1)
13158 (window-state-put-2): Use "window--" prefix.
13160 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13162 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13163 (smie-warning-count): New var.
13164 (smie-set-prec2tab): Use it.
13165 (smie-bnf->prec2): Improve warnings. Add docstring.
13166 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13167 (smie-bnf--set-class): New function.
13168 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13171 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13172 (compilation-error-properties, compilation-move-to-column):
13173 Handle compilation-first-column while in the target buffer.
13175 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13176 Don't hardcode point-min==1.
13178 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13179 (eshell-rewrite-for-command): Remove workaround.
13180 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13181 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13182 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13184 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13186 2011-11-17 Glenn Morris <rgm@gnu.org>
13188 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13189 Ignore buffer-local generated-autoload-file if it is the same
13190 as the global value. (Bug#10049)
13192 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13194 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13195 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13196 (reftex-toc-previous-heading, reftex-toc-max-level)
13197 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13198 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13199 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13200 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13201 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13202 (reftex-toc-rename-label, reftex-toc-visit-location)
13203 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13204 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13205 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13206 leaving "*toc*" only for references to the buffer.
13208 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13210 * window.el (window-resize, delete-window, split-window):
13211 Replace window-splits by window-combination-resize.
13212 * cus-start.el (window-splits): Replace by window-combination-resize.
13214 2011-11-17 Glenn Morris <rgm@gnu.org>
13216 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13217 Make bash entry derive from sh entry, not shell entry.
13219 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13221 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13224 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13226 * menu-bar.el (menu-bar-file-menu):
13227 * printing.el (pr-ps-utility):
13228 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13229 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13230 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13231 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13232 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13233 (icalendar--convert-cyclic-to-ical)
13234 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13235 (icalendar--convert-ical-to-diary)
13236 (icalendar--convert-recurring-to-diary)
13237 (icalendar--convert-non-recurring-all-day-to-diary)
13238 (icalendar-import-format-sample):
13239 * progmodes/idlw-shell.el (idlwave-shell-mode):
13240 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13241 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13242 (vhdl-ps-print-init): Fix typos.
13244 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13246 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13247 FSF and collapse date sequence, obscure author/maintainer email address
13248 better, remove extra version line, track relocation of author's webpage.
13250 * progmodes/python.el (python-pdbtrack-input-prompt)
13251 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13252 regular python pdb prompts. Adjustments shamelessly taken exactly as
13253 suggested in EmacsWiki page (tiny change):
13254 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13256 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13258 * expand.el (expand-pos, expand-index, expand-point):
13259 Remove redundant info from docstring.
13260 (expand-add-abbrevs): Doc fix.
13261 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13262 (expand-sample-perl-mode-expand-list): Fix typos.
13264 * net/dbus.el (dbus-event-member-name):
13265 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13266 * term/pc-win.el (msdos-create-frame-with-faces):
13267 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13269 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13271 * window.el (split-window, window-state-get-1)
13272 (window-state-put-1, window-state-put-2): Rename occurrences of
13273 window-nest to window-combination-limit.
13274 * cus-start.el (window-nest): Rename to window-combination-limit.
13276 2011-11-16 Chong Yidong <cyd@gnu.org>
13278 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13279 regexp (Bug#10033).
13281 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13283 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13284 `completing-read' will remove *Completions* and will preserve
13285 current-buffer for us.
13286 (tmm-add-prompt): Users of *Completions* will always (re)set its
13288 (tmm-old-comp-map): Remove.
13290 2011-11-16 Glenn Morris <rgm@gnu.org>
13292 * mail/rmailedit.el: Require rmailmm when compiling.
13293 (rmail-old-mime-state): New declaration.
13294 (rmail-edit-current-message): If editing a mime message,
13295 edit the "raw" message from the mbox buffer.
13296 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13298 2011-11-15 Glenn Morris <rgm@gnu.org>
13300 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13301 which wasn't being used. Add optional arg to force given state.
13302 (rmail-mime): Add optional arg to force given state.
13304 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13306 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13307 * frame.el (display-mm-dimensions-alist):
13308 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13309 (outline-move-subtree-down):
13310 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13311 (newsticker--treeview-do-get-node):
13312 * net/quickurl.el (quickurl-list-buffer-name):
13313 * progmodes/dcl-mode.el (dcl-mode):
13314 * progmodes/gdb-mi.el (gdb-mapcar*):
13315 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13317 2011-11-15 Glenn Morris <rgm@gnu.org>
13319 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13320 in a boolean sense, so just make it a boolean, and fix the doc.
13321 (rmail-show-mime-function, rmail-mime-feature)
13322 (rmail-require-mime-maybe): Doc fixes.
13323 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13325 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13327 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13329 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13330 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13331 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13332 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13334 2011-11-15 Glenn Morris <rgm@gnu.org>
13336 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13337 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13338 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13339 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13340 (rmail-mime, rmail-show-mime): Doc fixes.
13342 * term/ns-win.el (mode-line-frame-identification):
13343 Leave it alone. (Bug#10051)
13345 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13347 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13348 Handle empty buffers. (Bug#9978)
13350 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13352 * international/mule.el (define-charset):
13353 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13354 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13355 * progmodes/verilog-mode.el (verilog-backward-token):
13356 * textmodes/ispell.el (lookup-words):
13357 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13359 2011-11-14 Glenn Morris <rgm@gnu.org>
13361 * progmodes/executable.el
13362 (executable-make-buffer-file-executable-if-script-p):
13363 Handle file-modes returning nil.
13365 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13366 message - not necessary, and causes problems. (Bug#9831)
13368 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13370 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13372 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13373 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13374 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13376 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13378 * window.el (window-resize, delete-window): Use window-splits
13379 variable instead of function.
13380 (window-state-get-1, window-state-put-2, window-state-put):
13381 Don't deal with windows' splits status.
13383 2011-11-12 Glenn Morris <rgm@gnu.org>
13385 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13386 (apropos-documentation): Doc fixes.
13388 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13390 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13391 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13393 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * electric.el (electric-indent-post-self-insert-function): Make it
13396 possible for a char to only indent in some circumstances.
13397 (electric-indent-mode): Simplify.
13399 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13401 * window.el (windows-with-parameter): Remove unused function.
13402 (windows-at-side): Rename to window-at-side-list.
13403 (window-check, window-atom-check, window-atom-check-1)
13404 (window-side-check, window-size-ignore, window-size-fixed-1)
13405 (window-in-direction-2): Prefix with "window--".
13406 (window-tree-1): Rename to window--subtree, fix doc-string.
13408 2011-11-11 Glenn Morris <rgm@gnu.org>
13410 * subr.el (eval-after-load): If FILE is already loaded,
13411 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13413 2011-11-10 Glenn Morris <rgm@gnu.org>
13415 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13416 Call svn via vc-svn-command rather than vc-do-command.
13417 (vc-svn-command): Add --non-interactive. (Bug#9993)
13418 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13420 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13421 Add toggle-read-only. (Bug#7292)
13422 * files.el (toggle-read-only): Mention that it should only
13423 be used interactively. (Bug#10006)
13425 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13428 Adjust regexp for OCaml warnings.
13430 * electric.el (electric-pair-post-self-insert-function): Let user
13431 turn it off buffer-locally (bug#9932).
13433 * progmodes/python.el (python-beginning-of-statement):
13434 Rewrite (bug#2703).
13436 * progmodes/compile.el: Better handle TABs (bug#9749).
13437 (compilation-internal-error-properties)
13438 (compilation-next-error-function): Obey the target buffer's
13439 compilation-error-screen-columns.
13441 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13443 * progmodes/meta-mode.el: Remove obsolete comments.
13444 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13445 Fix typos in docstrings.
13447 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13449 * window.el (window-size-fixed-p): Rewrite doc-string.
13450 (window-resizable-p): Rename to window--resizable-p. Update callers.
13451 (window--resizable): New function. Make all callers of
13452 window-resizable call window--resizable instead.
13453 (window-resizable): Rewrite in terms of window--resizable.
13455 2011-11-08 Glenn Morris <rgm@gnu.org>
13457 * progmodes/delphi.el (delphi-mode-syntax-table):
13458 Let define-derived-mode define a proper syntax table. (Bug#9994)
13460 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13462 * window.el: Stay away from defsubst.
13463 (window-list-no-nils): Remove.
13464 (window-state-get-1, window-state-get): Use backquote instead.
13466 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13468 * emacs-lisp/find-func.el (find-function-read):
13469 Fix incorrect use of default argument in `completing-read'.
13471 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13473 * window.el (display-buffer-function, special-display-function):
13474 Mention display-buffer-record-window but do not mention
13475 help-setup parameter in doc-strings.
13476 (window-min-delta): Fix doc-string typo.
13478 2011-11-08 Chong Yidong <cyd@gnu.org>
13480 * window.el (window-total-height, window-total-width): Doc fix.
13481 (window-body-size): Move from C.
13482 (window-body-height, window-body-width): Move to C.
13484 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13486 * window.el: Make special-display like display-buffer-alist (bug#9532).
13487 (display-buffer--special-action): New function, morphed
13488 from display-buffer--special.
13489 (display-buffer): Use it to handle special-display-buffers at higher
13490 priority (just after display-buffer-alist).
13491 (display-buffer-fallback-action, display-buffer--other-frame-action)
13492 (pop-to-buffer-same-window): Remove display-buffer--special.
13494 2011-11-07 Glenn Morris <rgm@gnu.org>
13496 * calendar/cal-menu.el (cal-menu-set-date-title):
13497 Do nothing if not in a calendar. (Bug#9976)
13499 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * files.el (find-file): Always use selected-window.
13503 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13505 * window.el (window-combinations): Make WINDOW argument
13506 mandatory. Rewrite doc-string.
13507 (walk-window-subtree, window-atom-check, window-min-delta)
13508 (window-max-delta, window--resize-this-window)
13509 (window--resize-root-window-vertically, window-tree)
13510 (balance-windows, window-state-put): Rewrite doc-strings as to
13511 not mention the term "subwindow".
13512 (window--resize-subwindows-skip-p): Rename to
13513 window--resize-child-windows-skip-p.
13514 (window--resize-subwindows-normal): Rename to
13515 window--resize-child-windows-normal.
13516 (window--resize-subwindows): Rename to
13517 window--resize-child-windows.
13518 (window-or-subwindow-p): Rename to window--in-subtree-p.
13520 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13522 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13523 Ensure that mbox format messages end in two newlines (Bug#9974).
13525 2011-11-06 Chong Yidong <cyd@gnu.org>
13527 * window.el (window-combination-p): Function deleted; its
13528 side-effect is not used in any existing code.
13529 (window-combinations, window-combined-p): Call window-*-child
13532 2011-11-05 Chong Yidong <cyd@gnu.org>
13534 * window.el (window-valid-p): Rename from window-any-p.
13535 (window-size-ignore, window-state-get): Callers changed.
13536 (window-normalize-window): Rename from window-normalize-any-window.
13537 New arg LIVE-ONLY, replacing window-normalize-live-window.
13538 (window-normalize-live-window): Delete.
13539 (window-combination-p, window-combined-p, window-combinations)
13540 (walk-window-subtree, window-atom-root, window-min-size)
13541 (window-sizable, window-sizable-p, window-size-fixed-p)
13542 (window-min-delta, window-max-delta, window-resizable)
13543 (window-resizable-p, window-full-height-p, window-full-width-p)
13544 (window-current-scroll-bars, window-point-1, set-window-point-1)
13545 (window-at-side-p, window-in-direction, window-resize)
13546 (adjust-window-trailing-edge, maximize-window, minimize-window)
13547 (window-deletable-p, delete-window, delete-other-windows)
13548 (record-window-buffer, unrecord-window-buffer)
13549 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13550 (quit-window, split-window, window-state-put)
13551 (set-window-text-height, fit-window-to-buffer)
13552 (shrink-window-if-larger-than-buffer): Callers changed.
13554 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13556 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13557 rfc2047-decode-string.
13558 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13561 * window.el (window-body-height, window-body-width): Mention in
13562 the doc string that the return values are in frame's canonical
13565 2011-11-03 Alan Mackenzie <acm@muc.de>
13567 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13568 change in cc-engine.el.
13570 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13572 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13574 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13576 * window.el (quit-window): Call unrecord-window-buffer after
13577 showing another buffer in the window. (Bug#9937)
13578 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13580 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13582 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13583 Accept status with more than 9 shelves. (Bug#9935)
13584 Reported by Colin D Bennett <colin@gibibit.com>.
13586 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13588 * help.el (with-help-window): Don't reference
13589 temp-buffer-show-specifiers in doc-string.
13591 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13593 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13596 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13598 * whitespace.el: New version 13.2.2.
13599 (whitespace-newline-mode): Disable properly. Reported by Sarah
13602 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13604 * net/newst-treeview.el: Remove "Time-stamp".
13605 (newsticker--group-manage-orphan-feeds): Do not call
13606 newsticker--treeview-tree-update.
13607 (newsticker-treeview-update, newsticker-treeview):
13608 Call newsticker--treeview-tree-update if necessary.
13610 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13612 * window.el (window-iso-combination-p, window-iso-combined-p)
13613 (window-iso-combinations): Remove "iso-" infix.
13614 Suggested by Chong Yidong.
13615 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13616 (window-max-delta-1, window-resize, window--resize-siblings)
13617 (window--resize-this-window, adjust-window-trailing-edge)
13618 (split-window, balance-windows-1)
13619 (shrink-window-if-larger-than-buffer):
13620 * calendar/calendar.el (calendar-generate-window):
13621 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13623 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13625 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13626 in place (bug#9907).
13627 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13628 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13629 (eshell-structure-basic-command, eshell-rewrite-while-command)
13630 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13631 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13632 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13633 (eshell-do-pipelines-synchronously, eshell-eval-command):
13634 Use backquotes and prefer setq to set.
13635 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13636 (eshell-macrop): Use functionp.
13637 (eshell-do-eval): Handle multiple expressions in `while' body.
13639 2011-10-30 Chong Yidong <cyd@gnu.org>
13641 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13642 instead of set-mark (Bug#9810).
13644 2011-10-30 Chong Yidong <cyd@gnu.org>
13646 * window.el (split-window-below, split-window-right): Rename from
13647 split-window-above-each-other and split-window-side-by-side
13648 respectively. All callers changed.
13649 (split-window-sensibly, split-window-sensibly): Use them.
13650 (split-window-keep-point): Doc fix.
13652 * isearch.el: Add isearch-scroll property to split-window-below
13653 and split-window-right.
13655 * follow.el (follow-mode):
13656 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13657 * progmodes/ada-xref.el (ada-gdb-application):
13658 * emulation/vip.el (vip-buffer-in-two-windows):
13659 * image-dired.el (image-dired-dired-with-window-configuration):
13660 * dired-x.el (dired-do-find-marked-files):
13661 * dired.el (dired-pop-to-buffer):
13662 * bs.el (bs--show-with-configuration):
13663 * vc/emerge.el (emerge-setup-windows):
13664 * textmodes/two-column.el (2C-two-columns):
13665 * textmodes/reftex-toc.el (reftex-toc):
13666 * progmodes/gdb-mi.el (gdb-setup-windows):
13667 * progmodes/fortran.el (fortran-window-create):
13668 * net/newst-treeview.el (newsticker--treeview-window-init):
13669 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13670 * emulation/tpu-edt.el (tpu-gold-map):
13671 * emulation/crisp.el (crisp-mode-map):
13672 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13674 2011-10-29 Chong Yidong <cyd@gnu.org>
13676 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13678 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13680 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13681 forged Ispell output (Bug#7904).
13683 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13685 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13687 * doc-view.el: Avoid ugly errors about not finding nil.
13688 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13689 (doc-view-dvipdf-program, doc-view-unoconv-program)
13690 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13691 Avoid nil or absolute file name as default value.
13692 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13694 2011-10-28 Alan Mackenzie <acm@muc.de>
13696 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13698 2011-10-28 Alan Mackenzie <acm@muc.de>
13700 Amend the handling of c-beginning/end-of-defun in nested declaration
13703 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13704 cc-langs.el. Change it to a defcustom.
13706 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13709 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13710 Prevent "class foo : bar" being spuriously recognized as a label.
13712 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13713 Add parameter `inclusive' (to include enclosing braces in the region).
13714 (c-widen-to-enclosing-decl-scope): New function.
13715 (c-while-widening-to-decl-block): New macro.
13716 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13717 outward for defun boundaries, and correspondingly change symbol
13718 `respect-enclosure' to `go-outward'.
13719 (c-declaration-limits): Change algorithm to report only the "innermost"
13720 defun's boundaries.
13722 2011-10-28 Deniz Dogan <deniz@dogan.se>
13724 * net/rcirc.el (rcirc-mode): Use hard newlines.
13726 2011-10-28 Alan Mackenzie <acm@muc.de>
13728 Amend to indent and fontify macros "which include their own semicolon"
13729 correctly, using the "virtual semicolon" mechanism.
13731 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13733 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13734 Recode to scan one line at a time rather than having \n and \r
13735 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13736 (c-forward-label): Amend for virtual semicolons.
13737 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13739 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13740 of the new C macros.
13742 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13743 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13744 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13745 (c-opt-cpp-macro-define): Make into a full language variable.
13746 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13747 AWK Mode (including \n, \r) removed, no longer needed.
13749 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13750 Invoke c-make-macro-with-semi-re.
13752 * progmodes/cc-vars.el (c-macro-with-semi-re):
13753 (c-macro-names-with-semicolon): New variables.
13754 (c-make-macro-with-semi-re): New function.
13756 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13758 * vc/log-edit.el: Fill empty field rather than adding new one.
13759 (log-edit-add-field): New function.
13760 (log-edit-insert-changelog): Use it.
13762 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13764 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13766 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13769 (gdb--check-interpreter): New function.
13772 2011-10-27 Glenn Morris <rgm@gnu.org>
13774 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13775 (least-positive-float, least-negative-float)
13776 (least-positive-normalized-float, least-negative-normalized-float)
13777 (float-epsilon, float-negative-epsilon):
13778 Remove unnecessary declarations.
13780 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13781 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13782 (least-positive-float, least-negative-float)
13783 (least-positive-normalized-float, least-negative-normalized-float)
13784 (float-epsilon, float-negative-epsilon): Add doc-strings,
13785 based on those in cl.texi.
13787 * files.el (set-visited-file-name): If the major-mode changed,
13788 reload the local variables. (Bug#9796)
13790 2011-10-27 Chong Yidong <cyd@gnu.org>
13792 * subr.el (change-major-mode-after-body-hook): New hook.
13793 (run-mode-hooks): Run it.
13795 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13796 Use change-major-mode-before-body-hook.
13798 * simple.el (fundamental-mode):
13799 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13800 change introducing fundamental-mode-hook.
13802 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13804 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13806 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13808 * ido.el (ido-file-name-all-completions-1): Do not require
13809 tramp.el explicitly. (Bug#7583)
13811 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13813 * progmodes/octave-mod.el:
13814 * progmodes/octave-inf.el: Update maintainer.
13816 2011-10-26 Chong Yidong <cyd@gnu.org>
13818 * subr.el (with-wrapper-hook): Rewrite doc.
13820 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13822 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13823 filenames "/method:foo:". (Bug#9793)
13825 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13827 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13830 2011-10-24 Glenn Morris <rgm@gnu.org>
13832 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13834 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13836 * notifications.el: Add the requirement of a running D-Bus session
13837 bus to the Commentary.
13839 2011-10-24 Juri Linkov <juri@jurta.org>
13841 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13842 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13845 2011-10-24 Juri Linkov <juri@jurta.org>
13847 * info.el (Info-following-node-name-re): Add newline to the list
13848 of allowed characters for leading space. (Bug#9824)
13850 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13852 * progmodes/octave-inf.el (inferior-octave-mode-map):
13853 Fix C-c C-h binding.
13854 * progmodes/octave-mod.el (octave-help): Remove.
13856 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13858 Sync with Tramp 2.2.3.
13860 * net/tramp-cache.el (top): Pacify byte-compiler using
13861 `init-file-user' and `site-run-file'.
13863 * net/trampver.el: Update release number.
13865 2011-10-23 Chong Yidong <cyd@gnu.org>
13867 * files.el (toggle-read-only): Remove obsolete comment about
13870 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13871 for toggle-read-only. Note that this hasn't called vc-next-action
13872 since 2008-05-02, though it wasn't documented at the time.
13874 * vc/ediff-init.el (ediff-toggle-read-only-function):
13875 Use toggle-read-only.
13877 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13879 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13882 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13883 correct faulty logical expression.
13884 (c-parse-state-state, c-record-parse-state-state):
13885 (c-replay-parse-state-state): New defvar/defuns.
13886 (c-debug-parse-state): Use new functions.
13888 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13890 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13891 last fix. Use window-in-direction correctly.
13893 2011-10-21 Chong Yidong <cyd@gnu.org>
13895 * progmodes/idlwave.el (idlwave-mode):
13896 * progmodes/vera-mode.el (vera-mode): No need to set
13897 require-final-newline; that's done in prog-mode.
13898 Suggested by Stefan Monnier.
13900 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13902 * mouse.el (mouse-drag-window-above)
13903 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13904 (mouse-drag-mode-line-1, mouse-drag-header-line)
13905 (mouse-drag-vertical-line-rightward-window): Remove.
13906 (mouse-drag-line): New function.
13907 (mouse-drag-mode-line, mouse-drag-header-line)
13908 (mouse-drag-vertical-line): Call mouse-drag-line.
13909 * window.el (window-at-side-p, windows-at-side): New functions.
13911 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13913 * tar-mode.el (tar-grind-file-mode):
13914 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13916 2011-10-21 Chong Yidong <cyd@gnu.org>
13918 * progmodes/idlwave.el (idlwave-mode):
13919 * progmodes/vera-mode.el (vera-mode):
13920 Use mode-require-final-newline.
13922 2011-10-20 Glenn Morris <rgm@gnu.org>
13924 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13926 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13928 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13930 2011-10-20 Chong Yidong <cyd@gnu.org>
13932 * emulation/cua-base.el (cua-mode):
13933 * mail/footnote.el (footnote-mode):
13934 * mail/mailabbrev.el (mail-abbrevs-mode):
13935 * net/xesam.el (xesam-minor-mode):
13936 * progmodes/bug-reference.el (bug-reference-mode):
13937 * progmodes/cap-words.el (capitalized-words-mode):
13938 * progmodes/compile.el (compilation-minor-mode)
13939 (compilation-shell-minor-mode):
13940 * progmodes/gud.el (gud-tooltip-mode):
13941 * progmodes/hideif.el (hide-ifdef-mode):
13942 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13943 * progmodes/subword.el (subword-mode):
13944 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13945 * progmodes/which-func.el (which-function-mode):
13946 * term/tvi970.el (tvi970-set-keypad-mode):
13947 * term/vt100.el (vt100-wide-mode):
13948 * textmodes/flyspell.el (flyspell-mode):
13949 * textmodes/ispell.el (ispell-minor-mode):
13950 * textmodes/nroff-mode.el (nroff-electric-mode):
13951 * textmodes/paragraphs.el (use-hard-newlines):
13952 * textmodes/refill.el (refill-mode):
13953 * textmodes/reftex.el (reftex-mode):
13954 * textmodes/rst.el (rst-minor-mode):
13955 * textmodes/sgml-mode.el (html-autoview-mode)
13956 (sgml-electric-tag-pair-mode):
13957 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13958 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13959 * emulation/crisp.el (crisp-mode):
13960 * emacs-lisp/eldoc.el (eldoc-mode):
13961 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13962 minor mode behavior.
13964 2011-10-19 Juri Linkov <juri@jurta.org>
13966 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13967 the list of hard-coded chars with escape-glyph face.
13969 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13971 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13973 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13975 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13978 2011-10-19 Glenn Morris <rgm@gnu.org>
13980 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13981 Ignore ignored files. (Bug#9726)
13983 2011-10-19 Chong Yidong <cyd@gnu.org>
13985 Doc fix for minor modes, stating that an omitted argument enables
13986 the mode unconditionally when called from Lisp.
13988 * abbrev.el (abbrev-mode):
13989 * allout.el (allout-mode):
13990 * autoinsert.el (auto-insert-mode):
13991 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13992 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13993 (global-auto-revert-mode):
13994 * battery.el (display-battery-mode):
13995 * composite.el (global-auto-composition-mode)
13996 (auto-composition-mode):
13997 * delsel.el (delete-selection-mode):
13998 * desktop.el (desktop-save-mode):
13999 * dired-x.el (dired-omit-mode):
14000 * dirtrack.el (dirtrack-mode):
14001 * doc-view.el (doc-view-minor-mode):
14002 * double.el (double-mode):
14003 * electric.el (electric-indent-mode, electric-pair-mode):
14004 * emacs-lock.el (emacs-lock-mode):
14005 * epa-hook.el (auto-encryption-mode):
14006 * follow.el (follow-mode):
14007 * font-core.el (font-lock-mode):
14008 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14009 * help.el (temp-buffer-resize-mode):
14010 * hilit-chg.el (highlight-changes-mode)
14011 (highlight-changes-visible-mode):
14012 * hi-lock.el (hi-lock-mode):
14013 * hl-line.el (hl-line-mode, global-hl-line-mode):
14014 * icomplete.el (icomplete-mode):
14015 * ido.el (ido-everywhere):
14016 * image-file.el (auto-image-file-mode):
14017 * image-mode.el (image-minor-mode):
14018 * iswitchb.el (iswitchb-mode):
14019 * jka-cmpr-hook.el (auto-compression-mode):
14020 * linum.el (linum-mode):
14021 * longlines.el (longlines-mode):
14022 * master.el (master-mode):
14023 * mb-depth.el (minibuffer-depth-indicate-mode):
14024 * menu-bar.el (menu-bar-mode):
14025 * minibuf-eldef.el (minibuffer-electric-default-mode):
14026 * mouse-sel.el (mouse-sel-mode):
14027 * msb.el (msb-mode):
14028 * mwheel.el (mouse-wheel-mode):
14029 * outline.el (outline-minor-mode):
14030 * paren.el (show-paren-mode):
14031 * recentf.el (recentf-mode):
14032 * reveal.el (reveal-mode, global-reveal-mode):
14033 * rfn-eshadow.el (file-name-shadow-mode):
14034 * ruler-mode.el (ruler-mode):
14035 * savehist.el (savehist-mode):
14036 * scroll-all.el (scroll-all-mode):
14037 * scroll-bar.el (scroll-bar-mode):
14038 * server.el (server-mode):
14039 * shell.el (shell-dirtrack-mode):
14040 * simple.el (auto-fill-mode, transient-mark-mode)
14041 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14042 (line-number-mode, column-number-mode, size-indication-mode)
14043 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14044 * strokes.el (strokes-mode):
14045 * time.el (display-time-mode):
14046 * t-mouse.el (gpm-mouse-mode):
14047 * tool-bar.el (tool-bar-mode):
14048 * tooltip.el (tooltip-mode):
14049 * type-break.el (type-break-mode-line-message-mode)
14050 (type-break-query-mode):
14051 * view.el (view-mode):
14052 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14053 (global-whitespace-mode, global-whitespace-newline-mode):
14054 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14056 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14057 Fix autogenerated docstring.
14059 2011-10-19 Juri Linkov <juri@jurta.org>
14061 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14062 by checking environment variables "DESKTOP_SESSION" and
14063 "XDG_CURRENT_DESKTOP". (Bug#9779)
14065 2011-10-19 Juri Linkov <juri@jurta.org>
14067 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14068 (browse-url-chromium-program, browse-url-chromium-arguments):
14070 (browse-url-default-browser): Check for `browse-url-chromium' and
14071 call `browse-url-chromium-program'.
14072 (browse-url-chromium): New command. (Bug#9779)
14074 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14076 * facemenu.el (list-colors-duplicates): On Windows, detect more
14077 duplicates by assuming that only colors matching "^System" are
14078 special "system colors". (Bug#9722)
14080 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14082 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14083 to distinguish the author from the committer.
14085 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14087 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14089 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14091 * international/mule.el (sgml-html-meta-auto-coding-function):
14092 Add support for detecting encoding in HTML5 specified only as
14093 <meta charset="UTF-8">. Implementation just makes http-equiv and
14094 content-type parts from HTML4 encoding string optional. (Bug#9716)
14096 2011-10-18 Glenn Morris <rgm@gnu.org>
14098 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14100 2011-10-18 Chong Yidong <cyd@gnu.org>
14102 * faces.el (cursor): Doc fix.
14104 2011-10-17 Chong Yidong <cyd@gnu.org>
14106 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14108 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14110 * dirtrack.el (dirtrack): Support shell buffers with path
14111 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14113 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14115 * json.el: Bump version to 1.3 and note change in History.
14116 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14118 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14120 * comint.el (comint-insert-input, comint-send-input)
14121 (comint-get-old-input-default, comint-backward-matching-input)
14122 (comint-next-prompt): Use nil instead of `input' for field property of
14123 past user input (bug#114).
14125 * minibuffer.el (completion--replace): Inherit surrounding properties
14127 (minibuffer-complete-and-exit): Use it.
14129 * comint.el (comint--table-subvert): Quote the all-completions output
14132 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14134 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14136 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14137 window on right of selected. (Bug#9350) Reword other window
14138 entries and separate them from frame entries.
14140 2011-10-15 Glenn Morris <rgm@gnu.org>
14142 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14145 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14147 * net/network-stream.el (network-stream-open-starttls):
14148 Improve detection of failure due to lack of TLS support.
14150 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14151 putting the input text in front and in bold.
14153 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14155 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14157 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14160 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14161 unread-command-events rather than pushing yet-another event.
14163 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14165 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14166 the explanation of the possible choices. Make the options passed
14167 to completing-read shorter.
14169 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14171 * textmodes/flyspell.el (flyspell-large-region): Make sure
14172 extended character mode is used if defined (Bug#1339).
14174 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14176 * simple.el (what-cursor-position): Fix the display of the
14177 character info for LRE, LRO, RLE, and RLO characters by appending
14180 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14182 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14183 even in case of error; add debug spec; simplify data flow.
14184 (with-timeout-handler): Remove.
14186 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14188 Fix Bug#6019, Bug#9315.
14190 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14191 complete `buffer-file-name', the local file name part could look
14192 remotely (for example on VMS).
14194 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14195 `tramp-run-real-handler'.
14196 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14197 already quoted by '"'.
14199 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14200 Let `file-name-handler-alist' be nil, the local file name part
14201 could look remotely (for example on VMS).
14203 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14205 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14207 (flyspell-post-command-hook): ...to here.
14209 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14211 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14213 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14214 using completion. Protect against "slow" callers.
14215 Remove the "message hack".
14217 2011-10-11 Juri Linkov <juri@jurta.org>
14219 * isearch.el (isearch-lazy-highlight-word): New variable.
14220 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14223 2011-10-11 Glenn Morris <rgm@gnu.org>
14225 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14226 like f90-previous-statement does.
14228 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14230 * eshell/eshell.el (eshell-command): History should be saved
14231 only in interactive use, to avoid error.
14233 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14235 * minibuffer.el (completion-file-name-table): Fix last change,
14236 i.e. ignore normal errors but not the other ones.
14238 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14240 * window.el (special-display-buffer-names)
14241 (special-display-regexps): Remove some remnants of earlier
14242 changes from doc-strings.
14243 (quit-windows-on): New function.
14245 * vc/vc.el (vc-revert, vc-rollback):
14246 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14247 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14248 (Bug#6183) (Bug#7074) (Bug#7447)
14250 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14252 * window.el (frame-auto-hide-function): Add version tag.
14255 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14257 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14260 2011-10-09 Leo Liu <sdl.web@gmail.com>
14262 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14265 2011-10-08 Glenn Morris <rgm@gnu.org>
14267 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14268 before the first code statement zero indent. (Bug#9690)
14270 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14272 * simple.el (count-words-region): Always count in the region.
14273 Report the number of lines and characters too.
14274 (count-words): New command, which counts in the buffer if the
14275 region is inactive, as count-words-region used to.
14276 (count-words--message): New function. Handle plurals.
14277 (count-lines-region): Make it an alias for count-words-region.
14279 * bindings.el (esc-map): Replace count-lines-region with
14280 count-words-region.
14282 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14284 * window.el (window--delete): Delete dedicated frame
14285 unconditionally when argument KILL is non-nil. (Bug#9699)
14286 (switch-to-buffer): Fix doc-string typo.
14288 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14290 * eshell/eshell.el (eshell-command): Avoid using hooks.
14292 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14294 * bindings.el ([M-left],[M-right]): Bind to left-word and
14295 right-word respectively.
14297 2011-10-07 Glenn Morris <rgm@gnu.org>
14299 * cus-start.el (debug-on-quit): Fix custom type.
14301 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14303 * subr.el (define-key-after): Clarify that the function is not
14304 useful for non-menu keymaps.
14306 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14308 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14310 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14311 in current minibuffer (Fix bug with recursive minibuffers).
14313 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14315 * progmodes/gdb-mi.el (gdb): Doc fix.
14317 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14319 * window.el (frame-auto-hide-function): New option replacing
14320 frame-auto-delete. Suggested by Stefan Monnier.
14321 (window--delete): Call frame-auto-hide-function instead of
14322 investigating frame-auto-delete.
14323 (window-point-1, set-window-point-1): New functions.
14324 (window-in-direction, record-window-buffer, window-state-get-1)
14325 (display-buffer-record-window): Use window-point-1 instead of
14327 (set-window-buffer-start-and-point): Use set-window-point-1.
14329 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14331 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14333 2011-10-05 Glenn Morris <rgm@gnu.org>
14335 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14336 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14338 2011-10-05 Leo Liu <sdl.web@gmail.com>
14340 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14341 works with buffer object.
14343 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14345 * mpc.el (mpc-tool-bar-map): Add labels.
14347 2011-10-04 Glenn Morris <rgm@gnu.org>
14349 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14351 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14353 * window.el (window--delete): New function.
14354 (frame-auto-delete): Resuscitate option.
14355 (bury-buffer, replace-buffer-in-windows)
14356 (quit-window): Rewrite using window--delete.
14357 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14358 Pass display-buffer-mark-dedicated to window--display-buffer-2
14361 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14363 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14364 returns a list (bug#9554). Add remote file name completion.
14365 * comint.el (comint--table-subvert): Curry and get quote&unquote
14366 functions as arguments.
14367 (comint--complete-file-name-data): Adjust call accordingly.
14368 * pcomplete.el (pcomplete--table-subvert): Remove.
14369 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14371 * minibuffer.el (completion-table-case-fold): Use currying.
14372 (completion--styles-type, completion--cycling-threshold-type):
14374 (completion-styles, completion-category-overrides)
14375 (completion-cycle-threshold): Use them.
14376 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14377 completion-table-case-fold.
14379 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14381 * minibuffer.el (completion-category-overrides): Fix type of styles
14382 and add more user friendly tags (bug#9660).
14384 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14386 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14387 (mule-input-method-string): New widget.
14388 (default-input-method, language-info-custom-alist): Use it.
14390 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14392 * pcomplete.el: Require comint.
14393 (pcomplete--common-suffix): Remove.
14394 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14395 (pcomplete--table-subvert): Sync with comint--table-subvert.
14396 (pcomplete--entries): Use comint-completion-file-name-table.
14397 * comint.el (comint-unquote-filename): Simplify.
14398 (comint-completion-file-name-table): New function (bug#9616).
14399 (comint--complete-file-name-data): Use it.
14401 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14402 (pcmpl-gnu-tar-buffer): Remove.
14403 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14404 around. Make sure pcomplete-suffix-list is only changed temporarily.
14405 Don't look inside the tar's file if it's too large.
14407 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14409 * cus-edit.el (custom-mode-map):
14410 * epa.el (epa-key-list-mode-map):
14411 * man.el (Man-mode-map):
14412 * startup.el (splash-screen-keymap):
14413 * simple.el (special-mode-map): Use scroll-up-command and
14414 scroll-down-command.
14416 * progmodes/idlw-help.el (idlwave-help-mode-map):
14417 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14418 * net/newst-plainview.el (newsticker-mode-map):
14419 * emulation/ws-mode.el (wordstar-mode-map):
14420 * emulation/vi.el (vi-com-map):
14421 * calc/calc-graph.el (calc-graph-show-dumb):
14422 * term/sun.el (terminal-init-sun):
14423 * term/ns-win.el (global-map):
14424 * progmodes/grep.el (grep-mode-map):
14425 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14426 * mail/rmail.el (rmail-mode-map):
14427 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14429 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14430 custom-safe-themes as special.
14432 2011-10-01 Julien Danjou <julien@danjou.info>
14434 * notifications.el (notifications-notify): Fix docstring.
14436 2011-10-01 Per Starbäck <per@starback.se>
14438 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14440 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14442 * startup.el (command-line-1): Fix last fix by inserting
14443 initial-scratch-message into *scratch* before displaying it.
14444 (Bug#9605) and (Bug#9636)
14446 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14448 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14449 window is hscrolled, move by logical lines. (Bug#9607)
14450 (line-move-visual): Update the doc string to the above effect.
14452 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14454 * window.el (display-buffer-record-window): When WINDOW is the
14455 selected window use `point' instead of `window-point'. (Bug#9626)
14457 * startup.el (command-line-1): Use insert-before-markers when
14458 inserting initial-scratch-message. (Bug#9605)
14460 * help.el (help-window): Remove variable.
14462 2011-09-29 Glenn Morris <rgm@gnu.org>
14464 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14466 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14468 * descr-text.el (describe-char-categories): Accept category
14469 descriptions more than one line long.
14471 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14473 * simple.el (delete-trailing-whitespace): Fix last change.
14475 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14476 Don't confuse "y => 3" as the beginning of a `y' operation.
14478 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14479 object has more than 4 slots (bug#9613).
14481 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14483 * subr.el (with-output-to-temp-buffer):
14484 * net/quickurl.el (quickurl, quickurl-browse-url):
14485 Fix typos in docstrings.
14487 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14489 * minibuffer.el (completion-styles)
14490 (completion-category-overrides): Cross reference each other in doc
14493 2011-09-27 Glenn Morris <rgm@gnu.org>
14495 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14496 to split-string. (Bug#9606)
14498 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14500 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14503 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14505 * emacs-lisp/package.el (list-packages): Fix echo area message.
14507 2011-09-27 Leo Liu <sdl.web@gmail.com>
14509 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14511 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14513 * net/dbus.el (dbus-unregister-object): Don't release services for
14514 registered signals. (Bug#9581)
14516 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14518 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14519 function that picks between cfengine 2 and 3 support
14520 automatically. Update docs accordingly.
14522 2011-09-22 Kenichi Handa <handa@m17n.org>
14524 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14526 (indian-itrans-v5-table-for-tamil): New variable.
14527 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14529 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14531 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14532 that's true if the current command involved collapsing of text.
14533 It's reset to false at the beginning of the next command.
14534 (allout-post-command-business): Move the cursor to the beginning
14535 of entry if the cursor is hidden and collapsing activity just
14538 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14540 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14541 tracking (Bug#9541).
14543 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14545 * net/newst-reader.el (newsticker-html-renderer)
14546 (newsticker-show-news): Automatically load html rendering package
14547 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14548 because w3m-fill-column is let-bound" and the error "Symbol's value
14549 as variable is void: w3m-fill-column".
14551 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14553 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14554 Release services only if they are defined. (Bug#9581)
14556 2011-09-23 Richard Stallman <rms@gnu.org>
14558 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14559 distinguish start of paragraph from start of its text.
14561 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14563 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14564 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14565 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14567 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14569 * international/mule-diag.el (mule-diag): Insert a newline after
14570 each fontset description.
14572 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14574 * simple.el (delete-trailing-whitespace):
14575 Document last change; simplify.
14577 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14579 * simple.el (delete-trailing-whitespace): Also delete
14580 extra newlines at the end of the buffer.
14582 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14583 (picture-newline): Use forward-line so as to ignore fields.
14585 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14587 * subr.el (with-wrapper-hook): Fix edebug spec.
14589 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14591 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14594 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14596 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14597 Fix nasty bug using wrong cached values.
14599 2011-09-23 Alan Mackenzie <acm@muc.de>
14601 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14603 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14605 * window.el (pop-to-buffer): Ensure right window is selected if we
14606 chose another frame.
14608 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14610 * simple.el (what-cursor-position): Use get-char-property-change
14611 and next-single-char-property-change, to be able to show display
14612 properties that come from overlays as well as text properties.
14614 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14616 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14618 * cmuscheme.el (run-scheme, switch-to-scheme):
14619 * cus-edit.el (customize-group, custom-buffer-create)
14620 (customize-browse):
14622 * shell.el (shell):
14623 * mail/sendmail.el (mail):
14624 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14626 2011-09-22 Richard Stallman <rms@gnu.org>
14628 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14629 move back only to line beg, don't move back over blank lines.
14631 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14633 * files.el (copy-directory): Set directory attributes only in case
14634 they could be retrieved from the source directory. (Bug#9565)
14636 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14638 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14639 (hs-find-block-beginning, hs-hide-level-recursive):
14640 Ignore strings as well as comments. (Bug#9502)
14642 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14644 * progmodes/sql.el (sql-comint-postgres):
14645 Convert port number to a string. (Bug#9566)
14647 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14649 * window.el (quit-window): Undedicate window when switching to
14650 previous buffer. Reported by Thierry Volpiatto
14651 <thierry.volpiatto@gmail.com>.
14652 (special-display-popup-frame): When popping up a new frame reset
14653 its previous buffers to nil. Simplify code.
14655 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14657 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14658 and process filter, as done also in `shell-command'.
14660 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14662 * window.el (set-window-buffer-start-and-point):
14663 Call set-window-start with NOFORCE argument t.
14664 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14665 (quit-window): Reword doc-string. Handle new format of
14666 quit-restore parameter. Don't delete window if it has a
14667 previous buffer we can show instead of the present one.
14668 (display-buffer-record-window): Rewrite using a new format for
14669 the quit-restore window parameter
14670 (special-display-popup-frame, display-buffer-same-window)
14671 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14672 (display-buffer-pop-up-window, display-buffer-use-some-window):
14673 Adapt symbol passed to display-buffer-record-window.
14674 * help.el (help-window-setup): Handle new format of quit-restore
14677 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14679 * faces.el (face-list): Fix docstring (bug#9564).
14681 * window.el (display-buffer--action-function-custom-type):
14682 Don't include internal functions in the Custom interface.
14684 2011-09-20 Juri Linkov <juri@jurta.org>
14686 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14687 (Info-forward-node, Info-backward-node, Info-next-preorder)
14688 (Info-last-preorder): Use it. (Bug#9528)
14690 2011-09-20 Juri Linkov <juri@jurta.org>
14692 * info.el (Info-last-preorder): Visit last menu item only when
14693 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14695 2011-09-20 Julien Danjou <julien@danjou.info>
14697 * password-cache.el (password-cache-remove): Remove entries even if the
14698 value is nil, so that password with a nil value (negative caching) is
14699 possible to invalidate.
14701 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14703 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14704 all whitespace around breakpoint. (Bug#9553)
14705 (f90-find-breakpoint): Only break at whitespace inside a comment.
14707 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14709 * minibuffer.el (completion-file-name-table): Keep track of errors.
14710 (completion-table-with-predicate): Handle the case where pred1 is nil.
14711 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14713 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14716 (debugger-return-value): Signal an error if the debugging context does
14717 not await any return value.
14719 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14720 * image-mode.el (image-toggle-display-text)
14721 (image-toggle-display-image): Stay away from evil `intangible'.
14723 2011-09-19 Leo Liu <sdl.web@gmail.com>
14725 * replace.el (occur-revert-arguments): Make it permanent-local.
14726 (occur-mode): Don't call font-lock-defontify.
14728 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14730 * net/ldap.el (ldap-search-internal): Don't push empty search
14733 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14735 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14737 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14739 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14740 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14742 2011-09-18 Juri Linkov <juri@jurta.org>
14744 * buff-menu.el (Buffer-menu-mode-map):
14745 * dired.el (dired-mode-map):
14746 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14747 (lisp-interaction-mode-map):
14748 * emacs-lisp/package.el (package-menu-mode-map):
14749 * epa.el (epa-key-list-mode-map):
14750 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14751 (menu-bar-options-menu):
14752 * outline.el (outline-mode-menu-bar-map):
14753 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14754 * vc/vc-dir.el (vc-dir-menu-map):
14755 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14756 Capitalize non-function content words in menu item strings.
14758 * dired.el (dired-mode-map): Add menu item for
14759 `image-dired-dired-toggle-marked-thumbs'.
14761 2011-09-18 Juri Linkov <juri@jurta.org>
14763 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14764 to `isearch-case-fold-search' and restore its original value
14765 after the `isearch-mode' call.
14767 2011-09-18 Juri Linkov <juri@jurta.org>
14769 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14770 because `zgrep' returns 1 for successful matches (bug#9226).
14772 2011-09-18 Juri Linkov <juri@jurta.org>
14774 * info.el (Info-extract-menu-node-name): Check the second match
14775 for empty string (second test-case of bug#9528).
14776 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14777 intermediate nodes to the history (first test-case of bug#9528).
14779 2011-09-18 Juri Linkov <juri@jurta.org>
14781 * info.el (Info-mode-syntax-table): New variable.
14782 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14784 2011-09-18 Juri Linkov <juri@jurta.org>
14786 * info.el (Info-file-supports-index-cookies):
14787 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14788 outputs one more line for long file names (bug#4142).
14790 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14792 * newcomment.el (comment-normalize-vars): If prompting for
14793 comment-start, set comment-start-skip too (Bug#8424).
14795 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14797 * icomplete.el: Fix previous fix of Bug#5849.
14798 (icomplete-mode): Don't set completion-show-inline-help.
14799 (icomplete-minibuffer-setup): Set completion-show-inline-help
14800 locally during icompletion.
14802 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14804 * woman.el (woman2-process-escapes): Don't delete unrecognized
14805 escapes (Bug#7843).
14807 * files.el (inhibit-first-line-modes-regexps): Add image files.
14808 (hack-local-variables-prop-line): Return nil for malformed
14809 prop-lines (Bug#9044).
14811 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14813 * net/tramp.el (top): Don't require 'shell.
14814 (tramp-methods): Fix docstring.
14815 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14816 Return complete remote file name. Handle "smb" case.
14817 Use `tramp-tmpdir', if defined for the respective method.
14818 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14820 * net/tramp-compat.el (top): Require 'shell.
14822 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14823 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14824 `tramp-current-host'.
14825 (tramp-get-remote-tmpdir): Remove.
14827 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14828 `tramp-tmpdir' entries.
14829 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14830 (tramp-smb-handle-file-attributes): Ignore errors.
14831 (tramp-smb-wait-for-output): Check also for process end.
14833 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14835 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14836 when sending QUIT (bug#9312).
14838 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14840 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14841 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14842 occur-mode-display-occurrence.
14843 (occur-edit-mode): Add usage message.
14844 (occur-cease-edit): New command.
14845 (occur-after-change-function): Use text properties to find the
14846 position of the prefix text.
14847 (occur-engine): Set stickiness of prefix text properties.
14849 2011-09-17 Glenn Morris <rgm@gnu.org>
14851 * progmodes/etags.el (complete-tag):
14852 Fix call to completion-in-region. (Bug#9526)
14854 2011-09-17 Juri Linkov <juri@jurta.org>
14856 * textmodes/ispell.el (ispell-word): Add to the error message
14857 the word, ispell program name and current dictionary (bug#9121).
14858 (ispell-tex-arg-end): Capitalize "error" in the error message.
14860 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14862 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14865 2011-09-17 Juri Linkov <juri@jurta.org>
14867 * window.el (window-safe-min-height, window-safe-min-width):
14868 Fix typos (followup to bug#9522).
14870 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14872 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14874 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14876 * simple.el (line-move): If goal-column is set, move by logical
14877 lines, not by display lines. (Bug#971)
14878 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14879 to reflect the above change.
14881 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14883 * image.el (imagemagick-register-types): Use regexp-opt.
14885 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14887 * window.el (display-buffer-base-action): Rename from
14888 display-buffer-default-action. Make default value empty.
14889 (display-buffer-overriding-action): Convert to defvar.
14890 (display-buffer-fallback-action): New var.
14892 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14894 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14896 (package--add-to-archive-contents): If there is a duplicate entry
14897 with an older version, remove it.
14898 (package-menu-mark-delete, package-menu-mark-install)
14899 (package-menu-mark-unmark): Make unused args optional.
14900 (package-menu-mark-obsolete-for-deletion):
14901 Use package-menu-get-status instead of a regexp search.
14902 (package-menu-get-status): Use tabulated-list-entry.
14903 (package-menu-mark-upgrades): New command.
14904 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14905 (package-menu-execute): Do installation before deletion.
14906 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14907 instead of checking major-mode.
14908 (package-menu--find-upgrades): New function.
14910 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14912 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14913 passwords in the log buffer.
14914 (smtpmail-process-filter): Update the process marker so that the
14915 "broken by peer" status message is inserted in the right place.
14917 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14919 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14920 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14921 bibtex-completion-at-point-function.
14922 (bibtex-completion-at-point-function): Use them.
14924 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14926 * mpc.el (mpc-constraints-tag-lookup): New function.
14927 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14928 also to browser "album|playlist".
14930 2011-09-14 Juri Linkov <juri@jurta.org>
14932 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14933 (isearch-edit-string): Use length of `isearch-string' when
14934 `isearch-fail-pos' returns nil.
14935 (isearch-message): Remove duplicate code and call
14936 `isearch-fail-pos' with arg `t'.
14938 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14940 * replace.el (occur-mode-goto-occurrence): Don't force using other
14943 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14945 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14947 * window.el (display-buffer-window): Remove.
14948 (display-buffer-record-window): Use help-setup window parameter
14949 instead of variable display-buffer-window.
14950 (display-buffer-function, special-display-buffer-names)
14951 (special-display-function): Mention help-setup parameter instead
14952 of display-buffer-window in doc-string.
14953 * help.el (help-window-setup): New argument help-window.
14954 Use help-window-setup parameter instead of display-buffer-window.
14955 Reword some messages.
14956 (with-help-window): Pass window used for displaying the buffer
14957 to help-window-setup. Don't set display-buffer-window.
14959 2011-09-13 Glenn Morris <rgm@gnu.org>
14961 * emacs-lisp/debug.el (debugger-make-xrefs):
14962 Preserve point. (Bug#9462)
14964 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14966 * window.el (window-deletable-p): Use next-frame.
14968 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14970 * window.el (window-auto-delete): Remove.
14971 (window-deletable-p): Remove argument FORCE. Don't deal with
14972 dedication and previous buffers.
14973 (switch-to-prev-buffer): Don't delete window.
14974 (delete-windows-on): Delete a window's frame if and only if the
14975 window is dedicated.
14976 (replace-buffer-in-windows): Delete buffer's window or frame if
14977 and only if window is dedicated.
14978 (quit-window): Handle quit-restore as before last change.
14979 (bury-buffer): Delete window only if window-deletable-p returns t.
14981 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14983 * window.el (window-deletable-p): Never delete the last frame on a
14986 2011-09-13 Glenn Morris <rgm@gnu.org>
14988 * help.el (describe-key-briefly): Copy previous standard-output change.
14990 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14992 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14994 2011-09-13 Glenn Morris <rgm@gnu.org>
14996 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14997 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14999 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15001 * dired-aux.el (dired-mark-read-string): Don't return default
15002 value on empty input (Bug#9361).
15003 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15004 Omit initial minibuffer contents.
15005 (dired-do-chmod): Signal an error on empty input.
15006 (dired-mark-read-string): Don't return default on empty input.
15008 * files.el (file-modes-symbolic-to-number): Doc fix.
15010 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15012 * international/mule-cmds.el (ucs-completions): Remove.
15013 (read-char-by-name): Use complete-with-action instead; add metadata.
15015 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15017 * window.el (display-buffer--action-function-custom-type)
15018 (display-buffer--action-custom-type): New vars.
15019 (display-buffer-alist, display-buffer-default-action)
15020 (display-buffer-overriding-action): Add defcustom types.
15022 * frame.el (delete-other-frames): Doc fix (Bug#276).
15024 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15028 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15030 Change modes that used same-window-* vars to use switch-to-buffer.
15032 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15033 Use switch-to-buffer.
15035 * cus-edit.el (customize-group, custom-buffer-create)
15036 (customize-browse, custom-buffer-create-other-window):
15037 Use switch-to-buffer or switch-to-buffer-other-window.
15039 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15040 (Info-prev, Info-up, Info-speedbar-goto-node)
15041 (info-display-manual): Use switch-to-buffer.
15042 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15044 * mail/sendmail.el (mail): Use switch-to-buffer.
15045 (mail-recover): Use switch-to-buffer-other-window.
15047 * cmuscheme.el (run-scheme, switch-to-scheme):
15049 * shell.el (shell):
15050 * net/rlogin.el (rlogin):
15051 * net/telnet.el (telnet, rsh):
15052 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15054 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15056 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15058 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15060 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15061 so don't mention it (bug#9301).
15062 (dired-sort-toggle-or-edit): Clarify string further.
15064 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15065 match `x', `w32' and `ns', like the manual says (bug#9029).
15067 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15068 (process-kill-buffer-query-function): Mention the buffer name in
15071 * image-mode.el (image-next-line): The line parameter is mandatory
15074 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15075 which can be useful (bug#9301).
15077 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15079 * subr.el (match-string): Mention that the current buffer should
15080 be the same as the search was done in (bug#9282).
15082 * facemenu.el: Disable the remove-* commands if the mark isn't
15085 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15087 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15089 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15091 * replace.el (occur-mode-goto-occurrence)
15092 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15093 and display-buffer.
15095 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15098 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15099 special-display and same-window variables.
15100 (mail-other-window): Use switch-to-buffer-other-window.
15101 (mail-other-frame): USe switch-to-buffer-other-frame.
15103 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15104 Use display-buffer-other-frame.
15105 (gdb-display-gdb-buffer): Use pop-to-buffer.
15107 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15109 * progmodes/python.el: Don't set same-window-buffer-names.
15111 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15113 * window.el (display-buffer-alist): Add *Python*.
15115 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15117 * window.el (display-buffer-alist): Add entry for buffers
15118 previously handled same-window-*.
15119 (display-buffer-alist, display-buffer-default-action)
15120 (display-buffer-overriding-action): Mark as risky.
15121 (display-buffer-alist): Document action function changes.
15122 (display-buffer--same-window-action)
15123 (display-buffer--other-frame-action): New variables.
15124 (switch-to-buffer, display-buffer-other-frame): Use them.
15125 (display-buffer): Rename reuse-frame entry to reusable-frames.
15126 (display-buffer-reuse-selected-window): Function deleted.
15127 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15128 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15129 (display-buffer-special): New function.
15130 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15131 display-buffer-reuse-or-pop-window. Split off special-display
15132 part into display-buffer-special.
15133 (display-buffer-use-some-window): Don't perform any special
15134 pop-up-frames handling.
15135 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15136 (display-buffer--maybe-same-window): Rename from
15137 display-buffer-maybe-same-window.
15139 * info.el: Don't set same-window-regexps.
15140 (info-setup): New function.
15141 (info-other-window, info): Call it.
15143 * cus-edit.el: Don't set same-window-regexps.
15144 (customize-group): New argument.
15145 (customize-group-other-window): Use it.
15146 (customize-face, customize-face-other-window): Likewise.
15147 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15151 * progmodes/gud.el: Don't set same-window-regexps.
15156 * mail/sendmail.el:
15157 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15159 2011-09-10 Juri Linkov <juri@jurta.org>
15161 * isearch.el (isearch-edit-string): Remove obsolete mention of
15162 `C-w' (`isearch-yank-word-or-char') from docstring.
15163 (isearch-query-replace): Fix typo in docstring (bug#9466).
15165 2011-09-10 Juri Linkov <juri@jurta.org>
15167 * paren.el (show-paren-function): Don't show escaped parens.
15168 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15170 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15172 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15173 (mm-default-file-encoding): Remove autoload forms, they are
15174 replaced with autoload cookies in mml.el and mm-encode.el.
15175 (mail-add-attachment): New command.
15176 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15177 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15179 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15181 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15183 * simple.el (count-words-region): Use buffer if there's no region
15186 2011-09-09 Juri Linkov <juri@jurta.org>
15188 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15189 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15190 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15192 2011-09-09 Alan Mackenzie <acm@muc.de>
15194 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15195 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15197 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15199 Fix for Savannah bug#9392.
15200 * simple.el (mail-encode-mml): New defvar.
15202 * mail/rmail.el (mail-encode-mml): Add a defvar.
15203 (rmail-enable-mime-composing): Default to t.
15204 (rmail-forward): Use MIME method of forwarding only if both
15205 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15206 Set mail-encode-mml non-nil if the MIME method was used.
15208 * mail/sendmail.el (mml-to-mime): Add autoload form.
15209 (mail-encode-mml): Add a defvar.
15210 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15212 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15213 message through mml-to-mime, and reset mail-encode-mml to nil.
15215 2011-09-09 Glenn Morris <rgm@gnu.org>
15217 * woman.el (woman-if-body): When processing an .el block,
15218 do not delete the next .el block as well. (Bug#9447)
15219 (woman-special-characters): Add oq, cq, and hy characters.
15221 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15223 * window.el (window-deletable-p): Make sure window is live before
15224 invoking window-prev-buffers.
15226 2011-09-08 Leo Liu <sdl.web@gmail.com>
15228 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15230 2011-09-08 Juri Linkov <juri@jurta.org>
15232 * progmodes/compile.el (compilation-environment): Make it
15233 a defcustom (bug#8340).
15235 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15237 * window.el (frame-auto-delete): Rename to window-auto-delete.
15238 Make it control auto-deletion of windows and/or frames.
15239 (window-deletable-p): New argument FORCE. Rewrite conditions
15240 for deleting window/frame. (Bug#9419)
15241 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15242 Rewrite handling of case when window/frame can be deleted.
15243 (delete-windows-on): Call window-deletable-p with new FORCE
15244 argument t. (Bug#9456)
15246 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15248 * help-mode.el (help-mode): Restore autoload.
15250 2011-09-07 Juri Linkov <juri@jurta.org>
15252 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15253 `compilation-environment'. Set buffer-local
15254 `compilation-environment' to `thisenv' later after (funcall mode).
15257 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15258 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15259 instead of replacing its value. (Bug#8340)
15261 2011-09-07 Juri Linkov <juri@jurta.org>
15263 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15264 based on text properties put by `grep-filter' instead of matching
15266 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15267 to the value of `grep-error-screen-columns' (bug#9438).
15269 2011-09-07 Juri Linkov <juri@jurta.org>
15271 * simple.el (next-error-highlight, next-error-highlight-no-select):
15272 Doc fix (bug#9432).
15274 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15276 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15277 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15279 2011-09-07 Leo Liu <sdl.web@gmail.com>
15281 * net/rcirc.el (rcirc-mode): Conditionally initialize
15284 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15286 * emacs-lisp/find-func.el (find-function-C-source): Only set
15287 find-function-C-source-directory after checking that we found a source
15288 file there (bug#9440).
15290 2011-09-06 Alan Mackenzie <acm@muc.de>
15292 * isearch.el (isearch-other-meta-char): Wherever a key list is
15293 unread, "unread" the prefix arg, too. This fixes bug #8901.
15295 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15297 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15299 2011-09-05 Juri Linkov <juri@jurta.org>
15301 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15303 2011-09-05 Juri Linkov <juri@jurta.org>
15305 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15306 keeping point where processing of grep matches begins, and
15307 continue to delete remaining escape sequences from the same point.
15308 (grep-filter): Make leading zero optional in "0?1;31m" because
15309 git-grep emits "\033[1;31m" escape sequences unlike expected
15310 "\033[01;31m" as GNU Grep does (bug#9408).
15311 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15313 2011-09-05 Juri Linkov <juri@jurta.org>
15315 * subr.el (y-or-n-p): Capitalize "yes".
15317 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15319 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15320 `tramp-cache-unload-hook' where appropriate.
15321 (tramp-methods): Rename `tramp-remote-sh' to
15322 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15323 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15325 * net/tramp-sh.el (top): Don't require 'shell.
15326 (tramp-methods): Add `tramp-remote-shell' and
15327 `tramp-remote-shell-args' entries.
15328 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15329 (tramp-sh-handle-shell-command): Remove.
15330 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15331 Use `tramp-remote-shell'.
15333 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15335 * mail/sendmail.el (sendmail-query-once-function): Delete.
15336 (sendmail-query-once): Save directly to send-mail-function.
15337 Update message-send-mail-function too.
15339 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15341 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15343 * progmodes/python.el (python-mode-map): Use correct function to
15344 start python interpreter from menu-bar (as reported by Geert
15346 (inferior-python-mode-map): Fix typo.
15347 (python-shell-map): Remove.
15349 2011-09-03 Deniz Dogan <deniz@dogan.se>
15351 * net/rcirc.el (rcirc-print): Simplify code for
15352 rcirc-scroll-show-maximum-output. There is no need to walk
15353 through all windows to find the right one.
15355 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15357 * help.el (help-return-method): Doc fix.
15359 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15361 * window.el (window-deletable-p): Don't return a non-nil value
15362 when there's a buffer that was shown in the window before.
15364 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15365 Set window's previous buffers to nil.
15367 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15369 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15370 newline before and after the tag line, so it doesn't interfere
15371 with determining the paragraph direction of bidirectional text.
15373 2011-09-03 Leo Liu <sdl.web@gmail.com>
15375 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15377 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15379 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15380 (pop-to-buffer): Change interactive spec. Pass second argument
15381 directly to display-buffer.
15382 (display-buffer): Fix interactive spec. Use functionp to
15383 distinguish between a function and a list of functions.
15385 * abbrev.el (edit-abbrevs):
15386 * arc-mode.el (archive-extract):
15387 * autoinsert.el (auto-insert):
15388 * bookmark.el (bookmark-bmenu-list):
15389 * files.el (find-file):
15390 * view.el (view-buffer):
15391 * progmodes/compile.el (compilation-goto-locus):
15392 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15394 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15396 * window.el (display-buffer-alist): Doc fix.
15397 (display-buffer): Add docstring. Don't treat
15398 display-buffer-default specially.
15399 (display-buffer-reuse-selected-window)
15400 (display-buffer-same-window, display-buffer-maybe-same-window)
15401 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15402 (display-buffer-pop-up-window)
15403 (display-buffer-reuse-or-pop-window)
15404 (display-buffer-use-some-window): New functions.
15405 (display-buffer-default-action): Use them.
15406 (display-buffer-default): Delete.
15407 (pop-to-buffer-1): Fix choice of actions.
15409 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15411 * minibuffer.el (completion--insert-strings): Don't get confused by
15412 completion entries that end with an LF char.
15414 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15416 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15418 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15420 * window.el (display-buffer): Restore interactive spec.
15421 (display-buffer-same-window, display-buffer-other-window):
15423 (pop-to-buffer-1): New function. Use the above.
15424 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15425 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15427 * view.el (view-buffer-other-window, view-buffer-other-frame):
15428 Just use pop-to-buffer.
15430 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15432 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15434 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15436 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15438 2011-08-31 Richard Stallman <rms@gnu.org>
15440 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15441 of the separation of rmail-view-buffer from rmail-buffer.
15442 If you say no to "replace original", the decrypt is in the
15443 view buffer. If you say yes, the decrypt goes into the
15446 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15448 * window.el (display-buffer-window): Rewrite doc-string.
15449 (display-buffer-record-window): New function.
15450 (display-buffer-macro-specifiers)
15451 (display-buffer-even-window-sizes, display-buffer-set-height)
15452 (display-buffer-set-width, display-buffer-in-window)
15453 (display-buffer-reuse-window, display-buffer-split-specifiers)
15454 (display-buffer-side-specifiers, display-buffer-split-window-1)
15455 (display-buffer-split-window, display-buffer-split-atom-window)
15456 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15457 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15458 (display-buffer-other-window-means-other-frame)
15459 (display-buffer-normalize-special)
15460 (display-buffer-normalize-default)
15461 (display-buffer-normalize-argument)
15462 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15463 (display-buffer-normalize-specifiers, display-buffer-frame)
15464 (display-buffer-same-window, display-buffer-same-frame)
15465 (display-buffer-other-window)
15466 (display-buffer-same-frame-other-window)
15467 (display-buffer-other-frame, pop-to-buffer-same-window)
15468 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15469 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15470 (switch-to-buffer-same-frame)
15471 (switch-to-buffer-other-window-same-frame)
15472 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15473 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15474 (display-buffer-alist-set): Remove.
15475 (display-buffer-function, special-display-buffer-names)
15476 (special-display-regexps, special-display-function):
15477 In doc-string refer to display-buffer-window and quit-restore
15479 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15480 (special-display-frame-alist, special-display-popup-frame)
15481 (same-window-buffer-names, same-window-regexps, same-window-p)
15482 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15483 (split-window-preferred-function, split-height-threshold)
15484 (split-width-threshold, window-splittable-p)
15485 (split-window-sensibly, window--try-to-split-window)
15486 (window--frame-usable-p, even-window-heights)
15487 (window--even-window-heights, window--display-buffer-1)
15488 (window--display-buffer-2, display-buffer-other-frame):
15489 Restore old Emacs 23 code, order and doc-strings where applicable.
15490 (display-buffer-default, display-buffer-assq-regexp): New functions.
15491 (display-buffer-alist): Rewrite doc-string.
15492 (display-buffer-default-action)
15493 (display-buffer-overriding-action): New variables.
15494 (display-buffer, switch-to-buffer): Rewrite.
15495 (pop-to-buffer): Restore Emacs 23 behavior but use
15496 window-normalize-buffer-to-display.
15497 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15498 Restore Emacs 23 behavior but use
15499 window-normalize-buffer-to-switch-to.
15500 (pop-to-buffer-same-window): Rewrite.
15501 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15502 Rewrite using Emacs 23 options.
15504 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15506 * net/tramp.el (tramp-root-regexp): Remove.
15507 (tramp-completion-file-name-regexp-unified)
15508 (tramp-completion-file-name-regexp-separate)
15509 (tramp-completion-file-name-regexp-url): Don't use leading volume
15510 letter on w32 systems. (Bug#5303, Bug#9311)
15511 (tramp-drop-volume-letter): Simplify definition.
15512 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15514 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15516 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15519 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15521 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15523 2011-08-29 Juri Linkov <juri@jurta.org>
15525 * isearch.el (isearch-done): Don't display message "Mark saved"
15526 when arg `edit' is non-nil to prevent its flicker in the echo area.
15528 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15530 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15531 obsolete packages for deletion.
15533 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15535 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15536 (help-mode): Derive help-mode from special-mode. Don't invoke
15537 view-mode from help-mode.
15538 (help-xref-override-view-map): Remove.
15539 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15540 view-mode is not used anymore.
15542 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15544 * server.el (server-port): Doc fix.
15546 * cus-theme.el (custom-theme-choose-mode): Inherit from
15547 special-mode (Bug#9124).
15548 (custom-theme-choose-mode-map): Add special-mode to parent.
15550 2011-08-28 Alan Mackenzie <acm@muc.de>
15552 * progmodes/cc-fonts.el
15553 (c-make-font-lock-BO-decl-search-function): New function.
15554 (c-basic-matchers-after - "Fontify the clauses after various
15555 keywords"): Extract the three keyword lists for the 3 erroneous
15556 constructs from the list of four, and use the new function above
15557 in place of an old one.
15559 2011-08-28 Deniz Dogan <deniz@dogan.se>
15561 * net/rcirc.el (rcirc-insert-prev-input)
15562 (rcirc-insert-next-input): Remove unused argument.
15564 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15566 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15568 2011-08-27 Alan Mackenzie <acm@muc.de>
15570 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15571 handle function pointer parameters properly.
15573 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15575 * window.el (display-buffer-reuse-window): Fix case where
15576 selected window was reused with non-nil OTHER-WINDOW argument.
15579 2011-08-27 Deniz Dogan <deniz@dogan.se>
15581 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15582 oftc's NickServ messages.
15584 2011-08-27 Glenn Morris <rgm@gnu.org>
15586 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15588 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15590 * emacs-lisp/package.el (package-install): Call package-initialize
15591 if called interactively.
15593 2011-08-26 Leo Liu <sdl.web@gmail.com>
15595 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15597 2011-08-25 Juri Linkov <juri@jurta.org>
15599 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15600 `search-whitespace-regexp' (bug#9364).
15602 2011-08-25 Juri Linkov <juri@jurta.org>
15604 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15605 `regexp-search-ring' to their global values to protect from
15606 updating by `read-from-minibuffer' (bug#9185).
15608 2011-08-25 Juri Linkov <juri@jurta.org>
15610 * textmodes/ispell.el (ispell-command-loop): Add newline
15611 at the end of the "Use option `i'..." line.
15613 2011-08-25 Juri Linkov <juri@jurta.org>
15615 * battery.el (display-battery-mode): If `battery-status-function'
15616 or `battery-mode-line-format' is nil, display the message and set
15617 `display-battery-mode' to nil (bug#9363).
15619 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15621 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15622 bidi-string-mark-left-to-right; they are unnecessary now.
15624 2011-08-25 Deniz Dogan <deniz@dogan.se>
15626 * net/quickurl.el: Documentation typo fixes.
15628 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15630 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15632 2011-08-25 Glenn Morris <rgm@gnu.org>
15634 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15636 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15637 (smtpmail-via-smtp): Handle nil response from smtp.
15639 2011-08-24 Juri Linkov <juri@jurta.org>
15641 * proced.el (proced-marked): Inherit from `error' instead of
15642 `font-lock-warning-face'.
15644 * ibuffer.el (ibuffer-marked-face): Change default face from
15645 `font-lock-warning-face' to `warning'.
15646 (ibuffer-deletion-face): Change default face from
15647 `font-lock-type-face' to `error'.
15649 * battery.el (battery-update): Use the face `error' instead of
15650 `font-lock-warning-face' (bug#6117).
15652 2011-08-24 Juri Linkov <juri@jurta.org>
15654 * faces.el (success): Change face color from "Green3" to
15655 "ForestGreen" on light background (bug#9353).
15657 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15659 * window.el (quit-window): Rename from quit-restore-window.
15660 Use same arglist as old quit-window.
15661 (frame-auto-delete): Doc fix.
15663 * view.el (view-mode-exit): Use quit-window.
15665 2011-08-24 Juri Linkov <juri@jurta.org>
15667 * isearch.el (isearch-ring-adjust1): Start visiting previous
15668 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15669 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15670 for empty search string (when the last search string is reused
15671 automatically) to adjust the isearch ring to the last element and
15672 prepare the correct index for further M-p commands (bug#9185).
15674 2011-08-24 Kenichi Handa <handa@m17n.org>
15676 * international/ucs-normalize.el: If decomposition property of
15677 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15679 (nfd, nfkd): Likewise.
15681 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15684 from process filters aren't reliably transmitted to the surrounding
15685 accept-process-output.
15686 (mpc-proc-check): New function.
15687 (mpc-proc-sync): Use it (bug#8293)
15689 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15692 Add compatibility functions (bug#9313).
15694 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15696 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15698 * international/uni-bidi.el: Regenerate.
15700 2011-08-23 Kenichi Handa <handa@m17n.org>
15702 * international/charprop.el:
15703 * international/uni-bidi.el:
15704 * international/uni-category.el:
15705 * international/uni-combining.el:
15706 * international/uni-comment.el:
15707 * international/uni-decimal.el:
15708 * international/uni-decomposition.el:
15709 * international/uni-digit.el:
15710 * international/uni-lowercase.el:
15711 * international/uni-mirrored.el:
15712 * international/uni-name.el:
15713 * international/uni-numeric.el:
15714 * international/uni-old-name.el:
15715 * international/uni-titlecase.el:
15716 * international/uni-uppercase.el: Regenerate.
15718 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15720 * help.el (help-window-setup): Fix message displayed when other
15721 window is reused. (Bug#9341)
15723 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15725 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15726 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15728 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15730 * shell.el (shell-parse-pcomplete-arguments): New function.
15731 (shell-completion-vars): Use it instead (bug#9160).
15733 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15735 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15736 strings and comments (bug#9333).
15738 * emacs-lisp/debug.el (debug-arglist): New function.
15739 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15740 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15742 2011-08-22 Juri Linkov <juri@jurta.org>
15744 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15745 Revert regexp that highlights output switches to its old
15746 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15748 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15749 to check for empty output (bug#9226).
15751 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15753 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15754 symbol-constituent as the default, as that stops font-lock from
15755 working properly (Bug#8843).
15757 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15759 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15760 `coding-system-for-*' around the process open call to avoid
15761 auth-source side effects.
15762 (smtpmail-try-auth-methods): Expand the secret password.
15763 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15766 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15768 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15770 * emacs-lisp/find-func.el (find-function-noselect): New arg
15773 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15774 signal an error for built-in functions (Bug#6664).
15776 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15778 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15779 (smtpmail-try-auth-methods): Use it.
15781 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15783 * font-lock.el (font-lock-fontify-region)
15784 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15785 (font-lock-default-unfontify-buffer)
15786 (font-lock-default-fontify-region)
15787 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15789 * progmodes/compile.el (compilation-error-properties):
15790 Fix confusion between file struct and message struct (Bug#9319).
15791 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15794 * net/browse-url.el (browse-url-firefox): Don't call
15795 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15797 2011-08-20 Glenn Morris <rgm@gnu.org>
15799 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15801 * tutorial.el (tutorial--default-keys): Update some default bindings.
15803 * files.el (hack-local-variables): Fully ignore case for "mode:".
15805 2011-08-20 Alan Mackenzie <acm@muc.de>
15807 Resolve invalid use of a regexp in regexp-opt.
15809 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15810 detection for a java annotation.
15812 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15813 detection for a java annotation.
15815 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15817 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15819 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15821 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15824 2011-08-20 Alan Mackenzie <acm@muc.de>
15826 Fontify CPP expressions correctly when starting in the middle of
15827 such a construct. Mainly for when jit-lock etc. starts a chunk
15830 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15832 (c-make-font-lock-search-form): New function, extracted from
15833 c-make-font-lock-search-function.
15834 (c-make-font-lock-search-function): Use the above function.
15835 (c-make-font-lock-context-search-function): New function.
15836 (c-cpp-matchers): Enhance the preprocessor expression case with
15838 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15839 which takes an expression.
15841 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15843 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15845 * window.el (display-buffer-reuse-window)
15846 (display-buffer-pop-up-window): Don't reuse or split a side
15849 2011-08-19 Glenn Morris <rgm@gnu.org>
15851 * files.el (hack-local-variables-prop-line, hack-local-variables):
15852 Downcase "Mode:". (Bug#9331)
15854 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15856 * international/characters.el: Add L and R categories.
15858 * subr.el (bidi-string-mark-left-to-right): Rename from
15859 string-mark-left-to-right. Use category search.
15861 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15863 2011-08-18 Juri Linkov <juri@jurta.org>
15865 * faces.el (error, warning, success): New faces with definitions
15866 copied from old default values of `font-lock-warning-face',
15867 `compilation-warning', `compilation-info' (bug#6117).
15869 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15871 * progmodes/compile.el (compilation-error): Inherit from `error'.
15872 (compilation-warning): Inherit from `warning'.
15873 (compilation-info): Inherit from `success'.
15875 * dired.el (dired-marked): Inherit from `warning'.
15876 (dired-flagged): Inherit from `error'.
15878 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15880 * mail/smtpmail.el (auth-source): Require to avoid problems with
15881 binding variables (bug#9298). Also clean up some unused
15884 * net/network-stream.el (network-stream-open-starttls):
15885 Support using starttls.el without using gnutls-cli.
15887 2011-08-17 Juri Linkov <juri@jurta.org>
15889 * progmodes/grep.el (rgrep): Handle the case when
15890 `grep-find-command' is a cons cell (bug#9278).
15892 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15894 * window.el (display-buffer-pop-up-frame): Run frame creation
15895 function with BUFFER current (as special-display-popup-frame
15896 does). Reported by Drew Adams.
15898 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15900 * epa-mail.el: Simplify GnuPG group expansion using
15902 (epa-mail-group-alist, epa-mail-group-modtime)
15903 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15904 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15905 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15908 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15910 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15912 2011-08-16 Alan Mackenzie <acm@muc.de>
15914 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15915 Correct, to avoid the inside of macros.
15917 2011-08-16 Richard Stallman <rms@gnu.org>
15919 * epa-mail.el: Handle GnuPG group definitions.
15920 (epa-mail-group-alist, epa-mail-group-modtime)
15921 (epa-mail-gnupg-conf-file): New variables.
15922 (epa-mail-parse-groups, epa-mail-sync-groups)
15923 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15924 (epa-mail-expand-recipients): New functions.
15925 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15927 * mail/rmail.el (rmail-epa-decrypt): New command.
15929 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15930 Don't bind buffer-read-only, just inhibit-read-only.
15931 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15932 (epa-decrypt-armor-in-region): Make error message clearer.
15934 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15936 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15937 and "a2b" to "ab" for `prefix'.
15939 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15941 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15943 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15944 Fourquet (Bug#8804).
15946 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15948 * startup.el (argi): Declare as global variable (bug#9275).
15950 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15952 * subr.el (string-mark-left-to-right): Search the entire string
15953 for RTL script, not just the terminating character. Doc fix.
15955 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15957 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15959 (js--regexp-literal, js-syntax-propertize-function): Remove.
15960 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15961 (js-mode-map): Don't rebind electric keys.
15962 (js-insert-and-indent): Remove.
15963 (js-mode): Setup electric-layout and electric-indent instead.
15965 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15967 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15969 * epa.el (epa-progress-callback-function): Fix the logic of
15970 displaying progress.
15971 * epa-file.el (epa-file-insert-file-contents): Make progress
15972 display more user-friendly.
15973 (epa-file-write-region): Ditto.
15975 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15977 * subr.el (string-mark-left-to-right): New function.
15979 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15980 Use string-mark-left-to-right.
15981 (list-buffers-noselect): Caller changed.
15983 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15984 Use string-mark-left-to-right.
15985 (tabulated-list-print): Recenter after moving point.
15987 2011-08-10 Juri Linkov <juri@jurta.org>
15989 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15990 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15991 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15993 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15995 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15998 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16000 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16001 character. (Bug#6594)
16003 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16005 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16006 (image-dired--with-db-file): New macro.
16007 (image-dired-write-tags, image-dired-remove-tag)
16008 (image-dired-create-gallery-lists, image-dired-write-comments)
16009 (image-dired-get-comment, image-dired-mark-tagged-files)
16010 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16011 (image-dired-gallery-generate): Use insert-file-contents.
16013 * time.el (display-time-world-list, display-time-world-display):
16014 * time-stamp.el (time-stamp-string):
16015 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16016 set-time-zone-rule (Bug#7337).
16018 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16020 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16021 (epg-error-to-string, epg-errors-to-string): New function.
16022 (epg-wait-for-completion): Reverse errors list.
16023 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16024 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16025 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16026 (epg-sign-keys, epg-generate-key-from-file)
16027 (epg-generate-key-from-string): Format errors by using
16028 epg-errors-to-string (bug#9255).
16029 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16031 2011-08-07 Juri Linkov <juri@jurta.org>
16033 * faces.el (list-faces-display): Remove extra angle bracket
16034 from `help-mode-map'.
16036 * info.el (Info-history-toc-nodes): Doc fix.
16038 * longlines.el (longlines-mode): Doc fix.
16040 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16042 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16043 of statements and in a few more cases (bug#9183).
16045 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16047 (cl-transform-lambda): Use them (bug#9239).
16049 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16051 * window.el (display-buffer-same-window)
16052 (display-buffer-same-frame, display-buffer-other-window)
16053 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16054 (pop-to-buffer-other-window)
16055 (pop-to-buffer-same-frame-other-window)
16056 (pop-to-buffer-other-frame): Make them defuns.
16057 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16059 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16061 * subr.el (make-composed-keymap): Move from C. Change calling
16062 convention, and improve docstring to bring attention to a subtle point.
16063 * minibuffer.el (completing-read-default): Adjust accordingly.
16065 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16067 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16068 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16070 * net/trampver.el: Update release number.
16072 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16074 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16077 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16079 * mail/sendmail.el (sendmail-query-once): Restore the current
16080 buffer after querying (bug#9074).
16082 * dired.el (dired-flagged): Use different faces for marked and
16083 flagged files (bug#6117).
16085 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16088 * ido.el (ido-mode): Switch off the message if called
16091 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16092 before 587, since it appears that that's more likely to work for
16095 * cus-edit.el (custom-file): When running under emacs -q, always
16096 refuse to save the customizations, even if the .emacs file doesn't
16099 * info.el: Remove the `Info-beginning-of-buffer' function
16102 * net/network-stream.el (network-stream-open-starttls):
16103 Use `starttls-available-p' to see whether starttls.el can be used.
16105 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16107 * window.el (display-buffer-in-window): Don't set dedicated status
16108 of window here (Bug#9215).
16109 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16110 (display-buffer-pop-up-side-window)
16111 (display-buffer-in-side-window): Set dedicated status of window here.
16113 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16115 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16116 before binding generated-autoload-file.
16118 2011-08-01 Deniz Dogan <deniz@dogan.se>
16120 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16122 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16124 Sync with Tramp 2.2.2.
16126 * net/trampver.el: Update release number.
16128 2011-07-30 Juri Linkov <juri@jurta.org>
16130 * dired-aux.el (dired-touch-initial): Remove function.
16131 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16132 current time, and `default' to the last modification time of the
16133 current marked file (bug#6887).
16135 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16137 * simple.el (goto-line): Use string-to-number to provide a
16138 numeric argument to read-number (bug#9163).
16140 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16142 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16143 connection process, it could be nil.
16145 2011-07-27 Leo Liu <sdl.web@gmail.com>
16147 Simplify url handling in rcirc-mode.
16149 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16150 (rcirc-browse-url-at-mouse): Remove.
16151 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16153 2011-07-26 Alan Mackenzie <acm@muc.de>
16155 Fontify bitfield declarations properly.
16157 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16158 (c-symbol-chars): Now exported as a lang variable.
16159 (c-not-primitive-type-keywords): New lang variable.
16161 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16162 QT keyword "more" to prevent "more slots: ...." being spuriously
16163 parsed as a bitfield declaration.
16165 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16166 Refactor and enhance to handle bitfield declarations.
16167 (c-punctuation-in): New function.
16168 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16169 declarations properly.
16171 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16173 * calendar/icalendar.el (icalendar--all-events): Take care of
16174 multiple vcalendars in a single file.
16175 (icalendar--convert-float-to-ical): Checkdoc fixes.
16177 2011-07-25 Deniz Dogan <deniz@dogan.se>
16179 * image.el (insert-image): Clarifying docstring.
16181 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16183 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16184 `tramp-send-command-and-check' if there is no error.
16185 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16187 2011-07-22 Alan Mackenzie <acm@muc.de>
16189 Prevent cc-langs.elc being loaded at run time.
16191 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16194 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16195 "(require 'cc-langs)". Quote a form so it will evaluate at
16196 (cc-mode's) compilation time.
16198 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16200 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16201 loading. (Bug#9114)
16203 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16205 * window.el (display-buffer-pop-up-window)
16206 (display-buffer-pop-up-side-window)
16207 (display-buffer-in-side-window): Call display-buffer-set-height
16208 and display-buffer-set-width after setting the new window's
16209 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16211 2011-07-20 Sam Steingold <sds@gnu.org>
16213 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16214 (etags-tags-included-tables): Call `convert-standard-filename' on
16215 the file names contained in TAGS so that windows Emacs can handle
16216 TAGS files created by cygwin ctags.
16218 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16220 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16221 which apparently didn't work.
16223 2011-07-19 Roland Winkler <winkler@gnu.org>
16225 * proced.el (proced-send-signal): For *Marked Processes* buffer
16226 put point at beginning of buffer.
16228 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16230 * proced.el (proced-format): Make header lines align with the text
16233 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16235 * view.el (view-buffer): Allow running in `special' modes if we're
16236 visiting a file (bug#8615).
16238 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16240 * window.el (display-buffer-alist-of-strings-p)
16241 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16243 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16246 2011-07-18 Alan Mackenzie <acm@muc.de>
16248 Fontify declarators properly when, e.g., a jit-lock chunk begins
16249 inside a declaration.
16251 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16253 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16255 (c-complex-decl-matchers): Insert reference to
16256 c-font-lock-enclosing-decls.
16258 * progmodes/cc-engine.el (c-backward-single-comment):
16259 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16260 to nil around calls to (forward-comment -1).
16262 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16264 * image.el (put-image): Doc typo fix.
16266 * progmodes/etags.el (tags-search): Doc typo fix.
16268 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16269 password if we get errors 550 to 554.
16271 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16273 * net/gnutls.el (gnutls-log-level): Remove.
16275 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16276 indentation character (bug#6380).
16278 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16280 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16281 to clarify what the problem is (bug#4291).
16283 * simple.el (current-kill): Clarify what
16284 `interprogram-paste-function' does (bug#7500).
16285 (auto-fill-mode): Document `auto-fill-function' in relation to
16286 `auto-fill-mode' (bug#2470).
16288 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16290 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16291 method if slot is read-only (bug#9035).
16293 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16295 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16296 * window.el (pop-to-buffer): Select window used even if it was
16297 selected before, see discussion of (Bug#8615), (Bug#6954).
16298 Pass argument NORECORD on to select-frame-set-input-focus.
16300 2011-07-15 Glenn Morris <rgm@gnu.org>
16302 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16305 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16307 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16308 (gnutls-negotiate): Use it.
16310 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312 * net/gnutls.el (gnutls-negotiate):
16313 Upcase `gnutls-algorithm-priority'.
16315 2011-07-15 Glenn Morris <rgm@gnu.org>
16317 * jka-compr.el (jka-compr-verbose): Move from here...
16318 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16319 Add missing :version tag.
16320 * info.el: No need to require jka-compr when compiling.
16322 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16324 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16325 (gnutls-negotiate): Use it.
16327 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16329 * info.el (Info-beginning-of-buffer): New command.
16330 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16331 announcing `b' as the key (bug#8325).
16332 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16334 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16336 * international/mule-cmds.el
16337 (describe-specified-language-support): Make the error message
16338 clearer (bug#8905).
16340 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16342 * isearch.el (isearch-barrier): Add a doc string, since it's
16343 mentioned in a function doc string (bug#8678).
16345 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16347 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16348 buffer argument (Bug#9083) and self-identifying label argument.
16350 2011-07-15 Glenn Morris <rgm@gnu.org>
16352 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16354 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16356 * man.el (Man-fontify-manpage): Fix message when formatting the
16357 man page (bug#7929).
16359 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16361 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16362 argument LRM; if non-nil, append an invisible LRM character to the
16364 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16365 last argument non-nil, when formatting buffer names.
16366 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16367 paragraph direction.
16369 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16372 the man page name (bug#7929).
16374 * image.el (put-image): Mention the `put-image' overlay property
16377 * scroll-bar.el (set-scroll-bar-mode): Mention that
16378 `scroll-bar-mode' lists the values (bug#7772).
16380 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16381 command (bug#7729).
16383 * rect.el (apply-on-rectangle): Return the point after the last
16385 (string-rectangle): Go to the point after the last operation
16388 * printing.el (pr-toggle-region): Clarify the documentation
16389 slightly (bug#7493).
16391 * time.el (display-time-update):
16392 Allow `display-time-mail-function' to return nil (bug#7158).
16393 Fix suggested by Detlev Zundel.
16395 * vc/diff.el (diff): Clarify the order the file names are read
16398 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16399 the doc string (bug#7015).
16401 * font-lock.el (font-lock-maximum-decoration): Mention what
16402 numeric levels mean (bug#6935).
16404 * startup.el (initial-buffer-choice): Don't mention the `none'
16405 selection, which is against policy.
16407 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16409 * window.el (display-buffer-normalize-special):
16410 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16412 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16414 * subr.el (version<, version<=, version=): Mention "-CVS" and
16415 "-12345" alpha version numbers.
16417 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16419 * bindings.el: Add advertised binding for set-mark-command
16422 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16424 * bindings.el (mode-line-other-buffer):
16425 * bookmark.el (bookmark-bmenu-2-window):
16426 * bs.el (bs-cycle-next, bs-cycle-previous):
16427 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16430 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16433 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16435 * follow.el (follow-debug-message, follow-redisplay):
16436 * jka-cmpr-hook.el (with-auto-compression-mode):
16437 Fix typos in docstrings.
16439 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16441 * subr.el (with-silent-modifications): Clarify somewhat what the
16442 macro inhibits (bug#6525).
16444 * simple.el (eval-expression): Note what it does if called
16445 interactively (bug#6495).
16447 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16449 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16450 Use pop-to-buffer buffer-or-name if it is nil.
16452 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16453 Remove switch-to-buffer.
16455 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457 * files.el (make-directory): Clarify that an error will be raised
16458 if there's an error (bug#6397).
16460 * startup.el (initial-buffer-choice): Add `none' as a choice
16463 * subr.el (add-hook): Clarify section about buffer-local hooks
16466 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16468 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16470 * tabify.el (untabify): Preserve the current column so that point
16471 doesn't move (bug#6032).
16473 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16475 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16476 Rewrite to avoid awkward possessive "s" (bug#5986).
16478 2011-07-13 Glenn Morris <rgm@gnu.org>
16480 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16481 (dired-insert-directory): Give a message the first time
16482 if ls is found not to support --dired.
16484 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16486 * simple.el (toggle-truncate-lines): Clarify what is toggled
16487 (bug#5580). Text by Drew Adams.
16489 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16491 * simple.el (blink-matching-open): Make the error message from the
16492 last change less verbose.
16494 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16496 * font-lock.el (font-lock-comment-face): Use the high contrast
16497 "yellow" color for font-lock-comment-face on low color terminals
16498 using a dark background color (bug#4221).
16500 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16502 * dired.el (dired-insert-set-properties): Make the doc string
16503 reflect what it does now (bug#5325).
16505 * simple.el (blink-matching-open): Say that we were unable to find
16506 the match within the limit, if we're limited (bug#5122).
16508 * international/mule-cmds.el (prefer-coding-system): Add an
16509 example (bug#4869).
16511 * progmodes/etags.el (tags-search): Document `file-list-form'
16514 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16516 * net/browse-url.el (browse-url-default-browser)
16517 (browse-url-browser-function): Make the default browser choice a
16518 bit more logical (bug#4300). Also clean up the doc string.
16520 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16522 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16523 binary endings (bug#4440).
16525 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16527 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16528 which can be pretty annoying (bug#8971).
16530 * jka-compr.el (jka-compr-verbose): New variable, and use
16531 throughout (bug#8971).
16533 * info.el (Info-find-file): Fall back on the installation
16534 directory if we can't find the info node anywhere else.
16536 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16538 * vc/vc.el (vc-revert-file):
16539 Don't set file time-stamp in the past. (Bug#5181)
16541 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16543 * files.el (after-find-file): Give a better error message when
16544 trying to find a symlink that points to a file that doesn't exist
16547 * progmodes/cc-vars.el: Remove (probably) misleading comment
16550 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16552 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16554 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16556 * mouse-sel.el: Hack restoring functionality, while keeping
16557 compatibility with 2010-07-03 changes to mouse selection.
16558 (mouse-sel-primary-overlay): New var.
16559 (mouse-sel-selection-alist): Use it.
16560 (mouse-sel-mode): Doc fix; remove points that are default features
16563 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16565 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16566 Fix previous fix (bug#2490).
16568 2011-07-12 Roland Winkler <winkler@gnu.org>
16570 * textmodes/bibtex.el (bibtex-initialize):
16571 Use pop-to-buffer-same-window.
16572 (bibtex-search-entries): Fix interactive call.
16574 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16577 Fontise bytecomp Error lines more correctly (bug#2490).
16578 Fix suggested by Johan Bockgård.
16580 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16582 * dired-x.el (dired-guess-default): Use `delete-dups'.
16584 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16586 * dired.el (dired-mark-prompt):
16587 * dired-aux.el (dired-read-shell-command): Doc fix.
16589 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16591 * mail/sendmail.el (sendmail-query-once):
16592 Use `customize-save-variable' unconditionally, now that it works under
16595 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16597 * cus-edit.el (custom-file): Take an optional no-error variable.
16598 (customize-save-variable): Set the variable, and give a warning if
16599 running under "emacs -q".
16601 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16603 * loadhist.el (unload-feature-special-hooks):
16604 Add `auto-coding-functions', `fill-nobreak-predicate' and
16605 `find-directory-functions' (bug#5327).
16607 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16609 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16611 * cus-edit.el (custom-guess-name-alist): -alist variables should
16612 use the `alist' type (bug#3120). Suggested by Drew Adams.
16614 * printing.el: Add documentation to all the `pr-toggle-' commands.
16616 2011-07-11 Leo Liu <sdl.web@gmail.com>
16618 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16619 backends where it makes sense (bug#2623).
16621 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16623 * dired-x.el (dired-guess-default): Remove duplicate shell command
16624 entries (bug#2028).
16625 (dired-guess-default): Fix grammar in doc string (bug#2028).
16626 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16628 * subr.el (remove-duplicates): New conveniency function.
16630 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16632 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16635 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16637 * window.el (display-buffer-normalize-default): Don't invert
16638 meaning of even-window-heights. Reported by Eli Zaretskii
16641 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16643 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16645 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16647 * window.el (display-buffer): Fix arguments to
16648 display-buffer-reuse-window in last change.
16650 * faces.el (link): Use a less saturated blue on light backgrounds.
16652 * startup.el (fancy-startup-text, fancy-about-text)
16653 (fancy-startup-tail): Use font-lock faces, for background safety.
16655 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16657 * emulation/viper-cmd.el (viper-change-state-to-vi):
16658 Limit triggering of abbrev expansion (Bug#9038).
16660 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16662 * window.el (display-buffer-default-specifiers): Remove.
16663 (display-buffer-macro-specifiers): Remove default specifiers.
16664 (display-buffer-alist): Default to nil.
16665 (display-buffer-reuse-window): New optional argument other-window.
16666 (display-buffer-pop-up-window): Allow splitting internal
16667 windows. Check whether a live window was created.
16668 (display-buffer-other-window-means-other-frame)
16669 (display-buffer-normalize-arguments): Rename to
16670 display-buffer-normalize-argument and rewrite. Set the
16671 other-window specifier.
16672 (display-buffer-normalize-special): New function.
16673 (display-buffer-normalize-options): Rename to
16674 display-buffer-normalize-default and rewrite.
16675 (display-buffer-normalize-options-inhibit): Remove.
16676 (display-buffer-normalize-specifiers): Rewrite.
16677 (display-buffer): Process other-window specifier and call
16678 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16680 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16681 (display-buffer-alist-set): Don't handle 'unset default values.
16682 (display-buffer-in-window, display-buffer-alist-set):
16683 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16684 <tassilo@member.fsf.org>.
16686 2011-07-09 Leo Liu <sdl.web@gmail.com>
16688 * register.el (insert-register): Restore accidental change on
16689 2011-06-26. (Bug#9028)
16691 2011-07-09 Glenn Morris <rgm@gnu.org>
16693 * subr.el (remq): Handle the empty list. (Bug#9024)
16695 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16697 * mail/sendmail.el (send-mail-function): No longer delay custom
16699 * custom.el (custom-initialize-delay): Doc fix.
16701 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16703 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16705 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16707 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16708 human-friendly prompt.
16710 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16712 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16713 provided by a particular plugin.
16715 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16717 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16718 save customizations (with "emacs -Q"), just set the variable
16719 instead of erroring out.
16721 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16723 2011-07-08 Juri Linkov <juri@jurta.org>
16725 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16726 (archive-zip-update-case): Use 7z if found by `executable-find'.
16727 The order of searching the available programs is the same as in
16728 `archive-zip-extract' (bug#8968).
16730 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16732 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16733 (menu-bar-options-menu): Tweak descriptions.
16735 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16737 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16738 menu items into verb phrases (bug#1421). Also refill to fit under
16741 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16743 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16744 (Info-read-node-name): Doc fix (Bug#1084).
16746 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16747 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16748 (end-of-sexp, beginning-of-sexp)
16749 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16750 (forward-symbol, forward-same-syntax, word-at-point)
16751 (sentence-at-point): Doc fix (Bug#1144).
16753 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16755 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16756 should cover it (bug#1281).
16758 * cus-edit.el (custom-show): Mark as obsolete.
16760 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16761 negotiation fails, then possibly try again with a non-encrypted
16762 connection (bug#9017).
16764 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16767 2011-07-07 Richard Stallman <rms@gnu.org>
16769 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16770 property, and handle its changed format.
16771 Look for the correct line number.
16772 Use file's line contents (but not past first =) to find
16773 correct line in message.
16775 2011-07-07 Kenichi Handa <handa@m17n.org>
16777 * international/characters.el (build-unicode-category-table):
16779 (unicode-category-table): Set it by unicode-property-table-internal.
16781 * international/mule-cmds.el (char-code-property-alist): Move to
16783 (get-char-code-property): Call unicode-property-table-internal to
16784 load a file. Call get-unicode-property-internal where necessary.
16785 (put-char-code-property): Call unicode-property-table-internal to
16786 load a file. Call put-unicode-property-internal where necessary.
16787 put-unicode-property-internal where necessary.
16788 (char-code-property-description):
16789 Call unicode-property-table-internal to load a file.
16791 * international/charprop.el:
16792 * international/uni-bidi.el:
16793 * international/uni-category.el:
16794 * international/uni-combining.el:
16795 * international/uni-comment.el:
16796 * international/uni-decimal.el:
16797 * international/uni-decomposition.el:
16798 * international/uni-digit.el:
16799 * international/uni-lowercase.el:
16800 * international/uni-mirrored.el:
16801 * international/uni-name.el:
16802 * international/uni-numeric.el:
16803 * international/uni-old-name.el:
16804 * international/uni-titlecase.el:
16805 * international/uni-uppercase.el: Regenerate.
16807 * loadup.el: Load international/charprop.el before
16808 international/characters.
16810 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16812 * window.el (next-buffer, previous-buffer): Signal an error if
16813 called from a minibuffer window.
16815 * bindings.el: Revert 2011-07-04 change.
16817 2011-07-06 Richard Stallman <rms@gnu.org>
16819 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16820 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16821 Treat markers like ints.
16822 (rmail-mime-entity): Doc fix.
16824 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16826 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16827 defcustom again for backwards compatibility.
16829 * simple.el (shell-command-on-region): Fill.
16831 * dired-aux.el (dired-kill-line): Add a doc string.
16833 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16834 to "\\sw\\|\\s_" (bug#358).
16836 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16837 (dired-unmark-backward): Ditto.
16838 (dired-flag-backup-files): Ditto.
16840 * dired-x.el (dired-mark-sexp): Ditto.
16842 2011-07-06 Richard Stallman <rms@gnu.org>
16844 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16845 (rmail-mime-entity): New arg TRUNCATED.
16846 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16848 (rmail-mime-save): Warn if entity is truncated.
16849 (rmail-mime-toggle-hidden): Likewise, for showing.
16850 (rmail-mime-process-multipart): Record when an entity is truncated.
16852 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16853 if ENTITY is a string.
16855 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16857 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16858 of faces when `M-C-x'-ing their definitions (bug#8378).
16859 Also clean up the code slightly.
16861 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16862 because that makes the colors go away.
16864 * mail/sendmail.el (send-mail-function): Change the default to
16865 `sendmail-query-once'.
16866 (sendmail-query-once): Add an autoload cookie.
16868 * net/network-stream.el (network-stream-open-starttls): Try using
16869 a plain connection even if the server offered STARTTLS, and we
16870 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16871 capability. This should make smtpmail.el work in slightly more
16874 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16876 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16878 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16880 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16882 * progmodes/sql.el: Version 3.0
16883 (sql-product-alist): Add product :completion-object,
16884 :completion-column, and :statement attributes.
16885 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16886 (sql-mode-syntax-table): Mark all punctuation.
16887 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16889 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16890 (sql-mode-oracle-font-lock-keywords): Improve.
16891 (sql-oracle-show-reserved-words): New function for development.
16892 (sql-product-font-lock): Simplify for source code buffers.
16893 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16895 (sql-highlight-product): Set product specific syntax table.
16896 (sql-mode-map): Add statement movement functions.
16897 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16899 (sql-statement-regexp, sql-beginning-of-statement)
16900 (sql-end-of-statement, sql-signum): New functions.
16901 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16902 (sql-show-sqli-buffer): Bug fix.
16903 (sql-interactive-mode): Store connection data as buffer local.
16904 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16905 with sql-interactive-mode.
16906 (sql-save-connection): Save buffer local settings.
16907 (sql-connection-menu-filter): Change menu entry name.
16908 (sql-product-interactive): Bug fix.
16909 (sql-preoutput-hold): New variable.
16910 (sql-interactive-remove-continuation-prompt): Bug fixes.
16911 (sql-debug-redirect): New variable.
16912 (sql-str-literal): New function.
16913 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16915 (sql-oracle-save-settings, sql-oracle-restore-settings)
16916 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16917 (sql-completion-object, sql-completion-column)
16918 (sql-completion-sqlbuf): New variables.
16919 (sql-build-completions-1, sql-build-completions)
16920 (sql-try-completion): New functions.
16921 (sql-read-table-name): Use them.
16922 (sql-contains-names): New buffer local variable.
16923 (sql-list-all, sql-list-table): Use it.
16924 (sql-oracle-completion-types): New variable.
16925 (sql-oracle-completion-object, sql-sqlite-completion-object)
16926 (sql-postgres-completion-object): New functions.
16928 2011-07-06 Glenn Morris <rgm@gnu.org>
16930 * window.el (pop-to-buffer): Doc fix.
16932 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16934 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16936 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16938 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16940 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16942 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16944 * button.el (button): Inherit from link face. Suggested by Dan
16947 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16949 * progmodes/gdb-mi.el: Fit in 80 columns.
16950 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16953 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16954 if imenu is simply not configured (bug#8941).
16956 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16958 * allout.el (allout-post-undo-hook): New allout outline-change
16959 event hook to signal undo activity.
16960 (allout-post-command-business): Run allout-post-undo-hook if an
16961 undo just occurred.
16962 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16963 * allout-widgets.el (allout-widgets-after-undo-function):
16964 Ensure the integrity of the current item's decoration after it has been
16965 in the vicinity of an undo.
16966 (allout-widgets-mode): Include allout-widgets-after-undo-function
16967 on the new allout-post-undo-hook.
16969 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16971 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16972 Let define-derived-mode define it.
16973 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16974 cycles of abbrev-table inheritance (bug#8998).
16976 2011-07-05 Roland Winkler <winkler@gnu.org>
16978 * textmodes/bibtex.el: Add support for biblatex.
16979 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16980 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16981 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16982 (bibtex-entry-alist, bibtex-field-alist): New variables.
16983 (bibtex-entry-field-alist): Obsolete alias for
16984 bibtex-BibTeX-entry-alist.
16985 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16986 (bibtex-set-dialect): New command.
16987 (bibtex-entry-type, bibtex-entry-head)
16988 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16989 Bind via bibtex-set-dialect.
16990 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16991 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16992 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16993 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16994 Define via bibtex-set-dialect.
16995 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16996 Obey bibtex-no-opt-remove-re.
16997 (bibtex-vec-push, bibtex-vec-incr): New functions.
16998 (bibtex-format-entry, bibtex-field-list)
16999 (bibtex-print-help-message, bibtex-validate)
17000 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17002 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17004 * progmodes/compile.el (compilation-goto-locus):
17005 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17006 * bs.el (bs-cycle-next, bs-cycle-previous):
17007 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17008 * bindings.el (mode-line-other-buffer):
17009 * autoinsert.el (auto-insert):
17010 * arc-mode.el (archive-extract):
17011 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17013 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17015 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17016 Fix check of `emacs-lock-unlockable-modes'.
17017 Coerce true values of `emacs-lock--try-unlocking' to t.
17019 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17021 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17022 * emacs-lock.el: New file.
17024 2011-07-05 Julien Danjou <julien@danjou.info>
17026 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17027 than `boundp' to check if face is set.
17029 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17031 * register.el (registerv-make):
17032 * window.el (window-min-height): Fix typos in docstrings.
17034 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17036 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17039 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17041 * server.el (server-execute): Catch quit and call
17042 `server-return-error' to pass the error back to emacsclient and
17043 close the connection (bug#8942).
17045 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17047 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17048 insecure exception for current topic. Also note that auto-saves
17049 are handled differently.
17051 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17052 State variables for tracking auto-save inhibition situation.
17054 (allout-write-contents-hook-handler): Rename from
17055 'allout-write-file-hook-handler', and describe how it depends on
17056 write-contents-functions sensitivity to non-nil value to prevent
17059 (allout-auto-save-hook-handler): Remove. auto-save does not check
17060 this in individual buffers, only in the starting buffer, so this
17061 is not the right way for us to inhibit auto-save in a buffer
17062 according to its condition.
17064 (allout-mode): Use new allout-write-contents-hook-handler, and
17065 only with write-contents-functions. Remove auto-save provisions -
17066 they're implemented elsewhere.
17068 (allout-before-change-handler): If undo is in progress, note that
17069 for attention of allout-post-command-business.
17071 (allout-post-command-business): If the command we're following was
17072 an undo, check for change in the status of encrypted items and
17073 adjust auto-save inhibitions accordingly.
17075 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17076 according to whether there are or aren't any plain-text topics
17077 pending encryption.
17079 (allout-inhibit-auto-save-info-for-decryption):
17080 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17081 if there are plain-text topics pending encryption.
17083 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17084 buffer-saved-size and some allout state to not inhibit auto-saves
17085 if there are no longer any plain-text topics pending encryption.
17087 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17088 No longer provide for exemption of the current topic.
17090 2011-07-04 Juri Linkov <juri@jurta.org>
17092 Add 7z operations to delete and save changed members (bug#8968).
17093 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17095 (archive-7z-write-file-member): New function.
17096 (archive-7z-summarize): Fix the number of dashes in the
17099 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17101 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17104 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17106 * bindings.el: Ignore next-buffer and previous-buffer in
17107 minibuffer-local-map.
17109 * font-lock.el (font-lock-builtin-face): Change light background
17110 color to dark slate blue (Bug#6693).
17112 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17114 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17116 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17118 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17119 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17120 Add switch-to-buffer.
17122 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17124 * isearch.el (isearch-search-fun-function): Clarify further the
17125 meaning of the function returned.
17127 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17129 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17131 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17132 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17134 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17135 `tramp-default-remote-path' does not exist.
17136 (tramp-send-command-and-read): New optional argument NOERROR.
17137 (tramp-open-connection-setup-interactive-shell)
17138 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17139 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17140 (tramp-process-sentinel): Flush also process' connection property.
17141 (tramp-sh-handle-start-file-process): Do not set process
17142 sentinel. It is done now ...
17143 (tramp-maybe-open-connection): ... here. (Bug#8929)
17145 2011-07-04 MON KEY <monkey@sandpframing.com>
17147 * play/animate.el (animate-string): Doc fixes and allow changing
17148 the buffer name (bug#5417).
17150 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17152 * play/animate.el (animation-buffer-name): Rename from *animate*.
17154 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17156 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17157 This is simpler and helps future-proof the code.
17158 (timer-until): Use time-subtract and float-time.
17159 (timer--time-less-p): Use time-less-p.
17161 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17163 * type-break.el (timep): Use the value of `float-time' to avoid a
17164 byte-compiler warning.
17166 * server.el (server-eval-and-print): Return any result, even nil.
17168 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17170 * type-break.el: Accept time formats that the builtins accept.
17171 (timep, type-break-time-difference): Accept any format that
17172 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17173 This is simpler and helps future-proof the code.
17174 (type-break-time-difference): Round rather than ignoring
17175 subseconds components.
17177 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17179 * info.el (Info-apropos-matches): Make non-interactive, since it
17180 doesn't seem to do anything useful as a command (bug#8829).
17182 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17184 * frame.el (frame-background-mode, frame-set-background-mode):
17185 Move from faces.el.
17186 (frame-default-terminal-background): New function.
17188 * custom.el (custom-push-theme): Don't record faces in `changed'
17189 theme; this doesn't work correctly for per-frame face settings.
17190 (disable-theme): Use face-set-after-frame-default to reset faces.
17191 (custom--frame-color-default): New function.
17193 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17195 * dired.el (dired-flagging-regexp): Remove unused variable
17198 2011-03-29 Kevin Ryde <user42@zip.com.au>
17200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17201 `perl-Test2' extend to match possible "fail #N" rep count
17204 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17206 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17207 `smtpmail-via-smtp' now returns the error instead of nil.
17209 * isearch.el (isearch-search-fun-function): Clarify the doc string
17212 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17214 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17215 unnecessary spaces (bug#8987).
17217 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17219 * net/network-stream.el (open-network-stream): Use the
17220 :end-of-capability command thoughout.
17222 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17224 * net/network-stream.el (open-network-stream): Add the
17225 :end-of-capability command parameter, used by pop3.el.
17227 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17229 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17231 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17232 for list)" (bug#6475).
17234 * files.el (file-expand-wildcards): Ignore non-readable
17235 sub-directories while trying to find matches instead of signaling
17236 an error (bug#6297).
17238 * man.el (Man-reference-regexp): Allow matching possible
17239 word-wrapped references (bug#6289).
17241 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17242 for consistency with the other vc buffers (bug#6197).
17243 (vc-checkin): Ditto.
17245 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17247 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17249 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17251 * custom.el (defcustom): Clarify that :set is only used in the
17252 Customize user interface (bug#6089).
17254 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17255 associated with a file, refuse to run instead of erroring out
17258 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17259 the doc string, since it appears that using `fill-column' always
17260 controls the width (bug#7845).
17262 * simple.el (shell-command-on-region): Say where the error output
17263 went if `shell-command-default-error-buffer' is set (bug#6857).
17265 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17267 * allout.el (allout-yank-processing): Adjust cursor position for
17268 backwards-deleted space.
17270 (allout-rebullet-heading): Register changes with
17271 allout-exposure-changed-hook, so the modified topic is properly
17274 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17276 * minibuffer.el (completion-in-region): Document PREDICATE
17279 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17280 of keyword/argument pairs (bug#6904).
17282 * replace.el (multi-occur):
17283 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17285 2011-07-02 Drew Adams <drew.adams@oracle.com>
17287 * dired.el (dired-mark-if): Make the message about whether it's
17288 marking or unmarking clearer (bug#8523).
17290 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17292 * disp-table.el (display-table-print-array): New function.
17293 (describe-display-table): Use it to print the vectors more pretty
17296 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17298 * window.el (window-state-get-1): Don't assign clone numbers.
17299 Add clone-of item to list of window parameters.
17300 (window-state-put-2): Don't process clone numbers.
17301 (display-buffer-alist): Fix doc-string.
17303 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17305 * subr.el (remq): Don't allocate if it's not needed.
17306 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17307 (keymap--merge-bindings): New functions.
17308 (keymap-canonicalize): Use them to refine the canonicalization.
17309 * minibuffer.el (minibuffer-local-completion-map)
17310 (minibuffer-local-must-match-map): Move initialization from C.
17311 (minibuffer-local-filename-completion-map): Move initialization from C;
17312 don't inherit from anything here.
17313 (minibuffer-local-filename-must-match-map): Make obsolete.
17314 (completing-read-default): Use make-composed-keymap to combine
17315 minibuffer-local-filename-completion-map with either
17316 minibuffer-local-must-match-map or
17317 minibuffer-local-filename-completion-map.
17319 2011-07-01 Glenn Morris <rgm@gnu.org>
17321 * type-break.el (type-break-time-sum): Use dolist.
17323 * textmodes/flyspell.el (flyspell-word-search-backward):
17324 Replace CL function.
17326 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17328 * mouse.el (mouse--strip-first-event): New function.
17329 (function-key-map): Use it to map fringe clicks to normal clicks
17332 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17333 (vc-bzr-revision-completion-table): Add support for annotate and date.
17335 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17336 inherit from parent.
17338 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17340 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17341 (dired-show-file-type): Doc fixup (bug#8818).
17343 * dired.el (dired-mode): Fix up the doc string as suggested by
17344 Drew Adams (bug#8817).
17346 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17347 cookie, since the manual says that it should be possible to add
17348 this function to `find-file-hook' (bug#8709).
17350 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17352 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17353 here. Noted Ted Zlatanov as the maintainer.
17354 (cfengine-common-settings, cfengine-common-syntax): New functions
17355 to set up common things between `cfengine-mode' and
17357 (cfengine3-mode): New mode.
17358 (cfengine3-defuns cfengine3-defuns-regex
17359 (cfengine3-class-selector-regex cfengine3-category-regex)
17360 (cfengine3-vartypes cfengine3-font-lock-keywords)
17361 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17362 (cfengine3-indent-line): Add from cfengine3.el.
17364 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17366 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17368 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17370 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17372 * window.el (same-window-buffer-names, same-window-regexps)
17373 (same-window-p, special-display-frame-alist)
17374 (special-display-popup-frame, special-display-function)
17375 (special-display-buffer-names, special-display-regexps)
17376 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17377 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17378 (split-window-preferred-function, split-height-threshold)
17379 (split-width-threshold, even-window-heights)
17380 (display-buffer-mark-dedicated, window-splittable-p)
17381 (split-window-sensibly, window-safely-shrinkable-p):
17383 (display-buffer): Don't spread args with function specifier
17384 because special-display-popup-frame won't like it.
17386 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17388 Time-stamp simplifications and fixes.
17389 These improve accuracy slightly, and future-proof the code
17390 against some potential changes to current-time format.
17392 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17393 by using time-since and float-time.
17395 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17396 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17397 + NNN microseconds".
17399 * type-break.el (type-break-time-sum): Rewrite using time-add.
17401 * play/hanoi.el (hanoi-current-time-float): Remove.
17402 All uses replaced by float-time.
17404 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17405 This yields a more-accurate answer.
17406 (rng-time-to-float): Remove; no longer needed.
17408 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17410 * calendar/timeclock.el (timeclock-seconds-to-time):
17411 Defalias to seconds-to-time, since they're the same thing.
17413 * emacs-lisp/elp.el (elp-elapsed-time):
17414 * emacs-lisp/benchmark.el (benchmark-elapse):
17415 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17417 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17419 * window.el (bury-buffer): Don't iconify the only frame.
17420 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17421 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17423 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17425 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17426 Add mouse-yank-primary.
17428 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17430 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17432 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17434 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17435 (find-library-name): Use it to find relative load names when provided
17436 absolute file name (bug#8803).
17438 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17440 * textmodes/flyspell.el (flyspell-word): Consider words that
17441 differ only in case as potential doublons (bug#5687).
17443 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17444 Remove two rather uninteresting debugging-like messages to make
17445 debbugs.el more silent.
17447 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17448 a password-like phrase.
17450 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17452 * progmodes/cc-guess.el: New file.
17454 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17456 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17457 derived from `c-basic-common-init'.
17459 * progmodes/cc-mode.el (top-level): Require cc-guess.
17460 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17462 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17464 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17466 2011-06-30 Alan Mackenzie <acm@muc.de>
17468 * progmodes/cc-engine.el (c-guess-continued-construct):
17469 Correct the handling of template-args-cont, particularly for when font
17470 lock is disabled. Name this case as "CASE G".
17472 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17474 * allout.el (allout-yank-processing): Fix injection of extra space
17475 between bullet and non-whitespace character in first topic when
17476 pasting, ensuring that the actual spacing in the pasted topic
17477 following the bullet char is preserved. This extra space was
17478 causing pasted encrypted topics to get a decrypted status even
17479 when the content was actually still encrypted. Now the decryption
17480 status from before the paste is preserved.
17482 (allout-flag-region): Set all allout overlays so they evaporate
17483 when reduced to zero length (evanescent), to prevent overlay
17486 2011-06-30 Glenn Morris <rgm@gnu.org>
17488 * w32-fns.el (w32-charset-info-alist): Declare.
17490 * find-dired.el (find-grep-options): Simplify.
17492 * term/ns-win.el (ns-set-resource): Declare.
17494 * ses.el (row, col): Declare dynamic variables honestly.
17496 * textmodes/reftex-parse.el (index-tags): Declare.
17498 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17500 * cus-edit.el (customize-push-and-save): New function.
17502 * files.el (hack-local-variables-confirm): Use it.
17504 * custom.el (load-theme): New arg NO-CONFIRM.
17505 Use customize-push-and-save (Bug#8720).
17506 (custom-enabled-themes): Doc fix.
17508 * cus-theme.el (customize-create-theme)
17509 (custom-theme-merge-theme): Callers to load-theme changed.
17511 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17514 short URLs have at least one dot in them (bug #7614).
17516 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17517 nil, because using a pty is apparently too slow (bug #895).
17519 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17521 * mail/sendmail.el (sendmail-query-once): New function.
17522 (sendmail-query-once-function): New variable.
17524 2011-06-29 Glenn Morris <rgm@gnu.org>
17526 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17528 * ses.el (top-level): Require cl when compiling.
17529 (ses-set-localvars): Fix error statement.
17530 Call it at compile time to silence a storm of warnings.
17532 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17534 * window.el (normalize-live-buffer): Rename to
17535 window-normalize-buffer.
17536 (normalize-live-frame): Rename to window-normalize-frame.
17537 (normalize-any-window): Rename to window-normalize-any-window.
17538 (normalize-live-window): Rename to window-normalize-live-window.
17539 (make-window-atom): Rename to window-make-atom.
17540 (window-resize-reset): Rename to window--resize-reset.
17541 (window-resize-reset-1): Rename to window--resize-reset-1.
17542 (resize-mini-window): Rename to window--resize-mini-window.
17543 (resize-subwindows-skip-p): Rename to
17544 window--resize-subwindows-skip-p.
17545 (resize-subwindows-normal): Rename to
17546 window--resize-subwindows-normal.
17547 (resize-subwindows): Rename to window--resize-subwindows.
17548 (resize-other-windows): Rename to window--resize-siblings.
17549 (resize-this-window): Rename to window--resize-this-window.
17550 (resize-root-window): Rename to window--resize-root-window.
17551 (resize-root-window-vertically): Rename to
17552 window--resize-root-window-vertically.
17553 (normalize-buffer-to-display): Rename to
17554 window-normalize-buffer-to-display.
17555 (normalize-buffer-to-switch-to): Rename to
17556 window-normalize-buffer-to-switch-to.
17557 Correspondingly update all callers of the functions listed
17559 (display-buffer-alist, display-buffer-normalize-arguments)
17560 (display-buffer-normalize-options, display-buffer)
17561 (display-buffer-alist-set): Use "function" instead of
17564 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17566 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17567 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17568 debbugs.gnu.org. Mention acknowledgment email.
17570 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17572 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17573 buffer multibyteness, since it shouldn't matter.
17575 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17577 * window.el (display-buffer-in-side-window): Handle dedicated
17578 windows as in display-buffer-reuse-window.
17579 (display-buffer-normalize-alist): Use value of override
17581 (display-buffer-normalize-specifiers): Use value of
17582 other-window-means-other-frame specifier.
17583 (display-buffer-alist): Rewrite some texts in widgets.
17584 (display-buffer): Spread arguments when calling function
17585 specified by fun-with-args.
17587 2011-06-28 Deniz Dogan <deniz@dogan.se>
17589 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17592 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17593 selectors (Bug#5732).
17594 (css-proprietary-nmstart-re): Use `regexp-opt'.
17596 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17598 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17599 (eshell-ls-date-format): New defcustom.
17600 (eshell-ls-file): Use it.
17602 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17604 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17606 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17608 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17609 (ange-ftp-make-tmp-name): New arg.
17610 (ange-ftp-file-local-copy): Use it.
17612 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17614 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17615 no-conversion (Bug#8870).
17617 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17619 * window.el (window-right, window-left, window-child)
17620 (window-child-count, window-last-child)
17621 (window-iso-combination-p, walk-window-tree-1)
17622 (window-atom-check-1, window-tree-1, delete-window)
17623 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17624 new naming conventions - window-vchild, window-hchild,
17625 window-next and window-prev are now called window-top-child,
17626 window-left-child, window-next-sibling and window-prev-sibling
17628 (resize-window-reset): Rename to window-resize-reset.
17629 (resize-window-reset-1): Rename to window-resize-reset-1.
17630 (resize-window): Rename to window-resize.
17631 (window-min-height, window-min-width)
17632 (resize-mini-window, resize-this-window, resize-root-window)
17633 (resize-root-window-vertically, adjust-window-trailing-edge)
17634 (enlarge-window, shrink-window, maximize-window)
17635 (minimize-window, delete-window, quit-restore-window)
17636 (split-window, balance-windows, balance-windows-area-adjust)
17637 (balance-windows-area, window-state-put-2)
17638 (display-buffer-even-window-sizes, display-buffer-set-height)
17639 (display-buffer-set-width, set-window-text-height)
17640 (fit-window-to-buffer): Rename all "resize-window" prefixed
17641 calls to use the "window-resize" prefix convention.
17642 (display-buffer-alist): Fix symbol for label specifier.
17643 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17644 corresponding specifier.
17645 Reported by Juanma Barranquero <lekktu@gmail.com>.
17647 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17649 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17651 (ses-call-printer): Does not pass an empty string to formatter when the
17652 cell is empty to keep from barking printer Calc math-format-value.
17654 2011-06-27 Richard Stallman <rms@gnu.org>
17656 * battery.el (battery-mode-line-limit): New variable.
17657 (battery-update): Handle it.
17659 * mail/rmailmm.el (rmail-mime-process-multipart):
17660 Handle truncated messages.
17662 2011-06-27 Glenn Morris <rgm@gnu.org>
17664 * progmodes/flymake.el (flymake-err-line-patterns):
17665 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17667 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17669 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17670 (ses--clean-!, ses--clean-_): New functions.
17671 (ses-range): Add configurability of readout order, and conversion
17674 * ses.el (ses-repair-cell-reference-all): New function.
17675 (ses-cell-symbol): Set macro as safe, so that it can be used in
17678 * ses.el: Update cycle detection algorithm.
17679 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17680 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17681 (ses-set-localvars): New function.
17682 (ses-make-cell): Add property-list as a cell element.
17683 (ses-cell-property-get-fun, ses-cell-property-get)
17684 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17685 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17687 (ses-cell-property-set, ses-cell-property-pop)
17688 (ses-cell-property-get-handle): New macro.
17689 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17690 New aliases, used for code readability.
17691 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17693 (ses-self-reference-early-detection): New defcustom.
17694 (ses-formula-references): Robustify against self-referring cells.
17695 (ses-mode): Use ses-set-localvars.
17696 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17697 before lauching the update processing.
17698 (ses-initialize-Dijkstra-attempt): New function.
17699 (ses-recalculate-cell): Update for cycle detection based on
17700 Dijkstra algorithm.
17702 * ses.el: Fix commenting and indenting convention.
17704 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17706 * bs.el (bs-cycle-next): Complete last change.
17708 2011-06-27 Drew Adams <drew.adams@oracle.com>
17710 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17712 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17714 * net/network-stream.el (network-stream-open-starttls):
17715 Don't re-get capabilities unless we've reestablished connection.
17716 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17718 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17719 to binary to possibly avoid line encoding issues on Windows (among
17722 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17724 * net/network-stream.el (open-network-stream): Return an :error
17725 saying what the problem was, if possible.
17727 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17730 * net/network-stream.el (network-stream-open-starttls): If we
17731 wanted to use STARTTLS, and the server offered it, but we weren't
17732 able to because we had no STARTTLS support, then close the connection.
17733 (open-network-stream): Return an :error element, if present.
17735 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17737 * hl-line.el (hl-line-sticky-flag): Doc fix.
17738 (global-hl-line-sticky-flag): New option (Bug#8323).
17739 (global-hl-line-highlight): Obey it.
17741 * vc/vc.el (vc-revert-show-diff): Default to t.
17743 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17745 * allout-widgets.el (allout-widgets-post-command-business):
17746 Stop decorating intermediate isearch matches. They're not being
17747 undecorated when an isearch is continued past, and isearch
17748 automatically collapses them. This leads to "widget leaks", where
17749 decorated items accumulate in collapsed areas. Lines with lots of
17750 hidden widgets can slow down cursor travel, substantially.
17751 Too much complicated machinery would be needed to ensure undecoration,
17752 so we're doing without this nicety.
17754 (allout-widgets-tally-string): Don't try to do a hash-table-count
17755 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17756 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17757 *Messages* when allout-widgets-maintain-tally is t.
17759 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17761 * window.el (display-buffer-normalize-argument): Rename to
17762 display-buffer-normalize-arguments. Handle special meaning of
17763 LABEL argument. Respect special-display-function when popping up
17764 a new frame. Fix code searching for a window showing the buffer
17766 (display-buffer-normalize-specifiers):
17767 Call display-buffer-normalize-arguments.
17768 (display-buffer-in-window): Don't undedicate the window if its
17769 buffer remains the same.
17770 Reported by Drew Adams <drew.adams@oracle.com>.
17771 (display-buffer-alist): Add choice for same-window macro
17773 (display-buffer): Mention special meaning of LABEL argument in
17774 doc-string. Fix quoting. Don't pop up a new frame even as
17777 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17779 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17780 avoid deleting the current window in some cases (bug#8911).
17782 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17784 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17787 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17789 * net/network-stream.el (network-stream-open-starttls):
17790 Use built-in TLS support if `gnutls-available-p' is true.
17791 (network-stream-open-tls): Ditto.
17793 2011-06-26 Leo Liu <sdl.web@gmail.com>
17795 * register.el (registerv): New struct.
17796 (registerv-make): New function.
17797 (jump-to-register, describe-register-1, insert-register):
17798 Support the jump-func, print-func and insert-func slot of a registerv
17801 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17803 * vc/vc.el (vc-revert-show-diff): New defcustom.
17804 (vc-diff-internal): New arg specifying diff buffer.
17805 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17806 reuse an existing *vc-diff* buffer (Bug#8927).
17808 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17810 2011-06-26 Glenn Morris <rgm@gnu.org>
17812 * progmodes/f90.el (f90-critical-indent): New option.
17813 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17814 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17815 (f90-mode): Doc fix.
17816 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17817 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17818 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17819 (f90-match-end): Handle block, critical.
17821 2011-06-25 Glenn Morris <rgm@gnu.org>
17823 * calendar/diary-lib.el (diary-included-files): Doc fix.
17824 (diary-include-files): New function, extracted from
17825 diary-include-other-diary-files and diary-mark-included-diary-files.
17826 (diary-include-other-diary-files, diary-mark-included-diary-files):
17827 Just call diary-include-files.
17828 (diary-mark-entries): Reset diary-included-files on first call.
17830 * calendar/diary-lib.el (diary-mark-entries)
17831 (diary-mark-included-diary-files):
17832 Visit included diary-files in temp buffers.
17834 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17835 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17836 (f90-start-block-re, f90-imenu-generic-expression)
17837 (f90-looking-at-program-block-start, f90-no-block-limit):
17838 Add support for submodules.
17840 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17841 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17843 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17845 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17846 buffer-file-type before setting its value, to avoid disastrous
17847 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17849 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17851 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17853 * ses.el (ses-unload-function):
17854 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17856 * proced.el (proced-unload-function):
17857 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17859 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17861 * server.el (server-create-window-system-frame): Add parameters arg.
17862 (server-process-filter): Doc fix. Handle frame-parameters.
17864 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17866 Fix bug#8730, bug#8781.
17868 * loadhist.el (unload--set-major-mode): New function.
17869 (unload-feature): Use it.
17871 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17872 (python-unload-function): New function.
17874 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17876 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17878 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17880 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17881 the candidates list.
17883 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17885 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17887 2011-06-23 Richard Stallman <rms@gnu.org>
17889 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17890 (rmail-variables): Set next-error-move-function.
17891 (rmail-what-message): Take argument POS.
17892 (rmail-next-error-move): New function.
17894 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17896 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17897 messages for adjacent non-terminals.
17899 2011-06-23 Richard Stallman <rms@gnu.org>
17901 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17902 (rmail-show-message-1): Preserve buffer modified flag.
17903 (rmail-start-mail): Don't specify use of rmail-mail-return;
17904 that's done by mail-bury now.
17905 (rmail-mail-return): Handle arg NEWBUF.
17907 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17909 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17912 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17914 * window.el (get-lru-window, get-mru-window)
17915 (get-largest-window): Never return a minibuffer window.
17916 (display-buffer-pop-up-window): Fix a bug that could lead to
17917 reusing the minibuffer window.
17918 (display-buffer): Pass original specifier argument to
17919 display-buffer-function instead of the normalized one.
17920 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17922 2011-06-22 Leo Liu <sdl.web@gmail.com>
17924 * minibuffer.el (completing-read-function)
17925 (completing-read-default): Move from minibuf.c.
17927 2011-06-22 Richard Stallman <rms@gnu.org>
17929 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17930 to Rmail even if not started by a special Rmail command.
17932 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17933 Copy the buffer currently showing just one message.
17935 2011-06-22 Roland Winkler <winkler@gnu.org>
17937 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17938 (bibtex-clean-entry): First delete the old key so that a
17939 customized algorithm for generating the new key does not get
17940 confused by the old key.
17941 (bibtex-url): Obey regexp of first step.
17942 (bibtex-search-entries): Do not use add-to-list with local
17945 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17947 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17948 stored a user name, then query for the password first, instead of
17949 waiting for SMTP to give an error message and the trying again.
17951 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17953 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17954 BUFFER in call-process.
17956 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17958 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17960 (smtpmail-try-auth-methods): Require user name and password from
17963 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17965 * window.el (display-buffer-default-specifiers)
17966 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17967 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17968 (split-window): Normalize SIDE argument (Bug#8916).
17970 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17971 (special-display-frame-alist, special-display-popup-frame):
17972 Remove duplicate declarations. These are now in window.el.
17974 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17976 * mail/smtpmail.el (smtpmail-via-smtp):
17977 Set :use-starttls-if-possible so that we always use STARTTLS if the
17978 server supports it. SMTP servers that support STARTTLS commonly
17981 * net/network-stream.el (network-stream-open-starttls): Support
17982 upgrading to STARTTLS always, even if we don't have built-in support.
17983 (open-network-stream): Add the :always-query-capabilities keyword.
17985 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17986 upgrades with `open-network-stream', and rely solely on
17987 auth-source for all credentials. Big changes throughout the file,
17989 (smtpmail-auth-credentials): Remove.
17990 (smtpmail-starttls-credentials): Remove.
17991 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17994 * net/network-stream.el (network-stream-open-starttls):
17995 Provide support for client certificates both for external and built-in
17997 (auth-source): Require.
17998 (open-network-stream): Document the :client-certificate keyword.
17999 (network-stream-certificate): Change cert-cert to cert and
18002 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18004 * net/tramp-cache.el (top): Don't load the persistency file when
18005 "emacs -Q" has been called.
18007 2011-06-21 Tim Harper <timcharper@gmail.com>
18009 * term/ns-win.el (ns-initialize-window-system):
18010 Set application-specific `ApplePressAndHoldEnabled' system
18011 resource to NO as it is not yet supported by the NS port.
18013 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18015 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18016 (list-dynamic-libraries): ...not here.
18018 2011-06-21 Leo Liu <sdl.web@gmail.com>
18020 * subr.el (sha1): Implement sha1 using secure-hash.
18022 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18024 * window.el (display-buffer-alist): In default value do not
18025 enforce searching a window on any but the selected frame.
18026 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18027 (display-buffer-select-window): Remove function.
18028 (display-buffer-in-window): When a window on another frame gets
18029 reused, do not select it any more but just raise its frame if
18030 necessary (Bug#8851) and (Bug#8856).
18031 (display-buffer-normalize-options): Handle pop-up-frames related
18032 options more faithfully.
18033 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18034 window if it is on another frame.
18035 (display-buffer-alist, display-buffer-default-specifiers):
18036 Don't make new frame unsplittable by default.
18037 (display-buffer-normalize-argument): Fix doc-string typo and use
18038 'same-frame-other-window instead of 'other-window when associating
18039 with display-buffer-macro-specifiers.
18041 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18043 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18045 (5x5-mode-map, 5x5-mode-menu): Bind them.
18046 (5x5-draw-grid): Tweak the solver's rendering.
18048 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18050 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18051 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18053 2011-06-21 Drew Adams <drew.adams@oracle.com>
18055 * menu-bar.el: Use function variable instead of switch-to-buffer.
18056 (menu-bar-select-buffer-function): New variable.
18057 (menu-bar-update-buffers): Use it (bug#8876).
18059 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18061 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18064 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18066 * x-dnd.el (x-dnd-version-from-flags)
18067 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18068 and long as number (Bug#8899).
18069 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18071 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18073 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18074 (completion-try-completion, completion-all-completions): Compute the
18075 metadata argument if it's missing; make it optional (bug#8795).
18077 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18078 (widget-complete): Use new :completion-function property.
18079 (widget-completions-at-point): New function.
18080 (default): Use :completion-function instead of :complete.
18081 (widget-default-completions): Rename from widget-default-complete;
18083 (widget-string-complete, widget-file-complete, widget-color-complete):
18085 (file, symbol, function, variable, coding-system, color):
18086 * international/mule-cmds.el (default-input-method, charset)
18087 (language-info-custom-alist):
18088 * cus-edit.el (face): Use new property :completions.
18090 * progmodes/pascal.el (pascal-completions-at-point): New function.
18091 (pascal-mode): Use it.
18092 (pascal-mode-map): Use completion-at-point.
18093 (pascal-toggle-completions): Make obsolete.
18094 (pascal-complete-word, pascal-show-completions):
18095 * progmodes/octave-mod.el (octave-complete-symbol):
18096 Redefine as obsolete alias.
18097 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18098 Signal absence of completion info for old Octave,
18099 (inferior-octave-complete): Redefine as obsolete alias.
18100 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18101 (meta-completions-at-point): Rename from meta-complete-symbol and
18102 adapt it for use on completion-at-point-functions.
18103 (meta-common-mode): Use it.
18104 (meta-looking-at-backward, meta-match-buffer): Remove.
18105 (meta-complete-symbol): Redefine as obsolete alias.
18106 (meta-common-mode-map): Use completion-at-point.
18107 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18108 (makefile-mode-map): Use completion-at-point.
18109 (makefile-completions-at-point): Rename from makefile-complete and
18110 adapt it for use on completion-at-point-functions.
18111 (makefile-mode): Use it.
18112 (makefile-complete): Redefine as obsolete alias.
18114 2011-06-20 Deniz Dogan <deniz@dogan.se>
18116 * net/rcirc.el: Delete trailing whitespaces once and for all.
18118 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18120 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18122 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18124 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18126 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18128 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18130 * window.el (display-buffer-other-window-means-other-frame):
18131 Call display-buffer-normalize-alist.
18132 (display-buffer-normalize-specifiers-1): Rename to
18133 display-buffer-normalize-argument. New argument other-frame.
18135 (display-buffer-normalize-specifiers-2): Rename to
18136 display-buffer-normalize-options.
18137 (display-buffer-normalize-alist-1): New function.
18138 (display-buffer-normalize-specifiers-3): Rename to
18139 display-buffer-normalize-alist.
18140 Call display-buffer-normalize-alist-1.
18141 (display-buffer-normalize-options-inhibit): New variable.
18142 (display-buffer-normalize-specifiers): Rewrite calling
18143 display-buffer-normalize-alist,
18144 display-buffer-normalize-argument, and
18145 display-buffer-normalize-options. Don't call the latter if
18146 display-buffer-normalize-options-inhibit is non-nil.
18147 (frame-auto-delete): New option.
18148 (window-deletable-p): Use frame-auto-delete.
18149 (window-list-no-nils, window-state-ignored-parameters)
18150 (window-state-get-1, window-state-get, window-state-put-list)
18151 (window-state-put-1, window-state-put-2, window-state-put):
18153 (display-buffer-normalize-options): Move special-display-p group
18154 after pop-up-frame group (Bug#8851) and (Bug#8856).
18156 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18158 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18160 (rx-submatch-n): New function.
18163 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18166 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18168 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18170 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18171 anytime existing face settings are present (Bug#8889).
18173 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18174 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18175 Remove unused argument.
18177 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18179 * window.el (display-buffer-default-specifiers):
18180 Remove pop-up-frame. Add pop-up-window-min-height,
18181 pop-up-window-min-width, and another reuse-window specifier
18182 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18183 (display-buffer-normalize-specifiers-2):
18184 Handle split-height-threshold and split-width-threshold also when
18185 pop-up-windows is unset. Add a reuse-window specifier for the
18186 case popping up a new window fails.
18187 (special-display-popup-frame): Remove double quoting.
18188 (display-buffer-normalize-specifiers-1): Fix thinko.
18190 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18192 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18193 according to comint-completion-addsuffix.
18195 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18196 (pcomplete-suffix-list): Mark as obsolete.
18197 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18198 pcomplete-seen in the closure.
18199 (pcomplete-comint-setup): Setup completion-at-point as well.
18200 (pcomplete--entries): New function.
18201 (pcomplete--env-regexp): New var.
18202 (pcomplete-entries): Rewrite to work with partial-completion and
18203 without relying on pcomplete-suffix-list.
18204 (pcomplete-pare-list): Remove, unused.
18206 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18208 * window.el (display-buffer-alist): Set pop-up-window-min-height
18209 and pop-up-window-min-width in default value. Reported by
18210 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18211 other-window-means-other-frame.
18212 (display-buffer-macro-specifiers): Comment out entry for
18213 other-window specifier.
18214 (display-buffer-other-window-means-other-frame): New function.
18215 (display-buffer-normalize-specifiers-1): New arguments
18216 buffer-name and label. Treat other-window case specially.
18217 (display-buffer-normalize-specifiers-2): Treat other-window case
18219 (display-buffer-normalize-specifiers-3): New function.
18220 (display-buffer-normalize-specifiers):
18221 Call display-buffer-normalize-specifiers-3.
18223 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18225 * window.el (same-window-p): Fix two typos introduced when
18226 adding with-no-warnings.
18227 (display-buffer-normalize-specifiers-1): Don't check
18228 pop-up-frames for 'unset initialization.
18229 (display-buffer-normalize-specifiers-2): Major rewrite using
18230 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18231 (pop-up-frames, display-buffer-reuse-frames)
18232 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18233 Suggested by David Engster <deng@randomsample.de>.
18234 (even-window-heights): Initialize to 'unset.
18235 (display-buffer-alist-set): Handle new 'unset initializations.
18236 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18239 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18241 * window.el (display-buffer-normalize-specifiers-1):
18242 Respect current value of pop-up-frames for most reasonable values of
18243 second argument of display-buffer (Bug#8865).
18244 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18245 (switch-to-buffer-other-window-same-frame)
18246 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18248 (display-buffer): Don't check noninteractive when calling
18249 display-buffer-pop-up-frame.
18250 (display-buffer-pop-up-frame): Never pop up a frame in
18251 noninteractive mode (Bug#8857).
18252 (enlarge-window, shrink-window): Don't report an error when the
18253 window can't be resized as requested (Bug#8862).
18255 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18257 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18259 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18261 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18263 2011-06-15 Alan Mackenzie <acm@muc.de>
18265 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18266 for declarators, disable knr checking to speed up for normal files.
18267 2: Refactor, replacing a sequence of nested if forms by a cond form.
18269 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18271 * net/network-stream.el (open-network-stream): Add the keyword
18272 :always-query-capabilities for the case where you want to force a
18273 `plain' network connection, but the protocol still requires the
18274 capabilitiy command (i.e., SMTP and EHLO).
18276 * subr.el (process-live-p): Rename from `process-alive-p' for
18277 consistency with other `-live-p' functions.
18279 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18281 * window.el (same-window-buffer-names, same-window-regexps)
18282 (special-display-frame-alist, special-display-popup-frame)
18283 (special-display-function, special-display-buffer-names)
18284 (special-display-regexps, pop-up-frame-alist)
18285 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18286 (pop-up-windows, split-window-preferred-function)
18287 (split-height-threshold, split-width-threshold, even-window-heights)
18288 (display-buffer-mark-dedicated): Don't encourage the use of
18289 display-buffer-alist from Elisp code.
18291 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18293 * progmodes/python.el (python-mode): Derive from prog-mode.
18294 * progmodes/ps-mode.el (ps-mode):
18295 * progmodes/mixal-mode.el (mixal-mode):
18296 * progmodes/cfengine.el (cfengine-mode):
18297 * progmodes/ld-script.el (ld-script-mode): Likewise.
18299 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18301 * window.el (display-buffer-alist): Trim default value to avoid
18302 popping up a new frame (Bug#8857) or reusing an arbitrary window
18304 (display-buffer): Do not fall back on popping up a new frame in
18305 batch mode (Bug#8857).
18307 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18309 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18310 (custom-theme-summary): New function.
18311 (customize-themes): Use it.
18313 2011-06-13 Glenn Morris <rgm@gnu.org>
18315 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18317 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18319 * help.el (help-window): Remove variable.
18320 (help-window-point-marker, temp-buffer-max-height)
18321 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18322 (help-print-return-message): Don't set help-window.
18323 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18324 (help-window-setup-finish): Remove.
18325 (help-window-display-message, help-window-setup)
18326 (with-help-window): Major rewrite based on new
18327 display-buffer-window variable.
18329 * help-mode.el (help-mode-finish): Remove help-window related
18332 * view.el (view-exits-all-viewing-windows): Remove reference to
18333 view-return-to-alist in doc-string.
18334 (view-return-to-alist): Make obsolete.
18335 (view-buffer): Call pop-to-buffer-same-window and remove
18337 (view-buffer-other-window): Call pop-to-buffer-other-window and
18338 simplify code. Ignore second argument.
18339 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18340 simplify code. Ignore second argument.
18341 (view-return-to-alist-update): Make obsolete.
18342 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18343 Rewrite using quit-restore window parameters.
18344 (view-mode-exit): Rename second argument to EXIT-ONLY.
18345 Rewrite using quit-restore-window.
18346 (View-exit, View-exit-and-edit, View-leave, View-quit)
18347 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18348 appropriate arguments.
18349 (view-end-message): Use quit-restore window parameter.
18351 * window.el (display-buffer-function): Rewrite doc-string.
18352 (display-buffer-window, display-buffer-alist): New variables.
18353 (display-buffer-split-specifiers)
18354 (display-buffer-side-specifiers)
18355 (display-buffer-macro-specifiers): New constants.
18356 (display-buffer-even-window-sizes, display-buffer-set-height)
18357 (display-buffer-set-width, display-buffer-select-window)
18358 (display-buffer-in-window, display-buffer-reuse-window)
18359 (display-buffer-split-window-1, display-buffer-split-window)
18360 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18361 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18362 (display-buffer-in-side-window, normalize-buffer-to-display)
18363 (display-buffer-normalize-specifiers-1)
18364 (display-buffer-normalize-specifiers-2)
18365 (display-buffer-normalize-specifiers, display-buffer-frame):
18367 (display-buffer): Major rewrite.
18368 (display-buffer-other-window, display-buffer-other-frame)
18369 (pop-to-buffer, switch-to-buffer-other-window)
18370 (switch-to-buffer-other-frame): Rewrite.
18371 (display-buffer-same-window, display-buffer-same-frame)
18372 (display-buffer-same-frame-other-window)
18373 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18374 (pop-to-buffer-other-window)
18375 (pop-to-buffer-same-frame-other-window)
18376 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18377 (switch-to-buffer-other-window-same-frame): New functions.
18378 (same-window-p, special-display-p): Rewrite disabling warnings.
18380 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18381 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18383 (same-window-buffer-names, same-window-regexps)
18384 (special-display-frame-alist, special-display-popup-frame)
18385 (special-display-function, special-display-buffer-names)
18386 (special-display-regexps, pop-up-frame-alist)
18387 (pop-up-frame-function, split-window-preferred-function)
18388 (split-height-threshold, split-width-threshold)
18389 (even-window-heights): Make obsolete.
18391 2011-06-12 Glenn Morris <rgm@gnu.org>
18393 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18394 Misc simplifications.
18396 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18398 * window.el (window-safely-shrinkable-p): Restore function which
18399 was inadvertently removed in change from 2011-06-11. Declare as
18402 * calendar/calendar.el (calendar-generate-window):
18403 Use window-iso-combined-p instead of combination of one-window-p and
18404 window-safely-shrinkable-p.
18406 2011-06-12 Glenn Morris <rgm@gnu.org>
18408 * progmodes/fortran.el (fortran-mode-syntax-table):
18409 * progmodes/f90.el (f90-mode-syntax-table):
18410 Set % to punctuation. (Bug#8820)
18411 (f90-find-tag-default): Remove, no longer needed.
18413 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18415 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18417 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18419 * image.el (image-animated-p): Return animation delay in seconds.
18420 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18421 (image-animate-timeout): Remove DELAY argument. Don't assume
18422 every subimage has the same delay; get it from image-animated-p.
18423 (image-animate): Caller changed.
18425 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18427 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18428 to ignored backtrace functions.
18430 2011-06-11 Glenn Morris <rgm@gnu.org>
18432 * calendar/appt.el (appt-disp-window-function): Doc fix.
18433 (appt-check): Handle overlapping appointments. (Bug#8337)
18435 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18437 * window.el (window-tree-1, window-tree): New functions, moving
18438 the latter to window.el.
18439 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18440 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18441 (bw-refresh-edges): Remove.
18442 (balance-windows-1, balance-windows-2): New functions.
18443 (balance-windows): Rewrite in terms of window tree functions,
18444 balance-windows-1 and balance-windows-2.
18445 (bw-adjust-window): Remove.
18446 (balance-windows-area-adjust): New function with functionality of
18447 bw-adjust-window but using resize-window.
18448 (set-window-text-height): Rewrite doc-string.
18449 Use normalize-live-window and resize-window.
18450 (enlarge-window-horizontally, shrink-window-horizontally):
18451 Rename argument to DELTA.
18452 (window-buffer-height): New function.
18453 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18454 Rewrite using new window resize routines.
18455 (kill-buffer-and-window, mouse-autoselect-window-select):
18456 Use ignore-errors instead of condition-case.
18457 (quit-window): Call delete-frame instead of delete-windows-on
18458 for the only buffer on frame.
18460 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18462 * loadup.el (top-level): Load window before files for the sake
18463 of replace-buffer-in-windows.
18465 * files.el (read-buffer-to-switch)
18466 (switch-to-buffer-other-window)
18467 (switch-to-buffer-other-frame, display-buffer-other-frame):
18470 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18471 (previous-buffer): Move to window.el.
18473 * bindings.el (unbury-buffer): Move to window.el.
18475 * window.el (delete-other-windows-vertically): Move after
18476 definition of delete-other-windows.
18477 (other-window, delete-windows-on, replace-buffer-in-windows):
18478 Move here from window.c.
18479 (record-window-buffer, unrecord-window-buffer)
18480 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18481 (switch-to-next-buffer): New functions.
18482 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18483 from simple.el. Call switch-to-next-buffer.
18484 (previous-buffer): Move here from simple.el.
18485 Call switch-to-prev-buffer.
18486 (bury-buffer): Move here from buffer.c. Switch to previous
18487 buffer when window cannot be deleted.
18488 (unbury-buffer): Move here from bindings.el.
18489 (ctl-x-map): Move binding for other-window from window.c to
18491 (read-buffer-to-switch, switch-to-buffer-other-window)
18492 (switch-to-buffer-other-frame): Move here from files.el.
18493 (normalize-buffer-to-switch-to): New functions.
18494 (switch-to-buffer): Move here from buffer.c.
18495 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18497 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18499 * window.el (window-min-height, window-min-width): Move here
18500 from window.c. Add defcustoms and rewrite doc-strings.
18501 (resize-mini-window, resize-window): New functions.
18502 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18503 Move here from window.c.
18504 (maximize-window, minimize-window): New functions.
18505 (delete-window, delete-other-windows, split-window): Move here
18507 (window-split-min-size): New function.
18508 (split-window-keep-point): Mention split-window-above-each-other
18509 instead of split-window-vertically.
18510 (split-window-above-each-other, split-window-vertically):
18511 Rename split-window-vertically to split-window-above-each-other
18512 and provide defalias for old definition.
18513 (split-window-side-by-side, split-window-horizontally):
18514 Rename split-window-horizontally to split-window-side-by-side
18515 and provide defalias for the old definition.
18516 (ctl-x-map): Move bindings for delete-window,
18517 delete-other-windows and enlarge-window here from window.c.
18518 Replace bindings for split-window-vertically and
18519 split-window-horizontally by bindings for
18520 split-window-above-each-other and split-window-side-by-side.
18522 * cus-start.el (all): Remove entries for window-min-height and
18523 window-min-width. Add entries for window-splits and
18526 2011-06-09 Glenn Morris <rgm@gnu.org>
18528 * calendar/appt.el (appt-mode-line): New function.
18529 (appt-check, appt-disp-window): Use it.
18531 * files.el (hack-one-local-variable-eval-safep):
18532 Allow minor-modes with explicit +/-1 arguments.
18534 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18536 * term/xterm.el (xterm): Add defgroup.
18537 (xterm-extra-capabilities): Add defcustom to supply known xterm
18538 capabilities, skip querying them, or query them (default).
18539 (terminal-init-xterm): Use it.
18540 (terminal-init-xterm-modify-other-keys): New function to set up
18541 modifyOtherKeys support to simplify `terminal-init-xterm'.
18543 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18545 * window.el (resize-window-reset, resize-window-reset-1)
18546 (resize-subwindows-skip-p, resize-subwindows-normal)
18547 (resize-subwindows, resize-other-windows, resize-this-window)
18548 (resize-root-window, resize-root-window-vertically)
18549 (window-deletable-p, window-or-subwindow-p)
18550 (frame-root-window-p): New functions.
18552 2011-06-09 Glenn Morris <rgm@gnu.org>
18554 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18555 (ange-ftp-get-files): Use it.
18557 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18559 * mail/sendmail.el (mail-recover-1, mail-recover):
18560 * files.el (recover-file, recover-session):
18561 Handle dired-listing-switches not being just a single short option.
18563 2011-06-09 Glenn Morris <rgm@gnu.org>
18565 * calendar/appt.el (appt-display-message, appt-disp-window):
18566 Handle lists of appointments.
18568 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18570 * window.el (one-window-p): Move down in code.
18571 Rewrite doc-string.
18572 (window-current-scroll-bars): Rewrite doc-string.
18573 Normalize live window argument.
18574 (walk-windows, get-window-with-predicate, count-windows):
18575 Rewrite doc-string. Use window-list-1.
18576 (window-in-direction-2, window-in-direction, get-mru-window):
18579 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18581 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18582 Doc fix (Bug#8713).
18584 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18586 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18588 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18590 * loadhist.el (unload-feature-special-hooks):
18591 Add `comint-output-filter-functions'.
18593 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18595 * calendar/appt.el (appt-check): Move some initializations into the let.
18597 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18599 * window.el (window-height): Defalias to window-total-height.
18600 (window-width): Defalias to window-body-width.
18602 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18604 * image-mode.el (image-toggle-animation): New command.
18605 (image-mode-map): Bind it to RET.
18606 (image-mode): Update message.
18607 (image-toggle-display-image): Avoid a spurious cache flush.
18608 (image-transform-rotation): Doc fix.
18609 (image-transform-properties): Return quickly in the normal case.
18610 (image-animate-loop): Rename from image-animate-max-time.
18612 * image.el (image-animate-max-time): Move to image-mode.el.
18613 (create-animated-image): Remove unnecessary function.
18614 (image-animate): Rename from image-animate-start. New arg.
18615 (image-animate-stop): Remove; just use image-animate-timer.
18616 (image-animate-timer): Use car-safe.
18617 (image-animate-timeout): Rename argument.
18619 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18621 * window.el (get-lru-window, get-largest-window): Move here from
18622 window.c. Rename first argument to ALL-FRAMES.
18623 Rephrase doc-strings.
18624 (get-buffer-window-list): Rewrite using window-list-1.
18625 Rephrase doc-string.
18626 (window-safe-min-height, window-safe-min-width): New constants.
18627 (window-size-ignore, window-min-size, window-min-size-1)
18628 (window-sizable, window-sizable-p, window-size-fixed-1)
18629 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18630 (window-max-delta-1, window-max-delta, window-resizable)
18631 (window-resizable-p, window-total-height, window-total-width)
18632 (window-body-width): New functions.
18633 (window-full-height-p, window-full-width-p): Rewrite using
18635 (window-body-height): Rewrite using window-body-size.
18637 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18639 * window.el (window-right, window-left, window-child)
18640 (window-child-count, window-last-child, window-any-p)
18641 (normalize-live-buffer, normalize-live-frame)
18642 (normalize-any-window, normalize-live-window)
18643 (window-iso-combination-p, window-iso-combined-p)
18644 (window-iso-combinations)
18645 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18646 (windows-with-parameter, window-with-parameter)
18647 (window-atom-root, make-window-atom, window-atom-check-1)
18648 (window-atom-check, window-side-check, window-check):
18650 (ignore-window-parameters, window-sides, window-sides-vertical)
18651 (window-sides-slots): New variables.
18652 (window-size-fixed): Move down in code. Minor doc-string fix.
18654 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18656 * comint.el (comint-dynamic-complete-as-filename)
18657 (comint-dynamic-complete-filename): Correctly call
18658 completion-in-region.
18660 2011-06-05 Deniz Dogan <deniz@dogan.se>
18662 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18665 2011-06-05 Deniz Dogan <deniz@dogan.se>
18667 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18668 (rcirc): Use it to prompt for encryption.
18670 2011-06-05 Roland Winkler <winkler@gnu.org>
18672 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18673 (bibtex-search-entries): New command bound to C-c C-a.
18674 (bibtex-display-entries): New function.
18676 2011-06-05 Roland Winkler <winkler@gnu.org>
18678 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18679 (bibtex-insert-kill): After yanking insert newline if necessary.
18680 (bibtex-initialize): Call bibtex-string-files-init only once.
18681 (bibtex-mode): Do not call easy-menu-add.
18682 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18683 (bibtex-yank): Set arg properly if nil.
18685 2011-06-05 Roland Winkler <winkler@gnu.org>
18687 * textmodes/bibtex.el (bibtex-search-entry-globally):
18689 (bibtex-search-entry): Use it.
18691 2011-06-05 Roland Winkler <winkler@gnu.org>
18693 * textmodes/bibtex.el (bibtex-entry-format): New option
18695 (bibtex-format-entry, bibtex-reformat): Honor this option.
18696 (bibtex-parse-entry): Return fields in proper order.
18698 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18700 * doc-view.el (doc-view-remove-if): Move computation of result out
18701 of `dolist' to silence misleading lexical-binding warning.
18703 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18705 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18706 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18708 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18710 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18713 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18715 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18716 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18717 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18718 (tramp-parse-putty):
18719 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18720 (tramp-completion-function-alist-ssh)
18721 (tramp-completion-function-alist-telnet)
18722 (tramp-completion-function-alist-su)
18723 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18726 * net/tramp-ftp.el:
18728 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18729 load "tramp.el" `tramp-set-completion-function'.
18731 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18733 * shell.el: Require and use pcomplete.
18734 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18735 (shell-completion-vars): Set pcomplete-default-completion-function.
18737 2011-06-04 Deniz Dogan <deniz@dogan.se>
18739 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18742 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18744 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18746 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18748 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18749 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18750 * vc/log-view.el (log-view-beginning-of-defun):
18751 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18752 (smerge-refine-forward, smerge-refine-chopup-region):
18753 Silence warning for unused `dotimes' counter variables.
18755 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18757 * net/tramp.el (tramp-with-progress-reporter): Rename from
18758 with-progress-reporter. Use `declare'.
18759 * net/tramp-smb.el:
18761 * net/tramp-gvfs.el: Update all uses.
18763 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18765 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18766 buffer isn't killed before making it current.
18768 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18770 Silence various byte-compiler warnings.
18771 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18772 `access-type' and new obsolescence format.
18773 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18775 (byte-compile-check-variable): New `access-type' argument.
18776 Only warn if the access-type is obsolete.
18777 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18778 (byte-compile-variable-set): Adjust callers.
18779 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18780 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18781 setting it as obsolete.
18782 * simple.el (minibuffer-completing-symbol):
18783 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18784 access as obsolete.
18785 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18787 * international/quail.el (quail-mouse-choose-completion): Remove unused
18788 code referring to obsolete var.
18789 (quail-choose-completion-string): Remove.
18790 * server.el (server-clients-with, server-kill-buffer-query-function)
18791 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18792 * proced.el (proced-send-signal):
18793 * emacs-lisp/lisp.el (lisp-complete-symbol):
18794 Replace completion-annotate-function with completion-extra-properties.
18796 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18798 * simple.el (goto-line): Use read-number.
18799 (overriding-map-is-bound): Remove.
18800 (saved-overriding-map): Change default.
18801 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18802 Take the map as argument.
18803 (universal-argument, negative-argument, digit-argument): Use it.
18804 (restore-overriding-map): Adjust.
18805 (do-auto-fill): Use fill-forward-paragraph.
18806 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18808 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18809 (minibuffer-inactive-mode): New major mode.
18810 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18811 the *Messages* buffer" hack.
18812 (mouse-popup-menubar): Don't burp if the event is a normal key.
18814 Miscellaneous tweaks.
18815 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18816 lexical scoping as in subr.el's dolist and dotimes.
18817 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18818 Silence compiler warning.
18819 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18820 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18821 * international/ccl.el (ccl-compile): Trivial simplification.
18822 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18823 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18824 `printflag' argument.
18825 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18826 Purecopy the whole obsolescence data.
18828 2011-06-01 Leo Liu <sdl.web@gmail.com>
18830 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18831 improve doc-string as suggested by Marco Pessotto
18832 <melmothx@gmail.com>.
18833 (rcirc-print): Fix last change.
18835 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18837 * minibuffer.el (complete-with-action): Return nil for the metadata and
18838 boundaries of non-functional tables.
18839 (completion-table-dynamic): Return nil for the metadata.
18840 (completion-table-with-terminator): Add default case, using
18841 complete-with-action.
18842 (completion--metadata): New function.
18843 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18844 to try and avoid pathological performance problems.
18845 (completion--embedded-envvar-table): Return `category' metadata.
18847 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18849 * subr.el (process-alive-p): New tiny convenience function.
18851 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18853 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18854 content but also its previous major mode.
18856 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18858 * emacs-lisp/debug.el (debug): Restore the previous content of the
18859 *Backtrace* buffer when we exit with C-M-c.
18861 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18863 * minibuffer.el: Add metadata method to completion tables.
18864 (completion-category-overrides): New defcustom.
18865 (completion-metadata, completion--field-metadata)
18866 (completion-metadata-get, completion--styles)
18867 (completion--cycle-threshold): New functions.
18868 (completion-try-completion, completion-all-completions):
18869 Add `metadata' argument to choose completion-styles.
18870 (completion--do-completion): Use metadata to choose cycling.
18871 (completion-all-sorted-completions): Use metadata for sorting.
18872 Remove :completion-cycle-penalty which is not needed any more.
18873 (completion--try-word-completion): Add `metadata' argument.
18874 (minibuffer-completion-help): Check metadata for annotation function
18876 (completion-file-name-table): Return `category' metadata.
18877 (minibuffer-completing-file-name): Make obsolete.
18878 * simple.el (minibuffer-completing-symbol): Make obsolete.
18879 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18880 completion-try-completion.
18882 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18884 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18886 2011-05-30 Leo Liu <sdl.web@gmail.com>
18888 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18889 (rcirc-print): Decode all incoming messages (bug#8744).
18890 (rcirc-decode-coding-system): Allow value nil for automatic coding
18893 2011-06-01 Glenn Morris <rgm@gnu.org>
18895 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18897 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18899 * image.el (image-animate-max-time): Allow nil and t values.
18901 (create-animated-image): Doc fix.
18902 (image-animate-start): Remove second arg; just use
18903 image-animate-max-time.
18904 (image-animate-timeout): Doc fix. Args changed.
18906 * image-mode.el (image-toggle-display-image): Ensure that the
18907 image spec passed to the animate timer is the same object as in
18908 the buffer's display property (Bug#6981).
18909 (image-transform-properties): Doc fix.
18911 * image.el (image-animate-max-time): Default to nil.
18913 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18915 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18916 entire buffer list (Bug#8184).
18918 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18920 * image.el (imagemagick-types-inhibit)
18921 (imagemagick-register-types): Doc fix.
18923 2011-05-29 Deniz Dogan <deniz@dogan.se>
18925 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18928 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18930 * select.el: Don't perform clipboard-manager saving in hooks;
18931 leave the hooks empty.
18933 2011-05-28 Leo Liu <sdl.web@gmail.com>
18935 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18936 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18937 (occur-edit-mode): New major mode (Bug#8463).
18938 (occur-after-change-function): New function.
18939 (occur-engine): Give Occur tags a read-only property.
18941 2011-05-28 Kevin Ryde <user42@zip.com.au>
18943 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18945 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18947 * bindings.el (help-echo): Make the initial non-indicator dash
18948 empty on graphical terminals (Bug#7295).
18950 * files.el (auto-mode-alist): Move config rule after the
18951 in-stripping one (Bug#8547).
18953 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18955 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18956 setting (Bug#8740).
18958 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18960 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18961 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18964 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18966 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18968 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18970 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18971 (hs-hide-block-at-point, hs-find-block-beginning)
18972 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18975 2011-05-28 Glenn Morris <rgm@gnu.org>
18977 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18979 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18981 * help-fns.el (describe-function-1): If the function is a derived
18982 major mode, print the parent mode.
18984 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18985 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18987 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18989 * minibuffer.el (completion--capf-wrapper): Check applicability before
18990 returning non-nil for non-exclusive completion data.
18991 * progmodes/etags.el (tags-completion-at-point-function):
18992 * info-look.el (info-lookup-completions-at-point): Mark as
18994 (info-complete): Adjust accordingly.
18996 * info-look.el: Convert to lexical-binding and completion-at-point.
18997 (info-lookup-completions-at-point): New function.
18998 (info-complete): Use it and completion-in-region.
19000 2011-05-28 Drew Adams <drew.adams@oracle.com>
19002 * isearch.el: Let M-e start with point at the first mismatched char.
19003 (isearch-fail-pos): New function.
19004 (isearch-edit-string): Use it.
19006 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19008 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19010 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19012 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19013 traversal functions for avl-trees.
19014 (avl-tree--stack): New struct.
19015 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19016 (avl-tree-enter): Add optional `updatefun' arg.
19017 (avl-tree--do-enter): Add optional `updatefun' arg.
19018 Change return value.
19019 (avl-tree-delete): Add optional `test' and `nilflag' args.
19020 (avl-tree--do-delete): Add `test' and `nilflag' args.
19021 Change return value.
19022 (avl-tree-member): Add optional `nilflag'
19023 (avl-tree-member-p): New function.
19024 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19025 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19026 (avl-tree-stack-empty-p): New functions.
19028 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19029 avl-tree--del-balance1 and make it work both ways.
19030 (avl-tree--del-balance2): Remove.
19031 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19032 make it work both ways.
19033 (avl-tree--enter-balance2): Remove.
19034 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19036 (avl-tree--mapc, avl-tree-map): Add direction argument.
19038 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19040 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19042 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19044 * select.el: Support clipboard managers with built-in function
19045 x-clipboard-manager-save, via delete-frame-functions and
19047 (xselect-convert-to-targets): Add MULTIPLE target to list.
19048 (xselect-convert-to-save-targets): New function.
19050 2011-05-27 Kenichi Handa <handa@m17n.org>
19052 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19053 let-binding rfc2047-encode-encoded-words to nil.
19055 2011-05-27 Glenn Morris <rgm@gnu.org>
19057 * mail/emacsbug.el: Don't require url-util.
19059 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19061 * files.el (set-auto-mode):
19062 Also respect mode: entries at the end of the file. (Bug#8586)
19064 2011-05-26 Glenn Morris <rgm@gnu.org>
19066 * files.el (hack-local-variables-prop-line, hack-local-variables):
19067 Downcase mode names, as seems to be traditional.
19068 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19070 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19071 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19073 2011-05-25 Julien Danjou <julien@danjou.info>
19075 * textmodes/rst.el (rst-define-level-faces): Do not define face
19076 symbol if it is already defined.
19078 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19080 * play/5x5.el (5x5-new-game, 5x5-randomize):
19081 Reset 5x5-solver-output to nil when a new grid is cast.
19082 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19083 these debugging traces, as defmacro breaks the compiled code.
19085 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19087 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19089 2011-05-24 Leo Liu <sdl.web@gmail.com>
19091 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19092 (vc-bzr-sha1): Adapt.
19094 * sha1.el: Remove. Function `sha1' is now builtin.
19096 * bindings.el: Provide sha1 feature.
19098 2011-05-24 Kenichi Handa <handa@m17n.org>
19100 * mail/sendmail.el: Require `rfc2047'.
19101 (mail-insert-from-field): Do not perform RFC2047 encoding.
19102 (mail-encode-header): New function.
19103 (sendmail-send-it): Set buffer-file-coding-system of the work
19104 buffer to the return value of select-message-coding-system.
19105 Call mail-encode-header.
19107 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19109 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19111 * mail/supercite.el (sc-default-cite-frame):
19112 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19114 2011-05-24 Glenn Morris <rgm@gnu.org>
19116 * progmodes/python.el (brm-menu): Declare.
19118 * emulation/viper.el (viper-set-hooks): Declare.
19120 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19121 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19122 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19123 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19124 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19125 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19127 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19129 Add an :exit-function for completion-at-point.
19131 * minibuffer.el (completion--done): New fun.
19132 (completion--do-completion): Use it. New arg `expect-exact'.
19133 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19134 since completion--do-completion does it for us now.
19135 (minibuffer-force-complete): Use completion--done and
19136 completion--replace. Handle sole-completion case with more care.
19137 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19138 (completion-extra-properties): New var.
19139 (completion-annotate-function): Make obsolete.
19140 (minibuffer-completion-help): Adjust accordingly.
19141 Use completion-list-insert-choice-function.
19142 (completion-at-point, completion-help-at-point):
19143 Bind completion-extra-properties.
19144 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19145 * simple.el (completion-list-insert-choice-function): New var.
19146 (completion-setup-function): Preserve it.
19147 (choose-completion): Pay attention to it, shuffle the code a bit.
19148 (choose-completion-string): New arg `insert-function'.
19150 * textmodes/bibtex.el: Convert to lexical binding.
19151 (bibtex-mode-map): Use completion-at-point.
19152 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19153 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19154 (bibtex-complete): Define as obsolete alias.
19155 (bibtex-complete-internal): Remove.
19156 (bibtex-format-entry): Remove unused sub-group in regexp.
19157 * shell.el (shell--command-completion-data)
19158 (shell-environment-variable-completion):
19159 * pcomplete.el (pcomplete-completions-at-point):
19160 * comint.el (comint--complete-file-name-data): Use :exit-function
19161 instead of completion-table-with-terminator so it also works for
19164 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19166 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19168 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19171 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19173 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19175 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19176 customization variable and implement: If non-nil, auto-fill will
19177 be inhibited while on topic's header line.
19179 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19181 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19182 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19183 always have a solution in grid size = 5 cases.
19184 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19185 (5x5-solver-output, 5x5-log-buffer): New vars.
19186 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19187 Make these variables buffer local to achieve 5x5 multi-session-ness.
19188 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19189 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19190 (5x5-solve-suggest): New funs.
19191 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19192 randomize a grid so that we ensure that there is always a solution.
19193 (5x5-make-random-grid): Allow other movement than flipping.
19195 2011-05-23 Kevin Ryde <user42@zip.com.au>
19197 * emacs-lisp/advice.el (ad-read-advised-function):
19198 Use `function-called-at-point' as the default, if it has
19199 advice and passes PREDICATE.
19201 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19203 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19204 byte-compile-lambda if it's actually a lambda.
19206 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19207 Fix function quoting. Use backquote better.
19209 2011-05-22 Yuanle Song <sylecn@gmail.com>
19211 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19212 matching (Bug#8516).
19214 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19216 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19217 different face (Bug#8178).
19219 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19221 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19222 defface (Bug#8144).
19224 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19226 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19227 funcall as well (bug#8712). Warn when performing those conversions.
19228 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19230 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19232 2011-05-22 Glenn Morris <rgm@gnu.org>
19234 * files.el (hack-local-variables-prop-line): Small simplifications.
19235 (hack-local-variables, hack-local-variables-prop-line):
19236 If MODE-ONLY, return the mode, rather than just `t'.
19238 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19242 2011-05-21 Glenn Morris <rgm@gnu.org>
19244 * files.el (hack-local-variables-prop-line, hack-local-variables):
19245 If only interested in the mode, don't bother doing the other stuff.
19247 * image-mode.el (image-after-revert-hook):
19248 Redraw all frames on which the image is visible. (Bug#8567)
19250 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19252 * wid-edit.el (widget-checklist-match-inline):
19253 Fix 2011-04-19 change. (Bug#8649)
19255 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19257 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19258 Also allow singlespace after single-letter capitals followed by a dot.
19260 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19261 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19263 2011-05-20 Nix <nix@esperi.org.uk>
19265 * files.el (basic-save-buffer-2):
19266 Fix handling of break-hardlink-on-save with non-existent files.
19268 2011-05-19 Deniz Dogan <deniz@dogan.se>
19270 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19271 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19273 2011-05-19 Glenn Morris <rgm@gnu.org>
19275 * progmodes/f90.el (f90-type-def-re):
19276 Handle "type, bind(c)". (Bug#8691)
19278 * emacs-lisp/autoload.el (batch-update-autoloads):
19279 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19281 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19283 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19284 property for the correct connection in case of multihops.
19286 2011-05-18 Glenn Morris <rgm@gnu.org>
19288 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19289 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19291 Rationalize calendar handling of day and month abbrev-arrays.
19292 * calendar/calendar.el (calendar-customized-p): New function.
19293 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19294 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19296 (calendar-abbrev-length, calendar-day-abbrev-array)
19297 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19298 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19299 Elements may no longer be nil.
19300 (calendar-day-name, calendar-month-name):
19301 Update for changed nature of abbrev arrays.
19302 * calendar/diary-lib.el (diary-name-pattern):
19303 Update for changed nature of abbrev arrays.
19304 (diary-mark-entries-1): Update calendar-make-alist calls.
19305 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19306 * calendar/cal-html.el (cal-html-day-abbrev-array):
19307 Simply inherit from calendar-day-abbrev-array.
19309 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19311 * progmodes/grep.el (grep-mode): Disable default
19312 compilation-directory-matcher setting (bug#8684).
19314 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19316 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19317 instead of "head" and "tail". There were problems with SunOS 5.9,
19318 and it performs better.
19320 2011-05-17 Glenn Morris <rgm@gnu.org>
19322 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19324 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19325 Replace obsolete function.
19327 * shell.el (pcomplete-parse-arguments-function): Declare.
19329 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19330 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19331 (appt-check): Doc fixes.
19332 (appt-disp-window-function, appt-delete-window-function):
19333 Remove needless special case in custom :type.
19334 (appt-display-count): Default to 0, not nil.
19335 (appt-check): Reset appt-display-count to 0, not nil.
19337 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19339 * progmodes/python.el (python-font-lock-keywords):
19340 Add the Python 3.X keyword "nonlocal" (bug#8639).
19342 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19344 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19346 2011-05-16 Kevin Ryde <user42@zip.com.au>
19348 * info-look.el (makefile-automake-mode): New setups, looking in
19349 automake manual, then makefile-mode.
19350 (makefile-mode): Remove automake manual, have it just in
19351 makefile-automake-mode since there's various things different or
19352 not relevant to plain make.
19353 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19354 believe a hypothetical automake-mode would go to makefile-mode,
19355 not the other way around.
19357 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19359 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19360 hunk-end tags (Bug#8672).
19362 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19363 vc-annotate-show-diff-revision-at-line (Bug#8671).
19365 2011-05-14 Glenn Morris <rgm@gnu.org>
19367 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19368 in the middle of an existing one with multiple authors. (Bug#8645)
19369 (change-log-font-lock-keywords): Also handle multiple author lines
19370 with leading tabs. (Bug#8644)
19372 * calendar/appt.el (appt-check): Rename some local variables.
19373 Some simplification/reordering.
19375 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19376 (feedmail-sendmail-f-doesnt-sell-me-out)
19377 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19378 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19379 (feedmail-queue-runner-message-sender): Set :version.
19380 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19381 (bbdb-dwim-net-address, vm-mail): Declare.
19382 (feedmail-binmail-gnulinuxish-template):
19383 Rename from feedmail-binmail-linuxish-template.
19384 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19385 Use insert-buffer-substring.
19387 2011-05-14 Bill Carpenter <bill@carpenter.org>
19389 * mail/feedmail.el (feedmail-patch-level): Increase.
19390 (feedmail-debug): New custom group.
19391 (feedmail-confirm-outgoing-timeout)
19392 (feedmail-sendmail-f-doesnt-sell-me-out)
19393 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19394 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19395 (feedmail-sender-line, feedmail-from-line)
19396 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19397 (feedmail-spray-this-address)
19398 (feedmail-spray-address-fiddle-plex-list)
19399 (feedmail-queue-use-send-time-for-date)
19400 (feedmail-queue-use-send-time-for-message-id)
19401 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19402 (feedmail-buffer-eating-function):
19404 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19405 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19406 (feedmail-message-action-scroll-down): New functions.
19407 (feedmail-queue-directory, feedmail-queue-draft-directory):
19408 Use expand-file-name.
19409 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19410 Remove C-v help entry.
19411 (feedmail-queue-buffer-file-name): New variable.
19412 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19413 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19414 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19415 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19416 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19417 (feedmail-message-action-toggle-spray)
19418 (feedmail-run-the-queue-no-prompts)
19419 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19420 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19421 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19422 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19423 (feedmail-envelope-deducer, feedmail-fiddle-from)
19424 (feedmail-fiddle-sender, feedmail-default-date-generator)
19425 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19426 (feedmail-fiddle-spray-address)
19427 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19428 (feedmail-fiddle-list-of-fiddle-plexes)
19429 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19430 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19431 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19432 Change default. Doc fix.
19433 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19434 (feedmail-binmail-linuxish-template): New constant.
19435 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19436 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19437 (feedmail-send-it): Add debug call.
19438 Use feedmail-queue-buffer-file-name, and
19439 feedmail-send-it-immediately-wrapper.
19440 (feedmail-message-action-send): Add debug call.
19441 Use feedmail-send-it-immediately-wrapper.
19442 (feedmail-queue-express-to-queue): Add debug call.
19443 Run feedmail-queue-express-hook.
19444 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19445 (feedmail-message-action-help-blat):
19446 Rename from feedmail-queue-send-edit-prompt-help-first.
19447 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19448 Check line-endings. Handle errors better.
19449 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19450 Doc fix. Add debug call.
19451 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19452 Use feedmail-queue-send-edit-prompt-inner.
19453 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19454 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19455 from feedmail-queue-send-edit-prompt.
19456 (feedmail-queue-send-edit-prompt-help)
19457 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19458 (feedmail-tidy-up-slug): Add debug call.
19459 Respect feedmail-queue-slug-suspect-regexp.
19460 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19461 (feedmail-dump-message-to-queue): Add debug call.
19462 Expand queue-directory.
19463 (feedmail-dump-message-to-queue): Change message slightly.
19464 Use feedmail-say-chatter.
19465 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19466 (feedmail-send-it-immediately-wrapper): New function.
19467 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19468 Insert empty string rather than newline. Handle full-frame case.
19469 Use catch/throw. Use feedmail-say-chatter.
19470 (feedmail-fiddle-from): Try mail-host-address.
19471 (feedmail-default-message-id-generator): Doc fix.
19472 Bind system-time-locale. Handle missing end.
19473 (feedmail-fiddle-x-mailer): Add debug call.
19474 Handle feedmail-x-mailer-line being nil.
19475 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19476 Add debug call. Use buffer-substring-no-properties.
19477 (feedmail-say-debug, feedmail-say-chatter): New functions.
19478 (feedmail-find-eoh): Give an explicit error.
19480 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19482 * net/newst-treeview.el (newsticker-treeview-face): Change default
19483 family from helvetica to sans.
19484 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19485 etc/images/newsticker.
19487 * net/newst-reader.el (newsticker-feed-face): Change default
19488 family from helvetica to sans.
19490 * net/newst-plainview.el (newsticker-new-item-face)
19491 (newsticker-old-item-face, newsticker-immortal-item-face)
19492 (newsticker-obsolete-item-face, newsticker-date-face)
19493 (newsticker-statistics-face): Change default family from
19495 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19496 etc/images/newsticker.
19498 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19499 (newsticker--process-auto-mark-filter-match): Tell user about
19502 2011-05-13 Didier Verna <didier@xemacs.org>
19504 Common Lisp indentation improvements on defmethod and lambda-lists.
19505 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19507 (lisp-lambda-list-keyword-parameter-indentation)
19508 (lisp-lambda-list-keyword-parameter-alignment)
19509 (lisp-lambda-list-keyword-alignment): New customizable user options.
19510 (lisp-indent-defun-method): Improve docstring.
19511 (extended-loop-p): Fix comment.
19512 (lisp-indent-lambda-list-keywords-regexp): New variable.
19513 (lisp-indent-lambda-list): New function.
19514 (lisp-indent-259): Use it.
19515 (lisp-indent-defmethod): Support for more than one
19516 method qualifier and properly indent methods lambda-lists.
19517 (defgeneric): Provide a missing common-lisp-indent-function property.
19519 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19521 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19522 bounds for the empty string (bug#8667).
19524 2011-05-13 Glenn Morris <rgm@gnu.org>
19526 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19528 * mail/sendmail.el (sendmail-program): Try executable-find first.
19529 (sendmail-send-it): `sendmail-program' cannot be unbound.
19531 * calendar/appt.el (appt-make-list): Simplify.
19532 (appt-time-msg-list): Doc fix.
19533 (appt-check): Change mode-line message at the time of the appointment.
19535 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19537 * progmodes/ld-script.el (ld-script-keywords)
19538 (ld-script-builtins): Update keywords list.
19540 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19542 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19544 * shell.el (shell-completion-vars): New function.
19546 * simple.el (read-shell-command): Use it.
19547 (blink-matching-open): No need for " [...]" in minibuffer-message.
19549 2011-05-12 Glenn Morris <rgm@gnu.org>
19551 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19552 (appt-check): Simplify.
19554 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19556 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19557 literal "/dev/null".
19559 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19561 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19564 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19566 * progmodes/which-func.el (which-function):
19567 Use add-log-current-defun instead of add-log-current-defun-function,
19568 which might not be defined (Bug#8260).
19570 2011-05-12 Glenn Morris <rgm@gnu.org>
19572 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19573 Let byte-compile-initial-macro-environment always take precedence.
19575 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19577 * net/rcirc.el: Add support for SSL/TLS connections.
19578 (rcirc-server-alist): New field `encryption'.
19579 (rcirc): Check `encryption' settings.
19580 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19581 Merge make-local-variable into `set'.
19582 (rcirc--connection-open-p): New function.
19583 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19584 the process is not a network process (e.g. running gnutls-cli).
19585 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19586 Make rcirc-(en|de)code-coding-system local here.
19587 (rcirc-mode): Merge make-local-variable into `set'.
19588 (rcirc-parent-buffer): Make permanent buffer-local.
19589 (rcirc-multiline-minor-mode): Don't do it here.
19590 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19591 there's no server buffer.
19593 2011-05-11 Glenn Morris <rgm@gnu.org>
19595 * newcomment.el (comment-kill): Prefix "unused" local.
19597 * term/w32console.el (get-screen-color): Declare.
19599 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19600 Handle symbol elements of byte-compile-initial-macro-environment.
19602 2011-05-10 Leo Liu <sdl.web@gmail.com>
19604 * bookmark.el (bookmark-bmenu-mode-map):
19605 Bind bookmark-bmenu-search to `/'.
19607 * mail/footnote.el: Convert to utf-8 encoding.
19608 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19609 (Footnote-unicode): New function.
19610 (footnote-style-alist): Add unicode style to the list.
19611 (footnote-style): Doc fix.
19613 2011-05-10 Jim Meyering <meyering@redhat.com>
19615 Fix doubled-word typos.
19616 * international/quail.el (quail-insert-kbd-layout): and and -> and
19617 * kermit.el: and and -> and
19618 * net/ldap.el (ldap-search-internal): to to -> to
19619 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19620 * progmodes/js.el (js-mode): and and -> and
19621 * textmodes/artist.el (artist-move-to-xy): at at -> at
19622 (artist-draw-region-trim-line-endings): if if -> if
19623 And Safetyc -> Safety.
19624 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19626 2011-05-10 Glenn Morris <rgm@gnu.org>
19627 Stefan Monnier <monnier@iro.umontreal.ca>
19629 * files.el (hack-one-local-variable-eval-safep):
19630 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19632 2011-05-10 Glenn Morris <rgm@gnu.org>
19634 * calendar/diary-lib.el (diary-list-entries-hook)
19635 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19636 (diary-nongregorian-marking-hook, diary-list-entries)
19637 (diary-include-other-diary-files, diary-mark-entries)
19638 (diary-mark-included-diary-files): Doc fixes.
19640 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19642 * misc.el: Require tabulated-list.el during compilation.
19644 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19646 * progmodes/compile.el (compilation-start):
19647 Run compilation-filter-hook for the async case too.
19648 (compilation-filter-hook): Doc fix.
19650 2011-05-09 Deniz Dogan <deniz@dogan.se>
19652 * wdired.el: Remove outdated installation comment. Fix usage
19655 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19657 * misc.el: Implement new command `list-dynamic-libraries'.
19658 (list-dynamic-libraries--loaded-only-p): New variable.
19659 (list-dynamic-libraries--refresh): New function.
19660 (list-dynamic-libraries): New command.
19662 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19665 Fix the ant regexp to handle end-line and end-column info from jikes.
19666 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19667 higher priority to avoid clobbering by gnu.
19669 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19671 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19672 if the face has existing theme settings (Bug#8454).
19674 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19676 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19677 Only match variables declared via `my' or `our' (Bug#8261).
19679 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19680 special file names `.' and `..' (Bug#8259).
19682 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19684 * progmodes/grep.el (grep-mode-font-lock-keywords):
19685 Remove buffer-changing entries.
19686 (grep-filter): New function.
19687 (grep-mode): Add it to compilation-filter-hook.
19689 * progmodes/compile.el (compilation-filter-hook)
19690 (compilation-filter-start): New defvars.
19691 (compilation-filter): Call compilation-filter-hook prior to
19692 updating the process mark.
19694 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19696 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19698 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19700 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19701 mailclient-send-it even if window-system is nil. (Bug#8595)
19703 * term/w32console.el (terminal-init-w32console):
19704 Call get-screen-color and use its output to set the frame
19705 background-mode. (Bug#8597)
19707 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19709 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19710 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19712 (defgeneric, eieio--defmethod): Use them.
19713 (eieio-defgeneric): Remove.
19714 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19716 2011-05-07 Glenn Morris <rgm@gnu.org>
19718 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19719 Use let rather than let*.
19720 (timeclock-find-discrep): Remove unused local.
19722 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19724 * calendar/appt.el (appt-time-msg-list): Doc fix.
19726 2011-05-06 Noah Friedman <friedman@splode.com>
19728 * apropos.el (apropos-print-doc): Only use
19729 emacs-lisp-docstring-fill-column when it is bound to an integer,
19730 per that variable's documentation.
19732 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19734 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19735 and warnings are not silently discarded (e.g. use -d instead of -P).
19737 2011-05-06 Glenn Morris <rgm@gnu.org>
19739 * calendar/appt.el (appt-message-warning-time): Doc fix.
19740 (appt-warning-time-regexp): New option.
19741 (appt-make-list): Respect appt-message-warning-time.
19743 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19745 (diary-add-to-list): Strip comments from the displayed string.
19746 (diary-mode): Set comment-start and comment-end.
19748 * vc/diff-mode.el (smerge-refine-subst): Declare.
19749 (diff-refine-hunk): Don't require smerge-mode when compiling.
19751 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19753 * simple.el (list-processes): Return nil as the docstring says.
19755 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19757 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19759 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19760 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19761 determining of binary transfer. (Bug#7383)
19763 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19765 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19766 Fix port computation bug. (Bug#8618)
19768 2011-05-05 Glenn Morris <rgm@gnu.org>
19770 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19772 * simple.el (shell-dynamic-complete-functions)
19773 (comint-dynamic-complete-functions): Declare.
19775 * net/network-stream.el (gnutls-negotiate):
19776 * simple.el (tabulated-list-print): Fix declarations.
19778 * progmodes/gud.el (syntax-symbol, syntax-point):
19779 Remove unnecessary and incorrect declarations.
19781 * emacs-lisp/check-declare.el (check-declare-scan):
19782 Handle byte-compile-initial-macro-environment in bytecomp.el.
19784 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19786 Fix earlier half-done eieio-defmethod change (bug#8338).
19787 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19788 Streamline and change calling convention.
19789 (defmethod): Adjust accordingly and simplify.
19790 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19791 new eieio--defmethod.
19792 (slot-boundp): Minor CSE simplification.
19794 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19796 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19797 (glasses-make-readable): Use glasses-separate-capital-groups.
19799 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19801 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19802 (warning-series): Doc fix.
19803 (display-warning): Don't try to create the buffer if we just found it.
19805 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19807 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19808 (autoload-find-generated-file): New function.
19809 (generate-file-autoloads): Bind generated-autoload-file to
19811 (update-file-autoloads, update-directory-autoloads):
19812 Use autoload-find-generated-file. If called interactively, prompt for
19813 output file (Bug#7989).
19814 (batch-update-autoloads): Doc fix.
19816 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19818 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19820 2011-05-04 Glenn Morris <rgm@gnu.org>
19822 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19823 function, so it follows changes in calendar-date-style.
19824 (diary-fancy-date-matcher): New function.
19825 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19826 (diary-fancy-font-lock-fontify-region-function):
19827 Use diary-fancy-date-pattern as a function.
19829 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19830 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19832 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19834 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19835 instead of positional arguments. Allow :keylist and :crlfiles
19837 (open-gnutls-stream): Call it.
19839 * net/network-stream.el (network-stream-open-starttls): Adjust to
19840 call `gnutls-negotiate' with :process and :hostname arguments.
19842 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19844 * minibuffer.el (completion--message): New function.
19845 (completion--do-completion, minibuffer-complete)
19846 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19847 (completion--do-completion): Don't ignore completion-auto-help when in
19850 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19851 internal encoding (e.g. tibetan zero is not whitespace).
19852 (global-whitespace-mode): Prefer save-current-buffer.
19853 (whitespace-trailing-regexp): Remove useless save-match-data.
19854 (whitespace-empty-at-bob-regexp): Minor simplification.
19856 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19858 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19860 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19862 * textmodes/ispell.el (ispell-add-per-file-word-list):
19863 Use `concat' to create string for insertion.
19865 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19867 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19868 Avoid open-line which runs post-self-insert-hook.
19869 (bibtex-fill-entry): Remove unused `end' var.
19871 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19873 * textmodes/ispell.el (ispell-add-per-file-word-list):
19874 Protect against `nil' value of `comment-start' (Bug#8579).
19876 2011-05-03 Leo Liu <sdl.web@gmail.com>
19878 * isearch.el (isearch-yank-pop): New command.
19879 (isearch-mode-map): Bind it to `M-y'.
19880 (isearch-forward): Mention it.
19882 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19884 * simple.el (minibuffer-complete-shell-command): Remove.
19885 (minibuffer-local-shell-command-map): Use completion-at-point.
19886 (read-shell-command): Setup completion vars here instead.
19887 (read-expression-map): Bind TAB to symbol completion.
19889 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19890 error directly rather via storing it into `results'.
19892 2011-05-02 Leo Liu <sdl.web@gmail.com>
19894 * vc/diff.el: Fix description.
19896 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19898 * server.el (server-eval-at): New function.
19900 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19902 * net/network-stream.el (open-network-stream): Take a :nowait
19903 parameter and pass it on to `make-network-process'.
19904 (network-stream-open-plain): Ditto.
19906 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19908 * faces.el (face-spec-set-match-display): Don't match toolkit
19909 options on terminal frames.
19911 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19913 * progmodes/pascal.el: Use lexical binding.
19914 (pascal-mode-map): Remove author preferences.
19916 * pcomplete.el (pcomplete-std-complete): Don't abuse
19917 completion-at-point.
19919 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19921 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19922 removing code that has been dead since 1991 or so.
19924 * startup.el (command-line): When warning about "_emacs", use a
19925 delayed warning to allow the user to filter it out.
19927 2011-04-28 Deniz Dogan <deniz@dogan.se>
19929 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19930 user has not joined.
19932 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19934 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19935 aren't any completions at point.
19937 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19939 * subr.el (display-delayed-warnings): New function.
19940 (delayed-warnings-hook): New variable.
19942 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19944 * minibuffer.el (completion-at-point, completion-help-at-point):
19945 Don't presume that a given completion-at-point-function will always
19946 use the same calling convention.
19948 * pcomplete.el (pcomplete-completions-at-point):
19949 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19950 pcomplete-seen is non-nil.
19951 (pcomplete-comint-setup): Also recognize the new comint/shell
19952 completion functions.
19953 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19954 pcomplete-seen is non-nil.
19956 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19958 * calendar/icalendar.el (diary-lib): Add require statement.
19959 (icalendar--create-uid): Read out a uid from a text-property on
19960 the first character in the entry. This allows for code to add its
19961 own uid to the entry.
19962 (icalendar--convert-float-to-ical): Add export of
19963 `diary-float'-entries save for those with the optional DAY
19966 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19968 * subr.el (shell-quote-argument): Use alternate escaping strategy
19969 when we spot a variable reference in a string.
19971 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19973 * cus-start.el (all): Define customization for debug-on-event.
19975 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19977 * subr.el (shell-quote-argument): Escape correctly under Windows.
19979 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19981 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19983 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19985 * net/tramp.el (tramp-process-actions): Add POS argument.
19986 Delete region between POS and (pos).
19988 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19989 Use `nil' position in `tramp-process-actions' call.
19990 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19992 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19993 position in `tramp-process-actions' call.
19995 * net/trampver.el: Update release number.
19997 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19999 * custom.el (defcustom): Obey lexical-binding.
20001 Fix octave-inf completion problems reported by Alexander Klimov.
20002 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20003 Inherit from octave-mode-syntax-table.
20004 (inferior-octave-mode): Set info-lookup-mode.
20005 (inferior-octave-completion-at-point): New function.
20006 (inferior-octave-complete): Use it and completion-in-region.
20007 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20008 comint-filename-completion.
20009 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20010 symbol elements which shouldn't be word elements.
20011 (octave-font-lock-keywords, octave-beginning-of-defun)
20012 (octave-function-header-regexp): Adjust regexps accordingly.
20013 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20015 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20017 * net/gnutls.el (gnutls-errorp): Declare before first use.
20019 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20021 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20022 verify-error, and verify-hostname-error parameters. Check whether
20023 default trustfile exists before going to use it. Add missing
20024 argument to gnutls-message-maybe call. Return value.
20025 Reported by Claudio Bley <claudio.bley@gmail.com>.
20026 (open-gnutls-stream): Add usage example.
20028 * net/network-stream.el (network-stream-open-starttls): Give host
20029 parameter to `gnutls-negotiate'.
20030 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20031 * subr.el (shell-quote-argument): Escape correctly under Windows.
20033 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20036 Use correct match group (bug#8438).
20038 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20040 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20041 (package-menu--generate): New arg specifying packages to show.
20042 (package-menu-refresh, package-menu-execute, list-packages):
20044 (package-show-package-list): New function, replacing deleted
20045 package--list-packages (renamed because it is non-internal).
20047 * finder.el (finder-list-matches): Use package-show-package-list
20048 instead of deleted package--list-packages.
20050 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20051 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20052 (vc-annotate-mode-map): Bind it to RET.
20054 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20056 * progmodes/etags.el (next-file): Don't use set-buffer to change
20057 buffers (Bug#8478).
20059 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20061 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20063 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20064 (apropos-accumulator): Doc fix.
20065 (apropos-function, apropos-macro, apropos-command)
20066 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20067 (apropos-plist): Add face property.
20068 (apropos-symbols-internal): Fix indentation.
20069 (apropos-print): Simplify help, and recognize apropos-multi-type.
20070 (apropos-print-doc): Use button-type-get to extract the button's
20071 face property. Fill docstring (Bug#8352).
20073 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20075 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20077 * play/mpuz.el (mpuz-silent): Doc fix.
20078 (mpuz-mode-map): Use mapc.
20079 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20080 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20081 Fix typos in docstrings.
20083 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20084 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20086 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20088 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20090 * minibuffer.el (completion--do-completion): Avoid the "Next char
20091 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20093 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20094 mouse-2 into unread-command-events, it is interpreted correctly.
20096 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20097 (image-toggle-display): Doc fix.
20099 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20101 * textmodes/page.el (what-page): Use line-number-at-pos to
20102 calculate line number (Bug#6825).
20104 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20106 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20107 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20108 Pass argument NO-DEFAULT to `find-tag-interactive'.
20110 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20112 Lexical-binding cleanup.
20114 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20115 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20116 * progmodes/ada-prj.el (ada-prj-initialize-values)
20117 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20118 (ada-prj-show-value):
20119 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20120 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20121 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20122 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20123 * progmodes/bug-reference.el (bug-reference-push-button):
20124 * progmodes/fortran.el (fortran-line-length):
20125 * progmodes/glasses.el (glasses-change):
20126 * progmodes/octave-mod.el (octave-fill-paragraph):
20127 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20128 (python-pdbtrack-grub-for-buffer, python-sentinel):
20129 * progmodes/sql.el (sql-save-connection):
20130 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20131 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20132 Mark unused parameters.
20134 * progmodes/compile.el (compilation--flush-directory-cache)
20135 (compilation--flush-parse, compile-internal): Mark unused parameters.
20136 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20137 (compilation-next-error-function): Remove unused variable `timestamp'.
20139 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20140 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20142 * progmodes/dcl-mode.el (dcl-end-of-command):
20143 Remove unused variable `start'.
20144 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20145 (dcl-option-value-basic, dcl-option-value-offset)
20146 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20147 Mark unused parameters.
20148 (dcl-save-local-variable): Remove unused variable `val'.
20151 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20152 Mark unused parameters.
20153 (delphi-ignore-changes): Move before first use.
20154 (delphi-charset-token-at): Remove unused variable `start'.
20155 (delphi-else-start): Remove unused variable `if-count'.
20156 (delphi-comment-block-start, delphi-comment-block-end):
20157 Remove unused variable `kind'.
20158 (delphi-indent-line): Remove unused variable `new-point'.
20160 * progmodes/ebrowse.el (ebrowse-files-list)
20161 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20162 Mark unused parameters. Don't quote `lambda'.
20163 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20164 Don't quote `lambda'.
20165 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20166 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20167 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20168 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20169 Use `ignore-errors'.
20170 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20171 (ebrowse-view/find-file-and-search-pattern)
20172 (ebrowse-view/find-member-declaration/definition):
20173 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20174 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20175 Rename parameter PREFIX-ARG to PREFIX.
20176 (ebrowse-tags-read-name): Remove unused variables `start' and
20178 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20181 * progmodes/etags.el (local-find-tag-hook): Declare.
20182 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20183 Mark unused parameters.
20185 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20186 (executable-interpret): Mark unused parameter.
20188 * progmodes/flymake.el (flymake-process-sentinel)
20189 (flymake-after-change-function)
20190 (flymake-create-temp-with-folder-structure)
20191 (flymake-get-include-dirs-dot): Mark unused parameters.
20192 (flymake-safe-delete-directory): Remove unused variable `err'.
20194 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20195 (speedbar-timer-fn, speedbar-line-text)
20196 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20197 (speedbar-center-buffer-smartly): Declare functions.
20198 (gdb-find-watch-expression): Remove unused variable `array'.
20199 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20200 (gdb-starting): Mark unused parameters.
20201 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20202 (gdb-table-string): Remove unused variable `res'.
20203 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20204 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20205 (gdb-display-buffer): Remove unused variable `cur-size'.
20207 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20208 allow lexical-binding compilation.
20209 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20210 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20211 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20212 Mark unused parameters.
20213 (gud-gdb-marker-filter): Remove unused variable `match'.
20214 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20215 lambda expressions and funcall them, instead of using `fset'.
20217 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20218 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20220 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20221 variable `header-beg'; use `let'.
20223 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20224 `restart', `last-sexp' and `at-do'.
20226 * progmodes/js.el (js--debug): Mark unused parameter.
20227 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20228 (js--splice-into-items): Remove unused variable `item'.
20229 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20231 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20232 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20233 (makefile-complete): Remove unused variable `try'.
20234 (makefile-fill-paragraph, makefile-match-function-end):
20235 Mark unused parameters.
20237 * progmodes/octave-inf.el (inferior-octave-complete):
20238 Remove unused variable `proc'.
20239 (inferior-octave-output-digest): Mark unused parameter.
20241 * progmodes/perl-mode.el (perl-calculate-indent):
20242 Remove unused variable `err'.
20244 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20245 (prolog-indent-line): Mark unused parameters.
20246 (prolog-indent-line): Remove unused variable `beg'.
20248 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20249 (reporter-dont-compact-list): Declare.
20251 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20252 Remove unused variable `char'.
20253 (sh-debug): Mark unused parameter.
20254 (sh-get-indent-info): Remove unused variable `start'.
20255 (sh-calculate-indent): Remove unused variable `var'.
20257 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20258 (simula-electric-keyword): Remove unused variable `null'.
20259 (simula-search-backward, simula-search-forward): Remove unused
20260 variables `begin' and `end'.
20262 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20263 Remove unused variable `pos'.
20264 (vera-electric-tab, vera-comment-uncomment-region):
20265 Mark unused parameters.
20266 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20268 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20270 * emacs-lisp/package.el (package--builtins, package-alist)
20271 (package-load-descriptor, package-built-in-p, package-activate)
20272 (define-package, package-installed-p)
20273 (package-compute-transaction, package-buffer-info)
20274 (package--push): Doc fix. Distinguish more clearly between
20275 version strings and version lists.
20277 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20279 Lexical-binding cleanup.
20281 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20282 (5x5-make-mutate-best):
20283 * play/fortune.el (fortune-in-buffer):
20284 * play/gomoku.el (gomoku-init-display):
20285 * play/solitaire.el (solitaire, solitaire-do-check):
20286 * play/tetris.el (tetris-default-update-speed-function):
20287 Mark unused parameters.
20289 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20290 (bubbles--shift): Remove unused variable `char-org'.
20291 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20292 (bubbles--show-images): Remove unused variable `char'.
20294 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20295 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20296 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20297 (decipher-analyze-buffer): Use ?\s.
20298 (decipher-make-checkpoint): Remove unused variable `mapping'.
20300 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20302 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20303 Remove unused variable `result'; use `let'.
20305 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20306 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20307 (gametree-children-shown-p, gametree-compute-reduced-score):
20308 Use `ignore-errors'.
20310 * play/handwrite.el (ps-lpr-switches): Declare.
20311 (handwrite): Remove unused variables `pmin' and `lastp'.
20313 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20315 * play/landmark.el (landmark-init-display)
20316 (landmark-update-naught-weights): Mark unused parameters.
20317 (landmark-y): Remove unused variable `noise'. Simplify.
20318 (landmark-human-plays): Remove unused variable `score'.
20320 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20321 (mpuz-try-proposal): Remove unused variable `game'.
20323 * play/zone.el (life-patterns): Declare.
20325 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20327 * vc/vc.el (ediff-vc-internal): Declare function.
20329 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20331 * shell.el: Use lexical-binding and std completion UI.
20332 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20333 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20334 comint-preoutput-filter-functions rather than on
20335 comint-output-filter-functions.
20336 (shell-command-completion, shell--command-completion-data)
20337 (shell-filename-completion, shell-environment-variable-completion)
20338 (shell-c-a-p-replace-by-expanded-directory): New functions.
20339 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20340 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20341 (shell-dynamic-complete-environment-variable): Use them.
20342 (shell-dynamic-complete-as-environment-variable)
20343 (shell-dynamic-complete-as-command): Remove.
20344 (shell-match-partial-variable): Match past point.
20345 * comint.el: Clean up use of completion-at-point-functions.
20346 (comint-completion-at-point): New function.
20347 (comint-mode): Use it completion-at-point-functions.
20348 (comint-dynamic-complete): Make it obsolete.
20349 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20350 (comint-c-a-p-replace-by-expanded-history): New function.
20351 (comint-dynamic-complete-functions)
20352 (comint-replace-by-expanded-history): Use it.
20353 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20354 termination strings. Try harder to avoid second try-completion.
20355 (completion-in-region-mode-map): Disable bindings that don't work yet.
20357 * comint.el: Use lexical-binding. Require CL.
20358 (comint-dynamic-complete-functions): Use comint-filename-completion.
20359 (comint-completion-addsuffix): Tweak custom type.
20360 (comint-filename-completion, comint--common-suffix)
20361 (comint--common-quoted-suffix, comint--table-subvert)
20362 (comint--complete-file-name-data): New functions.
20363 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20364 (comint-dynamic-list-filename-completions): Use them.
20365 (comint-dynamic-simple-complete): Make obsolete.
20367 * minibuffer.el (completion-in-region-mode):
20368 Keep completion-in-region-mode--predicate global.
20369 (completion-in-region--postch):
20370 Assume completion-in-region-mode--predicate is not null.
20372 * progmodes/flymake.el (flymake-start-syntax-check-process):
20373 Obey `dir'. Simplify.
20375 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20376 we're in VC after all.
20378 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20380 * vc/vc.el (vc-diff-build-argument-list-internal)
20381 (vc-version-ediff, vc-ediff): New commands.
20382 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20384 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20386 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20389 * obsolete/erc-hecomplete.el: Make obsolete.
20390 * obsolete/: Standardize obsolescence info in the header.
20392 2011-04-20 Glenn Morris <rgm@gnu.org>
20394 * calendar/solar.el (solar-horizontal-coordinates):
20395 Use the longitude argument rather than `calendar-longitude'.
20396 (solar-date-next-longitude): Remove unused locals.
20398 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20400 * whitespace.el: New version 13.2.1.
20402 2011-04-20 felix <EmacsWiki> (tiny change)
20404 * whitespace.el (global-whitespace-mode): Keep highlight when
20405 switching between major modes on a file.
20407 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20409 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20410 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20411 multi-line comments as well.
20413 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20415 Lexical-binding cleanup.
20417 * arc-mode.el (archive-mode-revert):
20418 * cmuscheme.el (scheme-interactively-start-process):
20419 * custom.el (custom-initialize-delay):
20420 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20421 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20422 * emacs-lock.el (emacs-lock-clear-sentinel):
20423 * ezimage.el (defezimage):
20424 * follow.el (follow-avoid-tail-recenter):
20425 * fringe.el (set-fringe-mode-1):
20426 * generic-x.el (bat-generic-mode-compile):
20427 * help-mode.el (help-info-variable, help-do-xref)
20428 (help-mode-revert-buffer):
20429 * help.el (view-emacs-todo):
20430 * iswitchb.el (iswitchb-completion-help):
20431 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20432 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20433 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20434 * locate.el (locate-update):
20435 * longlines.el (longlines-encode-region)
20436 (longlines-after-change-function):
20437 * outline.el (outline-isearch-open-invisible):
20438 * ps-def.el (declare-function, charset-dimension, char-width)
20440 * ps-mule.el (ps-mule-plot-string):
20441 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20442 (recentf-edit-list-select, recentf-edit-list-validate)
20443 (recentf-open-files-action):
20444 * rect.el (delete-whitespace-rectangle-line)
20445 (rectangle-number-line-callback):
20446 * register.el (window-configuration-to-register)
20447 (frame-configuration-to-register):
20448 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20449 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20450 (xselect-convert-to-targets, xselect-convert-to-delete)
20451 (xselect-convert-to-filename, xselect-convert-to-charpos)
20452 (xselect-convert-to-lineno, xselect-convert-to-colno)
20453 (xselect-convert-to-os, xselect-convert-to-host)
20454 (xselect-convert-to-user, xselect-convert-to-class)
20455 (xselect-convert-to-name, xselect-convert-to-integer)
20456 (xselect-convert-to-atom, xselect-convert-to-identity):
20457 * subr.el (declare, ignore, process-kill-without-query)
20458 (text-clone-maintain):
20459 * terminal.el (te-get-char, te-tic-sentinel):
20460 * tool-bar.el (tool-bar-make-keymap):
20461 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20462 * type-break.el (type-break-mode, type-break-noninteractive-query):
20463 * view.el (View-back-to-mark):
20464 * wid-browse.el (widget-browse-action, widget-browse-widget)
20465 (widget-browse-widgets, widget-browse-sexp):
20466 * widget.el (define-widget-keywords):
20467 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20468 Mark unused parameters.
20470 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20471 (align-areas): Remove unused variable `look'.
20472 (align-region): Remove unused variables `real-end' and `pos-list'.
20474 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20476 * bindings.el (mode-line-modified, mode-line-remote):
20477 Mark unused parameters.
20478 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20480 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20481 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20483 * comint.el (comint-history-isearch-pop-state)
20484 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20485 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20486 (comint-substitute-in-file-name): Doc fix.
20488 * completion.el (cmpl-statistics-block): Mark unused parameter.
20489 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20490 (save-completions-to-file, load-completions-from-file):
20491 Remove unused local variable `e'.
20493 * composite.el (compose-chars): Remove unused variable `len'.
20494 (lgstring-insert-glyph): Remove unused variable `g'.
20495 (compose-glyph-string): Remove unused variables `ascent',
20496 `descent', `lbearing' and `rbearing'.
20497 (compose-glyph-string-relative): Remove unused variables
20498 `lbearing', `rbearing' and `wadjust'.
20499 (compose-gstring-for-graphic): Remove unused variables `header',
20500 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20501 (compose-gstring-for-terminal): Remove unused variables `header'
20502 and `nchars'. Use `let', not `let*'.
20504 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20505 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20506 (Custom-buffer-done, custom-buffer-create-internal)
20507 (custom-browse-visibility-action, custom-browse-group-tag-action)
20508 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20509 (widget-magic-mouse-down-action, custom-toggle-parent)
20510 (custom-add-parent-links, custom-toggle-hide-variable)
20511 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20512 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20513 (custom-face-menu-create, custom-variable-menu-create, get)
20514 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20515 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20516 (customize-apropos): Remove unused variable `tests'.
20517 (custom-group-value-create): Remove unused variable `hidden-p'.
20518 (sort-fold-case): Declare.
20520 * cus-theme.el (custom-reset-standard-faces-list)
20521 (custom-reset-standard-variables-list): Declare.
20522 (customize-create-theme, custom-theme-revert, custom-theme-write)
20523 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20524 Mark unused parameters.
20526 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20528 * delim-col.el (delimit-columns-max): Move defvar before first use.
20530 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20531 (describe-char): Don't quote `lambda'. Mark unused parameter.
20533 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20534 (auto-insert): Declare.
20535 (desktop-restore-file-buffer): Rename desktop-* parameters;
20537 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20538 (desktop-buffer): Rename desktop-* parameters.
20540 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20541 (dframe-reposition-frame-xemacs, dframe-help-echo)
20542 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20543 Mark unused parameters.
20545 * dired-aux.el (backup-extract-version-start, overwrite-query)
20546 (overwrite-backup-query, rename-regexp-query)
20547 (rename-non-directory-query): Declare.
20548 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20549 (dired-add-entry): Remove unused variable `orig-file-name'.
20550 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20551 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20552 `dired-copy-preserve-time' directly.
20553 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20554 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20556 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20557 (dired-virtual-revert, dired-make-relative-symlink):
20558 Mark unused parameters.
20559 (manual-program): Declare.
20560 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20561 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20562 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20564 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20566 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20568 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20571 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20573 * electric.el (Electric-command-loop): Rename parameter
20574 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20576 * expand.el (expand-in-literal): Remove unused variable `here'.
20578 * facemenu.el (facemenu-add-new-color):
20579 Remove unused variable `docstring'.
20581 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20582 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20583 (face-attr-construct): Mark unused parameter. Doc fix.
20584 (read-color): Remove unused variable `hex-string'.
20586 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20587 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20588 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20589 (display-buffer-other-frame): Remove unused variable `old-window'.
20590 (kill-buffer-hook): Declare.
20591 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20592 Mark unused parameters.
20593 (after-find-file): Pass 1 to `auto-save-mode', not t.
20595 * files-x.el (auto-insert): Declare.
20596 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20598 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20599 variable `buf'. Mark unused parameter.
20600 (find-lisp-insert-directory): Mark unused parameter.
20602 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20603 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20604 (format-common-tail): Remove, unused.
20605 (format-deannotate-region): Remove unused variable `loc'.
20606 (format-annotate-region): Remove unused variable `p'.
20607 (format-annotate-single-property-change): Remove unused variables
20608 `default' and `tail'.
20610 * forms.el (read-file-filter): Declare.
20611 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20613 * frame.el (frame-creation-function-alist): Mark unused parameter.
20614 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20616 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20617 Remove unused parameters.
20618 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20619 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20621 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20622 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20623 (hfy-prepare-tag-map): Mark unused parameters.
20624 (htmlfontify-buffer): Use `called-interactively-p'.
20626 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20627 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20628 (ibuffer-do-occur): Mark unused parameters.
20629 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20630 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20632 * ibuffer.el: Don't quote `lambda'.
20633 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20634 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20635 Mark unused parameters.
20637 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20638 (ido-completing-read): Mark unused parameters.
20639 (ido-copy-current-word): Mark unused parameters;
20640 remove unused variable `name'.
20641 (ido-sort-merged-list): Remove unused parameter `dirs'.
20643 * ielm.el (ielm-input-sender): Mark unused parameter.
20644 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20645 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20646 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20647 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20648 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20650 * image-dired.el (image-dired-display-thumbs): Remove unused
20651 variables `curr-file' and `count'.
20652 (image-dired-remove-tag): Remove unused variable `start'.
20653 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20654 variable `curr-file'
20655 (image-dired-rotate-original): Remove unused variable `temp-file'.
20656 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20657 Remove unused variable `file'.
20658 (image-dired-gallery-generate): Remove unused variable `curr'.
20659 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20661 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20663 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20665 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20667 * isearch.el (minibuffer-history-symbol): Declare.
20668 (isearch-edit-string): Remove unused variable `err'.
20669 (isearch-message-prefix, isearch-message-suffix):
20670 Mark unused parameters.
20672 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20674 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20676 * makesum.el (double-column): Remove unused variable `cnt'.
20678 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20679 (ido-ignore-item-temp-list): Declare.
20681 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20682 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20683 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20684 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20687 * mouse-sel.el (mouse-extend-internal):
20688 Remove unused variable `orig-window-frame'.
20690 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20691 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20692 Move declarations before first use.
20693 (pcomplete-opt): Mark unused parameters; doc fix.
20695 * proced.el (proced-revert): Mark unused parameter.
20696 (proced-send-signal): Remove unused variable `err'.
20698 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20699 Rename parameter PREFIX-ARG to ARG.
20700 (ps-basic-plot-string, ps-basic-plot-whitespace):
20701 Mark unused parameters.
20703 * replace.el (replace-count): Define.
20704 (occur-revert-function): Mark unused parameters.
20705 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20706 (isearch-case-fold-search, isearch-string): Declare.
20707 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20708 bind `case-fold-search'. Remove unused variables `beg' and `end',
20710 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20711 COUNT and bind `replace-count'.
20712 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20715 * savehist.el (print-readably, print-string-length): Declare.
20717 * shadowfile.el (shadow-expand-cluster-in-file-name):
20718 Remove unused variable `cluster'.
20719 (shadow-copy-file): Remove unused variable `i'.
20720 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20721 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20722 (shadow-define-literal-group, shadow-define-regexp-group)
20723 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20725 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20726 (shell): Use `called-interactively-p'.
20727 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20729 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20730 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20731 (delete-backward-char): Remove unused variable `ocol'.
20732 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20733 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20734 (event-apply-hyper-modifier, event-apply-shift-modifier)
20735 (event-apply-control-modifier, event-apply-meta-modifier):
20736 Mark unused parameters.
20737 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20738 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20740 * speedbar.el (speedbar-ignored-directory-expressions)
20741 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20742 (speedbar-find-file, speedbar-dir-follow)
20743 (speedbar-directory-buttons-follow, speedbar-tag-find)
20744 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20745 (speedbar-buffers-line-directory, speedbar-buffer-click):
20746 Mark unused parameters.
20747 (speedbar-tag-file): Remove unused variable `mode'.
20748 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20750 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20752 * talk.el (talk): Remove unused variable `display'.
20754 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20755 (tar-write-region-annotate): Mark unused parameter.
20757 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20758 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20759 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20760 warning by another.
20762 * time-stamp.el (time-stamp-string-preprocess):
20763 Remove unused variable `require-padding'.
20765 * tree-widget.el (widget-glyph-enable): Declare.
20766 (tree-widget-action): Mark unused parameter.
20768 * w32-fns.el (x-get-selection): Mark unused parameter.
20769 (autoload-make-program, generated-autoload-file): Declare.
20771 * wdired.el (wdired-revert): Mark unused parameters.
20772 (wdired-xcase-word): Remove unused variable `err'.
20774 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20775 (whitespace-help-scroll): Remove unused variable `data-help'.
20777 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20778 (widget-image-insert, widget-after-change, default)
20779 (widget-default-format-handler, widget-default-notify)
20780 (widget-default-prompt-value, widget-info-link-action)
20781 (widget-url-link-action, widget-function-link-action)
20782 (widget-variable-link-action, widget-file-link-action)
20783 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20784 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20785 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20786 (widget-insert-button-action, widget-delete-button-action, visibility)
20787 (widget-documentation-link-action, widget-documentation-string-action)
20788 (widget-const-prompt-value, widget-regexp-match, symbol)
20789 (widget-coding-system-prompt-value)
20790 (widget-key-sequence-value-to-external, sexp)
20791 (widget-sexp-value-to-internal, character, vector, cons)
20792 (widget-choice-prompt-value, widget-boolean-prompt-value)
20793 (widget-color--choose-action): Mark unused parameters.
20794 (widget-item-match-inline, widget-choice-match-inline)
20795 (widget-checklist-match, widget-checklist-match-inline)
20796 (widget-group-match): Rename parameter VALUES to VALS.
20797 (widget-field-value-set): Remove unused variable `size'.
20798 (widget-color-action): Remove unused variables `value' and `start'.
20800 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20801 variable `dir'. Doc fix.
20802 (windmove-find-other-window): Don't pass it.
20804 * window.el (count-windows): Mark unused parameter.
20805 (bw-adjust-window): Remove unused variable `err'.
20807 * woman.el (woman-file-name): Remove unused variable `default'.
20808 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20809 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20810 (global-font-lock-mode): Declare.
20811 (woman-decode-region): Mark unused parameter.
20812 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20814 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20815 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20816 (x-dnd-handle-moz-url): Remove unused variable `title'.
20817 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20819 * xml.el (xml-parse-tag, xml-parse-attlist):
20820 Remove unused variable `pos'.
20822 2011-04-19 Glenn Morris <rgm@gnu.org>
20824 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20825 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20826 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20827 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20828 * calendar/cal-html.el (cal-html-insert-minical):
20829 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20830 (calendar-mark-date-pattern):
20831 Prefix "unused" locals.
20833 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20834 optional argument `style'.
20836 * calendar/appt.el (appt-make-list):
20837 * calendar/cal-china.el (calendar-chinese-date-string):
20838 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20839 (diary-hebrew-yahrzeit):
20840 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20841 * calendar/calendar.el (calendar-generate-window):
20842 * calendar/time-date.el (time-to-days):
20843 Remove unused local variables.
20845 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20847 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20848 glyphless-char-display table.
20849 (tabulated-list-glyphless-char-display): New var.
20851 2011-04-18 Sam Steingold <sds@gnu.org>
20853 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20854 to acknowledgments.
20856 2011-04-17 Glenn Morris <rgm@gnu.org>
20858 * calendar/diary-lib.el (diary-sexp-entry):
20859 * calendar/holidays.el (holiday-sexp):
20860 Set debug-on-error rather than the removed stack-trace-on-error.
20862 2011-04-16 Glenn Morris <rgm@gnu.org>
20864 * progmodes/f90.el: Use lexical-binding.
20865 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20867 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20869 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20870 (mail-mode): Setup mailalias completion here instead.
20871 * mail/mailalias.el: Use lexical-binding.
20872 (pattern, mailalias-done): Declare dynamic.
20873 (mail-completion-at-point-function): New function, from mail-complete.
20874 (mail-complete): Use it.
20875 (mail-completion-expand): New function.
20876 (mail-get-names): Use it.
20877 (mail-directory, mail-directory-process, mail-directory-stream):
20878 Don't use `pattern' for lexically bound arg.
20880 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20882 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20883 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20884 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20886 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20887 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20888 (byte-interactive-p): Define them again, for use when inlining
20891 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20893 * loadup.el: Use `string-to-number', not `string-to-int'.
20895 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20897 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20898 gud-gdb-complete-command.
20899 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20900 (gud-gdb-completion-at-point): New function.
20901 (gud-gdb-completions): Remove.
20903 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20905 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20906 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20907 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20908 whether `executable-find' is bound.
20910 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20912 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20914 * minibuffer.el (completion-in-region-mode-predicate)
20915 (completion-in-region-mode--predicate): New vars.
20916 (completion-in-region, completion-in-region--postch)
20917 (completion-in-region-mode): Use them.
20918 (completion--capf-wrapper): Also return the hook function.
20919 (completion-at-point, completion-help-at-point):
20920 Adjust and provide a predicate.
20922 Preserve arg names for advice of subr and lexical functions (bug#8457).
20923 * help-fns.el (help-function-arglist): Consolidate the subr and
20924 new-byte-code cases. Add argument `preserve-names' to extract names
20925 from the docstring when needed.
20926 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20927 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20928 (ad-arglist): Use help-function-arglist's new arg.
20929 (ad-definition-type): Use cond.
20931 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20933 * autorevert.el (auto-revert-handler):
20934 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20935 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20936 Don't quote lambda.
20938 * image-mode.el (image-transform-set-scale):
20939 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20941 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20943 * net/network-stream.el (network-stream-open-starttls): Only do
20944 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20945 Upgrades via gnutls-cli are too slow to be done opportunistically.
20947 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20949 * dframe.el (dframe-current-frame): Remove spurious quote.
20951 2011-04-12 Glenn Morris <rgm@gnu.org>
20953 * calendar/cal-tex.el (cal-tex-end-document):
20954 Try to automatically use latin1 input if needed.
20956 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20957 Don't try to cons a mark onto an empty element.
20959 2011-04-11 Leo Liu <sdl.web@gmail.com>
20961 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20963 (ido-kill-buffer-at-head): Support killing virtual buffers.
20965 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20967 * minibuffer.el (completion-show-inline-help): New var.
20968 (completion--do-completion, minibuffer-complete)
20969 (minibuffer-force-complete, minibuffer-complete-word):
20970 Inhibit minibuffer messages if completion-show-inline-help is nil.
20972 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20973 to avoid interference from inline help (Bug#5849).
20975 2011-04-10 Leo Liu <sdl.web@gmail.com>
20977 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20980 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20982 * image-mode.el (image-toggle-display-image): Signal an error if
20984 (image-transform-mode, image-transform-resize)
20985 (image-transform-set-rotation): Doc fix.
20986 (image-transform-set-resize): Delete.
20987 (image-transform-set-scale, image-transform-fit-to-height)
20988 (image-transform-fit-to-width): Handle image-toggle-display-image
20989 and image-transform-resize directly.
20991 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20993 * doc-view.el (doc-view-fit-width-to-window)
20994 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20995 New functions for fitting the shown image to the Emacs window size.
20996 (doc-view-mode-map): Add bindings for the new functions.
20998 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21000 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21001 Fix typo in docstring.
21003 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21005 * files.el (file-size-human-readable): Produce one digit after
21006 decimal, like "ls -lh" does.
21008 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21009 the file size representation.
21011 * simple.el (list-processes): If async subprocesses are not
21012 available, error out with a clear error message.
21014 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21016 * help.el (help-form-show): New function, to be called from C.
21017 Put help-form output in a buffer named differently than *Help*.
21019 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21021 * files.el (file-size-human-readable): New function.
21023 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21024 computing the representation inline. Don't require `cl'.
21026 2011-04-08 Glenn Morris <rgm@gnu.org>
21028 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21030 * net/browse-url.el (browse-url-firefox):
21031 Test system-type, not system-configuration.
21033 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21034 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21035 Use log-edit-empty-buffer-p. (Bug#7598)
21037 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21038 (rlogin-mode-map): Initialize in the defvar.
21039 (rlogin): Use ignore-errors.
21041 * replace.el (occur-mode-map): Some fixes for menu items.
21043 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21045 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21047 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21049 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21050 issuing unused warnings.
21052 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21055 * simple.el: Lisp reimplement of list-processes. Based on an
21056 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21057 (process-menu-mode): New major mode.
21058 (list-processes--refresh, list-processes):
21059 (process-menu-visit-buffer): New functions.
21061 * files.el (save-buffers-kill-emacs): Don't assume any return
21062 value of list-processes, which is undocumented anyway.
21064 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21066 * emacs-lisp/tabulated-list.el: New file.
21068 * emacs-lisp/package.el: Use Tabulated List mode.
21069 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21070 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21071 table format using Tabulated List mode variables.
21072 (package--push): New macro, replacing package-list-maybe-add.
21073 (package-menu--generate): Use package--push. Renamed from
21074 package--generate-package-list.
21075 (package-menu-refresh, list-packages): Use it.
21076 (package-menu--print-info): Rename from package-print-package.
21077 Return insertion data instead of inserting it directly.
21078 (package-menu-describe-package, package-menu-execute):
21079 Use tabulated-list-get-id.
21080 (package-menu-mark-delete, package-menu-mark-install)
21081 (package-menu-mark-unmark, package-menu-backup-unmark)
21082 (package-menu-mark-obsolete-for-deletion):
21083 Use tabulated-list-put-tag.
21084 (package--list-packages, package-menu-revert)
21085 (package-menu-get-package, package-menu-get-version)
21086 (package-menu-sort-by-column): Functions deleted.
21087 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21088 (package-menu--status-predicate, package-menu--version-predicate)
21089 (package-menu--name-predicate)
21090 (package-menu--description-predicate): Handle arguments in the
21091 Tabulated List format.
21092 (package-list-packages-no-fetch): Call list-packages.
21094 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21096 * files.el (after-find-file-from-revert-buffer): Remove variable.
21097 (after-find-file): Don't bind it.
21098 (revert-buffer-in-progress-p): New variable.
21099 (revert-buffer): Bind it.
21100 Pass nil for `after-find-file-from-revert-buffer'.
21102 * saveplace.el (save-place-find-file-hook): Use new variable
21103 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21105 2011-04-06 Glenn Morris <rgm@gnu.org>
21107 * Makefile.in (AUTOGEN_VCS): New variable.
21108 (autoloads): Use $AUTOGEN_VCS.
21110 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21111 * calendar/calendar.el (calendar-mode-map):
21112 Check for toolkit scroll bars. (Bug#8305)
21114 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21116 * minibuffer.el (completion-in-region--postch)
21117 (completion-in-region-mode): Remove unnecessary messages.
21119 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21121 * font-lock.el (font-lock-refresh-defaults):
21122 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21123 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21125 * info.el (Info-directory-list, Info-read-node-name-2)
21126 (Info-split-parameter-string): Doc fixes.
21127 (Info-virtual-nodes): Reflow docstring.
21128 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21129 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21130 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21131 Fix typos in docstrings.
21132 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21133 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21134 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21135 (Info-restore-desktop-buffer): Mark unused parameters.
21136 (Info-directory-find-file, Info-directory-find-node)
21137 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21138 (Info-virtual-index-find-node, Info-apropos-find-file)
21139 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21140 Mark unused parameters; fix typos in docstrings.
21141 (Info-virtual-index): Remove unused local variable `nodename'.
21143 2011-04-05 Deniz Dogan <deniz@dogan.se>
21145 * net/rcirc.el: Update my e-mail address.
21146 (rcirc-mode-map): Remove M-o binding.
21148 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21150 * startup.el (command-line): Save the cursor's theme-face
21151 directly, instead of using face-override-spec.
21153 * custom.el (load-theme): Minor optimization in assigning faces.
21155 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21157 * help-fns.el (describe-variable): Complete all variables having
21158 documentation, including keywords.
21159 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21161 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21163 Convert to lexical-binding.
21165 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21166 (bs--get-marked-string, bs--get-modified-string)
21167 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21168 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21169 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21171 * ehelp.el (electric-help-execute-extended)
21172 (electric-help-ctrl-x-prefix):
21173 * hexl.el (hexl-revert-buffer-function):
21174 * linum.el (linum-after-change, linum-after-scroll):
21175 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21177 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21179 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21186 * epg.el: Use lexical binding.
21188 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21190 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21192 * textmodes/flyspell.el (flyspell-word): Recognize default
21193 dictionary case for flyspell-mark-duplications-exceptions.
21194 Use regexp matching for languages.
21195 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21196 default dictionary (Bug#7926).
21198 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21200 * emacs-lisp/package.el (package--with-work-buffer):
21201 Recognize https URLs.
21203 * net/network-stream.el: Move from gnus/proto-stream.el.
21204 Change prefix to network-stream throughout.
21205 (open-protocol-stream): Merge into open-network-stream, leaving
21206 open-protocol-stream as an alias. Handle nil BUFFER args.
21208 * subr.el (open-network-stream): Move to net/network-stream.el.
21210 2011-04-02 Glenn Morris <rgm@gnu.org>
21212 * find-dired.el (find-exec-terminator): New option.
21213 (find-ls-option): Test for -ls support.
21214 (find-ls-subdir-switches): Test for -b in find-ls-option.
21215 (find-dired, find-grep-dired): Doc fixes.
21216 (find-dired): Use find-exec-terminator.
21218 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21219 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21220 (find-name-arg): Remove purecopy.
21222 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21223 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21224 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21225 accordingly. Don't add the null-device if not needed.
21227 * files.el (save-some-buffers): Doc fix.
21229 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21231 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21233 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21235 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21236 Use `dolist' rather than `mapcar'.
21238 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21240 Add lexical binding.
21242 * subr.el (apply-partially): Use new closures rather than CL.
21243 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21244 (dolist, dotimes): Use slightly different expansion for lexical code.
21245 (functionp): Move to C.
21246 (letrec): New macro.
21247 (with-wrapper-hook): Use it and apply-partially instead of CL.
21248 (eval-after-load): Preserve lexical-binding.
21249 (save-window-excursion, with-output-to-temp-buffer): Turn them
21252 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21254 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21256 (help-add-fundoc-usage): Don't add `Not documented'.
21257 (help-function-arglist): Handle closures, subroutines, and new
21258 byte-code-functions.
21259 (help-make-usage): Remove leading underscores.
21260 (describe-function-1): Handle closures.
21261 (describe-variable): Use special-variable-p for completion.
21263 * files.el (lexical-binding): Declare safe.
21265 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21266 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21267 (pcase): Add `let' pattern.
21268 Change memoization so it actually works.
21269 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21270 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21273 * emacs-lisp/macroexp.el: Use lexical binding.
21274 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21275 Don't convert ' to #' without checking that it's indeed quoting
21278 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21279 Use eval-sexp-add-defvars.
21280 (eval-sexp-add-defvars): New fun.
21282 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21284 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21286 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21287 than the internal `byte-compile-lambda'.
21288 (defmethod): Don't hide code under quotes.
21289 (eieio-defmethod): New `code' argument.
21291 * emacs-lisp/eieio-comp.el: Remove.
21293 * emacs-lisp/edebug.el (edebug-eval-defun)
21294 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21295 (edebug-toggle): Avoid `eval'.
21297 * emacs-lisp/disass.el (disassemble-internal): Handle new
21299 (disassemble-1): Handle new byte codes.
21301 * emacs-lisp/cl.el (pushnew): Silence warning.
21303 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21304 (cl-byte-compile-throw): Remove.
21305 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21307 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21310 * emacs-lisp/cconv.el: New file.
21312 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21313 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21314 (byte-compile-initial-macro-environment):
21315 Handle declare-function here.
21316 (byte-compile--lexical-environment): New var.
21317 (byte-stack-ref, byte-stack-set, byte-discardN)
21318 (byte-discardN-preserve-tos): New lap codes.
21319 (byte-interactive-p): Don't use any more.
21320 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21322 (byte-compile-lapcode): Use them and handle new lap codes.
21323 (byte-compile-obsolete): Remove.
21324 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21325 (byte-compile-arglist-warn): Check late def of inlinable funs.
21326 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21327 since they should have been expanded by now.
21328 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21329 (byte-compile-from-buffer): Remove unused second arg.
21330 (byte-compile-preprocess): New function.
21331 (byte-compile-toplevel-file-form): New function to distinguish
21332 file-form calls from outside from file-form calls from hunk-handlers.
21333 (byte-compile-file-form): Simplify.
21334 (byte-compile-file-form-defsubst): Remove.
21335 (byte-compile-file-form-defmumble): Simplify now that
21336 byte-compile-lambda always returns a byte-code-function.
21337 (byte-compile): Preprocess.
21338 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21339 Remove, not used any more.
21340 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21341 (byte-compile-make-args-desc): New funs.
21342 (byte-compile-lambda): Handle lexical functions. Always return
21343 a byte-code-function.
21344 (byte-compile-reserved-constants): New var, to make up room for
21345 closed-over variables.
21346 (byte-compile-constants-vector): Obey it.
21347 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21348 (byte-compile-macroexpand-declare-function): New function.
21349 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21350 byte-code-functions.
21351 (byte-compile-form): Check obsolescence here.
21352 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21353 (byte-compile-variable-ref): Remove.
21354 (byte-compile-dynamic-variable-op): New fun.
21355 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21356 (byte-compile-variable-set): New funs.
21357 (byte-compile-discard): Add 2 args.
21358 (byte-compile-stack-ref, byte-compile-stack-set)
21359 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21360 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21361 macroexpand-all instead.
21362 (byte-compile-quote-form): Remove.
21363 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21364 (byte-compile-bind, byte-compile-unbind): New funs.
21365 (byte-compile-let): Handle let* and lexical binding.
21366 (byte-compile-let*): Remove.
21367 (byte-compile-catch, byte-compile-unwind-protect)
21368 (byte-compile-track-mouse, byte-compile-condition-case):
21369 Handle a new :fun-body form, used for lexical scoping.
21370 (byte-compile-save-window-excursion)
21371 (byte-compile-with-output-to-temp-buffer): Remove.
21372 (byte-compile-defun): Simplify.
21373 (byte-compile-stack-adjustment): New fun.
21374 (byte-compile-out): Use it.
21375 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21377 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21380 * emacs-lisp/byte-opt.el: Use lexical binding.
21381 (byte-inline-lapcode): Remove (to bytecomp).
21382 (byte-compile-inline-expand): Pay attention to inlining to/from
21383 lexically bound code.
21384 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21386 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21387 any more and don't call compiler-macros.
21388 (byte-compile-splice-in-already-compiled-code): Remove.
21389 (byte-code): Don't inline any more.
21390 (disassemble-offset): Receive `bytes' as argument rather than via
21392 (byte-compile-tag-number): Declare before first use.
21393 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21394 `return' even if make-spliceable.
21395 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21396 obsolete interactive-p.
21397 (byte-optimize-lapcode): Optimize new lap-codes.
21398 Don't trip up on new form of `byte-constant' lap code.
21400 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21402 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21404 * custom.el (custom-initialize-default, custom-declare-variable):
21407 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21409 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21410 (COMPILE_FIRST): Add macroexp and cconv.
21411 * makefile.w32-in: Mirror changes in Makefile.in.
21413 * vc/cvs-status.el:
21417 * vc/smerge-mode.el:
21418 * textmodes/bibtex-style.el:
21419 * textmodes/css-mode.el:
21427 * emacs-lisp/smie.el:
21430 * abbrev.el: Use lexical binding.
21432 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21434 * info.el (info-display-manual): New function.
21436 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21438 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21440 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21442 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21443 an entry for that server in rcirc-authinfo. (Bug#8385)
21445 2011-03-31 Glenn Morris <rgm@gnu.org>
21447 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21449 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21451 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21453 * progmodes/python.el (python-default-interpreter)
21454 (python-python-command-args, python-jython-command-args)
21455 (python-which-shell, python-which-args, python-which-bufname)
21456 (python-file-queue, python-comint-output-filter-function)
21457 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21458 variables and functions.
21460 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21462 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21463 (completion-in-region-mode): New minor mode.
21464 (completion-in-region): Use it.
21465 (completion-in-region--data, completion-in-region-mode-map): New vars.
21466 (completion-in-region--postch): New function.
21467 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21469 (completion--capf-wrapper): New function.
21470 (completion-at-point): Use it to track well-behavedness of
21472 (completion-help-at-point): New command.
21474 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21476 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21477 syntax class to search for whitespace on a single line
21478 (Message-ID: <4D938140.4030905@redhat.com>).
21480 2011-03-30 Leo Liu <sdl.web@gmail.com>
21482 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21484 (edit-abbrevs-map): Bind them here.
21485 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21487 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21489 * allout.el (allout-hide-by-annotation, allout-flag-region):
21490 Reduce possibility of overlay leakage by making them volatile.
21492 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21493 hash is not shared between buffers. Mode initialization is
21494 responsible for giving it a useful starting value.
21495 (allout-item-span): Reduce possibility of overlay leakage by
21496 making them volatile.
21497 (allout-widgets-count-buttons-in-region): Add diagnostic function
21498 for tracking down button overlay leaks.
21500 2011-03-29 Leo Liu <sdl.web@gmail.com>
21502 * ido.el (ido-read-internal): Use the default history var
21503 minibuffer-history if no HISTORY is specified.
21505 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21507 * net/imap.el (imap-shell-open, imap-process-connection-type):
21508 Use imap-process-connection-type for 'shell' streams as well as
21509 Kerberos, SSL, other subprocesses.
21511 2011-03-28 Leo Liu <sdl.web@gmail.com>
21513 * abbrev.el (abbrev-table-empty-p): New function.
21514 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21515 nonempty ones. (Bug#5937)
21517 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21519 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21521 2011-03-27 Leo Liu <sdl.web@gmail.com>
21523 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21524 for foreground and background colors.
21525 (ansi-color-make-color-map): Adapt.
21527 2011-03-25 Leo Liu <sdl.web@gmail.com>
21529 * midnight.el (midnight-time-float): Remove. Note it calculates
21530 the microsecond component incorrectly and seconds-to-time does the
21532 Remove redundant (require 'timer).
21534 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21535 (ido-completions): Remove unused arguments. (Bug#8329)
21537 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21539 * minibuffer.el (completion--flush-all-sorted-completions):
21540 Remove itself from hook.
21541 (completion-at-point): Let the functions perform the completion
21542 immediately and return nil or t.
21543 * comint.el (comint-dynamic-complete-functions): Now identical to
21544 completion-at-point-functions.
21545 (comint-dynamic-list-input-ring): Remove unused var `index'.
21546 (comint--match-partial-filename, comint--unquote&expand-filename):
21547 New funs, split from comint-match-partial-filename.
21548 (comint-dynamic-complete): Use completion-at-point.
21549 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21551 2011-03-24 Drew Adams <drew.adams@oracle.com>
21553 * thingatpt.el: Support `defun'.
21555 2011-03-23 Leo Liu <sdl.web@gmail.com>
21557 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21559 * help-mode.el (help-mode-finish): Tweak regexp.
21561 2011-03-23 Glenn Morris <rgm@gnu.org>
21563 * eshell/esh-opt.el (eshell-eval-using-options):
21564 Do not bind unused local variable `eshell-option-stub'.
21566 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21568 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21570 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21571 keymap variable in `with-no-warnings' to avoid a warning when the
21572 keymap has been already `defconst'ed.
21574 2011-03-22 Leo Liu <sdl.web@gmail.com>
21576 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21577 encode all chars in abbrevs; otherwise use emacs-mule or
21578 utf-8-emacs. (Bug#8308)
21580 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21582 * simple.el (backward-delete-char-untabify):
21583 Avoid warning about using `delete-backward-char'.
21585 * image.el (image-type-file-name-regexps): Make it variable.
21586 `imagemagick-register-types' modifies it, and the user may want
21587 to add new extensions for known image types.
21588 (imagemagick-register-types): Throw error if not using ImageMagick.
21590 2011-03-22 Leo Liu <sdl.web@gmail.com>
21592 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21593 located before rcirc-prompt-end-marker.
21594 (rcirc-complete): Error if point is not after rcirc prompt.
21595 Handle the case when table is nil.
21596 (rcirc-user-authenticated): Define to fix compiler warning.
21598 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21600 * custom.el (custom--inhibit-theme-enable): Make it affect only
21601 custom-theme-set-variables and custom-theme-set-faces.
21602 (provide-theme): Ignore custom--inhibit-theme-enable.
21603 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21604 (custom-enabling-themes): Delete variable.
21605 (enable-theme): Accept only loaded themes as arguments.
21606 Ignore the special custom-enabled-themes variable.
21607 (custom-enabled-themes): Forbid themes from setting this.
21608 Eliminate use of custom-enabling-themes.
21609 (custom-push-theme): Quote "changed" custom var entry.
21611 2011-03-21 Leo Liu <sdl.web@gmail.com>
21613 * ido.el (ido-read-internal): Add ido-selected to history instead
21616 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21618 * subr.el (deferred-action-list, deferred-action-function):
21621 2011-03-21 Leo Liu <sdl.web@gmail.com>
21623 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21624 change on 2011-02-13 (bug#8309).
21626 * minibuffer.el (read-file-name-function): Change default value.
21627 (read-file-name--defaults): Rename from read-file-name-defaults.
21628 (read-file-name-default): Rename from read-file-name.
21629 (read-file-name): Call read-file-name-function.
21631 2011-03-21 Glenn Morris <rgm@gnu.org>
21633 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21636 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21638 * cus-theme.el: Add missing provide statement.
21639 (customize-create-theme): Extract theme value correctly.
21640 (custom-theme-visit-theme): Autoload.
21641 (customize-create-theme): Prompt before inserting default faces.
21643 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21645 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21646 units and musical notes.
21648 2011-03-20 Leo Liu <sdl.web@gmail.com>
21650 * ido.el (ido-read-internal): Use completing-read-default.
21651 (ido-completing-read): Fix compatibility with completing-read.
21653 2011-03-20 Christian Ohler <ohler@gnu.org>
21655 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21656 (ert-delete-all-tests): Use `called-interactively-p' rather than
21658 (ert--make-xrefs-region): Respect END.
21660 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21662 * dired-aux.el (dired-create-directory): Signal an error if the
21663 directory already exists (Bug#8246).
21665 * facemenu.el (list-colors-display): Call list-faces-display
21666 inside with-help-window.
21667 (list-colors-print): Use display property to align the final
21668 column, instead of checking window-width.
21670 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21672 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21673 windows-nt systems.
21674 (emerge-protect-metachars): Quote correctly for ms-dos and
21675 windows-nt systems.
21677 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21679 * info.el (info-initialize): Replace all uses of `:' with
21680 path-separator for compatibility with non-Unix systems.
21681 Cache quoting of path-separator. (Bug#8258)
21683 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21685 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21686 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21687 (mouse-avoidance-mode): Fix typos in docstrings.
21689 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21691 * startup.el (package-subdirectory-regexp): Move from package.el.
21692 Omit \\` and \\', and let callers add them.
21694 * emacs-lisp/package.el (package-strip-version)
21695 (package-load-all-descriptors): Add \\` and \\' to
21696 package-subdirectory-regexp before using it.
21697 (package-untar-buffer): New arg DIR; ensure that file untars only
21698 into this expected directory. Remove superfluous delete-region.
21699 (package-unpack): Caller changed.
21700 (package-tar-file-info): Use package-subdirectory-regexp.
21702 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21704 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21705 diff-mode-shared-map (bug#8284).
21706 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21708 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21710 * calendar/time-date.el (format-seconds): Use assoc instead of
21711 assoc-string, since assoc-string doesn't exist in XEmacs.
21713 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21715 * custom.el (custom-known-themes): Reflow docstring.
21716 (custom-theme-load-path): Fix typo in docstring.
21717 (load-theme): Fix typo in error message.
21718 (custom-available-themes, custom-variable-theme-value):
21719 Use `let', not `let*'.
21721 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21723 * calc/README: Mention inclusion of musical notes.
21725 * calc/calc-units.el (calc-lu-quant): Rename from
21726 `calc-logunits-quantity'.
21727 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21728 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21729 (calc-db): Rename from `calc-dblevel'.
21730 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21731 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21732 (calc-np): Rename from `calc-nplevel'.
21733 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21734 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21735 (calc-lu-plus): Rename from `calc-logunits-add'.
21736 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21737 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21738 (calc-lu-minus): Rename from `calc-logunits-sub'.
21739 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21740 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21741 (calc-lu-times): Rename from `calc-logunits-mul'.
21742 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21743 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21744 (calc-lu-divide): Rename from `calc-logunits-div'.
21745 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21746 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21748 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21749 functions being autoloaded.
21751 * calc/calc.el (calc-lu-power-reference): Rename from
21752 `calc-logunits-power-reference'.
21753 (calc-lu-field-reference): Rename from
21754 `calc-logunits-field-reference'.
21756 * calc/calc-help.el (calc-l-prefix-help):
21757 Mention musical note functions.
21759 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21761 * minibuffer.el (completion-all-sorted-completions):
21762 Use :completion-cycle-penalty text property if present.
21764 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21766 * allout.el (allout-yank-processing): Adjust for new rebulleting
21767 regime so bullet being yanked is used without prompting the user
21770 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21772 * startup.el (command-line): Warn the user that _emacs is deprecated.
21774 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21776 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21777 (delphi-verbose, delphi-comment-face, delphi-string-face)
21778 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21779 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21780 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21781 (delphi-new-comment-line, delphi-font-lock-defaults)
21782 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21783 Fix typos in docstrings.
21785 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21787 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21788 Invert the roles of character and string values for INSTEAD, so a
21789 string is used for the more common case of a defaulting prompt.
21791 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21793 * progmodes/ruby-mode.el (ruby-backward-sexp):
21794 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21795 * play/gamegrid.el (gamegrid-make-face):
21796 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21797 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21798 * notifications.el (notifications-notify):
21799 * net/xesam.el (xesam-search-engines):
21800 * net/quickurl.el (quickurl-list-insert):
21801 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21803 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21805 * startup.el (command-line): Update package subdirectory regexp.
21807 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21809 * allout.el (allout-abbreviate-flattened-numbering)
21810 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21812 * subr.el (read-char-choice): Only show the cursor after the prompt,
21813 not after the answer.
21815 2011-03-15 Kevin Ryde <user42@zip.com.au>
21817 * help-fns.el (variable-at-point): Skip leading quotes, if any
21820 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21822 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21825 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21827 * shell.el (shell): When called interactively, offer to change the
21828 shell file name on remote hosts.
21830 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21832 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21833 integration for LDAP parameters. The host, base, user or binddn,
21834 and secret tokens can be specified in a netrc file, for instance.
21835 This is optional because an `auth-source' parameter must be
21836 specified in the search attributes.
21838 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21840 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21842 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21844 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21845 into declaration. Remove redundant and harmful binding.
21847 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21849 * files.el (file-ownership-preserved-p): Pass `integer' as an
21850 explicit 2nd argument to `file-attributes'. If the file's owner
21851 is the Administrators group on Windows, and the current user is
21852 Administrator, consider that a match.
21854 * server.el (server-ensure-safe-dir): Consider server directory
21855 safe on MS-Windows if its owner is the Administrators group while
21856 the current Emacs user is Administrator. Use `=' to compare
21857 numerical UIDs, since they could be integers or floats.
21859 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21861 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21863 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21865 Sync with Tramp 2.2.1.
21867 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21869 * net/trampver.el: Update release number.
21871 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21873 * progmodes/compile.el (compilation--previous-directory): Fix up
21874 various nil/dead-marker mismatches (bug#8014).
21875 (compilation-directory-properties, compilation-error-properties):
21876 Don't call it at a position past the one we're about to change.
21878 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21879 Disable obsolescence warnings in the file that declares it.
21881 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21883 * allout-widgets.el (allout-widgets-tally):
21884 Initialize allout-widgets-tally as a hash table rather than nil to
21885 prevent mode-line redisplay warnings. Also, clarify the module
21886 description and fix a comment typo.
21888 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21890 * help-fns.el (describe-variable): Don't complete keywords.
21891 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21893 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21895 * emacs-lisp/package.el (package-version-join): Impose a standard
21896 string representation for pre/alpha/beta version lists.
21897 (package-unpack-single): Standardize the directory name by passing
21898 it through package-version-join.
21899 (package-strip-rcs-id): Accept any version string that does not
21900 signal an error in version-to-list.
21902 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21904 * simple.el (delete-trailing-whitespace): Return nil for the
21905 benefit of `write-file-functions'.
21907 2011-03-10 Glenn Morris <rgm@gnu.org>
21909 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21911 * vc/vc-git.el (vc-git-program): New option.
21912 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21913 (vc-git--call): Use it.
21915 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21917 * cus-edit.el (Custom-newline): If no button at point, look
21918 for a subgroup button at start-of-line. (Bug#2298)
21920 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21922 2011-03-10 Julien Danjou <julien@danjou.info>
21924 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21925 `cursor-type' is nil.
21927 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21929 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21931 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21933 * allout.el: Change so yank of distinctive-bullet items
21934 preserves the existing header prefix, rebulleting it if necessary,
21935 rather than replacing it. This is necessary for proper operation
21936 of cooperative addons like allout-widgets.
21937 (allout-make-topic-prefix, allout-rebullet-heading):
21938 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21939 value as alternate bullet to be used, instead of prompting the user
21940 for a bullet character.
21942 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21945 Do not use `tramp-file-name-port', because this returns also
21946 `tramp-default-port'.
21948 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21950 * net/rcirc.el (rcirc-handler-001): Remove useless
21951 with-rcirc-process-buffer.
21952 (rcirc-check-auth-status): Swap arguments to string-match.
21954 2011-03-09 Glenn Morris <rgm@gnu.org>
21956 * shell.el (shell-mode):
21957 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21959 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21960 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21962 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21964 * emacs-lisp/package.el (package-refresh-contents)
21965 (package-menu-execute): Use condition-case-no-debug.
21967 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21969 * simple.el (shell-command-to-string): Use `process-file'.
21971 * emacs-lisp/package.el (package-tar-file-info): Handle also
21974 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21975 Use `equal' for upload base check.
21977 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21979 * textmodes/texinfo.el (texinfo-environments):
21980 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21982 2011-03-08 Glenn Morris <rgm@gnu.org>
21984 * cus-start.el (cursor-in-non-selected-windows):
21985 Fix :set quoting oddness. (Bug#8192)
21987 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21988 in some setf expressions. (Bug#2159)
21990 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21992 * custom.el (custom-available-themes): Return themes in
21993 alphabetical order.
21995 See ChangeLog.15 for earlier changes.
21997 ;; Local Variables:
22001 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22003 This file is part of GNU Emacs.
22005 GNU Emacs is free software: you can redistribute it and/or modify
22006 it under the terms of the GNU General Public License as published by
22007 the Free Software Foundation, either version 3 of the License, or
22008 (at your option) any later version.
22010 GNU Emacs is distributed in the hope that it will be useful,
22011 but WITHOUT ANY WARRANTY; without even the implied warranty of
22012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22013 GNU General Public License for more details.
22015 You should have received a copy of the GNU General Public License
22016 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.