1 2012-02-19 Chong Yidong <cyd@gnu.org>
3 * comint.el: Require ansi-color.
4 (comint-output-filter-functions): Add ansi-color-process-output.
6 * ansi-color.el: Don't set comint-output-filter-functions; it is
7 now in the initial value defined in comint.el.
8 (ansi-color-apply-face-function): New variable.
9 (ansi-color-apply-on-region): Use it.
10 (ansi-color-apply-overlay-face): New function.
12 * shell.el (shell): No need to require ansi-color.
13 (shell-mode): Use ansi-color-apply-face-function to highlight
14 color escapes using font-lock-face property (Bug#10835).
16 2012-02-19 Chong Yidong <cyd@gnu.org>
18 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
19 mode-line formats (Bug#10839).
21 2012-02-18 Glenn Morris <rgm@gnu.org>
23 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
25 * mail/undigest.el (unforward-rmail-message): Doc fix.
27 * saveplace.el (save-place-ignore-files-regexp): Add :version.
29 2012-02-18 Eli Zaretskii <eliz@gnu.org>
31 * international/characters.el (script-list): Sync with the latest
32 Unicode Character Database.
34 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
36 * international/titdic-cnv.el: Remove duplicate coding tag.
37 * language/cham.el: Likewise.
38 * language/tai-viet.el: Likewise.
40 2012-02-18 Glenn Morris <rgm@gnu.org>
42 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
43 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
44 (calendar-bahai-all-holidays-flag, calendar-other-dates):
45 * calendar/diary-lib.el (diary-abbreviated-year-flag):
46 * calendar/holidays.el (holiday-bahai-holidays)
47 (calendar-holidays, list-holidays):
48 Use utf-8 Bahá'í in doc-strings, menus, etc.
50 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
52 * saveplace.el (save-place-ignore-files-regexp): New variable
53 allowing for excluding files from saving their location of point.
54 The default value matches the temporary commit message editing
55 files from Git, SVN, Bazaar, and Mercurial.
56 (save-place-to-alist): Use it.
58 2012-02-17 Lawrence Mitchell <wence@gmx.li>
59 Stefan Monnier <monnier@iro.umontreal.ca>
61 * newcomment.el (uncomment-region-default): Don't leave extra space
62 when an arg is provided (bug#8150).
64 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
66 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
68 2012-02-17 Glenn Morris <rgm@gnu.org>
70 * net/socks.el: Require network-stream. (Bug#10599)
72 2012-02-17 Kenichi Handa <handa@m17n.org>
74 * international/charprop.el:
75 * international/uni-name.el:
76 * international/uni-old-name.el:
77 * international/uni-comment.el: Regenerate.
79 2012-02-16 Glenn Morris <rgm@gnu.org>
81 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
82 Interactively in calendar buffer, give an error if not on a date.
84 2012-02-15 Glenn Morris <rgm@gnu.org>
86 * shell.el (shell-delimiter-argument-list):
87 Revert 2011-02-17 change. (Bug#8027)
89 2012-02-15 Chong Yidong <cyd@gnu.org>
91 * minibuffer.el (completion-at-point-functions): Doc fix.
93 * custom.el (defcustom): Doc fix; note use of defvar.
95 2012-02-15 Glenn Morris <rgm@gnu.org>
97 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
100 2012-02-14 Glenn Morris <rgm@gnu.org>
102 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
104 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
106 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
107 way the ports list is computed.
108 (smtpmail-query-smtp-server): Prompt the user for a port number if
109 we can't connect to any of the standard ports (bug#10810).
111 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
113 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
115 2012-02-13 Glenn Morris <rgm@gnu.org>
117 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
119 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
121 * net/gnutls.el (gnutls-trustfiles): New variable.
122 (gnutls-negotiate): Use it.
124 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
126 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
127 does its stuff if Gnus is running.
129 2012-02-13 Alan Mackenzie <acm@muc.de>
131 Fix a loop in c-set-fl-decl-start.
133 * progmodes/cc-engine (c-set-fl-decl-start): Add a check that
134 c-backward-syntactic-ws actually moves backwards.
136 2012-02-13 Leo Liu <sdl.web@gmail.com>
138 * net/rcirc.el (rcirc-markup-attributes): Move point to the
139 beginning so that all \C-o chars are removed.
141 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
143 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group
146 2012-02-12 Alan Mackenzie <acm@muc.de>
148 Fix infinite loop with long macros.
149 * cc-engine.el (c-state-safe-place): Handle macros properly.
151 2012-02-12 Chong Yidong <cyd@gnu.org>
153 * window.el (display-buffer): Doc fix (Bug#10785).
155 2012-02-12 Glenn Morris <rgm@gnu.org>
157 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
158 (x-disown-selection-internal, x-get-selection-internal):
159 Sync docs with the xselect.c versions.
161 * allout-widgets.el: Add missing license notice.
163 2012-02-11 Glenn Morris <rgm@gnu.org>
165 * select.el (x-get-selection-internal, x-own-selection-internal)
166 (x-disown-selection-internal):
167 * x-dnd.el (x-get-selection-internal): Update declarations.
169 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
171 * window.el (window-sides-slots):
172 * tool-bar.el (tool-bar-position):
173 * term/xterm.el (xterm-extra-capabilities):
174 * ses.el (ses-self-reference-early-detection):
175 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
176 (verilog-auto-wire-type)
177 (verilog-auto-delete-trailing-whitespace)
178 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
179 (verilog-auto-tieoff-declaration):
180 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
181 (sql-oracle-statement-starters, sql-oracle-scan-on):
182 * progmodes/prolog.el (prolog-align-comments-flag)
183 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
184 (prolog-left-indent-regexp, prolog-paren-indent-p)
185 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
186 (prolog-types, prolog-mode-specificators)
187 (prolog-determinism-specificators, prolog-directives)
188 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
189 (prolog-electric-dot-flag)
190 (prolog-electric-dot-full-predicate-template)
191 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
192 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
193 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
194 (prolog-program-switches, prolog-prompt-regexp)
195 (prolog-debug-on-string, prolog-debug-off-string)
196 (prolog-trace-on-string, prolog-trace-off-string)
197 (prolog-zip-on-string, prolog-zip-off-string)
198 (prolog-use-standard-consult-compile-method-flag)
199 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
200 (prolog-imenu-max-lines, prolog-info-predicate-index)
201 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
202 (prolog-char-quote-workaround):
203 * progmodes/cc-vars.el (c-defun-tactic):
204 * net/tramp.el (tramp-encoding-command-interactive)
205 (tramp-local-end-of-line):
206 * net/soap-client.el (soap-client):
207 * net/netrc.el (netrc-file):
208 * net/gnutls.el (gnutls):
209 * minibuffer.el (completion-category-overrides)
210 (completion-cycle-threshold)
211 (completion-pcm-complete-word-inserts-delimiters):
212 * man.el (Man-name-local-regexp):
213 * mail/feedmail.el (feedmail-display-full-frame):
214 * international/characters.el (glyphless-char-display-control):
215 * eshell/em-ls.el (eshell-ls-date-format):
216 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
217 (lisp-lambda-list-keyword-parameter-indentation)
218 (lisp-lambda-list-keyword-parameter-alignment):
219 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
220 * dired-x.el (dired-omit-verbose):
221 * cus-theme.el (custom-theme-allow-multiple-selections):
222 * calc/calc.el (calc-highlight-selections-with-faces)
223 (calc-lu-field-reference, calc-lu-power-reference)
224 (calc-note-threshold):
225 * battery.el (battery-mode-line-limit):
226 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
228 * allout.el (allout-prefixed-keybindings)
229 (allout-unprefixed-keybindings)
230 (allout-inhibit-auto-fill-on-headline)
231 (allout-flattened-numbering-abbreviation):
232 * allout-widgets.el (allout-widgets-auto-activation)
233 (allout-widgets-icons-dark-subdir)
234 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
235 (allout-widgets-theme-dark-background)
236 (allout-widgets-theme-light-background)
237 (allout-widgets-item-image-properties-emacs)
238 (allout-widgets-item-image-properties-xemacs)
239 (allout-widgets-run-unit-tests-on-load)
240 (allout-widgets-time-decoration-activity)
241 (allout-widgets-hook-error-post-time)
242 (allout-widgets-track-decoration):
243 Add missing :version tags to new defcustoms and defgroups.
245 * progmodes/sql.el (sql-ansi-statement-starters)
246 (sql-oracle-statement-starters): Add custom type.
248 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
249 (prolog-system-version): Give it a type.
251 2012-02-11 Eli Zaretskii <eliz@gnu.org>
253 * term/pc-win.el (x-select-text, x-selection-owner-p)
254 (x-own-selection-internal, x-disown-selection-internal)
255 (x-get-selection-internal): Sync doc strings and argument lists
256 with xselect.c, common-win.el and x-win.el. (Bug#10783)
258 2012-02-11 Leo Liu <sdl.web@gmail.com>
260 * progmodes/python.el (python-end-of-statement): Fix infinite
263 2012-02-10 Glenn Morris <rgm@gnu.org>
265 * international/mule-cmds.el (unify-8859-on-encoding-mode)
266 (unify-8859-on-decoding-mode): Properly mark as obsolete.
268 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
270 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
271 about SMTP before checking the From header.
273 * mail/sendmail.el (sendmail-query-user-about-smtp): Refacored out
274 into own function for reuse by emacsbug.el.
276 2012-02-10 Leo Liu <sdl.web@gmail.com>
278 * subr.el (condition-case-unless-debug): Rename from
279 condition-case-no-debug. All callers changed.
280 (with-demoted-errors): Fix caller.
282 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
283 * nxml/rng-valid.el (rng-do-some-validation):
284 * emacs-lisp/package.el (package-refresh-contents)
285 (package-menu-execute):
286 * desktop.el (desktop-create-buffer):
287 * font-lock.el (lisp-font-lock-keywords-2): caller changed.
289 2012-02-10 Glenn Morris <rgm@gnu.org>
291 * textmodes/bibtex.el:
292 Add missing :version tags for new/changed defcustoms.
294 * files.el (remote-file-name-inhibit-cache): Doc fixes.
296 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
298 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
299 (smtpmail-via-smtp): Use it, or fall back on the From address.
300 (smtpmail-send-it): Ditto.
302 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
304 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
305 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
306 (byte-compile-tmp-var): New const.
307 (byte-compile-defvar): Use it to minimize .elc size.
308 Just use `defvar' rather than simulate it (bug#10761).
310 2012-02-09 Glenn Morris <rgm@gnu.org>
312 * files.el (rename-uniquely): Doc fix. (Bug#3806)
314 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
317 * progmodes/compile.el (compilation-first-column)
318 (compilation-error-screen-columns, compilation-filter-start): Doc fixes.
320 * vc/log-view.el (log-view-toggle-entry-display):
321 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
323 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
324 (report-emacs-bug-can-use-xdg-email):
325 (report-emacs-bug-insert-to-mailer): Doc fixes.
326 (report-emacs-bug): Message fix.
328 * net/browse-url.el (browse-url-can-use-xdg-open)
329 (browse-url-xdg-open): Doc fixes.
331 * electric.el (electric-indent-mode, electric-pair-mode)
332 (electric-layout-rules, electric-layout-mode): Doc fixes.
333 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
335 2012-02-08 Martin Rudalics <rudalics@gmx.at>
337 * server.el (server-unselect-display): Don't inadvertently kill
338 the current buffer. (Bug#10729)
340 2012-02-08 Glenn Morris <rgm@gnu.org>
342 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
343 (sql-list-table): Doc fixes.
345 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
346 Comment out (does nothing).
348 * completion.el (dynamic-completion-mode):
349 * dirtrack.el (dirtrack-debug-mode):
350 * electric.el (electric-layout-mode):
351 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
352 * face-remap.el (text-scale-mode, buffer-face-mode):
353 * iimage.el (iimage-mode):
354 * image-mode.el (image-transform-mode):
355 * minibuffer.el (completion-in-region-mode):
356 * scroll-lock.el (scroll-lock-mode):
357 * simple.el (next-error-follow-minor-mode):
358 * tar-mode.el (tar-subfile-mode):
359 * tooltip.el (tooltip-mode):
360 * vcursor.el (vcursor-use-vcursor-map):
361 * wid-browse.el (widget-minor-mode):
362 * emulation/tpu-edt.el (tpu-edt-mode):
363 * emulation/tpu-extras.el (tpu-cursor-free-mode):
364 * international/iso-ascii.el (iso-ascii-mode):
365 * language/thai-util.el (thai-word-mode):
366 * mail/supercite.el (sc-minor-mode):
367 * net/goto-addr.el (goto-address-mode):
368 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
369 * progmodes/cwarn.el (cwarn-mode):
370 * progmodes/flymake.el (flymake-mode):
371 * progmodes/glasses.el (glasses-mode):
372 * progmodes/hideshow.el (hs-minor-mode):
373 * progmodes/pascal.el (pascal-outline-mode):
374 * textmodes/enriched.el (enriched-mode):
375 * vc/smerge-mode.el (smerge-mode):
376 Doc fixes (minor mode argument).
378 2012-02-07 Eli Zaretskii <eliz@gnu.org>
380 * ls-lisp.el (ls-lisp-sanitize): New function.
381 (ls-lisp-insert-directory): Use it to fix or remove any elements
382 in file-alist with missing attributes. (Bug#4673)
384 2012-02-07 Alan Mackenzie <acm@muc.de>
386 Fix spurious recognition of c-in-knr-argdecl.
388 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
391 2012-02-07 Alan Mackenzie <acm@muc.de>
393 * progmodes/cc-engine.el (c-forward-objc-directive):
394 Prevent looping in "#pragma mark @implementation".
396 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
398 * notifications.el (notifications-on-closed-signal): Make `reason'
399 optional. (Bug#10744)
401 2012-02-07 Glenn Morris <rgm@gnu.org>
403 * emacs-lisp/easy-mmode.el (define-minor-mode):
404 Doc fixes for the macro and the mode it defines.
406 * image.el (imagemagick-types-inhibit): Doc fix.
408 * cus-start.el (imagemagick-render-type): Add it.
410 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
412 * progmodes/cc-mode.el
413 (c-standard-font-lock-fontify-region-function): Set the default at
414 load time, too, so that `font-lock-fontify-buffer' can be called
415 without setting up the entire mode first. This fixes a bug in
416 `mm-inline-text' with C MIME parts.
418 2012-02-06 Chong Yidong <cyd@gnu.org>
420 * simple.el (list-processes--refresh): Delete exited processes
423 * comint.el (comint-next-prompt): next-single-char-property-change
424 and prev-single-char-property-change never return nil (Bug#8657).
426 * custom.el (defcustom): Doc fix (Bug#9711).
428 2012-02-05 Chong Yidong <cyd@gnu.org>
430 * cus-edit.el (custom-variable-reset-backup): Quote the value
431 before storing it in the customized-value property (Bug#6712).
432 (custom-display): Add a customization type tag.
433 (custom-buffer-create-internal): Improve tooltip message.
435 * wid-edit.el (widget-field-value-get): New optional arg to
436 suppress trailing whitespace truncation.
437 (character): Use it (Bug#2689).
439 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
441 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
442 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
444 2012-02-05 Chong Yidong <cyd@gnu.org>
446 * cus-edit.el (custom-variable-value-create): For mismatched
447 types, show the current value (Bug#7600).
449 * custom.el (defcustom): Doc fix.
451 2012-02-05 Glenn Morris <rgm@gnu.org>
453 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
455 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
457 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
458 (pp-buffer): Use `ignore-errors', `looking-at-p'.
459 (pp-last-sexp): Use `looking-at-p'.
461 2012-02-04 Glenn Morris <rgm@gnu.org>
463 * files.el (revert-buffer):
464 Doc fix (mention revert-buffer-in-progress-p).
466 * emacs-lisp/ert-x.el (ert-simulate-command):
467 Check deferred-action-list (which is obsolete) is bound.
469 * subr.el (with-wrapper-hook): Doc fixes.
471 * simple.el (filter-buffer-substring-functions)
472 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
474 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
476 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
477 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
479 2012-02-04 Leo Liu <sdl.web@gmail.com>
481 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
483 2012-02-04 Glenn Morris <rgm@gnu.org>
485 * image.el (image-extension-data): Add obsolete alias.
487 * isearch.el (isearch-update): Doc fix.
489 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
491 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
493 2012-02-03 Glenn Morris <rgm@gnu.org>
495 * image.el (image-animated-p): Doc fix. Use image-animated-types.
496 (image-animate-timeout): Doc fix.
498 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
500 2012-02-02 Glenn Morris <rgm@gnu.org>
502 * server.el (server-auth-dir): Doc fix.
503 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
505 * subr.el (run-mode-hooks): Doc fix.
507 2012-02-02 Juri Linkov <juri@jurta.org>
509 * image-mode.el (image-toggle-display-image): Remove tautological
510 `major-mode' from the `derived-mode-p' test.
512 2012-02-02 Kenichi Handa <handa@m17n.org>
514 * composite.el (compose-region): Cancel previous change.
516 2012-02-02 Kenichi Handa <handa@m17n.org>
518 * composite.el (compose-region, compose-string): Signal error for
519 a null string component (Bug#6988).
521 2012-02-01 Chong Yidong <cyd@gnu.org>
523 * view.el (view-buffer-other-window, view-buffer-other-frame):
524 Handle special modes like view-buffer (Bug#10650).
525 (view-buffer): Simplify.
527 * frame.el (set-frame-font): Tweak meaning of third argument.
529 * dynamic-setting.el (font-setting-change-default-font):
530 Use set-frame-font (Bug#9982).
532 2012-02-01 Glenn Morris <rgm@gnu.org>
534 * progmodes/compile.el (compilation-internal-error-properties):
535 Respect compilation-first-column in the "*compilation*" buffer.
537 * emacs-lisp/easy-mmode.el (define-minor-mode):
538 Relax :variable's test for a named function.
540 2012-01-31 Alan Mackenzie <acm@muc.de>
542 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
545 2012-01-31 Chong Yidong <cyd@gnu.org>
547 * frame.el (set-frame-font): New arg ALL-FRAMES.
549 * menu-bar.el (menu-set-font): Use set-frame-font.
551 * faces.el (face-spec-reset-face): Don't apply unspecified
552 attribute values to the default face.
554 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
556 * progmodes/cwarn.el (cwarn): Remove dead link.
557 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
558 Remove * from defcustom docstrings.
559 (turn-on-cwarn-mode): Make obsolete.
560 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
561 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
563 2012-01-31 Glenn Morris <rgm@gnu.org>
565 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
566 Fix :variable handling of mode a symbol not equal to modefun.
567 Allow named functions to be used as the cdr of :variable.
569 2012-01-30 Glenn Morris <rgm@gnu.org>
571 * emacs-lisp/authors.el (authors-fixed-entries):
572 Remove reference to deleted file rnewspost.el.
574 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
576 * window.el (window-with-parameter): Remove unused variable `windows'.
577 (window--side-check): Remove unused variable `code'.
578 (window--resize-siblings): Remove unused variable `first'.
579 (adjust-window-trailing-edge): Remove unused variable `failed'.
580 (window-deletable-p, window--delete): Remove unused variable `buffer'.
581 Use `let', not `let*'.
582 (balance-windows-2): Remove unused variable `found'.
583 (window--state-put-2): Remove unused variable `splits'.
584 (window-state-put): Remove unused variable `selected'.
585 (same-window-p): Use `string-match-p'.
586 (display-buffer-assq-regexp): Remove unused variable `value'.
587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
588 Mark argument ALIST as ignored.
589 (pop-to-buffer): Remove unused variable `old-window'.
591 2012-01-29 Eli Zaretskii <eliz@gnu.org>
593 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
594 and .lzma compressed files.
596 2012-01-29 Chong Yidong <cyd@gnu.org>
598 * frame.el (window-system-default-frame-alist): Doc fix.
600 * dynamic-setting.el (font-setting-change-default-font): Don't
601 change the default face if SET-FONT argument is non-nil (Bug#9982).
603 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
605 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
607 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
609 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
610 breakpoints in files outside current directory (Bug#6098).
612 2012-01-29 Chong Yidong <cyd@gnu.org>
614 * progmodes/python.el: Require ansi-color at top-level.
616 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
617 Define and use in Emacs Lisp mode (Bug#9360).
618 (lisp-mode-abbrev-table): Add doc.
619 (lisp-mode-variables): Don't set local-abbrev-table.
620 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
622 2012-01-28 Roland Winkler <winkler@gnu.org>
624 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
626 2012-01-28 Roland Winkler <winkler@gnu.org>
628 * textmodes/bibtex.el (bibtex-entry-alist): New function.
629 (bibtex-set-dialect): Use it. Either set global values of
630 dialect-dependent variables or bind these variables buffer-locally
632 (bibtex-mode): Call bibtex-set-dialect via
633 hack-local-variables-hook.
634 (bibtex-dialect): Update docstring.
635 Add safe-local-variable predicate.
636 (bibtex-entry-alist, bibtex-field-alist): Initialize via
638 (bibtex-mode-map): Define menu for each dialect.
639 (bibtex-entry): Fix docstring.
641 2012-01-28 Chong Yidong <cyd@gnu.org>
643 * eshell/esh-arg.el (eshell-quote-argument): New function.
645 * eshell/esh-ext.el (eshell-invoke-batch-file):
646 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
647 first arg to eshell-parse-command (Bug#10523).
649 2012-01-28 Drew Adams <drew.adams@oracle.com>
651 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
652 `default-directory' is non-nil.
654 2012-01-28 Eli Zaretskii <eliz@gnu.org>
656 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
657 line that displays system-configuration-options. (Bug#9924)
659 2012-01-28 Drew Adams <drew.adams@oracle.com>
661 * descr-text.el (describe-char): Show information about POS, in
662 addition to information about the character at POS. Improve and
663 update the doc string. Change "code point" to "code point in
664 charset", to avoid confusion with the character's Unicode code
665 point shown above that. (Bug#10129)
667 2012-01-28 Eli Zaretskii <eliz@gnu.org>
669 * descr-text.el (describe-char): Show the raw character, not only
670 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
671 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
674 2012-01-28 Phil Hagelberg <phil@hagelb.org>
676 * emacs-lisp/package.el (package-install):
677 Run package-refresh-contents if there is no archive yet (Bug#9798).
679 2012-01-28 Chong Yidong <cyd@gnu.org>
681 * emacs-lisp/package.el (package-maybe-load-descriptor):
682 New function, split from package-maybe-load-descriptor.
683 (package-maybe-load-descriptor): Use it.
684 (package-download-transaction): Fully load required packages
685 inside the loop, so that `require' calls work (Bug#10593).
686 (package-install): No need to call package-initialize now.
688 2012-01-28 Chong Yidong <cyd@gnu.org>
690 * simple.el (deactivate-mark): Doc fix (Bug#8614).
692 * tooltip.el (tooltip-mode): Doc fix.
693 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
695 * frame.el (set-cursor-color): Doc fix (Bug#352).
697 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
698 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
700 * cus-edit.el (custom-buffer-create-internal): Fix search button
702 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
704 2012-01-27 Eduard Wiebe <usenet@pusto.de>
706 * dired.el (dired-mark-files-regexp):
707 Include any subdirectory components. (Bug#10445)
709 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
711 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
712 Handle [host]:port syntax. (Bug#10533)
714 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
716 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
718 2012-01-26 Glenn Morris <rgm@gnu.org>
720 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
721 * term.el (term-raw-escape-map): Use Control-X-prefix.
722 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
724 2012-01-25 Martin Rudalics <rudalics@gmx.at>
726 * window.el (window-state-get, window--state-get-1): Don't deal
727 with fixed-sizeness of windows. Simplify code.
729 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
731 * window.el (window--state-get-1, window--state-put-2):
732 Don't save and restore the mark.
734 2012-01-25 Chong Yidong <cyd@gnu.org>
736 * custom.el (custom-variable-p): Doc fix.
738 2012-01-25 Glenn Morris <rgm@gnu.org>
740 * dired.el (dired-goto-file): Handle some of the more common
741 characters that `ls -b' escapes. (Bug#10596)
743 * progmodes/compile.el (compilation-next-error-function):
744 Respect compilation-first-column in the "*compilation*" buffer.
745 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
747 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
749 2012-01-24 Glenn Morris <rgm@gnu.org>
751 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
753 2012-01-24 Julien Danjou <julien@danjou.info>
755 * color.el (color-rgb-to-hsl): Fix value computing.
756 (color-hue-to-rgb): New function.
757 (color-hsl-to-rgb): New function.
758 (color-clamp, color-saturate-hsl, color-saturate-name)
759 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
760 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
762 2012-01-24 Glenn Morris <rgm@gnu.org>
764 * vc/vc-rcs.el (vc-rcs-create-tag):
765 * vc/vc-sccs.el (vc-sccs-create-tag):
766 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
768 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
770 * eshell/esh-util.el (eshell-read-hosts-file):
771 Skip comment lines. (Bug#10549)
773 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
775 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
777 * subr.el (display-delayed-warnings): Doc fix.
778 (collapse-delayed-warnings): New function to collapse identical
780 (delayed-warnings-hook): Add it.
782 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
784 * net/tramp.el (tramp-action-login): Set connection property "login-as".
786 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
787 properties, when "login-as" is set.
789 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
790 (tramp-default-user-alist): Don't add "pscp".
791 (tramp-do-copy-or-rename-file-out-of-band): Use connection
792 property "login-as", if set. (Bug#10530)
794 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
796 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
797 "plink1" and "psftp". (Bug#10530)
799 2012-01-21 Kenichi Handa <handa@m17n.org>
801 * international/mule-cmds.el (prefer-coding-system): Show a
802 warning message if the default value of file-name-coding-system
805 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
807 * windmove.el (windmove-reference-loc):
808 Fix windmove-reference-loc miscalculation.
810 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
812 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
815 2012-01-21 Glenn Morris <rgm@gnu.org>
817 * international/mule.el (auto-coding-alist): Add .tbz.
819 * files.el (local-enable-local-variables): Doc fix.
820 (inhibit-local-variables-regexps): Rename from
821 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
822 Doc fix. Add some extensions from auto-coding-alist.
823 (inhibit-local-variables-suffixes):
824 Rename from inhibit-first-line-modes-suffixes. Doc fix.
825 (inhibit-local-variables-p):
826 New function, extracted from set-auto-mode-1.
827 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
828 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
829 (hack-local-variables): Doc fix. Make the mode-only case
830 respect enable-local-variables and friends.
831 Respect inhibit-local-variables-regexps for file-locals, but
832 not for directory-locals.
833 (set-visited-file-name):
834 Take account of inhibit-local-variables-regexps.
835 Whether it applies may change as the file name is changed.
836 * jka-cmpr-hook.el (jka-compr-install):
837 * jka-compr.el (jka-compr-uninstall):
838 Update for inhibit-first-line-modes-suffixes name change.
840 2012-01-20 Martin Rudalics <rudalics@gmx.at>
842 * help-macro.el (make-help-screen): Temporarily restore original
843 binding for minor-mode-map-alist (Bug#10454).
845 2012-01-19 Julien Danjou <julien@danjou.info>
847 * color.el (color-name-to-rgb): Use the white color to find the max
848 color component value and return correctly computed values.
849 (color-name-to-rgb): Add missing float conversion for max value.
851 2012-01-19 Martin Rudalics <rudalics@gmx.at>
853 * window.el (window--state-get-1, window-state-get): Do not use
854 special state value for window-persistent-parameters.
855 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
856 (window--state-put-2): Reset all window parameters to nil before
857 assigning values of persistent parameters.
859 2012-01-18 Alan Mackenzie <acm@muc.de>
861 Eliminate sluggishness and hangs in fontification of "semicolon
864 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
865 Change value 10000 -> 3000.
866 (c-state-safe-place): Reformulate so it doesn't stack up an
867 infinite number of wrong entries in c-state-nonlit-pos-cache.
868 (c-determine-limit-get-base, c-determine-limit): New functions to
869 determine backward search limits disregarding literals.
870 (c-find-decl-spots): Amend commenting.
871 (c-cheap-inside-bracelist-p): New function which detects "={".
873 * progmodes/cc-fonts.el
874 (c-make-font-lock-BO-decl-search-function): Give a limit to a
876 (c-font-lock-declarations): Fix an occurrence of point being
877 undefined. Check additionally for point being in a bracelist or
878 near a macro invocation without a semicolon so as to avoid a
879 fruitless time consuming search for a declarator. Give a more
880 precise search limit for declarators using the new
883 2012-01-18 Glenn Morris <rgm@gnu.org>
885 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
886 (set-auto-mode): Doc fixes.
888 2012-01-17 Glenn Morris <rgm@gnu.org>
890 * isearch.el (search-nonincremental-instead): Fix doc typo.
892 * dired.el (dired-insert-directory): Handle newlines in directory name.
893 (dired-build-subdir-alist): Unescape newlines in directory name.
895 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp.el (tramp-local-end-of-line): New defcustom.
898 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
899 (tramp-action-terminal): Use it. (Bug#10530)
901 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
903 * minibuffer.el (completion--replace): Strip properties (bug#10062).
905 2012-01-16 Martin Rudalics <rudalics@gmx.at>
907 * window.el (window-state-ignored-parameters): Remove variable.
908 (window--state-get-1): Rename argument MARKERS to IGNORE.
909 Handle persistent window parameters. Make copy of clone-of
910 parameter only if requested. (Bug#10348)
911 (window--state-put-2): Install a window parameter only if it has
912 a non-nil value or an existing parameter shall be overwritten.
914 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
916 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
918 2012-01-14 Eli Zaretskii <eliz@gnu.org>
920 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
921 don't pass the (nil) value of `upnode' to string-match.
923 2012-01-14 Chong Yidong <cyd@gnu.org>
925 * startup.el (command-line): Fix X resource class for cursorColor.
926 Fix values recognized by the cursorBlink resource.
928 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
930 * epg.el (epg--make-temp-file): Avoid permission race condition
931 when running on old Emacs versions (bug#10403).
933 2012-01-14 Glenn Morris <rgm@gnu.org>
935 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
937 2012-01-13 Alan Mackenzie <acm@muc.de>
939 Fix filling for when filladapt mode is enabled.
941 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
942 c-mask-paragraph, pass in `fill-paragraph' rather than
943 `fill-region-as-paragraph'. (This is a reversion of a previous
945 * progmodes/cc-mode.el (c-basic-common-init):
946 Make fill-paragraph-handle-comment buffer local and set it to nil.
948 2012-01-13 Glenn Morris <rgm@gnu.org>
950 * dired.el (dired-switches-escape-p): New function.
951 (dired-insert-directory): Use dired-switches-escape-p.
952 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
954 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
956 2012-01-12 Glenn Morris <rgm@gnu.org>
958 * mail/sendmail.el (mail-mode): Update paragraph-separate for
959 changes in adaptive-fill-regexp. (Bug#10276)
961 2012-01-11 Alan Mackenzie <acm@muc.de>
963 Fix Emacs bug #10463 - put `widen's around the critical spots.
965 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
966 widen around each invocation of c-state-pp-to-literal. Remove an
969 2012-01-11 Glenn Morris <rgm@gnu.org>
971 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
974 2012-01-10 Chong Yidong <cyd@gnu.org>
976 * net/network-stream.el (network-stream-open-starttls):
977 Avoid emitting a confusing error message when the server gives a bad
978 response to the capability command.
980 2012-01-10 Glenn Morris <rgm@gnu.org>
982 * mail/unrmail.el (unrmail): Tweak previous change.
984 2012-01-09 Chong Yidong <cyd@gnu.org>
986 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
988 2012-01-08 Alan Mackenzie <acm@muc.de>
990 Optimise font locking in long enum definitions.
992 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
993 arm to a cond form to handle enums.
994 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
995 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
997 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
999 * files.el (move-file-to-trash): Preserve default file modes on error.
1002 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1004 * faces.el (set-face-attribute): Clarify the meaning of the nil
1007 * subr.el (with-selected-frame): Mention that the selected frame
1008 is restored (bug#9980).
1010 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
1013 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
1014 (password-read): Don't autoload unused function.
1016 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
1018 * progmodes/which-func.el (which-func-mode): Turn into a
1019 non-interactive function and mark as obsolete (bug#10428).
1021 2012-01-06 Chong Yidong <cyd@gnu.org>
1023 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
1024 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
1025 functions, along with 1 and -1.
1027 2012-01-06 Eli Zaretskii <eliz@gnu.org>
1029 * time.el (display-time-load-average)
1030 (display-time-default-load-average): Doc fixes. See the thread
1032 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
1035 2012-01-06 Glenn Morris <rgm@gnu.org>
1037 * mail/unrmail.el (unrmail): Give an explicit error if the input file
1038 has no messages. (Bug#10377)
1040 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
1041 than Info-edit. (Bug#10385)
1043 * time.el (display-time-load-average, display-time-next-load-average):
1046 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
1047 local setting of buffer-read-only to the input buffer. (Bug#10419)
1049 * calendar/calendar.el (calendar-mode):
1050 Locally set scroll-margin to 0. (Bug#10379)
1052 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
1054 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
1056 2012-01-05 Glenn Morris <rgm@gnu.org>
1058 * eshell/em-unix.el (diff-no-select): Autoload it.
1059 (eshell/diff): Use diff-no-select. (Bug#10420)
1061 2012-01-05 Chong Yidong <cyd@gnu.org>
1063 * shell.el (shell-dynamic-complete-functions): Revert last change.
1064 (shell-command-completion-function): New function.
1065 (shell-completion-vars): Use it to implement
1066 shell-completion-execonly (Bug#10417).
1068 * custom.el (enable-theme): Don't set custom-safe-themes.
1070 * cus-theme.el (custom-theme-merge-theme):
1071 Ignore custom-enabled-themes and custom-safe-themes.
1073 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
1075 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
1076 first prompt in `sql-interacive-mode'.
1077 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
1079 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
1080 (sql-product-interactive): Bug fix: Set `sql-buffer' in
1081 context of original buffer. Invoke `sql-login-hook'.
1083 2012-01-04 Eli Zaretskii <eliz@gnu.org>
1085 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
1086 letters in cite-prefix.
1088 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1090 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
1092 2012-01-03 Chong Yidong <cyd@gnu.org>
1094 * shell.el (shell-dynamic-complete-functions):
1095 Put pcomplete-completions-at-point, so as to try
1096 comint-filename-completion first (Bug#10417).
1098 2012-01-02 Richard Stallman <rms@gnu.org>
1100 * battery.el (battery-status-function):
1101 Detect when to use battery-yeeloong-sysfs.
1102 (battery-echo-area-format): Add string for Yeeloong.
1103 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
1104 (battery-yeeloong-sysfs): New function.
1106 2012-01-02 Chong Yidong <cyd@gnu.org>
1108 * dirtrack.el (dirtrack-list): Eliminate unused third element.
1109 (dirtrack): Merge code for handling relative filenames in prompt
1110 from shell-dir-cookie-watcher.
1111 (dirtrack-debug-message): New arg to avoid excess format calls.
1113 * shell.el (shell-dir-cookie-re): Variable deleted.
1114 (shell-dir-cookie-watcher): Function deleted.
1115 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
1118 2012-01-01 Eli Zaretskii <eliz@gnu.org>
1120 * term/w32-win.el (dynamic-library-alist) <gnutls>:
1121 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
1124 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
1126 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
1128 2011-12-31 Eli Zaretskii <eliz@gnu.org>
1130 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
1131 headers of non-MIME messages, when rmail-enable-mime is non-nil.
1133 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
1135 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
1136 also for alternative shells.
1137 (tramp-open-connection-setup-interactive-shell): Check, whether
1138 the shell is a busybox.
1139 (tramp-send-command): Don't suppress multiple prompts for
1140 busyboxes, it hurts.
1142 2011-12-28 Chong Yidong <cyd@gnu.org>
1144 * progmodes/gdb-mi.el (gdb-get-source-file-list)
1145 (gdb-get-source-file): Move mode line update to
1146 gdb-get-source-file (Bug#10087).
1148 2011-12-25 Chong Yidong <cyd@gnu.org>
1150 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
1151 gud-gdb-marker-filter without taking it as an argument.
1152 (gud-gdb-run-command-fetch-lines): Caller changed.
1153 (gud-gdb-completion-function): New variable.
1154 (gud-gdb-completion-at-point): Use it.
1155 (gud-gdb-completions-1): Split from gud-gdb-completions.
1157 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
1158 function as separate arguments.
1159 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
1160 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
1161 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
1162 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
1163 (gdb-stopped, def-gdb-auto-update-trigger)
1164 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
1165 (gdb-get-changed-registers, gdb-get-main-selected-frame):
1167 (gud-gdbmi-completions): New function.
1168 (gdb): Use it for generating the completion table.
1170 2011-12-24 Alan Mackenzie <acm@muc.de>
1172 Introduce a mechanism to widen the region used in context font
1173 locking. Use this to protect declarations from losing their contexts.
1175 * progmodes/cc-langs.el (c-before-font-lock-functions):
1176 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
1177 (c-before-context-fontification-functions): New defvar, a list of
1178 functions to be run just before context (etc.) font locking.
1180 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
1181 New, functionality extracted from
1182 c-neutralize-syntax-in-and-mark-CPP.
1183 (c-in-after-change-fontification): New variable.
1184 (c-after-change): Set c-in-after-change-fontification.
1185 (c-set-fl-decl-start): Rejig its interface, so it can be called
1186 from both after-change and context fontifying.
1187 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
1189 (c-standard-font-lock-fontify-region-function): New variable.
1190 (c-font-lock-fontify-region): New function.
1192 2011-12-24 Juri Linkov <juri@jurta.org>
1194 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
1197 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
1199 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
1200 existence of source file. (Bug#10325)
1202 2011-12-23 Alan Mackenzie <acm@muc.de>
1204 Fix unstable fontification inside templates.
1206 * progmodes/cc-langs.el (c-before-font-lock-functions):
1207 Newly created from the singular version. The (c c++ objc) entry now
1208 additionally has c-set-fl-decl-start. The other languages (apart
1209 from AWK) have that as a single entry.
1211 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1212 The functionality for "local" declarations has been extracted to
1213 c-set-fl-decl-start.
1215 * progmodes/cc-mode.el (c-common-init, c-after-change):
1216 Changes due to pluralisation of c-before-font-lock-functions.
1217 (c-set-fl-decl-start): New function, extracted from
1218 c-font-lock-enclosing-decls and enhanced.
1220 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
1222 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
1224 2011-12-22 Juri Linkov <juri@jurta.org>
1226 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
1228 2011-12-22 Chong Yidong <cyd@gnu.org>
1230 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
1232 2011-12-21 Drew Adams <drew.adams@oracle.com>
1234 * files.el (file-remote-p): Fix docstring. (Bug#10319)
1236 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
1238 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
1240 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
1242 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
1243 highlighting and support. Fix up comments for capitalization.
1244 (cfengine-mode-debug): New var.
1245 (cfengine3-mode): Change the modeline indicator to "CFE3".
1246 (cfengine3-font-lock-keywords): Improve defun highlighting.
1247 (cfengine2-actions): Rename from `cfengine-actions'.
1248 (cfengine2-font-lock-keywords): Rename from
1249 `cfengine-font-lock-keywords'.
1250 (cfengine2-imenu-expression): Rename from
1251 `cfengine-imenu-expression'.
1252 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
1253 (cfengine2-beginning-of-defun): Rename from
1254 `cfengine-beginning-of-defun'.
1255 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
1256 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
1257 (cfengine2-mode): Rename from `cfengine-mode'. Change the
1258 modeline indicator to "CFE2".
1259 (cfengine-mode): Defalias to `cfengine-auto-mode'.
1260 (cfengine-mode-abbrevs): Mark obsolete.
1262 2011-12-21 Chong Yidong <cyd@gnu.org>
1264 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
1267 2011-12-20 Martin Rudalics <rudalics@gmx.at>
1269 * window.el (window-normalize-buffer-to-display): Remove.
1270 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
1272 2011-12-19 Chong Yidong <cyd@gnu.org>
1274 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
1275 Don't signal an error in a predicate function; return non-nil.
1276 (vc-dir-mark-file): Move the error here.
1277 (vc-dir-mark-unmark): If acting on the region, keep going if one
1278 of the entries cannot be marked/unmarked.
1279 (vc-dir-mark-all-files): If current entry is a directory, mark
1280 only child files, as documented.
1282 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
1284 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
1285 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
1288 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
1290 * term/ns-win.el (ns-get-selection-internal)
1291 (ns-store-selection-internal): Declare.
1292 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
1293 Declare as obsolete.
1294 (ns-get-pasteboard, ns-paste-secondary):
1295 Use ns-get-selection-internal.
1296 (ns-set-pasteboard, ns-copy-including-secondary):
1297 Use ns-store-selection-internal.
1299 2011-12-17 Chong Yidong <cyd@gnu.org>
1301 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
1302 (vc-deduce-fileset): Doc fix.
1304 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
1306 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
1308 2011-12-13 Sam Steingold <sds@gnu.org>
1310 * man.el (Man-getpage-in-background): When running under a
1311 window-system, ignore $MANWIDTH and $COLUMNS.
1313 2011-12-15 Kenichi Handa <handa@m17n.org>
1315 * language/ethio-util.el: Change coding tag to utf-8-emacs.
1316 (setup-ethiopic-environment-internal): Comment out key-binding for
1317 ethio-toggle-punctuation.
1319 2011-12-13 Alan Mackenzie <acm@muc.de>
1321 Add the switch statement to AWK Mode.
1323 * progmodes/cc-awk (awk-font-lock-keywords): Add "switch", "case",
1324 "default" to the keywords regexp.
1326 * progmodes/cc-langs (c-label-kwds): Let AWK take the same
1327 expression as the rest.
1328 (c-nonlabel-token-key): Allow string literals for AWK.
1329 Refactor for the other modes.
1331 Large brace-block initialisation makes CC Mode slow: Fix.
1332 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
1333 routines. Limit backward searching in c-font-lock-enclosing.decl.
1335 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
1336 pp-state and literal type in addition to the limits.
1337 (c-state-safe-place): New defun, extracted from c-state-literal-at.
1338 (c-state-literal-at): Use the above new defun.
1339 (c-slow-in-literal, c-fast-in-literal): Remove.
1340 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
1342 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
1343 being in a literal. Add a limit for backward searching.
1345 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
1348 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
1352 2011-12-13 Martin Rudalics <rudalics@gmx.at>
1354 * window.el (delete-other-windows): Use correct frame in call to
1355 window-with-parameter.
1357 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
1359 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
1360 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
1361 (makefile-gmake-statements, makefile-makepp-statements):
1362 Use it and add new makepp keywords.
1363 (makefile-makepp-font-lock-keywords): Add new patterns.
1364 (makefile-match-function-end): Match new [...] and [[...]].
1366 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
1368 * ses.el (ses-call-printer-return, ses-cell-property-get)
1369 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
1370 (ses-create-cell-variable, ses-reset-header-string)
1371 (ses-cell-set-formula, ses-repair-cell-reference-all)
1372 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
1373 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
1374 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
1375 (ses-aset-with-undo, ses-load, ses-truncate-cell)
1376 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
1377 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
1378 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
1379 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
1380 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
1381 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
1382 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
1383 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
1385 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
1387 * ses.el: The overall change is to add cell renaming, that is
1388 setting fancy names for cell symbols other than name matching
1389 "\\`[A-Z]+[0-9]+\\'" regexp .
1390 (ses-create-cell-variable): New defun.
1391 (ses-relocate-formula): Relocate formulas only for cells the
1392 symbols of which are not renamed, i.e. symbols whose names do not
1393 match regexp "\\`[A-Z]+[0-9]+\\'".
1394 (ses-relocate-all): Relocate values only for cells the symbols of
1395 which are not renamed.
1396 (ses-load): Create cells variables as the (ses-cell ...) are read,
1397 in order to check row col consistency with cell symbol name only
1398 for cells that are not renamed.
1399 (ses-replace-name-in-formula): New defun.
1400 (ses-rename-cell): New defun.
1402 2011-12-11 Chong Yidong <cyd@gnu.org>
1404 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
1405 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
1407 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
1409 * window.el (other-window): Fix docstring.
1411 2011-12-10 Eli Zaretskii <eliz@gnu.org>
1413 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1414 `from' or `to' address before taking its substring.
1415 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
1416 encoded name is chopped in the middle of the encoded string, and
1417 thus displayed encoded.
1419 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
1421 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
1423 2011-12-10 Eli Zaretskii <eliz@gnu.org>
1425 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
1426 to use texinfo-update-node and commands that call it if the
1427 Texinfo file uses @node lines without next/prev/up pointers.
1428 Correct outdated description about texinfo-master-menu.
1429 (texinfo-all-menus-update, texinfo-master-menu)
1430 (texinfo-update-node, texinfo-every-node-update)
1431 (texinfo-multiple-files-update): Doc fix. Warn against updating
1432 all the @node lines.
1433 (texinfo-master-menu): Only call texinfo-update-node if the prefix
1434 argument is numeric. Explain better in the doc string what the
1435 function really does.
1436 (texinfo-insert-master-menu-list): Improve the error message
1437 displayed if there's no menu in the Top node.
1438 (Bug#2975) See also this thread:
1439 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
1441 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
1443 * speedbar.el (speedbar-supported-extension-expressions):
1444 Add .adb and .ads, commonly used for Ada source code (bug#10256).
1446 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
1448 * printing.el (pr-mode-alist):
1449 * simple.el (filter-buffer-substring-functions)
1450 (completion-list-insert-choice-function):
1451 * window.el (window-with-parameter, window-atom-root)
1452 (window-sides-slots, window-size-fixed, window-min-delta)
1453 (window-max-delta, window--resize-mini-window)
1454 (window--resize-child-windows-normal, window-tree)
1455 (delete-other-windows, quit-window, split-window)
1456 (display-buffer-record-window, special-display-buffer-names)
1457 (special-display-regexps, special-display-popup-frame)
1458 (same-window-p, split-window-sensibly)
1459 (display-buffer-overriding-action, display-buffer-alist)
1460 (display-buffer-base-action, display-buffer, switch-to-buffer)
1461 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
1462 (fit-window-to-buffer, recenter-positions)
1463 (mouse-autoselect-window-state, mouse-autoselect-window-select):
1464 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
1465 and remove unneeded backslashes in docstrings.
1467 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
1471 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
1472 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
1474 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
1475 when reading the makefile (bug#10116).
1477 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
1482 2011-12-06 Glenn Morris <rgm@gnu.org>
1484 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
1486 2011-12-06 Chong Yidong <cyd@gnu.org>
1488 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
1490 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
1492 * textmodes/table.el (table-shorten-cell): Fix typo.
1494 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
1496 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
1498 2011-12-05 Eli Zaretskii <eliz@gnu.org>
1500 * descr-text.el (describe-char): Fix display of strong
1501 right-to-left characters and directional embeddings and overrides.
1503 * simple.el (what-cursor-position): Fix display of codepoints of
1504 strong right-to-left characters.
1506 2011-12-05 Chong Yidong <cyd@gnu.org>
1508 * faces.el (read-color): Doc fix.
1510 2011-12-05 Glenn Morris <rgm@gnu.org>
1512 * align.el (align--set-marker): Add doc-string.
1513 Don't try to move something that is not a marker. (Bug#10216)
1515 2011-12-04 Glenn Morris <rgm@gnu.org>
1517 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
1518 overly zealous deletion of trailing whitespace.
1520 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
1522 * server.el (server-delete-client): On Windows, do not try to delete
1524 (server-process-filter): On Windows, treat requests for a tty frame as
1525 if they were for a GUI frame if the running server is in GUI mode.
1527 2011-12-03 Glenn Morris <rgm@gnu.org>
1529 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
1531 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1533 * electric.el: Streamline electric-indent's hook.
1534 (electric-indent-chars): Revert to simple list.
1535 (electric-indent-functions): New var.
1536 (electric-indent-post-self-insert-function): Use it.
1538 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
1539 there's no inferior buffer (bug#10196).
1540 (prolog-consult-compile): Don't use toggle-read-only.
1542 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
1544 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
1545 interrupt. (Bug#10187)
1547 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
1552 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
1555 2011-12-02 Juri Linkov <juri@jurta.org>
1557 * info.el (Info-search): Display "end of manual" when Isearch
1558 reaches the end of single-file Info manual. (Bug#9918)
1560 2011-12-02 Eli Zaretskii <eliz@gnu.org>
1562 * isearch.el (isearch-message-prefix): Run the input method part
1563 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
1565 2011-12-02 Juri Linkov <juri@jurta.org>
1567 * isearch.el (isearch-occur): Use `word-search-regexp' for
1569 (isearch-search-and-update): Add condition for `isearch-word' and
1570 call `word-search-regexp'. (Bug#10145)
1572 2011-12-01 Glenn Morris <rgm@gnu.org>
1574 * eshell/em-hist.el (eshell-hist-initialize):
1575 Handle eshell-history-size nil and HISTSIZE set or unset.
1576 (eshell-history-file-name, eshell-history-size): Fix custom type.
1578 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
1582 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
1584 * progmodes/verilog-mode.el (verilog-pretty-expr):
1585 Rework verilog-pretty-expr to handle new assignment operators in system
1586 verilog, such as += *= and the like.
1587 (verilog-assignment-operator-re): Regular expression to find the
1588 assigment operator in a verilog assignment.
1589 (verilog-assignment-operation-re): Regular expression to find an
1590 assignment statement for pretty-expr.
1591 (verilog-in-attribute-p): Query returns true if point is in an
1592 attribute context; used to skip these for expression line up from
1594 (verilog-in-parameter-p): Query returns true if point is in an
1595 parameter definition context; used to skip these for expression
1596 line up from pretty-expr.
1597 (verilog-in-parenthesis-p): Query returns true if point is in a
1598 parenthetical expression, specifically ( ) but not [ ] or { };
1599 used by pretty-expr.
1600 (verilog-just-one-space): If there is no space, don't add one.
1601 (verilog-get-lineup-indent-2): Specifically skip just attribute
1602 contexts for expression lineup, rather than skipping all
1603 parenthetical expressions.
1604 (verilog-calculate-indent): Fix comment, and fix indent.
1605 (verilog-do-indent): Indent declarations in lists (suggested by
1607 (verilog-mode-abbrev-table): Populate abbrev mode with the various
1609 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
1612 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
1614 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
1615 parameters with embedded comments. Reported by Ray Stevens.
1616 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
1617 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
1618 Reported by Tim Holt.
1619 (verilog-auto): Fix AUTOing a upper module then AUTOing module
1620 instantiated by upper module causing wrong expansion until AUTOed a
1621 second time. Reported by K C Buckenmaier.
1622 (verilog-diff-auto): Fix showing .* as a difference when
1623 `verilog-auto-star-save' off. Reported by Dan Dever.
1624 (verilog-auto-reset, verilog-read-always-signals)
1625 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
1626 temporary signals in reset list if
1627 verilog-auto-reset-blocking-in-non is nil, and match assignment
1628 style to each signal's assignment type, bug381.
1629 Reported by Thomas Esposito.
1630 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
1631 (verilog-uvm-statement-re): Support UVM indentation and
1632 highlighting, with old OVM keywords only.
1633 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1634 Support AUTOTIEOFF creating non-wire data types.
1635 Suggested by Jonathan Greenlaw.
1636 (verilog-auto-insert-lisp, verilog-delete-to-paren)
1637 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
1638 (verilog-inject-sense, verilog-read-inst-pins)
1639 (verilog-read-sub-decls, verilog-read-sub-decls-line):
1640 Fix mismatching parenthesis inside commented out code when deleting
1641 AUTOINST, bug383. Reported by Jonathan Greenlaw.
1642 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
1643 non-numeric vector width. Reported by Alex Reed.
1644 (verilog-auto-ascii-enum): Add "onehot" option to work around not
1645 detecting signals with parameter widths. Reported by Alex Reed.
1646 (verilog-auto-delete-trailing-whitespace):
1647 With `verilog-auto-delete-trailing-whitespace' remove trailing
1648 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
1649 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
1650 Fix verilog-scan-cache corruption when running user AUTO expansion
1651 hooks that call indentation routines.
1652 (verilog-simplify-range-expression): Fix typo ignoring lower case
1654 (verilog-delete-auto): Fix delete-autos to also remove user created
1655 automatics, as long as they start with AUTO.
1656 (verilog-batch-diff-auto, verilog-diff-auto)
1657 (verilog-diff-function): Add `verilog-diff-auto' and bind to
1658 "C-c?" to report differences in AUTO expansion, ignoring spaces.
1659 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
1660 (verilog-in-paren-quick, verilog-re-search-backward-quick)
1661 (verilog-re-search-forward-quick, verilog-syntax-ppss):
1662 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
1663 is disabled and its cache will get corrupt, causing AUTOS not to
1664 expand. Instead use only -quick functions.
1665 (verilog-scan-region): Fix scanning over escaped quotes.
1666 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
1667 (verilog-re-search-backward-quick)
1668 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
1669 related functions now ignore strings, to fix misparsing of strings
1670 with magic comments embedded in them.
1671 (verilog-read-auto-template):
1672 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
1673 Reported by Brad Dobbie.
1674 (verilog-read-auto-template):
1675 Fix 'verilog-auto-inst-template-numbers' with comments.
1676 Reported by Brad Dobbie.
1677 (verilog-auto-inst, verilog-auto-inst-param)
1678 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
1679 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
1680 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
1681 debugging templates without merge conflicts, bug357.
1682 Reported by Brad Dobbie.
1683 (verilog-read-auto-template):
1684 Fix verilog-auto-inst-template-numbers with multiple templates.
1685 Reported by Brad Dobbie.
1686 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
1687 abbrevs so user won't be asked to save.
1688 (verilog-read-auto-lisp-present): Fix to start at beginning of
1689 buffer in case called outside of verilog-auto.
1690 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
1691 to "X-2". Reported by Matthew Myers.
1692 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
1693 all inputs from module templates. Reported by Leith Johnson.
1694 (verilog-module-inside-filename-p): Fix locating programs as with
1696 (verilog-auto-inst-port): Fix vl-width expressions when using
1697 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
1698 (verilog-decls-get-regs, verilog-decls-get-signals,
1699 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
1700 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
1701 verilog-read-decls): Combine reg and wire structures into one var
1702 structure to represent SystemVerilog concepts.
1703 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
1704 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
1705 (verilog-auto-wire-type, verilog-insert-definition):
1706 Add verilog-auto-wire-type and AUTOLOGIC to support using
1707 SystemVerilog "logic" keyword instead of "wire"/"reg".
1708 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
1709 to declares outputs that also have assignments (presumably in an
1710 ifdef or generate if so there's not a driver conflict).
1711 Reported by Matthew Myers.
1712 (verilog-auto-declare-nettype, verilog-insert-definition):
1713 Add verilog-auto-declare-nettype to fix declarations using
1714 `default_nettype none. Reported by Julian Gorfajn.
1715 (verilog-read-always-signals-recurse, verilog-read-decls)
1716 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
1717 malformed end statement, bug325. Reported by Joshua Wise and
1719 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
1720 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1721 when expanding .* in interfaces, bug320.
1722 Reported by Pierre-David Pfister.
1723 (verilog-read-module-name): Fix import statements between module
1724 name and open parenthesis, bug317.
1725 Reported by Pierre-David Pfister.
1726 (verilog-simplify-range-expression): Fix simplification of
1727 multiplications inside AUTOWIRE connections, bug303.
1728 (verilog-auto-inst-port): Support parameter expansion in
1729 multidimensional arrays.
1730 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
1731 after "assert property". Reported by Julian Gorfajn.
1732 (verilog-simplify-range-expression): Fix "couldn't merge" errors
1733 with multiplication, bug303.
1734 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
1735 Reported by Jan Frode Lonnum.
1737 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
1739 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
1740 (hfy-shell-file-name, hfy-shell):
1741 * international/fontset.el (x-decompose-font-name): Fix typos.
1743 2011-11-29 Ken Brown <kbrown@cornell.edu>
1745 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
1746 (gdb-version): Remove defvar.
1747 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
1748 (gdb-gud-context-command, gdb-non-stop-handler)
1749 (gdb-current-context-command, gdb-stopped): Use it.
1750 (gdb-init-1): Enable pretty printing here.
1751 (gdb-non-stop-handler): Don't enable pretty-printing here.
1752 Check to see if the target supports non-stop mode; if not, turn off
1753 non-stop mode. Use the following.
1754 (gdb-check-target-async): New defun.
1755 (gud-watch, gdb-stopped): Fix whitespace.
1756 (gdb-get-source-file): Don't try to display the source file if
1757 `gdb-main-file' is nil.
1759 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * align.el: Try to generate fewer markers (bug#10047).
1762 (align--set-marker): New macro.
1763 (align-region): Use it.
1765 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
1769 2011-11-29 Chong Yidong <cyd@gnu.org>
1771 * indent.el (indent-for-tab-command, indent-according-to-mode):
1773 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
1775 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
1777 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
1778 aware of remote file names. (Bug#10124)
1780 2011-11-29 Chong Yidong <cyd@gnu.org>
1782 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
1784 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * files.el (find-file): Don't use force-same-window (bug#10144).
1787 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
1788 use pop-to-buffer if the selected window can't be used.
1789 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
1791 2011-11-28 Eli Zaretskii <eliz@gnu.org>
1793 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
1796 2011-11-28 Chong Yidong <cyd@gnu.org>
1798 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
1800 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
1802 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
1803 gdb-get-source-file-list on gdb-create-source-file-list.
1805 2011-11-26 Eli Zaretskii <eliz@gnu.org>
1807 * whitespace.el (whitespace-newline): Use a different foreground
1808 color for 16-color light-background displays.
1810 2011-11-24 Chong Yidong <cyd@gnu.org>
1812 * window.el (display-buffer--special-action): Doc fix.
1814 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
1816 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
1817 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
1818 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
1819 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
1820 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
1821 (avl-tree-stack-first):
1822 * emacs-lisp/cconv.el (cconv--analyse-use):
1823 * net/gnutls.el (gnutls-negotiate): Fix typos.
1825 2011-11-24 Glenn Morris <rgm@gnu.org>
1827 * lpr.el (lpr-windows-system, lpr-lp-system):
1828 * mail/binhex.el (binhex-begin-line):
1829 * progmodes/grep.el (grep-history, grep-find-history):
1830 * textmodes/flyspell.el:
1831 * vc/pcvs-defs.el (cvs-global-menu):
1832 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
1833 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
1834 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
1836 * net/tls.el: Fix case of "GnuTLS".
1838 * paths.el (rmail-file-name): Format doc-string for make-docfile.
1840 * version.el (emacs-build-system): Give it a doc-string.
1842 2011-11-24 Juri Linkov <juri@jurta.org>
1844 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
1846 2011-11-24 Glenn Morris <rgm@gnu.org>
1848 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
1849 if called on a non-mime message just toggle the headers. (Bug#8006)
1851 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
1853 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
1854 (allout-lead-with-comment-string, allout-structure-deleted-hook)
1855 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
1856 (allout-rebullet-heading, allout-open-sibtopic)
1857 (allout-toggle-current-subtree-encryption)
1858 (allout-toggle-subtree-encryption, allout-encrypt-string)
1859 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
1860 (allout-distinctive-bullets-string, allout-auto-activation):
1861 * window.el (window-normalize-buffer-to-display):
1862 * progmodes/verilog-mode.el (verilog-batch-indent):
1863 * textmodes/bibtex.el (bibtex-field-braces-opt)
1864 (bibtex-field-strings-opt):
1865 * vc/cvs-status.el (cvs-tree-merge):
1868 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
1870 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
1871 `non-essential' to t, in order to avoid remote connections.
1873 2011-11-23 Eli Zaretskii <eliz@gnu.org>
1875 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1876 On MS-DOS and MS-Windows, compare with loaddefs.el
1879 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
1881 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
1883 2011-11-23 Glenn Morris <rgm@gnu.org>
1885 * paths.el (rmail-file-name): Reformat the doc-string so that it
1888 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
1889 (rmail-auto-file): Ignore case in the "special" field names,
1890 as mail-fetch-field does for all others.
1892 * mail/rmail.el (rmail-forward):
1893 * mail/rmailkwd.el (rmail-set-label):
1894 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
1895 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
1897 * mail/rmail.el (rmail-current-message): Doc fix.
1899 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
1901 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
1903 * server.el (server-eval-and-print): Allow C-g (bug#6585).
1905 2011-11-22 Glenn Morris <rgm@gnu.org>
1907 * mail/rmailmm.el (test-rmail-mime-handler)
1908 (test-rmail-mime-bulk-handler)
1909 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
1911 2011-11-21 Juri Linkov <juri@jurta.org>
1913 * calc/calc.el (calc-read-key-sequence):
1914 Let-bind `input-method-function' to nil. (Bug#10018)
1916 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1918 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
1919 Tell the caller that the next line needs recomputation, even
1920 though it doesn't start a sexp (bug#10094).
1922 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
1926 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1928 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
1929 Use force-same-window.
1931 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1933 * descr-text.el (describe-char-unicode-data):
1934 * json.el (json-string-escape):
1935 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
1936 (Footnote-unicode, Footnote-style-p):
1937 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
1939 2011-11-20 Chong Yidong <cyd@gnu.org>
1941 * window.el (replace-buffer-in-windows): Restore interactive spec.
1943 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1945 * electric.el (electric-indent-mode): Fix last change (too optimistic).
1947 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
1948 (byte-compile-global-not-obsolete-vars): New var.
1949 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
1951 (byte-compile-warn-obsolete): Align text with the one in *Help*.
1953 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
1955 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
1956 * progmodes/pascal.el (electric-pascal-equal):
1957 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
1958 * xml.el (xml-substitute-special): Fix typos.
1960 2011-11-20 Glenn Morris <rgm@gnu.org>
1962 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
1963 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
1965 (rmail-decode-mime-charset): Mark as obsolete.
1967 * mail/rmailsum.el (rmail-message-regexp-p-1):
1968 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
1969 Before using mime functions, check they are set. (Bug#10077)
1971 2011-11-19 Juri Linkov <juri@jurta.org>
1973 * info.el (Info-finder-find-node): Use `package--builtins' instead
1974 of `package-alist'. Use node names formed by the pattern "Keyword "
1975 and the keyword name.
1977 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
1979 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
1981 2011-11-19 Juri Linkov <juri@jurta.org>
1983 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
1984 that calls `revert-buffer' on all Info buffers. (Bug#9915)
1985 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
1986 `old-history', `old-history-forward'. Add let-binding
1987 `window-selected'. Remove calls to `kill-buffer',
1988 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
1989 before calling `Info-find-node', so `Info-find-node-2' will reread
1990 the Info file. Restore window positions only when `window-selected'
1993 2011-11-19 Juri Linkov <juri@jurta.org>
1995 * isearch.el (isearch-lazy-highlight-new-loop):
1996 Remove condition `(not isearch-error)'. (Bug#9918)
1998 * misearch.el (multi-isearch-search-fun): Add condition
1999 `(not bound)' to ignore lazy-highlighting search.
2000 Add the search-failed message "end of multi" when the end of
2001 multi-sequence is reached. Uncapitalize the search-failed
2002 message "Repeat for next buffer".
2004 * info.el (Info-search): Add the search-failed message
2005 "end of the manual" when the end of the manual is reached
2008 2011-11-19 Juri Linkov <juri@jurta.org>
2010 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
2011 Use non-destructive `remove' instead of `delete' because
2012 `Info-history-list' stored to `Info-isearch-initial-history-list' in
2013 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
2015 2011-11-19 Juri Linkov <juri@jurta.org>
2017 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
2018 to nil instead of binding `search-ring' and `regexp-search-ring'.
2021 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2023 * simple.el (line-move): Force movement by logical lines for any
2024 hscrolled window, not only when auto-hscroll-mode is on.
2025 (line-move-visual): Update doc string to that effect. (Bug#10076)
2027 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
2029 * language/european.el (macintosh): Define as alias for mac-roman.
2031 2011-11-19 Eli Zaretskii <eliz@gnu.org>
2033 * mail/rmailmm.el (rmail-mime-display-header)
2034 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
2035 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
2036 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
2037 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
2038 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
2040 (rmail-mime-entity-segment): To get past the tagline, move forward
2041 2 more lines, to account for the 2 empty lines that precede and
2042 follow the line with the buttons.
2043 (rmail-mime-update-tagline): Move one more line, to get past the
2044 empty line that follows the buttons in the tagline. (Bug#9520)
2046 2011-11-19 Martin Rudalics <rudalics@gmx.at>
2048 * window.el (window-max-delta-1, window-min-delta-1)
2049 (window-min-size-1, window-state-get-1, window-state-put-1)
2050 (window-state-put-2): Use "window--" prefix.
2052 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * emacs-lisp/smie.el: Improve warnings and conflict detection.
2055 (smie-warning-count): New var.
2056 (smie-set-prec2tab): Use it.
2057 (smie-bnf->prec2): Improve warnings. Add docstring.
2058 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
2059 (smie-bnf--set-class): New function.
2060 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
2063 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
2064 (compilation-error-properties, compilation-move-to-column):
2065 Handle compilation-first-column while in the target buffer.
2067 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
2068 Don't hardcode point-min==1.
2070 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
2071 (eshell-rewrite-for-command): Remove workaround.
2072 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
2073 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
2074 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
2076 * files-x.el (modify-file-local-variable): Obey commenting conventions.
2078 2011-11-17 Glenn Morris <rgm@gnu.org>
2080 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2081 Ignore buffer-local generated-autoload-file if it is the same
2082 as the global value. (Bug#10049)
2084 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
2086 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
2087 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
2088 (reftex-toc-previous-heading, reftex-toc-max-level)
2089 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
2090 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
2091 (reftex-toc-do-promote, reftex-toc-promote-prepare)
2092 (reftex-toc-promote-action, reftex-toc-extract-section-number)
2093 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
2094 (reftex-toc-rename-label, reftex-toc-visit-location)
2095 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
2096 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
2097 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
2098 leaving "*toc*" only for references to the buffer.
2100 2011-11-17 Martin Rudalics <rudalics@gmx.at>
2102 * window.el (window-resize, delete-window, split-window):
2103 Replace window-splits by window-combination-resize.
2104 * cus-start.el (window-splits): Replace by window-combination-resize.
2106 2011-11-17 Glenn Morris <rgm@gnu.org>
2108 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2109 Make bash entry derive from sh entry, not shell entry.
2111 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
2113 * net/tramp-cache.el (tramp-flush-file-property): Flush also
2114 properties of linked files. (Bug#9879)
2116 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
2119 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
2121 * menu-bar.el (menu-bar-file-menu):
2122 * printing.el (pr-ps-utility):
2123 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
2124 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
2125 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
2126 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
2127 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
2128 (icalendar--convert-cyclic-to-ical)
2129 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
2130 (icalendar--convert-ical-to-diary)
2131 (icalendar--convert-recurring-to-diary)
2132 (icalendar--convert-non-recurring-all-day-to-diary)
2133 (icalendar-import-format-sample):
2134 * progmodes/idlw-shell.el (idlwave-shell-mode):
2135 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
2136 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
2137 (vhdl-ps-print-init): Fix typos.
2139 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
2141 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
2142 FSF and collapse date sequence, obscure author/maintainer email address
2143 better, remove extra version line, track relocation of author's webpage.
2145 * progmodes/python.el (python-pdbtrack-input-prompt)
2146 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
2147 regular python pdb prompts. Adjustments shamelessly taken exactly as
2148 suggested in EmacsWiki page (tiny change):
2149 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
2151 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
2153 * expand.el (expand-pos, expand-index, expand-point):
2154 Remove redundant info from docstring.
2155 (expand-add-abbrevs): Doc fix.
2156 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
2157 (expand-sample-perl-mode-expand-list): Fix typos.
2159 * net/dbus.el (dbus-event-member-name):
2160 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
2161 * term/pc-win.el (msdos-create-frame-with-faces):
2162 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
2164 2011-11-16 Martin Rudalics <rudalics@gmx.at>
2166 * window.el (split-window, window-state-get-1)
2167 (window-state-put-1, window-state-put-2): Rename occurrences of
2168 window-nest to window-combination-limit.
2169 * cus-start.el (window-nest): Rename to window-combination-limit.
2171 2011-11-16 Chong Yidong <cyd@gnu.org>
2173 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
2176 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
2179 `completing-read' will remove *Completions* and will preserve
2180 current-buffer for us.
2181 (tmm-add-prompt): Users of *Completions* will always (re)set its
2183 (tmm-old-comp-map): Remove.
2185 2011-11-16 Glenn Morris <rgm@gnu.org>
2187 * mail/rmailedit.el: Require rmailmm when compiling.
2188 (rmail-old-mime-state): New declaration.
2189 (rmail-edit-current-message): If editing a mime message,
2190 edit the "raw" message from the mbox buffer.
2191 (rmail-cease-edit): Handle mime messages. (Bug#9840)
2193 2011-11-15 Glenn Morris <rgm@gnu.org>
2195 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
2196 which wasn't being used. Add optional arg to force given state.
2197 (rmail-mime): Add optional arg to force given state.
2199 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
2201 * allout.el (allout-encryption-plaintext-sanitization-regexps):
2202 * frame.el (display-mm-dimensions-alist):
2203 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
2204 (outline-move-subtree-down):
2205 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
2206 (newsticker--treeview-do-get-node):
2207 * net/quickurl.el (quickurl-list-buffer-name):
2208 * progmodes/dcl-mode.el (dcl-mode):
2209 * progmodes/gdb-mi.el (gdb-mapcar*):
2210 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
2212 2011-11-15 Glenn Morris <rgm@gnu.org>
2214 * mail/rmail.el (rmail-file-coding-system): It's only ever used
2215 in a boolean sense, so just make it a boolean, and fix the doc.
2216 (rmail-show-mime-function, rmail-mime-feature)
2217 (rmail-require-mime-maybe): Doc fixes.
2218 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
2220 * mail/rmailmm.el (rmail-show-mime): Doc fix.
2222 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
2224 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
2225 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
2226 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
2227 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
2229 2011-11-15 Glenn Morris <rgm@gnu.org>
2231 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
2232 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
2233 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
2234 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
2235 (rmail-mime, rmail-show-mime): Doc fixes.
2237 * term/ns-win.el (mode-line-frame-identification):
2238 Leave it alone. (Bug#10051)
2240 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
2242 * mail/rmailout.el (rmail-output-to-rmail-buffer):
2243 Handle empty buffers. (Bug#9978)
2245 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
2247 * international/mule.el (define-charset):
2248 * mail/rmailmm.el (rmail-mime-find-header-encoding):
2249 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
2250 * progmodes/verilog-mode.el (verilog-backward-token):
2251 * textmodes/ispell.el (lookup-words):
2252 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
2254 2011-11-14 Glenn Morris <rgm@gnu.org>
2256 * progmodes/executable.el
2257 (executable-make-buffer-file-executable-if-script-p):
2258 Handle file-modes returning nil.
2260 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
2261 message - not necessary, and causes problems. (Bug#9831)
2263 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
2265 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
2267 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
2268 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
2269 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
2271 2011-11-12 Martin Rudalics <rudalics@gmx.at>
2273 * window.el (window-resize, delete-window): Use window-splits
2274 variable instead of function.
2275 (window-state-get-1, window-state-put-2, window-state-put):
2276 Don't deal with windows' splits status.
2278 2011-11-12 Glenn Morris <rgm@gnu.org>
2280 * apropos.el (apropos-do-all, apropos-library, apropos-value)
2281 (apropos-documentation): Doc fixes.
2283 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
2285 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
2286 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
2288 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * electric.el (electric-indent-post-self-insert-function): Make it
2291 possible for a char to only indent in some circumstances.
2292 (electric-indent-mode): Simplify.
2294 2011-11-11 Martin Rudalics <rudalics@gmx.at>
2296 * window.el (windows-with-parameter): Remove unused function.
2297 (windows-at-side): Rename to window-at-side-list.
2298 (window-check, window-atom-check, window-atom-check-1)
2299 (window-side-check, window-size-ignore, window-size-fixed-1)
2300 (window-in-direction-2): Prefix with "window--".
2301 (window-tree-1): Rename to window--subtree, fix doc-string.
2303 2011-11-11 Glenn Morris <rgm@gnu.org>
2305 * subr.el (eval-after-load): If FILE is already loaded,
2306 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
2308 2011-11-10 Glenn Morris <rgm@gnu.org>
2310 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
2311 Call svn via vc-svn-command rather than vc-do-command.
2312 (vc-svn-command): Add --non-interactive. (Bug#9993)
2313 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
2315 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2316 Add toggle-read-only. (Bug#7292)
2317 * files.el (toggle-read-only): Mention that it should only
2318 be used interactively. (Bug#10006)
2320 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2323 Adjust regexp for OCaml warnings.
2325 * electric.el (electric-pair-post-self-insert-function): Let user
2326 turn it off buffer-locally (bug#9932).
2328 * progmodes/python.el (python-beginning-of-statement):
2331 * progmodes/compile.el: Better handle TABs (bug#9749).
2332 (compilation-internal-error-properties)
2333 (compilation-next-error-function): Obey the target buffer's
2334 compilation-error-screen-columns.
2336 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
2338 * progmodes/meta-mode.el: Remove obsolete comments.
2339 (meta-right-comment-regexp, meta-ignore-comment-regexp):
2340 Fix typos in docstrings.
2342 2011-11-09 Martin Rudalics <rudalics@gmx.at>
2344 * window.el (window-size-fixed-p): Rewrite doc-string.
2345 (window-resizable-p): Rename to window--resizable-p. Update callers.
2346 (window--resizable): New function. Make all callers of
2347 window-resizable call window--resizable instead.
2348 (window-resizable): Rewrite in terms of window--resizable.
2350 2011-11-08 Glenn Morris <rgm@gnu.org>
2352 * progmodes/delphi.el (delphi-mode-syntax-table):
2353 Let define-derived-mode define a proper syntax table. (Bug#9994)
2355 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2357 * window.el: Stay away from defsubst.
2358 (window-list-no-nils): Remove.
2359 (window-state-get-1, window-state-get): Use backquote instead.
2361 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2363 * emacs-lisp/find-func.el (find-function-read):
2364 Fix incorrect use of default argument in `completing-read'.
2366 2011-11-08 Martin Rudalics <rudalics@gmx.at>
2368 * window.el (display-buffer-function, special-display-function):
2369 Mention display-buffer-record-window but do not mention
2370 help-setup parameter in doc-strings.
2371 (window-min-delta): Fix doc-string typo.
2373 2011-11-08 Chong Yidong <cyd@gnu.org>
2375 * window.el (window-total-height, window-total-width): Doc fix.
2376 (window-body-size): Move from C.
2377 (window-body-height, window-body-width): Move to C.
2379 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * window.el: Make special-display like display-buffer-alist (bug#9532).
2382 (display-buffer--special-action): New function, morphed
2383 from display-buffer--special.
2384 (display-buffer): Use it to handle special-display-buffers at higher
2385 priority (just after display-buffer-alist).
2386 (display-buffer-fallback-action, display-buffer--other-frame-action)
2387 (pop-to-buffer-same-window): Remove display-buffer--special.
2389 2011-11-07 Glenn Morris <rgm@gnu.org>
2391 * calendar/cal-menu.el (cal-menu-set-date-title):
2392 Do nothing if not in a calendar. (Bug#9976)
2394 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * files.el (find-file): Always use selected-window.
2398 2011-11-07 Martin Rudalics <rudalics@gmx.at>
2400 * window.el (window-combinations): Make WINDOW argument
2401 mandatory. Rewrite doc-string.
2402 (walk-window-subtree, window-atom-check, window-min-delta)
2403 (window-max-delta, window--resize-this-window)
2404 (window--resize-root-window-vertically, window-tree)
2405 (balance-windows, window-state-put): Rewrite doc-strings as to
2406 not mention the term "subwindow".
2407 (window--resize-subwindows-skip-p): Rename to
2408 window--resize-child-windows-skip-p.
2409 (window--resize-subwindows-normal): Rename to
2410 window--resize-child-windows-normal.
2411 (window--resize-subwindows): Rename to
2412 window--resize-child-windows.
2413 (window-or-subwindow-p): Rename to window--in-subtree-p.
2415 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2417 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
2418 Ensure that mbox format messages end in two newlines (Bug#9974).
2420 2011-11-06 Chong Yidong <cyd@gnu.org>
2422 * window.el (window-combination-p): Function deleted; its
2423 side-effect is not used in any existing code.
2424 (window-combinations, window-combined-p): Call window-*-child
2427 2011-11-05 Chong Yidong <cyd@gnu.org>
2429 * window.el (window-valid-p): Rename from window-any-p.
2430 (window-size-ignore, window-state-get): Callers changed.
2431 (window-normalize-window): Rename from window-normalize-any-window.
2432 New arg LIVE-ONLY, replacing window-normalize-live-window.
2433 (window-normalize-live-window): Delete.
2434 (window-combination-p, window-combined-p, window-combinations)
2435 (walk-window-subtree, window-atom-root, window-min-size)
2436 (window-sizable, window-sizable-p, window-size-fixed-p)
2437 (window-min-delta, window-max-delta, window-resizable)
2438 (window-resizable-p, window-full-height-p, window-full-width-p)
2439 (window-current-scroll-bars, window-point-1, set-window-point-1)
2440 (window-at-side-p, window-in-direction, window-resize)
2441 (adjust-window-trailing-edge, maximize-window, minimize-window)
2442 (window-deletable-p, delete-window, delete-other-windows)
2443 (record-window-buffer, unrecord-window-buffer)
2444 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
2445 (quit-window, split-window, window-state-put)
2446 (set-window-text-height, fit-window-to-buffer)
2447 (shrink-window-if-larger-than-buffer): Callers changed.
2449 2011-11-04 Eli Zaretskii <eliz@gnu.org>
2451 * mail/rmail.el (rmail-simplified-subject): Decode subject with
2452 rfc2047-decode-string.
2453 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
2456 * window.el (window-body-height, window-body-width): Mention in
2457 the doc string that the return values are in frame's canonical
2460 2011-11-03 Alan Mackenzie <acm@muc.de>
2462 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
2463 change in cc-engine.el.
2465 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * window.el (switch-to-buffer): Use `force-same-window' interactively.
2469 2011-11-02 Martin Rudalics <rudalics@gmx.at>
2471 * window.el (quit-window): Call unrecord-window-buffer after
2472 showing another buffer in the window. (Bug#9937)
2473 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
2475 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
2477 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
2478 Accept status with more than 9 shelves. (Bug#9935)
2479 Reported by Colin D Bennett <colin@gibibit.com>.
2481 2011-11-01 Martin Rudalics <rudalics@gmx.at>
2483 * help.el (with-help-window): Don't reference
2484 temp-buffer-show-specifiers in doc-string.
2486 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2488 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
2491 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2493 * whitespace.el: New version 13.2.2.
2494 (whitespace-newline-mode): Disable properly. Reported by Sarah
2497 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
2499 * net/newst-treeview.el: Remove "Time-stamp".
2500 (newsticker--group-manage-orphan-feeds): Do not call
2501 newsticker--treeview-tree-update.
2502 (newsticker-treeview-update, newsticker-treeview):
2503 Call newsticker--treeview-tree-update if necessary.
2505 2011-10-30 Martin Rudalics <rudalics@gmx.at>
2507 * window.el (window-iso-combination-p, window-iso-combined-p)
2508 (window-iso-combinations): Remove "iso-" infix.
2509 Suggested by Chong Yidong.
2510 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
2511 (window-max-delta-1, window-resize, window--resize-siblings)
2512 (window--resize-this-window, adjust-window-trailing-edge)
2513 (split-window, balance-windows-1)
2514 (shrink-window-if-larger-than-buffer):
2515 * calendar/calendar.el (calendar-generate-window):
2516 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
2518 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2520 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
2521 in place (bug#9907).
2522 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
2523 (eshell-rewrite-if-command, eshell-rewrite-for-command)
2524 (eshell-structure-basic-command, eshell-rewrite-while-command)
2525 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
2526 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
2527 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
2528 (eshell-do-pipelines-synchronously, eshell-eval-command):
2529 Use backquotes and prefer setq to set.
2530 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
2531 (eshell-macrop): Use functionp.
2532 (eshell-do-eval): Handle multiple expressions in `while' body.
2534 2011-10-30 Chong Yidong <cyd@gnu.org>
2536 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
2537 instead of set-mark (Bug#9810).
2539 2011-10-30 Chong Yidong <cyd@gnu.org>
2541 * window.el (split-window-below, split-window-right): Rename from
2542 split-window-above-each-other and split-window-side-by-side
2543 respectively. All callers changed.
2544 (split-window-sensibly, split-window-sensibly): Use them.
2545 (split-window-keep-point): Doc fix.
2547 * isearch.el: Add isearch-scroll property to split-window-below
2548 and split-window-right.
2550 * follow.el (follow-mode):
2551 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
2552 * progmodes/ada-xref.el (ada-gdb-application):
2553 * emulation/vip.el (vip-buffer-in-two-windows):
2554 * image-dired.el (image-dired-dired-with-window-configuration):
2555 * dired-x.el (dired-do-find-marked-files):
2556 * dired.el (dired-pop-to-buffer):
2557 * bs.el (bs--show-with-configuration):
2558 * vc/emerge.el (emerge-setup-windows):
2559 * textmodes/two-column.el (2C-two-columns):
2560 * textmodes/reftex-toc.el (reftex-toc):
2561 * progmodes/gdb-mi.el (gdb-setup-windows):
2562 * progmodes/fortran.el (fortran-window-create):
2563 * net/newst-treeview.el (newsticker--treeview-window-init):
2564 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
2565 * emulation/tpu-edt.el (tpu-gold-map):
2566 * emulation/crisp.el (crisp-mode-map):
2567 * calendar/calendar.el (calendar-basic-setup): Callers changed.
2569 2011-10-29 Chong Yidong <cyd@gnu.org>
2571 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
2573 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
2575 * textmodes/flyspell.el (flyspell-word): Fix char offset for
2576 forged Ispell output (Bug#7904).
2578 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
2580 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * doc-view.el: Avoid ugly errors about not finding nil.
2583 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
2584 (doc-view-dvipdf-program, doc-view-unoconv-program)
2585 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
2586 Avoid nil or absolute file name as default value.
2587 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
2589 2011-10-28 Alan Mackenzie <acm@muc.de>
2591 * progmodes/cc-defs.el (c-version): -> 5.32.2.
2593 2011-10-28 Alan Mackenzie <acm@muc.de>
2595 Amend the handling of c-beginning/end-of-defun in nested declaration
2598 * progmodes/cc-vars.el (c-defun-tactic): Move here from
2599 cc-langs.el. Change it to a defcustom.
2601 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
2604 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2605 Prevent "class foo : bar" being spuriously recognized as a label.
2607 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
2608 Add parameter `inclusive' (to include enclosing braces in the region).
2609 (c-widen-to-enclosing-decl-scope): New function.
2610 (c-while-widening-to-decl-block): New macro.
2611 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
2612 outward for defun boundaries, and correspondingly change symbol
2613 `respect-enclosure' to `go-outward'.
2614 (c-declaration-limits): Change algorithm to report only the "innermost"
2617 2011-10-28 Deniz Dogan <deniz@dogan.se>
2619 * net/rcirc.el (rcirc-mode): Use hard newlines.
2621 2011-10-28 Alan Mackenzie <acm@muc.de>
2623 Amend to indent and fontify macros "which include their own semicolon"
2624 correctly, using the "virtual semicolon" mechanism.
2626 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
2628 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2629 Recode to scan one line at a time rather than having \n and \r
2630 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
2631 (c-forward-label): Amend for virtual semicolons.
2632 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
2634 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
2635 of the new C macros.
2637 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
2638 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
2639 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
2640 (c-opt-cpp-macro-define): Make into a full language variable.
2641 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
2642 AWK Mode (including \n, \r) removed, no longer needed.
2644 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
2645 Invoke c-make-macro-with-semi-re.
2647 * progmodes/cc-vars.el (c-macro-with-semi-re):
2648 (c-macro-names-with-semicolon): New variables.
2649 (c-make-macro-with-semi-re): New function.
2651 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * vc/log-edit.el: Fill empty field rather than adding new one.
2654 (log-edit-add-field): New function.
2655 (log-edit-insert-changelog): Use it.
2657 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
2659 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
2661 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
2664 (gdb--check-interpreter): New function.
2667 2011-10-27 Glenn Morris <rgm@gnu.org>
2669 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
2670 (least-positive-float, least-negative-float)
2671 (least-positive-normalized-float, least-negative-normalized-float)
2672 (float-epsilon, float-negative-epsilon):
2673 Remove unnecessary declarations.
2675 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
2676 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
2677 (least-positive-float, least-negative-float)
2678 (least-positive-normalized-float, least-negative-normalized-float)
2679 (float-epsilon, float-negative-epsilon): Add doc-strings,
2680 based on those in cl.texi.
2682 * files.el (set-visited-file-name): If the major-mode changed,
2683 reload the local variables. (Bug#9796)
2685 2011-10-27 Chong Yidong <cyd@gnu.org>
2687 * subr.el (change-major-mode-after-body-hook): New hook.
2688 (run-mode-hooks): Run it.
2690 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2691 Use change-major-mode-before-body-hook.
2693 * simple.el (fundamental-mode):
2694 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
2695 change introducing fundamental-mode-hook.
2697 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
2699 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
2701 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
2703 * ido.el (ido-file-name-all-completions-1): Do not require
2704 tramp.el explicitly. (Bug#7583)
2706 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * progmodes/octave-mod.el:
2709 * progmodes/octave-inf.el: Update maintainer.
2711 2011-10-26 Chong Yidong <cyd@gnu.org>
2713 * subr.el (with-wrapper-hook): Rewrite doc.
2715 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
2717 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
2718 filenames "/method:foo:". (Bug#9793)
2720 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
2725 2011-10-24 Glenn Morris <rgm@gnu.org>
2727 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2729 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
2731 * notifications.el: Add the requirement of a running D-Bus session
2732 bus to the Commentary.
2734 2011-10-24 Juri Linkov <juri@jurta.org>
2736 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2737 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
2740 2011-10-24 Juri Linkov <juri@jurta.org>
2742 * info.el (Info-following-node-name-re): Add newline to the list
2743 of allowed characters for leading space. (Bug#9824)
2745 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * progmodes/octave-inf.el (inferior-octave-mode-map):
2748 Fix C-c C-h binding.
2749 * progmodes/octave-mod.el (octave-help): Remove.
2751 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
2753 Sync with Tramp 2.2.3.
2755 * net/tramp-cache.el (top): Pacify byte-compiler using
2756 `init-file-user' and `site-run-file'.
2758 * net/trampver.el: Update release number.
2760 2011-10-23 Chong Yidong <cyd@gnu.org>
2762 * files.el (toggle-read-only): Remove obsolete comment about
2765 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
2766 for toggle-read-only. Note that this hasn't called vc-next-action
2767 since 2008-05-02, though it wasn't documented at the time.
2769 * vc/ediff-init.el (ediff-toggle-read-only-function):
2770 Use toggle-read-only.
2772 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
2774 Fix bug #9560, sporadic wrong indentation; improve instrumentation
2777 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2778 correct faulty logical expression.
2779 (c-parse-state-state, c-record-parse-state-state):
2780 (c-replay-parse-state-state): New defvar/defuns.
2781 (c-debug-parse-state): Use new functions.
2783 2011-10-22 Martin Rudalics <rudalics@gmx.at>
2785 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
2786 last fix. Use window-in-direction correctly.
2788 2011-10-21 Chong Yidong <cyd@gnu.org>
2790 * progmodes/idlwave.el (idlwave-mode):
2791 * progmodes/vera-mode.el (vera-mode): No need to set
2792 require-final-newline; that's done in prog-mode.
2793 Suggested by Stefan Monnier.
2795 2011-10-21 Martin Rudalics <rudalics@gmx.at>
2797 * mouse.el (mouse-drag-window-above)
2798 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
2799 (mouse-drag-mode-line-1, mouse-drag-header-line)
2800 (mouse-drag-vertical-line-rightward-window): Remove.
2801 (mouse-drag-line): New function.
2802 (mouse-drag-mode-line, mouse-drag-header-line)
2803 (mouse-drag-vertical-line): Call mouse-drag-line.
2804 * window.el (window-at-side-p, windows-at-side): New functions.
2806 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
2808 * tar-mode.el (tar-grind-file-mode):
2809 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
2811 2011-10-21 Chong Yidong <cyd@gnu.org>
2813 * progmodes/idlwave.el (idlwave-mode):
2814 * progmodes/vera-mode.el (vera-mode):
2815 Use mode-require-final-newline.
2817 2011-10-20 Glenn Morris <rgm@gnu.org>
2819 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
2821 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
2823 * emulation/cua-base.el (cua-set-mark): Fix case of string.
2825 2011-10-20 Chong Yidong <cyd@gnu.org>
2827 * emulation/cua-base.el (cua-mode):
2828 * mail/footnote.el (footnote-mode):
2829 * mail/mailabbrev.el (mail-abbrevs-mode):
2830 * net/xesam.el (xesam-minor-mode):
2831 * progmodes/bug-reference.el (bug-reference-mode):
2832 * progmodes/cap-words.el (capitalized-words-mode):
2833 * progmodes/compile.el (compilation-minor-mode)
2834 (compilation-shell-minor-mode):
2835 * progmodes/gud.el (gud-tooltip-mode):
2836 * progmodes/hideif.el (hide-ifdef-mode):
2837 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
2838 * progmodes/subword.el (subword-mode):
2839 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
2840 * progmodes/which-func.el (which-function-mode):
2841 * term/tvi970.el (tvi970-set-keypad-mode):
2842 * term/vt100.el (vt100-wide-mode):
2843 * textmodes/flyspell.el (flyspell-mode):
2844 * textmodes/ispell.el (ispell-minor-mode):
2845 * textmodes/nroff-mode.el (nroff-electric-mode):
2846 * textmodes/paragraphs.el (use-hard-newlines):
2847 * textmodes/refill.el (refill-mode):
2848 * textmodes/reftex.el (reftex-mode):
2849 * textmodes/rst.el (rst-minor-mode):
2850 * textmodes/sgml-mode.el (html-autoview-mode)
2851 (sgml-electric-tag-pair-mode):
2852 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
2853 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
2854 * emulation/crisp.el (crisp-mode):
2855 * emacs-lisp/eldoc.el (eldoc-mode):
2856 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
2857 minor mode behavior.
2859 2011-10-19 Juri Linkov <juri@jurta.org>
2861 * descr-text.el (describe-char): Add #x2010 and #x2011 to
2862 the list of hard-coded chars with escape-glyph face.
2864 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
2868 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
2870 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
2873 2011-10-19 Glenn Morris <rgm@gnu.org>
2875 * vc/vc-bzr.el (vc-bzr-after-dir-status):
2876 Ignore ignored files. (Bug#9726)
2878 2011-10-19 Chong Yidong <cyd@gnu.org>
2880 Doc fix for minor modes, stating that an omitted argument enables
2881 the mode unconditionally when called from Lisp.
2883 * abbrev.el (abbrev-mode):
2884 * allout.el (allout-mode):
2885 * autoinsert.el (auto-insert-mode):
2886 * autoarg.el (autoarg-mode, autoarg-kp-mode):
2887 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
2888 (global-auto-revert-mode):
2889 * battery.el (display-battery-mode):
2890 * composite.el (global-auto-composition-mode)
2891 (auto-composition-mode):
2892 * delsel.el (delete-selection-mode):
2893 * desktop.el (desktop-save-mode):
2894 * dired-x.el (dired-omit-mode):
2895 * dirtrack.el (dirtrack-mode):
2896 * doc-view.el (doc-view-minor-mode):
2897 * double.el (double-mode):
2898 * electric.el (electric-indent-mode, electric-pair-mode):
2899 * emacs-lock.el (emacs-lock-mode):
2900 * epa-hook.el (auto-encryption-mode):
2901 * follow.el (follow-mode):
2902 * font-core.el (font-lock-mode):
2903 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
2904 * help.el (temp-buffer-resize-mode):
2905 * hilit-chg.el (highlight-changes-mode)
2906 (highlight-changes-visible-mode):
2907 * hi-lock.el (hi-lock-mode):
2908 * hl-line.el (hl-line-mode, global-hl-line-mode):
2909 * icomplete.el (icomplete-mode):
2910 * ido.el (ido-everywhere):
2911 * image-file.el (auto-image-file-mode):
2912 * image-mode.el (image-minor-mode):
2913 * iswitchb.el (iswitchb-mode):
2914 * jka-cmpr-hook.el (auto-compression-mode):
2915 * linum.el (linum-mode):
2916 * longlines.el (longlines-mode):
2917 * master.el (master-mode):
2918 * mb-depth.el (minibuffer-depth-indicate-mode):
2919 * menu-bar.el (menu-bar-mode):
2920 * minibuf-eldef.el (minibuffer-electric-default-mode):
2921 * mouse-sel.el (mouse-sel-mode):
2922 * msb.el (msb-mode):
2923 * mwheel.el (mouse-wheel-mode):
2924 * outline.el (outline-minor-mode):
2925 * paren.el (show-paren-mode):
2926 * recentf.el (recentf-mode):
2927 * reveal.el (reveal-mode, global-reveal-mode):
2928 * rfn-eshadow.el (file-name-shadow-mode):
2929 * ruler-mode.el (ruler-mode):
2930 * savehist.el (savehist-mode):
2931 * scroll-all.el (scroll-all-mode):
2932 * scroll-bar.el (scroll-bar-mode):
2933 * server.el (server-mode):
2934 * shell.el (shell-dirtrack-mode):
2935 * simple.el (auto-fill-mode, transient-mark-mode)
2936 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
2937 (line-number-mode, column-number-mode, size-indication-mode)
2938 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
2939 * strokes.el (strokes-mode):
2940 * time.el (display-time-mode):
2941 * t-mouse.el (gpm-mouse-mode):
2942 * tool-bar.el (tool-bar-mode):
2943 * tooltip.el (tooltip-mode):
2944 * type-break.el (type-break-mode-line-message-mode)
2945 (type-break-query-mode):
2946 * view.el (view-mode):
2947 * whitespace.el (whitespace-mode, whitespace-newline-mode)
2948 (global-whitespace-mode, global-whitespace-newline-mode):
2949 * xt-mouse.el (xterm-mouse-mode): Doc fix.
2951 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
2952 Fix autogenerated docstring.
2954 2011-10-19 Juri Linkov <juri@jurta.org>
2956 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
2957 by checking environment variables "DESKTOP_SESSION" and
2958 "XDG_CURRENT_DESKTOP". (Bug#9779)
2960 2011-10-19 Juri Linkov <juri@jurta.org>
2962 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
2963 (browse-url-chromium-program, browse-url-chromium-arguments):
2965 (browse-url-default-browser): Check for `browse-url-chromium' and
2966 call `browse-url-chromium-program'.
2967 (browse-url-chromium): New command. (Bug#9779)
2969 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
2971 * facemenu.el (list-colors-duplicates): On Windows, detect more
2972 duplicates by assuming that only colors matching "^System" are
2973 special "system colors". (Bug#9722)
2975 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
2978 to distinguish the author from the committer.
2980 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
2982 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
2984 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
2986 * international/mule.el (sgml-html-meta-auto-coding-function):
2987 Add support for detecting encoding in HTML5 specified only as
2988 <meta charset="UTF-8">. Implementation just makes http-equiv and
2989 content-type parts from HTML4 encoding string optional. (Bug#9716)
2991 2011-10-18 Glenn Morris <rgm@gnu.org>
2993 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
2995 2011-10-18 Chong Yidong <cyd@gnu.org>
2997 * faces.el (cursor): Doc fix.
2999 2011-10-17 Chong Yidong <cyd@gnu.org>
3001 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
3003 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
3005 * dirtrack.el (dirtrack): Support shell buffers with path
3006 prefixes, e.g. tramp-based remote shells. (Bug#9647)
3008 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
3010 * json.el: Bump version to 1.3 and note change in History.
3011 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
3013 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * comint.el (comint-insert-input, comint-send-input)
3016 (comint-get-old-input-default, comint-backward-matching-input)
3017 (comint-next-prompt): Use nil instead of `input' for field property of
3018 past user input (bug#114).
3020 * minibuffer.el (completion--replace): Inherit surrounding properties
3022 (minibuffer-complete-and-exit): Use it.
3024 * comint.el (comint--table-subvert): Quote the all-completions output
3027 2011-10-17 Martin Rudalics <rudalics@gmx.at>
3029 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
3031 * menu-bar.el (menu-bar-file-menu): Add entry for making new
3032 window on right of selected. (Bug#9350) Reword other window
3033 entries and separate them from frame entries.
3035 2011-10-15 Glenn Morris <rgm@gnu.org>
3037 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
3040 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
3042 * net/network-stream.el (network-stream-open-starttls):
3043 Improve detection of failure due to lack of TLS support.
3045 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
3046 putting the input text in front and in bold.
3048 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
3052 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
3055 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
3056 unread-command-events rather than pushing yet-another event.
3058 2011-10-14 Eli Zaretskii <eliz@gnu.org>
3060 * mail/sendmail.el (sendmail-query-once): Improve the wording of
3061 the explanation of the possible choices. Make the options passed
3062 to completing-read shorter.
3064 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3066 * textmodes/flyspell.el (flyspell-large-region): Make sure
3067 extended character mode is used if defined (Bug#1339).
3069 2011-10-13 Eli Zaretskii <eliz@gnu.org>
3071 * simple.el (what-cursor-position): Fix the display of the
3072 character info for LRE, LRO, RLE, and RLO characters by appending
3075 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
3078 even in case of error; add debug spec; simplify data flow.
3079 (with-timeout-handler): Remove.
3081 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
3083 Fix Bug#6019, Bug#9315.
3085 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
3086 complete `buffer-file-name', the local file name part could look
3087 remotely (for example on VMS).
3089 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
3090 `tramp-run-real-handler'.
3091 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
3092 already quoted by '"'.
3094 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
3095 Let `file-name-handler-alist' be nil, the local file name part
3096 could look remotely (for example on VMS).
3098 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3100 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
3102 (flyspell-post-command-hook): ...to here.
3104 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
3108 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
3109 using completion. Protect against "slow" callers.
3110 Remove the "message hack".
3112 2011-10-11 Juri Linkov <juri@jurta.org>
3114 * isearch.el (isearch-lazy-highlight-word): New variable.
3115 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
3118 2011-10-11 Glenn Morris <rgm@gnu.org>
3120 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
3121 like f90-previous-statement does.
3123 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3125 * eshell/eshell.el (eshell-command): History should be saved
3126 only in interactive use, to avoid error.
3128 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * minibuffer.el (completion-file-name-table): Fix last change,
3131 i.e. ignore normal errors but not the other ones.
3133 2011-10-10 Martin Rudalics <rudalics@gmx.at>
3135 * window.el (special-display-buffer-names)
3136 (special-display-regexps): Remove some remnants of earlier
3137 changes from doc-strings.
3138 (quit-windows-on): New function.
3140 * vc/vc.el (vc-revert, vc-rollback):
3141 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
3142 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
3143 (Bug#6183) (Bug#7074) (Bug#7447)
3145 2011-10-09 Martin Rudalics <rudalics@gmx.at>
3147 * window.el (frame-auto-hide-function): Add version tag.
3150 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
3152 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
3155 2011-10-09 Leo Liu <sdl.web@gmail.com>
3157 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
3160 2011-10-08 Glenn Morris <rgm@gnu.org>
3162 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
3163 before the first code statement zero indent. (Bug#9690)
3165 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
3167 * simple.el (count-words-region): Always count in the region.
3168 Report the number of lines and characters too.
3169 (count-words): New command, which counts in the buffer if the
3170 region is inactive, as count-words-region used to.
3171 (count-words--message): New function. Handle plurals.
3172 (count-lines-region): Make it an alias for count-words-region.
3174 * bindings.el (esc-map): Replace count-lines-region with
3177 2011-10-08 Martin Rudalics <rudalics@gmx.at>
3179 * window.el (window--delete): Delete dedicated frame
3180 unconditionally when argument KILL is non-nil. (Bug#9699)
3181 (switch-to-buffer): Fix doc-string typo.
3183 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3185 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
3187 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
3189 * bindings.el ([M-left],[M-right]): Bind to left-word and
3190 right-word respectively.
3192 2011-10-07 Glenn Morris <rgm@gnu.org>
3194 * cus-start.el (debug-on-quit): Fix custom type.
3196 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3198 * subr.el (define-key-after): Clarify that the function is not
3199 useful for non-menu keymaps.
3201 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
3203 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3205 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
3206 in current minibuffer (Fix bug with recursive minibuffers).
3208 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
3210 * progmodes/gdb-mi.el (gdb): Doc fix.
3212 2011-10-05 Martin Rudalics <rudalics@gmx.at>
3214 * window.el (frame-auto-hide-function): New option replacing
3215 frame-auto-delete. Suggested by Stefan Monnier.
3216 (window--delete): Call frame-auto-hide-function instead of
3217 investigating frame-auto-delete.
3218 (window-point-1, set-window-point-1): New functions.
3219 (window-in-direction, record-window-buffer, window-state-get-1)
3220 (display-buffer-record-window): Use window-point-1 instead of
3222 (set-window-buffer-start-and-point): Use set-window-point-1.
3224 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
3228 2011-10-05 Glenn Morris <rgm@gnu.org>
3230 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
3231 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
3233 2011-10-05 Leo Liu <sdl.web@gmail.com>
3235 * subr.el (read-char-choice): Fix argument to buffer-live-p which
3236 works with buffer object.
3238 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * mpc.el (mpc-tool-bar-map): Add labels.
3242 2011-10-04 Glenn Morris <rgm@gnu.org>
3244 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3246 2011-10-04 Martin Rudalics <rudalics@gmx.at>
3248 * window.el (window--delete): New function.
3249 (frame-auto-delete): Resuscitate option.
3250 (bury-buffer, replace-buffer-in-windows)
3251 (quit-window): Rewrite using window--delete.
3252 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3253 Pass display-buffer-mark-dedicated to window--display-buffer-2
3256 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3258 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
3259 returns a list (bug#9554). Add remote file name completion.
3260 * comint.el (comint--table-subvert): Curry and get quote&unquote
3261 functions as arguments.
3262 (comint--complete-file-name-data): Adjust call accordingly.
3263 * pcomplete.el (pcomplete--table-subvert): Remove.
3264 (pcomplete-completions-at-point): Use comint--table-subvert instead.
3266 * minibuffer.el (completion-table-case-fold): Use currying.
3267 (completion--styles-type, completion--cycling-threshold-type):
3269 (completion-styles, completion-category-overrides)
3270 (completion-cycle-threshold): Use them.
3271 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
3272 completion-table-case-fold.
3274 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
3276 * minibuffer.el (completion-category-overrides): Fix type of styles
3277 and add more user friendly tags (bug#9660).
3279 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
3282 (mule-input-method-string): New widget.
3283 (default-input-method, language-info-custom-alist): Use it.
3285 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * pcomplete.el: Require comint.
3288 (pcomplete--common-suffix): Remove.
3289 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
3290 (pcomplete--table-subvert): Sync with comint--table-subvert.
3291 (pcomplete--entries): Use comint-completion-file-name-table.
3292 * comint.el (comint-unquote-filename): Simplify.
3293 (comint-completion-file-name-table): New function (bug#9616).
3294 (comint--complete-file-name-data): Use it.
3296 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
3297 (pcmpl-gnu-tar-buffer): Remove.
3298 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
3299 around. Make sure pcomplete-suffix-list is only changed temporarily.
3300 Don't look inside the tar's file if it's too large.
3302 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
3304 * cus-edit.el (custom-mode-map):
3305 * epa.el (epa-key-list-mode-map):
3306 * man.el (Man-mode-map):
3307 * startup.el (splash-screen-keymap):
3308 * simple.el (special-mode-map): Use scroll-up-command and
3309 scroll-down-command.
3311 * progmodes/idlw-help.el (idlwave-help-mode-map):
3312 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
3313 * net/newst-plainview.el (newsticker-mode-map):
3314 * emulation/ws-mode.el (wordstar-mode-map):
3315 * emulation/vi.el (vi-com-map):
3316 * calc/calc-graph.el (calc-graph-show-dumb):
3317 * term/sun.el (terminal-init-sun):
3318 * term/ns-win.el (global-map):
3319 * progmodes/grep.el (grep-mode-map):
3320 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
3321 * mail/rmail.el (rmail-mode-map):
3322 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
3324 * custom.el (custom-safe-themes, load-theme): Treat value of t for
3325 custom-safe-themes as special.
3327 2011-10-01 Julien Danjou <julien@danjou.info>
3329 * notifications.el (notifications-notify): Fix docstring.
3331 2011-10-01 Per Starbäck <per@starback.se>
3333 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
3335 2011-09-30 Martin Rudalics <rudalics@gmx.at>
3337 * startup.el (command-line-1): Fix last fix by inserting
3338 initial-scratch-message into *scratch* before displaying it.
3339 (Bug#9605) and (Bug#9636)
3341 2011-09-29 Eli Zaretskii <eliz@gnu.org>
3343 * simple.el (line-move): If auto-hscroll-mode is disabled and the
3344 window is hscrolled, move by logical lines. (Bug#9607)
3345 (line-move-visual): Update the doc string to the above effect.
3347 2011-09-29 Martin Rudalics <rudalics@gmx.at>
3349 * window.el (display-buffer-record-window): When WINDOW is the
3350 selected window use `point' instead of `window-point'. (Bug#9626)
3352 * startup.el (command-line-1): Use insert-before-markers when
3353 inserting initial-scratch-message. (Bug#9605)
3355 * help.el (help-window): Remove variable.
3357 2011-09-29 Glenn Morris <rgm@gnu.org>
3359 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
3361 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
3363 * descr-text.el (describe-char-categories): Accept category
3364 descriptions more than one line long.
3366 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * simple.el (delete-trailing-whitespace): Fix last change.
3370 * progmodes/perl-mode.el (perl-syntax-propertize-function):
3371 Don't confuse "y => 3" as the beginning of a `y' operation.
3373 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
3374 object has more than 4 slots (bug#9613).
3376 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
3378 * subr.el (with-output-to-temp-buffer):
3379 * net/quickurl.el (quickurl, quickurl-browse-url):
3380 Fix typos in docstrings.
3382 2011-09-27 Eli Zaretskii <eliz@gnu.org>
3384 * minibuffer.el (completion-styles)
3385 (completion-category-overrides): Cross reference each other in doc
3388 2011-09-27 Glenn Morris <rgm@gnu.org>
3390 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
3391 to split-string. (Bug#9606)
3393 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3395 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
3398 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
3400 * emacs-lisp/package.el (list-packages): Fix echo area message.
3402 2011-09-27 Leo Liu <sdl.web@gmail.com>
3404 * ido.el (ido-read-internal): Accept cons cell HIST arg.
3406 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
3408 * net/dbus.el (dbus-unregister-object): Don't release services for
3409 registered signals. (Bug#9581)
3411 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
3413 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
3414 function that picks between cfengine 2 and 3 support
3415 automatically. Update docs accordingly.
3417 2011-09-22 Kenichi Handa <handa@m17n.org>
3419 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
3421 (indian-itrans-v5-table-for-tamil): New variable.
3422 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
3424 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
3426 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
3427 that's true if the current command involved collapsing of text.
3428 It's reset to false at the beginning of the next command.
3429 (allout-post-command-business): Move the cursor to the beginning
3430 of entry if the cursor is hidden and collapsing activity just
3433 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
3435 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
3436 tracking (Bug#9541).
3438 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
3440 * net/newst-reader.el (newsticker-html-renderer)
3441 (newsticker-show-news): Automatically load html rendering package
3442 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
3443 because w3m-fill-column is let-bound" and the error "Symbol's value
3444 as variable is void: w3m-fill-column".
3446 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
3448 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
3449 Release services only if they are defined. (Bug#9581)
3451 2011-09-23 Richard Stallman <rms@gnu.org>
3453 * textmodes/paragraphs.el (forward-sentence): For backwards case,
3454 distinguish start of paragraph from start of its text.
3456 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
3458 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
3459 (rmail-generate-viewer-buffer): Put that hook on view buffer.
3460 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
3462 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
3464 * international/mule-diag.el (mule-diag): Insert a newline after
3465 each fontset description.
3467 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3469 * simple.el (delete-trailing-whitespace):
3470 Document last change; simplify.
3472 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
3474 * simple.el (delete-trailing-whitespace): Also delete
3475 extra newlines at the end of the buffer.
3477 * textmodes/picture.el: Make motion commands obey shift-select-mode.
3478 (picture-newline): Use forward-line so as to ignore fields.
3480 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3482 * subr.el (with-wrapper-hook): Fix edebug spec.
3484 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3486 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
3489 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
3491 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
3492 Fix nasty bug using wrong cached values.
3494 2011-09-23 Alan Mackenzie <acm@muc.de>
3496 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
3498 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
3500 * window.el (pop-to-buffer): Ensure right window is selected if we
3501 chose another frame.
3503 2011-09-22 Eli Zaretskii <eliz@gnu.org>
3505 * simple.el (what-cursor-position): Use get-char-property-change
3506 and next-single-char-property-change, to be able to show display
3507 properties that come from overlays as well as text properties.
3509 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
3511 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
3513 * cmuscheme.el (run-scheme, switch-to-scheme):
3514 * cus-edit.el (customize-group, custom-buffer-create)
3518 * mail/sendmail.el (mail):
3519 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
3521 2011-09-22 Richard Stallman <rms@gnu.org>
3523 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
3524 move back only to line beg, don't move back over blank lines.
3526 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
3528 * files.el (copy-directory): Set directory attributes only in case
3529 they could be retrieved from the source directory. (Bug#9565)
3531 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
3533 * progmodes/hideshow.el (hs-looking-at-block-start-p)
3534 (hs-find-block-beginning, hs-hide-level-recursive):
3535 Ignore strings as well as comments. (Bug#9502)
3537 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
3539 * progmodes/sql.el (sql-comint-postgres):
3540 Convert port number to a string. (Bug#9566)
3542 2011-09-22 Martin Rudalics <rudalics@gmx.at>
3544 * window.el (quit-window): Undedicate window when switching to
3545 previous buffer. Reported by Thierry Volpiatto
3546 <thierry.volpiatto@gmail.com>.
3547 (special-display-popup-frame): When popping up a new frame reset
3548 its previous buffers to nil. Simplify code.
3550 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
3552 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
3553 and process filter, as done also in `shell-command'.
3555 2011-09-21 Martin Rudalics <rudalics@gmx.at>
3557 * window.el (set-window-buffer-start-and-point):
3558 Call set-window-start with NOFORCE argument t.
3559 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3560 (quit-window): Reword doc-string. Handle new format of
3561 quit-restore parameter. Don't delete window if it has a
3562 previous buffer we can show instead of the present one.
3563 (display-buffer-record-window): Rewrite using a new format for
3564 the quit-restore window parameter
3565 (special-display-popup-frame, display-buffer-same-window)
3566 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3567 (display-buffer-pop-up-window, display-buffer-use-some-window):
3568 Adapt symbol passed to display-buffer-record-window.
3569 * help.el (help-window-setup): Handle new format of quit-restore
3572 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
3574 * faces.el (face-list): Fix docstring (bug#9564).
3576 * window.el (display-buffer--action-function-custom-type):
3577 Don't include internal functions in the Custom interface.
3579 2011-09-20 Juri Linkov <juri@jurta.org>
3581 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
3582 (Info-forward-node, Info-backward-node, Info-next-preorder)
3583 (Info-last-preorder): Use it. (Bug#9528)
3585 2011-09-20 Juri Linkov <juri@jurta.org>
3587 * info.el (Info-last-preorder): Visit last menu item only when
3588 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
3590 2011-09-20 Julien Danjou <julien@danjou.info>
3592 * password-cache.el (password-cache-remove): Remove entries even if the
3593 value is nil, so that password with a nil value (negative caching) is
3594 possible to invalidate.
3596 2011-09-20 Lawrence Mitchell <wence@gmx.li>
3598 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
3599 all whitespace around breakpoint. (Bug#9553)
3600 (f90-find-breakpoint): Only break at whitespace inside a comment.
3602 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * minibuffer.el (completion-file-name-table): Keep track of errors.
3605 (completion-table-with-predicate): Handle the case where pred1 is nil.
3606 * pcomplete.el (pcomplete-completions-at-point): Simplify.
3608 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
3611 (debugger-return-value): Signal an error if the debugging context does
3612 not await any return value.
3614 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
3615 * image-mode.el (image-toggle-display-text)
3616 (image-toggle-display-image): Stay away from evil `intangible'.
3618 2011-09-19 Leo Liu <sdl.web@gmail.com>
3620 * replace.el (occur-revert-arguments): Make it permanent-local.
3621 (occur-mode): Don't call font-lock-defontify.
3623 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
3625 * net/ldap.el (ldap-search-internal): Don't push empty search
3628 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
3632 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
3634 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
3635 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
3637 2011-09-18 Juri Linkov <juri@jurta.org>
3639 * buff-menu.el (Buffer-menu-mode-map):
3640 * dired.el (dired-mode-map):
3641 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
3642 (lisp-interaction-mode-map):
3643 * emacs-lisp/package.el (package-menu-mode-map):
3644 * epa.el (epa-key-list-mode-map):
3645 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
3646 (menu-bar-options-menu):
3647 * outline.el (outline-mode-menu-bar-map):
3648 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
3649 * vc/vc-dir.el (vc-dir-menu-map):
3650 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
3651 Capitalize non-function content words in menu item strings.
3653 * dired.el (dired-mode-map): Add menu item for
3654 `image-dired-dired-toggle-marked-thumbs'.
3656 2011-09-18 Juri Linkov <juri@jurta.org>
3658 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
3659 to `isearch-case-fold-search' and restore its original value
3660 after the `isearch-mode' call.
3662 2011-09-18 Juri Linkov <juri@jurta.org>
3664 * progmodes/grep.el (grep-process-setup): Don't check code for 1
3665 because `zgrep' returns 1 for successful matches (bug#9226).
3667 2011-09-18 Juri Linkov <juri@jurta.org>
3669 * info.el (Info-extract-menu-node-name): Check the second match
3670 for empty string (second test-case of bug#9528).
3671 (Info-last-preorder): Let-bind `Info-history' to nil to not add
3672 intermediate nodes to the history (first test-case of bug#9528).
3674 2011-09-18 Juri Linkov <juri@jurta.org>
3676 * info.el (Info-mode-syntax-table): New variable.
3677 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
3679 2011-09-18 Juri Linkov <juri@jurta.org>
3681 * info.el (Info-file-supports-index-cookies):
3682 Increment line-beginning-position's arg from 3 to 4 because makeinfo
3683 outputs one more line for long file names (bug#4142).
3685 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3687 * newcomment.el (comment-normalize-vars): If prompting for
3688 comment-start, set comment-start-skip too (Bug#8424).
3690 2011-09-18 Johan Bockgård <bojohan@gnu.org>
3692 * icomplete.el: Fix previous fix of Bug#5849.
3693 (icomplete-mode): Don't set completion-show-inline-help.
3694 (icomplete-minibuffer-setup): Set completion-show-inline-help
3695 locally during icompletion.
3697 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
3699 * woman.el (woman2-process-escapes): Don't delete unrecognized
3702 * files.el (inhibit-first-line-modes-regexps): Add image files.
3703 (hack-local-variables-prop-line): Return nil for malformed
3704 prop-lines (Bug#9044).
3706 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
3708 * net/tramp.el (top): Don't require 'shell.
3709 (tramp-methods): Fix docstring.
3710 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
3711 Return complete remote file name. Handle "smb" case.
3712 Use `tramp-tmpdir', if defined for the respective method.
3713 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
3715 * net/tramp-compat.el (top): Require 'shell.
3717 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3718 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
3719 `tramp-current-host'.
3720 (tramp-get-remote-tmpdir): Remove.
3722 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
3723 `tramp-tmpdir' entries.
3724 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
3725 (tramp-smb-handle-file-attributes): Ignore errors.
3726 (tramp-smb-wait-for-output): Check also for process end.
3728 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3730 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
3731 when sending QUIT (bug#9312).
3733 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
3735 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
3736 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
3737 occur-mode-display-occurrence.
3738 (occur-edit-mode): Add usage message.
3739 (occur-cease-edit): New command.
3740 (occur-after-change-function): Use text properties to find the
3741 position of the prefix text.
3742 (occur-engine): Set stickiness of prefix text properties.
3744 2011-09-17 Glenn Morris <rgm@gnu.org>
3746 * progmodes/etags.el (complete-tag):
3747 Fix call to completion-in-region. (Bug#9526)
3749 2011-09-17 Juri Linkov <juri@jurta.org>
3751 * textmodes/ispell.el (ispell-word): Add to the error message
3752 the word, ispell program name and current dictionary (bug#9121).
3753 (ispell-tex-arg-end): Capitalize "error" in the error message.
3755 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
3757 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
3760 2011-09-17 Juri Linkov <juri@jurta.org>
3762 * window.el (window-safe-min-height, window-safe-min-width):
3763 Fix typos (followup to bug#9522).
3765 2011-09-17 Sven Joachim <svenjoac@gmx.de>
3767 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
3769 2011-09-16 Eli Zaretskii <eliz@gnu.org>
3771 * simple.el (line-move): If goal-column is set, move by logical
3772 lines, not by display lines. (Bug#971)
3773 (next-line, previous-line, goal-column, line-move-visual): Doc fix
3774 to reflect the above change.
3776 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * image.el (imagemagick-register-types): Use regexp-opt.
3780 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3782 * window.el (display-buffer-base-action): Rename from
3783 display-buffer-default-action. Make default value empty.
3784 (display-buffer-overriding-action): Convert to defvar.
3785 (display-buffer-fallback-action): New var.
3787 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
3789 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
3791 (package--add-to-archive-contents): If there is a duplicate entry
3792 with an older version, remove it.
3793 (package-menu-mark-delete, package-menu-mark-install)
3794 (package-menu-mark-unmark): Make unused args optional.
3795 (package-menu-mark-obsolete-for-deletion):
3796 Use package-menu-get-status instead of a regexp search.
3797 (package-menu-get-status): Use tabulated-list-entry.
3798 (package-menu-mark-upgrades): New command.
3799 (package-menu-mode-map): Bind it to U. Add it to menu bar.
3800 (package-menu-execute): Do installation before deletion.
3801 (package-menu-refresh, package-menu-execute): Use derived-mode-p
3802 instead of checking major-mode.
3803 (package-menu--find-upgrades): New function.
3805 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
3807 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
3808 passwords in the log buffer.
3809 (smtpmail-process-filter): Update the process marker so that the
3810 "broken by peer" status message is inserted in the right place.
3812 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
3815 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
3816 bibtex-completion-at-point-function.
3817 (bibtex-completion-at-point-function): Use them.
3819 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
3821 * mpc.el (mpc-constraints-tag-lookup): New function.
3822 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
3823 also to browser "album|playlist".
3825 2011-09-14 Juri Linkov <juri@jurta.org>
3827 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
3828 (isearch-edit-string): Use length of `isearch-string' when
3829 `isearch-fail-pos' returns nil.
3830 (isearch-message): Remove duplicate code and call
3831 `isearch-fail-pos' with arg `t'.
3833 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
3835 * replace.el (occur-mode-goto-occurrence): Don't force using other
3838 * dired-aux.el (dired-do-chmod): Don't provide initial input.
3840 2011-09-14 Martin Rudalics <rudalics@gmx.at>
3842 * window.el (display-buffer-window): Remove.
3843 (display-buffer-record-window): Use help-setup window parameter
3844 instead of variable display-buffer-window.
3845 (display-buffer-function, special-display-buffer-names)
3846 (special-display-function): Mention help-setup parameter instead
3847 of display-buffer-window in doc-string.
3848 * help.el (help-window-setup): New argument help-window.
3849 Use help-window-setup parameter instead of display-buffer-window.
3850 Reword some messages.
3851 (with-help-window): Pass window used for displaying the buffer
3852 to help-window-setup. Don't set display-buffer-window.
3854 2011-09-13 Glenn Morris <rgm@gnu.org>
3856 * emacs-lisp/debug.el (debugger-make-xrefs):
3857 Preserve point. (Bug#9462)
3859 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3861 * window.el (window-deletable-p): Use next-frame.
3863 2011-09-13 Martin Rudalics <rudalics@gmx.at>
3865 * window.el (window-auto-delete): Remove.
3866 (window-deletable-p): Remove argument FORCE. Don't deal with
3867 dedication and previous buffers.
3868 (switch-to-prev-buffer): Don't delete window.
3869 (delete-windows-on): Delete a window's frame if and only if the
3870 window is dedicated.
3871 (replace-buffer-in-windows): Delete buffer's window or frame if
3872 and only if window is dedicated.
3873 (quit-window): Handle quit-restore as before last change.
3874 (bury-buffer): Delete window only if window-deletable-p returns t.
3876 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
3878 * window.el (window-deletable-p): Never delete the last frame on a
3881 2011-09-13 Glenn Morris <rgm@gnu.org>
3883 * help.el (describe-key-briefly): Copy previous standard-output change.
3885 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
3887 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
3889 2011-09-13 Glenn Morris <rgm@gnu.org>
3891 * emacs-lisp/lisp-mode.el (lisp-indent-function):
3892 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
3894 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
3896 * dired-aux.el (dired-mark-read-string): Don't return default
3897 value on empty input (Bug#9361).
3898 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
3899 Omit initial minibuffer contents.
3900 (dired-do-chmod): Signal an error on empty input.
3901 (dired-mark-read-string): Don't return default on empty input.
3903 * files.el (file-modes-symbolic-to-number): Doc fix.
3905 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3907 * international/mule-cmds.el (ucs-completions): Remove.
3908 (read-char-by-name): Use complete-with-action instead; add metadata.
3910 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3912 * window.el (display-buffer--action-function-custom-type)
3913 (display-buffer--action-custom-type): New vars.
3914 (display-buffer-alist, display-buffer-default-action)
3915 (display-buffer-overriding-action): Add defcustom types.
3917 * frame.el (delete-other-frames): Doc fix (Bug#276).
3919 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3921 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
3923 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
3925 Change modes that used same-window-* vars to use switch-to-buffer.
3927 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
3928 Use switch-to-buffer.
3930 * cus-edit.el (customize-group, custom-buffer-create)
3931 (customize-browse, custom-buffer-create-other-window):
3932 Use switch-to-buffer or switch-to-buffer-other-window.
3934 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
3935 (Info-prev, Info-up, Info-speedbar-goto-node)
3936 (info-display-manual): Use switch-to-buffer.
3937 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
3939 * mail/sendmail.el (mail): Use switch-to-buffer.
3940 (mail-recover): Use switch-to-buffer-other-window.
3942 * cmuscheme.el (run-scheme, switch-to-scheme):
3945 * net/rlogin.el (rlogin):
3946 * net/telnet.el (telnet, rsh):
3947 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
3949 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3951 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
3953 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3955 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
3956 so don't mention it (bug#9301).
3957 (dired-sort-toggle-or-edit): Clarify string further.
3959 * faces.el (face-spec-set-match-display): Make `(type graphic)'
3960 match `x', `w32' and `ns', like the manual says (bug#9029).
3962 * subr.el (eval-after-load): Doc string clarification (bug#9125).
3963 (process-kill-buffer-query-function): Mention the buffer name in
3966 * image-mode.el (image-next-line): The line parameter is mandatory
3969 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
3970 which can be useful (bug#9301).
3972 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
3974 * subr.el (match-string): Mention that the current buffer should
3975 be the same as the search was done in (bug#9282).
3977 * facemenu.el: Disable the remove-* commands if the mark isn't
3980 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
3982 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
3984 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
3986 * replace.el (occur-mode-goto-occurrence)
3987 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
3990 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
3993 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
3994 special-display and same-window variables.
3995 (mail-other-window): Use switch-to-buffer-other-window.
3996 (mail-other-frame): USe switch-to-buffer-other-frame.
3998 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
3999 Use display-buffer-other-frame.
4000 (gdb-display-gdb-buffer): Use pop-to-buffer.
4002 * progmodes/gud.el (gud-goto-info): Use info-other-window.
4004 * progmodes/python.el: Don't set same-window-buffer-names.
4006 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
4008 * window.el (display-buffer-alist): Add *Python*.
4010 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
4012 * window.el (display-buffer-alist): Add entry for buffers
4013 previously handled same-window-*.
4014 (display-buffer-alist, display-buffer-default-action)
4015 (display-buffer-overriding-action): Mark as risky.
4016 (display-buffer-alist): Document action function changes.
4017 (display-buffer--same-window-action)
4018 (display-buffer--other-frame-action): New variables.
4019 (switch-to-buffer, display-buffer-other-frame): Use them.
4020 (display-buffer): Rename reuse-frame entry to reusable-frames.
4021 (display-buffer-reuse-selected-window): Function deleted.
4022 (display-buffer-reuse-window): Handle reusable-frames alist entry.
4023 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
4024 (display-buffer-special): New function.
4025 (display-buffer--maybe-pop-up-frame-or-window): Rename from
4026 display-buffer-reuse-or-pop-window. Split off special-display
4027 part into display-buffer-special.
4028 (display-buffer-use-some-window): Don't perform any special
4029 pop-up-frames handling.
4030 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
4031 (display-buffer--maybe-same-window): Rename from
4032 display-buffer-maybe-same-window.
4034 * info.el: Don't set same-window-regexps.
4035 (info-setup): New function.
4036 (info-other-window, info): Call it.
4038 * cus-edit.el: Don't set same-window-regexps.
4039 (customize-group): New argument.
4040 (customize-group-other-window): Use it.
4041 (customize-face, customize-face-other-window): Likewise.
4042 (custom-buffer-create-other-window): Use pop-to-buffer directly.
4046 * progmodes/gud.el: Don't set same-window-regexps.
4052 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
4054 2011-09-10 Juri Linkov <juri@jurta.org>
4056 * isearch.el (isearch-edit-string): Remove obsolete mention of
4057 `C-w' (`isearch-yank-word-or-char') from docstring.
4058 (isearch-query-replace): Fix typo in docstring (bug#9466).
4060 2011-09-10 Juri Linkov <juri@jurta.org>
4062 * paren.el (show-paren-function): Don't show escaped parens.
4063 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
4065 2011-09-10 Eli Zaretskii <eliz@gnu.org>
4067 * mail/sendmail.el (mml-to-mime, mml-attach-file)
4068 (mm-default-file-encoding): Remove autoload forms, they are
4069 replaced with autoload cookies in mml.el and mm-encode.el.
4070 (mail-add-attachment): New command.
4071 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
4072 (mail-mode): Mention mail-insert-file and mail-add-attachment in
4074 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
4076 2011-09-10 Reuben Thomas <rrt@sc3d.org>
4078 * simple.el (count-words-region): Use buffer if there's no region
4081 2011-09-09 Juri Linkov <juri@jurta.org>
4083 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
4084 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
4085 (wdired-isearch-filter-read-only): New function. (Bug#6362)
4087 2011-09-09 Alan Mackenzie <acm@muc.de>
4089 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
4090 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
4092 2011-09-09 Eli Zaretskii <eliz@gnu.org>
4094 Fix for Savannah bug#9392.
4095 * simple.el (mail-encode-mml): New defvar.
4097 * mail/rmail.el (mail-encode-mml): Add a defvar.
4098 (rmail-enable-mime-composing): Default to t.
4099 (rmail-forward): Use MIME method of forwarding only if both
4100 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
4101 Set mail-encode-mml non-nil if the MIME method was used.
4103 * mail/sendmail.el (mml-to-mime): Add autoload form.
4104 (mail-encode-mml): Add a defvar.
4105 (mail-mode): Make mail-encode-mml buffer-local and initialize it
4107 (mail-send): If mail-encode-mml is non-nil, run the outgoing
4108 message through mml-to-mime, and reset mail-encode-mml to nil.
4110 2011-09-09 Glenn Morris <rgm@gnu.org>
4112 * woman.el (woman-if-body): When processing an .el block,
4113 do not delete the next .el block as well. (Bug#9447)
4114 (woman-special-characters): Add oq, cq, and hy characters.
4116 2011-09-08 Martin Rudalics <rudalics@gmx.at>
4118 * window.el (window-deletable-p): Make sure window is live before
4119 invoking window-prev-buffers.
4121 2011-09-08 Leo Liu <sdl.web@gmail.com>
4123 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
4125 2011-09-08 Juri Linkov <juri@jurta.org>
4127 * progmodes/compile.el (compilation-environment): Make it
4128 a defcustom (bug#8340).
4130 2011-09-08 Martin Rudalics <rudalics@gmx.at>
4132 * window.el (frame-auto-delete): Rename to window-auto-delete.
4133 Make it control auto-deletion of windows and/or frames.
4134 (window-deletable-p): New argument FORCE. Rewrite conditions
4135 for deleting window/frame. (Bug#9419)
4136 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
4137 Rewrite handling of case when window/frame can be deleted.
4138 (delete-windows-on): Call window-deletable-p with new FORCE
4139 argument t. (Bug#9456)
4141 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
4143 * help-mode.el (help-mode): Restore autoload.
4145 2011-09-07 Juri Linkov <juri@jurta.org>
4147 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
4148 `compilation-environment'. Set buffer-local
4149 `compilation-environment' to `thisenv' later after (funcall mode).
4152 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
4153 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
4154 instead of replacing its value. (Bug#8340)
4156 2011-09-07 Juri Linkov <juri@jurta.org>
4158 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
4159 based on text properties put by `grep-filter' instead of matching
4161 (grep-mode): Set buffer-local `compilation-error-screen-columns'
4162 to the value of `grep-error-screen-columns' (bug#9438).
4164 2011-09-07 Juri Linkov <juri@jurta.org>
4166 * simple.el (next-error-highlight, next-error-highlight-no-select):
4169 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4171 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4172 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
4174 2011-09-07 Leo Liu <sdl.web@gmail.com>
4176 * net/rcirc.el (rcirc-mode): Conditionally initialize
4179 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * emacs-lisp/find-func.el (find-function-C-source): Only set
4182 find-function-C-source-directory after checking that we found a source
4183 file there (bug#9440).
4185 2011-09-06 Alan Mackenzie <acm@muc.de>
4187 * isearch.el (isearch-other-meta-char): Wherever a key list is
4188 unread, "unread" the prefix arg, too. This fixes bug #8901.
4190 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
4192 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
4194 2011-09-05 Juri Linkov <juri@jurta.org>
4196 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
4198 2011-09-05 Juri Linkov <juri@jurta.org>
4200 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
4201 keeping point where processing of grep matches begins, and
4202 continue to delete remaining escape sequences from the same point.
4203 (grep-filter): Make leading zero optional in "0?1;31m" because
4204 git-grep emits "\033[1;31m" escape sequences unlike expected
4205 "\033[01;31m" as GNU Grep does (bug#9408).
4206 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
4208 2011-09-05 Juri Linkov <juri@jurta.org>
4210 * subr.el (y-or-n-p): Capitalize "yes".
4212 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
4214 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
4215 `tramp-cache-unload-hook' where appropriate.
4216 (tramp-methods): Rename `tramp-remote-sh' to
4217 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
4218 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
4220 * net/tramp-sh.el (top): Don't require 'shell.
4221 (tramp-methods): Add `tramp-remote-shell' and
4222 `tramp-remote-shell-args' entries.
4223 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
4224 (tramp-sh-handle-shell-command): Remove.
4225 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4226 Use `tramp-remote-shell'.
4228 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
4230 * mail/sendmail.el (sendmail-query-once-function): Delete.
4231 (sendmail-query-once): Save directly to send-mail-function.
4232 Update message-send-mail-function too.
4234 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
4236 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4238 * progmodes/python.el (python-mode-map): Use correct function to
4239 start python interpreter from menu-bar (as reported by Geert
4241 (inferior-python-mode-map): Fix typo.
4242 (python-shell-map): Remove.
4244 2011-09-03 Deniz Dogan <deniz@dogan.se>
4246 * net/rcirc.el (rcirc-print): Simplify code for
4247 rcirc-scroll-show-maximum-output. There is no need to walk
4248 through all windows to find the right one.
4250 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
4252 * help.el (help-return-method): Doc fix.
4254 2011-09-03 Martin Rudalics <rudalics@gmx.at>
4256 * window.el (window-deletable-p): Don't return a non-nil value
4257 when there's a buffer that was shown in the window before.
4259 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4260 Set window's previous buffers to nil.
4262 2011-09-03 Eli Zaretskii <eliz@gnu.org>
4264 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
4265 newline before and after the tag line, so it doesn't interfere
4266 with determining the paragraph direction of bidirectional text.
4268 2011-09-03 Leo Liu <sdl.web@gmail.com>
4270 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
4272 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
4274 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
4275 (pop-to-buffer): Change interactive spec. Pass second argument
4276 directly to display-buffer.
4277 (display-buffer): Fix interactive spec. Use functionp to
4278 distinguish between a function and a list of functions.
4280 * abbrev.el (edit-abbrevs):
4281 * arc-mode.el (archive-extract):
4282 * autoinsert.el (auto-insert):
4283 * bookmark.el (bookmark-bmenu-list):
4284 * files.el (find-file):
4285 * view.el (view-buffer):
4286 * progmodes/compile.el (compilation-goto-locus):
4287 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
4289 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
4291 * window.el (display-buffer-alist): Doc fix.
4292 (display-buffer): Add docstring. Don't treat
4293 display-buffer-default specially.
4294 (display-buffer-reuse-selected-window)
4295 (display-buffer-same-window, display-buffer-maybe-same-window)
4296 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4297 (display-buffer-pop-up-window)
4298 (display-buffer-reuse-or-pop-window)
4299 (display-buffer-use-some-window): New functions.
4300 (display-buffer-default-action): Use them.
4301 (display-buffer-default): Delete.
4302 (pop-to-buffer-1): Fix choice of actions.
4304 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * minibuffer.el (completion--insert-strings): Don't get confused by
4307 completion entries that end with an LF char.
4309 2011-09-01 Eli Zaretskii <eliz@gnu.org>
4311 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
4313 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
4315 * window.el (display-buffer): Restore interactive spec.
4316 (display-buffer-same-window, display-buffer-other-window):
4318 (pop-to-buffer-1): New function. Use the above.
4319 (pop-to-buffer, pop-to-buffer-same-window): Use it.
4320 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
4322 * view.el (view-buffer-other-window, view-buffer-other-frame):
4323 Just use pop-to-buffer.
4325 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4327 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
4329 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
4331 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
4333 2011-08-31 Richard Stallman <rms@gnu.org>
4335 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
4336 of the separation of rmail-view-buffer from rmail-buffer.
4337 If you say no to "replace original", the decrypt is in the
4338 view buffer. If you say yes, the decrypt goes into the
4341 2011-08-31 Martin Rudalics <rudalics@gmx.at>
4343 * window.el (display-buffer-window): Rewrite doc-string.
4344 (display-buffer-record-window): New function.
4345 (display-buffer-macro-specifiers)
4346 (display-buffer-even-window-sizes, display-buffer-set-height)
4347 (display-buffer-set-width, display-buffer-in-window)
4348 (display-buffer-reuse-window, display-buffer-split-specifiers)
4349 (display-buffer-side-specifiers, display-buffer-split-window-1)
4350 (display-buffer-split-window, display-buffer-split-atom-window)
4351 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
4352 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
4353 (display-buffer-other-window-means-other-frame)
4354 (display-buffer-normalize-special)
4355 (display-buffer-normalize-default)
4356 (display-buffer-normalize-argument)
4357 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
4358 (display-buffer-normalize-specifiers, display-buffer-frame)
4359 (display-buffer-same-window, display-buffer-same-frame)
4360 (display-buffer-other-window)
4361 (display-buffer-same-frame-other-window)
4362 (display-buffer-other-frame, pop-to-buffer-same-window)
4363 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
4364 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
4365 (switch-to-buffer-same-frame)
4366 (switch-to-buffer-other-window-same-frame)
4367 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
4368 (display-buffer-alist-set-1, display-buffer-alist-set-2)
4369 (display-buffer-alist-set): Remove.
4370 (display-buffer-function, special-display-buffer-names)
4371 (special-display-regexps, special-display-function):
4372 In doc-string refer to display-buffer-window and quit-restore
4374 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
4375 (special-display-frame-alist, special-display-popup-frame)
4376 (same-window-buffer-names, same-window-regexps, same-window-p)
4377 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4378 (split-window-preferred-function, split-height-threshold)
4379 (split-width-threshold, window-splittable-p)
4380 (split-window-sensibly, window--try-to-split-window)
4381 (window--frame-usable-p, even-window-heights)
4382 (window--even-window-heights, window--display-buffer-1)
4383 (window--display-buffer-2, display-buffer-other-frame):
4384 Restore old Emacs 23 code, order and doc-strings where applicable.
4385 (display-buffer-default, display-buffer-assq-regexp): New functions.
4386 (display-buffer-alist): Rewrite doc-string.
4387 (display-buffer-default-action)
4388 (display-buffer-overriding-action): New variables.
4389 (display-buffer, switch-to-buffer): Rewrite.
4390 (pop-to-buffer): Restore Emacs 23 behavior but use
4391 window-normalize-buffer-to-display.
4392 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
4393 Restore Emacs 23 behavior but use
4394 window-normalize-buffer-to-switch-to.
4395 (pop-to-buffer-same-window): Rewrite.
4396 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
4397 Rewrite using Emacs 23 options.
4399 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
4401 * net/tramp.el (tramp-root-regexp): Remove.
4402 (tramp-completion-file-name-regexp-unified)
4403 (tramp-completion-file-name-regexp-separate)
4404 (tramp-completion-file-name-regexp-url): Don't use leading volume
4405 letter on win32 systems. (Bug#5303, Bug#9311)
4406 (tramp-drop-volume-letter): Simplify definition.
4407 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4409 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
4414 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
4416 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
4418 2011-08-29 Juri Linkov <juri@jurta.org>
4420 * isearch.el (isearch-done): Don't display message "Mark saved"
4421 when arg `edit' is non-nil to prevent its flicker in the echo area.
4423 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
4425 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
4426 obsolete packages for deletion.
4428 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
4430 * help-mode.el (help-mode-map): Add special-mode-map to parent.
4431 (help-mode): Derive help-mode from special-mode. Don't invoke
4432 view-mode from help-mode.
4433 (help-xref-override-view-map): Remove.
4434 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
4435 view-mode is not used anymore.
4437 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
4439 * server.el (server-port): Doc fix.
4441 * cus-theme.el (custom-theme-choose-mode): Inherit from
4442 special-mode (Bug#9124).
4443 (custom-theme-choose-mode-map): Add special-mode to parent.
4445 2011-08-28 Alan Mackenzie <acm@muc.de>
4447 * progmodes/cc-fonts.el
4448 (c-make-font-lock-BO-decl-search-function): New function.
4449 (c-basic-matchers-after - "Fontify the clauses after various
4450 keywords"): Extract the three keyword lists for the 3 erroneous
4451 constructs from the list of four, and use the new function above
4452 in place of an old one.
4454 2011-08-28 Deniz Dogan <deniz@dogan.se>
4456 * net/rcirc.el (rcirc-insert-prev-input)
4457 (rcirc-insert-next-input): Remove unused argument.
4459 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4461 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
4463 2011-08-27 Alan Mackenzie <acm@muc.de>
4465 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
4466 handle function pointer parameters properly.
4468 2011-08-27 Martin Rudalics <rudalics@gmx.at>
4470 * window.el (display-buffer-reuse-window): Fix case where
4471 selected window was reused with non-nil OTHER-WINDOW argument.
4474 2011-08-27 Deniz Dogan <deniz@dogan.se>
4476 * net/rcirc.el (rcirc-check-auth-status): Adding support for
4477 oftc's NickServ messages.
4479 2011-08-27 Glenn Morris <rgm@gnu.org>
4481 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
4483 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
4485 * emacs-lisp/package.el (package-install): Call package-initialize
4486 if called interactively.
4488 2011-08-26 Leo Liu <sdl.web@gmail.com>
4490 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
4492 2011-08-25 Juri Linkov <juri@jurta.org>
4494 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4495 `search-whitespace-regexp' (bug#9364).
4497 2011-08-25 Juri Linkov <juri@jurta.org>
4499 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
4500 `regexp-search-ring' to their global values to protect from
4501 updating by `read-from-minibuffer' (bug#9185).
4503 2011-08-25 Juri Linkov <juri@jurta.org>
4505 * textmodes/ispell.el (ispell-command-loop): Add newline
4506 at the end of the "Use option `i'..." line.
4508 2011-08-25 Juri Linkov <juri@jurta.org>
4510 * battery.el (display-battery-mode): If `battery-status-function'
4511 or `battery-mode-line-format' is nil, display the message and set
4512 `display-battery-mode' to nil (bug#9363).
4514 2011-08-25 Eli Zaretskii <eliz@gnu.org>
4516 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
4517 bidi-string-mark-left-to-right; they are unnecessary now.
4519 2011-08-25 Deniz Dogan <deniz@dogan.se>
4521 * net/quickurl.el: Documentation typo fixes.
4523 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
4525 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
4527 2011-08-25 Glenn Morris <rgm@gnu.org>
4529 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
4531 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
4532 (smtpmail-via-smtp): Handle nil response from smtp.
4534 2011-08-24 Juri Linkov <juri@jurta.org>
4536 * proced.el (proced-marked): Inherit from `error' instead of
4537 `font-lock-warning-face'.
4539 * ibuffer.el (ibuffer-marked-face): Change default face from
4540 `font-lock-warning-face' to `warning'.
4541 (ibuffer-deletion-face): Change default face from
4542 `font-lock-type-face' to `error'.
4544 * battery.el (battery-update): Use the face `error' instead of
4545 `font-lock-warning-face' (bug#6117).
4547 2011-08-24 Juri Linkov <juri@jurta.org>
4549 * faces.el (success): Change face color from "Green3" to
4550 "ForestGreen" on light background (bug#9353).
4552 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
4554 * window.el (quit-window): Rename from quit-restore-window.
4555 Use same arglist as old quit-window.
4556 (frame-auto-delete): Doc fix.
4558 * view.el (view-mode-exit): Use quit-window.
4560 2011-08-24 Juri Linkov <juri@jurta.org>
4562 * isearch.el (isearch-ring-adjust1): Start visiting previous
4563 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
4564 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
4565 for empty search string (when the last search string is reused
4566 automatically) to adjust the isearch ring to the last element and
4567 prepare the correct index for further M-p commands (bug#9185).
4569 2011-08-24 Kenichi Handa <handa@m17n.org>
4571 * international/ucs-normalize.el: If decomposition property of
4572 CHAR is the default one (i.e. a list of CHAR itself), treat it as
4574 (nfd, nfkd): Likewise.
4576 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
4579 from process filters aren't reliably transmitted to the surrounding
4580 accept-process-output.
4581 (mpc-proc-check): New function.
4582 (mpc-proc-sync): Use it (bug#8293)
4584 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4586 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
4587 Add compatibility functions (bug#9313).
4589 2011-08-23 Eli Zaretskii <eliz@gnu.org>
4591 * cus-start.el (all): Add entry for bidi-paragraph-direction.
4593 * international/uni-bidi.el: Regenerate.
4595 2011-08-23 Kenichi Handa <handa@m17n.org>
4597 * international/charprop.el:
4598 * international/uni-bidi.el:
4599 * international/uni-category.el:
4600 * international/uni-combining.el:
4601 * international/uni-comment.el:
4602 * international/uni-decimal.el:
4603 * international/uni-decomposition.el:
4604 * international/uni-digit.el:
4605 * international/uni-lowercase.el:
4606 * international/uni-mirrored.el:
4607 * international/uni-name.el:
4608 * international/uni-numeric.el:
4609 * international/uni-old-name.el:
4610 * international/uni-titlecase.el:
4611 * international/uni-uppercase.el: Regenerate.
4613 2011-08-23 Martin Rudalics <rudalics@gmx.at>
4615 * help.el (help-window-setup): Fix message displayed when other
4616 window is reused. (Bug#9341)
4618 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
4621 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
4623 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
4625 * shell.el (shell-parse-pcomplete-arguments): New function.
4626 (shell-completion-vars): Use it instead (bug#9160).
4628 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
4631 strings and comments (bug#9333).
4633 * emacs-lisp/debug.el (debug-arglist): New function.
4634 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
4635 (debug-on-entry-1): Handle interpreted closures (bug#9120).
4637 2011-08-22 Juri Linkov <juri@jurta.org>
4639 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4640 Revert regexp that highlights output switches to its old
4641 pre-2010-10-28 value and remove one `?' from it (bug#9319).
4643 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4644 to check for empty output (bug#9226).
4646 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
4648 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
4649 symbol-constituent as the default, as that stops font-lock from
4650 working properly (Bug#8843).
4652 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4654 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
4655 `coding-system-for-*' around the process open call to avoid
4656 auth-source side effects.
4657 (smtpmail-try-auth-methods): Expand the secret password.
4658 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
4661 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4663 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
4665 * emacs-lisp/find-func.el (find-function-noselect): New arg
4668 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
4669 signal an error for built-in functions (Bug#6664).
4671 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4673 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
4674 (smtpmail-try-auth-methods): Use it.
4676 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
4678 * font-lock.el (font-lock-fontify-region)
4679 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
4680 (font-lock-default-unfontify-buffer)
4681 (font-lock-default-fontify-region)
4682 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
4684 * progmodes/compile.el (compilation-error-properties):
4685 Fix confusion between file struct and message struct (Bug#9319).
4686 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
4689 * net/browse-url.el (browse-url-firefox): Don't call
4690 browse-url-firefox-sentinel unless using -remote (Bug#9328).
4692 2011-08-20 Glenn Morris <rgm@gnu.org>
4694 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
4696 * tutorial.el (tutorial--default-keys): Update some default bindings.
4698 * files.el (hack-local-variables): Fully ignore case for "mode:".
4700 2011-08-20 Alan Mackenzie <acm@muc.de>
4702 Resolve invalid use of a regexp in regexp-opt.
4704 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
4705 detection for a java annotation.
4707 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
4708 detection for a java annotation.
4710 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
4712 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
4714 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
4716 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
4719 2011-08-20 Alan Mackenzie <acm@muc.de>
4721 Fontify CPP expressions correctly when starting in the middle of
4722 such a construct. Mainly for when jit-lock etc. starts a chunk
4725 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
4727 (c-make-font-lock-search-form): New function, extracted from
4728 c-make-font-lock-search-function.
4729 (c-make-font-lock-search-function): Use the above function.
4730 (c-make-font-lock-context-search-function): New function.
4731 (c-cpp-matchers): Enhance the preprocessor expression case with
4733 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
4734 which takes an expression.
4736 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
4738 2011-08-20 Martin Rudalics <rudalics@gmx.at>
4740 * window.el (display-buffer-reuse-window)
4741 (display-buffer-pop-up-window): Don't reuse or split a side
4744 2011-08-19 Glenn Morris <rgm@gnu.org>
4746 * files.el (hack-local-variables-prop-line, hack-local-variables):
4747 Downcase "Mode:". (Bug#9331)
4749 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
4751 * international/characters.el: Add L and R categories.
4753 * subr.el (bidi-string-mark-left-to-right): Rename from
4754 string-mark-left-to-right. Use category search.
4756 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
4758 2011-08-18 Juri Linkov <juri@jurta.org>
4760 * faces.el (error, warning, success): New faces with definitions
4761 copied from old default values of `font-lock-warning-face',
4762 `compilation-warning', `compilation-info' (bug#6117).
4764 * font-lock.el (font-lock-warning-face): Inherit from `error'.
4766 * progmodes/compile.el (compilation-error): Inherit from `error'.
4767 (compilation-warning): Inherit from `warning'.
4768 (compilation-info): Inherit from `success'.
4770 * dired.el (dired-marked): Inherit from `warning'.
4771 (dired-flagged): Inherit from `error'.
4773 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4775 * mail/smtpmail.el (auth-source): Require to avoid problems with
4776 binding variables (bug#9298). Also clean up some unused
4779 * net/network-stream.el (network-stream-open-starttls):
4780 Support using starttls.el without using gnutls-cli.
4782 2011-08-17 Juri Linkov <juri@jurta.org>
4784 * progmodes/grep.el (rgrep): Handle the case when
4785 `grep-find-command' is a cons cell (bug#9278).
4787 2011-08-17 Martin Rudalics <rudalics@gmx.at>
4789 * window.el (display-buffer-pop-up-frame): Run frame creation
4790 function with BUFFER current (as special-display-popup-frame
4791 does). Reported by Drew Adams.
4793 2011-08-17 Daiki Ueno <ueno@unixuser.org>
4795 * epa-mail.el: Simplify GnuPG group expansion using
4797 (epa-mail-group-alist, epa-mail-group-modtime)
4798 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
4799 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
4800 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
4803 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
4805 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
4807 2011-08-16 Alan Mackenzie <acm@muc.de>
4809 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
4810 Correct, to avoid the inside of macros.
4812 2011-08-16 Richard Stallman <rms@gnu.org>
4814 * epa-mail.el: Handle GnuPG group definitions.
4815 (epa-mail-group-alist, epa-mail-group-modtime)
4816 (epa-mail-gnupg-conf-file): New variables.
4817 (epa-mail-parse-groups, epa-mail-sync-groups)
4818 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
4819 (epa-mail-expand-recipients): New functions.
4820 (epa-mail-encrypt): Call epa-mail-expand-recipients.
4822 * mail/rmail.el (rmail-epa-decrypt): New command.
4824 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
4825 Don't bind buffer-read-only, just inhibit-read-only.
4826 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
4827 (epa-decrypt-armor-in-region): Make error message clearer.
4829 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4831 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
4832 and "a2b" to "ab" for `prefix'.
4834 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
4836 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
4838 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
4839 Fourquet (Bug#8804).
4841 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
4843 * startup.el (argi): Declare as global variable (bug#9275).
4845 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
4847 * subr.el (string-mark-left-to-right): Search the entire string
4848 for RTL script, not just the terminating character. Doc fix.
4850 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4852 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
4854 (js--regexp-literal, js-syntax-propertize-function): Remove.
4855 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
4856 (js-mode-map): Don't rebind electric keys.
4857 (js-insert-and-indent): Remove.
4858 (js-mode): Setup electric-layout and electric-indent instead.
4860 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
4862 2011-08-12 Daiki Ueno <ueno@unixuser.org>
4864 * epa.el (epa-progress-callback-function): Fix the logic of
4865 displaying progress.
4866 * epa-file.el (epa-file-insert-file-contents): Make progress
4867 display more user-friendly.
4868 (epa-file-write-region): Ditto.
4870 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
4872 * subr.el (string-mark-left-to-right): New function.
4874 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
4875 Use string-mark-left-to-right.
4876 (list-buffers-noselect): Caller changed.
4878 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4879 Use string-mark-left-to-right.
4880 (tabulated-list-print): Recenter after moving point.
4882 2011-08-10 Juri Linkov <juri@jurta.org>
4884 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
4885 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
4886 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
4888 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
4890 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
4893 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4895 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
4896 character. (Bug#6594)
4898 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
4900 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
4901 (image-dired--with-db-file): New macro.
4902 (image-dired-write-tags, image-dired-remove-tag)
4903 (image-dired-create-gallery-lists, image-dired-write-comments)
4904 (image-dired-get-comment, image-dired-mark-tagged-files)
4905 (image-dired-list-tags, image-dired-gallery-generate): Use it.
4906 (image-dired-gallery-generate): Use insert-file-contents.
4908 * time.el (display-time-world-list, display-time-world-display):
4909 * time-stamp.el (time-stamp-string):
4910 * vc/add-log.el (add-change-log-entry): Use setenv instead of
4911 set-time-zone-rule (Bug#7337).
4913 2011-08-08 Daiki Ueno <ueno@unixuser.org>
4915 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
4916 (epg-error-to-string, epg-errors-to-string): New function.
4917 (epg-wait-for-completion): Reverse errors list.
4918 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
4919 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
4920 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
4921 (epg-sign-keys, epg-generate-key-from-file)
4922 (epg-generate-key-from-string): Format errors by using
4923 epg-errors-to-string (bug#9255).
4924 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
4926 2011-08-07 Juri Linkov <juri@jurta.org>
4928 * faces.el (list-faces-display): Remove extra angle bracket
4929 from `help-mode-map'.
4931 * info.el (Info-history-toc-nodes): Doc fix.
4933 * longlines.el (longlines-mode): Doc fix.
4935 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4937 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
4938 of statements and in a few more cases (bug#9183).
4940 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
4942 (cl-transform-lambda): Use them (bug#9239).
4944 2011-08-05 Martin Rudalics <rudalics@gmx.at>
4946 * window.el (display-buffer-same-window)
4947 (display-buffer-same-frame, display-buffer-other-window)
4948 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4949 (pop-to-buffer-other-window)
4950 (pop-to-buffer-same-frame-other-window)
4951 (pop-to-buffer-other-frame): Make them defuns.
4952 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
4954 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * subr.el (make-composed-keymap): Move from C. Change calling
4957 convention, and improve docstring to bring attention to a subtle point.
4958 * minibuffer.el (completing-read-default): Adjust accordingly.
4960 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
4962 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4963 (tramp-open-shell): Use `tramp-shell-quote-argument'.
4965 * net/trampver.el: Update release number.
4967 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4969 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
4972 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4974 * mail/sendmail.el (sendmail-query-once): Restore the current
4975 buffer after querying (bug#9074).
4977 * dired.el (dired-flagged): Use different faces for marked and
4978 flagged files (bug#6117).
4980 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4983 * ido.el (ido-mode): Switch off the message if called
4986 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
4987 before 587, since it appears that that's more likely to work for
4990 * cus-edit.el (custom-file): When running under emacs -q, always
4991 refuse to save the customizations, even if the .emacs file doesn't
4994 * info.el: Remove the `Info-beginning-of-buffer' function
4997 * net/network-stream.el (network-stream-open-starttls):
4998 Use `starttls-available-p' to see whether starttls.el can be used.
5000 2011-08-01 Martin Rudalics <rudalics@gmx.at>
5002 * window.el (display-buffer-in-window): Don't set dedicated status
5003 of window here (Bug#9215).
5004 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
5005 (display-buffer-pop-up-side-window)
5006 (display-buffer-in-side-window): Set dedicated status of window here.
5008 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
5011 before binding generated-autoload-file.
5013 2011-08-01 Deniz Dogan <deniz@dogan.se>
5015 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
5017 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
5019 Sync with Tramp 2.2.2.
5021 * net/trampver.el: Update release number.
5023 2011-07-30 Juri Linkov <juri@jurta.org>
5025 * dired-aux.el (dired-touch-initial): Remove function.
5026 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
5027 current time, and `default' to the last modification time of the
5028 current marked file (bug#6887).
5030 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
5032 * simple.el (goto-line): Use string-to-number to provide a
5033 numeric argument to read-number (bug#9163).
5035 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
5037 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
5038 connection process, it could be nil.
5040 2011-07-27 Leo Liu <sdl.web@gmail.com>
5042 Simplify url handling in rcirc-mode.
5044 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
5045 (rcirc-browse-url-at-mouse): Remove.
5046 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
5048 2011-07-26 Alan Mackenzie <acm@muc.de>
5050 Fontify bitfield declarations properly.
5052 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
5053 (c-symbol-chars): Now exported as a lang variable.
5054 (c-not-primitive-type-keywords): New lang variable.
5056 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
5057 QT keyword "more" to prevent "more slots: ...." being spuriously
5058 parsed as a bitfield declaration.
5060 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5061 Refactor and enhance to handle bitfield declarations.
5062 (c-punctuation-in): New function.
5063 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
5064 declarations properly.
5066 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
5068 * calendar/icalendar.el (icalendar--all-events): Take care of
5069 multiple vcalendars in a single file.
5070 (icalendar--convert-float-to-ical): Checkdoc fixes.
5072 2011-07-25 Deniz Dogan <deniz@dogan.se>
5074 * image.el (insert-image): Clarifying docstring.
5076 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
5078 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
5079 `tramp-send-command-and-check' if there is no error.
5080 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
5082 2011-07-22 Alan Mackenzie <acm@muc.de>
5084 Prevent cc-langs.elc being loaded at run time.
5086 * progmodes/cc-mode.el: Remove two autoload forms which loaded
5089 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
5090 "(require 'cc-langs)". Quote a form so it will evaluate at
5091 (cc-mode's) compilation time.
5093 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
5095 * net/tramp.el (tramp-file-name-handler): Avoid recursive
5098 2011-07-21 Martin Rudalics <rudalics@gmx.at>
5100 * window.el (display-buffer-pop-up-window)
5101 (display-buffer-pop-up-side-window)
5102 (display-buffer-in-side-window): Call display-buffer-set-height
5103 and display-buffer-set-width after setting the new window's
5104 buffer so `fit-window-to-buffer' and friends work on the right buffer.
5106 2011-07-20 Sam Steingold <sds@gnu.org>
5108 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
5109 (etags-tags-included-tables): Call `convert-standard-filename' on
5110 the file names contained in TAGS so that windows Emacs can handle
5111 TAGS files created by cygwin ctags.
5113 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5115 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
5116 which apparently didn't work.
5118 2011-07-19 Roland Winkler <winkler@gnu.org>
5120 * proced.el (proced-send-signal): For *Marked Processes* buffer
5121 put point at beginning of buffer.
5123 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
5125 * proced.el (proced-format): Make header lines align with the text
5128 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5130 * view.el (view-buffer): Allow running in `special' modes if we're
5131 visiting a file (bug#8615).
5133 2011-07-19 Martin Rudalics <rudalics@gmx.at>
5135 * window.el (display-buffer-alist-of-strings-p)
5136 (display-buffer-alist-set-1, display-buffer-alist-set-2):
5138 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
5141 2011-07-18 Alan Mackenzie <acm@muc.de>
5143 Fontify declarators properly when, e.g., a jit-lock chunk begins
5144 inside a declaration.
5146 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
5148 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5150 (c-complex-decl-matchers): Insert reference to
5151 c-font-lock-enclosing-decls.
5153 * progmodes/cc-engine.el (c-backward-single-comment):
5154 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
5155 to nil around calls to (forward-comment -1).
5157 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5159 * image.el (put-image): Doc typo fix.
5161 * progmodes/etags.el (tags-search): Doc typo fix.
5163 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
5164 password if we get errors 550 to 554.
5166 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5168 * net/gnutls.el (gnutls-log-level): Remove.
5170 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
5171 indentation character (bug#6380).
5173 * files.el (buffer-offer-save): Made permanently local (bug#6241).
5175 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
5176 to clarify what the problem is (bug#4291).
5178 * simple.el (current-kill): Clarify what
5179 `interprogram-paste-function' does (bug#7500).
5180 (auto-fill-mode): Document `auto-fill-function' in relation to
5181 `auto-fill-mode' (bug#2470).
5183 2011-07-16 Lawrence Mitchell <wence@gmx.li>
5185 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
5186 method if slot is read-only (bug#9035).
5188 2011-07-16 Martin Rudalics <rudalics@gmx.at>
5190 * frame.el (select-frame-set-input-focus): New argument NORECORD.
5191 * window.el (pop-to-buffer): Select window used even if it was
5192 selected before, see discussion of (Bug#8615), (Bug#6954).
5193 Pass argument NORECORD on to select-frame-set-input-focus.
5195 2011-07-15 Glenn Morris <rgm@gnu.org>
5197 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
5200 2011-07-09 Lawrence Mitchell <wence@gmx.li>
5202 * net/gnutls.el (gnutls-min-prime-bits): New variable.
5203 (gnutls-negotiate): Use it.
5205 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5207 * net/gnutls.el (gnutls-negotiate):
5208 Upcase `gnutls-algorithm-priority'.
5210 2011-07-15 Glenn Morris <rgm@gnu.org>
5212 * jka-compr.el (jka-compr-verbose): Move from here...
5213 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
5214 Add missing :version tag.
5215 * info.el: No need to require jka-compr when compiling.
5217 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5219 * net/gnutls.el (gnutls-algorithm-priority): New variable.
5220 (gnutls-negotiate): Use it.
5222 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
5224 * info.el (Info-beginning-of-buffer): New command.
5225 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
5226 announcing `b' as the key (bug#8325).
5227 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
5229 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
5231 * international/mule-cmds.el
5232 (describe-specified-language-support): Make the error message
5235 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
5237 * isearch.el (isearch-barrier): Add a doc string, since it's
5238 mentioned in a function doc string (bug#8678).
5240 2011-07-15 Martin Rudalics <rudalics@gmx.at>
5242 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
5243 buffer argument (Bug#9083) and self-identifying label argument.
5245 2011-07-15 Glenn Morris <rgm@gnu.org>
5247 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
5249 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5251 * man.el (Man-fontify-manpage): Fix message when formatting the
5252 man page (bug#7929).
5254 2011-07-14 Eli Zaretskii <eliz@gnu.org>
5256 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
5257 argument LRM; if non-nil, append an invisible LRM character to the
5259 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
5260 last argument non-nil, when formatting buffer names.
5261 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
5262 paragraph direction.
5264 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5266 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
5267 the man page name (bug#7929).
5269 * image.el (put-image): Mention the `put-image' overlay property
5272 * scroll-bar.el (set-scroll-bar-mode): Mention that
5273 `scroll-bar-mode' lists the values (bug#7772).
5275 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
5278 * rect.el (apply-on-rectangle): Return the point after the last
5280 (string-rectangle): Go to the point after the last operation
5283 * printing.el (pr-toggle-region): Clarify the documentation
5284 slightly (bug#7493).
5286 * time.el (display-time-update):
5287 Allow `display-time-mail-function' to return nil (bug#7158).
5288 Fix suggested by Detlev Zundel.
5290 * vc/diff.el (diff): Clarify the order the file names are read
5293 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
5294 the doc string (bug#7015).
5296 * font-lock.el (font-lock-maximum-decoration): Mention what
5297 numeric levels mean (bug#6935).
5299 * startup.el (initial-buffer-choice): Don't mention the `none'
5300 selection, which is against policy.
5302 2011-07-14 Martin Rudalics <rudalics@gmx.at>
5304 * window.el (display-buffer-normalize-special):
5305 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
5307 2011-07-14 Eli Zaretskii <eliz@gnu.org>
5309 * subr.el (version<, version<=, version=): Mention "-CVS" and
5310 "-12345" alpha version numbers.
5312 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
5314 * bindings.el: Add advertised binding for set-mark-command
5317 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
5319 * bindings.el (mode-line-other-buffer):
5320 * bookmark.el (bookmark-bmenu-2-window):
5321 * bs.el (bs-cycle-next, bs-cycle-previous):
5322 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
5325 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5328 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
5330 * follow.el (follow-debug-message, follow-redisplay):
5331 * jka-cmpr-hook.el (with-auto-compression-mode):
5332 Fix typos in docstrings.
5334 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5336 * subr.el (with-silent-modifications): Clarify somewhat what the
5337 macro inhibits (bug#6525).
5339 * simple.el (eval-expression): Note what it does if called
5340 interactively (bug#6495).
5342 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
5344 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
5345 Use pop-to-buffer buffer-or-name if it is nil.
5347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5348 Remove switch-to-buffer.
5350 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352 * files.el (make-directory): Clarify that an error will be raised
5353 if there's an error (bug#6397).
5355 * startup.el (initial-buffer-choice): Add `none' as a choice
5358 * subr.el (add-hook): Clarify section about buffer-local hooks
5361 * dired.el (dired-flagged): Clarify doc string (bug#6117).
5363 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
5365 * tabify.el (untabify): Preserve the current column so that point
5366 doesn't move (bug#6032).
5368 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5370 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
5371 Rewrite to avoid awkward possessive "s" (bug#5986).
5373 2011-07-13 Glenn Morris <rgm@gnu.org>
5375 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
5376 (dired-insert-directory): Give a message the first time
5377 if ls is found not to support --dired.
5379 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5381 * simple.el (toggle-truncate-lines): Clarify what is toggled
5382 (bug#5580). Text by Drew Adams.
5384 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
5386 * simple.el (blink-matching-open): Make the error message from the
5387 last change less verbose.
5389 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
5391 * font-lock.el (font-lock-comment-face): Use the high contrast
5392 "yellow" color for font-lock-comment-face on low color terminals
5393 using a dark background color (bug#4221).
5395 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5397 * dired.el (dired-insert-set-properties): Make the doc string
5398 reflect what it does now (bug#5325).
5400 * simple.el (blink-matching-open): Say that we were unable to find
5401 the match within the limit, if we're limited (bug#5122).
5403 * international/mule-cmds.el (prefer-coding-system): Add an
5406 * progmodes/etags.el (tags-search): Document `file-list-form'
5409 2011-07-13 Lawrence Mitchell <wence@gmx.li>
5411 * net/browse-url.el (browse-url-default-browser)
5412 (browse-url-browser-function): Make the default browser choice a
5413 bit more logical (bug#4300). Also clean up the doc string.
5415 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
5417 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
5418 binary endings (bug#4440).
5420 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
5423 which can be pretty annoying (bug#8971).
5425 * jka-compr.el (jka-compr-verbose): New variable, and use
5426 throughout (bug#8971).
5428 * info.el (Info-find-file): Fall back on the installation
5429 directory if we can't find the info node anywhere else.
5431 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
5433 * vc/vc.el (vc-revert-file):
5434 Don't set file time-stamp in the past. (Bug#5181)
5436 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438 * files.el (after-find-file): Give a better error message when
5439 trying to find a symlink that points to a file that doesn't exist
5442 * progmodes/cc-vars.el: Remove (probably) misleading comment
5445 2011-07-12 Johan Bockgård <bojohan@gnu.org>
5447 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
5449 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
5451 * mouse-sel.el: Hack restoring functionality, while keeping
5452 compatibility with 2010-07-03 changes to mouse selection.
5453 (mouse-sel-primary-overlay): New var.
5454 (mouse-sel-selection-alist): Use it.
5455 (mouse-sel-mode): Doc fix; remove points that are default features
5458 2011-07-12 Johan Bockgård <bojohan@gnu.org>
5460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5461 Fix previous fix (bug#2490).
5463 2011-07-12 Roland Winkler <winkler@gnu.org>
5465 * textmodes/bibtex.el (bibtex-initialize):
5466 Use pop-to-buffer-same-window.
5467 (bibtex-search-entries): Fix interactive call.
5469 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5472 Fontise bytecomp Error lines more correctly (bug#2490).
5473 Fix suggested by Johan Bockgård.
5475 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
5477 * dired-x.el (dired-guess-default): Use `delete-dups'.
5479 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
5481 * dired.el (dired-mark-prompt):
5482 * dired-aux.el (dired-read-shell-command): Doc fix.
5484 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486 * mail/sendmail.el (sendmail-query-once):
5487 Use `customize-save-variable' unconditionally, now that it works under
5490 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5492 * cus-edit.el (custom-file): Take an optional no-error variable.
5493 (customize-save-variable): Set the variable, and give a warning if
5494 running under "emacs -q".
5496 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
5498 * loadhist.el (unload-feature-special-hooks):
5499 Add `auto-coding-functions', `fill-nobreak-predicate' and
5500 `find-directory-functions' (bug#5327).
5502 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5504 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
5506 * cus-edit.el (custom-guess-name-alist): -alist variables should
5507 use the `alist' type (bug#3120). Suggested by Drew Adams.
5509 * printing.el: Add documentation to all the `pr-toggle-' commands.
5511 2011-07-11 Leo Liu <sdl.web@gmail.com>
5513 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
5514 backends where it makes sense (bug#2623).
5516 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5518 * dired-x.el (dired-guess-default): Remove duplicate shell command
5520 (dired-guess-default): Fix grammar in doc string (bug#2028).
5521 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
5523 * subr.el (remove-duplicates): New conveniency function.
5525 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5527 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
5530 2011-07-10 Martin Rudalics <rudalics@gmx.at>
5532 * window.el (display-buffer-normalize-default): Don't invert
5533 meaning of even-window-heights. Reported by Eli Zaretskii
5536 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
5538 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
5540 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
5542 * window.el (display-buffer): Fix arguments to
5543 display-buffer-reuse-window in last change.
5545 * faces.el (link): Use a less saturated blue on light backgrounds.
5547 * startup.el (fancy-startup-text, fancy-about-text)
5548 (fancy-startup-tail): Use font-lock faces, for background safety.
5550 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
5552 * emulation/viper-cmd.el (viper-change-state-to-vi):
5553 Limit triggering of abbrev expansion (Bug#9038).
5555 2011-07-09 Martin Rudalics <rudalics@gmx.at>
5557 * window.el (display-buffer-default-specifiers): Remove.
5558 (display-buffer-macro-specifiers): Remove default specifiers.
5559 (display-buffer-alist): Default to nil.
5560 (display-buffer-reuse-window): New optional argument other-window.
5561 (display-buffer-pop-up-window): Allow splitting internal
5562 windows. Check whether a live window was created.
5563 (display-buffer-other-window-means-other-frame)
5564 (display-buffer-normalize-arguments): Rename to
5565 display-buffer-normalize-argument and rewrite. Set the
5566 other-window specifier.
5567 (display-buffer-normalize-special): New function.
5568 (display-buffer-normalize-options): Rename to
5569 display-buffer-normalize-default and rewrite.
5570 (display-buffer-normalize-options-inhibit): Remove.
5571 (display-buffer-normalize-specifiers): Rewrite.
5572 (display-buffer): Process other-window specifier and call
5573 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
5575 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
5576 (display-buffer-alist-set): Don't handle 'unset default values.
5577 (display-buffer-in-window, display-buffer-alist-set):
5578 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
5579 <tassilo@member.fsf.org>.
5581 2011-07-09 Leo Liu <sdl.web@gmail.com>
5583 * register.el (insert-register): Restore accidental change on
5584 2011-06-26. (Bug#9028)
5586 2011-07-09 Glenn Morris <rgm@gnu.org>
5588 * subr.el (remq): Handle the empty list. (Bug#9024)
5590 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
5592 * mail/sendmail.el (send-mail-function): No longer delay custom
5594 * custom.el (custom-initialize-delay): Doc fix.
5596 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5598 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
5600 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
5602 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
5603 human-friendly prompt.
5605 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
5608 provided by a particular plugin.
5610 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5612 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
5613 save customizations (with "emacs -Q"), just set the variable
5614 instead of erroring out.
5616 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
5618 2011-07-08 Juri Linkov <juri@jurta.org>
5620 * arc-mode.el (archive-zip-expunge, archive-zip-update)
5621 (archive-zip-update-case): Use 7z if found by `executable-find'.
5622 The order of searching the available programs is the same as in
5623 `archive-zip-extract' (bug#8968).
5625 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5627 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
5628 (menu-bar-options-menu): Tweak descriptions.
5630 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
5633 menu items into verb phrases (bug#1421). Also refill to fit under
5636 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5638 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
5639 (Info-read-node-name): Doc fix (Bug#1084).
5641 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
5642 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
5643 (end-of-sexp, beginning-of-sexp)
5644 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
5645 (forward-symbol, forward-same-syntax, word-at-point)
5646 (sentence-at-point): Doc fix (Bug#1144).
5648 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5650 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
5651 should cover it (bug#1281).
5653 * cus-edit.el (custom-show): Mark as obsolete.
5655 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
5656 negotiation fails, then possibly try again with a non-encrypted
5657 connection (bug#9017).
5659 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
5662 2011-07-07 Richard Stallman <rms@gnu.org>
5664 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
5665 property, and handle its changed format.
5666 Look for the correct line number.
5667 Use file's line contents (but not past first =) to find
5668 correct line in message.
5670 2011-07-07 Kenichi Handa <handa@m17n.org>
5672 * international/characters.el (build-unicode-category-table):
5674 (unicode-category-table): Set it by unicode-property-table-internal.
5676 * international/mule-cmds.el (char-code-property-alist): Move to
5678 (get-char-code-property): Call unicode-property-table-internal to
5679 load a file. Call get-unicode-property-internal where necessary.
5680 (put-char-code-property): Call unicode-property-table-internal to
5681 load a file. Call put-unicode-property-internal where necessary.
5682 put-unicode-property-internal where necessary.
5683 (char-code-property-description):
5684 Call unicode-property-table-internal to load a file.
5686 * international/charprop.el:
5687 * international/uni-bidi.el:
5688 * international/uni-category.el:
5689 * international/uni-combining.el:
5690 * international/uni-comment.el:
5691 * international/uni-decimal.el:
5692 * international/uni-decomposition.el:
5693 * international/uni-digit.el:
5694 * international/uni-lowercase.el:
5695 * international/uni-mirrored.el:
5696 * international/uni-name.el:
5697 * international/uni-numeric.el:
5698 * international/uni-old-name.el:
5699 * international/uni-titlecase.el:
5700 * international/uni-uppercase.el: Regenerate.
5702 * loadup.el: Load international/charprop.el before
5703 international/characters.
5705 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
5707 * window.el (next-buffer, previous-buffer): Signal an error if
5708 called from a minibuffer window.
5710 * bindings.el: Revert 2011-07-04 change.
5712 2011-07-06 Richard Stallman <rms@gnu.org>
5714 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
5715 (rmail-mime-insert-bulk, rmail-mime-insert-text):
5716 Treat markers like ints.
5717 (rmail-mime-entity): Doc fix.
5719 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5721 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
5722 defcustom again for backwards compatibility.
5724 * simple.el (shell-command-on-region): Fill.
5726 * dired-aux.el (dired-kill-line): Add a doc string.
5728 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
5729 to "\\sw\\|\\s_" (bug#358).
5731 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
5732 (dired-unmark-backward): Ditto.
5733 (dired-flag-backup-files): Ditto.
5735 * dired-x.el (dired-mark-sexp): Ditto.
5737 2011-07-06 Richard Stallman <rms@gnu.org>
5739 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
5740 (rmail-mime-entity): New arg TRUNCATED.
5741 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
5743 (rmail-mime-save): Warn if entity is truncated.
5744 (rmail-mime-toggle-hidden): Likewise, for showing.
5745 (rmail-mime-process-multipart): Record when an entity is truncated.
5747 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
5748 if ENTITY is a string.
5750 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5752 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
5753 of faces when `M-C-x'-ing their definitions (bug#8378).
5754 Also clean up the code slightly.
5756 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
5757 because that makes the colors go away.
5759 * mail/sendmail.el (send-mail-function): Change the default to
5760 `sendmail-query-once'.
5761 (sendmail-query-once): Add an autoload cookie.
5763 * net/network-stream.el (network-stream-open-starttls): Try using
5764 a plain connection even if the server offered STARTTLS, and we
5765 kinda wanted to use it, if Emacs doesn't have any STARTTLS
5766 capability. This should make smtpmail.el work in slightly more
5769 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
5771 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
5773 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
5775 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
5777 * progmodes/sql.el: Version 3.0
5778 (sql-product-alist): Add product :completion-object,
5779 :completion-column, and :statement attributes.
5780 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
5781 (sql-mode-syntax-table): Mark all punctuation.
5782 (sql-font-lock-keywords-builder): Temporarily remove fallback on
5784 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
5785 (sql-mode-oracle-font-lock-keywords): Improve.
5786 (sql-oracle-show-reserved-words): New function for development.
5787 (sql-product-font-lock): Simplify for source code buffers.
5788 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
5790 (sql-highlight-product): Set product specific syntax table.
5791 (sql-mode-map): Add statement movement functions.
5792 (sql-ansi-statement-starters, sql-oracle-statement-starters):
5794 (sql-statement-regexp, sql-beginning-of-statement)
5795 (sql-end-of-statement, sql-signum): New functions.
5796 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
5797 (sql-show-sqli-buffer): Bug fix.
5798 (sql-interactive-mode): Store connection data as buffer local.
5799 (sql-connect): Add NEW-NAME parameter. Redesign interaction
5800 with sql-interactive-mode.
5801 (sql-save-connection): Save buffer local settings.
5802 (sql-connection-menu-filter): Change menu entry name.
5803 (sql-product-interactive): Bug fix.
5804 (sql-preoutput-hold): New variable.
5805 (sql-interactive-remove-continuation-prompt): Bug fixes.
5806 (sql-debug-redirect): New variable.
5807 (sql-str-literal): New function.
5808 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
5810 (sql-oracle-save-settings, sql-oracle-restore-settings)
5811 (sql-oracle-list-all, sql-oracle-list-table): New functions.
5812 (sql-completion-object, sql-completion-column)
5813 (sql-completion-sqlbuf): New variables.
5814 (sql-build-completions-1, sql-build-completions)
5815 (sql-try-completion): New functions.
5816 (sql-read-table-name): Use them.
5817 (sql-contains-names): New buffer local variable.
5818 (sql-list-all, sql-list-table): Use it.
5819 (sql-oracle-completion-types): New variable.
5820 (sql-oracle-completion-object, sql-sqlite-completion-object)
5821 (sql-postgres-completion-object): New functions.
5823 2011-07-06 Glenn Morris <rgm@gnu.org>
5825 * window.el (pop-to-buffer): Doc fix.
5827 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
5829 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
5831 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
5833 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5835 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
5837 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
5839 * button.el (button): Inherit from link face. Suggested by Dan
5842 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5844 * progmodes/gdb-mi.el: Fit in 80 columns.
5845 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
5848 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
5849 if imenu is simply not configured (bug#8941).
5851 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
5853 * allout.el (allout-post-undo-hook): New allout outline-change
5854 event hook to signal undo activity.
5855 (allout-post-command-business): Run allout-post-undo-hook if an
5857 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
5858 * allout-widgets.el (allout-widgets-after-undo-function):
5859 Ensure the integrity of the current item's decoration after it has been
5860 in the vicinity of an undo.
5861 (allout-widgets-mode): Include allout-widgets-after-undo-function
5862 on the new allout-post-undo-hook.
5864 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
5867 Let define-derived-mode define it.
5868 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
5869 cycles of abbrev-table inheritance (bug#8998).
5871 2011-07-05 Roland Winkler <winkler@gnu.org>
5873 * textmodes/bibtex.el: Add support for biblatex.
5874 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
5875 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
5876 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
5877 (bibtex-entry-alist, bibtex-field-alist): New variables.
5878 (bibtex-entry-field-alist): Obsolete alias for
5879 bibtex-BibTeX-entry-alist.
5880 (bibtex-entry-alist, bibtex-field-alist): New widgets.
5881 (bibtex-set-dialect): New command.
5882 (bibtex-entry-type, bibtex-entry-head)
5883 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
5884 Bind via bibtex-set-dialect.
5885 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
5886 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
5887 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
5888 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
5889 Define via bibtex-set-dialect.
5890 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
5891 Obey bibtex-no-opt-remove-re.
5892 (bibtex-vec-push, bibtex-vec-incr): New functions.
5893 (bibtex-format-entry, bibtex-field-list)
5894 (bibtex-print-help-message, bibtex-validate)
5895 (bibtex-search-entries): Use new format of bibtex-entry-alist.
5897 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * progmodes/compile.el (compilation-goto-locus):
5900 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5901 * bs.el (bs-cycle-next, bs-cycle-previous):
5902 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
5903 * bindings.el (mode-line-other-buffer):
5904 * autoinsert.el (auto-insert):
5905 * arc-mode.el (archive-extract):
5906 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
5908 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5910 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
5911 Fix check of `emacs-lock-unlockable-modes'.
5912 Coerce true values of `emacs-lock--try-unlocking' to t.
5914 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5916 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
5917 * emacs-lock.el: New file.
5919 2011-07-05 Julien Danjou <julien@danjou.info>
5921 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
5922 than `boundp' to check if face is set.
5924 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
5926 * register.el (registerv-make):
5927 * window.el (window-min-height): Fix typos in docstrings.
5929 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
5931 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5934 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
5936 * server.el (server-execute): Catch quit and call
5937 `server-return-error' to pass the error back to emacsclient and
5938 close the connection (bug#8942).
5940 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
5942 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
5943 insecure exception for current topic. Also note that auto-saves
5944 are handled differently.
5946 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
5947 State variables for tracking auto-save inhibition situation.
5949 (allout-write-contents-hook-handler): Rename from
5950 'allout-write-file-hook-handler', and describe how it depends on
5951 write-contents-functions sensitivity to non-nil value to prevent
5954 (allout-auto-save-hook-handler): Remove. auto-save does not check
5955 this in individual buffers, only in the starting buffer, so this
5956 is not the right way for us to inhibit auto-save in a buffer
5957 according to its condition.
5959 (allout-mode): Use new allout-write-contents-hook-handler, and
5960 only with write-contents-functions. Remove auto-save provisions -
5961 they're implemented elsewhere.
5963 (allout-before-change-handler): If undo is in progress, note that
5964 for attention of allout-post-command-business.
5966 (allout-post-command-business): If the command we're following was
5967 an undo, check for change in the status of encrypted items and
5968 adjust auto-save inhibitions accordingly.
5970 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
5971 according to whether there are or aren't any plain-text topics
5974 (allout-inhibit-auto-save-info-for-decryption):
5975 Adjust buffer-saved-size and some allout state to inhibit auto-saves
5976 if there are plain-text topics pending encryption.
5978 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
5979 buffer-saved-size and some allout state to not inhibit auto-saves
5980 if there are no longer any plain-text topics pending encryption.
5982 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
5983 No longer provide for exemption of the current topic.
5985 2011-07-04 Juri Linkov <juri@jurta.org>
5987 Add 7z operations to delete and save changed members (bug#8968).
5988 * arc-mode.el (archive-7z-expunge, archive-7z-update):
5990 (archive-7z-write-file-member): New function.
5991 (archive-7z-summarize): Fix the number of dashes in the
5994 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5996 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
5999 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
6001 * bindings.el: Ignore next-buffer and previous-buffer in
6002 minibuffer-local-map.
6004 * font-lock.el (font-lock-builtin-face): Change light background
6005 color to dark slate blue (Bug#6693).
6007 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
6009 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
6011 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
6014 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6015 Add switch-to-buffer.
6017 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6019 * isearch.el (isearch-search-fun-function): Clarify further the
6020 meaning of the function returned.
6022 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
6024 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
6026 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
6027 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
6029 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
6030 `tramp-default-remote-path' does not exist.
6031 (tramp-send-command-and-read): New optional argument NOERROR.
6032 (tramp-open-connection-setup-interactive-shell)
6033 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
6034 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
6035 (tramp-process-sentinel): Flush also process' connection property.
6036 (tramp-sh-handle-start-file-process): Do not set process
6037 sentinel. It is done now ...
6038 (tramp-maybe-open-connection): ... here. (Bug#8929)
6040 2011-07-04 MON KEY <monkey@sandpframing.com>
6042 * play/animate.el (animate-string): Doc fixes and allow changing
6043 the buffer name (bug#5417).
6045 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6047 * play/animate.el (animation-buffer-name): Rename from *animate*.
6049 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
6051 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
6052 This is simpler and helps future-proof the code.
6053 (timer-until): Use time-subtract and float-time.
6054 (timer--time-less-p): Use time-less-p.
6056 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
6058 * type-break.el (timep): Use the value of `float-time' to avoid a
6059 byte-compiler warning.
6061 * server.el (server-eval-and-print): Return any result, even nil.
6063 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
6065 * type-break.el: Accept time formats that the builtins accept.
6066 (timep, type-break-time-difference): Accept any format that
6067 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
6068 This is simpler and helps future-proof the code.
6069 (type-break-time-difference): Round rather than ignoring
6070 subseconds components.
6072 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6074 * info.el (Info-apropos-matches): Make non-interactive, since it
6075 doesn't seem to do anything useful as a command (bug#8829).
6077 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
6079 * frame.el (frame-background-mode, frame-set-background-mode):
6081 (frame-default-terminal-background): New function.
6083 * custom.el (custom-push-theme): Don't record faces in `changed'
6084 theme; this doesn't work correctly for per-frame face settings.
6085 (disable-theme): Use face-set-after-frame-default to reset faces.
6086 (custom--frame-color-default): New function.
6088 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6090 * dired.el (dired-flagging-regexp): Remove unused variable
6093 2011-03-29 Kevin Ryde <user42@zip.com.au>
6095 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6096 `perl-Test2' extend to match possible "fail #N" rep count
6099 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6101 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
6102 `smtpmail-via-smtp' now returns the error instead of nil.
6104 * isearch.el (isearch-search-fun-function): Clarify the doc string
6107 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
6109 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
6110 unnecessary spaces (bug#8987).
6112 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6114 * net/network-stream.el (open-network-stream): Use the
6115 :end-of-capability command thoughout.
6117 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6119 * net/network-stream.el (open-network-stream): Add the
6120 :end-of-capability command parameter, used by pop3.el.
6122 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6124 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
6126 * fringe.el (fringe-query-style): Remove redundant text " (type ?
6127 for list)" (bug#6475).
6129 * files.el (file-expand-wildcards): Ignore non-readable
6130 sub-directories while trying to find matches instead of signaling
6131 an error (bug#6297).
6133 * man.el (Man-reference-regexp): Allow matching possible
6134 word-wrapped references (bug#6289).
6136 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
6137 for consistency with the other vc buffers (bug#6197).
6138 (vc-checkin): Ditto.
6140 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
6142 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
6144 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6146 * custom.el (defcustom): Clarify that :set is only used in the
6147 Customize user interface (bug#6089).
6149 * progmodes/flymake.el (flymake-mode): If the buffer isn't
6150 associated with a file, refuse to run instead of erroring out
6153 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
6154 the doc string, since it appears that using `fill-column' always
6155 controls the width (bug#7845).
6157 * simple.el (shell-command-on-region): Say where the error output
6158 went if `shell-command-default-error-buffer' is set (bug#6857).
6160 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
6162 * allout.el (allout-yank-processing): Adjust cursor position for
6163 backwards-deleted space.
6165 (allout-rebullet-heading): Register changes with
6166 allout-exposure-changed-hook, so the modified topic is properly
6169 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6171 * minibuffer.el (completion-in-region): Document PREDICATE
6174 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
6175 of keyword/argument pairs (bug#6904).
6177 * replace.el (multi-occur):
6178 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
6180 2011-07-02 Drew Adams <drew.adams@oracle.com>
6182 * dired.el (dired-mark-if): Make the message about whether it's
6183 marking or unmarking clearer (bug#8523).
6185 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6187 * disp-table.el (display-table-print-array): New function.
6188 (describe-display-table): Use it to print the vectors more pretty
6191 2011-07-02 Martin Rudalics <rudalics@gmx.at>
6193 * window.el (window-state-get-1): Don't assign clone numbers.
6194 Add clone-of item to list of window parameters.
6195 (window-state-put-2): Don't process clone numbers.
6196 (display-buffer-alist): Fix doc-string.
6198 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * subr.el (remq): Don't allocate if it's not needed.
6201 (keymap--menu-item-binding, keymap--menu-item-with-binding)
6202 (keymap--merge-bindings): New functions.
6203 (keymap-canonicalize): Use them to refine the canonicalization.
6204 * minibuffer.el (minibuffer-local-completion-map)
6205 (minibuffer-local-must-match-map): Move initialization from C.
6206 (minibuffer-local-filename-completion-map): Move initialization from C;
6207 don't inherit from anything here.
6208 (minibuffer-local-filename-must-match-map): Make obsolete.
6209 (completing-read-default): Use make-composed-keymap to combine
6210 minibuffer-local-filename-completion-map with either
6211 minibuffer-local-must-match-map or
6212 minibuffer-local-filename-completion-map.
6214 2011-07-01 Glenn Morris <rgm@gnu.org>
6216 * type-break.el (type-break-time-sum): Use dolist.
6218 * textmodes/flyspell.el (flyspell-word-search-backward):
6219 Replace CL function.
6221 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * mouse.el (mouse--strip-first-event): New function.
6224 (function-key-map): Use it to map fringe clicks to normal clicks
6227 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
6228 (vc-bzr-revision-completion-table): Add support for annotate and date.
6230 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
6231 inherit from parent.
6233 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6235 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
6236 (dired-show-file-type): Doc fixup (bug#8818).
6238 * dired.el (dired-mode): Fix up the doc string as suggested by
6239 Drew Adams (bug#8817).
6241 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
6242 cookie, since the manual says that it should be possible to add
6243 this function to `find-file-hook' (bug#8709).
6245 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6247 * progmodes/cfengine.el: Moved all cfengine3.el functionality
6248 here. Noted Ted Zlatanov as the maintainer.
6249 (cfengine-common-settings, cfengine-common-syntax): New functions
6250 to set up common things between `cfengine-mode' and
6252 (cfengine3-mode): New mode.
6253 (cfengine3-defuns cfengine3-defuns-regex
6254 (cfengine3-class-selector-regex cfengine3-category-regex)
6255 (cfengine3-vartypes cfengine3-font-lock-keywords)
6256 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
6257 (cfengine3-indent-line): Add from cfengine3.el.
6259 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
6261 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
6263 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
6265 2011-07-01 Martin Rudalics <rudalics@gmx.at>
6267 * window.el (same-window-buffer-names, same-window-regexps)
6268 (same-window-p, special-display-frame-alist)
6269 (special-display-popup-frame, special-display-function)
6270 (special-display-buffer-names, special-display-regexps)
6271 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
6272 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6273 (split-window-preferred-function, split-height-threshold)
6274 (split-width-threshold, even-window-heights)
6275 (display-buffer-mark-dedicated, window-splittable-p)
6276 (split-window-sensibly, window-safely-shrinkable-p):
6278 (display-buffer): Don't spread args with function specifier
6279 because special-display-popup-frame won't like it.
6281 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
6283 Time-stamp simplifications and fixes.
6284 These improve accuracy slightly, and future-proof the code
6285 against some potential changes to current-time format.
6287 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
6288 by using time-since and float-time.
6290 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
6291 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
6292 + NNN microseconds".
6294 * type-break.el (type-break-time-sum): Rewrite using time-add.
6296 * play/hanoi.el (hanoi-current-time-float): Remove.
6297 All uses replaced by float-time.
6299 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
6300 This yields a more-accurate answer.
6301 (rng-time-to-float): Remove; no longer needed.
6303 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
6305 * calendar/timeclock.el (timeclock-seconds-to-time):
6306 Defalias to seconds-to-time, since they're the same thing.
6308 * emacs-lisp/elp.el (elp-elapsed-time):
6309 * emacs-lisp/benchmark.el (benchmark-elapse):
6310 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
6312 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6314 * window.el (bury-buffer): Don't iconify the only frame.
6315 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
6316 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
6318 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
6320 * eshell/em-smart.el (eshell-smart-display-navigate-list):
6321 Add mouse-yank-primary.
6323 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
6325 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
6327 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
6329 * emacs-lisp/find-func.el (find-library--load-name): New fun.
6330 (find-library-name): Use it to find relative load names when provided
6331 absolute file name (bug#8803).
6333 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6335 * textmodes/flyspell.el (flyspell-word): Consider words that
6336 differ only in case as potential doublons (bug#5687).
6338 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
6339 Remove two rather uninteresting debugging-like messages to make
6340 debbugs.el more silent.
6342 * comint.el (comint-password-prompt-regexp): Accept "Response" as
6343 a password-like phrase.
6345 2011-06-30 Mastake YAMATO <yamato@redhat.com>
6347 * progmodes/cc-guess.el: New file.
6349 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
6351 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
6352 derived from `c-basic-common-init'.
6354 * progmodes/cc-mode.el (top-level): Require cc-guess.
6355 (c-basic-common-init): Use `cc-choose-style-for-mode'.
6357 2011-06-30 Lawrence Mitchell <wence@gmx.li>
6359 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
6361 2011-06-30 Alan Mackenzie <acm@muc.de>
6363 * progmodes/cc-engine.el (c-guess-continued-construct):
6364 Correct the handling of template-args-cont, particularly for when font
6365 lock is disabled. Name this case as "CASE G".
6367 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
6369 * allout.el (allout-yank-processing): Fix injection of extra space
6370 between bullet and non-whitespace character in first topic when
6371 pasting, ensuring that the actual spacing in the pasted topic
6372 following the bullet char is preserved. This extra space was
6373 causing pasted encrypted topics to get a decrypted status even
6374 when the content was actually still encrypted. Now the decryption
6375 status from before the paste is preserved.
6377 (allout-flag-region): Set all allout overlays so they evaporate
6378 when reduced to zero length (evanescent), to prevent overlay
6381 2011-06-30 Glenn Morris <rgm@gnu.org>
6383 * w32-fns.el (w32-charset-info-alist): Declare.
6385 * find-dired.el (find-grep-options): Simplify.
6387 * term/ns-win.el (ns-set-resource): Declare.
6389 * ses.el (row, col): Declare dynamic variables honestly.
6391 * textmodes/reftex-parse.el (index-tags): Declare.
6393 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
6395 * cus-edit.el (customize-push-and-save): New function.
6397 * files.el (hack-local-variables-confirm): Use it.
6399 * custom.el (load-theme): New arg NO-CONFIRM.
6400 Use customize-push-and-save (Bug#8720).
6401 (custom-enabled-themes): Doc fix.
6403 * cus-theme.el (customize-create-theme)
6404 (custom-theme-merge-theme): Callers to load-theme changed.
6406 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6408 * thingatpt.el (thing-at-point-short-url-regexp): Require that
6409 short URLs have at least one dot in them (bug #7614).
6411 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
6412 nil, because using a pty is apparently too slow (bug #895).
6414 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6416 * mail/sendmail.el (sendmail-query-once): New function.
6417 (sendmail-query-once-function): New variable.
6419 2011-06-29 Glenn Morris <rgm@gnu.org>
6421 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
6423 * ses.el (top-level): Require cl when compiling.
6424 (ses-set-localvars): Fix error statement.
6425 Call it at compile time to silence a storm of warnings.
6427 2011-06-29 Martin Rudalics <rudalics@gmx.at>
6429 * window.el (normalize-live-buffer): Rename to
6430 window-normalize-buffer.
6431 (normalize-live-frame): Rename to window-normalize-frame.
6432 (normalize-any-window): Rename to window-normalize-any-window.
6433 (normalize-live-window): Rename to window-normalize-live-window.
6434 (make-window-atom): Rename to window-make-atom.
6435 (window-resize-reset): Rename to window--resize-reset.
6436 (window-resize-reset-1): Rename to window--resize-reset-1.
6437 (resize-mini-window): Rename to window--resize-mini-window.
6438 (resize-subwindows-skip-p): Rename to
6439 window--resize-subwindows-skip-p.
6440 (resize-subwindows-normal): Rename to
6441 window--resize-subwindows-normal.
6442 (resize-subwindows): Rename to window--resize-subwindows.
6443 (resize-other-windows): Rename to window--resize-siblings.
6444 (resize-this-window): Rename to window--resize-this-window.
6445 (resize-root-window): Rename to window--resize-root-window.
6446 (resize-root-window-vertically): Rename to
6447 window--resize-root-window-vertically.
6448 (normalize-buffer-to-display): Rename to
6449 window-normalize-buffer-to-display.
6450 (normalize-buffer-to-switch-to): Rename to
6451 window-normalize-buffer-to-switch-to.
6452 Correspondingly update all callers of the functions listed
6454 (display-buffer-alist, display-buffer-normalize-arguments)
6455 (display-buffer-normalize-options, display-buffer)
6456 (display-buffer-alist-set): Use "function" instead of
6459 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
6461 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
6462 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
6463 debbugs.gnu.org. Mention acknowledgment email.
6465 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
6467 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
6468 buffer multibyteness, since it shouldn't matter.
6470 2011-06-28 Martin Rudalics <rudalics@gmx.at>
6472 * window.el (display-buffer-in-side-window): Handle dedicated
6473 windows as in display-buffer-reuse-window.
6474 (display-buffer-normalize-alist): Use value of override
6476 (display-buffer-normalize-specifiers): Use value of
6477 other-window-means-other-frame specifier.
6478 (display-buffer-alist): Rewrite some texts in widgets.
6479 (display-buffer): Spread arguments when calling function
6480 specified by fun-with-args.
6482 2011-06-28 Deniz Dogan <deniz@dogan.se>
6484 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6487 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
6488 selectors (Bug#5732).
6489 (css-proprietary-nmstart-re): Use `regexp-opt'.
6491 2011-06-27 Jari Aalto <jari.aalto@cante.net>
6493 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
6494 (eshell-ls-date-format): New defcustom.
6495 (eshell-ls-file): Use it.
6497 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * help-fns.el (describe-variable): Fix message for terminal-local vars.
6501 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
6503 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
6504 (ange-ftp-make-tmp-name): New arg.
6505 (ange-ftp-file-local-copy): Use it.
6507 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
6509 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
6510 no-conversion (Bug#8870).
6512 2011-06-27 Martin Rudalics <rudalics@gmx.at>
6514 * window.el (window-right, window-left, window-child)
6515 (window-child-count, window-last-child)
6516 (window-iso-combination-p, walk-window-tree-1)
6517 (window-atom-check-1, window-tree-1, delete-window)
6518 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
6519 new naming conventions - window-vchild, window-hchild,
6520 window-next and window-prev are now called window-top-child,
6521 window-left-child, window-next-sibling and window-prev-sibling
6523 (resize-window-reset): Rename to window-resize-reset.
6524 (resize-window-reset-1): Rename to window-resize-reset-1.
6525 (resize-window): Rename to window-resize.
6526 (window-min-height, window-min-width)
6527 (resize-mini-window, resize-this-window, resize-root-window)
6528 (resize-root-window-vertically, adjust-window-trailing-edge)
6529 (enlarge-window, shrink-window, maximize-window)
6530 (minimize-window, delete-window, quit-restore-window)
6531 (split-window, balance-windows, balance-windows-area-adjust)
6532 (balance-windows-area, window-state-put-2)
6533 (display-buffer-even-window-sizes, display-buffer-set-height)
6534 (display-buffer-set-width, set-window-text-height)
6535 (fit-window-to-buffer): Rename all "resize-window" prefixed
6536 calls to use the "window-resize" prefix convention.
6537 (display-buffer-alist): Fix symbol for label specifier.
6538 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
6539 corresponding specifier.
6540 Reported by Juanma Barranquero <lekktu@gmail.com>.
6542 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6544 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
6546 (ses-call-printer): Does not pass an empty string to formatter when the
6547 cell is empty to keep from barking printer Calc math-format-value.
6549 2011-06-27 Richard Stallman <rms@gnu.org>
6551 * battery.el (battery-mode-line-limit): New variable.
6552 (battery-update): Handle it.
6554 * mail/rmailmm.el (rmail-mime-process-multipart):
6555 Handle truncated messages.
6557 2011-06-27 Glenn Morris <rgm@gnu.org>
6559 * progmodes/flymake.el (flymake-err-line-patterns):
6560 Allow for column numbers in the ant/javac pattern. (Bug#8866)
6562 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
6564 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
6565 (ses--clean-!, ses--clean-_): New functions.
6566 (ses-range): Add configurability of readout order, and conversion
6569 * ses.el (ses-repair-cell-reference-all): New function.
6570 (ses-cell-symbol): Set macro as safe, so that it can be used in
6573 * ses.el: Update cycle detection algorithm.
6574 (ses-localvars): Add ses--Dijkstra-attempt-nb and
6575 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
6576 (ses-set-localvars): New function.
6577 (ses-make-cell): Add property-list as a cell element.
6578 (ses-cell-property-get-fun, ses-cell-property-get)
6579 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
6580 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
6582 (ses-cell-property-set, ses-cell-property-pop)
6583 (ses-cell-property-get-handle): New macro.
6584 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
6585 New aliases, used for code readability.
6586 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
6588 (ses-self-reference-early-detection): New defcustom.
6589 (ses-formula-references): Robustify against self-referring cells.
6590 (ses-mode): Use ses-set-localvars.
6591 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
6592 before lauching the update processing.
6593 (ses-initialize-Dijkstra-attempt): New function.
6594 (ses-recalculate-cell): Update for cycle detection based on
6597 * ses.el: Fix commenting and indenting convention.
6599 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * bs.el (bs-cycle-next): Complete last change.
6603 2011-06-27 Drew Adams <drew.adams@oracle.com>
6605 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
6607 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6609 * net/network-stream.el (network-stream-open-starttls):
6610 Don't re-get capabilities unless we've reestablished connection.
6611 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
6613 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
6614 to binary to possibly avoid line encoding issues on Windows (among
6617 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619 * net/network-stream.el (open-network-stream): Return an :error
6620 saying what the problem was, if possible.
6622 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
6625 * net/network-stream.el (network-stream-open-starttls): If we
6626 wanted to use STARTTLS, and the server offered it, but we weren't
6627 able to because we had no STARTTLS support, then close the connection.
6628 (open-network-stream): Return an :error element, if present.
6630 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6632 * hl-line.el (hl-line-sticky-flag): Doc fix.
6633 (global-hl-line-sticky-flag): New option (Bug#8323).
6634 (global-hl-line-highlight): Obey it.
6636 * vc/vc.el (vc-revert-show-diff): Default to t.
6638 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
6640 * allout-widgets.el (allout-widgets-post-command-business):
6641 Stop decorating intermediate isearch matches. They're not being
6642 undecorated when an isearch is continued past, and isearch
6643 automatically collapses them. This leads to "widget leaks", where
6644 decorated items accumulate in collapsed areas. Lines with lots of
6645 hidden widgets can slow down cursor travel, substantially.
6646 Too much complicated machinery would be needed to ensure undecoration,
6647 so we're doing without this nicety.
6649 (allout-widgets-tally-string): Don't try to do a hash-table-count
6650 of allout-widgets-tally when it's nil. This eliminates spurious "Error
6651 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
6652 *Messages* when allout-widgets-maintain-tally is t.
6654 2011-06-26 Martin Rudalics <rudalics@gmx.at>
6656 * window.el (display-buffer-normalize-argument): Rename to
6657 display-buffer-normalize-arguments. Handle special meaning of
6658 LABEL argument. Respect special-display-function when popping up
6659 a new frame. Fix code searching for a window showing the buffer
6661 (display-buffer-normalize-specifiers):
6662 Call display-buffer-normalize-arguments.
6663 (display-buffer-in-window): Don't undedicate the window if its
6664 buffer remains the same.
6665 Reported by Drew Adams <drew.adams@oracle.com>.
6666 (display-buffer-alist): Add choice for same-window macro
6668 (display-buffer): Mention special meaning of LABEL argument in
6669 doc-string. Fix quoting. Don't pop up a new frame even as
6672 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
6674 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
6675 avoid deleting the current window in some cases (bug#8911).
6677 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
6679 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
6682 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6684 * net/network-stream.el (network-stream-open-starttls):
6685 Use built-in TLS support if `gnutls-available-p' is true.
6686 (network-stream-open-tls): Ditto.
6688 2011-06-26 Leo Liu <sdl.web@gmail.com>
6690 * register.el (registerv): New struct.
6691 (registerv-make): New function.
6692 (jump-to-register, describe-register-1, insert-register):
6693 Support the jump-func, print-func and insert-func slot of a registerv
6696 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
6698 * vc/vc.el (vc-revert-show-diff): New defcustom.
6699 (vc-diff-internal): New arg specifying diff buffer.
6700 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
6701 reuse an existing *vc-diff* buffer (Bug#8927).
6703 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
6705 2011-06-26 Glenn Morris <rgm@gnu.org>
6707 * progmodes/f90.el (f90-critical-indent): New option.
6708 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
6709 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
6710 (f90-mode): Doc fix.
6711 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
6712 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
6713 (f90-beginning-of-block, f90-next-block, f90-indent-region)
6714 (f90-match-end): Handle block, critical.
6716 2011-06-25 Glenn Morris <rgm@gnu.org>
6718 * calendar/diary-lib.el (diary-included-files): Doc fix.
6719 (diary-include-files): New function, extracted from
6720 diary-include-other-diary-files and diary-mark-included-diary-files.
6721 (diary-include-other-diary-files, diary-mark-included-diary-files):
6722 Just call diary-include-files.
6723 (diary-mark-entries): Reset diary-included-files on first call.
6725 * calendar/diary-lib.el (diary-mark-entries)
6726 (diary-mark-included-diary-files):
6727 Visit included diary-files in temp buffers.
6729 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
6730 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
6731 (f90-start-block-re, f90-imenu-generic-expression)
6732 (f90-looking-at-program-block-start, f90-no-block-limit):
6733 Add support for submodules.
6735 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6736 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
6738 2011-06-25 Eli Zaretskii <eliz@gnu.org>
6740 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
6741 buffer-file-type before setting its value, to avoid disastrous
6742 global effects on decoding files for DOS/Windows systems. (Bug#8780)
6744 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6746 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
6748 * ses.el (ses-unload-function):
6749 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
6751 * proced.el (proced-unload-function):
6752 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
6754 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
6756 * server.el (server-create-window-system-frame): Add parameters arg.
6757 (server-process-filter): Doc fix. Handle frame-parameters.
6759 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
6761 Fix bug#8730, bug#8781.
6763 * loadhist.el (unload--set-major-mode): New function.
6764 (unload-feature): Use it.
6766 * progmodes/python.el (python-after-info-look): Add autoload cookie.
6767 (python-unload-function): New function.
6769 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6771 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
6773 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
6775 * net/browse-url.el (browse-url-firefox-program): Add icecat to
6776 the candidates list.
6778 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
6780 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
6782 2011-06-23 Richard Stallman <rms@gnu.org>
6784 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
6785 (rmail-variables): Set next-error-move-function.
6786 (rmail-what-message): Take argument POS.
6787 (rmail-next-error-move): New function.
6789 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6791 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
6792 messages for adjacent non-terminals.
6794 2011-06-23 Richard Stallman <rms@gnu.org>
6796 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
6797 (rmail-show-message-1): Preserve buffer modified flag.
6798 (rmail-start-mail): Don't specify use of rmail-mail-return;
6799 that's done by mail-bury now.
6800 (rmail-mail-return): Handle arg NEWBUF.
6802 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
6804 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
6807 2011-06-23 Martin Rudalics <rudalics@gmx.at>
6809 * window.el (get-lru-window, get-mru-window)
6810 (get-largest-window): Never return a minibuffer window.
6811 (display-buffer-pop-up-window): Fix a bug that could lead to
6812 reusing the minibuffer window.
6813 (display-buffer): Pass original specifier argument to
6814 display-buffer-function instead of the normalized one.
6815 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6817 2011-06-22 Leo Liu <sdl.web@gmail.com>
6819 * minibuffer.el (completing-read-function)
6820 (completing-read-default): Move from minibuf.c
6822 2011-06-22 Richard Stallman <rms@gnu.org>
6824 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
6825 to Rmail even if not started by a special Rmail command.
6827 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
6828 Copy the buffer currently showing just one message.
6830 2011-06-22 Roland Winkler <winkler@gnu.org>
6832 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
6833 (bibtex-clean-entry): First delete the old key so that a
6834 customized algorithm for generating the new key does not get
6835 confused by the old key.
6836 (bibtex-url): Obey regexp of first step.
6837 (bibtex-search-entries): Do not use add-to-list with local
6840 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
6843 stored a user name, then query for the password first, instead of
6844 waiting for SMTP to give an error message and the trying again.
6846 2011-06-22 Lawrence Mitchell <wence@gmx.li>
6848 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
6849 BUFFER in call-process.
6851 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6853 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
6855 (smtpmail-try-auth-methods): Require user name and password from
6858 2011-06-22 Martin Rudalics <rudalics@gmx.at>
6860 * window.el (display-buffer-default-specifiers)
6861 (display-buffer-alist): Remove entries for pop-up-frame-alist.
6862 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
6863 (split-window): Normalize SIDE argument (Bug#8916).
6865 * frame.el (pop-up-frame-alist, pop-up-frame-function)
6866 (special-display-frame-alist, special-display-popup-frame):
6867 Remove duplicate declarations. These are now in window.el.
6869 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6871 * mail/smtpmail.el (smtpmail-via-smtp):
6872 Set :use-starttls-if-possible so that we always use STARTTLS if the
6873 server supports it. SMTP servers that support STARTTLS commonly
6876 * net/network-stream.el (network-stream-open-starttls): Support
6877 upgrading to STARTTLS always, even if we don't have built-in support.
6878 (open-network-stream): Add the :always-query-capabilities keyword.
6880 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
6881 upgrades with `open-network-stream', and rely solely on
6882 auth-source for all credentials. Big changes throughout the file,
6884 (smtpmail-auth-credentials): Remove.
6885 (smtpmail-starttls-credentials): Remove.
6886 (smtpmail-via-smtp): Check for servers saying they want AUTH after
6889 * net/network-stream.el (network-stream-open-starttls):
6890 Provide support for client certificates both for external and built-in
6892 (auth-source): Require.
6893 (open-network-stream): Document the :client-certificate keyword.
6894 (network-stream-certificate): Change cert-cert to cert and
6897 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
6899 * net/tramp-cache.el (top): Don't load the persistency file when
6900 "emacs -Q" has been called.
6902 2011-06-21 Tim Harper <timcharper@gmail.com>
6904 * term/ns-win.el (ns-initialize-window-system):
6905 Set application-specific `ApplePressAndHoldEnabled' system
6906 resource to NO as it is not yet supported by the NS port.
6908 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
6910 * misc.el (list-dynamic-libraries--refresh): Compute header here...
6911 (list-dynamic-libraries): ...not here.
6913 2011-06-21 Leo Liu <sdl.web@gmail.com>
6915 * subr.el (sha1): Implement sha1 using secure-hash.
6917 2011-06-21 Martin Rudalics <rudalics@gmx.at>
6919 * window.el (display-buffer-alist): In default value do not
6920 enforce searching a window on any but the selected frame.
6921 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
6922 (display-buffer-select-window): Remove function.
6923 (display-buffer-in-window): When a window on another frame gets
6924 reused, do not select it any more but just raise its frame if
6925 necessary (Bug#8851) and (Bug#8856).
6926 (display-buffer-normalize-options): Handle pop-up-frames related
6927 options more faithfully.
6928 (pop-to-buffer): Don't rely on `display-buffer' selecting the
6929 window if it is on another frame.
6930 (display-buffer-alist, display-buffer-default-specifiers):
6931 Don't make new frame unsplittable by default.
6932 (display-buffer-normalize-argument): Fix doc-string typo and use
6933 'same-frame-other-window instead of 'other-window when associating
6934 with display-buffer-macro-specifiers.
6936 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
6938 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
6940 (5x5-mode-map, 5x5-mode-menu): Bind them.
6941 (5x5-draw-grid): Tweak the solver's rendering.
6943 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
6946 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
6948 2011-06-21 Drew Adams <drew.adams@oracle.com>
6950 * menu-bar.el: Use function variable instead of switch-to-buffer.
6951 (menu-bar-select-buffer-function): New variable.
6952 (menu-bar-update-buffers): Use it (bug#8876).
6954 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6956 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
6959 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
6961 * x-dnd.el (x-dnd-version-from-flags)
6962 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
6963 and long as number (Bug#8899).
6964 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
6966 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
6969 (completion-try-completion, completion-all-completions): Compute the
6970 metadata argument if it's missing; make it optional (bug#8795).
6972 * wid-edit.el: Use lex-bind and move towards completion-at-point.
6973 (widget-complete): Use new :completion-function property.
6974 (widget-completions-at-point): New function.
6975 (default): Use :completion-function instead of :complete.
6976 (widget-default-completions): Rename from widget-default-complete;
6978 (widget-string-complete, widget-file-complete, widget-color-complete):
6980 (file, symbol, function, variable, coding-system, color):
6981 * international/mule-cmds.el (default-input-method, charset)
6982 (language-info-custom-alist):
6983 * cus-edit.el (face): Use new property :completions.
6985 * progmodes/pascal.el (pascal-completions-at-point): New function.
6986 (pascal-mode): Use it.
6987 (pascal-mode-map): Use completion-at-point.
6988 (pascal-toggle-completions): Make obsolete.
6989 (pascal-complete-word, pascal-show-completions):
6990 * progmodes/octave-mod.el (octave-complete-symbol):
6991 Redefine as obsolete alias.
6992 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
6993 Signal absence of completion info for old Octave,
6994 (inferior-octave-complete): Redefine as obsolete alias.
6995 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
6996 (meta-completions-at-point): Rename from meta-complete-symbol and
6997 adapt it for use on completion-at-point-functions.
6998 (meta-common-mode): Use it.
6999 (meta-looking-at-backward, meta-match-buffer): Remove.
7000 (meta-complete-symbol): Redefine as obsolete alias.
7001 (meta-common-mode-map): Use completion-at-point.
7002 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
7003 (makefile-mode-map): Use completion-at-point.
7004 (makefile-completions-at-point): Rename from makefile-complete and
7005 adapt it for use on completion-at-point-functions.
7006 (makefile-mode): Use it.
7007 (makefile-complete): Redefine as obsolete alias.
7009 2011-06-20 Deniz Dogan <deniz@dogan.se>
7011 * net/rcirc.el: Delete trailing whitespaces once and for all.
7013 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
7015 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
7017 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
7019 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
7021 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
7023 2011-06-19 Martin Rudalics <rudalics@gmx.at>
7025 * window.el (display-buffer-other-window-means-other-frame):
7026 Call display-buffer-normalize-alist.
7027 (display-buffer-normalize-specifiers-1): Rename to
7028 display-buffer-normalize-argument. New argument other-frame.
7030 (display-buffer-normalize-specifiers-2): Rename to
7031 display-buffer-normalize-options.
7032 (display-buffer-normalize-alist-1): New function.
7033 (display-buffer-normalize-specifiers-3): Rename to
7034 display-buffer-normalize-alist.
7035 Call display-buffer-normalize-alist-1.
7036 (display-buffer-normalize-options-inhibit): New variable.
7037 (display-buffer-normalize-specifiers): Rewrite calling
7038 display-buffer-normalize-alist,
7039 display-buffer-normalize-argument, and
7040 display-buffer-normalize-options. Don't call the latter if
7041 display-buffer-normalize-options-inhibit is non-nil.
7042 (frame-auto-delete): New option.
7043 (window-deletable-p): Use frame-auto-delete.
7044 (window-list-no-nils, window-state-ignored-parameters)
7045 (window-state-get-1, window-state-get, window-state-put-list)
7046 (window-state-put-1, window-state-put-2, window-state-put):
7048 (display-buffer-normalize-options): Move special-display-p group
7049 after pop-up-frame group (Bug#8851) and (Bug#8856).
7051 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
7053 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
7055 (rx-submatch-n): New function.
7058 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
7061 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
7063 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
7065 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
7066 anytime existing face settings are present (Bug#8889).
7068 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
7069 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
7070 Remove unused argument.
7072 2011-06-18 Martin Rudalics <rudalics@gmx.at>
7074 * window.el (display-buffer-default-specifiers):
7075 Remove pop-up-frame. Add pop-up-window-min-height,
7076 pop-up-window-min-width, and another reuse-window specifier
7077 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
7078 (display-buffer-normalize-specifiers-2):
7079 Handle split-height-threshold and split-width-threshold also when
7080 pop-up-windows is unset. Add a reuse-window specifier for the
7081 case popping up a new window fails.
7082 (special-display-popup-frame): Remove double quoting.
7083 (display-buffer-normalize-specifiers-1): Fix thinko.
7085 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * shell.el (shell-completion-vars): Set pcomplete-termination-string
7088 according to comint-completion-addsuffix.
7090 * pcomplete.el: Convert to lexical binding and fix bug#8819.
7091 (pcomplete-suffix-list): Mark as obsolete.
7092 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
7093 pcomplete-seen in the closure.
7094 (pcomplete-comint-setup): Setup completion-at-point as well.
7095 (pcomplete--entries): New function.
7096 (pcomplete--env-regexp): New var.
7097 (pcomplete-entries): Rewrite to work with partial-completion and
7098 without relying on pcomplete-suffix-list.
7099 (pcomplete-pare-list): Remove, unused.
7101 2011-06-17 Martin Rudalics <rudalics@gmx.at>
7103 * window.el (display-buffer-alist): Set pop-up-window-min-height
7104 and pop-up-window-min-width in default value. Reported by
7105 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
7106 other-window-means-other-frame.
7107 (display-buffer-macro-specifiers): Comment out entry for
7108 other-window specifier.
7109 (display-buffer-other-window-means-other-frame): New function.
7110 (display-buffer-normalize-specifiers-1): New arguments
7111 buffer-name and label. Treat other-window case specially.
7112 (display-buffer-normalize-specifiers-2): Treat other-window case
7114 (display-buffer-normalize-specifiers-3): New function.
7115 (display-buffer-normalize-specifiers):
7116 Call display-buffer-normalize-specifiers-3.
7118 2011-06-17 Martin Rudalics <rudalics@gmx.at>
7120 * window.el (same-window-p): Fix two typos introduced when
7121 adding with-no-warnings.
7122 (display-buffer-normalize-specifiers-1): Don't check
7123 pop-up-frames for 'unset initialization.
7124 (display-buffer-normalize-specifiers-2): Major rewrite using
7125 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
7126 (pop-up-frames, display-buffer-reuse-frames)
7127 (display-buffer-mark-dedicated): Don't initialize to 'unset.
7128 Suggested by David Engster <deng@randomsample.de>.
7129 (even-window-heights): Initialize to 'unset.
7130 (display-buffer-alist-set): Handle new 'unset initializations.
7131 (display-buffer-macro-specifiers): Don't pop up a new frame in the
7134 2011-06-16 Martin Rudalics <rudalics@gmx.at>
7136 * window.el (display-buffer-normalize-specifiers-1):
7137 Respect current value of pop-up-frames for most reasonable values of
7138 second argument of display-buffer (Bug#8865).
7139 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
7140 (switch-to-buffer-other-window-same-frame)
7141 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
7143 (display-buffer): Don't check noninteractive when calling
7144 display-buffer-pop-up-frame.
7145 (display-buffer-pop-up-frame): Never pop up a frame in
7146 noninteractive mode (Bug#8857).
7147 (enlarge-window, shrink-window): Don't report an error when the
7148 window can't be resized as requested (Bug#8862).
7150 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7152 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
7154 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
7156 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
7158 2011-06-15 Alan Mackenzie <acm@muc.de>
7160 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
7161 for declarators, disable knr checking to speed up for normal files.
7162 2: Refactor, replacing a sequence of nested if forms by a cond form.
7164 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166 * net/network-stream.el (open-network-stream): Add the keyword
7167 :always-query-capabilities for the case where you want to force a
7168 `plain' network connection, but the protocol still requires the
7169 capabilitiy command (i.e., SMTP and EHLO).
7171 * subr.el (process-live-p): Rename from `process-alive-p' for
7172 consistency with other `-live-p' functions.
7174 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * window.el (same-window-buffer-names, same-window-regexps)
7177 (special-display-frame-alist, special-display-popup-frame)
7178 (special-display-function, special-display-buffer-names)
7179 (special-display-regexps, pop-up-frame-alist)
7180 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
7181 (pop-up-windows, split-window-preferred-function)
7182 (split-height-threshold, split-width-threshold, even-window-heights)
7183 (display-buffer-mark-dedicated): Don't encourage the use of
7184 display-buffer-alist from Elisp code.
7186 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
7188 * progmodes/python.el (python-mode): Derive from prog-mode.
7189 * progmodes/ps-mode.el (ps-mode):
7190 * progmodes/mixal-mode.el (mixal-mode):
7191 * progmodes/cfengine.el (cfengine-mode):
7192 * progmodes/ld-script.el (ld-script-mode): Likewise.
7194 2011-06-15 Martin Rudalics <rudalics@gmx.at>
7196 * window.el (display-buffer-alist): Trim default value to avoid
7197 popping up a new frame (Bug#8857) or reusing an arbitrary window
7199 (display-buffer): Do not fall back on popping up a new frame in
7200 batch mode (Bug#8857).
7202 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
7204 * cus-theme.el (describe-theme-1): Use custom-theme-p.
7205 (custom-theme-summary): New function.
7206 (customize-themes): Use it.
7208 2011-06-13 Glenn Morris <rgm@gnu.org>
7210 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
7212 2011-06-13 Martin Rudalics <rudalics@gmx.at>
7214 * help.el (help-window): Remove variable.
7215 (help-window-point-marker, temp-buffer-max-height)
7216 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
7217 (help-print-return-message): Don't set help-window.
7218 (resize-temp-buffer-window): Rewrite cod eand doc-string.
7219 (help-window-setup-finish): Remove.
7220 (help-window-display-message, help-window-setup)
7221 (with-help-window): Major rewrite based on new
7222 display-buffer-window variable.
7224 * help-mode.el (help-mode-finish): Remove help-window related
7227 * view.el (view-exits-all-viewing-windows): Remove reference to
7228 view-return-to-alist in doc-string.
7229 (view-return-to-alist): Make obsolete.
7230 (view-buffer): Call pop-to-buffer-same-window and remove
7232 (view-buffer-other-window): Call pop-to-buffer-other-window and
7233 simplify code. Ignore second argument.
7234 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
7235 simplify code. Ignore second argument.
7236 (view-return-to-alist-update): Make obsolete.
7237 (view-mode-enter): Rename second argument to QUIT-RESTORE.
7238 Rewrite using quit-restore window parameters.
7239 (view-mode-exit): Rename second argument to EXIT-ONLY.
7240 Rewrite using quit-restore-window.
7241 (View-exit, View-exit-and-edit, View-leave, View-quit)
7242 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
7243 appropriate arguments.
7244 (view-end-message): Use quit-restore window parameter.
7246 * window.el (display-buffer-function): Rewrite doc-string.
7247 (display-buffer-window, display-buffer-alist): New variables.
7248 (display-buffer-split-specifiers)
7249 (display-buffer-side-specifiers)
7250 (display-buffer-macro-specifiers): New constants.
7251 (display-buffer-even-window-sizes, display-buffer-set-height)
7252 (display-buffer-set-width, display-buffer-select-window)
7253 (display-buffer-in-window, display-buffer-reuse-window)
7254 (display-buffer-split-window-1, display-buffer-split-window)
7255 (display-buffer-split-atom-window, display-buffer-pop-up-window)
7256 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
7257 (display-buffer-in-side-window, normalize-buffer-to-display)
7258 (display-buffer-normalize-specifiers-1)
7259 (display-buffer-normalize-specifiers-2)
7260 (display-buffer-normalize-specifiers, display-buffer-frame):
7262 (display-buffer): Major rewrite.
7263 (display-buffer-other-window, display-buffer-other-frame)
7264 (pop-to-buffer, switch-to-buffer-other-window)
7265 (switch-to-buffer-other-frame): Rewrite.
7266 (display-buffer-same-window, display-buffer-same-frame)
7267 (display-buffer-same-frame-other-window)
7268 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7269 (pop-to-buffer-other-window)
7270 (pop-to-buffer-same-frame-other-window)
7271 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
7272 (switch-to-buffer-other-window-same-frame): New functions.
7273 (same-window-p, special-display-p): Rewrite disabling warnings.
7275 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7276 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
7278 (same-window-buffer-names, same-window-regexps)
7279 (special-display-frame-alist, special-display-popup-frame)
7280 (special-display-function, special-display-buffer-names)
7281 (special-display-regexps, pop-up-frame-alist)
7282 (pop-up-frame-function, split-window-preferred-function)
7283 (split-height-threshold, split-width-threshold)
7284 (even-window-heights): Make obsolete.
7286 2011-06-12 Glenn Morris <rgm@gnu.org>
7288 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7289 Misc simplifications.
7291 2011-06-12 Martin Rudalics <rudalics@gmx.at>
7293 * window.el (window-safely-shrinkable-p): Restore function which
7294 was inadvertently removed in change from 2011-06-11. Declare as
7297 * calendar/calendar.el (calendar-generate-window):
7298 Use window-iso-combined-p instead of combination of one-window-p and
7299 window-safely-shrinkable-p.
7301 2011-06-12 Glenn Morris <rgm@gnu.org>
7303 * progmodes/fortran.el (fortran-mode-syntax-table):
7304 * progmodes/f90.el (f90-mode-syntax-table):
7305 Set % to punctuation. (Bug#8820)
7306 (f90-find-tag-default): Remove, no longer needed.
7308 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
7310 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
7312 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
7314 * image.el (image-animated-p): Return animation delay in seconds.
7315 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
7316 (image-animate-timeout): Remove DELAY argument. Don't assume
7317 every subimage has the same delay; get it from image-animated-p.
7318 (image-animate): Caller changed.
7320 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
7322 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
7323 to ignored backtrace functions.
7325 2011-06-11 Glenn Morris <rgm@gnu.org>
7327 * calendar/appt.el (appt-disp-window-function): Doc fix.
7328 (appt-check): Handle overlapping appointments. (Bug#8337)
7330 2011-06-11 Martin Rudalics <rudalics@gmx.at>
7332 * window.el (window-tree-1, window-tree): New functions, moving
7333 the latter to window.el.
7334 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
7335 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
7336 (bw-refresh-edges): Remove.
7337 (balance-windows-1, balance-windows-2): New functions.
7338 (balance-windows): Rewrite in terms of window tree functions,
7339 balance-windows-1 and balance-windows-2.
7340 (bw-adjust-window): Remove.
7341 (balance-windows-area-adjust): New function with functionality of
7342 bw-adjust-window but using resize-window.
7343 (set-window-text-height): Rewrite doc-string.
7344 Use normalize-live-window and resize-window.
7345 (enlarge-window-horizontally, shrink-window-horizontally):
7346 Rename argument to DELTA.
7347 (window-buffer-height): New function.
7348 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
7349 Rewrite using new window resize routines.
7350 (kill-buffer-and-window, mouse-autoselect-window-select):
7351 Use ignore-errors instead of condition-case.
7352 (quit-window): Call delete-frame instead of delete-windows-on
7353 for the only buffer on frame.
7355 2011-06-10 Martin Rudalics <rudalics@gmx.at>
7357 * loadup.el (top-level): Load window before files for the sake
7358 of replace-buffer-in-windows.
7360 * files.el (read-buffer-to-switch)
7361 (switch-to-buffer-other-window)
7362 (switch-to-buffer-other-frame, display-buffer-other-frame):
7365 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
7366 (previous-buffer): Move to window.el.
7368 * bindings.el (unbury-buffer): Move to window.el.
7370 * window.el (delete-other-windows-vertically): Move after
7371 definition of delete-other-windows.
7372 (other-window, delete-windows-on, replace-buffer-in-windows):
7373 Move here from window.c.
7374 (record-window-buffer, unrecord-window-buffer)
7375 (set-window-buffer-start-and-point, switch-to-prev-buffer)
7376 (switch-to-next-buffer): New functions.
7377 (get-next-valid-buffer, last-buffer, next-buffer): Move here
7378 from simple.el. Call switch-to-next-buffer.
7379 (previous-buffer): Move here from simple.el.
7380 Call switch-to-prev-buffer.
7381 (bury-buffer): Move here from buffer.c. Switch to previous
7382 buffer when window cannot be deleted.
7383 (unbury-buffer): Move here from bindings.el.
7384 (ctl-x-map): Move binding for other-window from window.c to
7386 (read-buffer-to-switch, switch-to-buffer-other-window)
7387 (switch-to-buffer-other-frame): Move here from files.el.
7388 (normalize-buffer-to-switch-to): New functions.
7389 (switch-to-buffer): Move here from buffer.c.
7390 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
7392 2011-06-10 Martin Rudalics <rudalics@gmx.at>
7394 * window.el (window-min-height, window-min-width): Move here
7395 from window.c. Add defcustoms and rewrite doc-strings.
7396 (resize-mini-window, resize-window): New functions.
7397 (adjust-window-trailing-edge, enlarge-window, shrink-window):
7398 Move here from window.c.
7399 (maximize-window, minimize-window): New functions.
7400 (delete-window, delete-other-windows, split-window): Move here
7402 (window-split-min-size): New function.
7403 (split-window-keep-point): Mention split-window-above-each-other
7404 instead of split-window-vertically.
7405 (split-window-above-each-other, split-window-vertically):
7406 Rename split-window-vertically to split-window-above-each-other
7407 and provide defalias for old definition.
7408 (split-window-side-by-side, split-window-horizontally):
7409 Rename split-window-horizontally to split-window-side-by-side
7410 and provide defalias for the old definition.
7411 (ctl-x-map): Move bindings for delete-window,
7412 delete-other-windows and enlarge-window here from window.c.
7413 Replace bindings for split-window-vertically and
7414 split-window-horizontally by bindings for
7415 split-window-above-each-other and split-window-side-by-side.
7417 * cus-start.el (all): Remove entries for window-min-height and
7418 window-min-width. Add entries for window-splits and
7421 2011-06-09 Glenn Morris <rgm@gnu.org>
7423 * calendar/appt.el (appt-mode-line): New function.
7424 (appt-check, appt-disp-window): Use it.
7426 * files.el (hack-one-local-variable-eval-safep):
7427 Allow minor-modes with explicit +/-1 arguments.
7429 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
7431 * term/xterm.el (xterm): Add defgroup.
7432 (xterm-extra-capabilities): Add defcustom to supply known xterm
7433 capabilities, skip querying them, or query them (default).
7434 (terminal-init-xterm): Use it.
7435 (terminal-init-xterm-modify-other-keys): New function to set up
7436 modifyOtherKeys support to simplify `terminal-init-xterm'.
7438 2011-06-09 Martin Rudalics <rudalics@gmx.at>
7440 * window.el (resize-window-reset, resize-window-reset-1)
7441 (resize-subwindows-skip-p, resize-subwindows-normal)
7442 (resize-subwindows, resize-other-windows, resize-this-window)
7443 (resize-root-window, resize-root-window-vertically)
7444 (window-deletable-p, window-or-subwindow-p)
7445 (frame-root-window-p): New functions.
7447 2011-06-09 Glenn Morris <rgm@gnu.org>
7449 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
7450 (ange-ftp-get-files): Use it.
7452 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7454 * mail/sendmail.el (mail-recover-1, mail-recover):
7455 * files.el (recover-file, recover-session):
7456 Handle dired-listing-switches not being just a single short option.
7458 2011-06-09 Glenn Morris <rgm@gnu.org>
7460 * calendar/appt.el (appt-display-message, appt-disp-window):
7461 Handle lists of appointments.
7463 2011-06-08 Martin Rudalics <rudalics@gmx.at>
7465 * window.el (one-window-p): Move down in code.
7467 (window-current-scroll-bars): Rewrite doc-string.
7468 Normalize live window argument.
7469 (walk-windows, get-window-with-predicate, count-windows):
7470 Rewrite doc-string. Use window-list-1.
7471 (window-in-direction-2, window-in-direction, get-mru-window):
7474 2011-06-08 Reuben Thomas <rrt@sc3d.org>
7476 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
7479 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
7481 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
7483 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
7485 * loadhist.el (unload-feature-special-hooks):
7486 Add `comint-output-filter-functions'.
7488 2011-06-08 Ivan Kanis <gnu@kanis.fr>
7490 * calendar/appt.el (appt-check): Move some initializations into the let.
7492 2011-06-08 Martin Rudalics <rudalics@gmx.at>
7494 * window.el (window-height): Defalias to window-total-height.
7495 (window-width): Defalias to window-body-width.
7497 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
7499 * image-mode.el (image-toggle-animation): New command.
7500 (image-mode-map): Bind it to RET.
7501 (image-mode): Update message.
7502 (image-toggle-display-image): Avoid a spurious cache flush.
7503 (image-transform-rotation): Doc fix.
7504 (image-transform-properties): Return quickly in the normal case.
7505 (image-animate-loop): Rename from image-animate-max-time.
7507 * image.el (image-animate-max-time): Move to image-mode.el.
7508 (create-animated-image): Remove unnecessary function.
7509 (image-animate): Rename from image-animate-start. New arg.
7510 (image-animate-stop): Remove; just use image-animate-timer.
7511 (image-animate-timer): Use car-safe.
7512 (image-animate-timeout): Rename argument.
7514 2011-06-07 Martin Rudalics <rudalics@gmx.at>
7516 * window.el (get-lru-window, get-largest-window): Move here from
7517 window.c. Rename first argument to ALL-FRAMES.
7518 Rephrase doc-strings.
7519 (get-buffer-window-list): Rewrite using window-list-1.
7520 Rephrase doc-string.
7521 (window-safe-min-height, window-safe-min-width): New constants.
7522 (window-size-ignore, window-min-size, window-min-size-1)
7523 (window-sizable, window-sizable-p, window-size-fixed-1)
7524 (window-size-fixed-p, window-min-delta-1, window-min-delta)
7525 (window-max-delta-1, window-max-delta, window-resizable)
7526 (window-resizable-p, window-total-height, window-total-width)
7527 (window-body-width): New functions.
7528 (window-full-height-p, window-full-width-p): Rewrite using
7530 (window-body-height): Rewrite using window-body-size.
7532 2011-06-06 Martin Rudalics <rudalics@gmx.at>
7534 * window.el (window-right, window-left, window-child)
7535 (window-child-count, window-last-child, window-any-p)
7536 (normalize-live-buffer, normalize-live-frame)
7537 (normalize-any-window, normalize-live-window)
7538 (window-iso-combination-p, window-iso-combined-p)
7539 (window-iso-combinations)
7540 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
7541 (windows-with-parameter, window-with-parameter)
7542 (window-atom-root, make-window-atom, window-atom-check-1)
7543 (window-atom-check, window-side-check, window-check):
7545 (ignore-window-parameters, window-sides, window-sides-vertical)
7546 (window-sides-slots): New variables.
7547 (window-size-fixed): Move down in code. Minor doc-string fix.
7549 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
7551 * comint.el (comint-dynamic-complete-as-filename)
7552 (comint-dynamic-complete-filename): Correctly call
7553 completion-in-region.
7555 2011-06-05 Deniz Dogan <deniz@dogan.se>
7557 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
7560 2011-06-05 Deniz Dogan <deniz@dogan.se>
7562 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
7563 (rcirc): Use it to prompt for encryption.
7565 2011-06-05 Roland Winkler <winkler@gnu.org>
7567 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
7568 (bibtex-search-entries): New command bound to C-c C-a.
7569 (bibtex-display-entries): New function.
7571 2011-06-05 Roland Winkler <winkler@gnu.org>
7573 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
7574 (bibtex-insert-kill): After yanking insert newline if necessary.
7575 (bibtex-initialize): Call bibtex-string-files-init only once.
7576 (bibtex-mode): Do not call easy-menu-add.
7577 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
7578 (bibtex-yank): Set arg properly if nil.
7580 2011-06-05 Roland Winkler <winkler@gnu.org>
7582 * textmodes/bibtex.el (bibtex-search-entry-globally):
7584 (bibtex-search-entry): Use it.
7586 2011-06-05 Roland Winkler <winkler@gnu.org>
7588 * textmodes/bibtex.el (bibtex-entry-format): New option
7590 (bibtex-format-entry, bibtex-reformat): Honor this option.
7591 (bibtex-parse-entry): Return fields in proper order.
7593 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
7595 * doc-view.el (doc-view-remove-if): Move computation of result out
7596 of `dolist' to silence misleading lexical-binding warning.
7598 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
7600 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
7601 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
7603 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7605 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
7608 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
7610 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
7611 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
7612 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
7613 (tramp-parse-putty):
7614 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
7615 (tramp-completion-function-alist-ssh)
7616 (tramp-completion-function-alist-telnet)
7617 (tramp-completion-function-alist-su)
7618 (tramp-completion-function-alist-putty): Set `tramp-autoload'
7623 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
7624 load "tramp.el" `tramp-set-completion-function'.
7626 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7628 * shell.el: Require and use pcomplete.
7629 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
7630 (shell-completion-vars): Set pcomplete-default-completion-function.
7632 2011-06-04 Deniz Dogan <deniz@dogan.se>
7634 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
7637 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7639 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
7641 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
7643 * bs.el (bs--mark-unmark, bs--nth-wrapper):
7644 * mpc.el (mpc-select-extend, mpc-songpointer-context):
7645 * vc/log-view.el (log-view-beginning-of-defun):
7646 * vc/smerge-mode.el (smerge-apply-resolution-patch)
7647 (smerge-refine-forward, smerge-refine-chopup-region):
7648 Silence warning for unused `dotimes' counter variables.
7650 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7652 * net/tramp.el (tramp-with-progress-reporter): Rename from
7653 with-progress-reporter. Use `declare'.
7656 * net/tramp-gvfs.el: Update all uses.
7658 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
7660 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
7661 buffer isn't killed before making it current.
7663 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7665 Silence various byte-compiler warnings.
7666 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
7667 `access-type' and new obsolescence format.
7668 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
7670 (byte-compile-check-variable): New `access-type' argument.
7671 Only warn if the access-type is obsolete.
7672 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7673 (byte-compile-variable-set): Adjust callers.
7674 * help-fns.el (describe-variable): Adjust to new obsolescence format.
7675 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
7676 setting it as obsolete.
7677 * simple.el (minibuffer-completing-symbol):
7678 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
7680 * minibuffer.el (minibuffer-completing-file-name): Don't make it
7682 * international/quail.el (quail-mouse-choose-completion): Remove unused
7683 code referring to obsolete var.
7684 (quail-choose-completion-string): Remove.
7685 * server.el (server-clients-with, server-kill-buffer-query-function)
7686 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
7687 * proced.el (proced-send-signal):
7688 * emacs-lisp/lisp.el (lisp-complete-symbol):
7689 Replace completion-annotate-function with completion-extra-properties.
7691 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * simple.el (goto-line): Use read-number.
7694 (overriding-map-is-bound): Remove.
7695 (saved-overriding-map): Change default.
7696 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
7697 Take the map as argument.
7698 (universal-argument, negative-argument, digit-argument): Use it.
7699 (restore-overriding-map): Adjust.
7700 (do-auto-fill): Use fill-forward-paragraph.
7701 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
7703 * minibuffer.el (minibuffer-inactive-mode-map): New var.
7704 (minibuffer-inactive-mode): New major mode.
7705 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
7706 the *Messages* buffer" hack.
7707 (mouse-popup-menubar): Don't burp if the event is a normal key.
7709 Miscellaneous tweaks.
7710 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
7711 lexical scoping as in subr.el's dolist and dotimes.
7712 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
7713 Silence compiler warning.
7714 * thingatpt.el (forward-whitespace): Trivial coding style fix.
7715 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
7716 * international/ccl.el (ccl-compile): Trivial simplification.
7717 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
7718 * emacs-lisp/testcover.el (testcover-end): Remove spurious
7719 `printflag' argument.
7720 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7721 Purecopy the whole obsolescence data.
7723 2011-06-01 Leo Liu <sdl.web@gmail.com>
7725 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
7726 improve doc-string as suggested by Marco Pessotto
7727 <melmothx@gmail.com>.
7728 (rcirc-print): Fix last change.
7730 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * minibuffer.el (complete-with-action): Return nil for the metadata and
7733 boundaries of non-functional tables.
7734 (completion-table-dynamic): Return nil for the metadata.
7735 (completion-table-with-terminator): Add default case, using
7736 complete-with-action.
7737 (completion--metadata): New function.
7738 (completion-all-sorted-completions, minibuffer-completion-help): Use it
7739 to try and avoid pathological performance problems.
7740 (completion--embedded-envvar-table): Return `category' metadata.
7742 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
7744 * subr.el (process-alive-p): New tiny convenience function.
7746 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7748 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
7749 content but also its previous major mode.
7751 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
7753 * emacs-lisp/debug.el (debug): Restore the previous content of the
7754 *Backtrace* buffer when we exit with C-M-c.
7756 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7758 * minibuffer.el: Add metadata method to completion tables.
7759 (completion-category-overrides): New defcustom.
7760 (completion-metadata, completion--field-metadata)
7761 (completion-metadata-get, completion--styles)
7762 (completion--cycle-threshold): New functions.
7763 (completion-try-completion, completion-all-completions):
7764 Add `metadata' argument to choose completion-styles.
7765 (completion--do-completion): Use metadata to choose cycling.
7766 (completion-all-sorted-completions): Use metadata for sorting.
7767 Remove :completion-cycle-penalty which is not needed any more.
7768 (completion--try-word-completion): Add `metadata' argument.
7769 (minibuffer-completion-help): Check metadata for annotation function
7771 (completion-file-name-table): Return `category' metadata.
7772 (minibuffer-completing-file-name): Make obsolete.
7773 * simple.el (minibuffer-completing-symbol): Make obsolete.
7774 * icomplete.el (icomplete-completions): Pass new `metadata' param to
7775 completion-try-completion.
7777 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
7781 2011-05-30 Leo Liu <sdl.web@gmail.com>
7783 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
7784 (rcirc-print): Decode all incoming messages (bug#8744).
7785 (rcirc-decode-coding-system): Allow value nil for automatic coding
7788 2011-06-01 Glenn Morris <rgm@gnu.org>
7790 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
7792 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7794 * image.el (image-animate-max-time): Allow nil and t values.
7796 (create-animated-image): Doc fix.
7797 (image-animate-start): Remove second arg; just use
7798 image-animate-max-time.
7799 (image-animate-timeout): Doc fix. Args changed.
7801 * image-mode.el (image-toggle-display-image): Ensure that the
7802 image spec passed to the animate timer is the same object as in
7803 the buffer's display property (Bug#6981).
7804 (image-transform-properties): Doc fix.
7806 * image.el (image-animate-max-time): Default to nil.
7808 2011-05-29 Martin Rudalics <rudalics@gmx.at>
7810 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
7811 entire buffer list (Bug#8184).
7813 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7815 * image.el (imagemagick-types-inhibit)
7816 (imagemagick-register-types): Doc fix.
7818 2011-05-29 Deniz Dogan <deniz@dogan.se>
7820 * net/rcirc.el (rcirc): Use the user's stored encryption method by
7823 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
7825 * select.el: Don't perform clipboard-manager saving in hooks;
7826 leave the hooks empty.
7828 2011-05-28 Leo Liu <sdl.web@gmail.com>
7830 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
7831 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
7832 (occur-edit-mode): New major mode (Bug#8463).
7833 (occur-after-change-function): New function.
7834 (occur-engine): Give Occur tags a read-only property.
7836 2011-05-28 Kevin Ryde <user42@zip.com.au>
7838 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
7840 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7842 * bindings.el (help-echo): Make the initial non-indicator dash
7843 empty on graphical terminals (Bug#7295).
7845 * files.el (auto-mode-alist): Move config rule after the
7846 in-stripping one (Bug#8547).
7848 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
7850 * startup.el (normal-splash-screen): Remove gratuitous mode-line
7853 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
7855 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
7856 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
7859 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7861 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
7863 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7865 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
7866 (hs-hide-block-at-point, hs-find-block-beginning)
7867 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
7870 2011-05-28 Glenn Morris <rgm@gnu.org>
7872 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
7874 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
7876 * help-fns.el (describe-function-1): If the function is a derived
7877 major mode, print the parent mode.
7879 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
7880 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
7882 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * minibuffer.el (completion--capf-wrapper): Check applicability before
7885 returning non-nil for non-exclusive completion data.
7886 * progmodes/etags.el (tags-completion-at-point-function):
7887 * info-look.el (info-lookup-completions-at-point): Mark as
7889 (info-complete): Adjust accordingly.
7891 * info-look.el: Convert to lexical-binding and completion-at-point.
7892 (info-lookup-completions-at-point): New function.
7893 (info-complete): Use it and completion-in-region.
7895 2011-05-28 Drew Adams <drew.adams@oracle.com>
7897 * isearch.el: Let M-e start with point at the first mismatched char.
7898 (isearch-fail-pos): New function.
7899 (isearch-edit-string): Use it.
7901 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7903 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7905 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7907 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
7908 traversal functions for avl-trees.
7909 (avl-tree--stack): New struct.
7910 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
7911 (avl-tree-enter): Add optional `updatefun' arg.
7912 (avl-tree--do-enter): Add optional `updatefun' arg.
7913 Change return value.
7914 (avl-tree-delete): Add optional `test' and `nilflag' args.
7915 (avl-tree--do-delete): Add `test' and `nilflag' args.
7916 Change return value.
7917 (avl-tree-member): Add optional `nilflag'
7918 (avl-tree-member-p): New function.
7919 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
7920 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
7921 (avl-tree-stack-empty-p): New functions.
7923 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
7925 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
7926 avl-tree--del-balance1 and make it work both ways.
7927 (avl-tree--del-balance2): Remove.
7928 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
7929 make it work both ways.
7930 (avl-tree--enter-balance2): Remove.
7931 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
7933 (avl-tree--mapc, avl-tree-map): Add direction argument.
7935 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7937 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
7939 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
7941 * select.el: Support clipboard managers with built-in function
7942 x-clipboard-manager-save, via delete-frame-functions and
7944 (xselect-convert-to-targets): Add MULTIPLE target to list.
7945 (xselect-convert-to-save-targets): New function.
7947 2011-05-27 Kenichi Handa <handa@m17n.org>
7949 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
7950 let-binding rfc2047-encode-encoded-words to nil.
7952 2011-05-27 Glenn Morris <rgm@gnu.org>
7954 * mail/emacsbug.el: Don't require url-util.
7956 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
7958 * files.el (set-auto-mode):
7959 Also respect mode: entries at the end of the file. (Bug#8586)
7961 2011-05-26 Glenn Morris <rgm@gnu.org>
7963 * files.el (hack-local-variables-prop-line, hack-local-variables):
7964 Downcase mode names, as seems to be traditional.
7965 (hack-local-variables, hack-local-variables-apply): Doc fixes.
7967 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
7968 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
7970 2011-05-25 Julien Danjou <julien@danjou.info>
7972 * textmodes/rst.el (rst-define-level-faces): Do not define face
7973 symbol if it is already defined.
7975 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
7977 * play/5x5.el (5x5-new-game, 5x5-randomize):
7978 Reset 5x5-solver-output to nil when a new grid is cast.
7979 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
7980 these debugging traces, as defmacro breaks the compiled code.
7982 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
7984 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
7986 2011-05-24 Leo Liu <sdl.web@gmail.com>
7988 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
7989 (vc-bzr-sha1): Adapt.
7991 * sha1.el: Remove. Function `sha1' is now builtin.
7993 * bindings.el: Provide sha1 feature.
7995 2011-05-24 Kenichi Handa <handa@m17n.org>
7997 * mail/sendmail.el: Require `rfc2047'.
7998 (mail-insert-from-field): Do not perform RFC2047 encoding.
7999 (mail-encode-header): New function.
8000 (sendmail-send-it): Set buffer-file-coding-system of the work
8001 buffer to the return value of select-message-coding-system.
8002 Call mail-encode-header.
8004 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
8006 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
8008 * mail/supercite.el (sc-default-cite-frame):
8009 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
8011 2011-05-24 Glenn Morris <rgm@gnu.org>
8013 * progmodes/python.el (brm-menu): Declare.
8015 * emulation/viper.el (viper-set-hooks): Declare.
8017 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
8018 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
8019 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
8020 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
8021 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
8022 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
8024 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8026 Add an :exit-function for completion-at-point.
8028 * minibuffer.el (completion--done): New fun.
8029 (completion--do-completion): Use it. New arg `expect-exact'.
8030 (minibuffer-complete, minibuffer-complete-word): Don't output message,
8031 since completion--do-completion does it for us now.
8032 (minibuffer-force-complete): Use completion--done and
8033 completion--replace. Handle sole-completion case with more care.
8034 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
8035 (completion-extra-properties): New var.
8036 (completion-annotate-function): Make obsolete.
8037 (minibuffer-completion-help): Adjust accordingly.
8038 Use completion-list-insert-choice-function.
8039 (completion-at-point, completion-help-at-point):
8040 Bind completion-extra-properties.
8041 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
8042 * simple.el (completion-list-insert-choice-function): New var.
8043 (completion-setup-function): Preserve it.
8044 (choose-completion): Pay attention to it, shuffle the code a bit.
8045 (choose-completion-string): New arg `insert-function'.
8047 * textmodes/bibtex.el: Convert to lexical binding.
8048 (bibtex-mode-map): Use completion-at-point.
8049 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
8050 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
8051 (bibtex-complete): Define as obsolete alias.
8052 (bibtex-complete-internal): Remove.
8053 (bibtex-format-entry): Remove unused sub-group in regexp.
8054 * shell.el (shell--command-completion-data)
8055 (shell-environment-variable-completion):
8056 * pcomplete.el (pcomplete-completions-at-point):
8057 * comint.el (comint--complete-file-name-data): Use :exit-function
8058 instead of completion-table-with-terminator so it also works for
8061 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8063 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
8065 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
8068 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
8070 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
8072 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
8073 customization variable and implement: If non-nil, auto-fill will
8074 be inhibited while on topic's header line.
8076 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
8078 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
8079 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
8080 always have a solution in grid size = 5 cases.
8081 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
8082 (5x5-solver-output, 5x5-log-buffer): New vars.
8083 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
8084 Make these variables buffer local to achieve 5x5 multi-session-ness.
8085 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
8086 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
8087 (5x5-solve-suggest): New funs.
8088 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
8089 randomize a grid so that we ensure that there is always a solution.
8090 (5x5-make-random-grid): Allow other movement than flipping.
8092 2011-05-23 Kevin Ryde <user42@zip.com.au>
8094 * emacs-lisp/advice.el (ad-read-advised-function):
8095 Use `function-called-at-point' as the default, if it has
8096 advice and passes PREDICATE.
8098 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8100 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
8101 byte-compile-lambda if it's actually a lambda.
8103 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
8104 Fix function quoting. Use backquote better.
8106 2011-05-22 Yuanle Song <sylecn@gmail.com>
8108 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
8109 matching (Bug#8516).
8111 2011-01-22 Jari Aalto <jari.aalto@cante.net>
8113 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
8114 different face (Bug#8178).
8116 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
8118 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
8121 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
8123 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
8124 funcall as well (bug#8712). Warn when performing those conversions.
8125 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
8127 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
8129 2011-05-22 Glenn Morris <rgm@gnu.org>
8131 * files.el (hack-local-variables-prop-line): Small simplifications.
8132 (hack-local-variables, hack-local-variables-prop-line):
8133 If MODE-ONLY, return the mode, rather than just `t'.
8135 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
8139 2011-05-21 Glenn Morris <rgm@gnu.org>
8141 * files.el (hack-local-variables-prop-line, hack-local-variables):
8142 If only interested in the mode, don't bother doing the other stuff.
8144 * image-mode.el (image-after-revert-hook):
8145 Redraw all frames on which the image is visible. (Bug#8567)
8147 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
8149 * wid-edit.el (widget-checklist-match-inline):
8150 Fix 2011-04-19 change. (Bug#8649)
8152 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
8155 Also allow singlespace after single-letter capitals followed by a dot.
8157 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
8158 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
8160 2011-05-20 Nix <nix@esperi.org.uk>
8162 * files.el (basic-save-buffer-2):
8163 Fix handling of break-hardlink-on-save with non-existent files.
8165 2011-05-19 Deniz Dogan <deniz@dogan.se>
8167 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
8168 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
8170 2011-05-19 Glenn Morris <rgm@gnu.org>
8172 * progmodes/f90.el (f90-type-def-re):
8173 Handle "type, bind(c)". (Bug#8691)
8175 * emacs-lisp/autoload.el (batch-update-autoloads):
8176 Set autoload-excludes by parsing loadup.el rather than Makefiles.
8178 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
8180 * net/tramp.el (tramp-process-actions): Set "first-password-request"
8181 property for the correct connection in case of multihops.
8183 2011-05-18 Glenn Morris <rgm@gnu.org>
8185 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
8186 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
8188 Rationalize calendar handling of day and month abbrev-arrays.
8189 * calendar/calendar.el (calendar-customized-p): New function.
8190 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8191 (calendar-day-name-array, calendar-month-name-array): Doc fix.
8193 (calendar-abbrev-length, calendar-day-abbrev-array)
8194 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
8195 (calendar-day-abbrev-array, calendar-month-abbrev-array):
8196 Elements may no longer be nil.
8197 (calendar-day-name, calendar-month-name):
8198 Update for changed nature of abbrev arrays.
8199 * calendar/diary-lib.el (diary-name-pattern):
8200 Update for changed nature of abbrev arrays.
8201 (diary-mark-entries-1): Update calendar-make-alist calls.
8202 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
8203 * calendar/cal-html.el (cal-html-day-abbrev-array):
8204 Simply inherit from calendar-day-abbrev-array.
8206 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8208 * progmodes/grep.el (grep-mode): Disable default
8209 compilation-directory-matcher setting (bug#8684).
8211 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
8213 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
8214 instead of "head" and "tail". There were problems with SunOS 5.9,
8215 and it performs better.
8217 2011-05-17 Glenn Morris <rgm@gnu.org>
8219 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
8221 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8222 Replace obsolete function.
8224 * shell.el (pcomplete-parse-arguments-function): Declare.
8226 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
8227 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
8228 (appt-check): Doc fixes.
8229 (appt-disp-window-function, appt-delete-window-function):
8230 Remove needless special case in custom :type.
8231 (appt-display-count): Default to 0, not nil.
8232 (appt-check): Reset appt-display-count to 0, not nil.
8234 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
8236 * progmodes/python.el (python-font-lock-keywords):
8237 Add the Python 3.X keyword "nonlocal" (bug#8639).
8239 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8241 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
8243 2011-05-16 Kevin Ryde <user42@zip.com.au>
8245 * info-look.el (makefile-automake-mode): New setups, looking in
8246 automake manual, then makefile-mode.
8247 (makefile-mode): Remove automake manual, have it just in
8248 makefile-automake-mode since there's various things different or
8249 not relevant to plain make.
8250 (makefile-mode): Remove "other-modes" non-existent automake-mode,
8251 believe a hypothetical automake-mode would go to makefile-mode,
8252 not the other way around.
8254 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
8256 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
8257 hunk-end tags (Bug#8672).
8259 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
8260 vc-annotate-show-diff-revision-at-line (Bug#8671).
8262 2011-05-14 Glenn Morris <rgm@gnu.org>
8264 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
8265 in the middle of an existing one with multiple authors. (Bug#8645)
8266 (change-log-font-lock-keywords): Also handle multiple author lines
8267 with leading tabs. (Bug#8644)
8269 * calendar/appt.el (appt-check): Rename some local variables.
8270 Some simplification/reordering.
8272 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
8273 (feedmail-sendmail-f-doesnt-sell-me-out)
8274 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8275 (feedmail-debug-sit-for, feedmail-queue-express-hook)
8276 (feedmail-queue-runner-message-sender): Set :version.
8277 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
8278 (bbdb-dwim-net-address, vm-mail): Declare.
8279 (feedmail-binmail-gnulinuxish-template):
8280 Rename from feedmail-binmail-linuxish-template.
8281 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
8282 Use insert-buffer-substring.
8284 2011-05-14 Bill Carpenter <bill@carpenter.org>
8286 * mail/feedmail.el (feedmail-patch-level): Increase.
8287 (feedmail-debug): New custom group.
8288 (feedmail-confirm-outgoing-timeout)
8289 (feedmail-sendmail-f-doesnt-sell-me-out)
8290 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
8291 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
8292 (feedmail-sender-line, feedmail-from-line)
8293 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
8294 (feedmail-spray-this-address)
8295 (feedmail-spray-address-fiddle-plex-list)
8296 (feedmail-queue-use-send-time-for-date)
8297 (feedmail-queue-use-send-time-for-message-id)
8298 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
8299 (feedmail-buffer-eating-function):
8301 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
8302 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
8303 (feedmail-message-action-scroll-down): New functions.
8304 (feedmail-queue-directory, feedmail-queue-draft-directory):
8305 Use expand-file-name.
8306 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
8307 Remove C-v help entry.
8308 (feedmail-queue-buffer-file-name): New variable.
8309 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
8310 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
8311 (feedmail-message-action-send-strong, feedmail-message-action-edit)
8312 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
8313 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
8314 (feedmail-message-action-toggle-spray)
8315 (feedmail-run-the-queue-no-prompts)
8316 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
8317 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
8318 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
8319 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
8320 (feedmail-envelope-deducer, feedmail-fiddle-from)
8321 (feedmail-fiddle-sender, feedmail-default-date-generator)
8322 (feedmail-fiddle-date, feedmail-fiddle-message-id)
8323 (feedmail-fiddle-spray-address)
8324 (feedmail-fiddle-list-of-spray-fiddle-plexes)
8325 (feedmail-fiddle-list-of-fiddle-plexes)
8326 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
8327 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
8328 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
8329 Change default. Doc fix.
8330 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
8331 (feedmail-binmail-linuxish-template): New constant.
8332 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
8333 Respect feedmail-sendmail-f-doesnt-sell-me-out.
8334 (feedmail-send-it): Add debug call.
8335 Use feedmail-queue-buffer-file-name, and
8336 feedmail-send-it-immediately-wrapper.
8337 (feedmail-message-action-send): Add debug call.
8338 Use feedmail-send-it-immediately-wrapper.
8339 (feedmail-queue-express-to-queue): Add debug call.
8340 Run feedmail-queue-express-hook.
8341 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
8342 (feedmail-message-action-help-blat):
8343 Rename from feedmail-queue-send-edit-prompt-help-first.
8344 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
8345 Check line-endings. Handle errors better.
8346 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
8347 Doc fix. Add debug call.
8348 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
8349 Use feedmail-queue-send-edit-prompt-inner.
8350 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
8351 (feedmail-queue-send-edit-prompt-inner): New function, extracted
8352 from feedmail-queue-send-edit-prompt.
8353 (feedmail-queue-send-edit-prompt-help)
8354 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
8355 (feedmail-tidy-up-slug): Add debug call.
8356 Respect feedmail-queue-slug-suspect-regexp.
8357 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
8358 (feedmail-dump-message-to-queue): Add debug call.
8359 Expand queue-directory.
8360 (feedmail-dump-message-to-queue): Change message slightly.
8361 Use feedmail-say-chatter.
8362 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
8363 (feedmail-send-it-immediately-wrapper): New function.
8364 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
8365 Insert empty string rather than newline. Handle full-frame case.
8366 Use catch/throw. Use feedmail-say-chatter.
8367 (feedmail-fiddle-from): Try mail-host-address.
8368 (feedmail-default-message-id-generator): Doc fix.
8369 Bind system-time-locale. Handle missing end.
8370 (feedmail-fiddle-x-mailer): Add debug call.
8371 Handle feedmail-x-mailer-line being nil.
8372 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
8373 Add debug call. Use buffer-substring-no-properties.
8374 (feedmail-say-debug, feedmail-say-chatter): New functions.
8375 (feedmail-find-eoh): Give an explicit error.
8377 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
8379 * net/newst-treeview.el (newsticker-treeview-face): Change default
8380 family from helvetica to sans.
8381 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
8382 etc/images/newsticker.
8384 * net/newst-reader.el (newsticker-feed-face): Change default
8385 family from helvetica to sans.
8387 * net/newst-plainview.el (newsticker-new-item-face)
8388 (newsticker-old-item-face, newsticker-immortal-item-face)
8389 (newsticker-obsolete-item-face, newsticker-date-face)
8390 (newsticker-statistics-face): Change default family from
8392 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
8393 etc/images/newsticker.
8395 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
8396 (newsticker--process-auto-mark-filter-match): : Tell user about
8399 2011-05-13 Didier Verna <didier@xemacs.org>
8401 Common Lisp indentation improvements on defmethod and lambda-lists.
8402 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
8404 (lisp-lambda-list-keyword-parameter-indentation)
8405 (lisp-lambda-list-keyword-parameter-alignment)
8406 (lisp-lambda-list-keyword-alignment): New customizable user options.
8407 (lisp-indent-defun-method): Improve docstring.
8408 (extended-loop-p): Fix comment.
8409 (lisp-indent-lambda-list-keywords-regexp): New variable.
8410 (lisp-indent-lambda-list): New function.
8411 (lisp-indent-259): Use it.
8412 (lisp-indent-defmethod): Support for more than one
8413 method qualifier and properly indent methods lambda-lists.
8414 (defgeneric): Provide a missing common-lisp-indent-function property.
8416 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8418 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
8419 bounds for the empty string (bug#8667).
8421 2011-05-13 Glenn Morris <rgm@gnu.org>
8423 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
8425 * mail/sendmail.el (sendmail-program): Try executable-find first.
8426 (sendmail-send-it): `sendmail-program' cannot be unbound.
8428 * calendar/appt.el (appt-make-list): Simplify.
8429 (appt-time-msg-list): Doc fix.
8430 (appt-check): Change mode-line message at the time of the appointment.
8432 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
8434 * progmodes/ld-script.el (ld-script-keywords)
8435 (ld-script-builtins): Update keywords list.
8437 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
8441 * shell.el (shell-completion-vars): New function.
8443 * simple.el (read-shell-command): Use it.
8444 (blink-matching-open): No need for " [...]" in minibuffer-message.
8446 2011-05-12 Glenn Morris <rgm@gnu.org>
8448 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
8449 (appt-check): Simplify.
8451 2011-05-12 Eli Zaretskii <eliz@gnu.org>
8453 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
8454 literal "/dev/null".
8456 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8458 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
8461 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
8463 * progmodes/which-func.el (which-function):
8464 Use add-log-current-defun instead of add-log-current-defun-function,
8465 which might not be defined (Bug#8260).
8467 2011-05-12 Glenn Morris <rgm@gnu.org>
8469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
8470 Let byte-compile-initial-macro-environment always take precedence.
8472 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8474 * net/rcirc.el: Add support for SSL/TLS connections.
8475 (rcirc-server-alist): New field `encryption'.
8476 (rcirc): Check `encryption' settings.
8477 (rcirc-connect): New arg `encryption'. Use open-network-stream.
8478 Merge make-local-variable into `set'.
8479 (rcirc--connection-open-p): New function.
8480 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
8481 the process is not a network process (e.g. running gnutls-cli).
8482 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
8483 Make rcirc-(en|de)code-coding-system local here.
8484 (rcirc-mode): Merge make-local-variable into `set'.
8485 (rcirc-parent-buffer): Make permanent buffer-local.
8486 (rcirc-multiline-minor-mode): Don't do it here.
8487 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
8488 there's no server buffer.
8490 2011-05-11 Glenn Morris <rgm@gnu.org>
8492 * newcomment.el (comment-kill): Prefix "unused" local.
8494 * term/w32console.el (get-screen-color): Declare.
8496 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
8497 Handle symbol elements of byte-compile-initial-macro-environment.
8499 2011-05-10 Leo Liu <sdl.web@gmail.com>
8501 * bookmark.el (bookmark-bmenu-mode-map):
8502 Bind bookmark-bmenu-search to `/'.
8504 * mail/footnote.el: Convert to utf-8 encoding.
8505 (footnote-unicode-string, footnote-unicode-regexp): New variable.
8506 (Footnote-unicode): New function.
8507 (footnote-style-alist): Add unicode style to the list.
8508 (footnote-style): Doc fix.
8510 2011-05-10 Jim Meyering <meyering@redhat.com>
8512 Fix doubled-word typos.
8513 * international/quail.el (quail-insert-kbd-layout): and and -> and
8514 * kermit.el: and and -> and
8515 * net/ldap.el (ldap-search-internal): to to -> to
8516 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
8517 * progmodes/js.el (js-mode): and and -> and
8518 * textmodes/artist.el (artist-move-to-xy): at at -> at
8519 (artist-draw-region-trim-line-endings): if if -> if
8520 And Safetyc -> Safety.
8521 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
8523 2011-05-10 Glenn Morris <rgm@gnu.org>
8524 Stefan Monnier <monnier@iro.umontreal.ca>
8526 * files.el (hack-one-local-variable-eval-safep):
8527 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
8529 2011-05-10 Glenn Morris <rgm@gnu.org>
8531 * calendar/diary-lib.el (diary-list-entries-hook)
8532 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
8533 (diary-nongregorian-marking-hook, diary-list-entries)
8534 (diary-include-other-diary-files, diary-mark-entries)
8535 (diary-mark-included-diary-files): Doc fixes.
8537 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
8539 * misc.el: Require tabulated-list.el during compilation.
8541 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
8543 * progmodes/compile.el (compilation-start):
8544 Run compilation-filter-hook for the async case too.
8545 (compilation-filter-hook): Doc fix.
8547 2011-05-09 Deniz Dogan <deniz@dogan.se>
8549 * wdired.el: Remove outdated installation comment. Fix usage
8552 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
8554 * misc.el: Implement new command `list-dynamic-libraries'.
8555 (list-dynamic-libraries--loaded-only-p): New variable.
8556 (list-dynamic-libraries--refresh): New function.
8557 (list-dynamic-libraries): New command.
8559 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
8561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8562 Fix the ant regexp to handle end-line and end-column info from jikes.
8563 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
8564 higher priority to avoid clobbering by gnu.
8566 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8568 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
8569 if the face has existing theme settings (Bug#8454).
8571 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
8573 * progmodes/perl-mode.el (perl-imenu-generic-expression):
8574 Only match variables declared via `my' or `our' (Bug#8261).
8576 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
8577 special file names `.' and `..' (Bug#8259).
8579 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8581 * progmodes/grep.el (grep-mode-font-lock-keywords):
8582 Remove buffer-changing entries.
8583 (grep-filter): New function.
8584 (grep-mode): Add it to compilation-filter-hook.
8586 * progmodes/compile.el (compilation-filter-hook)
8587 (compilation-filter-start): New defvars.
8588 (compilation-filter): Call compilation-filter-hook prior to
8589 updating the process mark.
8591 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8593 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
8595 2011-05-07 Eli Zaretskii <eliz@gnu.org>
8597 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8598 mailclient-send-it even if window-system is nil. (Bug#8595)
8600 * term/w32console.el (terminal-init-w32console):
8601 Call get-screen-color and use its output to set the frame
8602 background-mode. (Bug#8597)
8604 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8606 Make bytecomp.el understand that defmethod defines funs (bug#8631).
8607 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
8609 (defgeneric, eieio--defmethod): Use them.
8610 (eieio-defgeneric): Remove.
8611 (defmethod): Call defgeneric in a way visible to the byte-compiler.
8613 2011-05-07 Glenn Morris <rgm@gnu.org>
8615 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
8616 Use let rather than let*.
8617 (timeclock-find-discrep): Remove unused local.
8619 * calendar/diary-lib.el (diary-comment-start): Doc fix.
8621 * calendar/appt.el (appt-time-msg-list): Doc fix.
8623 2011-05-06 Noah Friedman <friedman@splode.com>
8625 * apropos.el (apropos-print-doc): Only use
8626 emacs-lisp-docstring-fill-column when it is bound to an integer,
8627 per that variable's documentation.
8629 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
8632 and warnings are not silently discarded (e.g. use -d instead of -P).
8634 2011-05-06 Glenn Morris <rgm@gnu.org>
8636 * calendar/appt.el (appt-message-warning-time): Doc fix.
8637 (appt-warning-time-regexp): New option.
8638 (appt-make-list): Respect appt-message-warning-time.
8640 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
8642 (diary-add-to-list): Strip comments from the displayed string.
8643 (diary-mode): Set comment-start and comment-end.
8645 * vc/diff-mode.el (smerge-refine-subst): Declare.
8646 (diff-refine-hunk): Don't require smerge-mode when compiling.
8648 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
8650 * simple.el (list-processes): Return nil as the docstring says.
8652 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8654 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
8656 (ange-ftp-write-region, ange-ftp-insert-file-contents)
8657 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
8658 determining of binary transfer. (Bug#7383)
8660 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
8662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8663 Fix port computation bug. (Bug#8618)
8665 2011-05-05 Glenn Morris <rgm@gnu.org>
8667 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
8669 * simple.el (shell-dynamic-complete-functions)
8670 (comint-dynamic-complete-functions): Declare.
8672 * net/network-stream.el (gnutls-negotiate):
8673 * simple.el (tabulated-list-print): Fix declarations.
8675 * progmodes/gud.el (syntax-symbol, syntax-point):
8676 Remove unnecessary and incorrect declarations.
8678 * emacs-lisp/check-declare.el (check-declare-scan):
8679 Handle byte-compile-initial-macro-environment in bytecomp.el
8681 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8683 Fix earlier half-done eieio-defmethod change (bug#8338).
8684 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
8685 Streamline and change calling convention.
8686 (defmethod): Adjust accordingly and simplify.
8687 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
8688 new eieio--defmethod.
8689 (slot-boundp): Minor CSE simplification.
8691 2011-05-05 Milan Zamazal <pdm@zamazal.org>
8693 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
8694 (glasses-make-readable): Use glasses-separate-capital-groups.
8696 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
8698 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
8699 (warning-series): Doc fix.
8700 (display-warning): Don't try to create the buffer if we just found it.
8702 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
8704 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
8705 (autoload-find-generated-file): New function.
8706 (generate-file-autoloads): Bind generated-autoload-file to
8708 (update-file-autoloads, update-directory-autoloads):
8709 Use autoload-find-generated-file. If called interactively, prompt for
8710 output file (Bug#7989).
8711 (batch-update-autoloads): Doc fix.
8713 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
8715 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
8717 2011-05-04 Glenn Morris <rgm@gnu.org>
8719 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
8720 function, so it follows changes in calendar-date-style.
8721 (diary-fancy-date-matcher): New function.
8722 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
8723 (diary-fancy-font-lock-fontify-region-function):
8724 Use diary-fancy-date-pattern as a function.
8726 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
8727 non-numbers for `year' etc pseudo-variables. (Bug#8583)
8729 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
8731 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
8732 instead of positional arguments. Allow :keylist and :crlfiles
8734 (open-gnutls-stream): Call it.
8736 * net/network-stream.el (network-stream-open-starttls): Adjust to
8737 call `gnutls-negotiate' with :process and :hostname arguments.
8739 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * minibuffer.el (completion--message): New function.
8742 (completion--do-completion, minibuffer-complete)
8743 (minibuffer-force-complete, minibuffer-complete-word): Use it.
8744 (completion--do-completion): Don't ignore completion-auto-help when in
8747 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
8748 internal encoding (e.g. tibetan zero is not whitespace).
8749 (global-whitespace-mode): Prefer save-current-buffer.
8750 (whitespace-trailing-regexp): Remove useless save-match-data.
8751 (whitespace-empty-at-bob-regexp): Minor simplification.
8753 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
8755 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
8757 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8759 * textmodes/ispell.el (ispell-add-per-file-word-list):
8760 Use `concat' to create string for insertion.
8762 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8764 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
8765 Avoid open-line which runs post-self-insert-hook.
8766 (bibtex-fill-entry): Remove unused `end' var.
8768 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
8770 * textmodes/ispell.el (ispell-add-per-file-word-list):
8771 Protect against `nil' value of `comment-start' (Bug#8579).
8773 2011-05-03 Leo Liu <sdl.web@gmail.com>
8775 * isearch.el (isearch-yank-pop): New command.
8776 (isearch-mode-map): Bind it to `M-y'.
8777 (isearch-forward): Mention it.
8779 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8781 * simple.el (minibuffer-complete-shell-command): Remove.
8782 (minibuffer-local-shell-command-map): Use completion-at-point.
8783 (read-shell-command): Setup completion vars here instead.
8784 (read-expression-map): Bind TAB to symbol completion.
8786 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
8787 error directly rather via storing it into `results'.
8789 2011-05-02 Leo Liu <sdl.web@gmail.com>
8791 * vc/diff.el: Fix description.
8793 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795 * server.el (server-eval-at): New function.
8797 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8799 * net/network-stream.el (open-network-stream): Take a :nowait
8800 parameter and pass it on to `make-network-process'.
8801 (network-stream-open-plain): Ditto.
8803 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
8805 * faces.el (face-spec-set-match-display): Don't match toolkit
8806 options on terminal frames.
8808 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * progmodes/pascal.el: Use lexical binding.
8811 (pascal-mode-map): Remove author preferences.
8813 * pcomplete.el (pcomplete-std-complete): Don't abuse
8814 completion-at-point.
8816 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8818 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
8819 removing code that has been dead since 1991 or so.
8821 * startup.el (command-line): When warning about "_emacs", use a
8822 delayed warning to allow the user to filter it out.
8824 2011-04-28 Deniz Dogan <deniz@dogan.se>
8826 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
8827 user has not joined.
8829 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8831 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
8832 aren't any completions at point.
8834 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
8836 * subr.el (display-delayed-warnings): New function.
8837 (delayed-warnings-hook): New variable.
8839 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * minibuffer.el (completion-at-point, completion-help-at-point):
8842 Don't presume that a given completion-at-point-function will always
8843 use the same calling convention.
8845 * pcomplete.el (pcomplete-completions-at-point):
8846 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
8847 pcomplete-seen is non-nil.
8848 (pcomplete-comint-setup): Also recognize the new comint/shell
8849 completion functions.
8850 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
8851 pcomplete-seen is non-nil.
8853 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
8855 * calendar/icalendar.el (diary-lib): Add require statement.
8856 (icalendar--create-uid): Read out a uid from a text-property on
8857 the first character in the entry. This allows for code to add its
8858 own uid to the entry.
8859 (icalendar--convert-float-to-ical): Add export of
8860 `diary-float'-entries save for those with the optional DAY
8863 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
8865 * subr.el (shell-quote-argument): Use alternate escaping strategy
8866 when we spot a variable reference in a string.
8868 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8870 * cus-start.el (all): Define customization for debug-on-event.
8872 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8874 * subr.el (shell-quote-argument): Escape correctly under Windows.
8876 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
8880 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
8882 * net/tramp.el (tramp-process-actions): Add POS argument.
8883 Delete region between POS and (pos).
8885 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8886 Use `nil' position in `tramp-process-actions' call.
8887 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
8889 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
8890 position in `tramp-process-actions' call.
8892 * net/trampver.el: Update release number.
8894 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * custom.el (defcustom): Obey lexical-binding.
8898 Fix octave-inf completion problems reported by Alexander Klimov.
8899 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
8900 Inherit from octave-mode-syntax-table.
8901 (inferior-octave-mode): Set info-lookup-mode.
8902 (inferior-octave-completion-at-point): New function.
8903 (inferior-octave-complete): Use it and completion-in-region.
8904 (inferior-octave-dynamic-complete-functions): Use it as well, and use
8905 comint-filename-completion.
8906 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
8907 symbol elements which shouldn't be word elements.
8908 (octave-font-lock-keywords, octave-beginning-of-defun)
8909 (octave-function-header-regexp): Adjust regexps accordingly.
8910 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
8912 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
8914 * net/gnutls.el (gnutls-errorp): Declare before first use.
8916 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
8918 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
8919 verify-error, and verify-hostname-error parameters. Check whether
8920 default trustfile exists before going to use it. Add missing
8921 argument to gnutls-message-maybe call. Return value.
8922 Reported by Claudio Bley <claudio.bley@gmail.com>.
8923 (open-gnutls-stream): Add usage example.
8925 * net/network-stream.el (network-stream-open-starttls): Give host
8926 parameter to `gnutls-negotiate'.
8927 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8928 * subr.el (shell-quote-argument): Escape correctly under Windows.
8930 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
8932 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8933 Use correct match group (bug#8438).
8935 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8937 * emacs-lisp/package.el (package-built-in-p): Fix typo.
8938 (package-menu--generate): New arg specifying packages to show.
8939 (package-menu-refresh, package-menu-execute, list-packages):
8941 (package-show-package-list): New function, replacing deleted
8942 package--list-packages (renamed because it is non-internal).
8944 * finder.el (finder-list-matches): Use package-show-package-list
8945 instead of deleted package--list-packages.
8947 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
8948 Based on a previous implementation by Juanma Barranquero (Bug#8366).
8949 (vc-annotate-mode-map): Bind it to RET.
8951 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
8953 * progmodes/etags.el (next-file): Don't use set-buffer to change
8956 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
8958 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
8960 * apropos.el (apropos-label-face): Avoid variable-pitch face.
8961 (apropos-accumulator): Doc fix.
8962 (apropos-function, apropos-macro, apropos-command)
8963 (apropos-variable, apropos-face, apropos-group, apropos-widget)
8964 (apropos-plist): Add face property.
8965 (apropos-symbols-internal): Fix indentation.
8966 (apropos-print): Simplify help, and recognize apropos-multi-type.
8967 (apropos-print-doc): Use button-type-get to extract the button's
8968 face property. Fill docstring (Bug#8352).
8970 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
8972 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
8974 * play/mpuz.el (mpuz-silent): Doc fix.
8975 (mpuz-mode-map): Use mapc.
8976 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
8977 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
8978 Fix typos in docstrings.
8980 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
8981 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
8983 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
8985 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
8987 * minibuffer.el (completion--do-completion): Avoid the "Next char
8988 not unique" prompt if icomplete-mode is enabled (Bug#5849).
8990 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
8991 mouse-2 into unread-command-events, it is interpreted correctly.
8993 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
8994 (image-toggle-display): Doc fix.
8996 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
8998 * textmodes/page.el (what-page): Use line-number-at-pos to
8999 calculate line number (Bug#6825).
9001 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9003 * eshell/esh-mode.el (find-tag-interactive): Declare function.
9004 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
9005 Pass argument NO-DEFAULT to `find-tag-interactive'.
9007 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
9009 Lexical-binding cleanup.
9011 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
9012 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
9013 * progmodes/ada-prj.el (ada-prj-initialize-values)
9014 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
9015 (ada-prj-show-value):
9016 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
9017 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
9018 (antlr-invalidate-context-cache, antlr-options-menu-filter)
9019 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
9020 * progmodes/bug-reference.el (bug-reference-push-button):
9021 * progmodes/fortran.el (fortran-line-length):
9022 * progmodes/glasses.el (glasses-change):
9023 * progmodes/octave-mod.el (octave-fill-paragraph):
9024 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
9025 (python-pdbtrack-grub-for-buffer, python-sentinel):
9026 * progmodes/sql.el (sql-save-connection):
9027 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
9028 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
9029 Mark unused parameters.
9031 * progmodes/compile.el (compilation--flush-directory-cache)
9032 (compilation--flush-parse, compile-internal): Mark unused parameters.
9033 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
9034 (compilation-next-error-function): Remove unused variable `timestamp'.
9036 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
9037 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
9039 * progmodes/dcl-mode.el (dcl-end-of-command):
9040 Remove unused variable `start'.
9041 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
9042 (dcl-option-value-basic, dcl-option-value-offset)
9043 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
9044 Mark unused parameters.
9045 (dcl-save-local-variable): Remove unused variable `val'.
9048 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
9049 Mark unused parameters.
9050 (delphi-ignore-changes): Move before first use.
9051 (delphi-charset-token-at): Remove unused variable `start'.
9052 (delphi-else-start): Remove unused variable `if-count'.
9053 (delphi-comment-block-start, delphi-comment-block-end):
9054 Remove unused variable `kind'.
9055 (delphi-indent-line): Remove unused variable `new-point'.
9057 * progmodes/ebrowse.el (ebrowse-files-list)
9058 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
9059 Mark unused parameters. Don't quote `lambda'.
9060 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
9061 Don't quote `lambda'.
9062 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
9063 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
9064 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
9065 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
9066 Use `ignore-errors'.
9067 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
9068 (ebrowse-view/find-file-and-search-pattern)
9069 (ebrowse-view/find-member-declaration/definition):
9070 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
9071 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
9072 Rename parameter PREFIX-ARG to PREFIX.
9073 (ebrowse-tags-read-name): Remove unused variables `start' and
9075 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
9078 * progmodes/etags.el (local-find-tag-hook): Declare.
9079 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
9080 Mark unused parameters.
9082 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
9083 (executable-interpret): Mark unused parameter.
9085 * progmodes/flymake.el (flymake-process-sentinel)
9086 (flymake-after-change-function)
9087 (flymake-create-temp-with-folder-structure)
9088 (flymake-get-include-dirs-dot): Mark unused parameters.
9089 (flymake-safe-delete-directory): Remove unused variable `err'.
9091 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
9092 (speedbar-timer-fn, speedbar-line-text)
9093 (speedbar-change-expand-button-char, speedbar-delete-subblock)
9094 (speedbar-center-buffer-smartly): Declare functions.
9095 (gdb-find-watch-expression): Remove unused variable `array'.
9096 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
9097 (gdb-starting): Mark unused parameters.
9098 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
9099 (gdb-table-string): Remove unused variable `res'.
9100 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
9101 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
9102 (gdb-display-buffer): Remove unused variable `cur-size'.
9104 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
9105 allow lexical-binding compilation.
9106 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
9107 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
9108 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
9109 Mark unused parameters.
9110 (gud-gdb-marker-filter): Remove unused variable `match'.
9111 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
9112 lambda expressions and funcall them, instead of using `fset'.
9114 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
9115 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
9117 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
9118 variable `header-beg'; use `let'.
9120 * progmodes/icon.el (indent-icon-exp): Remove unused variables
9121 `restart', `last-sexp' and `at-do'.
9123 * progmodes/js.el (js--debug): Mark unused parameter.
9124 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
9125 (js--splice-into-items): Remove unused variable `item'.
9126 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
9128 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
9129 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
9130 (makefile-complete): Remove unused variable `try'.
9131 (makefile-fill-paragraph, makefile-match-function-end):
9132 Mark unused parameters.
9134 * progmodes/octave-inf.el (inferior-octave-complete):
9135 Remove unused variable `proc'.
9136 (inferior-octave-output-digest): Mark unused parameter.
9138 * progmodes/perl-mode.el (perl-calculate-indent):
9139 Remove unused variable `err'.
9141 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
9142 (prolog-indent-line): Mark unused parameters.
9143 (prolog-indent-line): Remove unused variable `beg'.
9145 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
9146 (reporter-dont-compact-list): Declare.
9148 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
9149 Remove unused variable `char'.
9150 (sh-debug): Mark unused parameter.
9151 (sh-get-indent-info): Remove unused variable `start'.
9152 (sh-calculate-indent): Remove unused variable `var'.
9154 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
9155 (simula-electric-keyword): Remove unused variable `null'.
9156 (simula-search-backward, simula-search-forward): Remove unused
9157 variables `begin' and `end'.
9159 * progmodes/vera-mode.el (vera-guess-basic-syntax):
9160 Remove unused variable `pos'.
9161 (vera-electric-tab, vera-comment-uncomment-region):
9162 Mark unused parameters.
9163 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
9165 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
9167 * emacs-lisp/package.el (package--builtins, package-alist)
9168 (package-load-descriptor, package-built-in-p, package-activate)
9169 (define-package, package-installed-p)
9170 (package-compute-transaction, package-buffer-info)
9171 (package--push): Doc fix. Distinguish more clearly between
9172 version strings and version lists.
9174 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
9176 Lexical-binding cleanup.
9178 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
9179 (5x5-make-mutate-best):
9180 * play/fortune.el (fortune-in-buffer):
9181 * play/gomoku.el (gomoku-init-display):
9182 * play/solitaire.el (solitaire, solitaire-do-check):
9183 * play/tetris.el (tetris-default-update-speed-function):
9184 Mark unused parameters.
9186 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
9187 (bubbles--shift): Remove unused variable `char-org'.
9188 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
9189 (bubbles--show-images): Remove unused variable `char'.
9191 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
9192 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
9193 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
9194 (decipher-analyze-buffer): Use ?\s.
9195 (decipher-make-checkpoint): Remove unused variable `mapping'.
9197 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
9199 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
9200 Remove unused variable `result'; use `let'.
9202 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
9203 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
9204 (gametree-children-shown-p, gametree-compute-reduced-score):
9205 Use `ignore-errors'.
9207 * play/handwrite.el (ps-lpr-switches): Declare.
9208 (handwrite): Remove unused variables `pmin' and `lastp'.
9210 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
9212 * play/landmark.el (landmark-init-display)
9213 (landmark-update-naught-weights): Mark unused parameters.
9214 (landmark-y): Remove unused variable `noise'. Simplify.
9215 (landmark-human-plays): Remove unused variable `score'.
9217 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
9218 (mpuz-try-proposal): Remove unused variable `game'.
9220 * play/zone.el (life-patterns): Declare.
9222 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
9224 * vc/vc.el (ediff-vc-internal): Declare function.
9226 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9228 * shell.el: Use lexical-binding and std completion UI.
9229 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
9230 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
9231 comint-preoutput-filter-functions rather than on
9232 comint-output-filter-functions.
9233 (shell-command-completion, shell--command-completion-data)
9234 (shell-filename-completion, shell-environment-variable-completion)
9235 (shell-c-a-p-replace-by-expanded-directory): New functions.
9236 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
9237 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
9238 (shell-dynamic-complete-environment-variable): Use them.
9239 (shell-dynamic-complete-as-environment-variable)
9240 (shell-dynamic-complete-as-command): Remove.
9241 (shell-match-partial-variable): Match past point.
9242 * comint.el: Clean up use of completion-at-point-functions.
9243 (comint-completion-at-point): New function.
9244 (comint-mode): Use it completion-at-point-functions.
9245 (comint-dynamic-complete): Make it obsolete.
9246 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
9247 (comint-c-a-p-replace-by-expanded-history): New function.
9248 (comint-dynamic-complete-functions)
9249 (comint-replace-by-expanded-history): Use it.
9250 * minibuffer.el (completion-table-with-terminator): Allow dynamic
9251 termination strings. Try harder to avoid second try-completion.
9252 (completion-in-region-mode-map): Disable bindings that don't work yet.
9254 * comint.el: Use lexical-binding. Require CL.
9255 (comint-dynamic-complete-functions): Use comint-filename-completion.
9256 (comint-completion-addsuffix): Tweak custom type.
9257 (comint-filename-completion, comint--common-suffix)
9258 (comint--common-quoted-suffix, comint--table-subvert)
9259 (comint--complete-file-name-data): New functions.
9260 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
9261 (comint-dynamic-list-filename-completions): Use them.
9262 (comint-dynamic-simple-complete): Make obsolete.
9264 * minibuffer.el (completion-in-region-mode):
9265 Keep completion-in-region-mode--predicate global.
9266 (completion-in-region--postch):
9267 Assume completion-in-region-mode--predicate is not null.
9269 * progmodes/flymake.el (flymake-start-syntax-check-process):
9270 Obey `dir'. Simplify.
9272 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
9273 we're in VC after all.
9275 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
9277 * vc/vc.el (vc-diff-build-argument-list-internal)
9278 (vc-version-ediff, vc-ediff): New commands.
9279 (vc-version-diff): Use vc-diff-build-argument-list-internal.
9281 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9283 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
9286 * obsolete/erc-hecomplete.el: Make obsolete.
9287 * obsolete/: Standardize obsolescence info in the header.
9289 2011-04-20 Glenn Morris <rgm@gnu.org>
9291 * calendar/solar.el (solar-horizontal-coordinates):
9292 Use the longitude argument rather than `calendar-longitude'.
9293 (solar-date-next-longitude): Remove unused locals.
9295 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9297 * whitespace.el: New version 13.2.1.
9299 2011-04-20 felix <EmacsWiki> (tiny change)
9301 * whitespace.el (global-whitespace-mode): Keep highlight when
9302 switching between major modes on a file.
9304 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
9307 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
9308 multi-line comments as well.
9310 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
9312 Lexical-binding cleanup.
9314 * arc-mode.el (archive-mode-revert):
9315 * cmuscheme.el (scheme-interactively-start-process):
9316 * custom.el (custom-initialize-delay):
9317 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
9318 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
9319 * emacs-lock.el (emacs-lock-clear-sentinel):
9320 * ezimage.el (defezimage):
9321 * follow.el (follow-avoid-tail-recenter):
9322 * fringe.el (set-fringe-mode-1):
9323 * generic-x.el (bat-generic-mode-compile):
9324 * help-mode.el (help-info-variable, help-do-xref)
9325 (help-mode-revert-buffer):
9326 * help.el (view-emacs-todo):
9327 * iswitchb.el (iswitchb-completion-help):
9328 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
9329 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
9330 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
9331 * locate.el (locate-update):
9332 * longlines.el (longlines-encode-region)
9333 (longlines-after-change-function):
9334 * outline.el (outline-isearch-open-invisible):
9335 * ps-def.el (declare-function, charset-dimension, char-width)
9337 * ps-mule.el (ps-mule-plot-string):
9338 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
9339 (recentf-edit-list-select, recentf-edit-list-validate)
9340 (recentf-open-files-action):
9341 * rect.el (delete-whitespace-rectangle-line)
9342 (rectangle-number-line-callback):
9343 * register.el (window-configuration-to-register)
9344 (frame-configuration-to-register):
9345 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
9346 * select.el (xselect-convert-to-string, xselect-convert-to-length)
9347 (xselect-convert-to-targets, xselect-convert-to-delete)
9348 (xselect-convert-to-filename, xselect-convert-to-charpos)
9349 (xselect-convert-to-lineno, xselect-convert-to-colno)
9350 (xselect-convert-to-os, xselect-convert-to-host)
9351 (xselect-convert-to-user, xselect-convert-to-class)
9352 (xselect-convert-to-name, xselect-convert-to-integer)
9353 (xselect-convert-to-atom, xselect-convert-to-identity):
9354 * subr.el (declare, ignore, process-kill-without-query)
9355 (text-clone-maintain):
9356 * terminal.el (te-get-char, te-tic-sentinel):
9357 * tool-bar.el (tool-bar-make-keymap):
9358 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
9359 * type-break.el (type-break-mode, type-break-noninteractive-query):
9360 * view.el (View-back-to-mark):
9361 * wid-browse.el (widget-browse-action, widget-browse-widget)
9362 (widget-browse-widgets, widget-browse-sexp):
9363 * widget.el (define-widget-keywords):
9364 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
9365 Mark unused parameters.
9367 * align.el (align-adjust-col-for-rule): Mark unused parameter.
9368 (align-areas): Remove unused variable `look'.
9369 (align-region): Remove unused variables `real-end' and `pos-list'.
9371 * apropos.el (apropos-score-doc): Remove unused variable `i'.
9373 * bindings.el (mode-line-modified, mode-line-remote):
9374 Mark unused parameters.
9375 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
9377 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
9378 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
9380 * comint.el (comint-history-isearch-pop-state)
9381 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
9382 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
9383 (comint-substitute-in-file-name): Doc fix.
9385 * completion.el (cmpl-statistics-block): Mark unused parameter.
9386 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
9387 (save-completions-to-file, load-completions-from-file):
9388 Remove unused local variable `e'.
9390 * composite.el (compose-chars): Remove unused variable `len'.
9391 (lgstring-insert-glyph): Remove unused variable `g'.
9392 (compose-glyph-string): Remove unused variables `ascent',
9393 `descent', `lbearing' and `rbearing'.
9394 (compose-glyph-string-relative): Remove unused variables
9395 `lbearing', `rbearing' and `wadjust'.
9396 (compose-gstring-for-graphic): Remove unused variables `header',
9397 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
9398 (compose-gstring-for-terminal): Remove unused variables `header'
9399 and `nchars'. Use `let', not `let*'.
9401 * cus-edit.el (Custom-set, Custom-save, custom-reset)
9402 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
9403 (Custom-buffer-done, custom-buffer-create-internal)
9404 (custom-browse-visibility-action, custom-browse-group-tag-action)
9405 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
9406 (widget-magic-mouse-down-action, custom-toggle-parent)
9407 (custom-add-parent-links, custom-toggle-hide-variable)
9408 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
9409 (custom-toggle-hide-face, face, hook, custom-group-link-action)
9410 (custom-face-menu-create, custom-variable-menu-create, get)
9411 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
9412 (custom-reset-standard-save-and-update): Remove unused variable `value'.
9413 (customize-apropos): Remove unused variable `tests'.
9414 (custom-group-value-create): Remove unused variable `hidden-p'.
9415 (sort-fold-case): Declare.
9417 * cus-theme.el (custom-reset-standard-faces-list)
9418 (custom-reset-standard-variables-list): Declare.
9419 (customize-create-theme, custom-theme-revert, custom-theme-write)
9420 (custom-theme-choose-mode, customize-themes, custom-theme-save):
9421 Mark unused parameters.
9423 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
9425 * delim-col.el (delimit-columns-max): Move defvar before first use.
9427 * descr-text.el (describe-char-categories): Don't quote `lambda'.
9428 (describe-char): Don't quote `lambda'. Mark unused parameter.
9430 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
9431 (auto-insert): Declare.
9432 (desktop-restore-file-buffer): Rename desktop-* parameters;
9434 (desktop-create-buffer): Rename desktop-* parameters and bind them.
9435 (desktop-buffer): Rename desktop-* parameters.
9437 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9438 (dframe-reposition-frame-xemacs, dframe-help-echo)
9439 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
9440 Mark unused parameters.
9442 * dired-aux.el (backup-extract-version-start, overwrite-query)
9443 (overwrite-backup-query, rename-regexp-query)
9444 (rename-non-directory-query): Declare.
9445 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
9446 (dired-add-entry): Remove unused variable `orig-file-name'.
9447 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
9448 Use parameter PRESERVE-TIME instead of accessing dynamic variable
9449 `dired-copy-preserve-time' directly.
9450 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
9451 (dired-insert-subdir-newpos): Rename unused variable `pos'.
9453 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
9454 (dired-virtual-revert, dired-make-relative-symlink):
9455 Mark unused parameters.
9456 (manual-program): Declare.
9457 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
9458 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
9459 wrapped in `with-no-warnings' to avoid replacing one warning by another.
9461 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
9463 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
9465 * echistory.el (electric-history-in-progress, Helper-return-blurb):
9468 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
9470 * electric.el (Electric-command-loop): Rename parameter
9471 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
9473 * expand.el (expand-in-literal): Remove unused variable `here'.
9475 * facemenu.el (facemenu-add-new-color):
9476 Remove unused variable `docstring'.
9478 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
9479 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
9480 (face-attr-construct): Mark unused parameter. Doc fix.
9481 (read-color): Remove unused variable `hex-string'.
9483 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
9484 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
9485 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
9486 (display-buffer-other-frame): Remove unused variable `old-window'.
9487 (kill-buffer-hook): Declare.
9488 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
9489 Mark unused parameters.
9490 (after-find-file): Pass 1 to `auto-save-mode', not t.
9492 * files-x.el (auto-insert): Declare.
9493 (modify-file-local-variable-prop-line): Remove unused variable `val'.
9495 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
9496 variable `buf'. Mark unused parameter.
9497 (find-lisp-insert-directory): Mark unused parameter.
9499 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
9500 (format-encode-region): Remove unused variables `cur-buf' and `result'.
9501 (format-common-tail): Remove, unused.
9502 (format-deannotate-region): Remove unused variable `loc'.
9503 (format-annotate-region): Remove unused variable `p'.
9504 (format-annotate-single-property-change): Remove unused variables
9505 `default' and `tail'.
9507 * forms.el (read-file-filter): Declare.
9508 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
9510 * frame.el (frame-creation-function-alist): Mark unused parameter.
9511 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
9513 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
9514 Remove unused parameters.
9515 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
9516 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
9518 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
9519 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
9520 (hfy-prepare-tag-map): Mark unused parameters.
9521 (htmlfontify-buffer): Use `called-interactively-p'.
9523 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
9524 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
9525 (ibuffer-do-occur): Mark unused parameters.
9526 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
9527 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
9529 * ibuffer.el: Don't quote `lambda'.
9530 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
9531 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
9532 Mark unused parameters.
9534 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
9535 (ido-completing-read): Mark unused parameters.
9536 (ido-copy-current-word): Mark unused parameters;
9537 remove unused variable `name'.
9538 (ido-sort-merged-list): Remove unused parameter `dirs'.
9540 * ielm.el (ielm-input-sender): Mark unused parameter.
9541 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
9542 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
9543 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
9544 `ielm-string' as a dynamic variable accessible from the IELM prompt.
9545 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
9547 * image-dired.el (image-dired-display-thumbs): Remove unused
9548 variables `curr-file' and `count'.
9549 (image-dired-remove-tag): Remove unused variable `start'.
9550 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
9551 variable `curr-file'
9552 (image-dired-rotate-original): Remove unused variable `temp-file'.
9553 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
9554 Remove unused variable `file'.
9555 (image-dired-gallery-generate): Remove unused variable `curr'.
9556 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
9558 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
9560 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
9562 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
9564 * isearch.el (minibuffer-history-symbol): Declare.
9565 (isearch-edit-string): Remove unused variable `err'.
9566 (isearch-message-prefix, isearch-message-suffix):
9567 Mark unused parameters.
9569 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
9571 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
9573 * makesum.el (double-column): Remove unused variable `cnt'.
9575 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
9576 (ido-ignore-item-temp-list): Declare.
9578 * mouse-drag.el (mouse-drag-throw): Remove unused variables
9579 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
9580 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
9581 (mouse-drag-drag): Remove unused variables `mouse-delta' and
9584 * mouse-sel.el (mouse-extend-internal):
9585 Remove unused variable `orig-window-frame'.
9587 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
9588 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
9589 Move declarations before first use.
9590 (pcomplete-opt): Mark unused parameters; doc fix.
9592 * proced.el (proced-revert): Mark unused parameter.
9593 (proced-send-signal): Remove unused variable `err'.
9595 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
9596 Rename parameter PREFIX-ARG to ARG.
9597 (ps-basic-plot-string, ps-basic-plot-whitespace):
9598 Mark unused parameters.
9600 * replace.el (replace-count): Define.
9601 (occur-revert-function): Mark unused parameters.
9602 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
9603 (isearch-case-fold-search, isearch-string): Declare.
9604 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
9605 bind `case-fold-search'. Remove unused variables `beg' and `end',
9607 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
9608 COUNT and bind `replace-count'.
9609 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
9612 * savehist.el (print-readably, print-string-length): Declare.
9614 * shadowfile.el (shadow-expand-cluster-in-file-name):
9615 Remove unused variable `cluster'.
9616 (shadow-copy-file): Remove unused variable `i'.
9617 (shadow-noquery, shadow-clusters, shadow-site-cluster)
9618 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
9619 (shadow-define-literal-group, shadow-define-regexp-group)
9620 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
9622 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
9623 (shell): Use `called-interactively-p'.
9624 (shell-directory-tracker): Remove unused variable `chdir-failure'.
9626 * simple.el (compilation-context-lines, comint-file-name-quote-list)
9627 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
9628 (delete-backward-char): Remove unused variable `ocol'.
9629 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
9630 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
9631 (event-apply-hyper-modifier, event-apply-shift-modifier)
9632 (event-apply-control-modifier, event-apply-meta-modifier):
9633 Mark unused parameters.
9634 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
9635 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
9637 * speedbar.el (speedbar-ignored-directory-expressions)
9638 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
9639 (speedbar-find-file, speedbar-dir-follow)
9640 (speedbar-directory-buttons-follow, speedbar-tag-find)
9641 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
9642 (speedbar-buffers-line-directory, speedbar-buffer-click):
9643 Mark unused parameters.
9644 (speedbar-tag-file): Remove unused variable `mode'.
9645 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
9647 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
9649 * talk.el (talk): Remove unused variable `display'.
9651 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
9652 (tar-write-region-annotate): Mark unused parameter.
9654 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
9655 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
9656 Declare them, wrapped in `with-no-warnings' to avoid replacing one
9659 * time-stamp.el (time-stamp-string-preprocess):
9660 Remove unused variable `require-padding'.
9662 * tree-widget.el (widget-glyph-enable): Declare.
9663 (tree-widget-action): Mark unused parameter.
9665 * w32-fns.el (x-get-selection): Mark unused parameter.
9666 (autoload-make-program, generated-autoload-file): Declare.
9668 * wdired.el (wdired-revert): Mark unused parameters.
9669 (wdired-xcase-word): Remove unused variable `err'.
9671 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
9672 (whitespace-help-scroll): Remove unused variable `data-help'.
9674 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
9675 (widget-image-insert, widget-after-change, default)
9676 (widget-default-format-handler, widget-default-notify)
9677 (widget-default-prompt-value, widget-info-link-action)
9678 (widget-url-link-action, widget-function-link-action)
9679 (widget-variable-link-action, widget-file-link-action)
9680 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
9681 (widget-field-prompt-internal, widget-field-action, widget-field-match)
9682 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
9683 (widget-insert-button-action, widget-delete-button-action, visibility)
9684 (widget-documentation-link-action, widget-documentation-string-action)
9685 (widget-const-prompt-value, widget-regexp-match, symbol)
9686 (widget-coding-system-prompt-value)
9687 (widget-key-sequence-value-to-external, sexp)
9688 (widget-sexp-value-to-internal, character, vector, cons)
9689 (widget-choice-prompt-value, widget-boolean-prompt-value)
9690 (widget-color--choose-action): Mark unused parameters.
9691 (widget-item-match-inline, widget-choice-match-inline)
9692 (widget-checklist-match, widget-checklist-match-inline)
9693 (widget-group-match): Rename parameter VALUES to VALS.
9694 (widget-field-value-set): Remove unused variable `size'.
9695 (widget-color-action): Remove unused variables `value' and `start'.
9697 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
9698 variable `dir'. Doc fix.
9699 (windmove-find-other-window): Don't pass it.
9701 * window.el (count-windows): Mark unused parameter.
9702 (bw-adjust-window): Remove unused variable `err'.
9704 * woman.el (woman-file-name): Remove unused variable `default'.
9705 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
9706 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
9707 (global-font-lock-mode): Declare.
9708 (woman-decode-region): Mark unused parameter.
9709 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
9711 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
9712 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
9713 (x-dnd-handle-moz-url): Remove unused variable `title'.
9714 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
9716 * xml.el (xml-parse-tag, xml-parse-attlist):
9717 Remove unused variable `pos'.
9719 2011-04-19 Glenn Morris <rgm@gnu.org>
9721 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
9722 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
9723 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9724 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
9725 * calendar/cal-html.el (cal-html-insert-minical):
9726 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
9727 (calendar-mark-date-pattern):
9728 Prefix "unused" locals.
9730 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
9731 optional argument `style'.
9733 * calendar/appt.el (appt-make-list):
9734 * calendar/cal-china.el (calendar-chinese-date-string):
9735 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
9736 (diary-hebrew-yahrzeit):
9737 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
9738 * calendar/calendar.el (calendar-generate-window):
9739 * calendar/time-date.el (time-to-days):
9740 Remove unused local variables.
9742 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
9744 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
9745 glyphless-char-display table.
9746 (tabulated-list-glyphless-char-display): New var.
9748 2011-04-18 Sam Steingold <sds@gnu.org>
9750 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
9753 2011-04-17 Glenn Morris <rgm@gnu.org>
9755 * calendar/diary-lib.el (diary-sexp-entry):
9756 * calendar/holidays.el (holiday-sexp):
9757 Set debug-on-error rather than the removed stack-trace-on-error.
9759 2011-04-16 Glenn Morris <rgm@gnu.org>
9761 * progmodes/f90.el: Use lexical-binding.
9762 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
9764 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9766 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
9767 (mail-mode): Setup mailalias completion here instead.
9768 * mail/mailalias.el: Use lexical-binding.
9769 (pattern, mailalias-done): Declare dynamic.
9770 (mail-completion-at-point-function): New function, from mail-complete.
9771 (mail-complete): Use it.
9772 (mail-completion-expand): New function.
9773 (mail-get-names): Use it.
9774 (mail-directory, mail-directory-process, mail-directory-stream):
9775 Don't use `pattern' for lexically bound arg.
9777 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
9779 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
9780 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
9781 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
9783 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
9784 (byte-save-window-excursion, byte-temp-output-buffer-setup)
9785 (byte-interactive-p): Define them again, for use when inlining
9788 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
9790 * loadup.el: Use `string-to-number', not `string-to-int'.
9792 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
9795 gud-gdb-complete-command.
9796 (gud-gdb-completions): New function, from gud-gdb-complete-command.
9797 (gud-gdb-completion-at-point): New function.
9798 (gud-gdb-completions): Remove.
9800 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
9802 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
9803 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
9804 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
9805 whether `executable-find' is bound.
9807 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
9809 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * minibuffer.el (completion-in-region-mode-predicate)
9812 (completion-in-region-mode--predicate): New vars.
9813 (completion-in-region, completion-in-region--postch)
9814 (completion-in-region-mode): Use them.
9815 (completion--capf-wrapper): Also return the hook function.
9816 (completion-at-point, completion-help-at-point):
9817 Adjust and provide a predicate.
9819 Preserve arg names for advice of subr and lexical functions (bug#8457).
9820 * help-fns.el (help-function-arglist): Consolidate the subr and
9821 new-byte-code cases. Add argument `preserve-names' to extract names
9822 from the docstring when needed.
9823 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
9824 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
9825 (ad-arglist): Use help-function-arglist's new arg.
9826 (ad-definition-type): Use cond.
9828 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
9830 * autorevert.el (auto-revert-handler):
9831 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
9832 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
9835 * image-mode.el (image-transform-set-scale):
9836 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
9838 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9840 * net/network-stream.el (network-stream-open-starttls): Only do
9841 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
9842 Upgrades via gnutls-cli are too slow to be done opportunistically.
9844 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
9846 * dframe.el (dframe-current-frame): Remove spurious quote.
9848 2011-04-12 Glenn Morris <rgm@gnu.org>
9850 * calendar/cal-tex.el (cal-tex-end-document):
9851 Try to automatically use latin1 input if needed.
9853 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
9854 Don't try to cons a mark onto an empty element.
9856 2011-04-11 Leo Liu <sdl.web@gmail.com>
9858 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
9860 (ido-kill-buffer-at-head): Support killing virtual buffers.
9862 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
9864 * minibuffer.el (completion-show-inline-help): New var.
9865 (completion--do-completion, minibuffer-complete)
9866 (minibuffer-force-complete, minibuffer-complete-word):
9867 Inhibit minibuffer messages if completion-show-inline-help is nil.
9869 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
9870 to avoid interference from inline help (Bug#5849).
9872 2011-04-10 Leo Liu <sdl.web@gmail.com>
9874 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9877 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
9879 * image-mode.el (image-toggle-display-image): Signal an error if
9881 (image-transform-mode, image-transform-resize)
9882 (image-transform-set-rotation): Doc fix.
9883 (image-transform-set-resize): Delete.
9884 (image-transform-set-scale, image-transform-fit-to-height)
9885 (image-transform-fit-to-width): Handle image-toggle-display-image
9886 and image-transform-resize directly.
9888 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
9890 * doc-view.el (doc-view-fit-width-to-window)
9891 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
9892 New functions for fitting the shown image to the Emacs window size.
9893 (doc-view-mode-map): Add bindings for the new functions.
9895 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
9897 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
9898 Fix typo in docstring.
9900 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9902 * files.el (file-size-human-readable): Produce one digit after
9903 decimal, like "ls -lh" does.
9905 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
9906 the file size representation.
9908 * simple.el (list-processes): If async subprocesses are not
9909 available, error out with a clear error message.
9911 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
9913 * help.el (help-form-show): New function, to be called from C.
9914 Put help-form output in a buffer named differently than *Help*.
9916 2011-04-08 Eli Zaretskii <eliz@gnu.org>
9918 * files.el (file-size-human-readable): New function.
9920 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
9921 computing the representation inline. Don't require `cl'.
9923 2011-04-08 Glenn Morris <rgm@gnu.org>
9925 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
9927 * net/browse-url.el (browse-url-firefox):
9928 Test system-type, not system-configuration.
9930 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
9931 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
9932 Use log-edit-empty-buffer-p. (Bug#7598)
9934 * net/rlogin.el (rlogin-process-connection-type): Simplify.
9935 (rlogin-mode-map): Initialize in the defvar.
9936 (rlogin): Use ignore-errors.
9938 * replace.el (occur-mode-map): Some fixes for menu items.
9940 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9942 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
9944 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9946 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
9947 issuing unused warnings.
9949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9952 * simple.el: Lisp reimplement of list-processes. Based on an
9953 earlier reimplementation by Leo Liu, but using tabulated-list.el.
9954 (process-menu-mode): New major mode.
9955 (list-processes--refresh, list-processes):
9956 (process-menu-visit-buffer): New functions.
9958 * files.el (save-buffers-kill-emacs): Don't assume any return
9959 value of list-processes, which is undocumented anyway.
9961 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
9963 * emacs-lisp/tabulated-list.el: New file.
9965 * emacs-lisp/package.el: Use Tabulated List mode.
9966 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
9967 (package-menu-mode): Derive from tabulated-list-mode. Set up the
9968 table format using Tabulated List mode variables.
9969 (package--push): New macro, replacing package-list-maybe-add.
9970 (package-menu--generate): Use package--push. Renamed from
9971 package--generate-package-list.
9972 (package-menu-refresh, list-packages): Use it.
9973 (package-menu--print-info): Rename from package-print-package.
9974 Return insertion data instead of inserting it directly.
9975 (package-menu-describe-package, package-menu-execute):
9976 Use tabulated-list-get-id.
9977 (package-menu-mark-delete, package-menu-mark-install)
9978 (package-menu-mark-unmark, package-menu-backup-unmark)
9979 (package-menu-mark-obsolete-for-deletion):
9980 Use tabulated-list-put-tag.
9981 (package--list-packages, package-menu-revert)
9982 (package-menu-get-package, package-menu-get-version)
9983 (package-menu-sort-by-column): Functions deleted.
9984 (package-menu-package-list, package-menu-sort-key): Vars deleted.
9985 (package-menu--status-predicate, package-menu--version-predicate)
9986 (package-menu--name-predicate)
9987 (package-menu--description-predicate): Handle arguments in the
9988 Tabulated List format.
9989 (package-list-packages-no-fetch): Call list-packages.
9991 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
9993 * files.el (after-find-file-from-revert-buffer): Remove variable.
9994 (after-find-file): Don't bind it.
9995 (revert-buffer-in-progress-p): New variable.
9996 (revert-buffer): Bind it.
9997 Pass nil for `after-find-file-from-revert-buffer'.
9999 * saveplace.el (save-place-find-file-hook): Use new variable
10000 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
10002 2011-04-06 Glenn Morris <rgm@gnu.org>
10004 * Makefile.in (AUTOGEN_VCS): New variable.
10005 (autoloads): Use $AUTOGEN_VCS.
10007 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
10008 * calendar/calendar.el (calendar-mode-map):
10009 Check for toolkit scroll bars. (Bug#8305)
10011 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
10013 * minibuffer.el (completion-in-region--postch)
10014 (completion-in-region-mode): Remove unnecessary messages.
10016 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
10018 * font-lock.el (font-lock-refresh-defaults):
10019 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
10020 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
10022 * info.el (Info-directory-list, Info-read-node-name-2)
10023 (Info-split-parameter-string): Doc fixes.
10024 (Info-virtual-nodes): Reflow docstring.
10025 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
10026 (Info-apropos-toc-nodes, info-finder, Info-get-token)
10027 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
10028 Fix typos in docstrings.
10029 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
10030 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
10031 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
10032 (Info-restore-desktop-buffer): Mark unused parameters.
10033 (Info-directory-find-file, Info-directory-find-node)
10034 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
10035 (Info-virtual-index-find-node, Info-apropos-find-file)
10036 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
10037 Mark unused parameters; fix typos in docstrings.
10038 (Info-virtual-index): Remove unused local variable `nodename'.
10040 2011-04-05 Deniz Dogan <deniz@dogan.se>
10042 * net/rcirc.el: Update my e-mail address.
10043 (rcirc-mode-map): Remove M-o binding.
10045 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
10047 * startup.el (command-line): Save the cursor's theme-face
10048 directly, instead of using face-override-spec.
10050 * custom.el (load-theme): Minor optimization in assigning faces.
10052 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
10054 * help-fns.el (describe-variable): Complete all variables having
10055 documentation, including keywords.
10056 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
10058 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
10060 Convert to lexical-binding.
10062 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
10063 (bs--get-marked-string, bs--get-modified-string)
10064 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
10065 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
10066 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
10068 * ehelp.el (electric-help-execute-extended)
10069 (electric-help-ctrl-x-prefix):
10070 * hexl.el (hexl-revert-buffer-function):
10071 * linum.el (linum-after-change, linum-after-scroll):
10072 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
10074 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
10076 2011-04-04 Daiki Ueno <ueno@unixuser.org>
10083 * epg.el: Use lexical binding.
10085 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
10087 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
10089 * textmodes/flyspell.el (flyspell-word): Recognize default
10090 dictionary case for flyspell-mark-duplications-exceptions.
10091 Use regexp matching for languages.
10092 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
10093 default dictionary (Bug#7926).
10095 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
10097 * emacs-lisp/package.el (package--with-work-buffer):
10098 Recognize https URLs.
10100 * net/network-stream.el: Move from gnus/proto-stream.el.
10101 Change prefix to network-stream throughout.
10102 (open-protocol-stream): Merge into open-network-stream, leaving
10103 open-protocol-stream as an alias. Handle nil BUFFER args.
10105 * subr.el (open-network-stream): Move to net/network-stream.el.
10107 2011-04-02 Glenn Morris <rgm@gnu.org>
10109 * find-dired.el (find-exec-terminator): New option.
10110 (find-ls-option): Test for -ls support.
10111 (find-ls-subdir-switches): Test for -b in find-ls-option.
10112 (find-dired, find-grep-dired): Doc fixes.
10113 (find-dired): Use find-exec-terminator.
10115 * find-dired.el (find-ls-option, find-ls-subdir-switches)
10116 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
10117 (find-name-arg): Remove purecopy.
10119 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
10120 (grep-compute-defaults): Check for `-exec COMMAND +' support.
10121 Set grep-find-use-xargs, grep-find-command, and grep-find-template
10122 accordingly. Don't add the null-device if not needed.
10124 * files.el (save-some-buffers): Doc fix.
10126 2011-04-02 Eli Zaretskii <eliz@gnu.org>
10128 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
10130 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
10132 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
10133 Use `dolist' rather than `mapcar'.
10135 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10137 Add lexical binding.
10139 * subr.el (apply-partially): Use new closures rather than CL.
10140 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
10141 (dolist, dotimes): Use slightly different expansion for lexical code.
10142 (functionp): Move to C.
10143 (letrec): New macro.
10144 (with-wrapper-hook): Use it and apply-partially instead of CL.
10145 (eval-after-load): Preserve lexical-binding.
10146 (save-window-excursion, with-output-to-temp-buffer): Turn them
10149 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
10151 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
10153 (help-add-fundoc-usage): Don't add `Not documented'.
10154 (help-function-arglist): Handle closures, subroutines, and new
10155 byte-code-functions.
10156 (help-make-usage): Remove leading underscores.
10157 (describe-function-1): Handle closures.
10158 (describe-variable): Use special-variable-p for completion.
10160 * files.el (lexical-binding): Declare safe.
10162 * emacs-lisp/pcase.el: Don't use destructuring-bind.
10163 (pcase--memoize): Rename from pcase-memoize. Change weakness.
10164 (pcase): Add `let' pattern.
10165 Change memoization so it actually works.
10166 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
10167 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
10170 * emacs-lisp/macroexp.el: Use lexical binding.
10171 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
10172 Don't convert ' to #' without checking that it's indeed quoting
10175 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
10176 Use eval-sexp-add-defvars.
10177 (eval-sexp-add-defvars): New fun.
10179 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
10181 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
10183 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
10184 than the internal `byte-compile-lambda'.
10185 (defmethod): Don't hide code under quotes.
10186 (eieio-defmethod): New `code' argument.
10188 * emacs-lisp/eieio-comp.el: Remove.
10190 * emacs-lisp/edebug.el (edebug-eval-defun)
10191 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
10192 (edebug-toggle): Avoid `eval'.
10194 * emacs-lisp/disass.el (disassemble-internal): Handle new
10196 (disassemble-1): Handle new byte codes.
10198 * emacs-lisp/cl.el (pushnew): Silence warning.
10200 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
10201 (cl-byte-compile-throw): Remove.
10202 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
10204 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
10207 * emacs-lisp/cconv.el: New file.
10209 * emacs-lisp/bytecomp.el: Use lexical binding instead of
10210 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
10211 (byte-compile-initial-macro-environment):
10212 Handle declare-function here.
10213 (byte-compile--lexical-environment): New var.
10214 (byte-stack-ref, byte-stack-set, byte-discardN)
10215 (byte-discardN-preserve-tos): New lap codes.
10216 (byte-interactive-p): Don't use any more.
10217 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
10219 (byte-compile-lapcode): Use them and handle new lap codes.
10220 (byte-compile-obsolete): Remove.
10221 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
10222 (byte-compile-arglist-warn): Check late def of inlinable funs.
10223 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
10224 since they should have been expanded by now.
10225 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
10226 (byte-compile-from-buffer): Remove unused second arg.
10227 (byte-compile-preprocess): New function.
10228 (byte-compile-toplevel-file-form): New function to distinguish
10229 file-form calls from outside from file-form calls from hunk-handlers.
10230 (byte-compile-file-form): Simplify.
10231 (byte-compile-file-form-defsubst): Remove.
10232 (byte-compile-file-form-defmumble): Simplify now that
10233 byte-compile-lambda always returns a byte-code-function.
10234 (byte-compile): Preprocess.
10235 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
10236 Remove, not used any more.
10237 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
10238 (byte-compile-make-args-desc): New funs.
10239 (byte-compile-lambda): Handle lexical functions. Always return
10240 a byte-code-function.
10241 (byte-compile-reserved-constants): New var, to make up room for
10242 closed-over variables.
10243 (byte-compile-constants-vector): Obey it.
10244 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
10245 (byte-compile-macroexpand-declare-function): New function.
10246 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
10247 byte-code-functions.
10248 (byte-compile-form): Check obsolescence here.
10249 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
10250 (byte-compile-variable-ref): Remove.
10251 (byte-compile-dynamic-variable-op): New fun.
10252 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10253 (byte-compile-variable-set): New funs.
10254 (byte-compile-discard): Add 2 args.
10255 (byte-compile-stack-ref, byte-compile-stack-set)
10256 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
10257 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
10258 macroexpand-all instead.
10259 (byte-compile-quote-form): Remove.
10260 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
10261 (byte-compile-bind, byte-compile-unbind): New funs.
10262 (byte-compile-let): Handle let* and lexical binding.
10263 (byte-compile-let*): Remove.
10264 (byte-compile-catch, byte-compile-unwind-protect)
10265 (byte-compile-track-mouse, byte-compile-condition-case):
10266 Handle a new :fun-body form, used for lexical scoping.
10267 (byte-compile-save-window-excursion)
10268 (byte-compile-with-output-to-temp-buffer): Remove.
10269 (byte-compile-defun): Simplify.
10270 (byte-compile-stack-adjustment): New fun.
10271 (byte-compile-out): Use it.
10272 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
10274 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
10277 * emacs-lisp/byte-opt.el: Use lexical binding.
10278 (byte-inline-lapcode): Remove (to bytecomp).
10279 (byte-compile-inline-expand): Pay attention to inlining to/from
10280 lexically bound code.
10281 (byte-compile-unfold-lambda): Don't handle byte-code-functions
10283 (byte-optimize-form-code-walker): Don't handle save-window-excursion
10284 any more and don't call compiler-macros.
10285 (byte-compile-splice-in-already-compiled-code): Remove.
10286 (byte-code): Don't inline any more.
10287 (disassemble-offset): Receive `bytes' as argument rather than via
10289 (byte-compile-tag-number): Declare before first use.
10290 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
10291 `return' even if make-spliceable.
10292 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
10293 obsolete interactive-p.
10294 (byte-optimize-lapcode): Optimize new lap-codes.
10295 Don't trip up on new form of `byte-constant' lap code.
10297 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
10299 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
10301 * custom.el (custom-initialize-default, custom-declare-variable):
10304 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
10306 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
10307 (COMPILE_FIRST): Add macroexp and cconv.
10308 * makefile.w32-in: Mirror changes in Makefile.in.
10310 * vc/cvs-status.el:
10314 * vc/smerge-mode.el:
10315 * textmodes/bibtex-style.el:
10316 * textmodes/css.el:
10324 * emacs-lisp/smie.el:
10327 * abbrev.el: Use lexical binding.
10329 2011-04-01 Eli Zaretskii <eliz@gnu.org>
10331 * info.el (info-display-manual): New function.
10333 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10335 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
10337 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
10339 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
10340 an entry for that server in rcirc-authinfo. (Bug#8385)
10342 2011-03-31 Glenn Morris <rgm@gnu.org>
10344 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
10346 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
10348 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
10350 * progmodes/python.el (python-default-interpreter)
10351 (python-python-command-args, python-jython-command-args)
10352 (python-which-shell, python-which-args, python-which-bufname)
10353 (python-file-queue, python-comint-output-filter-function)
10354 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
10355 variables and functions.
10357 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
10360 (completion-in-region-mode): New minor mode.
10361 (completion-in-region): Use it.
10362 (completion-in-region--data, completion-in-region-mode-map): New vars.
10363 (completion-in-region--postch): New function.
10364 (completion--capf-misbehave-funs, completion--capf-safe-funs):
10366 (completion--capf-wrapper): New function.
10367 (completion-at-point): Use it to track well-behavedness of
10369 (completion-help-at-point): New command.
10371 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
10373 * vc/add-log.el (add-change-log-entry): Don't use whitespace
10374 syntax class to search for whitespace on a single line
10375 (Message-ID: <4D938140.4030905@redhat.com>).
10377 2011-03-30 Leo Liu <sdl.web@gmail.com>
10379 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
10381 (edit-abbrevs-map): Bind them here.
10382 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
10384 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
10386 * allout.el (allout-hide-by-annotation, allout-flag-region):
10387 Reduce possibility of overlay leakage by making them volatile.
10389 * allout-widgets.el (allout-widgets-tally): Define as nil so the
10390 hash is not shared between buffers. Mode initialization is
10391 responsible for giving it a useful starting value.
10392 (allout-item-span): Reduce possibility of overlay leakage by
10393 making them volatile.
10394 (allout-widgets-count-buttons-in-region): Add diagnostic function
10395 for tracking down button overlay leaks.
10397 2011-03-29 Leo Liu <sdl.web@gmail.com>
10399 * ido.el (ido-read-internal): Use the default history var
10400 minibuffer-history if no HISTORY is specified.
10402 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
10404 * net/imap.el (imap-shell-open, imap-process-connection-type):
10405 Use imap-process-connection-type for 'shell' streams as well as
10406 Kerberos, SSL, other subprocesses.
10408 2011-03-28 Leo Liu <sdl.web@gmail.com>
10410 * abbrev.el (abbrev-table-empty-p): New function.
10411 (prepare-abbrev-list-buffer): Place empty abbrev tables after
10412 nonempty ones. (Bug#5937)
10414 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
10416 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
10418 2011-03-27 Leo Liu <sdl.web@gmail.com>
10420 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
10421 for foreground and background colors.
10422 (ansi-color-make-color-map): Adapt.
10424 2011-03-25 Leo Liu <sdl.web@gmail.com>
10426 * midnight.el (midnight-time-float): Remove. Note it calculates
10427 the microsecond component incorrectly and seconds-to-time does the
10429 Remove redundant (require 'timer).
10431 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
10432 (ido-completions): Remove unused arguments. (Bug#8329)
10434 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * minibuffer.el (completion--flush-all-sorted-completions):
10437 Remove itself from hook.
10438 (completion-at-point): Let the functions perform the completion
10439 immediately and return nil or t.
10440 * comint.el (comint-dynamic-complete-functions): Now identical to
10441 completion-at-point-functions.
10442 (comint-dynamic-list-input-ring): Remove unused var `index'.
10443 (comint--match-partial-filename, comint--unquote&expand-filename):
10444 New funs, split from comint-match-partial-filename.
10445 (comint-dynamic-complete): Use completion-at-point.
10446 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
10448 2011-03-24 Drew Adams <drew.adams@oracle.com>
10450 * thingatpt.el: Support `defun'.
10452 2011-03-23 Leo Liu <sdl.web@gmail.com>
10454 * abbrevlist.el: Move to obsolete/abbrevlist.el.
10456 * help-mode.el (help-mode-finish): Tweak regexp.
10458 2011-03-23 Glenn Morris <rgm@gnu.org>
10460 * eshell/esh-opt.el (eshell-eval-using-options):
10461 Do not bind unused local variable `eshell-option-stub'.
10463 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
10465 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
10467 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
10468 keymap variable in `with-no-warnings' to avoid a warning when the
10469 keymap has been already `defconst'ed.
10471 2011-03-22 Leo Liu <sdl.web@gmail.com>
10473 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
10474 encode all chars in abbrevs; otherwise use emacs-mule or
10475 utf-8-emacs. (Bug#8308)
10477 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
10479 * simple.el (backward-delete-char-untabify):
10480 Avoid warning about using `delete-backward-char'.
10482 * image.el (image-type-file-name-regexps): Make it variable.
10483 `imagemagick-register-types' modifies it, and the user may want
10484 to add new extensions for known image types.
10485 (imagemagick-register-types): Throw error if not using ImageMagick.
10487 2011-03-22 Leo Liu <sdl.web@gmail.com>
10489 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
10490 located before rcirc-prompt-end-marker.
10491 (rcirc-complete): Error if point is not after rcirc prompt.
10492 Handle the case when table is nil.
10493 (rcirc-user-authenticated): Define to fix compiler warning.
10495 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
10497 * custom.el (custom--inhibit-theme-enable): Make it affect only
10498 custom-theme-set-variables and custom-theme-set-faces.
10499 (provide-theme): Ignore custom--inhibit-theme-enable.
10500 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
10501 (custom-enabling-themes): Delete variable.
10502 (enable-theme): Accept only loaded themes as arguments.
10503 Ignore the special custom-enabled-themes variable.
10504 (custom-enabled-themes): Forbid themes from setting this.
10505 Eliminate use of custom-enabling-themes.
10506 (custom-push-theme): Quote "changed" custom var entry.
10508 2011-03-21 Leo Liu <sdl.web@gmail.com>
10510 * ido.el (ido-read-internal): Add ido-selected to history instead
10513 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * subr.el (deferred-action-list, deferred-action-function):
10518 2011-03-21 Leo Liu <sdl.web@gmail.com>
10520 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
10521 change on 2011-02-13 (bug#8309).
10523 * minibuffer.el (read-file-name-function): Change default value.
10524 (read-file-name--defaults): Rename from read-file-name-defaults.
10525 (read-file-name-default): Rename from read-file-name.
10526 (read-file-name): Call read-file-name-function.
10528 2011-03-21 Glenn Morris <rgm@gnu.org>
10530 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
10533 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
10535 * cus-theme.el: Add missing provide statement.
10536 (customize-create-theme): Extract theme value correctly.
10537 (custom-theme-visit-theme): Autoload.
10538 (customize-create-theme): Prompt before inserting default faces.
10540 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
10542 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
10543 units and musical notes.
10545 2011-03-20 Leo Liu <sdl.web@gmail.com>
10547 * ido.el (ido-read-internal): Use completing-read-default.
10548 (ido-completing-read): Fix compatibility with completing-read.
10550 2011-03-20 Christian Ohler <ohler@gnu.org>
10552 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
10553 (ert-delete-all-tests): Use `called-interactively-p' rather than
10555 (ert--make-xrefs-region): Respect END.
10557 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10559 * dired-aux.el (dired-create-directory): Signal an error if the
10560 directory already exists (Bug#8246).
10562 * facemenu.el (list-colors-display): Call list-faces-display
10563 inside with-help-window.
10564 (list-colors-print): Use display property to align the final
10565 column, instead of checking window-width.
10567 2011-03-19 Eli Zaretskii <eliz@gnu.org>
10569 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
10570 windows-nt systems.
10571 (emerge-protect-metachars): Quote correctly for ms-dos and
10572 windows-nt systems.
10574 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
10576 * info.el (info-initialize): Replace all uses of `:' with
10577 path-separator for compatibility with non-Unix systems.
10578 Cache quoting of path-separator. (Bug#8258)
10580 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
10582 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
10583 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
10584 (mouse-avoidance-mode): Fix typos in docstrings.
10586 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
10588 * startup.el (package-subdirectory-regexp): Move from package.el.
10589 Omit \\` and \\', and let callers add them.
10591 * emacs-lisp/package.el (package-strip-version)
10592 (package-load-all-descriptors): Add \\` and \\' to
10593 package-subdirectory-regexp before using it.
10594 (package-untar-buffer): New arg DIR; ensure that file untars only
10595 into this expected directory. Remove superfluous delete-region.
10596 (package-unpack): Caller changed.
10597 (package-tar-file-info): Use package-subdirectory-regexp.
10599 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
10602 diff-mode-shared-map (bug#8284).
10603 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
10605 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10607 * calendar/time-date.el (format-seconds): Use assoc instead of
10608 assoc-string, since assoc-string doesn't exist in XEmacs.
10610 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
10612 * custom.el (custom-known-themes): Reflow docstring.
10613 (custom-theme-load-path): Fix typo in docstring.
10614 (load-theme): Fix typo in error message.
10615 (custom-available-themes, custom-variable-theme-value):
10616 Use `let', not `let*'.
10618 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10620 * calc/README: Mention inclusion of musical notes.
10622 * calc/calc-units.el (calc-lu-quant): Rename from
10623 `calc-logunits-quantity'.
10624 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
10625 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
10626 (calc-db): Rename from `calc-dblevel'.
10627 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
10628 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
10629 (calc-np): Rename from `calc-nplevel'.
10630 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
10631 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
10632 (calc-lu-plus): Rename from `calc-logunits-add'.
10633 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
10634 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
10635 (calc-lu-minus): Rename from `calc-logunits-sub'.
10636 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
10637 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
10638 (calc-lu-times): Rename from `calc-logunits-mul'.
10639 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
10640 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
10641 (calc-lu-divide): Rename from `calc-logunits-div'.
10642 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
10643 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
10645 * calc/calc-ext.el (calc-init-extensions): Update the names of the
10646 functions being autoloaded.
10648 * calc/calc.el (calc-lu-power-reference): Rename from
10649 `calc-logunits-power-reference'.
10650 (calc-lu-field-reference): Rename from
10651 `calc-logunits-field-reference'.
10653 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
10655 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
10657 * minibuffer.el (completion-all-sorted-completions):
10658 Use :completion-cycle-penalty text property if present.
10660 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
10662 * allout.el (allout-yank-processing): Adjust for new rebulleting
10663 regime so bullet being yanked is used without prompting the user
10666 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10668 * startup.el (command-line): Warn the user that _emacs is deprecated.
10670 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
10672 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
10673 (delphi-verbose, delphi-comment-face, delphi-string-face)
10674 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
10675 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
10676 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
10677 (delphi-new-comment-line, delphi-font-lock-defaults)
10678 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
10679 Fix typos in docstrings.
10681 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
10683 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
10684 Invert the roles of character and string values for INSTEAD, so a
10685 string is used for the more common case of a defaulting prompt.
10687 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10689 * progmodes/ruby-mode.el (ruby-backward-sexp):
10690 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
10691 * play/gamegrid.el (gamegrid-make-face):
10692 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
10693 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
10694 * notifications.el (notifications-notify):
10695 * net/xesam.el (xesam-search-engines):
10696 * net/quickurl.el (quickurl-list-insert):
10697 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
10699 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
10701 * startup.el (command-line): Update package subdirectory regexp.
10703 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * allout.el (allout-abbreviate-flattened-numbering)
10706 (allout-mode-deactivate-hook): Fix up obsolescence "date".
10708 * subr.el (read-char-choice): Only show the cursor after the prompt,
10709 not after the answer.
10711 2011-03-15 Kevin Ryde <user42@zip.com.au>
10713 * help-fns.el (variable-at-point): Skip leading quotes, if any
10716 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
10721 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
10723 * shell.el (shell): When called interactively, offer to change the
10724 shell file name on remote hosts.
10726 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
10728 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
10729 integration for LDAP parameters. The host, base, user or binddn,
10730 and secret tokens can be specified in a netrc file, for instance.
10731 This is optional because an `auth-source' parameter must be
10732 specified in the search attributes.
10734 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
10736 * help.el (describe-mode): Link to the mode's definition (bug#8185).
10738 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
10741 into declaration. Remove redundant and harmful binding.
10743 2011-03-12 Eli Zaretskii <eliz@gnu.org>
10745 * files.el (file-ownership-preserved-p): Pass `integer' as an
10746 explicit 2nd argument to `file-attributes'. If the file's owner
10747 is the Administrators group on Windows, and the current user is
10748 Administrator, consider that a match.
10750 * server.el (server-ensure-safe-dir): Consider server directory
10751 safe on MS-Windows if its owner is the Administrators group while
10752 the current Emacs user is Administrator. Use `=' to compare
10753 numerical UIDs, since they could be integers or floats.
10755 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
10757 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
10759 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
10761 Sync with Tramp 2.2.1.
10763 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
10765 * net/trampver.el: Update release number.
10767 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * progmodes/compile.el (compilation--previous-directory): Fix up
10770 various nil/dead-marker mismatches (bug#8014).
10771 (compilation-directory-properties, compilation-error-properties):
10772 Don't call it at a position past the one we're about to change.
10774 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
10775 Disable obsolescence warnings in the file that declares it.
10777 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
10779 * allout-widgets.el (allout-widgets-tally):
10780 Initialize allout-widgets-tally as a hash table rather than nil to
10781 prevent mode-line redisplay warnings. Also, clarify the module
10782 description and fix a comment typo.
10784 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
10786 * help-fns.el (describe-variable): Don't complete keywords.
10787 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
10789 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
10791 * emacs-lisp/package.el (package-version-join): Impose a standard
10792 string representation for pre/alpha/beta version lists.
10793 (package-unpack-single): Standardize the directory name by passing
10794 it through package-version-join.
10795 (package-strip-rcs-id): Accept any version string that does not
10796 signal an error in version-to-list.
10798 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
10800 * simple.el (delete-trailing-whitespace): Return nil for the
10801 benefit of `write-file-functions'.
10803 2011-03-10 Glenn Morris <rgm@gnu.org>
10805 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
10807 * vc/vc-git.el (vc-git-program): New option.
10808 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
10809 (vc-git--call): Use it.
10811 * eshell/esh-util.el (eshell-condition-case): Doc fix.
10813 * cus-edit.el (Custom-newline): If no button at point, look
10814 for a subgroup button at start-of-line. (Bug#2298)
10816 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
10818 2011-03-10 Julien Danjou <julien@danjou.info>
10820 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
10821 `cursor-type' is nil.
10823 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
10825 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
10827 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
10829 * allout.el Summary: Change so yank of distinctive-bullet items
10830 preserves the existing header prefix, rebulleting it if necessary,
10831 rather than replacing it. This is necessary for proper operation
10832 of cooperative addons like allout-widgets.
10833 (allout-make-topic-prefix, allout-rebullet-heading):
10834 Change SOLICIT arg to INSTEAD, and interpret additionally a string
10835 value as alternate bullet to be used, instead of prompting the user
10836 for a bullet character.
10838 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
10840 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10841 Do not use `tramp-file-name-port', because this returns also
10842 `tramp-default-port'.
10844 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10846 * net/rcirc.el (rcirc-handler-001): Remove useless
10847 with-rcirc-process-buffer.
10848 (rcirc-check-auth-status): Swap arguments to string-match.
10850 2011-03-09 Glenn Morris <rgm@gnu.org>
10852 * shell.el (shell-mode):
10853 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
10855 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
10856 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
10858 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10860 * emacs-lisp/package.el (package-refresh-contents)
10861 (package-menu-execute): Use condition-case-no-debug.
10863 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
10865 * simple.el (shell-command-to-string): Use `process-file'.
10867 * emacs-lisp/package.el (package-tar-file-info): Handle also
10870 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10871 Use `equal' for upload base check.
10873 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
10875 * textmodes/texinfo.el (texinfo-environments):
10876 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
10878 2011-03-08 Glenn Morris <rgm@gnu.org>
10880 * cus-start.el (cursor-in-non-selected-windows):
10881 Fix :set quoting oddness. (Bug#8192)
10883 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
10884 in some setf expressions. (Bug#2159)
10886 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
10888 * custom.el (custom-available-themes): Return themes in
10889 alphabetical order.
10891 See ChangeLog.15 for earlier changes.
10893 ;; Local Variables:
10897 Copyright (C) 2011-2012 Free Software Foundation, Inc.
10899 This file is part of GNU Emacs.
10901 GNU Emacs is free software: you can redistribute it and/or modify
10902 it under the terms of the GNU General Public License as published by
10903 the Free Software Foundation, either version 3 of the License, or
10904 (at your option) any later version.
10906 GNU Emacs is distributed in the hope that it will be useful,
10907 but WITHOUT ANY WARRANTY; without even the implied warranty of
10908 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10909 GNU General Public License for more details.
10911 You should have received a copy of the GNU General Public License
10912 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.