1 2012-01-13 Glenn Morris <rgm@gnu.org>
3 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5 2012-01-12 Glenn Morris <rgm@gnu.org>
7 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8 changes in adaptive-fill-regexp. (Bug#10276)
10 2012-01-11 Alan Mackenzie <acm@muc.de>
12 Fix Emacs bug #10463 - put `widen's around the critical spots.
14 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): put a
15 widen around each invocation of c-state-pp-to-literal. Remove an
18 2012-01-11 Glenn Morris <rgm@gnu.org>
20 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
23 2012-01-10 Chong Yidong <cyd@gnu.org>
25 * net/network-stream.el (network-stream-open-starttls): Avoid
26 emitting a confusing error message when the server gives a bad
27 response to the capability command.
29 2012-01-10 Glenn Morris <rgm@gnu.org>
31 * mail/unrmail.el (unrmail): Tweak previous change.
33 2012-01-09 Chong Yidong <cyd@gnu.org>
35 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
37 2012-01-08 Alan Mackenzie <acm@muc.de>
39 Optimise font locking in long enum definitions.
41 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
42 arm to a cond form to handle enums.
43 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
44 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
46 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
48 * files.el (move-file-to-trash): Preserve default file modes on error.
51 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
53 * faces.el (set-face-attribute): Clarify the meaning of the nil
56 * subr.el (with-selected-frame): Mention that the selected frame
57 is restored (bug#9980).
59 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
62 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
63 (password-read): Don't autoload unused function.
65 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
67 * progmodes/which-func.el (which-func-mode): Turn into a
68 non-interactive function and mark as obsolete (bug#10428).
70 2012-01-06 Chong Yidong <cyd@gnu.org>
72 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
73 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
74 functions, along with 1 and -1.
76 2012-01-06 Eli Zaretskii <eliz@gnu.org>
78 * time.el (display-time-load-average)
79 (display-time-default-load-average): Doc fixes. See the thread
81 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
84 2012-01-06 Glenn Morris <rgm@gnu.org>
86 * mail/unrmail.el (unrmail): Give an explicit error if the input file
87 has no messages. (Bug#10377)
89 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
90 than Info-edit. (Bug#10385)
92 * time.el (display-time-load-average, display-time-next-load-average):
95 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
96 local setting of buffer-read-only to the input buffer. (Bug#10419)
98 * calendar/calendar.el (calendar-mode):
99 Locally set scroll-margin to 0. (Bug#10379)
101 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
103 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
105 2012-01-05 Glenn Morris <rgm@gnu.org>
107 * eshell/em-unix.el (diff-no-select): Autoload it.
108 (eshell/diff): Use diff-no-select. (Bug#10420)
110 2012-01-05 Chong Yidong <cyd@gnu.org>
112 * shell.el (shell-dynamic-complete-functions): Revert last change.
113 (shell-command-completion-function): New function.
114 (shell-completion-vars): Use it to implement
115 shell-completion-execonly (Bug#10417).
117 * custom.el (enable-theme): Don't set custom-safe-themes.
119 * cus-theme.el (custom-theme-merge-theme): Ignore
120 custom-enabled-themes and custom-safe-themes.
122 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
124 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
125 first prompt in `sql-interacive-mode'.
126 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
128 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
129 (sql-product-interactive): Bug fix: Set `sql-buffer' in
130 context of original buffer. Invoke `sql-login-hook'.
132 2012-01-04 Eli Zaretskii <eliz@gnu.org>
134 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
135 letters in cite-prefix.
137 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
139 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
141 2012-01-03 Chong Yidong <cyd@gnu.org>
143 * shell.el (shell-dynamic-complete-functions): Put
144 pcomplete-completions-at-point, so as to try
145 comint-filename-completion first (Bug#10417).
147 2012-01-02 Richard Stallman <rms@gnu.org>
149 * battery.el (battery-status-function):
150 Detect when to use battery-yeeloong-sysfs.
151 (battery-echo-area-format): Add string for Yeeloong.
152 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
153 (battery-yeeloong-sysfs): New function.
155 2012-01-02 Chong Yidong <cyd@gnu.org>
157 * dirtrack.el (dirtrack-list): Eliminate unused third element.
158 (dirtrack): Merge code for handling relative filenames in prompt
159 from shell-dir-cookie-watcher.
160 (dirtrack-debug-message): New arg to avoid excess format calls.
162 * shell.el (shell-dir-cookie-re): Variable deleted.
163 (shell-dir-cookie-watcher): Function deleted.
164 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
167 2012-01-01 Eli Zaretskii <eliz@gnu.org>
169 * term/w32-win.el (dynamic-library-alist) <gnutls>: Load
170 libgnutls-28.dll, from GnuTLS version 3.x, in preference to
173 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
175 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
177 2011-12-31 Eli Zaretskii <eliz@gnu.org>
179 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
180 headers of non-MIME messages, when rmail-enable-mime is non-nil.
182 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
184 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
185 also for alternative shells.
186 (tramp-open-connection-setup-interactive-shell): Check, whether
187 the shell is a busybox.
188 (tramp-send-command): Don't suppress multiple prompts for
191 2011-12-28 Chong Yidong <cyd@gnu.org>
193 * progmodes/gdb-mi.el (gdb-get-source-file-list)
194 (gdb-get-source-file): Move mode line update to
195 gdb-get-source-file (Bug#10087).
197 2011-12-25 Chong Yidong <cyd@gnu.org>
199 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
200 gud-gdb-marker-filter without taking it as an argument.
201 (gud-gdb-run-command-fetch-lines): Caller changed.
202 (gud-gdb-completion-function): New variable.
203 (gud-gdb-completion-at-point): Use it.
204 (gud-gdb-completions-1): Split from gud-gdb-completions.
206 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
207 function as separate arguments.
208 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
209 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
210 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
211 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
212 (gdb-stopped, def-gdb-auto-update-trigger)
213 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
214 (gdb-get-changed-registers, gdb-get-main-selected-frame):
216 (gud-gdbmi-completions): New function.
217 (gdb): Use it for generating the completion table.
219 2011-12-24 Alan Mackenzie <acm@muc.de>
221 Introduce a mechanism to widen the region used in context font
222 locking. Use this to protect declarations from losing their
225 * progmodes/cc-langs.el (c-before-font-lock-functions): Replace
226 c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
227 (c-before-context-fontification-functions): New defvar, a list of
228 functions to be run just before context (etc.) font locking.
230 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
231 New, functionality extracted from
232 c-neutralize-syntax-in-and-mark-CPP.
233 (c-in-after-change-fontification): New variable.
234 (c-after-change): Set c-in-after-change-fontification.
235 (c-set-fl-decl-start): Rejig its interface, so it can be called
236 from both after-change and context fontifying.
237 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
239 (c-standard-font-lock-fontify-region-function): New variable.
240 (c-font-lock-fontify-region): New function.
242 2011-12-24 Juri Linkov <juri@jurta.org>
244 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
247 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
249 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
250 existence of source file. (Bug#10325)
252 2011-12-23 Alan Mackenzie <acm@muc.de>
254 Fix unstable fontification inside templates.
256 * progmodes/cc-langs.el (c-before-font-lock-functions):
257 Newly created from the singular version. The (c c++ objc) entry now
258 additionally has c-set-fl-decl-start. The other languages (apart
259 from AWK) have that as a single entry.
261 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
262 The functionality for "local" declarations has been extracted to
265 * progmodes/cc-mode.el (c-common-init, c-after-change):
266 Changes due to pluralisation of c-before-font-lock-functions.
267 (c-set-fl-decl-start): New function, extracted from
268 c-font-lock-enclosing-decls and enhanced.
270 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
272 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
274 2011-12-22 Juri Linkov <juri@jurta.org>
276 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
278 2011-12-22 Chong Yidong <cyd@gnu.org>
280 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
282 2011-12-21 Drew Adams <drew.adams@oracle.com>
284 * files.el (file-remote-p): Fix docstring. (Bug#10319)
286 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
288 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
290 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
292 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
293 highlighting and support. Fix up comments for capitalization.
294 (cfengine-mode-debug): New var.
295 (cfengine3-mode): Change the modeline indicator to "CFE3".
296 (cfengine3-font-lock-keywords): Improve defun highlighting.
297 (cfengine2-actions): Rename from `cfengine-actions'.
298 (cfengine2-font-lock-keywords): Rename from
299 `cfengine-font-lock-keywords'.
300 (cfengine2-imenu-expression): Rename from
301 `cfengine-imenu-expression'.
302 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
303 (cfengine2-beginning-of-defun): Rename from
304 `cfengine-beginning-of-defun'.
305 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
306 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
307 (cfengine2-mode): Rename from `cfengine-mode'. Change the
308 modeline indicator to "CFE2".
309 (cfengine-mode): Defalias to `cfengine-auto-mode'.
310 (cfengine-mode-abbrevs): Mark obsolete.
312 2011-12-21 Chong Yidong <cyd@gnu.org>
314 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
317 2011-12-20 Martin Rudalics <rudalics@gmx.at>
319 * window.el (window-normalize-buffer-to-display): Remove.
320 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
322 2011-12-19 Chong Yidong <cyd@gnu.org>
324 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
325 Don't signal an error in a predicate function; return non-nil.
326 (vc-dir-mark-file): Move the error here.
327 (vc-dir-mark-unmark): If acting on the region, keep going if one
328 of the entries cannot be marked/unmarked.
329 (vc-dir-mark-all-files): If current entry is a directory, mark
330 only child files, as documented.
332 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
334 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
335 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
338 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
340 * term/ns-win.el (ns-get-selection-internal)
341 (ns-store-selection-internal): Declare.
342 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
344 (ns-get-pasteboard, ns-paste-secondary):
345 Use ns-get-selection-internal.
346 (ns-set-pasteboard, ns-copy-including-secondary):
347 Use ns-store-selection-internal.
349 2011-12-17 Chong Yidong <cyd@gnu.org>
351 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
352 (vc-deduce-fileset): Doc fix.
354 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
356 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
358 2011-12-13 Sam Steingold <sds@gnu.org>
360 * man.el (Man-getpage-in-background): When running under a
361 window-system, ignore $MANWIDTH and $COLUMNS.
363 2011-12-15 Kenichi Handa <handa@m17n.org>
365 * language/ethio-util.el: Change coding tag to utf-8-emacs.
366 (setup-ethiopic-environment-internal): Comment out key-binding for
367 ethio-toggle-punctuation.
369 2011-12-13 Alan Mackenzie <acm@muc.de>
371 Add the switch statement to AWK Mode.
373 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
374 "default" to the keywords regexp.
376 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
377 expression as the rest.
378 (c-nonlabel-token-key): Allow string literals for AWK. Refactor
381 Large brace-block initialisation makes CC Mode slow: Fix.
382 Tidy up and accelerate c-in-literal, etc. by using the
384 routines. Limit backward searching in c-font-lock-enclosing.decl.
386 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
387 pp-state and literal type in addition to the limits.
388 (c-state-safe-place): New defun, extracted from
390 (c-state-literal-at): Use the above new defun.
391 (c-slow-in-literal, c-fast-in-literal): Removed.
392 (c-in-literal, c-literal-limits): Amended to use
393 c-state-pp-to-literal.
395 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
396 being in a literal. Add a limit for backward searching.
398 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
401 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
403 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
405 2011-12-13 Martin Rudalics <rudalics@gmx.at>
407 * window.el (delete-other-windows): Use correct frame in call to
408 window-with-parameter.
410 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
412 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
413 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
414 (makefile-gmake-statements, makefile-makepp-statements):
415 Use it and add new makepp keywords.
416 (makefile-makepp-font-lock-keywords): Add new patterns.
417 (makefile-match-function-end): Match new [...] and [[...]].
419 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
421 * ses.el (ses-call-printer-return, ses-cell-property-get)
422 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
423 (ses-create-cell-variable, ses-reset-header-string)
424 (ses-cell-set-formula, ses-repair-cell-reference-all)
425 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
426 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
427 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
428 (ses-aset-with-undo, ses-load, ses-truncate-cell)
429 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
430 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
431 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
432 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
433 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
434 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
435 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
436 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
438 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
440 * ses.el: The overall change is to add cell renaming, that is
441 setting fancy names for cell symbols other than name matching
442 "\\`[A-Z]+[0-9]+\\'" regexp .
443 (ses-create-cell-variable): New defun.
444 (ses-relocate-formula): Relocate formulas only for cells the
445 symbols of which are not renamed, i.e. symbols whose names do not
446 match regexp "\\`[A-Z]+[0-9]+\\'".
447 (ses-relocate-all): Relocate values only for cells the symbols of
448 which are not renamed.
449 (ses-load): Create cells variables as the (ses-cell ...) are read,
450 in order to check row col consistency with cell symbol name only
451 for cells that are not renamed.
452 (ses-replace-name-in-formula): New defun.
453 (ses-rename-cell): New defun.
455 2011-12-11 Chong Yidong <cyd@gnu.org>
457 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
458 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
460 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
462 * window.el (other-window): Fix docstring.
464 2011-12-10 Eli Zaretskii <eliz@gnu.org>
466 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
467 `from' or `to' address before taking its substring. Fixes
468 incorrect display in Rmail summary buffer whereby an RFC2047
469 encoded name is chopped in the middle of the encoded string, and
470 thus displayed encoded.
472 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
474 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
476 2011-12-10 Eli Zaretskii <eliz@gnu.org>
478 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
479 to use texinfo-update-node and commands that call it if the
480 Texinfo file uses @node lines without next/prev/up pointers.
481 Correct outdated description about texinfo-master-menu.
482 (texinfo-all-menus-update, texinfo-master-menu)
483 (texinfo-update-node, texinfo-every-node-update)
484 (texinfo-multiple-files-update): Doc fix. Warn against updating
486 (texinfo-master-menu): Only call texinfo-update-node if the prefix
487 argument is numeric. Explain better in the doc string what the
488 function really does.
489 (texinfo-insert-master-menu-list): Improve the error message
490 displayed if there's no menu in the Top node.
491 (Bug#2975) See also this thread:
492 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
494 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
496 * speedbar.el (speedbar-supported-extension-expressions):
497 Add .adb and .ads, commonly used for Ada source code (bug#10256).
499 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
501 * printing.el (pr-mode-alist):
502 * simple.el (filter-buffer-substring-functions)
503 (completion-list-insert-choice-function):
504 * window.el (window-with-parameter, window-atom-root)
505 (window-sides-slots, window-size-fixed, window-min-delta)
506 (window-max-delta, window--resize-mini-window)
507 (window--resize-child-windows-normal, window-tree)
508 (delete-other-windows, quit-window, split-window)
509 (display-buffer-record-window, special-display-buffer-names)
510 (special-display-regexps, special-display-popup-frame)
511 (same-window-p, split-window-sensibly)
512 (display-buffer-overriding-action, display-buffer-alist)
513 (display-buffer-base-action, display-buffer, switch-to-buffer)
514 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
515 (fit-window-to-buffer, recenter-positions)
516 (mouse-autoselect-window-state, mouse-autoselect-window-select):
517 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
518 and remove unneeded backslashes in docstrings.
520 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
522 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
524 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
525 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
527 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
528 when reading the makefile (bug#10116).
530 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
532 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
535 2011-12-06 Glenn Morris <rgm@gnu.org>
537 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
539 2011-12-06 Chong Yidong <cyd@gnu.org>
541 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
543 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
545 * textmodes/table.el (table-shorten-cell): Fix typo.
547 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
549 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
551 2011-12-05 Eli Zaretskii <eliz@gnu.org>
553 * descr-text.el (describe-char): Fix display of strong
554 right-to-left characters and directional embeddings and overrides.
556 * simple.el (what-cursor-position): Fix display of codepoints of
557 strong right-to-left characters.
559 2011-12-05 Chong Yidong <cyd@gnu.org>
561 * faces.el (read-color): Doc fix.
563 2011-12-05 Glenn Morris <rgm@gnu.org>
565 * align.el (align--set-marker): Add doc-string.
566 Don't try to move something that is not a marker. (Bug#10216)
568 2011-12-04 Glenn Morris <rgm@gnu.org>
570 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
571 overly zealous deletion of trailing whitespace.
573 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
575 * server.el (server-delete-client): On Windows, do not try to delete
577 (server-process-filter): On Windows, treat requests for a tty frame as
578 if they were for a GUI frame if the running server is in GUI mode.
580 2011-12-03 Glenn Morris <rgm@gnu.org>
582 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
584 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
586 * electric.el: Streamline electric-indent's hook.
587 (electric-indent-chars): Revert to simple list.
588 (electric-indent-functions): New var.
589 (electric-indent-post-self-insert-function): Use it.
591 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
592 there's no inferior buffer (bug#10196).
593 (prolog-consult-compile): Don't use toggle-read-only.
595 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
597 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
598 interrupt. (Bug#10187)
600 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
602 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
605 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
608 2011-12-02 Juri Linkov <juri@jurta.org>
610 * info.el (Info-search): Display "end of manual" when Isearch
611 reaches the end of single-file Info manual. (Bug#9918)
613 2011-12-02 Eli Zaretskii <eliz@gnu.org>
615 * isearch.el (isearch-message-prefix): Run the input method part
616 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
618 2011-12-02 Juri Linkov <juri@jurta.org>
620 * isearch.el (isearch-occur): Use `word-search-regexp' for
622 (isearch-search-and-update): Add condition for `isearch-word' and
623 call `word-search-regexp'. (Bug#10145)
625 2011-12-01 Glenn Morris <rgm@gnu.org>
627 * eshell/em-hist.el (eshell-hist-initialize):
628 Handle eshell-history-size nil and HISTSIZE set or unset.
629 (eshell-history-file-name, eshell-history-size): Fix custom type.
631 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
633 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
635 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
637 * progmodes/verilog-mode.el (verilog-pretty-expr):
638 Rework verilog-pretty-expr to handle new assignment operators in system
639 verilog, such as += *= and the like.
640 (verilog-assignment-operator-re): Regular expression to find the
641 assigment operator in a verilog assignment.
642 (verilog-assignment-operation-re): Regular expression to find an
643 assignment statement for pretty-expr.
644 (verilog-in-attribute-p): Query returns true if point is in an
645 attribute context; used to skip these for expression line up from
647 (verilog-in-parameter-p): Query returns true if point is in an
648 parameter definition context; used to skip these for expression
649 line up from pretty-expr.
650 (verilog-in-parenthesis-p): Query returns true if point is in a
651 parenthetical expression, specifically ( ) but not [ ] or { };
653 (verilog-just-one-space): If there is no space, don't add one.
654 (verilog-get-lineup-indent-2): Specifically skip just attribute
655 contexts for expression lineup, rather than skipping all
656 parenthetical expressions.
657 (verilog-calculate-indent): Fix comment, and fix indent.
658 (verilog-do-indent): Indent declarations in lists (suggested by
660 (verilog-mode-abbrev-table): Populate abbrev mode with the various
662 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
665 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
667 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
668 parameters with embedded comments. Reported by Ray Stevens.
669 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
670 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
671 Reported by Tim Holt.
672 (verilog-auto): Fix AUTOing a upper module then AUTOing module
673 instantiated by upper module causing wrong expansion until AUTOed a
674 second time. Reported by K C Buckenmaier.
675 (verilog-diff-auto): Fix showing .* as a difference when
676 `verilog-auto-star-save' off. Reported by Dan Dever.
677 (verilog-auto-reset, verilog-read-always-signals)
678 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
679 temporary signals in reset list if
680 verilog-auto-reset-blocking-in-non is nil, and match assignment
681 style to each signal's assignment type, bug381.
682 Reported by Thomas Esposito.
683 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
684 (verilog-uvm-statement-re): Support UVM indentation and
685 highlighting, with old OVM keywords only.
686 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
687 Support AUTOTIEOFF creating non-wire data types. Suggested by Jonathan
689 (verilog-auto-insert-lisp, verilog-delete-to-paren)
690 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
691 (verilog-inject-sense, verilog-read-inst-pins)
692 (verilog-read-sub-decls, verilog-read-sub-decls-line):
693 Fix mismatching parenthesis inside commented out code when deleting
694 AUTOINST, bug383. Reported by Jonathan Greenlaw.
695 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
696 non-numeric vector width. Reported by Alex Reed.
697 (verilog-auto-ascii-enum): Add "onehot" option to work around not
698 detecting signals with parameter widths. Reported by Alex Reed.
699 (verilog-auto-delete-trailing-whitespace):
700 With `verilog-auto-delete-trailing-whitespace' remove trailing
701 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
702 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
703 Fix verilog-scan-cache corruption when running user AUTO expansion
704 hooks that call indentation routines.
705 (verilog-simplify-range-expression): Fix typo ignoring lower case
707 (verilog-delete-auto): Fix delete-autos to also remove user created
708 automatics, as long as they start with AUTO.
709 (verilog-batch-diff-auto, verilog-diff-auto)
710 (verilog-diff-function): Add `verilog-diff-auto' and bind to
711 "C-c?" to report differences in AUTO expansion, ignoring spaces.
712 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
713 (verilog-in-paren-quick, verilog-re-search-backward-quick)
714 (verilog-re-search-forward-quick, verilog-syntax-ppss):
715 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
716 is disabled and its cache will get corrupt, causing AUTOS not to
717 expand. Instead use only -quick functions.
718 (verilog-scan-region): Fix scanning over escaped quotes.
719 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
720 (verilog-re-search-backward-quick)
721 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
722 related functions now ignore strings, to fix misparsing of strings
723 with magic comments embedded in them.
724 (verilog-read-auto-template):
725 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
726 Reported by Brad Dobbie.
727 (verilog-read-auto-template):
728 Fix 'verilog-auto-inst-template-numbers' with comments.
729 Reported by Brad Dobbie.
730 (verilog-auto-inst, verilog-auto-inst-param)
731 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
732 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
733 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
734 debugging templates without merge conflicts, bug357.
735 Reported by Brad Dobbie.
736 (verilog-read-auto-template):
737 Fix verilog-auto-inst-template-numbers with multiple templates.
738 Reported by Brad Dobbie.
739 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
740 abbrevs so user won't be asked to save.
741 (verilog-read-auto-lisp-present): Fix to start at beginning of
742 buffer in case called outside of verilog-auto.
743 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
744 to "X-2". Reported by Matthew Myers.
745 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
746 all inputs from module templates. Reported by Leith Johnson.
747 (verilog-module-inside-filename-p): Fix locating programs as with
749 (verilog-auto-inst-port): Fix vl-width expressions when using
750 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
751 (verilog-decls-get-regs, verilog-decls-get-signals,
752 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
753 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
754 verilog-read-decls): Combine reg and wire structures into one var
755 structure to represent SystemVerilog concepts.
756 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
757 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
758 (verilog-auto-wire-type, verilog-insert-definition):
759 Add verilog-auto-wire-type and AUTOLOGIC to support using
760 SystemVerilog "logic" keyword instead of "wire"/"reg".
761 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
762 to declares outputs that also have assignments (presumably in an
763 ifdef or generate if so there's not a driver conflict).
764 Reported by Matthew Myers.
765 (verilog-auto-declare-nettype, verilog-insert-definition):
766 Add verilog-auto-declare-nettype to fix declarations using
767 `default_nettype none. Reported by Julian Gorfajn.
768 (verilog-read-always-signals-recurse, verilog-read-decls)
769 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
770 malformed end statement, bug325. Reported by Joshua Wise and
772 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
773 (verilog-inst-comment-re): Fix not deleting Interfaced comment
774 when expanding .* in interfaces, bug320. Reported by Pierre-David
776 (verilog-read-module-name): Fix import statements between module
777 name and open parenthesis, bug317. Reported by Pierre-David
779 (verilog-simplify-range-expression): Fix simplification of
780 multiplications inside AUTOWIRE connections, bug303.
781 (verilog-auto-inst-port): Support parameter expansion in
782 multidimensional arrays.
783 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
784 after "assert property". Reported by Julian Gorfajn.
785 (verilog-simplify-range-expression): Fix "couldn't merge" errors
786 with multiplication, bug303.
787 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
788 Reported by Jan Frode Lonnum.
790 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
792 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
793 (hfy-shell-file-name, hfy-shell):
794 * international/fontset.el (x-decompose-font-name): Fix typos.
796 2011-11-29 Ken Brown <kbrown@cornell.edu>
798 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
799 (gdb-version): Remove defvar.
800 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
801 (gdb-gud-context-command, gdb-non-stop-handler)
802 (gdb-current-context-command, gdb-stopped): Use it.
803 (gdb-init-1): Enable pretty printing here.
804 (gdb-non-stop-handler): Don't enable pretty-printing here.
805 Check to see if the target supports non-stop mode; if not, turn off
806 non-stop mode. Use the following.
807 (gdb-check-target-async): New defun.
808 (gud-watch, gdb-stopped): Fix whitespace.
809 (gdb-get-source-file): Don't try to display the source file if
810 `gdb-main-file' is nil.
812 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
814 * align.el: Try to generate fewer markers (bug#10047).
815 (align--set-marker): New macro.
816 (align-region): Use it.
818 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
820 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
822 2011-11-29 Chong Yidong <cyd@gnu.org>
824 * indent.el (indent-for-tab-command, indent-according-to-mode):
826 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
828 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
830 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
831 aware of remote file names. (Bug#10124)
833 2011-11-29 Chong Yidong <cyd@gnu.org>
835 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
837 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
839 * files.el (find-file): Don't use force-same-window (bug#10144).
840 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
841 use pop-to-buffer if the selected window can't be used.
842 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
844 2011-11-28 Eli Zaretskii <eliz@gnu.org>
846 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
849 2011-11-28 Chong Yidong <cyd@gnu.org>
851 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
853 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
855 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
856 gdb-get-source-file-list on gdb-create-source-file-list.
858 2011-11-26 Eli Zaretskii <eliz@gnu.org>
860 * whitespace.el (whitespace-newline): Use a different foreground
861 color for 16-color light-background displays.
863 2011-11-24 Chong Yidong <cyd@gnu.org>
865 * window.el (display-buffer--special-action): Doc fix.
867 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
869 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
870 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
871 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
872 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
873 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
874 (avl-tree-stack-first):
875 * emacs-lisp/cconv.el (cconv--analyse-use):
876 * net/gnutls.el (gnutls-negotiate): Fix typos.
878 2011-11-24 Glenn Morris <rgm@gnu.org>
880 * lpr.el (lpr-windows-system, lpr-lp-system):
881 * mail/binhex.el (binhex-begin-line):
882 * progmodes/grep.el (grep-history, grep-find-history):
883 * textmodes/flyspell.el:
884 * vc/pcvs-defs.el (cvs-global-menu):
885 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
886 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
887 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
889 * net/tls.el: Fix case of "GnuTLS".
891 * paths.el (rmail-file-name): Format doc-string for make-docfile.
893 * version.el (emacs-build-system): Give it a doc-string.
895 2011-11-24 Juri Linkov <juri@jurta.org>
897 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
899 2011-11-24 Glenn Morris <rgm@gnu.org>
901 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
902 if called on a non-mime message just toggle the headers. (Bug#8006)
904 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
906 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
907 (allout-lead-with-comment-string, allout-structure-deleted-hook)
908 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
909 (allout-rebullet-heading, allout-open-sibtopic)
910 (allout-toggle-current-subtree-encryption)
911 (allout-toggle-subtree-encryption, allout-encrypt-string)
912 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
913 (allout-distinctive-bullets-string, allout-auto-activation):
914 * window.el (window-normalize-buffer-to-display):
915 * progmodes/verilog-mode.el (verilog-batch-indent):
916 * textmodes/bibtex.el (bibtex-field-braces-opt)
917 (bibtex-field-strings-opt):
918 * vc/cvs-status.el (cvs-tree-merge):
921 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
923 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
924 `non-essential' to t, in order to avoid remote connections.
926 2011-11-23 Eli Zaretskii <eliz@gnu.org>
928 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
929 On MS-DOS and MS-Windows, compare with loaddefs.el
932 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
934 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
936 2011-11-23 Glenn Morris <rgm@gnu.org>
938 * paths.el (rmail-file-name): Reformat the doc-string so that it
941 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
942 (rmail-auto-file): Ignore case in the "special" field names,
943 as mail-fetch-field does for all others.
945 * mail/rmail.el (rmail-forward):
946 * mail/rmailkwd.el (rmail-set-label):
947 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
948 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
950 * mail/rmail.el (rmail-current-message): Doc fix.
952 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
954 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
956 * server.el (server-eval-and-print): Allow C-g (bug#6585).
958 2011-11-22 Glenn Morris <rgm@gnu.org>
960 * mail/rmailmm.el (test-rmail-mime-handler)
961 (test-rmail-mime-bulk-handler)
962 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
964 2011-11-21 Juri Linkov <juri@jurta.org>
966 * calc/calc.el (calc-read-key-sequence):
967 Let-bind `input-method-function' to nil. (Bug#10018)
969 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
971 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
972 Tell the caller that the next line needs recomputation, even
973 though it doesn't start a sexp (bug#10094).
975 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
977 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
979 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
981 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
982 Use force-same-window.
984 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
986 * descr-text.el (describe-char-unicode-data):
987 * json.el (json-string-escape):
988 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
989 (Footnote-unicode, Footnote-style-p):
990 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
992 2011-11-20 Chong Yidong <cyd@gnu.org>
994 * window.el (replace-buffer-in-windows): Restore interactive spec.
996 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
998 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1000 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1001 (byte-compile-global-not-obsolete-vars): New var.
1002 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1004 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1006 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1008 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1009 * progmodes/pascal.el (electric-pascal-equal):
1010 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1011 * xml.el (xml-substitute-special): Fix typos.
1013 2011-11-20 Glenn Morris <rgm@gnu.org>
1015 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1016 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1018 (rmail-decode-mime-charset): Mark as obsolete.
1020 * mail/rmailsum.el (rmail-message-regexp-p-1):
1021 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1022 Before using mime functions, check they are set. (Bug#10077)
1024 2011-11-19 Juri Linkov <juri@jurta.org>
1026 * info.el (Info-finder-find-node): Use `package--builtins' instead
1027 of `package-alist'. Use node names formed by the pattern "Keyword "
1028 and the keyword name.
1030 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1032 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for
1035 2011-11-19 Juri Linkov <juri@jurta.org>
1037 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1038 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1039 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1040 `old-history', `old-history-forward'. Add let-binding
1041 `window-selected'. Remove calls to `kill-buffer',
1042 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1043 before calling `Info-find-node', so `Info-find-node-2' will reread
1044 the Info file. Restore window positions only when `window-selected'
1047 2011-11-19 Juri Linkov <juri@jurta.org>
1049 * isearch.el (isearch-lazy-highlight-new-loop):
1050 Remove condition `(not isearch-error)'. (Bug#9918)
1052 * misearch.el (multi-isearch-search-fun): Add condition
1053 `(not bound)' to ignore lazy-highlighting search.
1054 Add the search-failed message "end of multi" when the end of
1055 multi-sequence is reached. Uncapitalize the search-failed
1056 message "Repeat for next buffer".
1058 * info.el (Info-search): Add the search-failed message
1059 "end of the manual" when the end of the manual is reached
1062 2011-11-19 Juri Linkov <juri@jurta.org>
1064 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
1065 Use non-destructive `remove' instead of `delete' because
1066 `Info-history-list' stored to `Info-isearch-initial-history-list' in
1067 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
1069 2011-11-19 Juri Linkov <juri@jurta.org>
1071 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
1072 to nil instead of binding `search-ring' and `regexp-search-ring'.
1075 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1077 * simple.el (line-move): Force movement by logical lines for any
1078 hscrolled window, not only when auto-hscroll-mode is on.
1079 (line-move-visual): Update doc string to that effect. (Bug#10076)
1081 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1083 * language/european.el (macintosh): Define as alias for mac-roman.
1085 2011-11-19 Eli Zaretskii <eliz@gnu.org>
1087 * mail/rmailmm.el (rmail-mime-display-header)
1088 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
1089 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
1090 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
1091 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
1092 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
1094 (rmail-mime-entity-segment): To get past the tagline, move forward
1095 2 more lines, to account for the 2 empty lines that precede and
1096 follow the line with the buttons.
1097 (rmail-mime-update-tagline): Move one more line, to get past the
1098 empty line that follows the buttons in the tagline. (Bug#9520)
1100 2011-11-19 Martin Rudalics <rudalics@gmx.at>
1102 * window.el (window-max-delta-1, window-min-delta-1)
1103 (window-min-size-1, window-state-get-1, window-state-put-1)
1104 (window-state-put-2): Use "window--" prefix.
1106 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1108 * emacs-lisp/smie.el: Improve warnings and conflict detection.
1109 (smie-warning-count): New var.
1110 (smie-set-prec2tab): Use it.
1111 (smie-bnf->prec2): Improve warnings. Add docstring.
1112 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
1113 (smie-bnf--set-class): New function.
1114 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
1117 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
1118 (compilation-error-properties, compilation-move-to-column):
1119 Handle compilation-first-column while in the target buffer.
1121 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
1122 Don't hardcode point-min==1.
1124 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
1125 (eshell-rewrite-for-command): Remove workaround.
1126 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
1127 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
1128 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
1130 * files-x.el (modify-file-local-variable): Obey commenting conventions.
1132 2011-11-17 Glenn Morris <rgm@gnu.org>
1134 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1135 Ignore buffer-local generated-autoload-file if it is the same
1136 as the global value. (Bug#10049)
1138 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
1140 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
1141 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
1142 (reftex-toc-previous-heading, reftex-toc-max-level)
1143 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
1144 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
1145 (reftex-toc-do-promote, reftex-toc-promote-prepare)
1146 (reftex-toc-promote-action, reftex-toc-extract-section-number)
1147 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
1148 (reftex-toc-rename-label, reftex-toc-visit-location)
1149 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
1150 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
1151 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
1152 leaving "*toc*" only for references to the buffer.
1154 2011-11-17 Martin Rudalics <rudalics@gmx.at>
1156 * window.el (window-resize, delete-window, split-window):
1157 Replace window-splits by window-combination-resize.
1158 * cus-start.el (window-splits): Replace by
1159 window-combination-resize.
1161 2011-11-17 Glenn Morris <rgm@gnu.org>
1163 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1164 Make bash entry derive from sh entry, not shell entry.
1166 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
1168 * net/tramp-cache.el (tramp-flush-file-property): Flush also
1169 properties of linked files. (Bug#9879)
1171 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
1174 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1176 * menu-bar.el (menu-bar-file-menu):
1177 * printing.el (pr-ps-utility):
1178 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
1179 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
1180 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
1181 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
1182 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
1183 (icalendar--convert-cyclic-to-ical)
1184 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
1185 (icalendar--convert-ical-to-diary)
1186 (icalendar--convert-recurring-to-diary)
1187 (icalendar--convert-non-recurring-all-day-to-diary)
1188 (icalendar-import-format-sample):
1189 * progmodes/idlw-shell.el (idlwave-shell-mode):
1190 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
1191 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
1192 (vhdl-ps-print-init): Fix typos.
1194 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
1196 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
1197 FSF and collapse date sequence, obscure author/maintainer email address
1198 better, remove extra version line, track relocation of author's webpage.
1200 * progmodes/python.el (python-pdbtrack-input-prompt)
1201 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
1202 regular python pdb prompts. Adjustments shamelessly taken exactly as
1203 suggested in EmacsWiki page (tiny change):
1204 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
1206 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
1208 * expand.el (expand-pos, expand-index, expand-point):
1209 Remove redundant info from docstring.
1210 (expand-add-abbrevs): Doc fix.
1211 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
1212 (expand-sample-perl-mode-expand-list): Fix typos.
1214 * net/dbus.el (dbus-event-member-name):
1215 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
1216 * term/pc-win.el (msdos-create-frame-with-faces):
1217 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
1219 2011-11-16 Martin Rudalics <rudalics@gmx.at>
1221 * window.el (split-window, window-state-get-1)
1222 (window-state-put-1, window-state-put-2): Rename occurrences of
1223 window-nest to window-combination-limit.
1224 * cus-start.el (window-nest): Rename to
1225 window-combination-limit.
1227 2011-11-16 Chong Yidong <cyd@gnu.org>
1229 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
1232 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
1235 `completing-read' will remove *Completions* and will preserve
1236 current-buffer for us.
1237 (tmm-add-prompt): Users of *Completions* will always (re)set its
1239 (tmm-old-comp-map): Remove.
1241 2011-11-16 Glenn Morris <rgm@gnu.org>
1243 * mail/rmailedit.el: Require rmailmm when compiling.
1244 (rmail-old-mime-state): New declaration.
1245 (rmail-edit-current-message): If editing a mime message,
1246 edit the "raw" message from the mbox buffer.
1247 (rmail-cease-edit): Handle mime messages. (Bug#9840)
1249 2011-11-15 Glenn Morris <rgm@gnu.org>
1251 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
1252 which wasn't being used. Add optional arg to force given state.
1253 (rmail-mime): Add optional arg to force given state.
1255 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1257 * allout.el (allout-encryption-plaintext-sanitization-regexps):
1258 * frame.el (display-mm-dimensions-alist):
1259 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
1260 (outline-move-subtree-down):
1261 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
1262 (newsticker--treeview-do-get-node):
1263 * net/quickurl.el (quickurl-list-buffer-name):
1264 * progmodes/dcl-mode.el (dcl-mode):
1265 * progmodes/gdb-mi.el (gdb-mapcar*):
1266 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
1268 2011-11-15 Glenn Morris <rgm@gnu.org>
1270 * mail/rmail.el (rmail-file-coding-system): It's only ever used
1271 in a boolean sense, so just make it a boolean, and fix the doc.
1272 (rmail-show-mime-function, rmail-mime-feature)
1273 (rmail-require-mime-maybe): Doc fixes.
1274 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
1276 * mail/rmailmm.el (rmail-show-mime): Doc fix.
1278 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
1280 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
1281 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
1282 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
1283 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
1285 2011-11-15 Glenn Morris <rgm@gnu.org>
1287 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
1288 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
1289 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
1290 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
1291 (rmail-mime, rmail-show-mime): Doc fixes.
1293 * term/ns-win.el (mode-line-frame-identification):
1294 Leave it alone. (Bug#10051)
1296 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
1298 * mail/rmailout.el (rmail-output-to-rmail-buffer):
1299 Handle empty buffers. (Bug#9978)
1301 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
1303 * international/mule.el (define-charset):
1304 * mail/rmailmm.el (rmail-mime-find-header-encoding):
1305 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
1306 * progmodes/verilog-mode.el (verilog-backward-token):
1307 * textmodes/ispell.el (lookup-words):
1308 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
1310 2011-11-14 Glenn Morris <rgm@gnu.org>
1312 * progmodes/executable.el
1313 (executable-make-buffer-file-executable-if-script-p):
1314 Handle file-modes returning nil.
1316 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
1317 message - not necessary, and causes problems. (Bug#9831)
1319 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
1321 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
1323 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
1324 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
1325 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
1327 2011-11-12 Martin Rudalics <rudalics@gmx.at>
1329 * window.el (window-resize, delete-window): Use window-splits
1330 variable instead of function.
1331 (window-state-get-1, window-state-put-2, window-state-put):
1332 Don't deal with windows' splits status.
1334 2011-11-12 Glenn Morris <rgm@gnu.org>
1336 * apropos.el (apropos-do-all, apropos-library, apropos-value)
1337 (apropos-documentation): Doc fixes.
1339 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
1341 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
1342 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
1344 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1346 * electric.el (electric-indent-post-self-insert-function): Make it
1347 possible for a char to only indent in some circumstances.
1348 (electric-indent-mode): Simplify.
1350 2011-11-11 Martin Rudalics <rudalics@gmx.at>
1352 * window.el (windows-with-parameter): Remove unused function.
1353 (windows-at-side): Rename to window-at-side-list.
1354 (window-check, window-atom-check, window-atom-check-1)
1355 (window-side-check, window-size-ignore, window-size-fixed-1)
1356 (window-in-direction-2): Prefix with "window--".
1357 (window-tree-1): Rename to window--subtree, fix doc-string.
1359 2011-11-11 Glenn Morris <rgm@gnu.org>
1361 * subr.el (eval-after-load): If FILE is already loaded,
1362 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
1364 2011-11-10 Glenn Morris <rgm@gnu.org>
1366 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
1367 Call svn via vc-svn-command rather than vc-do-command.
1368 (vc-svn-command): Add --non-interactive. (Bug#9993)
1369 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
1371 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1372 Add toggle-read-only. (Bug#7292)
1373 * files.el (toggle-read-only): Mention that it should only
1374 be used interactively. (Bug#10006)
1376 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1379 Adjust regexp for OCaml warnings.
1381 * electric.el (electric-pair-post-self-insert-function): Let user
1382 turn it off buffer-locally (bug#9932).
1384 * progmodes/python.el (python-beginning-of-statement):
1387 * progmodes/compile.el: Better handle TABs (bug#9749).
1388 (compilation-internal-error-properties)
1389 (compilation-next-error-function): Obey the target buffer's
1390 compilation-error-screen-columns.
1392 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
1394 * progmodes/meta-mode.el: Remove obsolete comments.
1395 (meta-right-comment-regexp, meta-ignore-comment-regexp):
1396 Fix typos in docstrings.
1398 2011-11-09 Martin Rudalics <rudalics@gmx.at>
1400 * window.el (window-size-fixed-p): Rewrite doc-string.
1401 (window-resizable-p): Rename to window--resizable-p. Update callers.
1402 (window--resizable): New function. Make all callers of
1403 window-resizable call window--resizable instead.
1404 (window-resizable): Rewrite in terms of window--resizable.
1406 2011-11-08 Glenn Morris <rgm@gnu.org>
1408 * progmodes/delphi.el (delphi-mode-syntax-table):
1409 Let define-derived-mode define a proper syntax table. (Bug#9994)
1411 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * window.el: Stay away from defsubst.
1414 (window-list-no-nils): Remove.
1415 (window-state-get-1, window-state-get): Use backquote instead.
1417 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1419 * emacs-lisp/find-func.el (find-function-read):
1420 Fix incorrect use of default argument in `completing-read'.
1422 2011-11-08 Martin Rudalics <rudalics@gmx.at>
1424 * window.el (display-buffer-function, special-display-function):
1425 Mention display-buffer-record-window but do not mention
1426 help-setup parameter in doc-strings.
1427 (window-min-delta): Fix doc-string typo.
1429 2011-11-08 Chong Yidong <cyd@gnu.org>
1431 * window.el (window-total-height, window-total-width): Doc fix.
1432 (window-body-size): Move from C.
1433 (window-body-height, window-body-width): Move to C.
1435 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * window.el: Make special-display like display-buffer-alist (bug#9532).
1438 (display-buffer--special-action): New function, morphed
1439 from display-buffer--special.
1440 (display-buffer): Use it to handle special-display-buffers at higher
1441 priority (just after display-buffer-alist).
1442 (display-buffer-fallback-action, display-buffer--other-frame-action)
1443 (pop-to-buffer-same-window): Remove display-buffer--special.
1445 2011-11-07 Glenn Morris <rgm@gnu.org>
1447 * calendar/cal-menu.el (cal-menu-set-date-title):
1448 Do nothing if not in a calendar. (Bug#9976)
1450 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * files.el (find-file): Always use selected-window.
1454 2011-11-07 Martin Rudalics <rudalics@gmx.at>
1456 * window.el (window-combinations): Make WINDOW argument
1457 mandatory. Rewrite doc-string.
1458 (walk-window-subtree, window-atom-check, window-min-delta)
1459 (window-max-delta, window--resize-this-window)
1460 (window--resize-root-window-vertically, window-tree)
1461 (balance-windows, window-state-put): Rewrite doc-strings as to
1462 not mention the term "subwindow".
1463 (window--resize-subwindows-skip-p): Rename to
1464 window--resize-child-windows-skip-p.
1465 (window--resize-subwindows-normal): Rename to
1466 window--resize-child-windows-normal.
1467 (window--resize-subwindows): Rename to
1468 window--resize-child-windows.
1469 (window-or-subwindow-p): Rename to window--in-subtree-p.
1471 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1473 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
1474 Ensure that mbox format messages end in two newlines (Bug#9974).
1476 2011-11-06 Chong Yidong <cyd@gnu.org>
1478 * window.el (window-combination-p): Function deleted; its
1479 side-effect is not used in any existing code.
1480 (window-combinations, window-combined-p): Call window-*-child
1483 2011-11-05 Chong Yidong <cyd@gnu.org>
1485 * window.el (window-valid-p): Rename from window-any-p.
1486 (window-size-ignore, window-state-get): Callers changed.
1487 (window-normalize-window): Rename from window-normalize-any-window.
1488 New arg LIVE-ONLY, replacing window-normalize-live-window.
1489 (window-normalize-live-window): Delete.
1490 (window-combination-p, window-combined-p, window-combinations)
1491 (walk-window-subtree, window-atom-root, window-min-size)
1492 (window-sizable, window-sizable-p, window-size-fixed-p)
1493 (window-min-delta, window-max-delta, window-resizable)
1494 (window-resizable-p, window-full-height-p, window-full-width-p)
1495 (window-current-scroll-bars, window-point-1, set-window-point-1)
1496 (window-at-side-p, window-in-direction, window-resize)
1497 (adjust-window-trailing-edge, maximize-window, minimize-window)
1498 (window-deletable-p, delete-window, delete-other-windows)
1499 (record-window-buffer, unrecord-window-buffer)
1500 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
1501 (quit-window, split-window, window-state-put)
1502 (set-window-text-height, fit-window-to-buffer)
1503 (shrink-window-if-larger-than-buffer): Callers changed.
1505 2011-11-04 Eli Zaretskii <eliz@gnu.org>
1507 * mail/rmail.el (rmail-simplified-subject): Decode subject with
1508 rfc2047-decode-string.
1509 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
1512 * window.el (window-body-height, window-body-width): Mention in
1513 the doc string that the return values are in frame's canonical
1516 2011-11-03 Alan Mackenzie <acm@muc.de>
1518 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
1519 change in cc-engine.el.
1521 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * window.el (switch-to-buffer): Use `force-same-window' interactively.
1525 2011-11-02 Martin Rudalics <rudalics@gmx.at>
1527 * window.el (quit-window): Call unrecord-window-buffer after
1528 showing another buffer in the window. (Bug#9937)
1529 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1531 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
1533 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
1534 Accept status with more than 9 shelves. (Bug#9935)
1535 Reported by Colin D Bennett <colin@gibibit.com>.
1537 2011-11-01 Martin Rudalics <rudalics@gmx.at>
1539 * help.el (with-help-window): Don't reference
1540 temp-buffer-show-specifiers in doc-string.
1542 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
1544 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
1547 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1549 * whitespace.el: New version 13.2.2.
1550 (whitespace-newline-mode): Disable properly. Reported by Sarah
1553 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
1555 * net/newst-treeview.el: Remove "Time-stamp".
1556 (newsticker--group-manage-orphan-feeds): Do not call
1557 newsticker--treeview-tree-update.
1558 (newsticker-treeview-update, newsticker-treeview):
1559 Call newsticker--treeview-tree-update if necessary.
1561 2011-10-30 Martin Rudalics <rudalics@gmx.at>
1563 * window.el (window-iso-combination-p, window-iso-combined-p)
1564 (window-iso-combinations): Remove "iso-" infix.
1565 Suggested by Chong Yidong.
1566 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
1567 (window-max-delta-1, window-resize, window--resize-siblings)
1568 (window--resize-this-window, adjust-window-trailing-edge)
1569 (split-window, balance-windows-1)
1570 (shrink-window-if-larger-than-buffer):
1571 * calendar/calendar.el (calendar-generate-window):
1572 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
1574 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
1577 in place (bug#9907).
1578 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
1579 (eshell-rewrite-if-command, eshell-rewrite-for-command)
1580 (eshell-structure-basic-command, eshell-rewrite-while-command)
1581 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
1582 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
1583 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
1584 (eshell-do-pipelines-synchronously, eshell-eval-command):
1585 Use backquotes and prefer setq to set.
1586 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
1587 (eshell-macrop): Use functionp.
1588 (eshell-do-eval): Handle multiple expressions in `while' body.
1590 2011-10-30 Chong Yidong <cyd@gnu.org>
1592 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
1593 instead of set-mark (Bug#9810).
1595 2011-10-30 Chong Yidong <cyd@gnu.org>
1597 * window.el (split-window-below, split-window-right): Rename from
1598 split-window-above-each-other and split-window-side-by-side
1599 respectively. All callers changed.
1600 (split-window-sensibly, split-window-sensibly): Use them.
1601 (split-window-keep-point): Doc fix.
1603 * isearch.el: Add isearch-scroll property to split-window-below
1604 and split-window-right.
1606 * follow.el (follow-mode):
1607 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1608 * progmodes/ada-xref.el (ada-gdb-application):
1609 * emulation/vip.el (vip-buffer-in-two-windows):
1610 * image-dired.el (image-dired-dired-with-window-configuration):
1611 * dired-x.el (dired-do-find-marked-files):
1612 * dired.el (dired-pop-to-buffer):
1613 * bs.el (bs--show-with-configuration):
1614 * vc/emerge.el (emerge-setup-windows):
1615 * textmodes/two-column.el (2C-two-columns):
1616 * textmodes/reftex-toc.el (reftex-toc):
1617 * progmodes/gdb-mi.el (gdb-setup-windows):
1618 * progmodes/fortran.el (fortran-window-create):
1619 * net/newst-treeview.el (newsticker--treeview-window-init):
1620 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
1621 * emulation/tpu-edt.el (tpu-gold-map):
1622 * emulation/crisp.el (crisp-mode-map):
1623 * calendar/calendar.el (calendar-basic-setup): Callers changed.
1625 2011-10-29 Chong Yidong <cyd@gnu.org>
1627 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
1629 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
1631 * textmodes/flyspell.el (flyspell-word): Fix char offset for
1632 forged Ispell output (Bug#7904).
1634 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
1636 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * doc-view.el: Avoid ugly errors about not finding nil.
1639 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
1640 (doc-view-dvipdf-program, doc-view-unoconv-program)
1641 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
1642 Avoid nil or absolute file name as default value.
1643 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
1645 2011-10-28 Alan Mackenzie <acm@muc.de>
1647 * progmodes/cc-defs.el (c-version): -> 5.32.2.
1649 2011-10-28 Alan Mackenzie <acm@muc.de>
1651 Amend the handling of c-beginning/end-of-defun in nested declaration
1654 * progmodes/cc-vars.el (c-defun-tactic): Move here from
1655 cc-langs.el. Change it to a defcustom.
1657 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
1660 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1661 Prevent "class foo : bar" being spuriously recognized as a label.
1663 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
1664 Add parameter `inclusive' (to include enclosing braces in the region).
1665 (c-widen-to-enclosing-decl-scope): New function.
1666 (c-while-widening-to-decl-block): New macro.
1667 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
1668 outward for defun boundaries, and correspondingly change symbol
1669 `respect-enclosure' to `go-outward'.
1670 (c-declaration-limits): Change algorithm to report only the "innermost"
1673 2011-10-28 Deniz Dogan <deniz@dogan.se>
1675 * net/rcirc.el (rcirc-mode): Use hard newlines.
1677 2011-10-28 Alan Mackenzie <acm@muc.de>
1679 Amend to indent and fontify macros "which include their own semicolon"
1680 correctly, using the "virtual semicolon" mechanism.
1682 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
1684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1685 Recode to scan one line at a time rather than having \n and \r
1686 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
1687 (c-forward-label): Amend for virtual semicolons.
1688 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
1690 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
1691 of the new C macros.
1693 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
1694 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
1695 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
1696 (c-opt-cpp-macro-define): Make into a full language variable.
1697 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
1698 AWK Mode (including \n, \r) removed, no longer needed.
1700 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
1701 Invoke c-make-macro-with-semi-re.
1703 * progmodes/cc-vars.el (c-macro-with-semi-re):
1704 (c-macro-names-with-semicolon): New variables.
1705 (c-make-macro-with-semi-re): New function.
1707 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * vc/log-edit.el: Fill empty field rather than adding new one.
1710 (log-edit-add-field): New function.
1711 (log-edit-insert-changelog): Use it.
1713 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1715 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
1717 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
1720 (gdb--check-interpreter): New function.
1723 2011-10-27 Glenn Morris <rgm@gnu.org>
1725 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
1726 (least-positive-float, least-negative-float)
1727 (least-positive-normalized-float, least-negative-normalized-float)
1728 (float-epsilon, float-negative-epsilon):
1729 Remove unnecessary declarations.
1731 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
1732 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
1733 (least-positive-float, least-negative-float)
1734 (least-positive-normalized-float, least-negative-normalized-float)
1735 (float-epsilon, float-negative-epsilon): Add doc-strings,
1736 based on those in cl.texi.
1738 * files.el (set-visited-file-name): If the major-mode changed,
1739 reload the local variables. (Bug#9796)
1741 2011-10-27 Chong Yidong <cyd@gnu.org>
1743 * subr.el (change-major-mode-after-body-hook): New hook.
1744 (run-mode-hooks): Run it.
1746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1747 Use change-major-mode-before-body-hook.
1749 * simple.el (fundamental-mode):
1750 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
1751 change introducing fundamental-mode-hook.
1753 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
1755 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
1757 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
1759 * ido.el (ido-file-name-all-completions-1): Do not require
1760 tramp.el explicitly. (Bug#7583)
1762 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * progmodes/octave-mod.el:
1765 * progmodes/octave-inf.el: Update maintainer.
1767 2011-10-26 Chong Yidong <cyd@gnu.org>
1769 * subr.el (with-wrapper-hook): Rewrite doc.
1771 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
1773 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
1774 filenames "/method:foo:". (Bug#9793)
1776 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
1781 2011-10-24 Glenn Morris <rgm@gnu.org>
1783 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
1785 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
1787 * notifications.el: Add the requirement of a running D-Bus session
1788 bus to the Commentary.
1790 2011-10-24 Juri Linkov <juri@jurta.org>
1792 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1793 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
1796 2011-10-24 Juri Linkov <juri@jurta.org>
1798 * info.el (Info-following-node-name-re): Add newline to the list
1799 of allowed characters for leading space. (Bug#9824)
1801 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1803 * progmodes/octave-inf.el (inferior-octave-mode-map):
1804 Fix C-c C-h binding.
1805 * progmodes/octave-mod.el (octave-help): Remove.
1807 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
1809 Sync with Tramp 2.2.3.
1811 * net/tramp-cache.el (top): Pacify byte-compiler using
1812 `init-file-user' and `site-run-file'.
1814 * net/trampver.el: Update release number.
1816 2011-10-23 Chong Yidong <cyd@gnu.org>
1818 * files.el (toggle-read-only): Remove obsolete comment about
1821 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
1822 for toggle-read-only. Note that this hasn't called vc-next-action
1823 since 2008-05-02, though it wasn't documented at the time.
1825 * vc/ediff-init.el (ediff-toggle-read-only-function):
1826 Use toggle-read-only.
1828 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
1830 Fix bug #9560, sporadic wrong indentation; improve instrumentation
1833 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1834 correct faulty logical expression.
1835 (c-parse-state-state, c-record-parse-state-state):
1836 (c-replay-parse-state-state): New defvar/defuns.
1837 (c-debug-parse-state): Use new functions.
1839 2011-10-22 Martin Rudalics <rudalics@gmx.at>
1841 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
1842 last fix. Use window-in-direction correctly.
1844 2011-10-21 Chong Yidong <cyd@gnu.org>
1846 * progmodes/idlwave.el (idlwave-mode):
1847 * progmodes/vera-mode.el (vera-mode): No need to set
1848 require-final-newline; that's done in prog-mode.
1849 Suggested by Stefan Monnier.
1851 2011-10-21 Martin Rudalics <rudalics@gmx.at>
1853 * mouse.el (mouse-drag-window-above)
1854 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
1855 (mouse-drag-mode-line-1, mouse-drag-header-line)
1856 (mouse-drag-vertical-line-rightward-window): Remove.
1857 (mouse-drag-line): New function.
1858 (mouse-drag-mode-line, mouse-drag-header-line)
1859 (mouse-drag-vertical-line): Call mouse-drag-line.
1860 * window.el (window-at-side-p, windows-at-side): New functions.
1862 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
1864 * tar-mode.el (tar-grind-file-mode):
1865 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
1867 2011-10-21 Chong Yidong <cyd@gnu.org>
1869 * progmodes/idlwave.el (idlwave-mode):
1870 * progmodes/vera-mode.el (vera-mode):
1871 Use mode-require-final-newline.
1873 2011-10-20 Glenn Morris <rgm@gnu.org>
1875 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
1877 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
1879 * emulation/cua-base.el (cua-set-mark): Fix case of string.
1881 2011-10-20 Chong Yidong <cyd@gnu.org>
1883 * emulation/cua-base.el (cua-mode):
1884 * mail/footnote.el (footnote-mode):
1885 * mail/mailabbrev.el (mail-abbrevs-mode):
1886 * net/xesam.el (xesam-minor-mode):
1887 * progmodes/bug-reference.el (bug-reference-mode):
1888 * progmodes/cap-words.el (capitalized-words-mode):
1889 * progmodes/compile.el (compilation-minor-mode)
1890 (compilation-shell-minor-mode):
1891 * progmodes/gud.el (gud-tooltip-mode):
1892 * progmodes/hideif.el (hide-ifdef-mode):
1893 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
1894 * progmodes/subword.el (subword-mode):
1895 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
1896 * progmodes/which-func.el (which-function-mode):
1897 * term/tvi970.el (tvi970-set-keypad-mode):
1898 * term/vt100.el (vt100-wide-mode):
1899 * textmodes/flyspell.el (flyspell-mode):
1900 * textmodes/ispell.el (ispell-minor-mode):
1901 * textmodes/nroff-mode.el (nroff-electric-mode):
1902 * textmodes/paragraphs.el (use-hard-newlines):
1903 * textmodes/refill.el (refill-mode):
1904 * textmodes/reftex.el (reftex-mode):
1905 * textmodes/rst.el (rst-minor-mode):
1906 * textmodes/sgml-mode.el (html-autoview-mode)
1907 (sgml-electric-tag-pair-mode):
1908 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
1909 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
1910 * emulation/crisp.el (crisp-mode):
1911 * emacs-lisp/eldoc.el (eldoc-mode):
1912 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
1913 minor mode behavior.
1915 2011-10-19 Juri Linkov <juri@jurta.org>
1917 * descr-text.el (describe-char): Add #x2010 and #x2011 to
1918 the list of hard-coded chars with escape-glyph face.
1920 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1922 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
1924 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
1926 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
1929 2011-10-19 Glenn Morris <rgm@gnu.org>
1931 * vc/vc-bzr.el (vc-bzr-after-dir-status):
1932 Ignore ignored files. (Bug#9726)
1934 2011-10-19 Chong Yidong <cyd@gnu.org>
1936 Doc fix for minor modes, stating that an omitted argument enables
1937 the mode unconditionally when called from Lisp.
1939 * abbrev.el (abbrev-mode):
1940 * allout.el (allout-mode):
1941 * autoinsert.el (auto-insert-mode):
1942 * autoarg.el (autoarg-mode, autoarg-kp-mode):
1943 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1944 (global-auto-revert-mode):
1945 * battery.el (display-battery-mode):
1946 * composite.el (global-auto-composition-mode)
1947 (auto-composition-mode):
1948 * delsel.el (delete-selection-mode):
1949 * desktop.el (desktop-save-mode):
1950 * dired-x.el (dired-omit-mode):
1951 * dirtrack.el (dirtrack-mode):
1952 * doc-view.el (doc-view-minor-mode):
1953 * double.el (double-mode):
1954 * electric.el (electric-indent-mode, electric-pair-mode):
1955 * emacs-lock.el (emacs-lock-mode):
1956 * epa-hook.el (auto-encryption-mode):
1957 * follow.el (follow-mode):
1958 * font-core.el (font-lock-mode):
1959 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
1960 * help.el (temp-buffer-resize-mode):
1961 * hilit-chg.el (highlight-changes-mode)
1962 (highlight-changes-visible-mode):
1963 * hi-lock.el (hi-lock-mode):
1964 * hl-line.el (hl-line-mode, global-hl-line-mode):
1965 * icomplete.el (icomplete-mode):
1966 * ido.el (ido-everywhere):
1967 * image-file.el (auto-image-file-mode):
1968 * image-mode.el (image-minor-mode):
1969 * iswitchb.el (iswitchb-mode):
1970 * jka-cmpr-hook.el (auto-compression-mode):
1971 * linum.el (linum-mode):
1972 * longlines.el (longlines-mode):
1973 * master.el (master-mode):
1974 * mb-depth.el (minibuffer-depth-indicate-mode):
1975 * menu-bar.el (menu-bar-mode):
1976 * minibuf-eldef.el (minibuffer-electric-default-mode):
1977 * mouse-sel.el (mouse-sel-mode):
1978 * msb.el (msb-mode):
1979 * mwheel.el (mouse-wheel-mode):
1980 * outline.el (outline-minor-mode):
1981 * paren.el (show-paren-mode):
1982 * recentf.el (recentf-mode):
1983 * reveal.el (reveal-mode, global-reveal-mode):
1984 * rfn-eshadow.el (file-name-shadow-mode):
1985 * ruler-mode.el (ruler-mode):
1986 * savehist.el (savehist-mode):
1987 * scroll-all.el (scroll-all-mode):
1988 * scroll-bar.el (scroll-bar-mode):
1989 * server.el (server-mode):
1990 * shell.el (shell-dirtrack-mode):
1991 * simple.el (auto-fill-mode, transient-mark-mode)
1992 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
1993 (line-number-mode, column-number-mode, size-indication-mode)
1994 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
1995 * strokes.el (strokes-mode):
1996 * time.el (display-time-mode):
1997 * t-mouse.el (gpm-mouse-mode):
1998 * tool-bar.el (tool-bar-mode):
1999 * tooltip.el (tooltip-mode):
2000 * type-break.el (type-break-mode-line-message-mode)
2001 (type-break-query-mode):
2002 * view.el (view-mode):
2003 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2004 (global-whitespace-mode, global-whitespace-newline-mode):
2005 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2007 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2008 Fix autogenerated docstring.
2010 2011-10-19 Juri Linkov <juri@jurta.org>
2012 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2013 by checking environment variables "DESKTOP_SESSION" and
2014 "XDG_CURRENT_DESKTOP". (Bug#9779)
2016 2011-10-19 Juri Linkov <juri@jurta.org>
2018 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2019 (browse-url-chromium-program, browse-url-chromium-arguments):
2021 (browse-url-default-browser): Check for `browse-url-chromium' and
2022 call `browse-url-chromium-program'.
2023 (browse-url-chromium): New command. (Bug#9779)
2025 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
2027 * facemenu.el (list-colors-duplicates): On Windows, detect more
2028 duplicates by assuming that only colors matching "^System" are
2029 special "system colors". (Bug#9722)
2031 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2034 to distinguish the author from the committer.
2036 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
2038 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2040 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2042 * international/mule.el (sgml-html-meta-auto-coding-function):
2043 Add support for detecting encoding in HTML5 specified only as
2044 <meta charset="UTF-8">. Implementation just makes http-equiv and
2045 content-type parts from HTML4 encoding string optional. (Bug#9716)
2047 2011-10-18 Glenn Morris <rgm@gnu.org>
2049 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2051 2011-10-18 Chong Yidong <cyd@gnu.org>
2053 * faces.el (cursor): Doc fix.
2055 2011-10-17 Chong Yidong <cyd@gnu.org>
2057 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
2059 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
2061 * dirtrack.el (dirtrack): Support shell buffers with path
2062 prefixes, e.g. tramp-based remote shells. (Bug#9647)
2064 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
2066 * json.el: Bump version to 1.3 and note change in History.
2067 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
2069 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * comint.el (comint-insert-input, comint-send-input)
2072 (comint-get-old-input-default, comint-backward-matching-input)
2073 (comint-next-prompt): Use nil instead of `input' for field property of
2074 past user input (bug#114).
2076 * minibuffer.el (completion--replace): Inherit surrounding properties
2078 (minibuffer-complete-and-exit): Use it.
2080 * comint.el (comint--table-subvert): Quote the all-completions output
2083 2011-10-17 Martin Rudalics <rudalics@gmx.at>
2085 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
2087 * menu-bar.el (menu-bar-file-menu): Add entry for making new
2088 window on right of selected. (Bug#9350) Reword other window
2089 entries and separate them from frame entries.
2091 2011-10-15 Glenn Morris <rgm@gnu.org>
2093 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
2096 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
2098 * net/network-stream.el (network-stream-open-starttls):
2099 Improve detection of failure due to lack of TLS support.
2101 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
2102 putting the input text in front and in bold.
2104 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
2108 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
2111 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
2112 unread-command-events rather than pushing yet-another event.
2114 2011-10-14 Eli Zaretskii <eliz@gnu.org>
2116 * mail/sendmail.el (sendmail-query-once): Improve the wording of
2117 the explanation of the possible choices. Make the options passed
2118 to completing-read shorter.
2120 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2122 * textmodes/flyspell.el (flyspell-large-region): Make sure
2123 extended character mode is used if defined (Bug#1339).
2125 2011-10-13 Eli Zaretskii <eliz@gnu.org>
2127 * simple.el (what-cursor-position): Fix the display of the
2128 character info for LRE, LRO, RLE, and RLO characters by appending
2131 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
2134 even in case of error; add debug spec; simplify data flow.
2135 (with-timeout-handler): Remove.
2137 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
2139 Fix Bug#6019, Bug#9315.
2141 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
2142 complete `buffer-file-name', the local file name part could look
2143 remotely (for example on VMS).
2145 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
2146 `tramp-run-real-handler'.
2147 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
2148 already quoted by '"'.
2150 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
2151 Let `file-name-handler-alist' be nil, the local file name part
2152 could look remotely (for example on VMS).
2154 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
2158 (flyspell-post-command-hook): ...to here.
2160 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
2164 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
2165 using completion. Protect against "slow" callers.
2166 Remove the "message hack".
2168 2011-10-11 Juri Linkov <juri@jurta.org>
2170 * isearch.el (isearch-lazy-highlight-word): New variable.
2171 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2174 2011-10-11 Glenn Morris <rgm@gnu.org>
2176 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
2177 like f90-previous-statement does.
2179 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2181 * eshell/eshell.el (eshell-command): History should be saved
2182 only in interactive use, to avoid error.
2184 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2186 * minibuffer.el (completion-file-name-table): Fix last change,
2187 i.e. ignore normal errors but not the other ones.
2189 2011-10-10 Martin Rudalics <rudalics@gmx.at>
2191 * window.el (special-display-buffer-names)
2192 (special-display-regexps): Remove some remnants of earlier
2193 changes from doc-strings.
2194 (quit-windows-on): New function.
2196 * vc/vc.el (vc-revert, vc-rollback):
2197 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
2198 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
2199 (Bug#6183) (Bug#7074) (Bug#7447)
2201 2011-10-09 Martin Rudalics <rudalics@gmx.at>
2203 * window.el (frame-auto-hide-function): Add version tag.
2206 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
2208 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
2211 2011-10-09 Leo Liu <sdl.web@gmail.com>
2213 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
2216 2011-10-08 Glenn Morris <rgm@gnu.org>
2218 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
2219 before the first code statement zero indent. (Bug#9690)
2221 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
2223 * simple.el (count-words-region): Always count in the region.
2224 Report the number of lines and characters too.
2225 (count-words): New command, which counts in the buffer if the
2226 region is inactive, as count-words-region used to.
2227 (count-words--message): New function. Handle plurals.
2228 (count-lines-region): Make it an alias for count-words-region.
2230 * bindings.el (esc-map): Replace count-lines-region with
2233 2011-10-08 Martin Rudalics <rudalics@gmx.at>
2235 * window.el (window--delete): Delete dedicated frame
2236 unconditionally when argument KILL is non-nil. (Bug#9699)
2237 (switch-to-buffer): Fix doc-string typo.
2239 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2241 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
2243 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
2245 * bindings.el ([M-left],[M-right]): Bind to left-word and
2246 right-word respectively.
2248 2011-10-07 Glenn Morris <rgm@gnu.org>
2250 * cus-start.el (debug-on-quit): Fix custom type.
2252 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2254 * subr.el (define-key-after): Clarify that the function is not
2255 useful for non-menu keymaps.
2257 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
2259 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2261 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
2262 in current minibuffer (Fix bug with recursive minibuffers).
2264 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
2266 * progmodes/gdb-mi.el (gdb): Doc fix.
2268 2011-10-05 Martin Rudalics <rudalics@gmx.at>
2270 * window.el (frame-auto-hide-function): New option replacing
2271 frame-auto-delete. Suggested by Stefan Monnier.
2272 (window--delete): Call frame-auto-hide-function instead of
2273 investigating frame-auto-delete.
2274 (window-point-1, set-window-point-1): New functions.
2275 (window-in-direction, record-window-buffer, window-state-get-1)
2276 (display-buffer-record-window): Use window-point-1 instead of
2278 (set-window-buffer-start-and-point): Use set-window-point-1.
2280 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2282 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
2284 2011-10-05 Glenn Morris <rgm@gnu.org>
2286 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
2287 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
2289 2011-10-05 Leo Liu <sdl.web@gmail.com>
2291 * subr.el (read-char-choice): Fix argument to buffer-live-p which
2292 works with buffer object.
2294 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * mpc.el (mpc-tool-bar-map): Add labels.
2298 2011-10-04 Glenn Morris <rgm@gnu.org>
2300 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2302 2011-10-04 Martin Rudalics <rudalics@gmx.at>
2304 * window.el (window--delete): New function.
2305 (frame-auto-delete): Resuscitate option.
2306 (bury-buffer, replace-buffer-in-windows)
2307 (quit-window): Rewrite using window--delete.
2308 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2309 Pass display-buffer-mark-dedicated to window--display-buffer-2
2312 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
2315 returns a list (bug#9554). Add remote file name completion.
2316 * comint.el (comint--table-subvert): Curry and get quote&unquote
2317 functions as arguments.
2318 (comint--complete-file-name-data): Adjust call accordingly.
2319 * pcomplete.el (pcomplete--table-subvert): Remove.
2320 (pcomplete-completions-at-point): Use comint--table-subvert instead.
2322 * minibuffer.el (completion-table-case-fold): Use currying.
2323 (completion--styles-type, completion--cycling-threshold-type):
2325 (completion-styles, completion-category-overrides)
2326 (completion-cycle-threshold): Use them.
2327 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
2328 completion-table-case-fold.
2330 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
2332 * minibuffer.el (completion-category-overrides): Fix type of styles
2333 and add more user friendly tags (bug#9660).
2335 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2337 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
2338 (mule-input-method-string): New widget.
2339 (default-input-method, language-info-custom-alist): Use it.
2341 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2343 * pcomplete.el: Require comint.
2344 (pcomplete--common-suffix): Remove.
2345 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
2346 (pcomplete--table-subvert): Sync with comint--table-subvert.
2347 (pcomplete--entries): Use comint-completion-file-name-table.
2348 * comint.el (comint-unquote-filename): Simplify.
2349 (comint-completion-file-name-table): New function (bug#9616).
2350 (comint--complete-file-name-data): Use it.
2352 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
2353 (pcmpl-gnu-tar-buffer): Remove.
2354 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
2355 around. Make sure pcomplete-suffix-list is only changed temporarily.
2356 Don't look inside the tar's file if it's too large.
2358 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
2360 * cus-edit.el (custom-mode-map):
2361 * epa.el (epa-key-list-mode-map):
2362 * man.el (Man-mode-map):
2363 * startup.el (splash-screen-keymap):
2364 * simple.el (special-mode-map): Use scroll-up-command and
2365 scroll-down-command.
2367 * progmodes/idlw-help.el (idlwave-help-mode-map):
2368 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
2369 * net/newst-plainview.el (newsticker-mode-map):
2370 * emulation/ws-mode.el (wordstar-mode-map):
2371 * emulation/vi.el (vi-com-map):
2372 * calc/calc-graph.el (calc-graph-show-dumb):
2373 * term/sun.el (terminal-init-sun):
2374 * term/ns-win.el (global-map):
2375 * progmodes/grep.el (grep-mode-map):
2376 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
2377 * mail/rmail.el (rmail-mode-map):
2378 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
2380 * custom.el (custom-safe-themes, load-theme): Treat value of t for
2381 custom-safe-themes as special.
2383 2011-10-01 Julien Danjou <julien@danjou.info>
2385 * notifications.el (notifications-notify): Fix docstring.
2387 2011-10-01 Per Starbäck <per@starback.se>
2389 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
2391 2011-09-30 Martin Rudalics <rudalics@gmx.at>
2393 * startup.el (command-line-1): Fix last fix by inserting
2394 initial-scratch-message into *scratch* before displaying it.
2395 (Bug#9605) and (Bug#9636)
2397 2011-09-29 Eli Zaretskii <eliz@gnu.org>
2399 * simple.el (line-move): If auto-hscroll-mode is disabled and the
2400 window is hscrolled, move by logical lines. (Bug#9607)
2401 (line-move-visual): Update the doc string to the above effect.
2403 2011-09-29 Martin Rudalics <rudalics@gmx.at>
2405 * window.el (display-buffer-record-window): When WINDOW is the
2406 selected window use `point' instead of `window-point'. (Bug#9626)
2408 * startup.el (command-line-1): Use insert-before-markers when
2409 inserting initial-scratch-message. (Bug#9605)
2411 * help.el (help-window): Remove variable.
2413 2011-09-29 Glenn Morris <rgm@gnu.org>
2415 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
2417 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
2419 * descr-text.el (describe-char-categories): Accept category
2420 descriptions more than one line long.
2422 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * simple.el (delete-trailing-whitespace): Fix last change.
2426 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2427 Don't confuse "y => 3" as the beginning of a `y' operation.
2429 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
2430 object has more than 4 slots (bug#9613).
2432 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
2434 * subr.el (with-output-to-temp-buffer):
2435 * net/quickurl.el (quickurl, quickurl-browse-url):
2436 Fix typos in docstrings.
2438 2011-09-27 Eli Zaretskii <eliz@gnu.org>
2440 * minibuffer.el (completion-styles)
2441 (completion-category-overrides): Cross reference each other in doc
2444 2011-09-27 Glenn Morris <rgm@gnu.org>
2446 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
2447 to split-string. (Bug#9606)
2449 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2451 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
2454 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
2456 * emacs-lisp/package.el (list-packages): Fix echo area message.
2458 2011-09-27 Leo Liu <sdl.web@gmail.com>
2460 * ido.el (ido-read-internal): Accept cons cell HIST arg.
2462 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
2464 * net/dbus.el (dbus-unregister-object): Don't release services for
2465 registered signals. (Bug#9581)
2467 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
2469 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
2470 function that picks between cfengine 2 and 3 support
2471 automatically. Update docs accordingly.
2473 2011-09-22 Kenichi Handa <handa@m17n.org>
2475 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
2477 (indian-itrans-v5-table-for-tamil): New variable.
2478 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
2480 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
2482 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
2483 that's true if the current command involved collapsing of text.
2484 It's reset to false at the beginning of the next command.
2485 (allout-post-command-business): Move the cursor to the beginning
2486 of entry if the cursor is hidden and collapsing activity just
2489 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
2491 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
2492 tracking (Bug#9541).
2494 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
2496 * net/newst-reader.el (newsticker-html-renderer)
2497 (newsticker-show-news): Automatically load html rendering package
2498 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
2499 because w3m-fill-column is let-bound" and the error "Symbol's value
2500 as variable is void: w3m-fill-column".
2502 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
2504 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
2505 Release services only if they are defined. (Bug#9581)
2507 2011-09-23 Richard Stallman <rms@gnu.org>
2509 * textmodes/paragraphs.el (forward-sentence): For backwards case,
2510 distinguish start of paragraph from start of its text.
2512 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
2514 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
2515 (rmail-generate-viewer-buffer): Put that hook on view buffer.
2516 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
2518 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
2520 * international/mule-diag.el (mule-diag): Insert a newline after
2521 each fontset description.
2523 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * simple.el (delete-trailing-whitespace):
2526 Document last change; simplify.
2528 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
2530 * simple.el (delete-trailing-whitespace): Also delete
2531 extra newlines at the end of the buffer.
2533 * textmodes/picture.el: Make motion commands obey shift-select-mode.
2534 (picture-newline): Use forward-line so as to ignore fields.
2536 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * subr.el (with-wrapper-hook): Fix edebug spec.
2540 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2542 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
2545 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
2547 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2548 Fix nasty bug using wrong cached values.
2550 2011-09-23 Alan Mackenzie <acm@muc.de>
2552 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
2554 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
2556 * window.el (pop-to-buffer): Ensure right window is selected if we
2557 chose another frame.
2559 2011-09-22 Eli Zaretskii <eliz@gnu.org>
2561 * simple.el (what-cursor-position): Use get-char-property-change
2562 and next-single-char-property-change, to be able to show display
2563 properties that come from overlays as well as text properties.
2565 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
2567 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
2569 * cmuscheme.el (run-scheme, switch-to-scheme):
2570 * cus-edit.el (customize-group, custom-buffer-create)
2574 * mail/sendmail.el (mail):
2575 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
2577 2011-09-22 Richard Stallman <rms@gnu.org>
2579 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
2580 move back only to line beg, don't move back over blank lines.
2582 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
2584 * files.el (copy-directory): Set directory attributes only in case
2585 they could be retrieved from the source directory. (Bug#9565)
2587 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
2589 * progmodes/hideshow.el (hs-looking-at-block-start-p)
2590 (hs-find-block-beginning, hs-hide-level-recursive):
2591 Ignore strings as well as comments. (Bug#9502)
2593 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
2595 * progmodes/sql.el (sql-comint-postgres):
2596 Convert port number to a string. (Bug#9566)
2598 2011-09-22 Martin Rudalics <rudalics@gmx.at>
2600 * window.el (quit-window): Undedicate window when switching to
2601 previous buffer. Reported by Thierry Volpiatto
2602 <thierry.volpiatto@gmail.com>.
2603 (special-display-popup-frame): When popping up a new frame reset
2604 its previous buffers to nil. Simplify code.
2606 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
2608 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
2609 and process filter, as done also in `shell-command'.
2611 2011-09-21 Martin Rudalics <rudalics@gmx.at>
2613 * window.el (set-window-buffer-start-and-point):
2614 Call set-window-start with NOFORCE argument t.
2615 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2616 (quit-window): Reword doc-string. Handle new format of
2617 quit-restore parameter. Don't delete window if it has a
2618 previous buffer we can show instead of the present one.
2619 (display-buffer-record-window): Rewrite using a new format for
2620 the quit-restore window parameter
2621 (special-display-popup-frame, display-buffer-same-window)
2622 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2623 (display-buffer-pop-up-window, display-buffer-use-some-window):
2624 Adapt symbol passed to display-buffer-record-window.
2625 * help.el (help-window-setup): Handle new format of quit-restore
2628 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * faces.el (face-list): Fix docstring (bug#9564).
2632 * window.el (display-buffer--action-function-custom-type):
2633 Don't include internal functions in the Custom interface.
2635 2011-09-20 Juri Linkov <juri@jurta.org>
2637 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
2638 (Info-forward-node, Info-backward-node, Info-next-preorder)
2639 (Info-last-preorder): Use it. (Bug#9528)
2641 2011-09-20 Juri Linkov <juri@jurta.org>
2643 * info.el (Info-last-preorder): Visit last menu item only when
2644 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
2646 2011-09-20 Julien Danjou <julien@danjou.info>
2648 * password-cache.el (password-cache-remove): Remove entries even if the
2649 value is nil, so that password with a nil value (negative caching) is
2650 possible to invalidate.
2652 2011-09-20 Lawrence Mitchell <wence@gmx.li>
2654 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
2655 all whitespace around breakpoint. (Bug#9553)
2656 (f90-find-breakpoint): Only break at whitespace inside a comment.
2658 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * minibuffer.el (completion-file-name-table): Keep track of errors.
2661 (completion-table-with-predicate): Handle the case where pred1 is nil.
2662 * pcomplete.el (pcomplete-completions-at-point): Simplify.
2664 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2666 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
2667 (debugger-return-value): Signal an error if the debugging context does
2668 not await any return value.
2670 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
2671 * image-mode.el (image-toggle-display-text)
2672 (image-toggle-display-image): Stay away from evil `intangible'.
2674 2011-09-19 Leo Liu <sdl.web@gmail.com>
2676 * replace.el (occur-revert-arguments): Make it permanent-local.
2677 (occur-mode): Don't call font-lock-defontify.
2679 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
2681 * net/ldap.el (ldap-search-internal): Don't push empty search
2684 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2686 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
2688 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
2690 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
2691 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
2693 2011-09-18 Juri Linkov <juri@jurta.org>
2695 * buff-menu.el (Buffer-menu-mode-map):
2696 * dired.el (dired-mode-map):
2697 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
2698 (lisp-interaction-mode-map):
2699 * emacs-lisp/package.el (package-menu-mode-map):
2700 * epa.el (epa-key-list-mode-map):
2701 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
2702 (menu-bar-options-menu):
2703 * outline.el (outline-mode-menu-bar-map):
2704 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
2705 * vc/vc-dir.el (vc-dir-menu-map):
2706 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
2707 Capitalize non-function content words in menu item strings.
2709 * dired.el (dired-mode-map): Add menu item for
2710 `image-dired-dired-toggle-marked-thumbs'.
2712 2011-09-18 Juri Linkov <juri@jurta.org>
2714 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
2715 to `isearch-case-fold-search' and restore its original value
2716 after the `isearch-mode' call.
2718 2011-09-18 Juri Linkov <juri@jurta.org>
2720 * progmodes/grep.el (grep-process-setup): Don't check code for 1
2721 because `zgrep' returns 1 for successful matches (bug#9226).
2723 2011-09-18 Juri Linkov <juri@jurta.org>
2725 * info.el (Info-extract-menu-node-name): Check the second match
2726 for empty string (second test-case of bug#9528).
2727 (Info-last-preorder): Let-bind `Info-history' to nil to not add
2728 intermediate nodes to the history (first test-case of bug#9528).
2730 2011-09-18 Juri Linkov <juri@jurta.org>
2732 * info.el (Info-mode-syntax-table): New variable.
2733 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
2735 2011-09-18 Juri Linkov <juri@jurta.org>
2737 * info.el (Info-file-supports-index-cookies):
2738 Increment line-beginning-position's arg from 3 to 4 because makeinfo
2739 outputs one more line for long file names (bug#4142).
2741 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2743 * newcomment.el (comment-normalize-vars): If prompting for
2744 comment-start, set comment-start-skip too (Bug#8424).
2746 2011-09-18 Johan Bockgård <bojohan@gnu.org>
2748 * icomplete.el: Fix previous fix of Bug#5849.
2749 (icomplete-mode): Don't set completion-show-inline-help.
2750 (icomplete-minibuffer-setup): Set completion-show-inline-help
2751 locally during icompletion.
2753 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
2755 * woman.el (woman2-process-escapes): Don't delete unrecognized
2758 * files.el (inhibit-first-line-modes-regexps): Add image files.
2759 (hack-local-variables-prop-line): Return nil for malformed
2760 prop-lines (Bug#9044).
2762 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
2764 * net/tramp.el (top): Don't require 'shell.
2765 (tramp-methods): Fix docstring.
2766 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
2767 Return complete remote file name. Handle "smb" case.
2768 Use `tramp-tmpdir', if defined for the respective method.
2769 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
2771 * net/tramp-compat.el (top): Require 'shell.
2773 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2774 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
2775 `tramp-current-host'.
2776 (tramp-get-remote-tmpdir): Remove.
2778 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
2779 `tramp-tmpdir' entries.
2780 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
2781 (tramp-smb-handle-file-attributes): Ignore errors.
2782 (tramp-smb-wait-for-output): Check also for process end.
2784 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
2787 when sending QUIT (bug#9312).
2789 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
2791 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
2792 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
2793 occur-mode-display-occurrence.
2794 (occur-edit-mode): Add usage message.
2795 (occur-cease-edit): New command.
2796 (occur-after-change-function): Use text properties to find the
2797 position of the prefix text.
2798 (occur-engine): Set stickiness of prefix text properties.
2800 2011-09-17 Glenn Morris <rgm@gnu.org>
2802 * progmodes/etags.el (complete-tag):
2803 Fix call to completion-in-region. (Bug#9526)
2805 2011-09-17 Juri Linkov <juri@jurta.org>
2807 * textmodes/ispell.el (ispell-word): Add to the error message
2808 the word, ispell program name and current dictionary (bug#9121).
2809 (ispell-tex-arg-end): Capitalize "error" in the error message.
2811 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2813 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
2816 2011-09-17 Juri Linkov <juri@jurta.org>
2818 * window.el (window-safe-min-height, window-safe-min-width):
2819 Fix typos (followup to bug#9522).
2821 2011-09-17 Sven Joachim <svenjoac@gmx.de>
2823 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
2825 2011-09-16 Eli Zaretskii <eliz@gnu.org>
2827 * simple.el (line-move): If goal-column is set, move by logical
2828 lines, not by display lines. (Bug#971)
2829 (next-line, previous-line, goal-column, line-move-visual): Doc fix
2830 to reflect the above change.
2832 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2834 * image.el (imagemagick-register-types): Use regexp-opt.
2836 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2838 * window.el (display-buffer-base-action): Rename from
2839 display-buffer-default-action. Make default value empty.
2840 (display-buffer-overriding-action): Convert to defvar.
2841 (display-buffer-fallback-action): New var.
2843 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
2845 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
2847 (package--add-to-archive-contents): If there is a duplicate entry
2848 with an older version, remove it.
2849 (package-menu-mark-delete, package-menu-mark-install)
2850 (package-menu-mark-unmark): Make unused args optional.
2851 (package-menu-mark-obsolete-for-deletion):
2852 Use package-menu-get-status instead of a regexp search.
2853 (package-menu-get-status): Use tabulated-list-entry.
2854 (package-menu-mark-upgrades): New command.
2855 (package-menu-mode-map): Bind it to U. Add it to menu bar.
2856 (package-menu-execute): Do installation before deletion.
2857 (package-menu-refresh, package-menu-execute): Use derived-mode-p
2858 instead of checking major-mode.
2859 (package-menu--find-upgrades): New function.
2861 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2863 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
2864 passwords in the log buffer.
2865 (smtpmail-process-filter): Update the process marker so that the
2866 "broken by peer" status message is inserted in the right place.
2868 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2870 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
2871 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
2872 bibtex-completion-at-point-function.
2873 (bibtex-completion-at-point-function): Use them.
2875 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2877 * mpc.el (mpc-constraints-tag-lookup): New function.
2878 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
2879 also to browser "album|playlist".
2881 2011-09-14 Juri Linkov <juri@jurta.org>
2883 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
2884 (isearch-edit-string): Use length of `isearch-string' when
2885 `isearch-fail-pos' returns nil.
2886 (isearch-message): Remove duplicate code and call
2887 `isearch-fail-pos' with arg `t'.
2889 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
2891 * replace.el (occur-mode-goto-occurrence): Don't force using other
2894 * dired-aux.el (dired-do-chmod): Don't provide initial input.
2896 2011-09-14 Martin Rudalics <rudalics@gmx.at>
2898 * window.el (display-buffer-window): Remove.
2899 (display-buffer-record-window): Use help-setup window parameter
2900 instead of variable display-buffer-window.
2901 (display-buffer-function, special-display-buffer-names)
2902 (special-display-function): Mention help-setup parameter instead
2903 of display-buffer-window in doc-string.
2904 * help.el (help-window-setup): New argument help-window.
2905 Use help-window-setup parameter instead of display-buffer-window.
2906 Reword some messages.
2907 (with-help-window): Pass window used for displaying the buffer
2908 to help-window-setup. Don't set display-buffer-window.
2910 2011-09-13 Glenn Morris <rgm@gnu.org>
2912 * emacs-lisp/debug.el (debugger-make-xrefs):
2913 Preserve point. (Bug#9462)
2915 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2917 * window.el (window-deletable-p): Use next-frame.
2919 2011-09-13 Martin Rudalics <rudalics@gmx.at>
2921 * window.el (window-auto-delete): Remove.
2922 (window-deletable-p): Remove argument FORCE. Don't deal with
2923 dedication and previous buffers.
2924 (switch-to-prev-buffer): Don't delete window.
2925 (delete-windows-on): Delete a window's frame if and only if the
2926 window is dedicated.
2927 (replace-buffer-in-windows): Delete buffer's window or frame if
2928 and only if window is dedicated.
2929 (quit-window): Handle quit-restore as before last change.
2930 (bury-buffer): Delete window only if window-deletable-p returns t.
2932 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
2934 * window.el (window-deletable-p): Never delete the last frame on a
2937 2011-09-13 Glenn Morris <rgm@gnu.org>
2939 * help.el (describe-key-briefly): Copy previous standard-output change.
2941 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
2943 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
2945 2011-09-13 Glenn Morris <rgm@gnu.org>
2947 * emacs-lisp/lisp-mode.el (lisp-indent-function):
2948 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
2950 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
2952 * dired-aux.el (dired-mark-read-string): Don't return default
2953 value on empty input (Bug#9361).
2954 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
2955 Omit initial minibuffer contents.
2956 (dired-do-chmod): Signal an error on empty input.
2957 (dired-mark-read-string): Don't return default on empty input.
2959 * files.el (file-modes-symbolic-to-number): Doc fix.
2961 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2963 * international/mule-cmds.el (ucs-completions): Remove.
2964 (read-char-by-name): Use complete-with-action instead; add metadata.
2966 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2968 * window.el (display-buffer--action-function-custom-type)
2969 (display-buffer--action-custom-type): New vars.
2970 (display-buffer-alist, display-buffer-default-action)
2971 (display-buffer-overriding-action): Add defcustom types.
2973 * frame.el (delete-other-frames): Doc fix (Bug#276).
2975 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2977 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
2979 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2981 Change modes that used same-window-* vars to use switch-to-buffer.
2983 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
2984 Use switch-to-buffer.
2986 * cus-edit.el (customize-group, custom-buffer-create)
2987 (customize-browse, custom-buffer-create-other-window):
2988 Use switch-to-buffer or switch-to-buffer-other-window.
2990 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
2991 (Info-prev, Info-up, Info-speedbar-goto-node)
2992 (info-display-manual): Use switch-to-buffer.
2993 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
2995 * mail/sendmail.el (mail): Use switch-to-buffer.
2996 (mail-recover): Use switch-to-buffer-other-window.
2998 * cmuscheme.el (run-scheme, switch-to-scheme):
3001 * net/rlogin.el (rlogin):
3002 * net/telnet.el (telnet, rsh):
3003 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3005 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3007 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3009 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3011 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3012 so don't mention it (bug#9301).
3013 (dired-sort-toggle-or-edit): Clarify string further.
3015 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3016 match `x', `w32' and `ns', like the manual says (bug#9029).
3018 * subr.el (eval-after-load): Doc string clarification (bug#9125).
3019 (process-kill-buffer-query-function): Mention the buffer name in
3022 * image-mode.el (image-next-line): The line parameter is mandatory
3025 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3026 which can be useful (bug#9301).
3028 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3030 * subr.el (match-string): Mention that the current buffer should
3031 be the same as the search was done in (bug#9282).
3033 * facemenu.el: Disable the remove-* commands if the mark isn't
3036 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3038 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3040 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3042 * replace.el (occur-mode-goto-occurrence)
3043 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3046 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3049 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3050 special-display and same-window variables.
3051 (mail-other-window): Use switch-to-buffer-other-window.
3052 (mail-other-frame): USe switch-to-buffer-other-frame.
3054 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3055 Use display-buffer-other-frame.
3056 (gdb-display-gdb-buffer): Use pop-to-buffer.
3058 * progmodes/gud.el (gud-goto-info): Use info-other-window.
3060 * progmodes/python.el: Don't set same-window-buffer-names.
3062 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
3064 * window.el (display-buffer-alist): Add *Python*.
3066 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3068 * window.el (display-buffer-alist): Add entry for buffers
3069 previously handled same-window-*.
3070 (display-buffer-alist, display-buffer-default-action)
3071 (display-buffer-overriding-action): Mark as risky.
3072 (display-buffer-alist): Document action function changes.
3073 (display-buffer--same-window-action)
3074 (display-buffer--other-frame-action): New variables.
3075 (switch-to-buffer, display-buffer-other-frame): Use them.
3076 (display-buffer): Rename reuse-frame entry to reusable-frames.
3077 (display-buffer-reuse-selected-window): Function deleted.
3078 (display-buffer-reuse-window): Handle reusable-frames alist entry.
3079 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
3080 (display-buffer-special): New function.
3081 (display-buffer--maybe-pop-up-frame-or-window): Rename from
3082 display-buffer-reuse-or-pop-window. Split off special-display
3083 part into display-buffer-special.
3084 (display-buffer-use-some-window): Don't perform any special
3085 pop-up-frames handling.
3086 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
3087 (display-buffer--maybe-same-window): Rename from
3088 display-buffer-maybe-same-window.
3090 * info.el: Don't set same-window-regexps.
3091 (info-setup): New function.
3092 (info-other-window, info): Call it.
3094 * cus-edit.el: Don't set same-window-regexps.
3095 (customize-group): New argument.
3096 (customize-group-other-window): Use it.
3097 (customize-face, customize-face-other-window): Likewise.
3098 (custom-buffer-create-other-window): Use pop-to-buffer directly.
3102 * progmodes/gud.el: Don't set same-window-regexps.
3108 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
3110 2011-09-10 Juri Linkov <juri@jurta.org>
3112 * isearch.el (isearch-edit-string): Remove obsolete mention of
3113 `C-w' (`isearch-yank-word-or-char') from docstring.
3114 (isearch-query-replace): Fix typo in docstring (bug#9466).
3116 2011-09-10 Juri Linkov <juri@jurta.org>
3118 * paren.el (show-paren-function): Don't show escaped parens.
3119 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
3121 2011-09-10 Eli Zaretskii <eliz@gnu.org>
3123 * mail/sendmail.el (mml-to-mime, mml-attach-file)
3124 (mm-default-file-encoding): Remove autoload forms, they are
3125 replaced with autoload cookies in mml.el and mm-encode.el.
3126 (mail-add-attachment): New command.
3127 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
3128 (mail-mode): Mention mail-insert-file and mail-add-attachment in
3130 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
3132 2011-09-10 Reuben Thomas <rrt@sc3d.org>
3134 * simple.el (count-words-region): Use buffer if there's no region
3137 2011-09-09 Juri Linkov <juri@jurta.org>
3139 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
3140 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
3141 (wdired-isearch-filter-read-only): New function. (Bug#6362)
3143 2011-09-09 Alan Mackenzie <acm@muc.de>
3145 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
3146 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
3148 2011-09-09 Eli Zaretskii <eliz@gnu.org>
3150 Fix for Savannah bug#9392.
3151 * simple.el (mail-encode-mml): New defvar.
3153 * mail/rmail.el (mail-encode-mml): Add a defvar.
3154 (rmail-enable-mime-composing): Default to t.
3155 (rmail-forward): Use MIME method of forwarding only if both
3156 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
3157 Set mail-encode-mml non-nil if the MIME method was used.
3159 * mail/sendmail.el (mml-to-mime): Add autoload form.
3160 (mail-encode-mml): Add a defvar.
3161 (mail-mode): Make mail-encode-mml buffer-local and initialize it
3163 (mail-send): If mail-encode-mml is non-nil, run the outgoing
3164 message through mml-to-mime, and reset mail-encode-mml to nil.
3166 2011-09-09 Glenn Morris <rgm@gnu.org>
3168 * woman.el (woman-if-body): When processing an .el block,
3169 do not delete the next .el block as well. (Bug#9447)
3170 (woman-special-characters): Add oq, cq, and hy characters.
3172 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3174 * window.el (window-deletable-p): Make sure window is live before
3175 invoking window-prev-buffers.
3177 2011-09-08 Leo Liu <sdl.web@gmail.com>
3179 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
3181 2011-09-08 Juri Linkov <juri@jurta.org>
3183 * progmodes/compile.el (compilation-environment): Make it
3184 a defcustom (bug#8340).
3186 2011-09-08 Martin Rudalics <rudalics@gmx.at>
3188 * window.el (frame-auto-delete): Rename to window-auto-delete.
3189 Make it control auto-deletion of windows and/or frames.
3190 (window-deletable-p): New argument FORCE. Rewrite conditions
3191 for deleting window/frame. (Bug#9419)
3192 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
3193 Rewrite handling of case when window/frame can be deleted.
3194 (delete-windows-on): Call window-deletable-p with new FORCE
3195 argument t. (Bug#9456)
3197 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
3199 * help-mode.el (help-mode): Restore autoload.
3201 2011-09-07 Juri Linkov <juri@jurta.org>
3203 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
3204 `compilation-environment'. Set buffer-local
3205 `compilation-environment' to `thisenv' later after (funcall mode).
3208 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
3209 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
3210 instead of replacing its value. (Bug#8340)
3212 2011-09-07 Juri Linkov <juri@jurta.org>
3214 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
3215 based on text properties put by `grep-filter' instead of matching
3217 (grep-mode): Set buffer-local `compilation-error-screen-columns'
3218 to the value of `grep-error-screen-columns' (bug#9438).
3220 2011-09-07 Juri Linkov <juri@jurta.org>
3222 * simple.el (next-error-highlight, next-error-highlight-no-select):
3225 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3227 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3228 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
3230 2011-09-07 Leo Liu <sdl.web@gmail.com>
3232 * net/rcirc.el (rcirc-mode): Conditionally initialize
3235 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * emacs-lisp/find-func.el (find-function-C-source): Only set
3238 find-function-C-source-directory after checking that we found a source
3239 file there (bug#9440).
3241 2011-09-06 Alan Mackenzie <acm@muc.de>
3243 * isearch.el (isearch-other-meta-char): Wherever a key list is
3244 unread, "unread" the prefix arg, too. This fixes bug #8901.
3246 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3248 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
3250 2011-09-05 Juri Linkov <juri@jurta.org>
3252 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
3254 2011-09-05 Juri Linkov <juri@jurta.org>
3256 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
3257 keeping point where processing of grep matches begins, and
3258 continue to delete remaining escape sequences from the same point.
3259 (grep-filter): Make leading zero optional in "0?1;31m" because
3260 git-grep emits "\033[1;31m" escape sequences unlike expected
3261 "\033[01;31m" as GNU Grep does (bug#9408).
3262 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
3264 2011-09-05 Juri Linkov <juri@jurta.org>
3266 * subr.el (y-or-n-p): Capitalize "yes".
3268 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
3270 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
3271 `tramp-cache-unload-hook' where appropriate.
3272 (tramp-methods): Rename `tramp-remote-sh' to
3273 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
3274 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
3276 * net/tramp-sh.el (top): Don't require 'shell.
3277 (tramp-methods): Add `tramp-remote-shell' and
3278 `tramp-remote-shell-args' entries.
3279 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
3280 (tramp-sh-handle-shell-command): Remove.
3281 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3282 Use `tramp-remote-shell'.
3284 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
3286 * mail/sendmail.el (sendmail-query-once-function): Delete.
3287 (sendmail-query-once): Save directly to send-mail-function.
3288 Update message-send-mail-function too.
3290 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
3292 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3294 * progmodes/python.el (python-mode-map): Use correct function to
3295 start python interpreter from menu-bar (as reported by Geert
3297 (inferior-python-mode-map): Fix typo.
3298 (python-shell-map): Remove.
3300 2011-09-03 Deniz Dogan <deniz@dogan.se>
3302 * net/rcirc.el (rcirc-print): Simplify code for
3303 rcirc-scroll-show-maximum-output. There is no need to walk
3304 through all windows to find the right one.
3306 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
3308 * help.el (help-return-method): Doc fix.
3310 2011-09-03 Martin Rudalics <rudalics@gmx.at>
3312 * window.el (window-deletable-p): Don't return a non-nil value
3313 when there's a buffer that was shown in the window before.
3315 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3316 Set window's previous buffers to nil.
3318 2011-09-03 Eli Zaretskii <eliz@gnu.org>
3320 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
3321 newline before and after the tag line, so it doesn't interfere
3322 with determining the paragraph direction of bidirectional text.
3324 2011-09-03 Leo Liu <sdl.web@gmail.com>
3326 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
3328 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
3330 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
3331 (pop-to-buffer): Change interactive spec. Pass second argument
3332 directly to display-buffer.
3333 (display-buffer): Fix interactive spec. Use functionp to
3334 distinguish between a function and a list of functions.
3336 * abbrev.el (edit-abbrevs):
3337 * arc-mode.el (archive-extract):
3338 * autoinsert.el (auto-insert):
3339 * bookmark.el (bookmark-bmenu-list):
3340 * files.el (find-file):
3341 * view.el (view-buffer):
3342 * progmodes/compile.el (compilation-goto-locus):
3343 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
3345 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
3347 * window.el (display-buffer-alist): Doc fix.
3348 (display-buffer): Add docstring. Don't treat
3349 display-buffer-default specially.
3350 (display-buffer-reuse-selected-window)
3351 (display-buffer-same-window, display-buffer-maybe-same-window)
3352 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3353 (display-buffer-pop-up-window)
3354 (display-buffer-reuse-or-pop-window)
3355 (display-buffer-use-some-window): New functions.
3356 (display-buffer-default-action): Use them.
3357 (display-buffer-default): Delete.
3358 (pop-to-buffer-1): Fix choice of actions.
3360 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * minibuffer.el (completion--insert-strings): Don't get confused by
3363 completion entries that end with an LF char.
3365 2011-09-01 Eli Zaretskii <eliz@gnu.org>
3367 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
3369 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
3371 * window.el (display-buffer): Restore interactive spec.
3372 (display-buffer-same-window, display-buffer-other-window):
3374 (pop-to-buffer-1): New function. Use the above.
3375 (pop-to-buffer, pop-to-buffer-same-window): Use it.
3376 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
3378 * view.el (view-buffer-other-window, view-buffer-other-frame):
3379 Just use pop-to-buffer.
3381 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3383 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
3385 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
3387 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
3389 2011-08-31 Richard Stallman <rms@gnu.org>
3391 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
3392 of the separation of rmail-view-buffer from rmail-buffer.
3393 If you say no to "replace original", the decrypt is in the
3394 view buffer. If you say yes, the decrypt goes into the
3397 2011-08-31 Martin Rudalics <rudalics@gmx.at>
3399 * window.el (display-buffer-window): Rewrite doc-string.
3400 (display-buffer-record-window): New function.
3401 (display-buffer-macro-specifiers)
3402 (display-buffer-even-window-sizes, display-buffer-set-height)
3403 (display-buffer-set-width, display-buffer-in-window)
3404 (display-buffer-reuse-window, display-buffer-split-specifiers)
3405 (display-buffer-side-specifiers, display-buffer-split-window-1)
3406 (display-buffer-split-window, display-buffer-split-atom-window)
3407 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
3408 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
3409 (display-buffer-other-window-means-other-frame)
3410 (display-buffer-normalize-special)
3411 (display-buffer-normalize-default)
3412 (display-buffer-normalize-argument)
3413 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
3414 (display-buffer-normalize-specifiers, display-buffer-frame)
3415 (display-buffer-same-window, display-buffer-same-frame)
3416 (display-buffer-other-window)
3417 (display-buffer-same-frame-other-window)
3418 (display-buffer-other-frame, pop-to-buffer-same-window)
3419 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
3420 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
3421 (switch-to-buffer-same-frame)
3422 (switch-to-buffer-other-window-same-frame)
3423 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
3424 (display-buffer-alist-set-1, display-buffer-alist-set-2)
3425 (display-buffer-alist-set): Remove.
3426 (display-buffer-function, special-display-buffer-names)
3427 (special-display-regexps, special-display-function):
3428 In doc-string refer to display-buffer-window and quit-restore
3430 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
3431 (special-display-frame-alist, special-display-popup-frame)
3432 (same-window-buffer-names, same-window-regexps, same-window-p)
3433 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3434 (split-window-preferred-function, split-height-threshold)
3435 (split-width-threshold, window-splittable-p)
3436 (split-window-sensibly, window--try-to-split-window)
3437 (window--frame-usable-p, even-window-heights)
3438 (window--even-window-heights, window--display-buffer-1)
3439 (window--display-buffer-2, display-buffer-other-frame):
3440 Restore old Emacs 23 code, order and doc-strings where applicable.
3441 (display-buffer-default, display-buffer-assq-regexp): New functions.
3442 (display-buffer-alist): Rewrite doc-string.
3443 (display-buffer-default-action)
3444 (display-buffer-overriding-action): New variables.
3445 (display-buffer, switch-to-buffer): Rewrite.
3446 (pop-to-buffer): Restore Emacs 23 behavior but use
3447 window-normalize-buffer-to-display.
3448 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
3449 Restore Emacs 23 behavior but use
3450 window-normalize-buffer-to-switch-to.
3451 (pop-to-buffer-same-window): Rewrite.
3452 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
3453 Rewrite using Emacs 23 options.
3455 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp.el (tramp-root-regexp): Remove.
3458 (tramp-completion-file-name-regexp-unified)
3459 (tramp-completion-file-name-regexp-separate)
3460 (tramp-completion-file-name-regexp-url): Don't use leading volume
3461 letter on win32 systems. (Bug#5303, Bug#9311)
3462 (tramp-drop-volume-letter): Simplify definition.
3463 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3465 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
3470 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
3472 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
3474 2011-08-29 Juri Linkov <juri@jurta.org>
3476 * isearch.el (isearch-done): Don't display message "Mark saved"
3477 when arg `edit' is non-nil to prevent its flicker in the echo area.
3479 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
3481 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
3482 obsolete packages for deletion.
3484 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3486 * help-mode.el (help-mode-map): Add special-mode-map to parent.
3487 (help-mode): Derive help-mode from special-mode. Don't invoke
3488 view-mode from help-mode.
3489 (help-xref-override-view-map): Remove.
3490 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
3491 view-mode is not used anymore.
3493 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
3495 * server.el (server-port): Doc fix.
3497 * cus-theme.el (custom-theme-choose-mode): Inherit from
3498 special-mode (Bug#9124).
3499 (custom-theme-choose-mode-map): Add special-mode to parent.
3501 2011-08-28 Alan Mackenzie <acm@muc.de>
3503 * progmodes/cc-fonts.el
3504 (c-make-font-lock-BO-decl-search-function): New function.
3505 (c-basic-matchers-after - "Fontify the clauses after various
3506 keywords"): Extract the three keyword lists for the 3 erroneous
3507 constructs from the list of four, and use the new function above
3508 in place of an old one.
3510 2011-08-28 Deniz Dogan <deniz@dogan.se>
3512 * net/rcirc.el (rcirc-insert-prev-input)
3513 (rcirc-insert-next-input): Remove unused argument.
3515 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
3519 2011-08-27 Alan Mackenzie <acm@muc.de>
3521 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
3522 handle function pointer parameters properly.
3524 2011-08-27 Martin Rudalics <rudalics@gmx.at>
3526 * window.el (display-buffer-reuse-window): Fix case where
3527 selected window was reused with non-nil OTHER-WINDOW argument.
3530 2011-08-27 Deniz Dogan <deniz@dogan.se>
3532 * net/rcirc.el (rcirc-check-auth-status): Adding support for
3533 oftc's NickServ messages.
3535 2011-08-27 Glenn Morris <rgm@gnu.org>
3537 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
3539 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
3541 * emacs-lisp/package.el (package-install): Call package-initialize
3542 if called interactively.
3544 2011-08-26 Leo Liu <sdl.web@gmail.com>
3546 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
3548 2011-08-25 Juri Linkov <juri@jurta.org>
3550 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
3551 `search-whitespace-regexp' (bug#9364).
3553 2011-08-25 Juri Linkov <juri@jurta.org>
3555 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
3556 `regexp-search-ring' to their global values to protect from
3557 updating by `read-from-minibuffer' (bug#9185).
3559 2011-08-25 Juri Linkov <juri@jurta.org>
3561 * textmodes/ispell.el (ispell-command-loop): Add newline
3562 at the end of the "Use option `i'..." line.
3564 2011-08-25 Juri Linkov <juri@jurta.org>
3566 * battery.el (display-battery-mode): If `battery-status-function'
3567 or `battery-mode-line-format' is nil, display the message and set
3568 `display-battery-mode' to nil (bug#9363).
3570 2011-08-25 Eli Zaretskii <eliz@gnu.org>
3572 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
3573 bidi-string-mark-left-to-right; they are unnecessary now.
3575 2011-08-25 Deniz Dogan <deniz@dogan.se>
3577 * net/quickurl.el: Documentation typo fixes.
3579 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
3581 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
3583 2011-08-25 Glenn Morris <rgm@gnu.org>
3585 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
3587 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
3588 (smtpmail-via-smtp): Handle nil response from smtp.
3590 2011-08-24 Juri Linkov <juri@jurta.org>
3592 * proced.el (proced-marked): Inherit from `error' instead of
3593 `font-lock-warning-face'.
3595 * ibuffer.el (ibuffer-marked-face): Change default face from
3596 `font-lock-warning-face' to `warning'.
3597 (ibuffer-deletion-face): Change default face from
3598 `font-lock-type-face' to `error'.
3600 * battery.el (battery-update): Use the face `error' instead of
3601 `font-lock-warning-face' (bug#6117).
3603 2011-08-24 Juri Linkov <juri@jurta.org>
3605 * faces.el (success): Change face color from "Green3" to
3606 "ForestGreen" on light background (bug#9353).
3608 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
3610 * window.el (quit-window): Rename from quit-restore-window.
3611 Use same arglist as old quit-window.
3612 (frame-auto-delete): Doc fix.
3614 * view.el (view-mode-exit): Use quit-window.
3616 2011-08-24 Juri Linkov <juri@jurta.org>
3618 * isearch.el (isearch-ring-adjust1): Start visiting previous
3619 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
3620 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
3621 for empty search string (when the last search string is reused
3622 automatically) to adjust the isearch ring to the last element and
3623 prepare the correct index for further M-p commands (bug#9185).
3625 2011-08-24 Kenichi Handa <handa@m17n.org>
3627 * international/ucs-normalize.el: If decomposition property of
3628 CHAR is the default one (i.e. a list of CHAR itself), treat it as
3630 (nfd, nfkd): Likewise.
3632 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
3635 from process filters aren't reliably transmitted to the surrounding
3636 accept-process-output.
3637 (mpc-proc-check): New function.
3638 (mpc-proc-sync): Use it (bug#8293)
3640 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
3643 Add compatibility functions (bug#9313).
3645 2011-08-23 Eli Zaretskii <eliz@gnu.org>
3647 * cus-start.el (all): Add entry for bidi-paragraph-direction.
3649 * international/uni-bidi.el: Regenerated.
3651 2011-08-23 Kenichi Handa <handa@m17n.org>
3653 * international/charprop.el:
3654 * international/uni-bidi.el:
3655 * international/uni-category.el:
3656 * international/uni-combining.el:
3657 * international/uni-comment.el:
3658 * international/uni-decimal.el:
3659 * international/uni-decomposition.el:
3660 * international/uni-digit.el:
3661 * international/uni-lowercase.el:
3662 * international/uni-mirrored.el:
3663 * international/uni-name.el:
3664 * international/uni-numeric.el:
3665 * international/uni-old-name.el:
3666 * international/uni-titlecase.el:
3667 * international/uni-uppercase.el: Regenerate.
3669 2011-08-23 Martin Rudalics <rudalics@gmx.at>
3671 * help.el (help-window-setup): Fix message displayed when other
3672 window is reused. (Bug#9341)
3674 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
3677 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
3679 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
3681 * shell.el (shell-parse-pcomplete-arguments): New function.
3682 (shell-completion-vars): Use it instead (bug#9160).
3684 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
3687 strings and comments (bug#9333).
3689 * emacs-lisp/debug.el (debug-arglist): New function.
3690 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
3691 (debug-on-entry-1): Handle interpreted closures (bug#9120).
3693 2011-08-22 Juri Linkov <juri@jurta.org>
3695 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3696 Revert regexp that highlights output switches to its old
3697 pre-2010-10-28 value and remove one `?' from it (bug#9319).
3699 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
3700 to check for empty output (bug#9226).
3702 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
3704 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
3705 symbol-constituent as the default, as that stops font-lock from
3706 working properly (Bug#8843).
3708 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3710 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
3711 `coding-system-for-*' around the process open call to avoid
3712 auth-source side effects.
3713 (smtpmail-try-auth-methods): Expand the secret password.
3714 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
3717 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3719 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
3721 * emacs-lisp/find-func.el (find-function-noselect): New arg
3724 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
3725 signal an error for built-in functions (Bug#6664).
3727 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3729 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
3730 (smtpmail-try-auth-methods): Use it.
3732 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
3734 * font-lock.el (font-lock-fontify-region)
3735 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
3736 (font-lock-default-unfontify-buffer)
3737 (font-lock-default-fontify-region)
3738 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
3740 * progmodes/compile.el (compilation-error-properties):
3741 Fix confusion between file struct and message struct (Bug#9319).
3742 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
3745 * net/browse-url.el (browse-url-firefox): Don't call
3746 browse-url-firefox-sentinel unless using -remote (Bug#9328).
3748 2011-08-20 Glenn Morris <rgm@gnu.org>
3750 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
3752 * tutorial.el (tutorial--default-keys): Update some default bindings.
3754 * files.el (hack-local-variables): Fully ignore case for "mode:".
3756 2011-08-20 Alan Mackenzie <acm@muc.de>
3758 Resolve invalid use of a regexp in regexp-opt.
3760 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
3761 detection for a java annotation.
3763 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
3764 detection for a java annotation.
3766 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
3768 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
3770 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
3772 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
3775 2011-08-20 Alan Mackenzie <acm@muc.de>
3777 Fontify CPP expressions correctly when starting in the middle of
3778 such a construct. Mainly for when jit-lock etc. starts a chunk
3781 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
3783 (c-make-font-lock-search-form): New function, extracted from
3784 c-make-font-lock-search-function.
3785 (c-make-font-lock-search-function): Use the above function.
3786 (c-make-font-lock-context-search-function): New function.
3787 (c-cpp-matchers): Enhance the preprocessor expression case with
3789 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
3790 which takes an expression.
3792 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
3794 2011-08-20 Martin Rudalics <rudalics@gmx.at>
3796 * window.el (display-buffer-reuse-window)
3797 (display-buffer-pop-up-window): Don't reuse or split a side
3800 2011-08-19 Glenn Morris <rgm@gnu.org>
3802 * files.el (hack-local-variables-prop-line, hack-local-variables):
3803 Downcase "Mode:". (Bug#9331)
3805 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
3807 * international/characters.el: Add L and R categories.
3809 * subr.el (bidi-string-mark-left-to-right): Rename from
3810 string-mark-left-to-right. Use category search.
3812 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
3814 2011-08-18 Juri Linkov <juri@jurta.org>
3816 * faces.el (error, warning, success): New faces with definitions
3817 copied from old default values of `font-lock-warning-face',
3818 `compilation-warning', `compilation-info' (bug#6117).
3820 * font-lock.el (font-lock-warning-face): Inherit from `error'.
3822 * progmodes/compile.el (compilation-error): Inherit from `error'.
3823 (compilation-warning): Inherit from `warning'.
3824 (compilation-info): Inherit from `success'.
3826 * dired.el (dired-marked): Inherit from `warning'.
3827 (dired-flagged): Inherit from `error'.
3829 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3831 * mail/smtpmail.el (auth-source): Require to avoid problems with
3832 binding variables (bug#9298). Also clean up some unused
3835 * net/network-stream.el (network-stream-open-starttls):
3836 Support using starttls.el without using gnutls-cli.
3838 2011-08-17 Juri Linkov <juri@jurta.org>
3840 * progmodes/grep.el (rgrep): Handle the case when
3841 `grep-find-command' is a cons cell (bug#9278).
3843 2011-08-17 Martin Rudalics <rudalics@gmx.at>
3845 * window.el (display-buffer-pop-up-frame): Run frame creation
3846 function with BUFFER current (as special-display-popup-frame
3847 does). Reported by Drew Adams.
3849 2011-08-17 Daiki Ueno <ueno@unixuser.org>
3851 * epa-mail.el: Simplify GnuPG group expansion using
3853 (epa-mail-group-alist, epa-mail-group-modtime)
3854 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
3855 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
3856 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
3859 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
3861 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
3863 2011-08-16 Alan Mackenzie <acm@muc.de>
3865 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
3866 Correct, to avoid the inside of macros.
3868 2011-08-16 Richard Stallman <rms@gnu.org>
3870 * epa-mail.el: Handle GnuPG group definitions.
3871 (epa-mail-group-alist, epa-mail-group-modtime)
3872 (epa-mail-gnupg-conf-file): New variables.
3873 (epa-mail-parse-groups, epa-mail-sync-groups)
3874 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
3875 (epa-mail-expand-recipients): New functions.
3876 (epa-mail-encrypt): Call epa-mail-expand-recipients.
3878 * mail/rmail.el (rmail-epa-decrypt): New command.
3880 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
3881 Don't bind buffer-read-only, just inhibit-read-only.
3882 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
3883 (epa-decrypt-armor-in-region): Make error message clearer.
3885 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
3888 and "a2b" to "ab" for `prefix'.
3890 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
3892 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
3894 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
3895 Fourquet (Bug#8804).
3897 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
3899 * startup.el (argi): Declare as global variable (bug#9275).
3901 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
3903 * subr.el (string-mark-left-to-right): Search the entire string
3904 for RTL script, not just the terminating character. Doc fix.
3906 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
3910 (js--regexp-literal, js-syntax-propertize-function): Remove.
3911 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
3912 (js-mode-map): Don't rebind electric keys.
3913 (js-insert-and-indent): Remove.
3914 (js-mode): Setup electric-layout and electric-indent instead.
3916 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
3918 2011-08-12 Daiki Ueno <ueno@unixuser.org>
3920 * epa.el (epa-progress-callback-function): Fix the logic of
3921 displaying progress.
3922 * epa-file.el (epa-file-insert-file-contents): Make progress
3923 display more user-friendly.
3924 (epa-file-write-region): Ditto.
3926 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
3928 * subr.el (string-mark-left-to-right): New function.
3930 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
3931 Use string-mark-left-to-right.
3932 (list-buffers-noselect): Caller changed.
3934 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3935 Use string-mark-left-to-right.
3936 (tabulated-list-print): Recenter after moving point.
3938 2011-08-10 Juri Linkov <juri@jurta.org>
3940 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
3941 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
3942 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
3944 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
3946 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
3949 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3951 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
3952 character. (Bug#6594)
3954 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
3956 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
3957 (image-dired--with-db-file): New macro.
3958 (image-dired-write-tags, image-dired-remove-tag)
3959 (image-dired-create-gallery-lists, image-dired-write-comments)
3960 (image-dired-get-comment, image-dired-mark-tagged-files)
3961 (image-dired-list-tags, image-dired-gallery-generate): Use it.
3962 (image-dired-gallery-generate): Use insert-file-contents.
3964 * time.el (display-time-world-list, display-time-world-display):
3965 * time-stamp.el (time-stamp-string):
3966 * vc/add-log.el (add-change-log-entry): Use setenv instead of
3967 set-time-zone-rule (Bug#7337).
3969 2011-08-08 Daiki Ueno <ueno@unixuser.org>
3971 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
3972 (epg-error-to-string, epg-errors-to-string): New function.
3973 (epg-wait-for-completion): Reverse errors list.
3974 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
3975 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
3976 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
3977 (epg-sign-keys, epg-generate-key-from-file)
3978 (epg-generate-key-from-string): Format errors by using
3979 epg-errors-to-string (bug#9255).
3980 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
3982 2011-08-07 Juri Linkov <juri@jurta.org>
3984 * faces.el (list-faces-display): Remove extra angle bracket
3985 from `help-mode-map'.
3987 * info.el (Info-history-toc-nodes): Doc fix.
3989 * longlines.el (longlines-mode): Doc fix.
3991 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
3994 of statements and in a few more cases (bug#9183).
3996 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
3998 (cl-transform-lambda): Use them (bug#9239).
4000 2011-08-05 Martin Rudalics <rudalics@gmx.at>
4002 * window.el (display-buffer-same-window)
4003 (display-buffer-same-frame, display-buffer-other-window)
4004 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4005 (pop-to-buffer-other-window)
4006 (pop-to-buffer-same-frame-other-window)
4007 (pop-to-buffer-other-frame): Make them defuns.
4008 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4010 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4012 * subr.el (make-composed-keymap): Move from C. Change calling
4013 convention, and improve docstring to bring attention to a subtle point.
4014 * minibuffer.el (completing-read-default): Adjust accordingly.
4016 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
4018 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4019 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4021 * net/trampver.el: Update release number.
4023 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4025 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4028 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4030 * mail/sendmail.el (sendmail-query-once): Restore the current
4031 buffer after querying (bug#9074).
4033 * dired.el (dired-flagged): Use different faces for marked and
4034 flagged files (bug#6117).
4036 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4039 * ido.el (ido-mode): Switch off the message if called
4042 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4043 before 587, since it appears that that's more likely to work for
4046 * cus-edit.el (custom-file): When running under emacs -q, always
4047 refuse to save the customizations, even if the .emacs file doesn't
4050 * info.el: Remove the `Info-beginning-of-buffer' function
4053 * net/network-stream.el (network-stream-open-starttls):
4054 Use `starttls-available-p' to see whether starttls.el can be used.
4056 2011-08-01 Martin Rudalics <rudalics@gmx.at>
4058 * window.el (display-buffer-in-window): Don't set dedicated status
4059 of window here (Bug#9215).
4060 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4061 (display-buffer-pop-up-side-window)
4062 (display-buffer-in-side-window): Set dedicated status of window here.
4064 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
4067 before binding generated-autoload-file.
4069 2011-08-01 Deniz Dogan <deniz@dogan.se>
4071 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
4073 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
4075 Sync with Tramp 2.2.2.
4077 * net/trampver.el: Update release number.
4079 2011-07-30 Juri Linkov <juri@jurta.org>
4081 * dired-aux.el (dired-touch-initial): Remove function.
4082 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
4083 current time, and `default' to the last modification time of the
4084 current marked file (bug#6887).
4086 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
4088 * simple.el (goto-line): Use string-to-number to provide a
4089 numeric argument to read-number (bug#9163).
4091 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
4093 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
4094 connection process, it could be nil.
4096 2011-07-27 Leo Liu <sdl.web@gmail.com>
4098 Simplify url handling in rcirc-mode.
4100 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
4101 (rcirc-browse-url-at-mouse): Remove.
4102 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
4104 2011-07-26 Alan Mackenzie <acm@muc.de>
4106 Fontify bitfield declarations properly.
4108 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
4109 (c-symbol-chars): Now exported as a lang variable.
4110 (c-not-primitive-type-keywords): New lang variable.
4112 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
4113 QT keyword "more" to prevent "more slots: ...." being spuriously
4114 parsed as a bitfield declaration.
4116 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4117 Refactor and enhance to handle bitfield declarations.
4118 (c-punctuation-in): New function.
4119 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
4120 declarations properly.
4122 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
4124 * calendar/icalendar.el (icalendar--all-events): Take care of
4125 multiple vcalendars in a single file.
4126 (icalendar--convert-float-to-ical): Checkdoc fixes.
4128 2011-07-25 Deniz Dogan <deniz@dogan.se>
4130 * image.el (insert-image): Clarifying docstring.
4132 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
4134 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
4135 `tramp-send-command-and-check' if there is no error.
4136 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
4138 2011-07-22 Alan Mackenzie <acm@muc.de>
4140 Prevent cc-langs.elc being loaded at run time.
4142 * progmodes/cc-mode.el: Remove two autoload forms which loaded
4145 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
4146 "(require 'cc-langs)". Quote a form so it will evaluate at
4147 (cc-mode's) compilation time.
4149 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
4151 * net/tramp.el (tramp-file-name-handler): Avoid recursive
4154 2011-07-21 Martin Rudalics <rudalics@gmx.at>
4156 * window.el (display-buffer-pop-up-window)
4157 (display-buffer-pop-up-side-window)
4158 (display-buffer-in-side-window): Call display-buffer-set-height
4159 and display-buffer-set-width after setting the new window's
4160 buffer so `fit-window-to-buffer' and friends work on the right buffer.
4162 2011-07-20 Sam Steingold <sds@gnu.org>
4164 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
4165 (etags-tags-included-tables): Call `convert-standard-filename' on
4166 the file names contained in TAGS so that windows Emacs can handle
4167 TAGS files created by cygwin ctags.
4169 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4171 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
4172 which apparently didn't work.
4174 2011-07-19 Roland Winkler <winkler@gnu.org>
4176 * proced.el (proced-send-signal): For *Marked Processes* buffer
4177 put point at beginning of buffer.
4179 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
4181 * proced.el (proced-format): Make header lines align with the text
4184 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4186 * view.el (view-buffer): Allow running in `special' modes if we're
4187 visiting a file (bug#8615).
4189 2011-07-19 Martin Rudalics <rudalics@gmx.at>
4191 * window.el (display-buffer-alist-of-strings-p)
4192 (display-buffer-alist-set-1, display-buffer-alist-set-2):
4194 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
4197 2011-07-18 Alan Mackenzie <acm@muc.de>
4199 Fontify declarators properly when, e.g., a jit-lock chunk begins
4200 inside a declaration.
4202 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
4204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4206 (c-complex-decl-matchers): Insert reference to
4207 c-font-lock-enclosing-decls.
4209 * progmodes/cc-engine.el (c-backward-single-comment):
4210 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
4211 to nil around calls to (forward-comment -1).
4213 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4215 * image.el (put-image): Doc typo fix.
4217 * progmodes/etags.el (tags-search): Doc typo fix.
4219 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
4220 password if we get errors 550 to 554.
4222 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4224 * net/gnutls.el (gnutls-log-level): Remove.
4226 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
4227 indentation character (bug#6380).
4229 * files.el (buffer-offer-save): Made permanently local (bug#6241).
4231 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
4232 to clarify what the problem is (bug#4291).
4234 * simple.el (current-kill): Clarify what
4235 `interprogram-paste-function' does (bug#7500).
4236 (auto-fill-mode): Document `auto-fill-function' in relation to
4237 `auto-fill-mode' (bug#2470).
4239 2011-07-16 Lawrence Mitchell <wence@gmx.li>
4241 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
4242 method if slot is read-only (bug#9035).
4244 2011-07-16 Martin Rudalics <rudalics@gmx.at>
4246 * frame.el (select-frame-set-input-focus): New argument NORECORD.
4247 * window.el (pop-to-buffer): Select window used even if it was
4248 selected before, see discussion of (Bug#8615), (Bug#6954).
4249 Pass argument NORECORD on to select-frame-set-input-focus.
4251 2011-07-15 Glenn Morris <rgm@gnu.org>
4253 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
4256 2011-07-09 Lawrence Mitchell <wence@gmx.li>
4258 * net/gnutls.el (gnutls-min-prime-bits): New variable.
4259 (gnutls-negotiate): Use it.
4261 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4263 * net/gnutls.el (gnutls-negotiate):
4264 Upcase `gnutls-algorithm-priority'.
4266 2011-07-15 Glenn Morris <rgm@gnu.org>
4268 * jka-compr.el (jka-compr-verbose): Move from here...
4269 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
4270 Add missing :version tag.
4271 * info.el: No need to require jka-compr when compiling.
4273 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4275 * net/gnutls.el (gnutls-algorithm-priority): New variable.
4276 (gnutls-negotiate): Use it.
4278 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
4280 * info.el (Info-beginning-of-buffer): New command.
4281 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
4282 announcing `b' as the key (bug#8325).
4283 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
4285 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
4287 * international/mule-cmds.el
4288 (describe-specified-language-support): Make the error message
4291 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
4293 * isearch.el (isearch-barrier): Add a doc string, since it's
4294 mentioned in a function doc string (bug#8678).
4296 2011-07-15 Martin Rudalics <rudalics@gmx.at>
4298 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
4299 buffer argument (Bug#9083) and self-identifying label argument.
4301 2011-07-15 Glenn Morris <rgm@gnu.org>
4303 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
4305 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4307 * man.el (Man-fontify-manpage): Fix message when formatting the
4308 man page (bug#7929).
4310 2011-07-14 Eli Zaretskii <eliz@gnu.org>
4312 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
4313 argument LRM; if non-nil, append an invisible LRM character to the
4315 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
4316 last argument non-nil, when formatting buffer names.
4317 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
4318 paragraph direction.
4320 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
4322 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
4323 the man page name (bug#7929).
4325 * image.el (put-image): Mention the `put-image' overlay property
4328 * scroll-bar.el (set-scroll-bar-mode): Mention that
4329 `scroll-bar-mode' lists the values (bug#7772).
4331 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
4334 * rect.el (apply-on-rectangle): Return the point after the last
4336 (string-rectangle): Go to the point after the last operation
4339 * printing.el (pr-toggle-region): Clarify the documentation
4340 slightly (bug#7493).
4342 * time.el (display-time-update):
4343 Allow `display-time-mail-function' to return nil (bug#7158).
4344 Fix suggested by Detlev Zundel.
4346 * vc/diff.el (diff): Clarify the order the file names are read
4349 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
4350 the doc string (bug#7015).
4352 * font-lock.el (font-lock-maximum-decoration): Mention what
4353 numeric levels mean (bug#6935).
4355 * startup.el (initial-buffer-choice): Don't mention the `none'
4356 selection, which is against policy.
4358 2011-07-14 Martin Rudalics <rudalics@gmx.at>
4360 * window.el (display-buffer-normalize-special):
4361 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
4363 2011-07-14 Eli Zaretskii <eliz@gnu.org>
4365 * subr.el (version<, version<=, version=): Mention "-CVS" and
4366 "-12345" alpha version numbers.
4368 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
4370 * bindings.el: Add advertised binding for set-mark-command
4373 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
4375 * bindings.el (mode-line-other-buffer):
4376 * bookmark.el (bookmark-bmenu-2-window):
4377 * bs.el (bs-cycle-next, bs-cycle-previous):
4378 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
4381 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4384 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
4386 * follow.el (follow-debug-message, follow-redisplay):
4387 * jka-cmpr-hook.el (with-auto-compression-mode):
4388 Fix typos in docstrings.
4390 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4392 * subr.el (with-silent-modifications): Clarify somewhat what the
4393 macro inhibits (bug#6525).
4395 * simple.el (eval-expression): Note what it does if called
4396 interactively (bug#6495).
4398 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
4400 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
4401 Use pop-to-buffer buffer-or-name if it is nil.
4403 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4404 Remove switch-to-buffer.
4406 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4408 * files.el (make-directory): Clarify that an error will be raised
4409 if there's an error (bug#6397).
4411 * startup.el (initial-buffer-choice): Add `none' as a choice
4414 * subr.el (add-hook): Clarify section about buffer-local hooks
4417 * dired.el (dired-flagged): Clarify doc string (bug#6117).
4419 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
4421 * tabify.el (untabify): Preserve the current column so that point
4422 doesn't move (bug#6032).
4424 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4426 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
4427 Rewrite to avoid awkward possessive "s" (bug#5986).
4429 2011-07-13 Glenn Morris <rgm@gnu.org>
4431 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
4432 (dired-insert-directory): Give a message the first time
4433 if ls is found not to support --dired.
4435 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4437 * simple.el (toggle-truncate-lines): Clarify what is toggled
4438 (bug#5580). Text by Drew Adams.
4440 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
4442 * simple.el (blink-matching-open): Make the error message from the
4443 last change less verbose.
4445 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
4447 * font-lock.el (font-lock-comment-face): Use the high contrast
4448 "yellow" color for font-lock-comment-face on low color terminals
4449 using a dark background color (bug#4221).
4451 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4453 * dired.el (dired-insert-set-properties): Make the doc string
4454 reflect what it does now (bug#5325).
4456 * simple.el (blink-matching-open): Say that we were unable to find
4457 the match within the limit, if we're limited (bug#5122).
4459 * international/mule-cmds.el (prefer-coding-system): Add an
4462 * progmodes/etags.el (tags-search): Document `file-list-form'
4465 2011-07-13 Lawrence Mitchell <wence@gmx.li>
4467 * net/browse-url.el (browse-url-default-browser)
4468 (browse-url-browser-function): Make the default browser choice a
4469 bit more logical (bug#4300). Also clean up the doc string.
4471 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
4473 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
4474 binary endings (bug#4440).
4476 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4478 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
4479 which can be pretty annoying (bug#8971).
4481 * jka-compr.el (jka-compr-verbose): New variable, and use
4482 throughout (bug#8971).
4484 * info.el (Info-find-file): Fall back on the installation
4485 directory if we can't find the info node anywhere else.
4487 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
4489 * vc/vc.el (vc-revert-file):
4490 Don't set file time-stamp in the past. (Bug#5181)
4492 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494 * files.el (after-find-file): Give a better error message when
4495 trying to find a symlink that points to a file that doesn't exist
4498 * progmodes/cc-vars.el: Remove (probably) misleading comment
4501 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4503 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
4505 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4507 * mouse-sel.el: Hack restoring functionality, while keeping
4508 compatibility with 2010-07-03 changes to mouse selection.
4509 (mouse-sel-primary-overlay): New var.
4510 (mouse-sel-selection-alist): Use it.
4511 (mouse-sel-mode): Doc fix; remove points that are default features
4514 2011-07-12 Johan Bockgård <bojohan@gnu.org>
4516 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4517 Fix previous fix (bug#2490).
4519 2011-07-12 Roland Winkler <winkler@gnu.org>
4521 * textmodes/bibtex.el (bibtex-initialize):
4522 Use pop-to-buffer-same-window.
4523 (bibtex-search-entries): Fix interactive call.
4525 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4527 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4528 Fontise bytecomp Error lines more correctly (bug#2490).
4529 Fix suggested by Johan Bockgård.
4531 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
4533 * dired-x.el (dired-guess-default): Use `delete-dups'.
4535 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
4537 * dired.el (dired-mark-prompt):
4538 * dired-aux.el (dired-read-shell-command): Doc fix.
4540 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4542 * mail/sendmail.el (sendmail-query-once):
4543 Use `customize-save-variable' unconditionally, now that it works under
4546 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4548 * cus-edit.el (custom-file): Take an optional no-error variable.
4549 (customize-save-variable): Set the variable, and give a warning if
4550 running under "emacs -q".
4552 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
4554 * loadhist.el (unload-feature-special-hooks):
4555 Add `auto-coding-functions', `fill-nobreak-predicate' and
4556 `find-directory-functions' (bug#5327).
4558 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4560 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
4562 * cus-edit.el (custom-guess-name-alist): -alist variables should
4563 use the `alist' type (bug#3120). Suggested by Drew Adams.
4565 * printing.el: Add documentation to all the `pr-toggle-' commands.
4567 2011-07-11 Leo Liu <sdl.web@gmail.com>
4569 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
4570 backends where it makes sense (bug#2623).
4572 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4574 * dired-x.el (dired-guess-default): Remove duplicate shell command
4576 (dired-guess-default): Fix grammar in doc string (bug#2028).
4577 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
4579 * subr.el (remove-duplicates): New conveniency function.
4581 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4583 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
4586 2011-07-10 Martin Rudalics <rudalics@gmx.at>
4588 * window.el (display-buffer-normalize-default): Don't invert
4589 meaning of even-window-heights. Reported by Eli Zaretskii
4592 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
4594 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
4596 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
4598 * window.el (display-buffer): Fix arguments to
4599 display-buffer-reuse-window in last change.
4601 * faces.el (link): Use a less saturated blue on light backgrounds.
4603 * startup.el (fancy-startup-text, fancy-about-text)
4604 (fancy-startup-tail): Use font-lock faces, for background safety.
4606 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
4608 * emulation/viper-cmd.el (viper-change-state-to-vi):
4609 Limit triggering of abbrev expansion (Bug#9038).
4611 2011-07-09 Martin Rudalics <rudalics@gmx.at>
4613 * window.el (display-buffer-default-specifiers): Remove.
4614 (display-buffer-macro-specifiers): Remove default specifiers.
4615 (display-buffer-alist): Default to nil.
4616 (display-buffer-reuse-window): New optional argument other-window.
4617 (display-buffer-pop-up-window): Allow splitting internal
4618 windows. Check whether a live window was created.
4619 (display-buffer-other-window-means-other-frame)
4620 (display-buffer-normalize-arguments): Rename to
4621 display-buffer-normalize-argument and rewrite. Set the
4622 other-window specifier.
4623 (display-buffer-normalize-special): New function.
4624 (display-buffer-normalize-options): Rename to
4625 display-buffer-normalize-default and rewrite.
4626 (display-buffer-normalize-options-inhibit): Remove.
4627 (display-buffer-normalize-specifiers): Rewrite.
4628 (display-buffer): Process other-window specifier and call
4629 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
4631 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4632 (display-buffer-alist-set): Don't handle 'unset default values.
4633 (display-buffer-in-window, display-buffer-alist-set):
4634 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4635 <tassilo@member.fsf.org>.
4637 2011-07-09 Leo Liu <sdl.web@gmail.com>
4639 * register.el (insert-register): Restore accidental change on
4640 2011-06-26. (Bug#9028)
4642 2011-07-09 Glenn Morris <rgm@gnu.org>
4644 * subr.el (remq): Handle the empty list. (Bug#9024)
4646 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
4648 * mail/sendmail.el (send-mail-function): No longer delay custom
4650 * custom.el (custom-initialize-delay): Doc fix.
4652 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
4656 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
4658 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
4659 human-friendly prompt.
4661 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
4664 provided by a particular plugin.
4666 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4668 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
4669 save customizations (with "emacs -Q"), just set the variable
4670 instead of erroring out.
4672 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
4674 2011-07-08 Juri Linkov <juri@jurta.org>
4676 * arc-mode.el (archive-zip-expunge, archive-zip-update)
4677 (archive-zip-update-case): Use 7z if found by `executable-find'.
4678 The order of searching the available programs is the same as in
4679 `archive-zip-extract' (bug#8968).
4681 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4683 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
4684 (menu-bar-options-menu): Tweak descriptions.
4686 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4688 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
4689 menu items into verb phrases (bug#1421). Also refill to fit under
4692 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4694 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
4695 (Info-read-node-name): Doc fix (Bug#1084).
4697 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
4698 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
4699 (end-of-sexp, beginning-of-sexp)
4700 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
4701 (forward-symbol, forward-same-syntax, word-at-point)
4702 (sentence-at-point): Doc fix (Bug#1144).
4704 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4706 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
4707 should cover it (bug#1281).
4709 * cus-edit.el (custom-show): Mark as obsolete.
4711 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
4712 negotiation fails, then possibly try again with a non-encrypted
4713 connection (bug#9017).
4715 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
4718 2011-07-07 Richard Stallman <rms@gnu.org>
4720 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
4721 property, and handle its changed format.
4722 Look for the correct line number.
4723 Use file's line contents (but not past first =) to find
4724 correct line in message.
4726 2011-07-07 Kenichi Handa <handa@m17n.org>
4728 * international/characters.el (build-unicode-category-table):
4730 (unicode-category-table): Set it by unicode-property-table-internal.
4732 * international/mule-cmds.el (char-code-property-alist): Move to
4734 (get-char-code-property): Call unicode-property-table-internal to
4735 load a file. Call get-unicode-property-internal where necessary.
4736 (put-char-code-property): Call unicode-property-table-internal to
4737 load a file. Call put-unicode-property-internal where necessary.
4738 put-unicode-property-internal where necessary.
4739 (char-code-property-description):
4740 Call unicode-property-table-internal to load a file.
4742 * international/charprop.el:
4743 * international/uni-bidi.el:
4744 * international/uni-category.el:
4745 * international/uni-combining.el:
4746 * international/uni-comment.el:
4747 * international/uni-decimal.el:
4748 * international/uni-decomposition.el:
4749 * international/uni-digit.el:
4750 * international/uni-lowercase.el:
4751 * international/uni-mirrored.el:
4752 * international/uni-name.el:
4753 * international/uni-numeric.el:
4754 * international/uni-old-name.el:
4755 * international/uni-titlecase.el:
4756 * international/uni-uppercase.el: Regenerate.
4758 * loadup.el: Load international/charprop.el before
4759 international/characters.
4761 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
4763 * window.el (next-buffer, previous-buffer): Signal an error if
4764 called from a minibuffer window.
4766 * bindings.el: Revert 2011-07-04 change.
4768 2011-07-06 Richard Stallman <rms@gnu.org>
4770 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
4771 (rmail-mime-insert-bulk, rmail-mime-insert-text):
4772 Treat markers like ints.
4773 (rmail-mime-entity): Doc fix.
4775 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4777 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
4778 defcustom again for backwards compatibility.
4780 * simple.el (shell-command-on-region): Fill.
4782 * dired-aux.el (dired-kill-line): Add a doc string.
4784 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4785 to "\\sw\\|\\s_" (bug#358).
4787 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
4788 (dired-unmark-backward): Ditto.
4789 (dired-flag-backup-files): Ditto.
4791 * dired-x.el (dired-mark-sexp): Ditto.
4793 2011-07-06 Richard Stallman <rms@gnu.org>
4795 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
4796 (rmail-mime-entity): New arg TRUNCATED.
4797 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
4799 (rmail-mime-save): Warn if entity is truncated.
4800 (rmail-mime-toggle-hidden): Likewise, for showing.
4801 (rmail-mime-process-multipart): Record when an entity is truncated.
4803 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
4804 if ENTITY is a string.
4806 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
4809 of faces when `M-C-x'-ing their definitions (bug#8378).
4810 Also clean up the code slightly.
4812 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
4813 because that makes the colors go away.
4815 * mail/sendmail.el (send-mail-function): Change the default to
4816 `sendmail-query-once'.
4817 (sendmail-query-once): Add an autoload cookie.
4819 * net/network-stream.el (network-stream-open-starttls): Try using
4820 a plain connection even if the server offered STARTTLS, and we
4821 kinda wanted to use it, if Emacs doesn't have any STARTTLS
4822 capability. This should make smtpmail.el work in slightly more
4825 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
4827 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
4829 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
4831 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
4833 * progmodes/sql.el: Version 3.0
4834 (sql-product-alist): Add product :completion-object,
4835 :completion-column, and :statement attributes.
4836 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
4837 (sql-mode-syntax-table): Mark all punctuation.
4838 (sql-font-lock-keywords-builder): Temporarily remove fallback on
4840 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
4841 (sql-mode-oracle-font-lock-keywords): Improve.
4842 (sql-oracle-show-reserved-words): New function for development.
4843 (sql-product-font-lock): Simplify for source code buffers.
4844 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
4846 (sql-highlight-product): Set product specific syntax table.
4847 (sql-mode-map): Add statement movement functions.
4848 (sql-ansi-statement-starters, sql-oracle-statement-starters):
4850 (sql-statement-regexp, sql-beginning-of-statement)
4851 (sql-end-of-statement, sql-signum): New functions.
4852 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
4853 (sql-show-sqli-buffer): Bug fix.
4854 (sql-interactive-mode): Store connection data as buffer local.
4855 (sql-connect): Add NEW-NAME parameter. Redesign interaction
4856 with sql-interactive-mode.
4857 (sql-save-connection): Save buffer local settings.
4858 (sql-connection-menu-filter): Change menu entry name.
4859 (sql-product-interactive): Bug fix.
4860 (sql-preoutput-hold): New variable.
4861 (sql-interactive-remove-continuation-prompt): Bug fixes.
4862 (sql-debug-redirect): New variable.
4863 (sql-str-literal): New function.
4864 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
4866 (sql-oracle-save-settings, sql-oracle-restore-settings)
4867 (sql-oracle-list-all, sql-oracle-list-table): New functions.
4868 (sql-completion-object, sql-completion-column)
4869 (sql-completion-sqlbuf): New variables.
4870 (sql-build-completions-1, sql-build-completions)
4871 (sql-try-completion): New functions.
4872 (sql-read-table-name): Use them.
4873 (sql-contains-names): New buffer local variable.
4874 (sql-list-all, sql-list-table): Use it.
4875 (sql-oracle-completion-types): New variable.
4876 (sql-oracle-completion-object, sql-sqlite-completion-object)
4877 (sql-postgres-completion-object): New functions.
4879 2011-07-06 Glenn Morris <rgm@gnu.org>
4881 * window.el (pop-to-buffer): Doc fix.
4883 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
4885 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
4887 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
4889 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4891 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
4893 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
4895 * button.el (button): Inherit from link face. Suggested by Dan
4898 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4900 * progmodes/gdb-mi.el: Fit in 80 columns.
4901 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
4904 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4905 if imenu is simply not configured (bug#8941).
4907 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
4909 * allout.el (allout-post-undo-hook): New allout outline-change
4910 event hook to signal undo activity.
4911 (allout-post-command-business): Run allout-post-undo-hook if an
4913 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
4914 * allout-widgets.el (allout-widgets-after-undo-function):
4915 Ensure the integrity of the current item's decoration after it has been
4916 in the vicinity of an undo.
4917 (allout-widgets-mode): Include allout-widgets-after-undo-function
4918 on the new allout-post-undo-hook.
4920 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
4923 Let define-derived-mode define it.
4924 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
4925 cycles of abbrev-table inheritance (bug#8998).
4927 2011-07-05 Roland Winkler <winkler@gnu.org>
4929 * textmodes/bibtex.el: Add support for biblatex.
4930 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
4931 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
4932 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
4933 (bibtex-entry-alist, bibtex-field-alist): New variables.
4934 (bibtex-entry-field-alist): Obsolete alias for
4935 bibtex-BibTeX-entry-alist.
4936 (bibtex-entry-alist, bibtex-field-alist): New widgets.
4937 (bibtex-set-dialect): New command.
4938 (bibtex-entry-type, bibtex-entry-head)
4939 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
4940 Bind via bibtex-set-dialect.
4941 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
4942 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
4943 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
4944 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
4945 Define via bibtex-set-dialect.
4946 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
4947 Obey bibtex-no-opt-remove-re.
4948 (bibtex-vec-push, bibtex-vec-incr): New functions.
4949 (bibtex-format-entry, bibtex-field-list)
4950 (bibtex-print-help-message, bibtex-validate)
4951 (bibtex-search-entries): Use new format of bibtex-entry-alist.
4953 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * progmodes/compile.el (compilation-goto-locus):
4956 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4957 * bs.el (bs-cycle-next, bs-cycle-previous):
4958 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
4959 * bindings.el (mode-line-other-buffer):
4960 * autoinsert.el (auto-insert):
4961 * arc-mode.el (archive-extract):
4962 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
4964 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4966 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
4967 Fix check of `emacs-lock-unlockable-modes'.
4968 Coerce true values of `emacs-lock--try-unlocking' to t.
4970 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4972 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
4973 * emacs-lock.el: New file.
4975 2011-07-05 Julien Danjou <julien@danjou.info>
4977 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
4978 than `boundp' to check if face is set.
4980 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
4982 * register.el (registerv-make):
4983 * window.el (window-min-height): Fix typos in docstrings.
4985 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
4987 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4990 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
4992 * server.el (server-execute): Catch quit and call
4993 `server-return-error' to pass the error back to emacsclient and
4994 close the connection (bug#8942).
4996 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
4998 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
4999 insecure exception for current topic. Also note that auto-saves
5000 are handled differently.
5002 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5003 State variables for tracking auto-save inhibition situation.
5005 (allout-write-contents-hook-handler): Rename from
5006 'allout-write-file-hook-handler', and describe how it depends on
5007 write-contents-functions sensitivity to non-nil value to prevent
5010 (allout-auto-save-hook-handler): Remove. auto-save does not check
5011 this in individual buffers, only in the starting buffer, so this
5012 is not the right way for us to inhibit auto-save in a buffer
5013 according to its condition.
5015 (allout-mode): Use new allout-write-contents-hook-handler, and
5016 only with write-contents-functions. Remove auto-save provisions -
5017 they're implemented elsewhere.
5019 (allout-before-change-handler): If undo is in progress, note that
5020 for attention of allout-post-command-business.
5022 (allout-post-command-business): If the command we're following was
5023 an undo, check for change in the status of encrypted items and
5024 adjust auto-save inhibitions accordingly.
5026 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5027 according to whether there are or aren't any plain-text topics
5030 (allout-inhibit-auto-save-info-for-decryption):
5031 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5032 if there are plain-text topics pending encryption.
5034 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5035 buffer-saved-size and some allout state to not inhibit auto-saves
5036 if there are no longer any plain-text topics pending encryption.
5038 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5039 No longer provide for exemption of the current topic.
5041 2011-07-04 Juri Linkov <juri@jurta.org>
5043 Add 7z operations to delete and save changed members (bug#8968).
5044 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5046 (archive-7z-write-file-member): New function.
5047 (archive-7z-summarize): Fix the number of dashes in the
5050 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5055 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
5057 * bindings.el: Ignore next-buffer and previous-buffer in
5058 minibuffer-local-map.
5060 * font-lock.el (font-lock-builtin-face): Change light background
5061 color to dark slate blue (Bug#6693).
5063 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
5065 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
5067 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5069 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
5070 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5071 Add switch-to-buffer.
5073 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5075 * isearch.el (isearch-search-fun-function): Clarify further the
5076 meaning of the function returned.
5078 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
5080 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
5082 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
5083 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
5085 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
5086 `tramp-default-remote-path' does not exist.
5087 (tramp-send-command-and-read): New optional argument NOERROR.
5088 (tramp-open-connection-setup-interactive-shell)
5089 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
5090 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
5091 (tramp-process-sentinel): Flush also process' connection property.
5092 (tramp-sh-handle-start-file-process): Do not set process
5093 sentinel. It is done now ...
5094 (tramp-maybe-open-connection): ... here. (Bug#8929)
5096 2011-07-04 MON KEY <monkey@sandpframing.com>
5098 * play/animate.el (animate-string): Doc fixes and allow changing
5099 the buffer name (bug#5417).
5101 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5103 * play/animate.el (animation-buffer-name): Rename from *animate*.
5105 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
5107 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
5108 This is simpler and helps future-proof the code.
5109 (timer-until): Use time-subtract and float-time.
5110 (timer--time-less-p): Use time-less-p.
5112 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5114 * type-break.el (timep): Use the value of `float-time' to avoid a
5115 byte-compiler warning.
5117 * server.el (server-eval-and-print): Return any result, even nil.
5119 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
5121 * type-break.el: Accept time formats that the builtins accept.
5122 (timep, type-break-time-difference): Accept any format that
5123 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
5124 This is simpler and helps future-proof the code.
5125 (type-break-time-difference): Round rather than ignoring
5126 subseconds components.
5128 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5130 * info.el (Info-apropos-matches): Make non-interactive, since it
5131 doesn't seem to do anything useful as a command (bug#8829).
5133 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
5135 * frame.el (frame-background-mode, frame-set-background-mode):
5137 (frame-default-terminal-background): New function.
5139 * custom.el (custom-push-theme): Don't record faces in `changed'
5140 theme; this doesn't work correctly for per-frame face settings.
5141 (disable-theme): Use face-set-after-frame-default to reset faces.
5142 (custom--frame-color-default): New function.
5144 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146 * dired.el (dired-flagging-regexp): Remove unused variable
5149 2011-03-29 Kevin Ryde <user42@zip.com.au>
5151 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5152 `perl-Test2' extend to match possible "fail #N" rep count
5155 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
5158 `smtpmail-via-smtp' now returns the error instead of nil.
5160 * isearch.el (isearch-search-fun-function): Clarify the doc string
5163 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
5165 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
5166 unnecessary spaces (bug#8987).
5168 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5170 * net/network-stream.el (open-network-stream): Use the
5171 :end-of-capability command thoughout.
5173 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5175 * net/network-stream.el (open-network-stream): Add the
5176 :end-of-capability command parameter, used by pop3.el.
5178 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5180 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
5182 * fringe.el (fringe-query-style): Remove redundant text " (type ?
5183 for list)" (bug#6475).
5185 * files.el (file-expand-wildcards): Ignore non-readable
5186 sub-directories while trying to find matches instead of signaling
5187 an error (bug#6297).
5189 * man.el (Man-reference-regexp): Allow matching possible
5190 word-wrapped references (bug#6289).
5192 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
5193 for consistency with the other vc buffers (bug#6197).
5194 (vc-checkin): Ditto.
5196 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
5198 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
5200 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202 * custom.el (defcustom): Clarify that :set is only used in the
5203 Customize user interface (bug#6089).
5205 * progmodes/flymake.el (flymake-mode): If the buffer isn't
5206 associated with a file, refuse to run instead of erroring out
5209 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
5210 the doc string, since it appears that using `fill-column' always
5211 controls the width (bug#7845).
5213 * simple.el (shell-command-on-region): Say where the error output
5214 went if `shell-command-default-error-buffer' is set (bug#6857).
5216 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
5218 * allout.el (allout-yank-processing): Adjust cursor position for
5219 backwards-deleted space.
5221 (allout-rebullet-heading): Register changes with
5222 allout-exposure-changed-hook, so the modified topic is properly
5225 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5227 * minibuffer.el (completion-in-region): Document PREDICATE
5230 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
5231 of keyword/argument pairs (bug#6904).
5233 * replace.el (multi-occur):
5234 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5236 2011-07-02 Drew Adams <drew.adams@oracle.com>
5238 * dired.el (dired-mark-if): Make the message about whether it's
5239 marking or unmarking clearer (bug#8523).
5241 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5243 * disp-table.el (display-table-print-array): New function.
5244 (describe-display-table): Use it to print the vectors more pretty
5247 2011-07-02 Martin Rudalics <rudalics@gmx.at>
5249 * window.el (window-state-get-1): Don't assign clone numbers.
5250 Add clone-of item to list of window parameters.
5251 (window-state-put-2): Don't process clone numbers.
5252 (display-buffer-alist): Fix doc-string.
5254 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5256 * subr.el (remq): Don't allocate if it's not needed.
5257 (keymap--menu-item-binding, keymap--menu-item-with-binding)
5258 (keymap--merge-bindings): New functions.
5259 (keymap-canonicalize): Use them to refine the canonicalization.
5260 * minibuffer.el (minibuffer-local-completion-map)
5261 (minibuffer-local-must-match-map): Move initialization from C.
5262 (minibuffer-local-filename-completion-map): Move initialization from C;
5263 don't inherit from anything here.
5264 (minibuffer-local-filename-must-match-map): Make obsolete.
5265 (completing-read-default): Use make-composed-keymap to combine
5266 minibuffer-local-filename-completion-map with either
5267 minibuffer-local-must-match-map or
5268 minibuffer-local-filename-completion-map.
5270 2011-07-01 Glenn Morris <rgm@gnu.org>
5272 * type-break.el (type-break-time-sum): Use dolist.
5274 * textmodes/flyspell.el (flyspell-word-search-backward):
5275 Replace CL function.
5277 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * mouse.el (mouse--strip-first-event): New function.
5280 (function-key-map): Use it to map fringe clicks to normal clicks
5283 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
5284 (vc-bzr-revision-completion-table): Add support for annotate and date.
5286 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
5287 inherit from parent.
5289 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5291 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
5292 (dired-show-file-type): Doc fixup (bug#8818).
5294 * dired.el (dired-mode): Fix up the doc string as suggested by
5295 Drew Adams (bug#8817).
5297 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
5298 cookie, since the manual says that it should be possible to add
5299 this function to `find-file-hook' (bug#8709).
5301 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5303 * progmodes/cfengine.el: Moved all cfengine3.el functionality
5304 here. Noted Ted Zlatanov as the maintainer.
5305 (cfengine-common-settings, cfengine-common-syntax): New functions
5306 to set up common things between `cfengine-mode' and
5308 (cfengine3-mode): New mode.
5309 (cfengine3-defuns cfengine3-defuns-regex
5310 (cfengine3-class-selector-regex cfengine3-category-regex)
5311 (cfengine3-vartypes cfengine3-font-lock-keywords)
5312 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
5313 (cfengine3-indent-line): Add from cfengine3.el.
5315 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
5317 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
5319 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
5321 2011-07-01 Martin Rudalics <rudalics@gmx.at>
5323 * window.el (same-window-buffer-names, same-window-regexps)
5324 (same-window-p, special-display-frame-alist)
5325 (special-display-popup-frame, special-display-function)
5326 (special-display-buffer-names, special-display-regexps)
5327 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
5328 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
5329 (split-window-preferred-function, split-height-threshold)
5330 (split-width-threshold, even-window-heights)
5331 (display-buffer-mark-dedicated, window-splittable-p)
5332 (split-window-sensibly, window-safely-shrinkable-p):
5334 (display-buffer): Don't spread args with function specifier
5335 because special-display-popup-frame won't like it.
5337 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
5339 Time-stamp simplifications and fixes.
5340 These improve accuracy slightly, and future-proof the code
5341 against some potential changes to current-time format.
5343 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
5344 by using time-since and float-time.
5346 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
5347 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
5348 + NNN microseconds".
5350 * type-break.el (type-break-time-sum): Rewrite using time-add.
5352 * play/hanoi.el (hanoi-current-time-float): Remove.
5353 All uses replaced by float-time.
5355 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
5356 This yields a more-accurate answer.
5357 (rng-time-to-float): Remove; no longer needed.
5359 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
5361 * calendar/timeclock.el (timeclock-seconds-to-time):
5362 Defalias to seconds-to-time, since they're the same thing.
5364 * emacs-lisp/elp.el (elp-elapsed-time):
5365 * emacs-lisp/benchmark.el (benchmark-elapse):
5366 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
5368 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5370 * window.el (bury-buffer): Don't iconify the only frame.
5371 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
5372 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
5374 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
5376 * eshell/em-smart.el (eshell-smart-display-navigate-list):
5377 Add mouse-yank-primary.
5379 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
5381 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
5383 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
5385 * emacs-lisp/find-func.el (find-library--load-name): New fun.
5386 (find-library-name): Use it to find relative load names when provided
5387 absolute file name (bug#8803).
5389 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5391 * textmodes/flyspell.el (flyspell-word): Consider words that
5392 differ only in case as potential doublons (bug#5687).
5394 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
5395 Remove two rather uninteresting debugging-like messages to make
5396 debbugs.el more silent.
5398 * comint.el (comint-password-prompt-regexp): Accept "Response" as
5399 a password-like phrase.
5401 2011-06-30 Mastake YAMATO <yamato@redhat.com>
5403 * progmodes/cc-guess.el: New file.
5405 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
5407 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
5408 derived from `c-basic-common-init'.
5410 * progmodes/cc-mode.el (top-level): Require cc-guess.
5411 (c-basic-common-init): Use `cc-choose-style-for-mode'.
5413 2011-06-30 Lawrence Mitchell <wence@gmx.li>
5415 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
5417 2011-06-30 Alan Mackenzie <acm@muc.de>
5419 * progmodes/cc-engine.el (c-guess-continued-construct):
5420 Correct the handling of template-args-cont, particularly for when font
5421 lock is disabled. Name this case as "CASE G".
5423 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
5425 * allout.el (allout-yank-processing): Fix injection of extra space
5426 between bullet and non-whitespace character in first topic when
5427 pasting, ensuring that the actual spacing in the pasted topic
5428 following the bullet char is preserved. This extra space was
5429 causing pasted encrypted topics to get a decrypted status even
5430 when the content was actually still encrypted. Now the decryption
5431 status from before the paste is preserved.
5433 (allout-flag-region): Set all allout overlays so they evaporate
5434 when reduced to zero length (evanescent), to prevent overlay
5437 2011-06-30 Glenn Morris <rgm@gnu.org>
5439 * w32-fns.el (w32-charset-info-alist): Declare.
5441 * find-dired.el (find-grep-options): Simplify.
5443 * term/ns-win.el (ns-set-resource): Declare.
5445 * ses.el (row, col): Declare dynamic variables honestly.
5447 * textmodes/reftex-parse.el (index-tags): Declare.
5449 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
5451 * cus-edit.el (customize-push-and-save): New function.
5453 * files.el (hack-local-variables-confirm): Use it.
5455 * custom.el (load-theme): New arg NO-CONFIRM.
5456 Use customize-push-and-save (Bug#8720).
5457 (custom-enabled-themes): Doc fix.
5459 * cus-theme.el (customize-create-theme)
5460 (custom-theme-merge-theme): Callers to load-theme changed.
5462 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5464 * thingatpt.el (thing-at-point-short-url-regexp): Require that
5465 short URLs have at least one dot in them (bug #7614).
5467 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
5468 nil, because using a pty is apparently too slow (bug #895).
5470 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
5472 * mail/sendmail.el (sendmail-query-once): New function.
5473 (sendmail-query-once-function): New variable.
5475 2011-06-29 Glenn Morris <rgm@gnu.org>
5477 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
5479 * ses.el (top-level): Require cl when compiling.
5480 (ses-set-localvars): Fix error statement.
5481 Call it at compile time to silence a storm of warnings.
5483 2011-06-29 Martin Rudalics <rudalics@gmx.at>
5485 * window.el (normalize-live-buffer): Rename to
5486 window-normalize-buffer.
5487 (normalize-live-frame): Rename to window-normalize-frame.
5488 (normalize-any-window): Rename to window-normalize-any-window.
5489 (normalize-live-window): Rename to window-normalize-live-window.
5490 (make-window-atom): Rename to window-make-atom.
5491 (window-resize-reset): Rename to window--resize-reset.
5492 (window-resize-reset-1): Rename to window--resize-reset-1.
5493 (resize-mini-window): Rename to window--resize-mini-window.
5494 (resize-subwindows-skip-p): Rename to
5495 window--resize-subwindows-skip-p.
5496 (resize-subwindows-normal): Rename to
5497 window--resize-subwindows-normal.
5498 (resize-subwindows): Rename to window--resize-subwindows.
5499 (resize-other-windows): Rename to window--resize-siblings.
5500 (resize-this-window): Rename to window--resize-this-window.
5501 (resize-root-window): Rename to window--resize-root-window.
5502 (resize-root-window-vertically): Rename to
5503 window--resize-root-window-vertically.
5504 (normalize-buffer-to-display): Rename to
5505 window-normalize-buffer-to-display.
5506 (normalize-buffer-to-switch-to): Rename to
5507 window-normalize-buffer-to-switch-to.
5508 Correspondingly update all callers of the functions listed
5510 (display-buffer-alist, display-buffer-normalize-arguments)
5511 (display-buffer-normalize-options, display-buffer)
5512 (display-buffer-alist-set): Use "function" instead of
5515 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
5517 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
5518 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
5519 debbugs.gnu.org. Mention acknowledgment email.
5521 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
5523 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
5524 buffer multibyteness, since it shouldn't matter.
5526 2011-06-28 Martin Rudalics <rudalics@gmx.at>
5528 * window.el (display-buffer-in-side-window): Handle dedicated
5529 windows as in display-buffer-reuse-window.
5530 (display-buffer-normalize-alist): Use value of override
5532 (display-buffer-normalize-specifiers): Use value of
5533 other-window-means-other-frame specifier.
5534 (display-buffer-alist): Rewrite some texts in widgets.
5535 (display-buffer): Spread arguments when calling function
5536 specified by fun-with-args.
5538 2011-06-28 Deniz Dogan <deniz@dogan.se>
5540 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5543 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
5544 selectors (Bug#5732).
5545 (css-proprietary-nmstart-re): Use `regexp-opt'.
5547 2011-06-27 Jari Aalto <jari.aalto@cante.net>
5549 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
5550 (eshell-ls-date-format): New defcustom.
5551 (eshell-ls-file): Use it.
5553 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * help-fns.el (describe-variable): Fix message for terminal-local vars.
5557 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
5559 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
5560 (ange-ftp-make-tmp-name): New arg.
5561 (ange-ftp-file-local-copy): Use it.
5563 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
5565 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
5566 no-conversion (Bug#8870).
5568 2011-06-27 Martin Rudalics <rudalics@gmx.at>
5570 * window.el (window-right, window-left, window-child)
5571 (window-child-count, window-last-child)
5572 (window-iso-combination-p, walk-window-tree-1)
5573 (window-atom-check-1, window-tree-1, delete-window)
5574 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
5575 new naming conventions - window-vchild, window-hchild,
5576 window-next and window-prev are now called window-top-child,
5577 window-left-child, window-next-sibling and window-prev-sibling
5579 (resize-window-reset): Rename to window-resize-reset.
5580 (resize-window-reset-1): Rename to window-resize-reset-1.
5581 (resize-window): Rename to window-resize.
5582 (window-min-height, window-min-width)
5583 (resize-mini-window, resize-this-window, resize-root-window)
5584 (resize-root-window-vertically, adjust-window-trailing-edge)
5585 (enlarge-window, shrink-window, maximize-window)
5586 (minimize-window, delete-window, quit-restore-window)
5587 (split-window, balance-windows, balance-windows-area-adjust)
5588 (balance-windows-area, window-state-put-2)
5589 (display-buffer-even-window-sizes, display-buffer-set-height)
5590 (display-buffer-set-width, set-window-text-height)
5591 (fit-window-to-buffer): Rename all "resize-window" prefixed
5592 calls to use the "window-resize" prefix convention.
5593 (display-buffer-alist): Fix symbol for label specifier.
5594 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
5595 corresponding specifier.
5596 Reported by Juanma Barranquero <lekktu@gmail.com>.
5598 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5600 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
5602 (ses-call-printer): Does not pass an empty string to formatter when the
5603 cell is empty to keep from barking printer Calc math-format-value.
5605 2011-06-27 Richard Stallman <rms@gnu.org>
5607 * battery.el (battery-mode-line-limit): New variable.
5608 (battery-update): Handle it.
5610 * mail/rmailmm.el (rmail-mime-process-multipart):
5611 Handle truncated messages.
5613 2011-06-27 Glenn Morris <rgm@gnu.org>
5615 * progmodes/flymake.el (flymake-err-line-patterns):
5616 Allow for column numbers in the ant/javac pattern. (Bug#8866)
5618 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
5620 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
5621 (ses--clean-!, ses--clean-_): New functions.
5622 (ses-range): Add configurability of readout order, and conversion
5625 * ses.el (ses-repair-cell-reference-all): New function.
5626 (ses-cell-symbol): Set macro as safe, so that it can be used in
5629 * ses.el: Update cycle detection algorithm.
5630 (ses-localvars): Add ses--Dijkstra-attempt-nb and
5631 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
5632 (ses-set-localvars): New function.
5633 (ses-make-cell): Add property-list as a cell element.
5634 (ses-cell-property-get-fun, ses-cell-property-get)
5635 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
5636 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
5638 (ses-cell-property-set, ses-cell-property-pop)
5639 (ses-cell-property-get-handle): New macro.
5640 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
5641 New aliases, used for code readability.
5642 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
5644 (ses-self-reference-early-detection): New defcustom.
5645 (ses-formula-references): Robustify against self-referring cells.
5646 (ses-mode): Use ses-set-localvars.
5647 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
5648 before lauching the update processing.
5649 (ses-initialize-Dijkstra-attempt): New function.
5650 (ses-recalculate-cell): Update for cycle detection based on
5653 * ses.el: Fix commenting and indenting convention.
5655 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * bs.el (bs-cycle-next): Complete last change.
5659 2011-06-27 Drew Adams <drew.adams@oracle.com>
5661 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
5663 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5665 * net/network-stream.el (network-stream-open-starttls):
5666 Don't re-get capabilities unless we've reestablished connection.
5667 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
5669 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
5670 to binary to possibly avoid line encoding issues on Windows (among
5673 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5675 * net/network-stream.el (open-network-stream): Return an :error
5676 saying what the problem was, if possible.
5678 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
5681 * net/network-stream.el (network-stream-open-starttls): If we
5682 wanted to use STARTTLS, and the server offered it, but we weren't
5683 able to because we had no STARTTLS support, then close the connection.
5684 (open-network-stream): Return an :error element, if present.
5686 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5688 * hl-line.el (hl-line-sticky-flag): Doc fix.
5689 (global-hl-line-sticky-flag): New option (Bug#8323).
5690 (global-hl-line-highlight): Obey it.
5692 * vc/vc.el (vc-revert-show-diff): Default to t.
5694 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
5696 * allout-widgets.el (allout-widgets-post-command-business):
5697 Stop decorating intermediate isearch matches. They're not being
5698 undecorated when an isearch is continued past, and isearch
5699 automatically collapses them. This leads to "widget leaks", where
5700 decorated items accumulate in collapsed areas. Lines with lots of
5701 hidden widgets can slow down cursor travel, substantially.
5702 Too much complicated machinery would be needed to ensure undecoration,
5703 so we're doing without this nicety.
5705 (allout-widgets-tally-string): Don't try to do a hash-table-count
5706 of allout-widgets-tally when it's nil. This eliminates spurious "Error
5707 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
5708 *Messages* when allout-widgets-maintain-tally is t.
5710 2011-06-26 Martin Rudalics <rudalics@gmx.at>
5712 * window.el (display-buffer-normalize-argument): Rename to
5713 display-buffer-normalize-arguments. Handle special meaning of
5714 LABEL argument. Respect special-display-function when popping up
5715 a new frame. Fix code searching for a window showing the buffer
5717 (display-buffer-normalize-specifiers):
5718 Call display-buffer-normalize-arguments.
5719 (display-buffer-in-window): Don't undedicate the window if its
5720 buffer remains the same.
5721 Reported by Drew Adams <drew.adams@oracle.com>.
5722 (display-buffer-alist): Add choice for same-window macro
5724 (display-buffer): Mention special meaning of LABEL argument in
5725 doc-string. Fix quoting. Don't pop up a new frame even as
5728 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
5730 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
5731 avoid deleting the current window in some cases (bug#8911).
5733 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
5735 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
5738 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5740 * net/network-stream.el (network-stream-open-starttls):
5741 Use built-in TLS support if `gnutls-available-p' is true.
5742 (network-stream-open-tls): Ditto.
5744 2011-06-26 Leo Liu <sdl.web@gmail.com>
5746 * register.el (registerv): New struct.
5747 (registerv-make): New function.
5748 (jump-to-register, describe-register-1, insert-register):
5749 Support the jump-func, print-func and insert-func slot of a registerv
5752 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
5754 * vc/vc.el (vc-revert-show-diff): New defcustom.
5755 (vc-diff-internal): New arg specifying diff buffer.
5756 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
5757 reuse an existing *vc-diff* buffer (Bug#8927).
5759 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
5761 2011-06-26 Glenn Morris <rgm@gnu.org>
5763 * progmodes/f90.el (f90-critical-indent): New option.
5764 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
5765 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
5766 (f90-mode): Doc fix.
5767 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
5768 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
5769 (f90-beginning-of-block, f90-next-block, f90-indent-region)
5770 (f90-match-end): Handle block, critical.
5772 2011-06-25 Glenn Morris <rgm@gnu.org>
5774 * calendar/diary-lib.el (diary-included-files): Doc fix.
5775 (diary-include-files): New function, extracted from
5776 diary-include-other-diary-files and diary-mark-included-diary-files.
5777 (diary-include-other-diary-files, diary-mark-included-diary-files):
5778 Just call diary-include-files.
5779 (diary-mark-entries): Reset diary-included-files on first call.
5781 * calendar/diary-lib.el (diary-mark-entries)
5782 (diary-mark-included-diary-files):
5783 Visit included diary-files in temp buffers.
5785 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
5786 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
5787 (f90-start-block-re, f90-imenu-generic-expression)
5788 (f90-looking-at-program-block-start, f90-no-block-limit):
5789 Add support for submodules.
5791 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5792 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
5794 2011-06-25 Eli Zaretskii <eliz@gnu.org>
5796 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
5797 buffer-file-type before setting its value, to avoid disastrous
5798 global effects on decoding files for DOS/Windows systems. (Bug#8780)
5800 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5802 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
5804 * ses.el (ses-unload-function):
5805 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
5807 * proced.el (proced-unload-function):
5808 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
5810 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
5812 * server.el (server-create-window-system-frame): Add parameters arg.
5813 (server-process-filter): Doc fix. Handle frame-parameters.
5815 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
5817 Fix bug#8730, bug#8781.
5819 * loadhist.el (unload--set-major-mode): New function.
5820 (unload-feature): Use it.
5822 * progmodes/python.el (python-after-info-look): Add autoload cookie.
5823 (python-unload-function): New function.
5825 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
5829 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
5831 * net/browse-url.el (browse-url-firefox-program): Add icecat to
5832 the candidates list.
5834 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
5836 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
5838 2011-06-23 Richard Stallman <rms@gnu.org>
5840 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
5841 (rmail-variables): Set next-error-move-function.
5842 (rmail-what-message): Take argument POS.
5843 (rmail-next-error-move): New function.
5845 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
5848 messages for adjacent non-terminals.
5850 2011-06-23 Richard Stallman <rms@gnu.org>
5852 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
5853 (rmail-show-message-1): Preserve buffer modified flag.
5854 (rmail-start-mail): Don't specify use of rmail-mail-return;
5855 that's done by mail-bury now.
5856 (rmail-mail-return): Handle arg NEWBUF.
5858 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
5860 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
5863 2011-06-23 Martin Rudalics <rudalics@gmx.at>
5865 * window.el (get-lru-window, get-mru-window)
5866 (get-largest-window): Never return a minibuffer window.
5867 (display-buffer-pop-up-window): Fix a bug that could lead to
5868 reusing the minibuffer window.
5869 (display-buffer): Pass original specifier argument to
5870 display-buffer-function instead of the normalized one.
5871 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
5873 2011-06-22 Leo Liu <sdl.web@gmail.com>
5875 * minibuffer.el (completing-read-function)
5876 (completing-read-default): Move from minibuf.c
5878 2011-06-22 Richard Stallman <rms@gnu.org>
5880 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
5881 to Rmail even if not started by a special Rmail command.
5883 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
5884 Copy the buffer currently showing just one message.
5886 2011-06-22 Roland Winkler <winkler@gnu.org>
5888 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
5889 (bibtex-clean-entry): First delete the old key so that a
5890 customized algorithm for generating the new key does not get
5891 confused by the old key.
5892 (bibtex-url): Obey regexp of first step.
5893 (bibtex-search-entries): Do not use add-to-list with local
5896 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5898 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
5899 stored a user name, then query for the password first, instead of
5900 waiting for SMTP to give an error message and the trying again.
5902 2011-06-22 Lawrence Mitchell <wence@gmx.li>
5904 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
5905 BUFFER in call-process.
5907 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
5911 (smtpmail-try-auth-methods): Require user name and password from
5914 2011-06-22 Martin Rudalics <rudalics@gmx.at>
5916 * window.el (display-buffer-default-specifiers)
5917 (display-buffer-alist): Remove entries for pop-up-frame-alist.
5918 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
5919 (split-window): Normalize SIDE argument (Bug#8916).
5921 * frame.el (pop-up-frame-alist, pop-up-frame-function)
5922 (special-display-frame-alist, special-display-popup-frame):
5923 Remove duplicate declarations. These are now in window.el.
5925 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5927 * mail/smtpmail.el (smtpmail-via-smtp):
5928 Set :use-starttls-if-possible so that we always use STARTTLS if the
5929 server supports it. SMTP servers that support STARTTLS commonly
5932 * net/network-stream.el (network-stream-open-starttls): Support
5933 upgrading to STARTTLS always, even if we don't have built-in support.
5934 (open-network-stream): Add the :always-query-capabilities keyword.
5936 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
5937 upgrades with `open-network-stream', and rely solely on
5938 auth-source for all credentials. Big changes throughout the file,
5940 (smtpmail-auth-credentials): Remove.
5941 (smtpmail-starttls-credentials): Remove.
5942 (smtpmail-via-smtp): Check for servers saying they want AUTH after
5945 * net/network-stream.el (network-stream-open-starttls):
5946 Provide support for client certificates both for external and built-in
5948 (auth-source): Require.
5949 (open-network-stream): Document the :client-certificate keyword.
5950 (network-stream-certificate): Change cert-cert to cert and
5953 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
5955 * net/tramp-cache.el (top): Don't load the persistency file when
5956 "emacs -Q" has been called.
5958 2011-06-21 Tim Harper <timcharper@gmail.com>
5960 * term/ns-win.el (ns-initialize-window-system):
5961 Set application-specific `ApplePressAndHoldEnabled' system
5962 resource to NO as it is not yet supported by the NS port.
5964 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
5966 * misc.el (list-dynamic-libraries--refresh): Compute header here...
5967 (list-dynamic-libraries): ...not here.
5969 2011-06-21 Leo Liu <sdl.web@gmail.com>
5971 * subr.el (sha1): Implement sha1 using secure-hash.
5973 2011-06-21 Martin Rudalics <rudalics@gmx.at>
5975 * window.el (display-buffer-alist): In default value do not
5976 enforce searching a window on any but the selected frame.
5977 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
5978 (display-buffer-select-window): Remove function.
5979 (display-buffer-in-window): When a window on another frame gets
5980 reused, do not select it any more but just raise its frame if
5981 necessary (Bug#8851) and (Bug#8856).
5982 (display-buffer-normalize-options): Handle pop-up-frames related
5983 options more faithfully.
5984 (pop-to-buffer): Don't rely on `display-buffer' selecting the
5985 window if it is on another frame.
5986 (display-buffer-alist, display-buffer-default-specifiers):
5987 Don't make new frame unsplittable by default.
5988 (display-buffer-normalize-argument): Fix doc-string typo and use
5989 'same-frame-other-window instead of 'other-window when associating
5990 with display-buffer-macro-specifiers.
5992 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
5994 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
5996 (5x5-mode-map, 5x5-mode-menu): Bind them.
5997 (5x5-draw-grid): Tweak the solver's rendering.
5999 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6001 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6002 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6004 2011-06-21 Drew Adams <drew.adams@oracle.com>
6006 * menu-bar.el: Use function variable instead of switch-to-buffer.
6007 (menu-bar-select-buffer-function): New variable.
6008 (menu-bar-update-buffers): Use it (bug#8876).
6010 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6012 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6015 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6017 * x-dnd.el (x-dnd-version-from-flags)
6018 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6019 and long as number (Bug#8899).
6020 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6022 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6024 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
6025 (completion-try-completion, completion-all-completions): Compute the
6026 metadata argument if it's missing; make it optional (bug#8795).
6028 * wid-edit.el: Use lex-bind and move towards completion-at-point.
6029 (widget-complete): Use new :completion-function property.
6030 (widget-completions-at-point): New function.
6031 (default): Use :completion-function instead of :complete.
6032 (widget-default-completions): Rename from widget-default-complete;
6034 (widget-string-complete, widget-file-complete, widget-color-complete):
6036 (file, symbol, function, variable, coding-system, color):
6037 * international/mule-cmds.el (default-input-method, charset)
6038 (language-info-custom-alist):
6039 * cus-edit.el (face): Use new property :completions.
6041 * progmodes/pascal.el (pascal-completions-at-point): New function.
6042 (pascal-mode): Use it.
6043 (pascal-mode-map): Use completion-at-point.
6044 (pascal-toggle-completions): Make obsolete.
6045 (pascal-complete-word, pascal-show-completions):
6046 * progmodes/octave-mod.el (octave-complete-symbol):
6047 Redefine as obsolete alias.
6048 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6049 Signal absence of completion info for old Octave,
6050 (inferior-octave-complete): Redefine as obsolete alias.
6051 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6052 (meta-completions-at-point): Rename from meta-complete-symbol and
6053 adapt it for use on completion-at-point-functions.
6054 (meta-common-mode): Use it.
6055 (meta-looking-at-backward, meta-match-buffer): Remove.
6056 (meta-complete-symbol): Redefine as obsolete alias.
6057 (meta-common-mode-map): Use completion-at-point.
6058 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
6059 (makefile-mode-map): Use completion-at-point.
6060 (makefile-completions-at-point): Rename from makefile-complete and
6061 adapt it for use on completion-at-point-functions.
6062 (makefile-mode): Use it.
6063 (makefile-complete): Redefine as obsolete alias.
6065 2011-06-20 Deniz Dogan <deniz@dogan.se>
6067 * net/rcirc.el: Delete trailing whitespaces once and for all.
6069 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
6071 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
6073 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
6075 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
6077 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
6079 2011-06-19 Martin Rudalics <rudalics@gmx.at>
6081 * window.el (display-buffer-other-window-means-other-frame):
6082 Call display-buffer-normalize-alist.
6083 (display-buffer-normalize-specifiers-1): Rename to
6084 display-buffer-normalize-argument. New argument other-frame.
6086 (display-buffer-normalize-specifiers-2): Rename to
6087 display-buffer-normalize-options.
6088 (display-buffer-normalize-alist-1): New function.
6089 (display-buffer-normalize-specifiers-3): Rename to
6090 display-buffer-normalize-alist.
6091 Call display-buffer-normalize-alist-1.
6092 (display-buffer-normalize-options-inhibit): New variable.
6093 (display-buffer-normalize-specifiers): Rewrite calling
6094 display-buffer-normalize-alist,
6095 display-buffer-normalize-argument, and
6096 display-buffer-normalize-options. Don't call the latter if
6097 display-buffer-normalize-options-inhibit is non-nil.
6098 (frame-auto-delete): New option.
6099 (window-deletable-p): Use frame-auto-delete.
6100 (window-list-no-nils, window-state-ignored-parameters)
6101 (window-state-get-1, window-state-get, window-state-put-list)
6102 (window-state-put-1, window-state-put-2, window-state-put):
6104 (display-buffer-normalize-options): Move special-display-p group
6105 after pop-up-frame group (Bug#8851) and (Bug#8856).
6107 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
6109 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
6111 (rx-submatch-n): New function.
6114 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
6117 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
6119 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
6121 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
6122 anytime existing face settings are present (Bug#8889).
6124 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
6125 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
6126 Remove unused argument.
6128 2011-06-18 Martin Rudalics <rudalics@gmx.at>
6130 * window.el (display-buffer-default-specifiers):
6131 Remove pop-up-frame. Add pop-up-window-min-height,
6132 pop-up-window-min-width, and another reuse-window specifier
6133 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
6134 (display-buffer-normalize-specifiers-2):
6135 Handle split-height-threshold and split-width-threshold also when
6136 pop-up-windows is unset. Add a reuse-window specifier for the
6137 case popping up a new window fails.
6138 (special-display-popup-frame): Remove double quoting.
6139 (display-buffer-normalize-specifiers-1): Fix thinko.
6141 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * shell.el (shell-completion-vars): Set pcomplete-termination-string
6144 according to comint-completion-addsuffix.
6146 * pcomplete.el: Convert to lexical binding and fix bug#8819.
6147 (pcomplete-suffix-list): Mark as obsolete.
6148 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
6149 pcomplete-seen in the closure.
6150 (pcomplete-comint-setup): Setup completion-at-point as well.
6151 (pcomplete--entries): New function.
6152 (pcomplete--env-regexp): New var.
6153 (pcomplete-entries): Rewrite to work with partial-completion and
6154 without relying on pcomplete-suffix-list.
6155 (pcomplete-pare-list): Remove, unused.
6157 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6159 * window.el (display-buffer-alist): Set pop-up-window-min-height
6160 and pop-up-window-min-width in default value. Reported by
6161 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
6162 other-window-means-other-frame.
6163 (display-buffer-macro-specifiers): Comment out entry for
6164 other-window specifier.
6165 (display-buffer-other-window-means-other-frame): New function.
6166 (display-buffer-normalize-specifiers-1): New arguments
6167 buffer-name and label. Treat other-window case specially.
6168 (display-buffer-normalize-specifiers-2): Treat other-window case
6170 (display-buffer-normalize-specifiers-3): New function.
6171 (display-buffer-normalize-specifiers):
6172 Call display-buffer-normalize-specifiers-3.
6174 2011-06-17 Martin Rudalics <rudalics@gmx.at>
6176 * window.el (same-window-p): Fix two typos introduced when
6177 adding with-no-warnings.
6178 (display-buffer-normalize-specifiers-1): Don't check
6179 pop-up-frames for 'unset initialization.
6180 (display-buffer-normalize-specifiers-2): Major rewrite using
6181 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
6182 (pop-up-frames, display-buffer-reuse-frames)
6183 (display-buffer-mark-dedicated): Don't initialize to 'unset.
6184 Suggested by David Engster <deng@randomsample.de>.
6185 (even-window-heights): Initialize to 'unset.
6186 (display-buffer-alist-set): Handle new 'unset initializations.
6187 (display-buffer-macro-specifiers): Don't pop up a new frame in the
6190 2011-06-16 Martin Rudalics <rudalics@gmx.at>
6192 * window.el (display-buffer-normalize-specifiers-1):
6193 Respect current value of pop-up-frames for most reasonable values of
6194 second argument of display-buffer (Bug#8865).
6195 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
6196 (switch-to-buffer-other-window-same-frame)
6197 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
6199 (display-buffer): Don't check noninteractive when calling
6200 display-buffer-pop-up-frame.
6201 (display-buffer-pop-up-frame): Never pop up a frame in
6202 noninteractive mode (Bug#8857).
6203 (enlarge-window, shrink-window): Don't report an error when the
6204 window can't be resized as requested (Bug#8862).
6206 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6208 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
6210 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
6212 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
6214 2011-06-15 Alan Mackenzie <acm@muc.de>
6216 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
6217 for declarators, disable knr checking to speed up for normal files.
6218 2: Refactor, replacing a sequence of nested if forms by a cond form.
6220 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
6222 * net/network-stream.el (open-network-stream): Add the keyword
6223 :always-query-capabilities for the case where you want to force a
6224 `plain' network connection, but the protocol still requires the
6225 capabilitiy command (i.e., SMTP and EHLO).
6227 * subr.el (process-live-p): Rename from `process-alive-p' for
6228 consistency with other `-live-p' functions.
6230 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6232 * window.el (same-window-buffer-names, same-window-regexps)
6233 (special-display-frame-alist, special-display-popup-frame)
6234 (special-display-function, special-display-buffer-names)
6235 (special-display-regexps, pop-up-frame-alist)
6236 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
6237 (pop-up-windows, split-window-preferred-function)
6238 (split-height-threshold, split-width-threshold, even-window-heights)
6239 (display-buffer-mark-dedicated): Don't encourage the use of
6240 display-buffer-alist from Elisp code.
6242 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
6244 * progmodes/python.el (python-mode): Derive from prog-mode.
6245 * progmodes/ps-mode.el (ps-mode):
6246 * progmodes/mixal-mode.el (mixal-mode):
6247 * progmodes/cfengine.el (cfengine-mode):
6248 * progmodes/ld-script.el (ld-script-mode): Likewise.
6250 2011-06-15 Martin Rudalics <rudalics@gmx.at>
6252 * window.el (display-buffer-alist): Trim default value to avoid
6253 popping up a new frame (Bug#8857) or reusing an arbitrary window
6255 (display-buffer): Do not fall back on popping up a new frame in
6256 batch mode (Bug#8857).
6258 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
6260 * cus-theme.el (describe-theme-1): Use custom-theme-p.
6261 (custom-theme-summary): New function.
6262 (customize-themes): Use it.
6264 2011-06-13 Glenn Morris <rgm@gnu.org>
6266 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
6268 2011-06-13 Martin Rudalics <rudalics@gmx.at>
6270 * help.el (help-window): Remove variable.
6271 (help-window-point-marker, temp-buffer-max-height)
6272 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
6273 (help-print-return-message): Don't set help-window.
6274 (resize-temp-buffer-window): Rewrite cod eand doc-string.
6275 (help-window-setup-finish): Remove.
6276 (help-window-display-message, help-window-setup)
6277 (with-help-window): Major rewrite based on new
6278 display-buffer-window variable.
6280 * help-mode.el (help-mode-finish): Remove help-window related
6283 * view.el (view-exits-all-viewing-windows): Remove reference to
6284 view-return-to-alist in doc-string.
6285 (view-return-to-alist): Make obsolete.
6286 (view-buffer): Call pop-to-buffer-same-window and remove
6288 (view-buffer-other-window): Call pop-to-buffer-other-window and
6289 simplify code. Ignore second argument.
6290 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
6291 simplify code. Ignore second argument.
6292 (view-return-to-alist-update): Make obsolete.
6293 (view-mode-enter): Rename second argument to QUIT-RESTORE.
6294 Rewrite using quit-restore window parameters.
6295 (view-mode-exit): Rename second argument to EXIT-ONLY.
6296 Rewrite using quit-restore-window.
6297 (View-exit, View-exit-and-edit, View-leave, View-quit)
6298 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6299 appropriate arguments.
6300 (view-end-message): Use quit-restore window parameter.
6302 * window.el (display-buffer-function): Rewrite doc-string.
6303 (display-buffer-window, display-buffer-alist): New variables.
6304 (display-buffer-split-specifiers)
6305 (display-buffer-side-specifiers)
6306 (display-buffer-macro-specifiers): New constants.
6307 (display-buffer-even-window-sizes, display-buffer-set-height)
6308 (display-buffer-set-width, display-buffer-select-window)
6309 (display-buffer-in-window, display-buffer-reuse-window)
6310 (display-buffer-split-window-1, display-buffer-split-window)
6311 (display-buffer-split-atom-window, display-buffer-pop-up-window)
6312 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
6313 (display-buffer-in-side-window, normalize-buffer-to-display)
6314 (display-buffer-normalize-specifiers-1)
6315 (display-buffer-normalize-specifiers-2)
6316 (display-buffer-normalize-specifiers, display-buffer-frame):
6318 (display-buffer): Major rewrite.
6319 (display-buffer-other-window, display-buffer-other-frame)
6320 (pop-to-buffer, switch-to-buffer-other-window)
6321 (switch-to-buffer-other-frame): Rewrite.
6322 (display-buffer-same-window, display-buffer-same-frame)
6323 (display-buffer-same-frame-other-window)
6324 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6325 (pop-to-buffer-other-window)
6326 (pop-to-buffer-same-frame-other-window)
6327 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
6328 (switch-to-buffer-other-window-same-frame): New functions.
6329 (same-window-p, special-display-p): Rewrite disabling warnings.
6331 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6332 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
6334 (same-window-buffer-names, same-window-regexps)
6335 (special-display-frame-alist, special-display-popup-frame)
6336 (special-display-function, special-display-buffer-names)
6337 (special-display-regexps, pop-up-frame-alist)
6338 (pop-up-frame-function, split-window-preferred-function)
6339 (split-height-threshold, split-width-threshold)
6340 (even-window-heights): Make obsolete.
6342 2011-06-12 Glenn Morris <rgm@gnu.org>
6344 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
6345 Misc simplifications.
6347 2011-06-12 Martin Rudalics <rudalics@gmx.at>
6349 * window.el (window-safely-shrinkable-p): Restore function which
6350 was inadvertently removed in change from 2011-06-11. Declare as
6353 * calendar/calendar.el (calendar-generate-window):
6354 Use window-iso-combined-p instead of combination of one-window-p and
6355 window-safely-shrinkable-p.
6357 2011-06-12 Glenn Morris <rgm@gnu.org>
6359 * progmodes/fortran.el (fortran-mode-syntax-table):
6360 * progmodes/f90.el (f90-mode-syntax-table):
6361 Set % to punctuation. (Bug#8820)
6362 (f90-find-tag-default): Remove, no longer needed.
6364 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
6366 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
6368 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
6370 * image.el (image-animated-p): Return animation delay in seconds.
6371 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
6372 (image-animate-timeout): Remove DELAY argument. Don't assume
6373 every subimage has the same delay; get it from image-animated-p.
6374 (image-animate): Caller changed.
6376 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
6378 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
6379 to ignored backtrace functions.
6381 2011-06-11 Glenn Morris <rgm@gnu.org>
6383 * calendar/appt.el (appt-disp-window-function): Doc fix.
6384 (appt-check): Handle overlapping appointments. (Bug#8337)
6386 2011-06-11 Martin Rudalics <rudalics@gmx.at>
6388 * window.el (window-tree-1, window-tree): New functions, moving
6389 the latter to window.el.
6390 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6391 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6392 (bw-refresh-edges): Remove.
6393 (balance-windows-1, balance-windows-2): New functions.
6394 (balance-windows): Rewrite in terms of window tree functions,
6395 balance-windows-1 and balance-windows-2.
6396 (bw-adjust-window): Remove.
6397 (balance-windows-area-adjust): New function with functionality of
6398 bw-adjust-window but using resize-window.
6399 (set-window-text-height): Rewrite doc-string.
6400 Use normalize-live-window and resize-window.
6401 (enlarge-window-horizontally, shrink-window-horizontally):
6402 Rename argument to DELTA.
6403 (window-buffer-height): New function.
6404 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
6405 Rewrite using new window resize routines.
6406 (kill-buffer-and-window, mouse-autoselect-window-select):
6407 Use ignore-errors instead of condition-case.
6408 (quit-window): Call delete-frame instead of delete-windows-on
6409 for the only buffer on frame.
6411 2011-06-10 Martin Rudalics <rudalics@gmx.at>
6413 * loadup.el (top-level): Load window before files for the sake
6414 of replace-buffer-in-windows.
6416 * files.el (read-buffer-to-switch)
6417 (switch-to-buffer-other-window)
6418 (switch-to-buffer-other-frame, display-buffer-other-frame):
6421 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
6422 (previous-buffer): Move to window.el.
6424 * bindings.el (unbury-buffer): Move to window.el.
6426 * window.el (delete-other-windows-vertically): Move after
6427 definition of delete-other-windows.
6428 (other-window, delete-windows-on, replace-buffer-in-windows):
6429 Move here from window.c.
6430 (record-window-buffer, unrecord-window-buffer)
6431 (set-window-buffer-start-and-point, switch-to-prev-buffer)
6432 (switch-to-next-buffer): New functions.
6433 (get-next-valid-buffer, last-buffer, next-buffer): Move here
6434 from simple.el. Call switch-to-next-buffer.
6435 (previous-buffer): Move here from simple.el.
6436 Call switch-to-prev-buffer.
6437 (bury-buffer): Move here from buffer.c. Switch to previous
6438 buffer when window cannot be deleted.
6439 (unbury-buffer): Move here from bindings.el.
6440 (ctl-x-map): Move binding for other-window from window.c to
6442 (read-buffer-to-switch, switch-to-buffer-other-window)
6443 (switch-to-buffer-other-frame): Move here from files.el.
6444 (normalize-buffer-to-switch-to): New functions.
6445 (switch-to-buffer): Move here from buffer.c.
6446 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
6448 2011-06-10 Martin Rudalics <rudalics@gmx.at>
6450 * window.el (window-min-height, window-min-width): Move here
6451 from window.c. Add defcustoms and rewrite doc-strings.
6452 (resize-mini-window, resize-window): New functions.
6453 (adjust-window-trailing-edge, enlarge-window, shrink-window):
6454 Move here from window.c.
6455 (maximize-window, minimize-window): New functions.
6456 (delete-window, delete-other-windows, split-window): Move here
6458 (window-split-min-size): New function.
6459 (split-window-keep-point): Mention split-window-above-each-other
6460 instead of split-window-vertically.
6461 (split-window-above-each-other, split-window-vertically):
6462 Rename split-window-vertically to split-window-above-each-other
6463 and provide defalias for old definition.
6464 (split-window-side-by-side, split-window-horizontally):
6465 Rename split-window-horizontally to split-window-side-by-side
6466 and provide defalias for the old definition.
6467 (ctl-x-map): Move bindings for delete-window,
6468 delete-other-windows and enlarge-window here from window.c.
6469 Replace bindings for split-window-vertically and
6470 split-window-horizontally by bindings for
6471 split-window-above-each-other and split-window-side-by-side.
6473 * cus-start.el (all): Remove entries for window-min-height and
6474 window-min-width. Add entries for window-splits and
6477 2011-06-09 Glenn Morris <rgm@gnu.org>
6479 * calendar/appt.el (appt-mode-line): New function.
6480 (appt-check, appt-disp-window): Use it.
6482 * files.el (hack-one-local-variable-eval-safep):
6483 Allow minor-modes with explicit +/-1 arguments.
6485 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
6487 * term/xterm.el (xterm): Add defgroup.
6488 (xterm-extra-capabilities): Add defcustom to supply known xterm
6489 capabilities, skip querying them, or query them (default).
6490 (terminal-init-xterm): Use it.
6491 (terminal-init-xterm-modify-other-keys): New function to set up
6492 modifyOtherKeys support to simplify `terminal-init-xterm'.
6494 2011-06-09 Martin Rudalics <rudalics@gmx.at>
6496 * window.el (resize-window-reset, resize-window-reset-1)
6497 (resize-subwindows-skip-p, resize-subwindows-normal)
6498 (resize-subwindows, resize-other-windows, resize-this-window)
6499 (resize-root-window, resize-root-window-vertically)
6500 (window-deletable-p, window-or-subwindow-p)
6501 (frame-root-window-p): New functions.
6503 2011-06-09 Glenn Morris <rgm@gnu.org>
6505 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
6506 (ange-ftp-get-files): Use it.
6508 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
6510 * mail/sendmail.el (mail-recover-1, mail-recover):
6511 * files.el (recover-file, recover-session):
6512 Handle dired-listing-switches not being just a single short option.
6514 2011-06-09 Glenn Morris <rgm@gnu.org>
6516 * calendar/appt.el (appt-display-message, appt-disp-window):
6517 Handle lists of appointments.
6519 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6521 * window.el (one-window-p): Move down in code.
6523 (window-current-scroll-bars): Rewrite doc-string.
6524 Normalize live window argument.
6525 (walk-windows, get-window-with-predicate, count-windows):
6526 Rewrite doc-string. Use window-list-1.
6527 (window-in-direction-2, window-in-direction, get-mru-window):
6530 2011-06-08 Reuben Thomas <rrt@sc3d.org>
6532 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
6535 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
6537 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
6539 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
6541 * loadhist.el (unload-feature-special-hooks):
6542 Add `comint-output-filter-functions'.
6544 2011-06-08 Ivan Kanis <gnu@kanis.fr>
6546 * calendar/appt.el (appt-check): Move some initializations into the let.
6548 2011-06-08 Martin Rudalics <rudalics@gmx.at>
6550 * window.el (window-height): Defalias to window-total-height.
6551 (window-width): Defalias to window-body-width.
6553 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
6555 * image-mode.el (image-toggle-animation): New command.
6556 (image-mode-map): Bind it to RET.
6557 (image-mode): Update message.
6558 (image-toggle-display-image): Avoid a spurious cache flush.
6559 (image-transform-rotation): Doc fix.
6560 (image-transform-properties): Return quickly in the normal case.
6561 (image-animate-loop): Rename from image-animate-max-time.
6563 * image.el (image-animate-max-time): Move to image-mode.el.
6564 (create-animated-image): Remove unnecessary function.
6565 (image-animate): Rename from image-animate-start. New arg.
6566 (image-animate-stop): Remove; just use image-animate-timer.
6567 (image-animate-timer): Use car-safe.
6568 (image-animate-timeout): Rename argument.
6570 2011-06-07 Martin Rudalics <rudalics@gmx.at>
6572 * window.el (get-lru-window, get-largest-window): Move here from
6573 window.c. Rename first argument to ALL-FRAMES.
6574 Rephrase doc-strings.
6575 (get-buffer-window-list): Rewrite using window-list-1.
6576 Rephrase doc-string.
6577 (window-safe-min-height, window-safe-min-width): New constants.
6578 (window-size-ignore, window-min-size, window-min-size-1)
6579 (window-sizable, window-sizable-p, window-size-fixed-1)
6580 (window-size-fixed-p, window-min-delta-1, window-min-delta)
6581 (window-max-delta-1, window-max-delta, window-resizable)
6582 (window-resizable-p, window-total-height, window-total-width)
6583 (window-body-width): New functions.
6584 (window-full-height-p, window-full-width-p): Rewrite using
6586 (window-body-height): Rewrite using window-body-size.
6588 2011-06-06 Martin Rudalics <rudalics@gmx.at>
6590 * window.el (window-right, window-left, window-child)
6591 (window-child-count, window-last-child, window-any-p)
6592 (normalize-live-buffer, normalize-live-frame)
6593 (normalize-any-window, normalize-live-window)
6594 (window-iso-combination-p, window-iso-combined-p)
6595 (window-iso-combinations)
6596 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
6597 (windows-with-parameter, window-with-parameter)
6598 (window-atom-root, make-window-atom, window-atom-check-1)
6599 (window-atom-check, window-side-check, window-check):
6601 (ignore-window-parameters, window-sides, window-sides-vertical)
6602 (window-sides-slots): New variables.
6603 (window-size-fixed): Move down in code. Minor doc-string fix.
6605 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
6607 * comint.el (comint-dynamic-complete-as-filename)
6608 (comint-dynamic-complete-filename): Correctly call
6609 completion-in-region.
6611 2011-06-05 Deniz Dogan <deniz@dogan.se>
6613 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
6616 2011-06-05 Deniz Dogan <deniz@dogan.se>
6618 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
6619 (rcirc): Use it to prompt for encryption.
6621 2011-06-05 Roland Winkler <winkler@gnu.org>
6623 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
6624 (bibtex-search-entries): New command bound to C-c C-a.
6625 (bibtex-display-entries): New function.
6627 2011-06-05 Roland Winkler <winkler@gnu.org>
6629 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
6630 (bibtex-insert-kill): After yanking insert newline if necessary.
6631 (bibtex-initialize): Call bibtex-string-files-init only once.
6632 (bibtex-mode): Do not call easy-menu-add.
6633 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
6634 (bibtex-yank): Set arg properly if nil.
6636 2011-06-05 Roland Winkler <winkler@gnu.org>
6638 * textmodes/bibtex.el (bibtex-search-entry-globally):
6640 (bibtex-search-entry): Use it.
6642 2011-06-05 Roland Winkler <winkler@gnu.org>
6644 * textmodes/bibtex.el (bibtex-entry-format): New option
6646 (bibtex-format-entry, bibtex-reformat): Honor this option.
6647 (bibtex-parse-entry): Return fields in proper order.
6649 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
6651 * doc-view.el (doc-view-remove-if): Move computation of result out
6652 of `dolist' to silence misleading lexical-binding warning.
6654 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
6656 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
6657 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
6659 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6661 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
6664 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
6666 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
6667 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
6668 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
6669 (tramp-parse-putty):
6670 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
6671 (tramp-completion-function-alist-ssh)
6672 (tramp-completion-function-alist-telnet)
6673 (tramp-completion-function-alist-su)
6674 (tramp-completion-function-alist-putty): Set `tramp-autoload'
6679 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
6680 load "tramp.el" `tramp-set-completion-function'.
6682 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6684 * shell.el: Require and use pcomplete.
6685 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
6686 (shell-completion-vars): Set pcomplete-default-completion-function.
6688 2011-06-04 Deniz Dogan <deniz@dogan.se>
6690 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
6693 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6695 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
6697 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
6699 * bs.el (bs--mark-unmark, bs--nth-wrapper):
6700 * mpc.el (mpc-select-extend, mpc-songpointer-context):
6701 * vc/log-view.el (log-view-beginning-of-defun):
6702 * vc/smerge-mode.el (smerge-apply-resolution-patch)
6703 (smerge-refine-forward, smerge-refine-chopup-region):
6704 Silence warning for unused `dotimes' counter variables.
6706 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6708 * net/tramp.el (tramp-with-progress-reporter): Rename from
6709 with-progress-reporter. Use `declare'.
6712 * net/tramp-gvfs.el: Update all uses.
6714 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
6716 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
6717 buffer isn't killed before making it current.
6719 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6721 Silence various byte-compiler warnings.
6722 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
6723 `access-type' and new obsolescence format.
6724 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
6726 (byte-compile-check-variable): New `access-type' argument.
6727 Only warn if the access-type is obsolete.
6728 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6729 (byte-compile-variable-set): Adjust callers.
6730 * help-fns.el (describe-variable): Adjust to new obsolescence format.
6731 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
6732 setting it as obsolete.
6733 * simple.el (minibuffer-completing-symbol):
6734 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
6736 * minibuffer.el (minibuffer-completing-file-name): Don't make it
6738 * international/quail.el (quail-mouse-choose-completion): Remove unused
6739 code referring to obsolete var.
6740 (quail-choose-completion-string): Remove.
6741 * server.el (server-clients-with, server-kill-buffer-query-function)
6742 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
6743 * proced.el (proced-send-signal):
6744 * emacs-lisp/lisp.el (lisp-complete-symbol):
6745 Replace completion-annotate-function with completion-extra-properties.
6747 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6749 * simple.el (goto-line): Use read-number.
6750 (overriding-map-is-bound): Remove.
6751 (saved-overriding-map): Change default.
6752 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
6753 Take the map as argument.
6754 (universal-argument, negative-argument, digit-argument): Use it.
6755 (restore-overriding-map): Adjust.
6756 (do-auto-fill): Use fill-forward-paragraph.
6757 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
6759 * minibuffer.el (minibuffer-inactive-mode-map): New var.
6760 (minibuffer-inactive-mode): New major mode.
6761 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
6762 the *Messages* buffer" hack.
6763 (mouse-popup-menubar): Don't burp if the event is a normal key.
6765 Miscellaneous tweaks.
6766 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
6767 lexical scoping as in subr.el's dolist and dotimes.
6768 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
6769 Silence compiler warning.
6770 * thingatpt.el (forward-whitespace): Trivial coding style fix.
6771 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
6772 * international/ccl.el (ccl-compile): Trivial simplification.
6773 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
6774 * emacs-lisp/testcover.el (testcover-end): Remove spurious
6775 `printflag' argument.
6776 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
6777 Purecopy the whole obsolescence data.
6779 2011-06-01 Leo Liu <sdl.web@gmail.com>
6781 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
6782 improve doc-string as suggested by Marco Pessotto
6783 <melmothx@gmail.com>.
6784 (rcirc-print): Fix last change.
6786 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * minibuffer.el (complete-with-action): Return nil for the metadata and
6789 boundaries of non-functional tables.
6790 (completion-table-dynamic): Return nil for the metadata.
6791 (completion-table-with-terminator): Add default case, using
6792 complete-with-action.
6793 (completion--metadata): New function.
6794 (completion-all-sorted-completions, minibuffer-completion-help): Use it
6795 to try and avoid pathological performance problems.
6796 (completion--embedded-envvar-table): Return `category' metadata.
6798 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
6800 * subr.el (process-alive-p): New tiny convenience function.
6802 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
6805 content but also its previous major mode.
6807 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
6809 * emacs-lisp/debug.el (debug): Restore the previous content of the
6810 *Backtrace* buffer when we exit with C-M-c.
6812 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * minibuffer.el: Add metadata method to completion tables.
6815 (completion-category-overrides): New defcustom.
6816 (completion-metadata, completion--field-metadata)
6817 (completion-metadata-get, completion--styles)
6818 (completion--cycle-threshold): New functions.
6819 (completion-try-completion, completion-all-completions):
6820 Add `metadata' argument to choose completion-styles.
6821 (completion--do-completion): Use metadata to choose cycling.
6822 (completion-all-sorted-completions): Use metadata for sorting.
6823 Remove :completion-cycle-penalty which is not needed any more.
6824 (completion--try-word-completion): Add `metadata' argument.
6825 (minibuffer-completion-help): Check metadata for annotation function
6827 (completion-file-name-table): Return `category' metadata.
6828 (minibuffer-completing-file-name): Make obsolete.
6829 * simple.el (minibuffer-completing-symbol): Make obsolete.
6830 * icomplete.el (icomplete-completions): Pass new `metadata' param to
6831 completion-try-completion.
6833 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6835 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
6837 2011-05-30 Leo Liu <sdl.web@gmail.com>
6839 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
6840 (rcirc-print): Decode all incoming messages (bug#8744).
6841 (rcirc-decode-coding-system): Allow value nil for automatic coding
6844 2011-06-01 Glenn Morris <rgm@gnu.org>
6846 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
6848 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6850 * image.el (image-animate-max-time): Allow nil and t values.
6852 (create-animated-image): Doc fix.
6853 (image-animate-start): Remove second arg; just use
6854 image-animate-max-time.
6855 (image-animate-timeout): Doc fix. Args changed.
6857 * image-mode.el (image-toggle-display-image): Ensure that the
6858 image spec passed to the animate timer is the same object as in
6859 the buffer's display property (Bug#6981).
6860 (image-transform-properties): Doc fix.
6862 * image.el (image-animate-max-time): Default to nil.
6864 2011-05-29 Martin Rudalics <rudalics@gmx.at>
6866 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
6867 entire buffer list (Bug#8184).
6869 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6871 * image.el (imagemagick-types-inhibit)
6872 (imagemagick-register-types): Doc fix.
6874 2011-05-29 Deniz Dogan <deniz@dogan.se>
6876 * net/rcirc.el (rcirc): Use the user's stored encryption method by
6879 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
6881 * select.el: Don't perform clipboard-manager saving in hooks;
6882 leave the hooks empty.
6884 2011-05-28 Leo Liu <sdl.web@gmail.com>
6886 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
6887 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
6888 (occur-edit-mode): New major mode (Bug#8463).
6889 (occur-after-change-function): New function.
6890 (occur-engine): Give Occur tags a read-only property.
6892 2011-05-28 Kevin Ryde <user42@zip.com.au>
6894 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
6896 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6898 * bindings.el (help-echo): Make the initial non-indicator dash
6899 empty on graphical terminals (Bug#7295).
6901 * files.el (auto-mode-alist): Move config rule after the
6902 in-stripping one (Bug#8547).
6904 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
6906 * startup.el (normal-splash-screen): Remove gratuitous mode-line
6909 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
6911 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
6912 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
6915 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6917 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
6919 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
6921 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
6922 (hs-hide-block-at-point, hs-find-block-beginning)
6923 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
6926 2011-05-28 Glenn Morris <rgm@gnu.org>
6928 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
6930 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
6932 * help-fns.el (describe-function-1): If the function is a derived
6933 major mode, print the parent mode.
6935 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
6936 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
6938 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * minibuffer.el (completion--capf-wrapper): Check applicability before
6941 returning non-nil for non-exclusive completion data.
6942 * progmodes/etags.el (tags-completion-at-point-function):
6943 * info-look.el (info-lookup-completions-at-point): Mark as
6945 (info-complete): Adjust accordingly.
6947 * info-look.el: Convert to lexical-binding and completion-at-point.
6948 (info-lookup-completions-at-point): New function.
6949 (info-complete): Use it and completion-in-region.
6951 2011-05-28 Drew Adams <drew.adams@oracle.com>
6953 * isearch.el: Let M-e start with point at the first mismatched char.
6954 (isearch-fail-pos): New function.
6955 (isearch-edit-string): Use it.
6957 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
6959 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
6961 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6963 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
6964 traversal functions for avl-trees.
6965 (avl-tree--stack): New struct.
6966 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
6967 (avl-tree-enter): Add optional `updatefun' arg.
6968 (avl-tree--do-enter): Add optional `updatefun' arg.
6969 Change return value.
6970 (avl-tree-delete): Add optional `test' and `nilflag' args.
6971 (avl-tree--do-delete): Add `test' and `nilflag' args.
6972 Change return value.
6973 (avl-tree-member): Add optional `nilflag'
6974 (avl-tree-member-p): New function.
6975 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
6976 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
6977 (avl-tree-stack-empty-p): New functions.
6979 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
6981 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
6982 avl-tree--del-balance1 and make it work both ways.
6983 (avl-tree--del-balance2): Remove.
6984 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
6985 make it work both ways.
6986 (avl-tree--enter-balance2): Remove.
6987 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
6989 (avl-tree--mapc, avl-tree-map): Add direction argument.
6991 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
6993 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
6995 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
6997 * select.el: Support clipboard managers with built-in function
6998 x-clipboard-manager-save, via delete-frame-functions and
7000 (xselect-convert-to-targets): Add MULTIPLE target to list.
7001 (xselect-convert-to-save-targets): New function.
7003 2011-05-27 Kenichi Handa <handa@m17n.org>
7005 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7006 let-binding rfc2047-encode-encoded-words to nil.
7008 2011-05-27 Glenn Morris <rgm@gnu.org>
7010 * mail/emacsbug.el: Don't require url-util.
7012 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7014 * files.el (set-auto-mode):
7015 Also respect mode: entries at the end of the file. (Bug#8586)
7017 2011-05-26 Glenn Morris <rgm@gnu.org>
7019 * files.el (hack-local-variables-prop-line, hack-local-variables):
7020 Downcase mode names, as seems to be traditional.
7021 (hack-local-variables, hack-local-variables-apply): Doc fixes.
7023 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7024 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7026 2011-05-25 Julien Danjou <julien@danjou.info>
7028 * textmodes/rst.el (rst-define-level-faces): Do not define face
7029 symbol if it is already defined.
7031 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7033 * play/5x5.el (5x5-new-game, 5x5-randomize):
7034 Reset 5x5-solver-output to nil when a new grid is cast.
7035 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7036 these debugging traces, as defmacro breaks the compiled code.
7038 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7040 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7042 2011-05-24 Leo Liu <sdl.web@gmail.com>
7044 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7045 (vc-bzr-sha1): Adapt.
7047 * sha1.el: Remove. Function `sha1' is now builtin.
7049 * bindings.el: Provide sha1 feature.
7051 2011-05-24 Kenichi Handa <handa@m17n.org>
7053 * mail/sendmail.el: Require `rfc2047'.
7054 (mail-insert-from-field): Do not perform RFC2047 encoding.
7055 (mail-encode-header): New function.
7056 (sendmail-send-it): Set buffer-file-coding-system of the work
7057 buffer to the return value of select-message-coding-system.
7058 Call mail-encode-header.
7060 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
7062 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7064 * mail/supercite.el (sc-default-cite-frame):
7065 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7067 2011-05-24 Glenn Morris <rgm@gnu.org>
7069 * progmodes/python.el (brm-menu): Declare.
7071 * emulation/viper.el (viper-set-hooks): Declare.
7073 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
7074 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
7075 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
7076 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
7077 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
7078 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
7080 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7082 Add an :exit-function for completion-at-point.
7084 * minibuffer.el (completion--done): New fun.
7085 (completion--do-completion): Use it. New arg `expect-exact'.
7086 (minibuffer-complete, minibuffer-complete-word): Don't output message,
7087 since completion--do-completion does it for us now.
7088 (minibuffer-force-complete): Use completion--done and
7089 completion--replace. Handle sole-completion case with more care.
7090 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
7091 (completion-extra-properties): New var.
7092 (completion-annotate-function): Make obsolete.
7093 (minibuffer-completion-help): Adjust accordingly.
7094 Use completion-list-insert-choice-function.
7095 (completion-at-point, completion-help-at-point):
7096 Bind completion-extra-properties.
7097 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
7098 * simple.el (completion-list-insert-choice-function): New var.
7099 (completion-setup-function): Preserve it.
7100 (choose-completion): Pay attention to it, shuffle the code a bit.
7101 (choose-completion-string): New arg `insert-function'.
7103 * textmodes/bibtex.el: Convert to lexical binding.
7104 (bibtex-mode-map): Use completion-at-point.
7105 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
7106 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
7107 (bibtex-complete): Define as obsolete alias.
7108 (bibtex-complete-internal): Remove.
7109 (bibtex-format-entry): Remove unused sub-group in regexp.
7110 * shell.el (shell--command-completion-data)
7111 (shell-environment-variable-completion):
7112 * pcomplete.el (pcomplete-completions-at-point):
7113 * comint.el (comint--complete-file-name-data): Use :exit-function
7114 instead of completion-table-with-terminator so it also works for
7117 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
7121 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
7124 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
7126 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
7128 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
7129 customization variable and implement: If non-nil, auto-fill will
7130 be inhibited while on topic's header line.
7132 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
7134 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
7135 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
7136 always have a solution in grid size = 5 cases.
7137 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
7138 (5x5-solver-output, 5x5-log-buffer): New vars.
7139 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
7140 Make these variables buffer local to achieve 5x5 multi-session-ness.
7141 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
7142 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
7143 (5x5-solve-suggest): New funs.
7144 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
7145 randomize a grid so that we ensure that there is always a solution.
7146 (5x5-make-random-grid): Allow other movement than flipping.
7148 2011-05-23 Kevin Ryde <user42@zip.com.au>
7150 * emacs-lisp/advice.el (ad-read-advised-function):
7151 Use `function-called-at-point' as the default, if it has
7152 advice and passes PREDICATE.
7154 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
7157 byte-compile-lambda if it's actually a lambda.
7159 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
7160 Fix function quoting. Use backquote better.
7162 2011-05-22 Yuanle Song <sylecn@gmail.com>
7164 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
7165 matching (Bug#8516).
7167 2011-01-22 Jari Aalto <jari.aalto@cante.net>
7169 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
7170 different face (Bug#8178).
7172 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
7174 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
7177 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
7180 funcall as well (bug#8712). Warn when performing those conversions.
7181 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
7183 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
7185 2011-05-22 Glenn Morris <rgm@gnu.org>
7187 * files.el (hack-local-variables-prop-line): Small simplifications.
7188 (hack-local-variables, hack-local-variables-prop-line):
7189 If MODE-ONLY, return the mode, rather than just `t'.
7191 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
7195 2011-05-21 Glenn Morris <rgm@gnu.org>
7197 * files.el (hack-local-variables-prop-line, hack-local-variables):
7198 If only interested in the mode, don't bother doing the other stuff.
7200 * image-mode.el (image-after-revert-hook):
7201 Redraw all frames on which the image is visible. (Bug#8567)
7203 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
7205 * wid-edit.el (widget-checklist-match-inline):
7206 Fix 2011-04-19 change. (Bug#8649)
7208 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
7210 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
7211 Also allow singlespace after single-letter capitals followed by a dot.
7213 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
7214 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
7216 2011-05-20 Nix <nix@esperi.org.uk>
7218 * files.el (basic-save-buffer-2):
7219 Fix handling of break-hardlink-on-save with non-existent files.
7221 2011-05-19 Deniz Dogan <deniz@dogan.se>
7223 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
7224 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
7226 2011-05-19 Glenn Morris <rgm@gnu.org>
7228 * progmodes/f90.el (f90-type-def-re):
7229 Handle "type, bind(c)". (Bug#8691)
7231 * emacs-lisp/autoload.el (batch-update-autoloads):
7232 Set autoload-excludes by parsing loadup.el rather than Makefiles.
7234 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
7236 * net/tramp.el (tramp-process-actions): Set "first-password-request"
7237 property for the correct connection in case of multihops.
7239 2011-05-18 Glenn Morris <rgm@gnu.org>
7241 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
7242 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
7244 Rationalize calendar handling of day and month abbrev-arrays.
7245 * calendar/calendar.el (calendar-customized-p): New function.
7246 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
7247 (calendar-day-name-array, calendar-month-name-array): Doc fix.
7249 (calendar-abbrev-length, calendar-day-abbrev-array)
7250 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
7251 (calendar-day-abbrev-array, calendar-month-abbrev-array):
7252 Elements may no longer be nil.
7253 (calendar-day-name, calendar-month-name):
7254 Update for changed nature of abbrev arrays.
7255 * calendar/diary-lib.el (diary-name-pattern):
7256 Update for changed nature of abbrev arrays.
7257 (diary-mark-entries-1): Update calendar-make-alist calls.
7258 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
7259 * calendar/cal-html.el (cal-html-day-abbrev-array):
7260 Simply inherit from calendar-day-abbrev-array.
7262 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7264 * progmodes/grep.el (grep-mode): Disable default
7265 compilation-directory-matcher setting (bug#8684).
7267 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
7269 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
7270 instead of "head" and "tail". There were problems with SunOS 5.9,
7271 and it performs better.
7273 2011-05-17 Glenn Morris <rgm@gnu.org>
7275 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
7277 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7278 Replace obsolete function.
7280 * shell.el (pcomplete-parse-arguments-function): Declare.
7282 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
7283 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
7284 (appt-check): Doc fixes.
7285 (appt-disp-window-function, appt-delete-window-function):
7286 Remove needless special case in custom :type.
7287 (appt-display-count): Default to 0, not nil.
7288 (appt-check): Reset appt-display-count to 0, not nil.
7290 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
7292 * progmodes/python.el (python-font-lock-keywords):
7293 Add the Python 3.X keyword "nonlocal" (bug#8639).
7295 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
7299 2011-05-16 Kevin Ryde <user42@zip.com.au>
7301 * info-look.el (makefile-automake-mode): New setups, looking in
7302 automake manual, then makefile-mode.
7303 (makefile-mode): Remove automake manual, have it just in
7304 makefile-automake-mode since there's various things different or
7305 not relevant to plain make.
7306 (makefile-mode): Remove "other-modes" non-existent automake-mode,
7307 believe a hypothetical automake-mode would go to makefile-mode,
7308 not the other way around.
7310 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
7312 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
7313 hunk-end tags (Bug#8672).
7315 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
7316 vc-annotate-show-diff-revision-at-line (Bug#8671).
7318 2011-05-14 Glenn Morris <rgm@gnu.org>
7320 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
7321 in the middle of an existing one with multiple authors. (Bug#8645)
7322 (change-log-font-lock-keywords): Also handle multiple author lines
7323 with leading tabs. (Bug#8644)
7325 * calendar/appt.el (appt-check): Rename some local variables.
7326 Some simplification/reordering.
7328 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
7329 (feedmail-sendmail-f-doesnt-sell-me-out)
7330 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7331 (feedmail-debug-sit-for, feedmail-queue-express-hook)
7332 (feedmail-queue-runner-message-sender): Set :version.
7333 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
7334 (bbdb-dwim-net-address, vm-mail): Declare.
7335 (feedmail-binmail-gnulinuxish-template):
7336 Rename from feedmail-binmail-linuxish-template.
7337 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
7338 Use insert-buffer-substring.
7340 2011-05-14 Bill Carpenter <bill@carpenter.org>
7342 * mail/feedmail.el (feedmail-patch-level): Increase.
7343 (feedmail-debug): New custom group.
7344 (feedmail-confirm-outgoing-timeout)
7345 (feedmail-sendmail-f-doesnt-sell-me-out)
7346 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
7347 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
7348 (feedmail-sender-line, feedmail-from-line)
7349 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
7350 (feedmail-spray-this-address)
7351 (feedmail-spray-address-fiddle-plex-list)
7352 (feedmail-queue-use-send-time-for-date)
7353 (feedmail-queue-use-send-time-for-message-id)
7354 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
7355 (feedmail-buffer-eating-function):
7357 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
7358 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
7359 (feedmail-message-action-scroll-down): New functions.
7360 (feedmail-queue-directory, feedmail-queue-draft-directory):
7361 Use expand-file-name.
7362 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
7363 Remove C-v help entry.
7364 (feedmail-queue-buffer-file-name): New variable.
7365 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
7366 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
7367 (feedmail-message-action-send-strong, feedmail-message-action-edit)
7368 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
7369 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
7370 (feedmail-message-action-toggle-spray)
7371 (feedmail-run-the-queue-no-prompts)
7372 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
7373 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
7374 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
7375 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
7376 (feedmail-envelope-deducer, feedmail-fiddle-from)
7377 (feedmail-fiddle-sender, feedmail-default-date-generator)
7378 (feedmail-fiddle-date, feedmail-fiddle-message-id)
7379 (feedmail-fiddle-spray-address)
7380 (feedmail-fiddle-list-of-spray-fiddle-plexes)
7381 (feedmail-fiddle-list-of-fiddle-plexes)
7382 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
7383 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
7384 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
7385 Change default. Doc fix.
7386 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
7387 (feedmail-binmail-linuxish-template): New constant.
7388 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
7389 Respect feedmail-sendmail-f-doesnt-sell-me-out.
7390 (feedmail-send-it): Add debug call.
7391 Use feedmail-queue-buffer-file-name, and
7392 feedmail-send-it-immediately-wrapper.
7393 (feedmail-message-action-send): Add debug call.
7394 Use feedmail-send-it-immediately-wrapper.
7395 (feedmail-queue-express-to-queue): Add debug call.
7396 Run feedmail-queue-express-hook.
7397 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
7398 (feedmail-message-action-help-blat):
7399 Rename from feedmail-queue-send-edit-prompt-help-first.
7400 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
7401 Check line-endings. Handle errors better.
7402 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
7403 Doc fix. Add debug call.
7404 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
7405 Use feedmail-queue-send-edit-prompt-inner.
7406 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
7407 (feedmail-queue-send-edit-prompt-inner): New function, extracted
7408 from feedmail-queue-send-edit-prompt.
7409 (feedmail-queue-send-edit-prompt-help)
7410 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
7411 (feedmail-tidy-up-slug): Add debug call.
7412 Respect feedmail-queue-slug-suspect-regexp.
7413 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
7414 (feedmail-dump-message-to-queue): Add debug call.
7415 Expand queue-directory.
7416 (feedmail-dump-message-to-queue): Change message slightly.
7417 Use feedmail-say-chatter.
7418 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
7419 (feedmail-send-it-immediately-wrapper): New function.
7420 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
7421 Insert empty string rather than newline. Handle full-frame case.
7422 Use catch/throw. Use feedmail-say-chatter.
7423 (feedmail-fiddle-from): Try mail-host-address.
7424 (feedmail-default-message-id-generator): Doc fix.
7425 Bind system-time-locale. Handle missing end.
7426 (feedmail-fiddle-x-mailer): Add debug call.
7427 Handle feedmail-x-mailer-line being nil.
7428 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
7429 Add debug call. Use buffer-substring-no-properties.
7430 (feedmail-say-debug, feedmail-say-chatter): New functions.
7431 (feedmail-find-eoh): Give an explicit error.
7433 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
7435 * net/newst-treeview.el (newsticker-treeview-face): Change default
7436 family from helvetica to sans.
7437 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
7438 etc/images/newsticker.
7440 * net/newst-reader.el (newsticker-feed-face): Change default
7441 family from helvetica to sans.
7443 * net/newst-plainview.el (newsticker-new-item-face)
7444 (newsticker-old-item-face, newsticker-immortal-item-face)
7445 (newsticker-obsolete-item-face, newsticker-date-face)
7446 (newsticker-statistics-face): Change default family from
7448 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
7449 etc/images/newsticker.
7451 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
7452 (newsticker--process-auto-mark-filter-match): : Tell user about
7455 2011-05-13 Didier Verna <didier@xemacs.org>
7457 Common Lisp indentation improvements on defmethod and lambda-lists.
7458 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
7460 (lisp-lambda-list-keyword-parameter-indentation)
7461 (lisp-lambda-list-keyword-parameter-alignment)
7462 (lisp-lambda-list-keyword-alignment): New customizable user options.
7463 (lisp-indent-defun-method): Improve docstring.
7464 (extended-loop-p): Fix comment.
7465 (lisp-indent-lambda-list-keywords-regexp): New variable.
7466 (lisp-indent-lambda-list): New function.
7467 (lisp-indent-259): Use it.
7468 (lisp-indent-defmethod): Support for more than one
7469 method qualifier and properly indent methods lambda-lists.
7470 (defgeneric): Provide a missing common-lisp-indent-function property.
7472 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
7475 bounds for the empty string (bug#8667).
7477 2011-05-13 Glenn Morris <rgm@gnu.org>
7479 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
7481 * mail/sendmail.el (sendmail-program): Try executable-find first.
7482 (sendmail-send-it): `sendmail-program' cannot be unbound.
7484 * calendar/appt.el (appt-make-list): Simplify.
7485 (appt-time-msg-list): Doc fix.
7486 (appt-check): Change mode-line message at the time of the appointment.
7488 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7490 * progmodes/ld-script.el (ld-script-keywords)
7491 (ld-script-builtins): Update keywords list.
7493 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
7497 * shell.el (shell-completion-vars): New function.
7499 * simple.el (read-shell-command): Use it.
7500 (blink-matching-open): No need for " [...]" in minibuffer-message.
7502 2011-05-12 Glenn Morris <rgm@gnu.org>
7504 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
7505 (appt-check): Simplify.
7507 2011-05-12 Eli Zaretskii <eliz@gnu.org>
7509 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
7510 literal "/dev/null".
7512 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7514 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
7517 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
7519 * progmodes/which-func.el (which-function):
7520 Use add-log-current-defun instead of add-log-current-defun-function,
7521 which might not be defined (Bug#8260).
7523 2011-05-12 Glenn Morris <rgm@gnu.org>
7525 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
7526 Let byte-compile-initial-macro-environment always take precedence.
7528 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7530 * net/rcirc.el: Add support for SSL/TLS connections.
7531 (rcirc-server-alist): New field `encryption'.
7532 (rcirc): Check `encryption' settings.
7533 (rcirc-connect): New arg `encryption'. Use open-network-stream.
7534 Merge make-local-variable into `set'.
7535 (rcirc--connection-open-p): New function.
7536 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
7537 the process is not a network process (e.g. running gnutls-cli).
7538 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
7539 Make rcirc-(en|de)code-coding-system local here.
7540 (rcirc-mode): Merge make-local-variable into `set'.
7541 (rcirc-parent-buffer): Make permanent buffer-local.
7542 (rcirc-multiline-minor-mode): Don't do it here.
7543 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
7544 there's no server buffer.
7546 2011-05-11 Glenn Morris <rgm@gnu.org>
7548 * newcomment.el (comment-kill): Prefix "unused" local.
7550 * term/w32console.el (get-screen-color): Declare.
7552 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7553 Handle symbol elements of byte-compile-initial-macro-environment.
7555 2011-05-10 Leo Liu <sdl.web@gmail.com>
7557 * bookmark.el (bookmark-bmenu-mode-map):
7558 Bind bookmark-bmenu-search to `/'.
7560 * mail/footnote.el: Convert to utf-8 encoding.
7561 (footnote-unicode-string, footnote-unicode-regexp): New variable.
7562 (Footnote-unicode): New function.
7563 (footnote-style-alist): Add unicode style to the list.
7564 (footnote-style): Doc fix.
7566 2011-05-10 Jim Meyering <meyering@redhat.com>
7568 Fix doubled-word typos.
7569 * international/quail.el (quail-insert-kbd-layout): and and -> and
7570 * kermit.el: and and -> and
7571 * net/ldap.el (ldap-search-internal): to to -> to
7572 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
7573 * progmodes/js.el (js-mode): and and -> and
7574 * textmodes/artist.el (artist-move-to-xy): at at -> at
7575 (artist-draw-region-trim-line-endings): if if -> if
7576 And Safetyc -> Safety.
7577 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
7579 2011-05-10 Glenn Morris <rgm@gnu.org>
7580 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * files.el (hack-one-local-variable-eval-safep):
7583 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7585 2011-05-10 Glenn Morris <rgm@gnu.org>
7587 * calendar/diary-lib.el (diary-list-entries-hook)
7588 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
7589 (diary-nongregorian-marking-hook, diary-list-entries)
7590 (diary-include-other-diary-files, diary-mark-entries)
7591 (diary-mark-included-diary-files): Doc fixes.
7593 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7595 * misc.el: Require tabulated-list.el during compilation.
7597 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7599 * progmodes/compile.el (compilation-start):
7600 Run compilation-filter-hook for the async case too.
7601 (compilation-filter-hook): Doc fix.
7603 2011-05-09 Deniz Dogan <deniz@dogan.se>
7605 * wdired.el: Remove outdated installation comment. Fix usage
7608 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
7610 * misc.el: Implement new command `list-dynamic-libraries'.
7611 (list-dynamic-libraries--loaded-only-p): New variable.
7612 (list-dynamic-libraries--refresh): New function.
7613 (list-dynamic-libraries): New command.
7615 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7617 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7618 Fix the ant regexp to handle end-line and end-column info from jikes.
7619 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
7620 higher priority to avoid clobbering by gnu.
7622 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7624 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
7625 if the face has existing theme settings (Bug#8454).
7627 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
7629 * progmodes/perl-mode.el (perl-imenu-generic-expression):
7630 Only match variables declared via `my' or `our' (Bug#8261).
7632 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
7633 special file names `.' and `..' (Bug#8259).
7635 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
7637 * progmodes/grep.el (grep-mode-font-lock-keywords):
7638 Remove buffer-changing entries.
7639 (grep-filter): New function.
7640 (grep-mode): Add it to compilation-filter-hook.
7642 * progmodes/compile.el (compilation-filter-hook)
7643 (compilation-filter-start): New defvars.
7644 (compilation-filter): Call compilation-filter-hook prior to
7645 updating the process mark.
7647 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7649 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
7651 2011-05-07 Eli Zaretskii <eliz@gnu.org>
7653 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
7654 mailclient-send-it even if window-system is nil. (Bug#8595)
7656 * term/w32console.el (terminal-init-w32console):
7657 Call get-screen-color and use its output to set the frame
7658 background-mode. (Bug#8597)
7660 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7662 Make bytecomp.el understand that defmethod defines funs (bug#8631).
7663 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
7665 (defgeneric, eieio--defmethod): Use them.
7666 (eieio-defgeneric): Remove.
7667 (defmethod): Call defgeneric in a way visible to the byte-compiler.
7669 2011-05-07 Glenn Morris <rgm@gnu.org>
7671 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
7672 Use let rather than let*.
7673 (timeclock-find-discrep): Remove unused local.
7675 * calendar/diary-lib.el (diary-comment-start): Doc fix.
7677 * calendar/appt.el (appt-time-msg-list): Doc fix.
7679 2011-05-06 Noah Friedman <friedman@splode.com>
7681 * apropos.el (apropos-print-doc): Only use
7682 emacs-lisp-docstring-fill-column when it is bound to an integer,
7683 per that variable's documentation.
7685 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
7688 and warnings are not silently discarded (e.g. use -d instead of -P).
7690 2011-05-06 Glenn Morris <rgm@gnu.org>
7692 * calendar/appt.el (appt-message-warning-time): Doc fix.
7693 (appt-warning-time-regexp): New option.
7694 (appt-make-list): Respect appt-message-warning-time.
7696 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
7698 (diary-add-to-list): Strip comments from the displayed string.
7699 (diary-mode): Set comment-start and comment-end.
7701 * vc/diff-mode.el (smerge-refine-subst): Declare.
7702 (diff-refine-hunk): Don't require smerge-mode when compiling.
7704 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
7706 * simple.el (list-processes): Return nil as the docstring says.
7708 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7710 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
7712 (ange-ftp-write-region, ange-ftp-insert-file-contents)
7713 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7714 determining of binary transfer. (Bug#7383)
7716 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
7718 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7719 Fix port computation bug. (Bug#8618)
7721 2011-05-05 Glenn Morris <rgm@gnu.org>
7723 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
7725 * simple.el (shell-dynamic-complete-functions)
7726 (comint-dynamic-complete-functions): Declare.
7728 * net/network-stream.el (gnutls-negotiate):
7729 * simple.el (tabulated-list-print): Fix declarations.
7731 * progmodes/gud.el (syntax-symbol, syntax-point):
7732 Remove unnecessary and incorrect declarations.
7734 * emacs-lisp/check-declare.el (check-declare-scan):
7735 Handle byte-compile-initial-macro-environment in bytecomp.el
7737 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7739 Fix earlier half-done eieio-defmethod change (bug#8338).
7740 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
7741 Streamline and change calling convention.
7742 (defmethod): Adjust accordingly and simplify.
7743 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
7744 new eieio--defmethod.
7745 (slot-boundp): Minor CSE simplification.
7747 2011-05-05 Milan Zamazal <pdm@zamazal.org>
7749 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
7750 (glasses-make-readable): Use glasses-separate-capital-groups.
7752 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
7754 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
7755 (warning-series): Doc fix.
7756 (display-warning): Don't try to create the buffer if we just found it.
7758 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
7760 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
7761 (autoload-find-generated-file): New function.
7762 (generate-file-autoloads): Bind generated-autoload-file to
7764 (update-file-autoloads, update-directory-autoloads):
7765 Use autoload-find-generated-file. If called interactively, prompt for
7766 output file (Bug#7989).
7767 (batch-update-autoloads): Doc fix.
7769 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
7771 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
7773 2011-05-04 Glenn Morris <rgm@gnu.org>
7775 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
7776 function, so it follows changes in calendar-date-style.
7777 (diary-fancy-date-matcher): New function.
7778 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
7779 (diary-fancy-font-lock-fontify-region-function):
7780 Use diary-fancy-date-pattern as a function.
7782 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
7783 non-numbers for `year' etc pseudo-variables. (Bug#8583)
7785 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
7787 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
7788 instead of positional arguments. Allow :keylist and :crlfiles
7790 (open-gnutls-stream): Call it.
7792 * net/network-stream.el (network-stream-open-starttls): Adjust to
7793 call `gnutls-negotiate' with :process and :hostname arguments.
7795 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7797 * minibuffer.el (completion--message): New function.
7798 (completion--do-completion, minibuffer-complete)
7799 (minibuffer-force-complete, minibuffer-complete-word): Use it.
7800 (completion--do-completion): Don't ignore completion-auto-help when in
7803 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
7804 internal encoding (e.g. tibetan zero is not whitespace).
7805 (global-whitespace-mode): Prefer save-current-buffer.
7806 (whitespace-trailing-regexp): Remove useless save-match-data.
7807 (whitespace-empty-at-bob-regexp): Minor simplification.
7809 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
7811 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
7813 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7815 * textmodes/ispell.el (ispell-add-per-file-word-list):
7816 Use `concat' to create string for insertion.
7818 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7820 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
7821 Avoid open-line which runs post-self-insert-hook.
7822 (bibtex-fill-entry): Remove unused `end' var.
7824 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
7826 * textmodes/ispell.el (ispell-add-per-file-word-list):
7827 Protect against `nil' value of `comment-start' (Bug#8579).
7829 2011-05-03 Leo Liu <sdl.web@gmail.com>
7831 * isearch.el (isearch-yank-pop): New command.
7832 (isearch-mode-map): Bind it to `M-y'.
7833 (isearch-forward): Mention it.
7835 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * simple.el (minibuffer-complete-shell-command): Remove.
7838 (minibuffer-local-shell-command-map): Use completion-at-point.
7839 (read-shell-command): Setup completion vars here instead.
7840 (read-expression-map): Bind TAB to symbol completion.
7842 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
7843 error directly rather via storing it into `results'.
7845 2011-05-02 Leo Liu <sdl.web@gmail.com>
7847 * vc/diff.el: Fix description.
7849 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851 * server.el (server-eval-at): New function.
7853 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7855 * net/network-stream.el (open-network-stream): Take a :nowait
7856 parameter and pass it on to `make-network-process'.
7857 (network-stream-open-plain): Ditto.
7859 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
7861 * faces.el (face-spec-set-match-display): Don't match toolkit
7862 options on terminal frames.
7864 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
7866 * progmodes/pascal.el: Use lexical binding.
7867 (pascal-mode-map): Remove author preferences.
7869 * pcomplete.el (pcomplete-std-complete): Don't abuse
7870 completion-at-point.
7872 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7874 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
7875 removing code that has been dead since 1991 or so.
7877 * startup.el (command-line): When warning about "_emacs", use a
7878 delayed warning to allow the user to filter it out.
7880 2011-04-28 Deniz Dogan <deniz@dogan.se>
7882 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
7883 user has not joined.
7885 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7887 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
7888 aren't any completions at point.
7890 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
7892 * subr.el (display-delayed-warnings): New function.
7893 (delayed-warnings-hook): New variable.
7895 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * minibuffer.el (completion-at-point, completion-help-at-point):
7898 Don't presume that a given completion-at-point-function will always
7899 use the same calling convention.
7901 * pcomplete.el (pcomplete-completions-at-point):
7902 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
7903 pcomplete-seen is non-nil.
7904 (pcomplete-comint-setup): Also recognize the new comint/shell
7905 completion functions.
7906 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
7907 pcomplete-seen is non-nil.
7909 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
7911 * calendar/icalendar.el (diary-lib): Add require statement.
7912 (icalendar--create-uid): Read out a uid from a text-property on
7913 the first character in the entry. This allows for code to add its
7914 own uid to the entry.
7915 (icalendar--convert-float-to-ical): Add export of
7916 `diary-float'-entries save for those with the optional DAY
7919 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
7921 * subr.el (shell-quote-argument): Use alternate escaping strategy
7922 when we spot a variable reference in a string.
7924 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7926 * cus-start.el (all): Define customization for debug-on-event.
7928 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
7930 * subr.el (shell-quote-argument): Escape correctly under Windows.
7932 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7934 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
7936 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
7938 * net/tramp.el (tramp-process-actions): Add POS argument.
7939 Delete region between POS and (pos).
7941 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7942 Use `nil' position in `tramp-process-actions' call.
7943 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
7945 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
7946 position in `tramp-process-actions' call.
7948 * net/trampver.el: Update release number.
7950 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7952 * custom.el (defcustom): Obey lexical-binding.
7954 Fix octave-inf completion problems reported by Alexander Klimov.
7955 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
7956 Inherit from octave-mode-syntax-table.
7957 (inferior-octave-mode): Set info-lookup-mode.
7958 (inferior-octave-completion-at-point): New function.
7959 (inferior-octave-complete): Use it and completion-in-region.
7960 (inferior-octave-dynamic-complete-functions): Use it as well, and use
7961 comint-filename-completion.
7962 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
7963 symbol elements which shouldn't be word elements.
7964 (octave-font-lock-keywords, octave-beginning-of-defun)
7965 (octave-function-header-regexp): Adjust regexps accordingly.
7966 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
7968 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
7970 * net/gnutls.el (gnutls-errorp): Declare before first use.
7972 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
7974 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
7975 verify-error, and verify-hostname-error parameters. Check whether
7976 default trustfile exists before going to use it. Add missing
7977 argument to gnutls-message-maybe call. Return value.
7978 Reported by Claudio Bley <claudio.bley@gmail.com>.
7979 (open-gnutls-stream): Add usage example.
7981 * net/network-stream.el (network-stream-open-starttls): Give host
7982 parameter to `gnutls-negotiate'.
7983 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
7984 * subr.el (shell-quote-argument): Escape correctly under Windows.
7986 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
7988 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7989 Use correct match group (bug#8438).
7991 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
7993 * emacs-lisp/package.el (package-built-in-p): Fix typo.
7994 (package-menu--generate): New arg specifying packages to show.
7995 (package-menu-refresh, package-menu-execute, list-packages):
7997 (package-show-package-list): New function, replacing deleted
7998 package--list-packages (renamed because it is non-internal).
8000 * finder.el (finder-list-matches): Use package-show-package-list
8001 instead of deleted package--list-packages.
8003 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8004 Based on a previous implementation by Juanma Barranquero (Bug#8366).
8005 (vc-annotate-mode-map): Bind it to RET.
8007 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8009 * progmodes/etags.el (next-file): Don't use set-buffer to change
8012 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8014 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8016 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8017 (apropos-accumulator): Doc fix.
8018 (apropos-function, apropos-macro, apropos-command)
8019 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8020 (apropos-plist): Add face property.
8021 (apropos-symbols-internal): Fix indentation.
8022 (apropos-print): Simplify help, and recognize apropos-multi-type.
8023 (apropos-print-doc): Use button-type-get to extract the button's
8024 face property. Fill docstring (Bug#8352).
8026 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
8028 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8030 * play/mpuz.el (mpuz-silent): Doc fix.
8031 (mpuz-mode-map): Use mapc.
8032 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8033 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8034 Fix typos in docstrings.
8036 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8037 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8039 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8041 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
8043 * minibuffer.el (completion--do-completion): Avoid the "Next char
8044 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8046 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8047 mouse-2 into unread-command-events, it is interpreted correctly.
8049 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
8050 (image-toggle-display): Doc fix.
8052 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
8054 * textmodes/page.el (what-page): Use line-number-at-pos to
8055 calculate line number (Bug#6825).
8057 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8059 * eshell/esh-mode.el (find-tag-interactive): Declare function.
8060 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
8061 Pass argument NO-DEFAULT to `find-tag-interactive'.
8063 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
8065 Lexical-binding cleanup.
8067 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
8068 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
8069 * progmodes/ada-prj.el (ada-prj-initialize-values)
8070 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
8071 (ada-prj-show-value):
8072 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
8073 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
8074 (antlr-invalidate-context-cache, antlr-options-menu-filter)
8075 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
8076 * progmodes/bug-reference.el (bug-reference-push-button):
8077 * progmodes/fortran.el (fortran-line-length):
8078 * progmodes/glasses.el (glasses-change):
8079 * progmodes/octave-mod.el (octave-fill-paragraph):
8080 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
8081 (python-pdbtrack-grub-for-buffer, python-sentinel):
8082 * progmodes/sql.el (sql-save-connection):
8083 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
8084 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
8085 Mark unused parameters.
8087 * progmodes/compile.el (compilation--flush-directory-cache)
8088 (compilation--flush-parse, compile-internal): Mark unused parameters.
8089 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
8090 (compilation-next-error-function): Remove unused variable `timestamp'.
8092 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
8093 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
8095 * progmodes/dcl-mode.el (dcl-end-of-command):
8096 Remove unused variable `start'.
8097 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
8098 (dcl-option-value-basic, dcl-option-value-offset)
8099 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
8100 Mark unused parameters.
8101 (dcl-save-local-variable): Remove unused variable `val'.
8104 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
8105 Mark unused parameters.
8106 (delphi-ignore-changes): Move before first use.
8107 (delphi-charset-token-at): Remove unused variable `start'.
8108 (delphi-else-start): Remove unused variable `if-count'.
8109 (delphi-comment-block-start, delphi-comment-block-end):
8110 Remove unused variable `kind'.
8111 (delphi-indent-line): Remove unused variable `new-point'.
8113 * progmodes/ebrowse.el (ebrowse-files-list)
8114 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
8115 Mark unused parameters. Don't quote `lambda'.
8116 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
8117 Don't quote `lambda'.
8118 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
8119 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
8120 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
8121 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
8122 Use `ignore-errors'.
8123 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
8124 (ebrowse-view/find-file-and-search-pattern)
8125 (ebrowse-view/find-member-declaration/definition):
8126 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
8127 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
8128 Rename parameter PREFIX-ARG to PREFIX.
8129 (ebrowse-tags-read-name): Remove unused variables `start' and
8131 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
8134 * progmodes/etags.el (local-find-tag-hook): Declare.
8135 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
8136 Mark unused parameters.
8138 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
8139 (executable-interpret): Mark unused parameter.
8141 * progmodes/flymake.el (flymake-process-sentinel)
8142 (flymake-after-change-function)
8143 (flymake-create-temp-with-folder-structure)
8144 (flymake-get-include-dirs-dot): Mark unused parameters.
8145 (flymake-safe-delete-directory): Remove unused variable `err'.
8147 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
8148 (speedbar-timer-fn, speedbar-line-text)
8149 (speedbar-change-expand-button-char, speedbar-delete-subblock)
8150 (speedbar-center-buffer-smartly): Declare functions.
8151 (gdb-find-watch-expression): Remove unused variable `array'.
8152 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
8153 (gdb-starting): Mark unused parameters.
8154 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
8155 (gdb-table-string): Remove unused variable `res'.
8156 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
8157 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
8158 (gdb-display-buffer): Remove unused variable `cur-size'.
8160 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
8161 allow lexical-binding compilation.
8162 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
8163 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
8164 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
8165 Mark unused parameters.
8166 (gud-gdb-marker-filter): Remove unused variable `match'.
8167 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
8168 lambda expressions and funcall them, instead of using `fset'.
8170 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
8171 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
8173 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
8174 variable `header-beg'; use `let'.
8176 * progmodes/icon.el (indent-icon-exp): Remove unused variables
8177 `restart', `last-sexp' and `at-do'.
8179 * progmodes/js.el (js--debug): Mark unused parameter.
8180 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
8181 (js--splice-into-items): Remove unused variable `item'.
8182 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
8184 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
8185 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
8186 (makefile-complete): Remove unused variable `try'.
8187 (makefile-fill-paragraph, makefile-match-function-end):
8188 Mark unused parameters.
8190 * progmodes/octave-inf.el (inferior-octave-complete):
8191 Remove unused variable `proc'.
8192 (inferior-octave-output-digest): Mark unused parameter.
8194 * progmodes/perl-mode.el (perl-calculate-indent):
8195 Remove unused variable `err'.
8197 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
8198 (prolog-indent-line): Mark unused parameters.
8199 (prolog-indent-line): Remove unused variable `beg'.
8201 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
8202 (reporter-dont-compact-list): Declare.
8204 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
8205 Remove unused variable `char'.
8206 (sh-debug): Mark unused parameter.
8207 (sh-get-indent-info): Remove unused variable `start'.
8208 (sh-calculate-indent): Remove unused variable `var'.
8210 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
8211 (simula-electric-keyword): Remove unused variable `null'.
8212 (simula-search-backward, simula-search-forward): Remove unused
8213 variables `begin' and `end'.
8215 * progmodes/vera-mode.el (vera-guess-basic-syntax):
8216 Remove unused variable `pos'.
8217 (vera-electric-tab, vera-comment-uncomment-region):
8218 Mark unused parameters.
8219 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
8221 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
8223 * emacs-lisp/package.el (package--builtins, package-alist)
8224 (package-load-descriptor, package-built-in-p, package-activate)
8225 (define-package, package-installed-p)
8226 (package-compute-transaction, package-buffer-info)
8227 (package--push): Doc fix. Distinguish more clearly between
8228 version strings and version lists.
8230 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
8232 Lexical-binding cleanup.
8234 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
8235 (5x5-make-mutate-best):
8236 * play/fortune.el (fortune-in-buffer):
8237 * play/gomoku.el (gomoku-init-display):
8238 * play/solitaire.el (solitaire, solitaire-do-check):
8239 * play/tetris.el (tetris-default-update-speed-function):
8240 Mark unused parameters.
8242 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
8243 (bubbles--shift): Remove unused variable `char-org'.
8244 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
8245 (bubbles--show-images): Remove unused variable `char'.
8247 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
8248 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
8249 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
8250 (decipher-analyze-buffer): Use ?\s.
8251 (decipher-make-checkpoint): Remove unused variable `mapping'.
8253 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
8255 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
8256 Remove unused variable `result'; use `let'.
8258 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
8259 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
8260 (gametree-children-shown-p, gametree-compute-reduced-score):
8261 Use `ignore-errors'.
8263 * play/handwrite.el (ps-lpr-switches): Declare.
8264 (handwrite): Remove unused variables `pmin' and `lastp'.
8266 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
8268 * play/landmark.el (landmark-init-display)
8269 (landmark-update-naught-weights): Mark unused parameters.
8270 (landmark-y): Remove unused variable `noise'. Simplify.
8271 (landmark-human-plays): Remove unused variable `score'.
8273 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
8274 (mpuz-try-proposal): Remove unused variable `game'.
8276 * play/zone.el (life-patterns): Declare.
8278 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
8280 * vc/vc.el (ediff-vc-internal): Declare function.
8282 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8284 * shell.el: Use lexical-binding and std completion UI.
8285 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
8286 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
8287 comint-preoutput-filter-functions rather than on
8288 comint-output-filter-functions.
8289 (shell-command-completion, shell--command-completion-data)
8290 (shell-filename-completion, shell-environment-variable-completion)
8291 (shell-c-a-p-replace-by-expanded-directory): New functions.
8292 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
8293 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
8294 (shell-dynamic-complete-environment-variable): Use them.
8295 (shell-dynamic-complete-as-environment-variable)
8296 (shell-dynamic-complete-as-command): Remove.
8297 (shell-match-partial-variable): Match past point.
8298 * comint.el: Clean up use of completion-at-point-functions.
8299 (comint-completion-at-point): New function.
8300 (comint-mode): Use it completion-at-point-functions.
8301 (comint-dynamic-complete): Make it obsolete.
8302 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
8303 (comint-c-a-p-replace-by-expanded-history): New function.
8304 (comint-dynamic-complete-functions)
8305 (comint-replace-by-expanded-history): Use it.
8306 * minibuffer.el (completion-table-with-terminator): Allow dynamic
8307 termination strings. Try harder to avoid second try-completion.
8308 (completion-in-region-mode-map): Disable bindings that don't work yet.
8310 * comint.el: Use lexical-binding. Require CL.
8311 (comint-dynamic-complete-functions): Use comint-filename-completion.
8312 (comint-completion-addsuffix): Tweak custom type.
8313 (comint-filename-completion, comint--common-suffix)
8314 (comint--common-quoted-suffix, comint--table-subvert)
8315 (comint--complete-file-name-data): New functions.
8316 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
8317 (comint-dynamic-list-filename-completions): Use them.
8318 (comint-dynamic-simple-complete): Make obsolete.
8320 * minibuffer.el (completion-in-region-mode):
8321 Keep completion-in-region-mode--predicate global.
8322 (completion-in-region--postch):
8323 Assume completion-in-region-mode--predicate is not null.
8325 * progmodes/flymake.el (flymake-start-syntax-check-process):
8326 Obey `dir'. Simplify.
8328 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
8329 we're in VC after all.
8331 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
8333 * vc/vc.el (vc-diff-build-argument-list-internal)
8334 (vc-version-ediff, vc-ediff): New commands.
8335 (vc-version-diff): Use vc-diff-build-argument-list-internal.
8337 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8339 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
8342 * obsolete/erc-hecomplete.el: Make obsolete.
8343 * obsolete/: Standardize obsolescence info in the header.
8345 2011-04-20 Glenn Morris <rgm@gnu.org>
8347 * calendar/solar.el (solar-horizontal-coordinates):
8348 Use the longitude argument rather than `calendar-longitude'.
8349 (solar-date-next-longitude): Remove unused locals.
8351 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8353 * whitespace.el: New version 13.2.1.
8355 2011-04-20 felix <EmacsWiki> (tiny change)
8357 * whitespace.el (global-whitespace-mode): Keep highlight when
8358 switching between major modes on a file.
8360 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8362 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
8363 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
8364 multi-line comments as well.
8366 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
8368 Lexical-binding cleanup.
8370 * arc-mode.el (archive-mode-revert):
8371 * cmuscheme.el (scheme-interactively-start-process):
8372 * custom.el (custom-initialize-delay):
8373 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
8374 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
8375 * emacs-lock.el (emacs-lock-clear-sentinel):
8376 * ezimage.el (defezimage):
8377 * follow.el (follow-avoid-tail-recenter):
8378 * fringe.el (set-fringe-mode-1):
8379 * generic-x.el (bat-generic-mode-compile):
8380 * help-mode.el (help-info-variable, help-do-xref)
8381 (help-mode-revert-buffer):
8382 * help.el (view-emacs-todo):
8383 * iswitchb.el (iswitchb-completion-help):
8384 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
8385 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
8386 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
8387 * locate.el (locate-update):
8388 * longlines.el (longlines-encode-region)
8389 (longlines-after-change-function):
8390 * outline.el (outline-isearch-open-invisible):
8391 * ps-def.el (declare-function, charset-dimension, char-width)
8393 * ps-mule.el (ps-mule-plot-string):
8394 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
8395 (recentf-edit-list-select, recentf-edit-list-validate)
8396 (recentf-open-files-action):
8397 * rect.el (delete-whitespace-rectangle-line)
8398 (rectangle-number-line-callback):
8399 * register.el (window-configuration-to-register)
8400 (frame-configuration-to-register):
8401 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
8402 * select.el (xselect-convert-to-string, xselect-convert-to-length)
8403 (xselect-convert-to-targets, xselect-convert-to-delete)
8404 (xselect-convert-to-filename, xselect-convert-to-charpos)
8405 (xselect-convert-to-lineno, xselect-convert-to-colno)
8406 (xselect-convert-to-os, xselect-convert-to-host)
8407 (xselect-convert-to-user, xselect-convert-to-class)
8408 (xselect-convert-to-name, xselect-convert-to-integer)
8409 (xselect-convert-to-atom, xselect-convert-to-identity):
8410 * subr.el (declare, ignore, process-kill-without-query)
8411 (text-clone-maintain):
8412 * terminal.el (te-get-char, te-tic-sentinel):
8413 * tool-bar.el (tool-bar-make-keymap):
8414 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
8415 * type-break.el (type-break-mode, type-break-noninteractive-query):
8416 * view.el (View-back-to-mark):
8417 * wid-browse.el (widget-browse-action, widget-browse-widget)
8418 (widget-browse-widgets, widget-browse-sexp):
8419 * widget.el (define-widget-keywords):
8420 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
8421 Mark unused parameters.
8423 * align.el (align-adjust-col-for-rule): Mark unused parameter.
8424 (align-areas): Remove unused variable `look'.
8425 (align-region): Remove unused variables `real-end' and `pos-list'.
8427 * apropos.el (apropos-score-doc): Remove unused variable `i'.
8429 * bindings.el (mode-line-modified, mode-line-remote):
8430 Mark unused parameters.
8431 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
8433 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
8434 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
8436 * comint.el (comint-history-isearch-pop-state)
8437 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
8438 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
8439 (comint-substitute-in-file-name): Doc fix.
8441 * completion.el (cmpl-statistics-block): Mark unused parameter.
8442 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
8443 (save-completions-to-file, load-completions-from-file):
8444 Remove unused local variable `e'.
8446 * composite.el (compose-chars): Remove unused variable `len'.
8447 (lgstring-insert-glyph): Remove unused variable `g'.
8448 (compose-glyph-string): Remove unused variables `ascent',
8449 `descent', `lbearing' and `rbearing'.
8450 (compose-glyph-string-relative): Remove unused variables
8451 `lbearing', `rbearing' and `wadjust'.
8452 (compose-gstring-for-graphic): Remove unused variables `header',
8453 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
8454 (compose-gstring-for-terminal): Remove unused variables `header'
8455 and `nchars'. Use `let', not `let*'.
8457 * cus-edit.el (Custom-set, Custom-save, custom-reset)
8458 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
8459 (Custom-buffer-done, custom-buffer-create-internal)
8460 (custom-browse-visibility-action, custom-browse-group-tag-action)
8461 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
8462 (widget-magic-mouse-down-action, custom-toggle-parent)
8463 (custom-add-parent-links, custom-toggle-hide-variable)
8464 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
8465 (custom-toggle-hide-face, face, hook, custom-group-link-action)
8466 (custom-face-menu-create, custom-variable-menu-create, get)
8467 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
8468 (custom-reset-standard-save-and-update): Remove unused variable `value'.
8469 (customize-apropos): Remove unused variable `tests'.
8470 (custom-group-value-create): Remove unused variable `hidden-p'.
8471 (sort-fold-case): Declare.
8473 * cus-theme.el (custom-reset-standard-faces-list)
8474 (custom-reset-standard-variables-list): Declare.
8475 (customize-create-theme, custom-theme-revert, custom-theme-write)
8476 (custom-theme-choose-mode, customize-themes, custom-theme-save):
8477 Mark unused parameters.
8479 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
8481 * delim-col.el (delimit-columns-max): Move defvar before first use.
8483 * descr-text.el (describe-char-categories): Don't quote `lambda'.
8484 (describe-char): Don't quote `lambda'. Mark unused parameter.
8486 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
8487 (auto-insert): Declare.
8488 (desktop-restore-file-buffer): Rename desktop-* parameters;
8490 (desktop-create-buffer): Rename desktop-* parameters and bind them.
8491 (desktop-buffer): Rename desktop-* parameters.
8493 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8494 (dframe-reposition-frame-xemacs, dframe-help-echo)
8495 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
8496 Mark unused parameters.
8498 * dired-aux.el (backup-extract-version-start, overwrite-query)
8499 (overwrite-backup-query, rename-regexp-query)
8500 (rename-non-directory-query): Declare.
8501 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
8502 (dired-add-entry): Remove unused variable `orig-file-name'.
8503 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
8504 Use parameter PRESERVE-TIME instead of accessing dynamic variable
8505 `dired-copy-preserve-time' directly.
8506 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
8507 (dired-insert-subdir-newpos): Rename unused variable `pos'.
8509 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
8510 (dired-virtual-revert, dired-make-relative-symlink):
8511 Mark unused parameters.
8512 (manual-program): Declare.
8513 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
8514 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
8515 wrapped in `with-no-warnings' to avoid replacing one warning by another.
8517 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
8519 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
8521 * echistory.el (electric-history-in-progress, Helper-return-blurb):
8524 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
8526 * electric.el (Electric-command-loop): Rename parameter
8527 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
8529 * expand.el (expand-in-literal): Remove unused variable `here'.
8531 * facemenu.el (facemenu-add-new-color):
8532 Remove unused variable `docstring'.
8534 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
8535 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
8536 (face-attr-construct): Mark unused parameter. Doc fix.
8537 (read-color): Remove unused variable `hex-string'.
8539 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
8540 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
8541 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
8542 (display-buffer-other-frame): Remove unused variable `old-window'.
8543 (kill-buffer-hook): Declare.
8544 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
8545 Mark unused parameters.
8546 (after-find-file): Pass 1 to `auto-save-mode', not t.
8548 * files-x.el (auto-insert): Declare.
8549 (modify-file-local-variable-prop-line): Remove unused variable `val'.
8551 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
8552 variable `buf'. Mark unused parameter.
8553 (find-lisp-insert-directory): Mark unused parameter.
8555 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
8556 (format-encode-region): Remove unused variables `cur-buf' and `result'.
8557 (format-common-tail): Remove, unused.
8558 (format-deannotate-region): Remove unused variable `loc'.
8559 (format-annotate-region): Remove unused variable `p'.
8560 (format-annotate-single-property-change): Remove unused variables
8561 `default' and `tail'.
8563 * forms.el (read-file-filter): Declare.
8564 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
8566 * frame.el (frame-creation-function-alist): Mark unused parameter.
8567 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
8569 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
8570 Remove unused parameters.
8571 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
8572 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
8574 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
8575 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
8576 (hfy-prepare-tag-map): Mark unused parameters.
8577 (htmlfontify-buffer): Use `called-interactively-p'.
8579 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
8580 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
8581 (ibuffer-do-occur): Mark unused parameters.
8582 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
8583 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
8585 * ibuffer.el: Don't quote `lambda'.
8586 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
8587 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
8588 Mark unused parameters.
8590 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
8591 (ido-completing-read): Mark unused parameters.
8592 (ido-copy-current-word): Mark unused parameters;
8593 remove unused variable `name'.
8594 (ido-sort-merged-list): Remove unused parameter `dirs'.
8596 * ielm.el (ielm-input-sender): Mark unused parameter.
8597 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
8598 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
8599 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
8600 `ielm-string' as a dynamic variable accessible from the IELM prompt.
8601 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
8603 * image-dired.el (image-dired-display-thumbs): Remove unused
8604 variables `curr-file' and `count'.
8605 (image-dired-remove-tag): Remove unused variable `start'.
8606 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
8607 variable `curr-file'
8608 (image-dired-rotate-original): Remove unused variable `temp-file'.
8609 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
8610 Remove unused variable `file'.
8611 (image-dired-gallery-generate): Remove unused variable `curr'.
8612 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
8614 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
8616 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
8618 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
8620 * isearch.el (minibuffer-history-symbol): Declare.
8621 (isearch-edit-string): Remove unused variable `err'.
8622 (isearch-message-prefix, isearch-message-suffix):
8623 Mark unused parameters.
8625 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
8627 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
8629 * makesum.el (double-column): Remove unused variable `cnt'.
8631 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
8632 (ido-ignore-item-temp-list): Declare.
8634 * mouse-drag.el (mouse-drag-throw): Remove unused variables
8635 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
8636 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
8637 (mouse-drag-drag): Remove unused variables `mouse-delta' and
8640 * mouse-sel.el (mouse-extend-internal):
8641 Remove unused variable `orig-window-frame'.
8643 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
8644 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
8645 Move declarations before first use.
8646 (pcomplete-opt): Mark unused parameters; doc fix.
8648 * proced.el (proced-revert): Mark unused parameter.
8649 (proced-send-signal): Remove unused variable `err'.
8651 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
8652 Rename parameter PREFIX-ARG to ARG.
8653 (ps-basic-plot-string, ps-basic-plot-whitespace):
8654 Mark unused parameters.
8656 * replace.el (replace-count): Define.
8657 (occur-revert-function): Mark unused parameters.
8658 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
8659 (isearch-case-fold-search, isearch-string): Declare.
8660 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
8661 bind `case-fold-search'. Remove unused variables `beg' and `end',
8663 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
8664 COUNT and bind `replace-count'.
8665 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
8668 * savehist.el (print-readably, print-string-length): Declare.
8670 * shadowfile.el (shadow-expand-cluster-in-file-name):
8671 Remove unused variable `cluster'.
8672 (shadow-copy-file): Remove unused variable `i'.
8673 (shadow-noquery, shadow-clusters, shadow-site-cluster)
8674 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
8675 (shadow-define-literal-group, shadow-define-regexp-group)
8676 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
8678 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
8679 (shell): Use `called-interactively-p'.
8680 (shell-directory-tracker): Remove unused variable `chdir-failure'.
8682 * simple.el (compilation-context-lines, comint-file-name-quote-list)
8683 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
8684 (delete-backward-char): Remove unused variable `ocol'.
8685 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
8686 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
8687 (event-apply-hyper-modifier, event-apply-shift-modifier)
8688 (event-apply-control-modifier, event-apply-meta-modifier):
8689 Mark unused parameters.
8690 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
8691 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
8693 * speedbar.el (speedbar-ignored-directory-expressions)
8694 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
8695 (speedbar-find-file, speedbar-dir-follow)
8696 (speedbar-directory-buttons-follow, speedbar-tag-find)
8697 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
8698 (speedbar-buffers-line-directory, speedbar-buffer-click):
8699 Mark unused parameters.
8700 (speedbar-tag-file): Remove unused variable `mode'.
8701 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
8703 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
8705 * talk.el (talk): Remove unused variable `display'.
8707 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
8708 (tar-write-region-annotate): Mark unused parameter.
8710 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
8711 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
8712 Declare them, wrapped in `with-no-warnings' to avoid replacing one
8715 * time-stamp.el (time-stamp-string-preprocess):
8716 Remove unused variable `require-padding'.
8718 * tree-widget.el (widget-glyph-enable): Declare.
8719 (tree-widget-action): Mark unused parameter.
8721 * w32-fns.el (x-get-selection): Mark unused parameter.
8722 (autoload-make-program, generated-autoload-file): Declare.
8724 * wdired.el (wdired-revert): Mark unused parameters.
8725 (wdired-xcase-word): Remove unused variable `err'.
8727 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
8728 (whitespace-help-scroll): Remove unused variable `data-help'.
8730 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
8731 (widget-image-insert, widget-after-change, default)
8732 (widget-default-format-handler, widget-default-notify)
8733 (widget-default-prompt-value, widget-info-link-action)
8734 (widget-url-link-action, widget-function-link-action)
8735 (widget-variable-link-action, widget-file-link-action)
8736 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
8737 (widget-field-prompt-internal, widget-field-action, widget-field-match)
8738 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
8739 (widget-insert-button-action, widget-delete-button-action, visibility)
8740 (widget-documentation-link-action, widget-documentation-string-action)
8741 (widget-const-prompt-value, widget-regexp-match, symbol)
8742 (widget-coding-system-prompt-value)
8743 (widget-key-sequence-value-to-external, sexp)
8744 (widget-sexp-value-to-internal, character, vector, cons)
8745 (widget-choice-prompt-value, widget-boolean-prompt-value)
8746 (widget-color--choose-action): Mark unused parameters.
8747 (widget-item-match-inline, widget-choice-match-inline)
8748 (widget-checklist-match, widget-checklist-match-inline)
8749 (widget-group-match): Rename parameter VALUES to VALS.
8750 (widget-field-value-set): Remove unused variable `size'.
8751 (widget-color-action): Remove unused variables `value' and `start'.
8753 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
8754 variable `dir'. Doc fix.
8755 (windmove-find-other-window): Don't pass it.
8757 * window.el (count-windows): Mark unused parameter.
8758 (bw-adjust-window): Remove unused variable `err'.
8760 * woman.el (woman-file-name): Remove unused variable `default'.
8761 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
8762 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
8763 (global-font-lock-mode): Declare.
8764 (woman-decode-region): Mark unused parameter.
8765 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
8767 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
8768 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
8769 (x-dnd-handle-moz-url): Remove unused variable `title'.
8770 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
8772 * xml.el (xml-parse-tag, xml-parse-attlist):
8773 Remove unused variable `pos'.
8775 2011-04-19 Glenn Morris <rgm@gnu.org>
8777 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
8778 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
8779 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8780 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
8781 * calendar/cal-html.el (cal-html-insert-minical):
8782 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
8783 (calendar-mark-date-pattern):
8784 Prefix "unused" locals.
8786 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
8787 optional argument `style'.
8789 * calendar/appt.el (appt-make-list):
8790 * calendar/cal-china.el (calendar-chinese-date-string):
8791 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
8792 (diary-hebrew-yahrzeit):
8793 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
8794 * calendar/calendar.el (calendar-generate-window):
8795 * calendar/time-date.el (time-to-days):
8796 Remove unused local variables.
8798 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
8800 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
8801 glyphless-char-display table.
8802 (tabulated-list-glyphless-char-display): New var.
8804 2011-04-18 Sam Steingold <sds@gnu.org>
8806 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
8809 2011-04-17 Glenn Morris <rgm@gnu.org>
8811 * calendar/diary-lib.el (diary-sexp-entry):
8812 * calendar/holidays.el (holiday-sexp):
8813 Set debug-on-error rather than the removed stack-trace-on-error.
8815 2011-04-16 Glenn Morris <rgm@gnu.org>
8817 * progmodes/f90.el: Use lexical-binding.
8818 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
8820 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8822 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
8823 (mail-mode): Setup mailalias completion here instead.
8824 * mail/mailalias.el: Use lexical-binding.
8825 (pattern, mailalias-done): Declare dynamic.
8826 (mail-completion-at-point-function): New function, from mail-complete.
8827 (mail-complete): Use it.
8828 (mail-completion-expand): New function.
8829 (mail-get-names): Use it.
8830 (mail-directory, mail-directory-process, mail-directory-stream):
8831 Don't use `pattern' for lexically bound arg.
8833 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
8835 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
8836 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
8837 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
8839 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
8840 (byte-save-window-excursion, byte-temp-output-buffer-setup)
8841 (byte-interactive-p): Define them again, for use when inlining
8844 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
8846 * loadup.el: Use `string-to-number', not `string-to-int'.
8848 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
8851 gud-gdb-complete-command.
8852 (gud-gdb-completions): New function, from gud-gdb-complete-command.
8853 (gud-gdb-completion-at-point): New function.
8854 (gud-gdb-completions): Remove.
8856 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
8858 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
8859 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
8860 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
8861 whether `executable-find' is bound.
8863 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
8865 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8867 * minibuffer.el (completion-in-region-mode-predicate)
8868 (completion-in-region-mode--predicate): New vars.
8869 (completion-in-region, completion-in-region--postch)
8870 (completion-in-region-mode): Use them.
8871 (completion--capf-wrapper): Also return the hook function.
8872 (completion-at-point, completion-help-at-point):
8873 Adjust and provide a predicate.
8875 Preserve arg names for advice of subr and lexical functions (bug#8457).
8876 * help-fns.el (help-function-arglist): Consolidate the subr and
8877 new-byte-code cases. Add argument `preserve-names' to extract names
8878 from the docstring when needed.
8879 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
8880 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
8881 (ad-arglist): Use help-function-arglist's new arg.
8882 (ad-definition-type): Use cond.
8884 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
8886 * autorevert.el (auto-revert-handler):
8887 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
8888 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8891 * image-mode.el (image-transform-set-scale):
8892 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
8894 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8896 * net/network-stream.el (network-stream-open-starttls): Only do
8897 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
8898 Upgrades via gnutls-cli are too slow to be done opportunistically.
8900 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
8902 * dframe.el (dframe-current-frame): Remove spurious quote.
8904 2011-04-12 Glenn Morris <rgm@gnu.org>
8906 * calendar/cal-tex.el (cal-tex-end-document):
8907 Try to automatically use latin1 input if needed.
8909 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
8910 Don't try to cons a mark onto an empty element.
8912 2011-04-11 Leo Liu <sdl.web@gmail.com>
8914 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
8916 (ido-kill-buffer-at-head): Support killing virtual buffers.
8918 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
8920 * minibuffer.el (completion-show-inline-help): New var.
8921 (completion--do-completion, minibuffer-complete)
8922 (minibuffer-force-complete, minibuffer-complete-word):
8923 Inhibit minibuffer messages if completion-show-inline-help is nil.
8925 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
8926 to avoid interference from inline help (Bug#5849).
8928 2011-04-10 Leo Liu <sdl.web@gmail.com>
8930 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8933 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
8935 * image-mode.el (image-toggle-display-image): Signal an error if
8937 (image-transform-mode, image-transform-resize)
8938 (image-transform-set-rotation): Doc fix.
8939 (image-transform-set-resize): Delete.
8940 (image-transform-set-scale, image-transform-fit-to-height)
8941 (image-transform-fit-to-width): Handle image-toggle-display-image
8942 and image-transform-resize directly.
8944 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
8946 * doc-view.el (doc-view-fit-width-to-window)
8947 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
8948 New functions for fitting the shown image to the Emacs window size.
8949 (doc-view-mode-map): Add bindings for the new functions.
8951 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
8953 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
8954 Fix typo in docstring.
8956 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8958 * files.el (file-size-human-readable): Produce one digit after
8959 decimal, like "ls -lh" does.
8961 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
8962 the file size representation.
8964 * simple.el (list-processes): If async subprocesses are not
8965 available, error out with a clear error message.
8967 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
8969 * help.el (help-form-show): New function, to be called from C.
8970 Put help-form output in a buffer named differently than *Help*.
8972 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8974 * files.el (file-size-human-readable): New function.
8976 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
8977 computing the representation inline. Don't require `cl'.
8979 2011-04-08 Glenn Morris <rgm@gnu.org>
8981 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
8983 * net/browse-url.el (browse-url-firefox):
8984 Test system-type, not system-configuration.
8986 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
8987 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
8988 Use log-edit-empty-buffer-p. (Bug#7598)
8990 * net/rlogin.el (rlogin-process-connection-type): Simplify.
8991 (rlogin-mode-map): Initialize in the defvar.
8992 (rlogin): Use ignore-errors.
8994 * replace.el (occur-mode-map): Some fixes for menu items.
8996 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8998 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9000 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9002 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9003 issuing unused warnings.
9005 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9008 * simple.el: Lisp reimplement of list-processes. Based on an
9009 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9010 (process-menu-mode): New major mode.
9011 (list-processes--refresh, list-processes):
9012 (process-menu-visit-buffer): New functions.
9014 * files.el (save-buffers-kill-emacs): Don't assume any return
9015 value of list-processes, which is undocumented anyway.
9017 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9019 * emacs-lisp/tabulated-list.el: New file.
9021 * emacs-lisp/package.el: Use Tabulated List mode.
9022 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9023 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9024 table format using Tabulated List mode variables.
9025 (package--push): New macro, replacing package-list-maybe-add.
9026 (package-menu--generate): Use package--push. Renamed from
9027 package--generate-package-list.
9028 (package-menu-refresh, list-packages): Use it.
9029 (package-menu--print-info): Rename from package-print-package.
9030 Return insertion data instead of inserting it directly.
9031 (package-menu-describe-package, package-menu-execute):
9032 Use tabulated-list-get-id.
9033 (package-menu-mark-delete, package-menu-mark-install)
9034 (package-menu-mark-unmark, package-menu-backup-unmark)
9035 (package-menu-mark-obsolete-for-deletion):
9036 Use tabulated-list-put-tag.
9037 (package--list-packages, package-menu-revert)
9038 (package-menu-get-package, package-menu-get-version)
9039 (package-menu-sort-by-column): Functions deleted.
9040 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9041 (package-menu--status-predicate, package-menu--version-predicate)
9042 (package-menu--name-predicate)
9043 (package-menu--description-predicate): Handle arguments in the
9044 Tabulated List format.
9045 (package-list-packages-no-fetch): Call list-packages.
9047 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
9049 * files.el (after-find-file-from-revert-buffer): Remove variable.
9050 (after-find-file): Don't bind it.
9051 (revert-buffer-in-progress-p): New variable.
9052 (revert-buffer): Bind it.
9053 Pass nil for `after-find-file-from-revert-buffer'.
9055 * saveplace.el (save-place-find-file-hook): Use new variable
9056 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
9058 2011-04-06 Glenn Morris <rgm@gnu.org>
9060 * Makefile.in (AUTOGEN_VCS): New variable.
9061 (autoloads): Use $AUTOGEN_VCS.
9063 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
9064 * calendar/calendar.el (calendar-mode-map):
9065 Check for toolkit scroll bars. (Bug#8305)
9067 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9069 * minibuffer.el (completion-in-region--postch)
9070 (completion-in-region-mode): Remove unnecessary messages.
9072 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
9074 * font-lock.el (font-lock-refresh-defaults):
9075 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
9076 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
9078 * info.el (Info-directory-list, Info-read-node-name-2)
9079 (Info-split-parameter-string): Doc fixes.
9080 (Info-virtual-nodes): Reflow docstring.
9081 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
9082 (Info-apropos-toc-nodes, info-finder, Info-get-token)
9083 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9084 Fix typos in docstrings.
9085 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
9086 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
9087 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
9088 (Info-restore-desktop-buffer): Mark unused parameters.
9089 (Info-directory-find-file, Info-directory-find-node)
9090 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
9091 (Info-virtual-index-find-node, Info-apropos-find-file)
9092 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
9093 Mark unused parameters; fix typos in docstrings.
9094 (Info-virtual-index): Remove unused local variable `nodename'.
9096 2011-04-05 Deniz Dogan <deniz@dogan.se>
9098 * net/rcirc.el: Update my e-mail address.
9099 (rcirc-mode-map): Remove M-o binding.
9101 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
9103 * startup.el (command-line): Save the cursor's theme-face
9104 directly, instead of using face-override-spec.
9106 * custom.el (load-theme): Minor optimization in assigning faces.
9108 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9110 * help-fns.el (describe-variable): Complete all variables having
9111 documentation, including keywords.
9112 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
9114 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9116 Convert to lexical-binding.
9118 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
9119 (bs--get-marked-string, bs--get-modified-string)
9120 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
9121 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9122 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
9124 * ehelp.el (electric-help-execute-extended)
9125 (electric-help-ctrl-x-prefix):
9126 * hexl.el (hexl-revert-buffer-function):
9127 * linum.el (linum-after-change, linum-after-scroll):
9128 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
9130 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
9132 2011-04-04 Daiki Ueno <ueno@unixuser.org>
9139 * epg.el: Use lexical binding.
9141 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
9143 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
9145 * textmodes/flyspell.el (flyspell-word): Recognize default
9146 dictionary case for flyspell-mark-duplications-exceptions.
9147 Use regexp matching for languages.
9148 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
9149 default dictionary (Bug#7926).
9151 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
9153 * emacs-lisp/package.el (package--with-work-buffer):
9154 Recognize https URLs.
9156 * net/network-stream.el: Move from gnus/proto-stream.el.
9157 Change prefix to network-stream throughout.
9158 (open-protocol-stream): Merge into open-network-stream, leaving
9159 open-protocol-stream as an alias. Handle nil BUFFER args.
9161 * subr.el (open-network-stream): Move to net/network-stream.el.
9163 2011-04-02 Glenn Morris <rgm@gnu.org>
9165 * find-dired.el (find-exec-terminator): New option.
9166 (find-ls-option): Test for -ls support.
9167 (find-ls-subdir-switches): Test for -b in find-ls-option.
9168 (find-dired, find-grep-dired): Doc fixes.
9169 (find-dired): Use find-exec-terminator.
9171 * find-dired.el (find-ls-option, find-ls-subdir-switches)
9172 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
9173 (find-name-arg): Remove purecopy.
9175 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
9176 (grep-compute-defaults): Check for `-exec COMMAND +' support.
9177 Set grep-find-use-xargs, grep-find-command, and grep-find-template
9178 accordingly. Don't add the null-device if not needed.
9180 * files.el (save-some-buffers): Doc fix.
9182 2011-04-02 Eli Zaretskii <eliz@gnu.org>
9184 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
9186 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
9188 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
9189 Use `dolist' rather than `mapcar'.
9191 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9193 Add lexical binding.
9195 * subr.el (apply-partially): Use new closures rather than CL.
9196 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
9197 (dolist, dotimes): Use slightly different expansion for lexical code.
9198 (functionp): Move to C.
9199 (letrec): New macro.
9200 (with-wrapper-hook): Use it and apply-partially instead of CL.
9201 (eval-after-load): Preserve lexical-binding.
9202 (save-window-excursion, with-output-to-temp-buffer): Turn them
9205 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
9207 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
9209 (help-add-fundoc-usage): Don't add `Not documented'.
9210 (help-function-arglist): Handle closures, subroutines, and new
9211 byte-code-functions.
9212 (help-make-usage): Remove leading underscores.
9213 (describe-function-1): Handle closures.
9214 (describe-variable): Use special-variable-p for completion.
9216 * files.el (lexical-binding): Declare safe.
9218 * emacs-lisp/pcase.el: Don't use destructuring-bind.
9219 (pcase--memoize): Rename from pcase-memoize. Change weakness.
9220 (pcase): Add `let' pattern.
9221 Change memoization so it actually works.
9222 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
9223 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
9226 * emacs-lisp/macroexp.el: Use lexical binding.
9227 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
9228 Don't convert ' to #' without checking that it's indeed quoting
9231 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
9232 Use eval-sexp-add-defvars.
9233 (eval-sexp-add-defvars): New fun.
9235 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
9237 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
9239 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
9240 than the internal `byte-compile-lambda'.
9241 (defmethod): Don't hide code under quotes.
9242 (eieio-defmethod): New `code' argument.
9244 * emacs-lisp/eieio-comp.el: Remove.
9246 * emacs-lisp/edebug.el (edebug-eval-defun)
9247 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
9248 (edebug-toggle): Avoid `eval'.
9250 * emacs-lisp/disass.el (disassemble-internal): Handle new
9252 (disassemble-1): Handle new byte codes.
9254 * emacs-lisp/cl.el (pushnew): Silence warning.
9256 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
9257 (cl-byte-compile-throw): Remove.
9258 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
9260 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
9263 * emacs-lisp/cconv.el: New file.
9265 * emacs-lisp/bytecomp.el: Use lexical binding instead of
9266 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
9267 (byte-compile-initial-macro-environment):
9268 Handle declare-function here.
9269 (byte-compile--lexical-environment): New var.
9270 (byte-stack-ref, byte-stack-set, byte-discardN)
9271 (byte-discardN-preserve-tos): New lap codes.
9272 (byte-interactive-p): Don't use any more.
9273 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
9275 (byte-compile-lapcode): Use them and handle new lap codes.
9276 (byte-compile-obsolete): Remove.
9277 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
9278 (byte-compile-arglist-warn): Check late def of inlinable funs.
9279 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
9280 since they should have been expanded by now.
9281 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
9282 (byte-compile-from-buffer): Remove unused second arg.
9283 (byte-compile-preprocess): New function.
9284 (byte-compile-toplevel-file-form): New function to distinguish
9285 file-form calls from outside from file-form calls from hunk-handlers.
9286 (byte-compile-file-form): Simplify.
9287 (byte-compile-file-form-defsubst): Remove.
9288 (byte-compile-file-form-defmumble): Simplify now that
9289 byte-compile-lambda always returns a byte-code-function.
9290 (byte-compile): Preprocess.
9291 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
9292 Remove, not used any more.
9293 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
9294 (byte-compile-make-args-desc): New funs.
9295 (byte-compile-lambda): Handle lexical functions. Always return
9296 a byte-code-function.
9297 (byte-compile-reserved-constants): New var, to make up room for
9298 closed-over variables.
9299 (byte-compile-constants-vector): Obey it.
9300 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
9301 (byte-compile-macroexpand-declare-function): New function.
9302 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
9303 byte-code-functions.
9304 (byte-compile-form): Check obsolescence here.
9305 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
9306 (byte-compile-variable-ref): Remove.
9307 (byte-compile-dynamic-variable-op): New fun.
9308 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9309 (byte-compile-variable-set): New funs.
9310 (byte-compile-discard): Add 2 args.
9311 (byte-compile-stack-ref, byte-compile-stack-set)
9312 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
9313 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
9314 macroexpand-all instead.
9315 (byte-compile-quote-form): Remove.
9316 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
9317 (byte-compile-bind, byte-compile-unbind): New funs.
9318 (byte-compile-let): Handle let* and lexical binding.
9319 (byte-compile-let*): Remove.
9320 (byte-compile-catch, byte-compile-unwind-protect)
9321 (byte-compile-track-mouse, byte-compile-condition-case):
9322 Handle a new :fun-body form, used for lexical scoping.
9323 (byte-compile-save-window-excursion)
9324 (byte-compile-with-output-to-temp-buffer): Remove.
9325 (byte-compile-defun): Simplify.
9326 (byte-compile-stack-adjustment): New fun.
9327 (byte-compile-out): Use it.
9328 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
9330 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
9333 * emacs-lisp/byte-opt.el: Use lexical binding.
9334 (byte-inline-lapcode): Remove (to bytecomp).
9335 (byte-compile-inline-expand): Pay attention to inlining to/from
9336 lexically bound code.
9337 (byte-compile-unfold-lambda): Don't handle byte-code-functions
9339 (byte-optimize-form-code-walker): Don't handle save-window-excursion
9340 any more and don't call compiler-macros.
9341 (byte-compile-splice-in-already-compiled-code): Remove.
9342 (byte-code): Don't inline any more.
9343 (disassemble-offset): Receive `bytes' as argument rather than via
9345 (byte-compile-tag-number): Declare before first use.
9346 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
9347 `return' even if make-spliceable.
9348 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
9349 obsolete interactive-p.
9350 (byte-optimize-lapcode): Optimize new lap-codes.
9351 Don't trip up on new form of `byte-constant' lap code.
9353 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
9355 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
9357 * custom.el (custom-initialize-default, custom-declare-variable):
9360 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
9362 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
9363 (COMPILE_FIRST): Add macroexp and cconv.
9364 * makefile.w32-in: Mirror changes in Makefile.in.
9370 * vc/smerge-mode.el:
9371 * textmodes/bibtex-style.el:
9380 * emacs-lisp/smie.el:
9383 * abbrev.el: Use lexical binding.
9385 2011-04-01 Eli Zaretskii <eliz@gnu.org>
9387 * info.el (info-display-manual): New function.
9389 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9391 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
9393 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
9395 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
9396 an entry for that server in rcirc-authinfo. (Bug#8385)
9398 2011-03-31 Glenn Morris <rgm@gnu.org>
9400 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
9402 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
9404 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
9406 * progmodes/python.el (python-default-interpreter)
9407 (python-python-command-args, python-jython-command-args)
9408 (python-which-shell, python-which-args, python-which-bufname)
9409 (python-file-queue, python-comint-output-filter-function)
9410 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
9411 variables and functions.
9413 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9415 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
9416 (completion-in-region-mode): New minor mode.
9417 (completion-in-region): Use it.
9418 (completion-in-region--data, completion-in-region-mode-map): New vars.
9419 (completion-in-region--postch): New function.
9420 (completion--capf-misbehave-funs, completion--capf-safe-funs):
9422 (completion--capf-wrapper): New function.
9423 (completion-at-point): Use it to track well-behavedness of
9425 (completion-help-at-point): New command.
9427 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
9429 * vc/add-log.el (add-change-log-entry): Don't use whitespace
9430 syntax class to search for whitespace on a single line
9431 (Message-ID: <4D938140.4030905@redhat.com>).
9433 2011-03-30 Leo Liu <sdl.web@gmail.com>
9435 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
9437 (edit-abbrevs-map): Bind them here.
9438 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
9440 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
9442 * allout.el (allout-hide-by-annotation, allout-flag-region):
9443 Reduce possibility of overlay leakage by making them volatile.
9445 * allout-widgets.el (allout-widgets-tally): Define as nil so the
9446 hash is not shared between buffers. Mode initialization is
9447 responsible for giving it a useful starting value.
9448 (allout-item-span): Reduce possibility of overlay leakage by
9449 making them volatile.
9450 (allout-widgets-count-buttons-in-region): Add diagnostic function
9451 for tracking down button overlay leaks.
9453 2011-03-29 Leo Liu <sdl.web@gmail.com>
9455 * ido.el (ido-read-internal): Use the default history var
9456 minibuffer-history if no HISTORY is specified.
9458 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
9460 * net/imap.el (imap-shell-open, imap-process-connection-type):
9461 Use imap-process-connection-type for 'shell' streams as well as
9462 Kerberos, SSL, other subprocesses.
9464 2011-03-28 Leo Liu <sdl.web@gmail.com>
9466 * abbrev.el (abbrev-table-empty-p): New function.
9467 (prepare-abbrev-list-buffer): Place empty abbrev tables after
9468 nonempty ones. (Bug#5937)
9470 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
9472 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
9474 2011-03-27 Leo Liu <sdl.web@gmail.com>
9476 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
9477 for foreground and background colors.
9478 (ansi-color-make-color-map): Adapt.
9480 2011-03-25 Leo Liu <sdl.web@gmail.com>
9482 * midnight.el (midnight-time-float): Remove. Note it calculates
9483 the microsecond component incorrectly and seconds-to-time does the
9485 Remove redundant (require 'timer).
9487 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
9488 (ido-completions): Remove unused arguments. (Bug#8329)
9490 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * minibuffer.el (completion--flush-all-sorted-completions):
9493 Remove itself from hook.
9494 (completion-at-point): Let the functions perform the completion
9495 immediately and return nil or t.
9496 * comint.el (comint-dynamic-complete-functions): Now identical to
9497 completion-at-point-functions.
9498 (comint-dynamic-list-input-ring): Remove unused var `index'.
9499 (comint--match-partial-filename, comint--unquote&expand-filename):
9500 New funs, split from comint-match-partial-filename.
9501 (comint-dynamic-complete): Use completion-at-point.
9502 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
9504 2011-03-24 Drew Adams <drew.adams@oracle.com>
9506 * thingatpt.el: Support `defun'.
9508 2011-03-23 Leo Liu <sdl.web@gmail.com>
9510 * abbrevlist.el: Move to obsolete/abbrevlist.el.
9512 * help-mode.el (help-mode-finish): Tweak regexp.
9514 2011-03-23 Glenn Morris <rgm@gnu.org>
9516 * eshell/esh-opt.el (eshell-eval-using-options):
9517 Do not bind unused local variable `eshell-option-stub'.
9519 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
9521 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9523 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
9524 keymap variable in `with-no-warnings' to avoid a warning when the
9525 keymap has been already `defconst'ed.
9527 2011-03-22 Leo Liu <sdl.web@gmail.com>
9529 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
9530 encode all chars in abbrevs; otherwise use emacs-mule or
9531 utf-8-emacs. (Bug#8308)
9533 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
9535 * simple.el (backward-delete-char-untabify):
9536 Avoid warning about using `delete-backward-char'.
9538 * image.el (image-type-file-name-regexps): Make it variable.
9539 `imagemagick-register-types' modifies it, and the user may want
9540 to add new extensions for known image types.
9541 (imagemagick-register-types): Throw error if not using ImageMagick.
9543 2011-03-22 Leo Liu <sdl.web@gmail.com>
9545 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
9546 located before rcirc-prompt-end-marker.
9547 (rcirc-complete): Error if point is not after rcirc prompt.
9548 Handle the case when table is nil.
9549 (rcirc-user-authenticated): Define to fix compiler warning.
9551 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
9553 * custom.el (custom--inhibit-theme-enable): Make it affect only
9554 custom-theme-set-variables and custom-theme-set-faces.
9555 (provide-theme): Ignore custom--inhibit-theme-enable.
9556 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
9557 (custom-enabling-themes): Delete variable.
9558 (enable-theme): Accept only loaded themes as arguments.
9559 Ignore the special custom-enabled-themes variable.
9560 (custom-enabled-themes): Forbid themes from setting this.
9561 Eliminate use of custom-enabling-themes.
9562 (custom-push-theme): Quote "changed" custom var entry.
9564 2011-03-21 Leo Liu <sdl.web@gmail.com>
9566 * ido.el (ido-read-internal): Add ido-selected to history instead
9569 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9571 * subr.el (deferred-action-list, deferred-action-function):
9574 2011-03-21 Leo Liu <sdl.web@gmail.com>
9576 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
9577 change on 2011-02-13 (bug#8309).
9579 * minibuffer.el (read-file-name-function): Change default value.
9580 (read-file-name--defaults): Rename from read-file-name-defaults.
9581 (read-file-name-default): Rename from read-file-name.
9582 (read-file-name): Call read-file-name-function.
9584 2011-03-21 Glenn Morris <rgm@gnu.org>
9586 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
9589 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
9591 * cus-theme.el: Add missing provide statement.
9592 (customize-create-theme): Extract theme value correctly.
9593 (custom-theme-visit-theme): Autoload.
9594 (customize-create-theme): Prompt before inserting default faces.
9596 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
9598 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
9599 units and musical notes.
9601 2011-03-20 Leo Liu <sdl.web@gmail.com>
9603 * ido.el (ido-read-internal): Use completing-read-default.
9604 (ido-completing-read): Fix compatibility with completing-read.
9606 2011-03-20 Christian Ohler <ohler@gnu.org>
9608 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
9609 (ert-delete-all-tests): Use `called-interactively-p' rather than
9611 (ert--make-xrefs-region): Respect END.
9613 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
9615 * dired-aux.el (dired-create-directory): Signal an error if the
9616 directory already exists (Bug#8246).
9618 * facemenu.el (list-colors-display): Call list-faces-display
9619 inside with-help-window.
9620 (list-colors-print): Use display property to align the final
9621 column, instead of checking window-width.
9623 2011-03-19 Eli Zaretskii <eliz@gnu.org>
9625 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
9627 (emerge-protect-metachars): Quote correctly for ms-dos and
9630 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
9632 * info.el (info-initialize): Replace all uses of `:' with
9633 path-separator for compatibility with non-Unix systems.
9634 Cache quoting of path-separator. (Bug#8258)
9636 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
9638 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
9639 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
9640 (mouse-avoidance-mode): Fix typos in docstrings.
9642 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
9644 * startup.el (package-subdirectory-regexp): Move from package.el.
9645 Omit \\` and \\', and let callers add them.
9647 * emacs-lisp/package.el (package-strip-version)
9648 (package-load-all-descriptors): Add \\` and \\' to
9649 package-subdirectory-regexp before using it.
9650 (package-untar-buffer): New arg DIR; ensure that file untars only
9651 into this expected directory. Remove superfluous delete-region.
9652 (package-unpack): Caller changed.
9653 (package-tar-file-info): Use package-subdirectory-regexp.
9655 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9657 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
9658 diff-mode-shared-map (bug#8284).
9659 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
9661 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9663 * calendar/time-date.el (format-seconds): Use assoc instead of
9664 assoc-string, since assoc-string doesn't exist in XEmacs.
9666 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
9668 * custom.el (custom-known-themes): Reflow docstring.
9669 (custom-theme-load-path): Fix typo in docstring.
9670 (load-theme): Fix typo in error message.
9671 (custom-available-themes, custom-variable-theme-value):
9672 Use `let', not `let*'.
9674 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9676 * calc/README: Mention inclusion of musical notes.
9678 * calc/calc-units.el (calc-lu-quant): Rename from
9679 `calc-logunits-quantity'.
9680 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
9681 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
9682 (calc-db): Rename from `calc-dblevel'.
9683 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
9684 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
9685 (calc-np): Rename from `calc-nplevel'.
9686 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
9687 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
9688 (calc-lu-plus): Rename from `calc-logunits-add'.
9689 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
9690 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
9691 (calc-lu-minus): Rename from `calc-logunits-sub'.
9692 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
9693 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
9694 (calc-lu-times): Rename from `calc-logunits-mul'.
9695 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
9696 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
9697 (calc-lu-divide): Rename from `calc-logunits-div'.
9698 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
9699 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
9701 * calc/calc-ext.el (calc-init-extensions): Update the names of the
9702 functions being autoloaded.
9704 * calc/calc.el (calc-lu-power-reference): Rename from
9705 `calc-logunits-power-reference'.
9706 (calc-lu-field-reference): Rename from
9707 `calc-logunits-field-reference'.
9709 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
9711 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * minibuffer.el (completion-all-sorted-completions):
9714 Use :completion-cycle-penalty text property if present.
9716 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
9718 * allout.el (allout-yank-processing): Adjust for new rebulleting
9719 regime so bullet being yanked is used without prompting the user
9722 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9724 * startup.el (command-line): Warn the user that _emacs is deprecated.
9726 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
9728 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
9729 (delphi-verbose, delphi-comment-face, delphi-string-face)
9730 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
9731 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
9732 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
9733 (delphi-new-comment-line, delphi-font-lock-defaults)
9734 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
9735 Fix typos in docstrings.
9737 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
9739 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
9740 Invert the roles of character and string values for INSTEAD, so a
9741 string is used for the more common case of a defaulting prompt.
9743 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9745 * progmodes/ruby-mode.el (ruby-backward-sexp):
9746 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
9747 * play/gamegrid.el (gamegrid-make-face):
9748 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
9749 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
9750 * notifications.el (notifications-notify):
9751 * net/xesam.el (xesam-search-engines):
9752 * net/quickurl.el (quickurl-list-insert):
9753 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
9755 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
9757 * startup.el (command-line): Update package subdirectory regexp.
9759 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * allout.el (allout-abbreviate-flattened-numbering)
9762 (allout-mode-deactivate-hook): Fix up obsolescence "date".
9764 * subr.el (read-char-choice): Only show the cursor after the prompt,
9765 not after the answer.
9767 2011-03-15 Kevin Ryde <user42@zip.com.au>
9769 * help-fns.el (variable-at-point): Skip leading quotes, if any
9772 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9774 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
9777 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
9779 * shell.el (shell): When called interactively, offer to change the
9780 shell file name on remote hosts.
9782 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
9784 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
9785 integration for LDAP parameters. The host, base, user or binddn,
9786 and secret tokens can be specified in a netrc file, for instance.
9787 This is optional because an `auth-source' parameter must be
9788 specified in the search attributes.
9790 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
9792 * help.el (describe-mode): Link to the mode's definition (bug#8185).
9794 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
9797 into declaration. Remove redundant and harmful binding.
9799 2011-03-12 Eli Zaretskii <eliz@gnu.org>
9801 * files.el (file-ownership-preserved-p): Pass `integer' as an
9802 explicit 2nd argument to `file-attributes'. If the file's owner
9803 is the Administrators group on Windows, and the current user is
9804 Administrator, consider that a match.
9806 * server.el (server-ensure-safe-dir): Consider server directory
9807 safe on MS-Windows if its owner is the Administrators group while
9808 the current Emacs user is Administrator. Use `=' to compare
9809 numerical UIDs, since they could be integers or floats.
9811 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
9813 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
9815 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
9817 Sync with Tramp 2.2.1.
9819 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
9821 * net/trampver.el: Update release number.
9823 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * progmodes/compile.el (compilation--previous-directory): Fix up
9826 various nil/dead-marker mismatches (bug#8014).
9827 (compilation-directory-properties, compilation-error-properties):
9828 Don't call it at a position past the one we're about to change.
9830 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
9831 Disable obsolescence warnings in the file that declares it.
9833 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
9835 * allout-widgets.el (allout-widgets-tally):
9836 Initialize allout-widgets-tally as a hash table rather than nil to
9837 prevent mode-line redisplay warnings. Also, clarify the module
9838 description and fix a comment typo.
9840 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
9842 * help-fns.el (describe-variable): Don't complete keywords.
9843 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
9845 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
9847 * emacs-lisp/package.el (package-version-join): Impose a standard
9848 string representation for pre/alpha/beta version lists.
9849 (package-unpack-single): Standardize the directory name by passing
9850 it through package-version-join.
9851 (package-strip-rcs-id): Accept any version string that does not
9852 signal an error in version-to-list.
9854 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
9856 * simple.el (delete-trailing-whitespace): Return nil for the
9857 benefit of `write-file-functions'.
9859 2011-03-10 Glenn Morris <rgm@gnu.org>
9861 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
9863 * vc/vc-git.el (vc-git-program): New option.
9864 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
9865 (vc-git--call): Use it.
9867 * eshell/esh-util.el (eshell-condition-case): Doc fix.
9869 * cus-edit.el (Custom-newline): If no button at point, look
9870 for a subgroup button at start-of-line. (Bug#2298)
9872 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
9874 2011-03-10 Julien Danjou <julien@danjou.info>
9876 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
9877 `cursor-type' is nil.
9879 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
9881 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
9883 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
9885 * allout.el Summary: Change so yank of distinctive-bullet items
9886 preserves the existing header prefix, rebulleting it if necessary,
9887 rather than replacing it. This is necessary for proper operation
9888 of cooperative addons like allout-widgets.
9889 (allout-make-topic-prefix, allout-rebullet-heading):
9890 Change SOLICIT arg to INSTEAD, and interpret additionally a string
9891 value as alternate bullet to be used, instead of prompting the user
9892 for a bullet character.
9894 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
9896 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
9897 Do not use `tramp-file-name-port', because this returns also
9898 `tramp-default-port'.
9900 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9902 * net/rcirc.el (rcirc-handler-001): Remove useless
9903 with-rcirc-process-buffer.
9904 (rcirc-check-auth-status): Swap arguments to string-match.
9906 2011-03-09 Glenn Morris <rgm@gnu.org>
9908 * shell.el (shell-mode):
9909 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
9911 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
9912 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
9914 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9916 * emacs-lisp/package.el (package-refresh-contents)
9917 (package-menu-execute): Use condition-case-no-debug.
9919 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
9921 * simple.el (shell-command-to-string): Use `process-file'.
9923 * emacs-lisp/package.el (package-tar-file-info): Handle also
9926 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9927 Use `equal' for upload base check.
9929 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
9931 * textmodes/texinfo.el (texinfo-environments):
9932 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
9934 2011-03-08 Glenn Morris <rgm@gnu.org>
9936 * cus-start.el (cursor-in-non-selected-windows):
9937 Fix :set quoting oddness. (Bug#8192)
9939 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
9940 in some setf expressions. (Bug#2159)
9942 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
9944 * custom.el (custom-available-themes): Return themes in
9947 See ChangeLog.15 for earlier changes.
9953 Copyright (C) 2011-2012 Free Software Foundation, Inc.
9955 This file is part of GNU Emacs.
9957 GNU Emacs is free software: you can redistribute it and/or modify
9958 it under the terms of the GNU General Public License as published by
9959 the Free Software Foundation, either version 3 of the License, or
9960 (at your option) any later version.
9962 GNU Emacs is distributed in the hope that it will be useful,
9963 but WITHOUT ANY WARRANTY; without even the implied warranty of
9964 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9965 GNU General Public License for more details.
9967 You should have received a copy of the GNU General Public License
9968 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.