1 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
3 * help-mode.el (help-mode-map): Add special-mode-map to parent.
4 (help-mode): Derive help-mode from special-mode. Don't invoke
5 view-mode from help-mode.
6 (help-xref-override-view-map): Remove.
7 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8 view-mode is not used anymore.
10 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12 * server.el (server-port): Doc fix.
14 * cus-theme.el (custom-theme-choose-mode): Inherit from
15 special-mode (Bug#9124).
16 (custom-theme-choose-mode-map): Add special-mode to parent.
18 2011-08-28 Alan Mackenzie <acm@muc.de>
20 * progmodes/cc-fonts.el
21 (c-make-font-lock-BO-decl-search-function): New function.
22 (c-basic-matchers-after - "Fontify the clauses after various
23 keywords"): Extract the three keyword lists for the 3 erroneous
24 constructs from the list of four, and use the new function above
25 in place of an old one.
27 2011-08-28 Deniz Dogan <deniz@dogan.se>
29 * net/rcirc.el (rcirc-insert-prev-input)
30 (rcirc-insert-next-input): Remove unused argument.
32 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
34 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
36 2011-08-27 Alan Mackenzie <acm@muc.de>
38 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
39 handle function pointer parameters properly.
41 2011-08-27 Martin Rudalics <rudalics@gmx.at>
43 * window.el (display-buffer-reuse-window): Fix case where
44 selected window was reused with non-nil OTHER-WINDOW argument.
47 2011-08-27 Deniz Dogan <deniz@dogan.se>
49 * net/rcirc.el (rcirc-check-auth-status): Adding support for
50 oftc's NickServ messages.
52 2011-08-27 Glenn Morris <rgm@gnu.org>
54 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
56 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
58 * emacs-lisp/package.el (package-install): Call package-initialize
59 if called interactively.
61 2011-08-26 Leo Liu <sdl.web@gmail.com>
63 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
65 2011-08-25 Juri Linkov <juri@jurta.org>
67 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
68 `search-whitespace-regexp' (bug#9364).
70 2011-08-25 Juri Linkov <juri@jurta.org>
72 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
73 `regexp-search-ring' to their global values to protect from
74 updating by `read-from-minibuffer' (bug#9185).
76 2011-08-25 Juri Linkov <juri@jurta.org>
78 * textmodes/ispell.el (ispell-command-loop): Add newline
79 at the end of the "Use option `i'..." line.
81 2011-08-25 Juri Linkov <juri@jurta.org>
83 * battery.el (display-battery-mode): If `battery-status-function'
84 or `battery-mode-line-format' is nil, display the message and set
85 `display-battery-mode' to nil (bug#9363).
87 2011-08-25 Eli Zaretskii <eliz@gnu.org>
89 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
90 bidi-string-mark-left-to-right; they are unnecessary now.
92 2011-08-25 Deniz Dogan <deniz@dogan.se>
94 * net/quickurl.el: Documentation typo fixes.
96 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
98 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
100 2011-08-25 Glenn Morris <rgm@gnu.org>
102 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
104 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
105 (smtpmail-via-smtp): Handle nil response from smtp.
107 2011-08-24 Juri Linkov <juri@jurta.org>
109 * proced.el (proced-marked): Inherit from `error' instead of
110 `font-lock-warning-face'.
112 * ibuffer.el (ibuffer-marked-face): Change default face from
113 `font-lock-warning-face' to `warning'.
114 (ibuffer-deletion-face): Change default face from
115 `font-lock-type-face' to `error'.
117 * battery.el (battery-update): Use the face `error' instead of
118 `font-lock-warning-face' (bug#6117).
120 2011-08-24 Juri Linkov <juri@jurta.org>
122 * faces.el (success): Change face color from "Green3" to
123 "ForestGreen" on light background (bug#9353).
125 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
127 * window.el (quit-window): Renamed from quit-restore-window. Use
128 same arglist as old quit-window.
129 (frame-auto-delete): Doc fix.
131 * view.el (view-mode-exit): Use quit-window.
133 2011-08-24 Juri Linkov <juri@jurta.org>
135 * isearch.el (isearch-ring-adjust1): Start visiting previous
136 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
137 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
138 for empty search string (when the last search string is reused
139 automatically) to adjust the isearch ring to the last element and
140 prepare the correct index for further M-p commands (bug#9185).
142 2011-08-24 Kenichi Handa <handa@m17n.org>
144 * international/ucs-normalize.el: If decomposition property of
145 CHAR is the default one (i.e. a list of CHAR itself), treat it as
147 (nfd, nfkd): Likewise.
149 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
151 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
152 from process filters aren't reliably transmitted to the surrounding
153 accept-process-output.
154 (mpc-proc-check): New function.
155 (mpc-proc-sync): Use it (bug#8293)
157 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
159 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
160 Add compatibility functions (bug#9313).
162 2011-08-23 Eli Zaretskii <eliz@gnu.org>
164 * cus-start.el (all): Add entry for bidi-paragraph-direction.
166 * international/uni-bidi.el: Regenerated.
168 2011-08-23 Kenichi Handa <handa@m17n.org>
170 * international/charprop.el:
171 * international/uni-bidi.el:
172 * international/uni-category.el:
173 * international/uni-combining.el:
174 * international/uni-comment.el:
175 * international/uni-decimal.el:
176 * international/uni-decomposition.el:
177 * international/uni-digit.el:
178 * international/uni-lowercase.el:
179 * international/uni-mirrored.el:
180 * international/uni-name.el:
181 * international/uni-numeric.el:
182 * international/uni-old-name.el:
183 * international/uni-titlecase.el:
184 * international/uni-uppercase.el: Regenerate.
186 2011-08-23 Martin Rudalics <rudalics@gmx.at>
188 * help.el (help-window-setup): Fix message displayed when other
189 window is reused. (Bug#9341)
191 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
193 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
194 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
196 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
198 * shell.el (shell-parse-pcomplete-arguments): New function.
199 (shell-completion-vars): Use it instead (bug#9160).
201 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
203 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
204 strings and comments (bug#9333).
206 * emacs-lisp/debug.el (debug-arglist): New function.
207 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
208 (debug-on-entry-1): Handle interpreted closures (bug#9120).
210 2011-08-22 Juri Linkov <juri@jurta.org>
212 * progmodes/compile.el (compilation-mode-font-lock-keywords):
213 Revert regexp that highlights output switches to its old
214 pre-2010-10-28 value and remove one `?' from it (bug#9319).
216 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
217 to check for empty output (bug#9226).
219 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
221 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
222 symbol-constituent as the default, as that stops font-lock from
223 working properly (Bug#8843).
225 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
227 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
228 `coding-system-for-*' around the process open call to avoid
229 auth-source side effects.
230 (smtpmail-try-auth-methods): Expand the secret password.
231 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
234 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
236 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
238 * emacs-lisp/find-func.el (find-function-noselect): New arg
241 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
242 signal an error for built-in functions (Bug#6664).
244 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
246 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
247 (smtpmail-try-auth-methods): Use it.
249 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
251 * font-lock.el (font-lock-fontify-region)
252 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
253 (font-lock-default-unfontify-buffer)
254 (font-lock-default-fontify-region)
255 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
257 * progmodes/compile.el (compilation-error-properties):
258 Fix confusion between file struct and message struct (Bug#9319).
259 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
262 * net/browse-url.el (browse-url-firefox): Don't call
263 browse-url-firefox-sentinel unless using -remote (Bug#9328).
265 2011-08-20 Glenn Morris <rgm@gnu.org>
267 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
269 * tutorial.el (tutorial--default-keys): Update some default bindings.
271 * files.el (hack-local-variables): Fully ignore case for "mode:".
273 2011-08-20 Alan Mackenzie <acm@muc.de>
275 Resolve invalid use of a regexp in regexp-opt.
277 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
278 for a java annotation.
280 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
281 detection for a java annotation.
283 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
285 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
287 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
289 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
292 2011-08-20 Alan Mackenzie <acm@muc.de>
294 * Fontify CPP expressions correctly when starting in the middle of
295 such a construct. Mainly for when jit-lock etc. starts a chunk
298 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
300 (c-make-font-lock-search-form): new function, extracted from
301 c-make-font-lock-search-function.
302 (c-make-font-lock-search-function): Use the above function.
303 (c-make-font-lock-context-search-function): New function.
304 (c-cpp-matchers): Enhance the preprocessor expression case with
306 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
307 which takes an expression.
309 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
311 2011-08-20 Martin Rudalics <rudalics@gmx.at>
313 * window.el (display-buffer-reuse-window)
314 (display-buffer-pop-up-window): Don't reuse or split a side
317 2011-08-19 Glenn Morris <rgm@gnu.org>
319 * files.el (hack-local-variables-prop-line, hack-local-variables):
320 Downcase "Mode:". (Bug#9331)
322 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
324 * international/characters.el: Add L and R categories.
326 * subr.el (bidi-string-mark-left-to-right): Rename from
327 string-mark-left-to-right. Use category search.
329 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
331 2011-08-18 Juri Linkov <juri@jurta.org>
333 * faces.el (error, warning, success): New faces with definitions
334 copied from old default values of `font-lock-warning-face',
335 `compilation-warning', `compilation-info' (bug#6117).
337 * font-lock.el (font-lock-warning-face): Inherit from `error'.
339 * progmodes/compile.el (compilation-error): Inherit from `error'.
340 (compilation-warning): Inherit from `warning'.
341 (compilation-info): Inherit from `success'.
343 * dired.el (dired-marked): Inherit from `warning'.
344 (dired-flagged): Inherit from `error'.
346 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
348 * mail/smtpmail.el (auth-source): Require to avoid problems with
349 binding variables (bug#9298). Also clean up some unused
352 * net/network-stream.el (network-stream-open-starttls):
353 Support using starttls.el without using gnutls-cli.
355 2011-08-17 Juri Linkov <juri@jurta.org>
357 * progmodes/grep.el (rgrep): Handle the case when
358 `grep-find-command' is a cons cell (bug#9278).
360 2011-08-17 Martin Rudalics <rudalics@gmx.at>
362 * window.el (display-buffer-pop-up-frame): Run frame creation
363 function with BUFFER current (as special-display-popup-frame
364 does). Reported by Drew Adams.
366 2011-08-17 Daiki Ueno <ueno@unixuser.org>
368 * epa-mail.el: Simplify GnuPG group expansion using
370 (epa-mail-group-alist, epa-mail-group-modtime)
371 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
372 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
373 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
376 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
378 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
380 2011-08-16 Alan Mackenzie <acm@muc.de>
382 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
383 Correct, to avoid the inside of macros.
385 2011-08-16 Richard Stallman <rms@gnu.org>
387 * epa-mail.el: Handle GnuPG group definitions.
388 (epa-mail-group-alist, epa-mail-group-modtime)
389 (epa-mail-gnupg-conf-file): New variables.
390 (epa-mail-parse-groups, epa-mail-sync-groups)
391 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
392 (epa-mail-expand-recipients): New functions.
393 (epa-mail-encrypt): Call epa-mail-expand-recipients.
395 * mail/rmail.el (rmail-epa-decrypt): New command.
397 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
398 Don't bind buffer-read-only, just inhibit-read-only.
399 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
400 (epa-decrypt-armor-in-region): Make error message clearer.
402 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
404 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
405 and "a2b" to "ab" for `prefix'.
407 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
409 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
411 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
414 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
416 * startup.el (argi): Declare as global variable (bug#9275).
418 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
420 * subr.el (string-mark-left-to-right): Search the entire string
421 for RTL script, not just the terminating character. Doc fix.
423 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
425 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
427 (js--regexp-literal, js-syntax-propertize-function): Remove.
428 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
429 (js-mode-map): Don't rebind electric keys.
430 (js-insert-and-indent): Remove.
431 (js-mode): Setup electric-layout and electric-indent instead.
433 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
435 2011-08-12 Daiki Ueno <ueno@unixuser.org>
437 * epa.el (epa-progress-callback-function): Fix the logic of
439 * epa-file.el (epa-file-insert-file-contents): Make progress
440 display more user-friendly.
441 (epa-file-write-region): Ditto.
443 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
445 * subr.el (string-mark-left-to-right): New function.
447 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
448 Use string-mark-left-to-right.
449 (list-buffers-noselect): Caller changed.
451 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
452 Use string-mark-left-to-right.
453 (tabulated-list-print): Recenter after moving point.
455 2011-08-10 Juri Linkov <juri@jurta.org>
457 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
458 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
459 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
461 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
463 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
466 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
468 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
469 character. (Bug#6594)
471 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
473 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
474 (image-dired--with-db-file): New macro.
475 (image-dired-write-tags, image-dired-remove-tag)
476 (image-dired-create-gallery-lists, image-dired-write-comments)
477 (image-dired-get-comment, image-dired-mark-tagged-files)
478 (image-dired-list-tags, image-dired-gallery-generate): Use it.
479 (image-dired-gallery-generate): Use insert-file-contents.
481 * time.el (display-time-world-list, display-time-world-display):
482 * time-stamp.el (time-stamp-string):
483 * vc/add-log.el (add-change-log-entry): Use setenv instead of
484 set-time-zone-rule (Bug#7337).
486 2011-08-08 Daiki Ueno <ueno@unixuser.org>
488 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
489 (epg-error-to-string, epg-errors-to-string): New function.
490 (epg-wait-for-completion): Reverse errors list.
491 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
492 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
493 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
494 (epg-sign-keys, epg-generate-key-from-file)
495 (epg-generate-key-from-string): Format errors by using
496 epg-errors-to-string (bug#9255).
497 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
499 2011-08-07 Juri Linkov <juri@jurta.org>
501 * faces.el (list-faces-display): Remove extra angle bracket
502 from `help-mode-map'.
504 * info.el (Info-history-toc-nodes): Doc fix.
506 * longlines.el (longlines-mode): Doc fix.
508 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
510 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
511 of statements and in a few more cases (bug#9183).
513 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
515 (cl-transform-lambda): Use them (bug#9239).
517 2011-08-05 Martin Rudalics <rudalics@gmx.at>
519 * window.el (display-buffer-same-window)
520 (display-buffer-same-frame, display-buffer-other-window)
521 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
522 (pop-to-buffer-other-window)
523 (pop-to-buffer-same-frame-other-window)
524 (pop-to-buffer-other-frame): Make them defuns.
525 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
527 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
529 * subr.el (make-composed-keymap): Move from C. Change calling
530 convention, and improve docstring to bring attention to a subtle point.
531 * minibuffer.el (completing-read-default): Adjust accordingly.
533 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
535 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
536 (tramp-open-shell): Use `tramp-shell-quote-argument'.
538 * net/trampver.el: Update release number.
540 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
542 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
545 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
547 * mail/sendmail.el (sendmail-query-once): Restore the current
548 buffer after querying (bug#9074).
550 * dired.el (dired-flagged): Use different faces for marked and
551 flagged files (bug#6117).
553 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
556 * ido.el (ido-mode): Switch off the message if called
559 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
560 before 587, since it appears that that's more likely to work for
563 * cus-edit.el (custom-file): When running under emacs -q, always
564 refuse to save the customisations, even if the .emacs file doesn't
567 * info.el: Remove the `Info-beginning-of-buffer' function
570 * net/network-stream.el (network-stream-open-starttls):
571 Use `starttls-available-p' to see whether starttls.el can be used.
573 2011-08-01 Martin Rudalics <rudalics@gmx.at>
575 * window.el (display-buffer-in-window): Don't set dedicated status
576 of window here (Bug#9215).
577 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
578 (display-buffer-pop-up-side-window)
579 (display-buffer-in-side-window): Set dedicated status of window here.
581 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
583 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
584 before binding generated-autoload-file.
586 2011-08-01 Deniz Dogan <deniz@dogan.se>
588 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
590 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
592 Sync with Tramp 2.2.2.
594 * net/trampver.el: Update release number.
596 2011-07-30 Juri Linkov <juri@jurta.org>
598 * dired-aux.el (dired-touch-initial): Remove function.
599 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
600 current time, and `default' to the last modification time of the
601 current marked file (bug#6887).
603 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
605 * simple.el (goto-line): Use string-to-number to provide a
606 numeric argument to read-number (bug#9163).
608 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
610 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
611 connection process, it could be nil.
613 2011-07-27 Leo Liu <sdl.web@gmail.com>
615 Simplify url handling in rcirc-mode.
617 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
618 (rcirc-browse-url-at-mouse): Remove.
619 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
621 2011-07-26 Alan Mackenzie <acm@muc.de>
623 Fontify bitfield declarations properly.
625 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
626 (c-symbol-chars): Now exported as a lang variable.
627 (c-not-primitive-type-keywords): New lang variable.
629 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
630 QT keyword "more" to prevent "more slots: ...." being spuriously
631 parsed as a bitfield declaraion.
633 * progmodes/cc-engine.el (c-beginning-of-statement-1):
634 Refactor and enhance to handle bitfield declarations.
635 (c-punctuation-in): New function.
636 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
637 declarations properly.
639 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
641 * calendar/icalendar.el (icalendar--all-events): Take care of
642 multiple vcalendars in a single file.
643 (icalendar--convert-float-to-ical): Checkdoc fixes.
645 2011-07-25 Deniz Dogan <deniz@dogan.se>
647 * image.el (insert-image): Clarifying docstring.
649 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
651 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
652 `tramp-send-command-and-check' if there is no error.
653 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
655 2011-07-22 Alan Mackenzie <acm@muc.de>
657 Prevent cc-langs.elc being loaded at run time.
659 * progmodes/cc-mode.el: Remove two autoload forms which loaded
662 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
663 "(require 'cc-langs)". Quote a form so it will evaluate at
664 (cc-mode's) compilation time.
666 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
668 * net/tramp.el (tramp-file-name-handler): Avoid recursive
671 2011-07-21 Martin Rudalics <rudalics@gmx.at>
673 * window.el (display-buffer-pop-up-window)
674 (display-buffer-pop-up-side-window)
675 (display-buffer-in-side-window): Call display-buffer-set-height
676 and display-buffer-set-width after setting the new window's
677 buffer so `fit-window-to-buffer' and friends work on the right buffer.
679 2011-07-20 Sam Steingold <sds@gnu.org>
681 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
682 (etags-tags-included-tables): Call `convert-standard-filename' on
683 the file names contained in TAGS so that windows Emacs can handle
684 TAGS files created by cygwin ctags.
686 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
688 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
689 which apparently didn't work.
691 2011-07-19 Roland Winkler <winkler@gnu.org>
693 * proced.el (proced-send-signal): For *Marked Processes* buffer
694 put point at beginning of buffer.
696 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
698 * proced.el (proced-format): Make header lines align with the text
701 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
703 * view.el (view-buffer): Allow running in `special' modes if we're
704 visiting a file (bug#8615).
706 2011-07-19 Martin Rudalics <rudalics@gmx.at>
708 * window.el (display-buffer-alist-of-strings-p)
709 (display-buffer-alist-set-1, display-buffer-alist-set-2):
711 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
714 2011-07-18 Alan Mackenzie <acm@muc.de>
716 Fontify declarators properly when, e.g., a jit-lock chunk begins
717 inside a declaration.
719 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
721 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
723 (c-complex-decl-matchers): Insert reference to
724 c-font-lock-enclosing-decls.
726 * progmodes/cc-engine.el (c-backward-single-comment):
727 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
728 to nil around calls to (forward-comment -1).
730 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
732 * image.el (put-image): Doc typo fix.
734 * progmodes/etags.el (tags-search): Doc typo fix.
736 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
737 password if we get errors 550 to 554.
739 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
741 * net/gnutls.el (gnutls-log-level): Remove.
743 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
744 indentation character (bug#6380).
746 * files.el (buffer-offer-save): Made permanently local (bug#6241).
748 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
749 to clarify what the problem is (bug#4291).
751 * simple.el (current-kill): Clarify what
752 `interprogram-paste-function' does (bug#7500).
753 (auto-fill-mode): Document `auto-fill-function' in relation to
754 `auto-fill-mode' (bug#2470).
756 2011-07-16 Lawrence Mitchell <wence@gmx.li>
758 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
759 method if slot is read-only (bug#9035).
761 2011-07-16 Martin Rudalics <rudalics@gmx.at>
763 * frame.el (select-frame-set-input-focus): New argument NORECORD.
764 * window.el (pop-to-buffer): Select window used even if it was
765 selected before, see discussion of (Bug#8615), (Bug#6954).
766 Pass argument NORECORD on to select-frame-set-input-focus.
768 2011-07-15 Glenn Morris <rgm@gnu.org>
770 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
773 2011-07-09 Lawrence Mitchell <wence@gmx.li>
775 * net/gnutls.el (gnutls-min-prime-bits): New variable.
776 (gnutls-negotiate): Use it.
778 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
780 * net/gnutls.el (gnutls-negotiate):
781 Upcase `gnutls-algorithm-priority'.
783 2011-07-15 Glenn Morris <rgm@gnu.org>
785 * jka-compr.el (jka-compr-verbose): Move from here...
786 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
787 Add missing :version tag.
788 * info.el: No need to require jka-compr when compiling.
790 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
792 * net/gnutls.el (gnutls-algorithm-priority): New variable.
793 (gnutls-negotiate): Use it.
795 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
797 * info.el (Info-beginning-of-buffer): New command.
798 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
799 announcing `b' as the key (bug#8325).
800 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
802 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
804 * international/mule-cmds.el
805 (describe-specified-language-support): Make the error message
808 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
810 * isearch.el (isearch-barrier): Add a doc string, since it's
811 mentioned in a function doc string (bug#8678).
813 2011-07-15 Martin Rudalics <rudalics@gmx.at>
815 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
816 buffer argument (Bug#9083) and self-identifying label argument.
818 2011-07-15 Glenn Morris <rgm@gnu.org>
820 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
822 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
824 * man.el (Man-fontify-manpage): Fix message when formatting the
827 2011-07-14 Eli Zaretskii <eliz@gnu.org>
829 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
830 argument LRM; if non-nil, append an invisible LRM character to the
832 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
833 last argument non-nil, when formatting buffer names.
834 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
837 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
839 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
840 the man page name (bug#7929).
842 * image.el (put-image): Mention the `put-image' overlay property
845 * scroll-bar.el (set-scroll-bar-mode): Mention that
846 `scroll-bar-mode' lists the values (bug#7772).
848 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
851 * rect.el (apply-on-rectangle): Return the point after the last
853 (string-rectangle): Go to the point after the last operation
856 * printing.el (pr-toggle-region): Clarify the documentation
859 * time.el (display-time-update):
860 Allow `display-time-mail-function' to return nil (bug#7158).
861 Fix suggested by Detlev Zundel.
863 * vc/diff.el (diff): Clarify the order the file names are read
866 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
867 the doc string (bug#7015).
869 * font-lock.el (font-lock-maximum-decoration): Mention what
870 numeric levels mean (bug#6935).
872 * startup.el (initial-buffer-choice): Don't mention the `none'
873 selection, which is against policy.
875 2011-07-14 Martin Rudalics <rudalics@gmx.at>
877 * window.el (display-buffer-normalize-special):
878 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
880 2011-07-14 Eli Zaretskii <eliz@gnu.org>
882 * subr.el (version<, version<=, version=): Mention "-CVS" and
883 "-12345" alpha version numbers.
885 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
887 * bindings.el: Add advertised binding for set-mark-command
890 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
892 * bindings.el (mode-line-other-buffer):
893 * bookmark.el (bookmark-bmenu-2-window):
894 * bs.el (bs-cycle-next, bs-cycle-previous):
895 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
898 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
901 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
903 * follow.el (follow-debug-message, follow-redisplay):
904 * jka-cmpr-hook.el (with-auto-compression-mode):
905 Fix typos in docstrings.
907 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
909 * subr.el (with-silent-modifications): Clarify somewhat what the
910 macro inhibits (bug#6525).
912 * simple.el (eval-expression): Note what it does if called
913 interactively (bug#6495).
915 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
917 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
918 Use pop-to-buffer buffer-or-name if it is nil.
920 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
921 Remove switch-to-buffer.
923 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
925 * files.el (make-directory): Clarify that an error will be raised
926 if there's an error (bug#6397).
928 * startup.el (initial-buffer-choice): Add `none' as a choice
931 * subr.el (add-hook): Clarify section about buffer-local hooks
934 * dired.el (dired-flagged): Clarify doc string (bug#6117).
936 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
938 * tabify.el (untabify): Preserve the current column so that point
939 doesn't move (bug#6032).
941 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
943 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
944 Rewrite to avoid awkward possessive "s" (bug#5986).
946 2011-07-13 Glenn Morris <rgm@gnu.org>
948 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
949 (dired-insert-directory): Give a message the first time
950 if ls is found not to support --dired.
952 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
954 * simple.el (toggle-truncate-lines): Clarify what is toggled
955 (bug#5580). Text by Drew Adams.
957 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
959 * simple.el (blink-matching-open): Make the error message from the
960 last change less verbose.
962 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
964 * font-lock.el (font-lock-comment-face): Use the high contrast
965 "yellow" color for font-lock-comment-face on low color terminals
966 using a dark background color (bug#4221).
968 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
970 * dired.el (dired-insert-set-properties): Make the doc string
971 reflect what it does now (bug#5325).
973 * simple.el (blink-matching-open): Say that we were unable to find
974 the match within the limit, if we're limited (bug#5122).
976 * international/mule-cmds.el (prefer-coding-system): Add an
979 * progmodes/etags.el (tags-search): Document `file-list-form'
982 2011-07-13 Lawrence Mitchell <wence@gmx.li>
984 * net/browse-url.el (browse-url-default-browser)
985 (browse-url-browser-function): Make the default browser choice a
986 bit more logical (bug#4300). Also clean up the doc string.
988 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
990 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
991 binary endings (bug#4440).
993 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
995 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
996 which can be pretty annoying (bug#8971).
998 * jka-compr.el (jka-compr-verbose): New variable, and use
999 throughout (bug#8971).
1001 * info.el (Info-find-file): Fall back on the installation
1002 directory if we can't find the info node anywhere else.
1004 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
1006 * vc/vc.el (vc-revert-file):
1007 Don't set file time-stamp in the past. (Bug#5181)
1009 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1011 * files.el (after-find-file): Give a better error message when
1012 trying to find a symlink that points to a file that doesn't exist
1015 * progmodes/cc-vars.el: Remove (probably) misleading comment
1018 2011-07-12 Johan Bockgård <bojohan@gnu.org>
1020 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
1022 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
1024 * mouse-sel.el: Hack restoring functionality, while keeping
1025 compatibility with 2010-07-03 changes to mouse selection.
1026 (mouse-sel-primary-overlay): New var.
1027 (mouse-sel-selection-alist): Use it.
1028 (mouse-sel-mode): Doc fix; remove points that are default features
1031 2011-07-12 Johan Bockgård <bojohan@gnu.org>
1033 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1034 Fix previous fix (bug#2490).
1036 2011-07-12 Roland Winkler <winkler@gnu.org>
1038 * textmodes/bibtex.el (bibtex-initialize):
1039 Use pop-to-buffer-same-window.
1040 (bibtex-search-entries): Fix interactive call.
1042 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1044 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1045 Fontise bytecomp Error lines more correctly (bug#2490).
1046 Fix suggested by Johan Bockgård.
1048 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
1050 * dired-x.el (dired-guess-default): Use `delete-dups'.
1052 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
1054 * dired.el (dired-mark-prompt):
1055 * dired-aux.el (dired-read-shell-command): Doc fix.
1057 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1059 * mail/sendmail.el (sendmail-query-once):
1060 Use `customize-save-variable' unconditionally, now that it works under
1063 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1065 * cus-edit.el (custom-file): Take an optional no-error variable.
1066 (customize-save-variable): Set the variable, and give a warning if
1067 running under "emacs -q".
1069 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
1071 * loadhist.el (unload-feature-special-hooks):
1072 Add `auto-coding-functions', `fill-nobreak-predicate' and
1073 `find-directory-functions' (bug#5327).
1075 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1077 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
1079 * cus-edit.el (custom-guess-name-alist): -alist variables should
1080 use the `alist' type (bug#3120). Suggested by Drew Adams.
1082 * printing.el: Add documentation to all the `pr-toggle-' commands.
1084 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
1086 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
1087 backends where it makes sense (bug#2623).
1089 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1091 * dired-x.el (dired-guess-default): Remove duplicate shell command
1093 (dired-guess-default): Fix grammar in doc string (bug#2028).
1094 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
1096 * subr.el (remove-duplicates): New conveniency function.
1098 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1100 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1103 2011-07-10 Martin Rudalics <rudalics@gmx.at>
1105 * window.el (display-buffer-normalize-default): Don't invert
1106 meaning of even-window-heights. Reported by Eli Zaretskii
1109 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1111 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1113 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
1115 * window.el (display-buffer): Fix arguments to
1116 display-buffer-reuse-window in last change.
1118 * faces.el (link): Use a less saturated blue on light backgrounds.
1120 * startup.el (fancy-startup-text, fancy-about-text)
1121 (fancy-startup-tail): Use font-lock faces, for background safety.
1123 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1125 * emulation/viper-cmd.el (viper-change-state-to-vi):
1126 Limit triggering of abbrev expansion (Bug#9038).
1128 2011-07-09 Martin Rudalics <rudalics@gmx.at>
1130 * window.el (display-buffer-default-specifiers): Remove.
1131 (display-buffer-macro-specifiers): Remove default specifiers.
1132 (display-buffer-alist): Default to nil.
1133 (display-buffer-reuse-window): New optional argument other-window.
1134 (display-buffer-pop-up-window): Allow splitting internal
1135 windows. Check whether a live window was created.
1136 (display-buffer-other-window-means-other-frame)
1137 (display-buffer-normalize-arguments): Rename to
1138 display-buffer-normalize-argument and rewrite. Set the
1139 other-window specifier.
1140 (display-buffer-normalize-special): New function.
1141 (display-buffer-normalize-options): Rename to
1142 display-buffer-normalize-default and rewrite.
1143 (display-buffer-normalize-options-inhibit): Remove.
1144 (display-buffer-normalize-specifiers): Rewrite.
1145 (display-buffer): Process other-window specifier and call
1146 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1148 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
1149 (display-buffer-alist-set): Don't handle 'unset default values.
1150 (display-buffer-in-window, display-buffer-alist-set):
1151 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
1152 <tassilo@member.fsf.org>.
1154 2011-07-09 Leo Liu <sdl.web@gmail.com>
1156 * register.el (insert-register): Restore accidental change on
1157 2011-06-26. (Bug#9028)
1159 2011-07-09 Glenn Morris <rgm@gnu.org>
1161 * subr.el (remq): Handle the empty list. (Bug#9024)
1163 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1165 * mail/sendmail.el (send-mail-function): No longer delay custom
1167 * custom.el (custom-initialize-delay): Doc fix.
1169 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1171 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1173 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
1175 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1176 human-friendly prompt.
1178 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1181 provided by a particular plugin.
1183 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1186 save customizations (with "emacs -Q"), just set the variable
1187 instead of erroring out.
1189 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1191 2011-07-08 Juri Linkov <juri@jurta.org>
1193 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1194 (archive-zip-update-case): Use 7z if found by `executable-find'.
1195 The order of searching the available programs is the same as in
1196 `archive-zip-extract' (bug#8968).
1198 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1200 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1201 (menu-bar-options-menu): Tweak descriptions.
1203 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1205 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1206 menu items into verb phrases (bug#1421). Also refill to fit under
1209 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1211 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1212 (Info-read-node-name): Doc fix (Bug#1084).
1214 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1215 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1216 (end-of-sexp, beginning-of-sexp)
1217 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1218 (forward-symbol, forward-same-syntax, word-at-point)
1219 (sentence-at-point): Doc fix (Bug#1144).
1221 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1223 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1224 should cover it (bug#1281).
1226 * cus-edit.el (custom-show): Mark as obsolete.
1228 * net/network-stream.el (network-stream-open-starttls): If gnutls
1229 negotiation fails, then possibly try again with a non-encrypted
1230 connection (bug#9017).
1232 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1235 2011-07-07 Richard Stallman <rms@gnu.org>
1237 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1238 property, and handle its changed format.
1239 Look for the correct line number.
1240 Use file's line contents (but not past first =) to find
1241 correct line in message.
1243 2011-07-07 Kenichi Handa <handa@m17n.org>
1245 * international/characters.el (build-unicode-category-table):
1247 (unicode-category-table): Set it by unicode-property-table-internal.
1249 * international/mule-cmds.el (char-code-property-alist): Move to
1251 (get-char-code-property): Call unicode-property-table-internal to
1252 load a file. Call get-unicode-property-internal where necessary.
1253 (put-char-code-property): Call unicode-property-table-internal to
1254 load a file. Call put-unicode-property-internal where necessary.
1255 put-unicode-property-internal where necessary.
1256 (char-code-property-description):
1257 Call unicode-property-table-internal to load a file.
1259 * international/charprop.el:
1260 * international/uni-bidi.el:
1261 * international/uni-category.el:
1262 * international/uni-combining.el:
1263 * international/uni-comment.el:
1264 * international/uni-decimal.el:
1265 * international/uni-decomposition.el:
1266 * international/uni-digit.el:
1267 * international/uni-lowercase.el:
1268 * international/uni-mirrored.el:
1269 * international/uni-name.el:
1270 * international/uni-numeric.el:
1271 * international/uni-old-name.el:
1272 * international/uni-titlecase.el:
1273 * international/uni-uppercase.el: Regenerate.
1275 * loadup.el: Load international/charprop.el before
1276 international/characters.
1278 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1280 * window.el (next-buffer, previous-buffer): Signal an error if
1281 called from a minibuffer window.
1283 * bindings.el: Revert 2011-07-04 change.
1285 2011-07-06 Richard Stallman <rms@gnu.org>
1287 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1288 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1289 Treat markers like ints.
1290 (rmail-mime-entity): Doc fix.
1292 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1295 defcustom again for backwards compatibility.
1297 * simple.el (shell-command-on-region): Fill.
1299 * dired-aux.el (dired-kill-line): Add a doc string.
1301 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1302 to "\\sw\\|\\s_" (bug#358).
1304 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1305 (dired-unmark-backward): Ditto.
1306 (dired-flag-backup-files): Ditto.
1308 * dired-x.el (dired-mark-sexp): Ditto.
1310 2011-07-06 Richard Stallman <rms@gnu.org>
1312 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1313 (rmail-mime-entity): New arg TRUNCATED.
1314 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1316 (rmail-mime-save): Warn if entity is truncated.
1317 (rmail-mime-toggle-hidden): Likewise, for showing.
1318 (rmail-mime-process-multipart): Record when an entity is truncated.
1320 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1321 if ENTITY is a string.
1323 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1325 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
1326 of faces when `M-C-x'-ing their definitions (bug#8378).
1327 Also clean up the code slightly.
1329 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1330 because that makes the colours go away.
1332 * mail/sendmail.el (send-mail-function): Change the default to
1333 `sendmail-query-once'.
1334 (sendmail-query-once): Add an autoload cookie.
1336 * net/network-stream.el (network-stream-open-starttls): Try using
1337 a plain connection even if the server offered STARTTLS, and we
1338 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1339 capability. This should make smtpmail.el work in slightly more
1342 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
1344 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1346 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1348 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1350 * progmodes/sql.el: Version 3.0
1351 (sql-product-alist): Add product :completion-object,
1352 :completion-column, and :statement attributes.
1353 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
1354 (sql-mode-syntax-table): Mark all punctuation.
1355 (sql-font-lock-keywords-builder): Temporarily remove fallback on
1357 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
1358 (sql-mode-oracle-font-lock-keywords): Improve.
1359 (sql-oracle-show-reserved-words): New function for development.
1360 (sql-product-font-lock): Simplify for source code buffers.
1361 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1363 (sql-highlight-product): Set product specific syntax table.
1364 (sql-mode-map): Add statement movement functions.
1365 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1367 (sql-statement-regexp, sql-beginning-of-statement)
1368 (sql-end-of-statement, sql-signum): New functions.
1369 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
1370 (sql-show-sqli-buffer): Bug fix.
1371 (sql-interactive-mode): Store connection data as buffer local.
1372 (sql-connect): Add NEW-NAME parameter. Redesign interaction
1373 with sql-interactive-mode.
1374 (sql-save-connection): Save buffer local settings.
1375 (sql-connection-menu-filter): Change menu entry name.
1376 (sql-product-interactive): Bug fix.
1377 (sql-preoutput-hold): New variable.
1378 (sql-interactive-remove-continuation-prompt): Bug fixes.
1379 (sql-debug-redirect): New variable.
1380 (sql-str-literal): New function.
1381 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
1383 (sql-oracle-save-settings, sql-oracle-restore-settings)
1384 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1385 (sql-completion-object, sql-completion-column)
1386 (sql-completion-sqlbuf): New variables.
1387 (sql-build-completions-1, sql-build-completions)
1388 (sql-try-completion): New functions.
1389 (sql-read-table-name): Use them.
1390 (sql-contains-names): New buffer local variable.
1391 (sql-list-all, sql-list-table): Use it.
1392 (sql-oracle-completion-types): New variable.
1393 (sql-oracle-completion-object, sql-sqlite-completion-object)
1394 (sql-postgres-completion-object): New functions.
1396 2011-07-06 Glenn Morris <rgm@gnu.org>
1398 * window.el (pop-to-buffer): Doc fix.
1400 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
1402 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1404 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
1406 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1408 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
1410 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
1412 * button.el (button): Inherit from link face. Suggested by Dan
1415 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * progmodes/gdb-mi.el: Fit in 80 columns.
1418 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1421 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1422 if imenu is simply not configured (bug#8941).
1424 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1426 * allout.el (allout-post-undo-hook): New allout outline-change
1427 event hook to signal undo activity.
1428 (allout-post-command-business): Run allout-post-undo-hook if an
1430 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1431 * allout-widgets.el (allout-widgets-after-undo-function):
1432 Ensure the integrity of the current item's decoration after it has been
1433 in the vicinity of an undo.
1434 (allout-widgets-mode): Include allout-widgets-after-undo-function
1435 on the new allout-post-undo-hook.
1437 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1440 Let define-derived-mode define it.
1441 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1442 cycles of abbrev-table inheritance (bug#8998).
1444 2011-07-05 Roland Winkler <winkler@gnu.org>
1446 * textmodes/bibtex.el: Add support for biblatex.
1447 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1448 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1449 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1450 (bibtex-entry-alist, bibtex-field-alist): New variables.
1451 (bibtex-entry-field-alist): Obsolete alias for
1452 bibtex-BibTeX-entry-alist.
1453 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1454 (bibtex-set-dialect): New command.
1455 (bibtex-entry-type, bibtex-entry-head)
1456 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1457 Bind via bibtex-set-dialect.
1458 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1459 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1460 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1461 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1462 Define via bibtex-set-dialect.
1463 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1464 Obey bibtex-no-opt-remove-re.
1465 (bibtex-vec-push, bibtex-vec-incr): New functions.
1466 (bibtex-format-entry, bibtex-field-list)
1467 (bibtex-print-help-message, bibtex-validate)
1468 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1470 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * progmodes/compile.el (compilation-goto-locus):
1473 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1474 * bs.el (bs-cycle-next, bs-cycle-previous):
1475 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1476 * bindings.el (mode-line-other-buffer):
1477 * autoinsert.el (auto-insert):
1478 * arc-mode.el (archive-extract):
1479 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1481 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1483 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1484 Fix check of `emacs-lock-unlockable-modes'.
1485 Coerce true values of `emacs-lock--try-unlocking' to t.
1487 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1489 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1490 * emacs-lock.el: New file.
1492 2011-07-05 Julien Danjou <julien@danjou.info>
1494 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1495 than `boundp' to check if face is set.
1497 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1499 * register.el (registerv-make):
1500 * window.el (window-min-height): Fix typos in docstrings.
1502 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1504 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1507 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
1509 * server.el (server-execute): Catch quit and call
1510 `server-return-error' to pass the error back to emacsclient and
1511 close the connection (bug#8942).
1513 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1515 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1516 insecure exception for current topic. Also note that auto-saves
1517 are handled differently.
1519 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1520 State variables for tracking auto-save inhibition situation.
1522 (allout-write-contents-hook-handler): Rename from
1523 'allout-write-file-hook-handler', and describe how it depends on
1524 write-contents-functions sensitivity to non-nil value to prevent
1527 (allout-auto-save-hook-handler): Remove. auto-save does not check
1528 this in individual buffers, only in the starting buffer, so this
1529 is not the right way for us to inhibit auto-save in a buffer
1530 according to its condition.
1532 (allout-mode): Use new allout-write-contents-hook-handler, and
1533 only with write-contents-functions. Remove auto-save provisions -
1534 they're implemented elsewhere.
1536 (allout-before-change-handler): If undo is in progress, note that
1537 for attention of allout-post-command-business.
1539 (allout-post-command-business): If the command we're following was
1540 an undo, check for change in the status of encrypted items and
1541 adjust auto-save inhibitions accordingly.
1543 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1544 according to whether there are or aren't any plain-text topics
1547 (allout-inhibit-auto-save-info-for-decryption):
1548 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
1549 there are plain-text topics pending encryption.
1551 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1552 buffer-saved-size and some allout state to not inhibit auto-saves
1553 if there are no longer any plain-text topics pending encryption.
1555 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1556 No longer provide for exemption of the current topic.
1558 2011-07-04 Juri Linkov <juri@jurta.org>
1560 Add 7z operations to delete and save changed members (bug#8968).
1561 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1563 (archive-7z-write-file-member): New function.
1564 (archive-7z-summarize): Fix the number of dashes in the
1567 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1572 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
1574 * bindings.el: Ignore next-buffer and previous-buffer in
1575 minibuffer-local-map.
1577 * font-lock.el (font-lock-builtin-face): Change light background
1578 color to dark slate blue (Bug#6693).
1580 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1582 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1584 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1586 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1587 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1588 Add switch-to-buffer.
1590 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1592 * isearch.el (isearch-search-fun-function): Clarify further the
1593 meaning of the function returned.
1595 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
1597 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1599 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1600 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1602 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1603 `tramp-default-remote-path' does not exist.
1604 (tramp-send-command-and-read): New optional argument NOERROR.
1605 (tramp-open-connection-setup-interactive-shell)
1606 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1607 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1608 (tramp-process-sentinel): Flush also process' connection property.
1609 (tramp-sh-handle-start-file-process): Do not set process
1610 sentinel. It is done now ...
1611 (tramp-maybe-open-connection): ... here. (Bug#8929)
1613 2011-07-04 MON KEY <monkey@sandpframing.com>
1615 * play/animate.el (animate-string): Doc fixes and allow changing
1616 the buffer name (bug#5417).
1618 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1620 * play/animate.el (animation-buffer-name): Rename from *animate*.
1622 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1624 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1625 This is simpler and helps future-proof the code.
1626 (timer-until): Use time-subtract and float-time.
1627 (timer--time-less-p): Use time-less-p.
1629 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
1631 * type-break.el (timep): Use the value of `float-time' to avoid a
1632 byte-compiler warning.
1634 * server.el (server-eval-and-print): Return any result, even nil.
1636 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1638 * type-break.el: Accept time formats that the builtins accept.
1639 (timep, type-break-time-difference): Accept any format that
1640 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1641 This is simpler and helps future-proof the code.
1642 (type-break-time-difference): Round rather than ignoring
1643 subseconds components.
1645 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1647 * info.el (Info-apropos-matches): Make non-interactive, since it
1648 doesn't seem to do anything useful as a command (bug#8829).
1650 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
1652 * frame.el (frame-background-mode, frame-set-background-mode):
1654 (frame-default-terminal-background): New function.
1656 * custom.el (custom-push-theme): Don't record faces in `changed'
1657 theme; this doesn't work correctly for per-frame face settings.
1658 (disable-theme): Use face-set-after-frame-default to reset faces.
1659 (custom--frame-color-default): New function.
1661 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663 * dired.el (dired-flagging-regexp): Remove unused variable
1666 2011-03-29 Kevin Ryde <user42@zip.com.au>
1668 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1669 `perl-Test2' extend to match possible "fail #N" rep count
1672 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1674 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1675 `smtpmail-via-smtp' now returns the error instead of nil.
1677 * isearch.el (isearch-search-fun-function): Clarify the doc string
1680 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
1682 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1683 unnecessary spaces (bug#8987).
1685 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1687 * net/network-stream.el (open-network-stream): Use the
1688 :end-of-capability command thoughout.
1690 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1692 * net/network-stream.el (open-network-stream): Add the
1693 :end-of-capability command parameter, used by pop3.el.
1695 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1697 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1699 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1700 for list)" (bug#6475).
1702 * files.el (file-expand-wildcards): Ignore non-readable
1703 sub-directories while trying to find matches instead of signalling
1704 an error (bug#6297).
1706 * man.el (Man-reference-regexp): Allow matching possible
1707 word-wrapped references (bug#6289).
1709 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1710 for consistency with the other vc buffers (bug#6197).
1711 (vc-checkin): Ditto.
1713 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1715 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1717 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1719 * custom.el (defcustom): Clarify that :set is only used in the
1720 Customize user interface (bug#6089).
1722 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1723 associated with a file, refuse to run instead of erroring out
1726 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1727 the doc string, since it appears that using `fill-column' always
1728 controls the width (bug#7845).
1730 * simple.el (shell-command-on-region): Say where the error output
1731 went if `shell-command-default-error-buffer' is set (bug#6857).
1733 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1735 * allout.el (allout-yank-processing): Adjust cursor position for
1736 backwards-deleted space.
1738 (allout-rebullet-heading): Register changes with
1739 allout-exposure-changed-hook, so the modified topic is properly
1742 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1744 * minibuffer.el (completion-in-region): Document PREDICATE
1747 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1748 of keyword/argument pairs (bug#6904).
1750 * replace.el (multi-occur):
1751 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
1753 2011-07-02 Drew Adams <drew.adams@oracle.com>
1755 * dired.el (dired-mark-if): Make the message about whether it's
1756 marking or unmarking clearer (bug#8523).
1758 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1760 * disp-table.el (display-table-print-array): New function.
1761 (describe-display-table): Use it to print the vectors more pretty
1764 2011-07-02 Martin Rudalics <rudalics@gmx.at>
1766 * window.el (window-state-get-1): Don't assign clone numbers.
1767 Add clone-of item to list of window parameters.
1768 (window-state-put-2): Don't process clone numbers.
1769 (display-buffer-alist): Fix doc-string.
1771 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * subr.el (remq): Don't allocate if it's not needed.
1774 (keymap--menu-item-binding, keymap--menu-item-with-binding)
1775 (keymap--merge-bindings): New functions.
1776 (keymap-canonicalize): Use them to refine the canonicalization.
1777 * minibuffer.el (minibuffer-local-completion-map)
1778 (minibuffer-local-must-match-map): Move initialization from C.
1779 (minibuffer-local-filename-completion-map): Move initialization from C;
1780 don't inherit from anything here.
1781 (minibuffer-local-filename-must-match-map): Make obsolete.
1782 (completing-read-default): Use make-composed-keymap to combine
1783 minibuffer-local-filename-completion-map with either
1784 minibuffer-local-must-match-map or
1785 minibuffer-local-filename-completion-map.
1787 2011-07-01 Glenn Morris <rgm@gnu.org>
1789 * type-break.el (type-break-time-sum): Use dolist.
1791 * textmodes/flyspell.el (flyspell-word-search-backward):
1792 Replace CL function.
1794 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * mouse.el (mouse--strip-first-event): New function.
1797 (function-key-map): Use it to map fringe clicks to normal clicks
1800 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
1801 (vc-bzr-revision-completion-table): Add support for annotate and date.
1803 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
1804 inherit from parent.
1806 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1808 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
1809 (dired-show-file-type): Doc fixup (bug#8818).
1811 * dired.el (dired-mode): Fix up the doc string as suggested by
1812 Drew Adams (bug#8817).
1814 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
1815 cookie, since the manual says that it should be possible to add
1816 this function to `find-file-hook' (bug#8709).
1818 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1820 * progmodes/cfengine.el: Moved all cfengine3.el functionality
1821 here. Noted Ted Zlatanov as the maintainer.
1822 (cfengine-common-settings, cfengine-common-syntax): New functions
1823 to set up common things between `cfengine-mode' and
1825 (cfengine3-mode): New mode.
1826 (cfengine3-defuns cfengine3-defuns-regex
1827 (cfengine3-class-selector-regex cfengine3-category-regex)
1828 (cfengine3-vartypes cfengine3-font-lock-keywords)
1829 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
1830 (cfengine3-indent-line): Add from cfengine3.el.
1832 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
1834 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
1836 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
1838 2011-07-01 Martin Rudalics <rudalics@gmx.at>
1840 * window.el (same-window-buffer-names, same-window-regexps)
1841 (same-window-p, special-display-frame-alist)
1842 (special-display-popup-frame, special-display-function)
1843 (special-display-buffer-names, special-display-regexps)
1844 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
1845 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1846 (split-window-preferred-function, split-height-threshold)
1847 (split-width-threshold, even-window-heights)
1848 (display-buffer-mark-dedicated, window-splittable-p)
1849 (split-window-sensibly, window-safely-shrinkable-p):
1851 (display-buffer): Don't spread args with function specifier
1852 because special-display-popup-frame won't like it.
1854 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
1856 Time-stamp simplifications and fixes.
1857 These improve accuracy slightly, and future-proof the code
1858 against some potential changes to current-time format.
1860 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
1861 by using time-since and float-time.
1863 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
1864 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
1865 + NNN microseconds".
1867 * type-break.el (type-break-time-sum): Rewrite using time-add.
1869 * play/hanoi.el (hanoi-current-time-float): Remove.
1870 All uses replaced by float-time.
1872 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
1873 This yields a more-accurate answer.
1874 (rng-time-to-float): Remove; no longer needed.
1876 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
1878 * calendar/timeclock.el (timeclock-seconds-to-time):
1879 Defalias to seconds-to-time, since they're the same thing.
1881 * emacs-lisp/elp.el (elp-elapsed-time):
1882 * emacs-lisp/benchmark.el (benchmark-elapse):
1883 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
1885 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * window.el (bury-buffer): Don't iconify the only frame.
1888 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
1889 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
1891 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
1893 * eshell/em-smart.el (eshell-smart-display-navigate-list):
1894 Add mouse-yank-primary.
1896 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
1898 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
1900 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * emacs-lisp/find-func.el (find-library--load-name): New fun.
1903 (find-library-name): Use it to find relative load names when provided
1904 absolute file name (bug#8803).
1906 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1908 * textmodes/flyspell.el (flyspell-word): Consider words that
1909 differ only in case as potential doublons (bug#5687).
1911 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
1912 Remove two rather uninteresting debugging-like messages to make
1913 debbugs.el more silent.
1915 * comint.el (comint-password-prompt-regexp): Accept "Response" as
1916 a password-like phrase.
1918 2011-06-30 Mastake YAMATO <yamato@redhat.com>
1920 * progmodes/cc-guess.el: New file.
1922 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
1924 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
1925 derived from `c-basic-common-init'.
1927 * progmodes/cc-mode.el (top-level): Require cc-guess.
1928 (c-basic-common-init): Use `cc-choose-style-for-mode'.
1930 2011-06-30 Lawrence Mitchell <wence@gmx.li>
1932 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
1934 2011-06-30 Alan Mackenzie <acm@muc.de>
1936 * progmodes/cc-engine.el (c-guess-continued-construct):
1937 Correct the handling of template-args-cont, particularly for when font
1938 lock is disabled. Name this case as "CASE G".
1940 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
1942 * allout.el (allout-yank-processing): Fix injection of extra space
1943 between bullet and non-whitespace character in first topic when
1944 pasting, ensuring that the actual spacing in the pasted topic
1945 following the bullet char is preserved. This extra space was
1946 causing pasted encrypted topics to get a decrypted status even
1947 when the content was actually still encrypted. Now the decryption
1948 status from before the paste is preserved.
1950 (allout-flag-region): Set all allout overlays so they evaporate
1951 when reduced to zero length (evanescent), to prevent overlay
1954 2011-06-30 Glenn Morris <rgm@gnu.org>
1956 * w32-fns.el (w32-charset-info-alist): Declare.
1958 * find-dired.el (find-grep-options): Simplify.
1960 * term/ns-win.el (ns-set-resource): Declare.
1962 * ses.el (row, col): Declare dynamic variables honestly.
1964 * textmodes/reftex-parse.el (index-tags): Declare.
1966 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
1968 * cus-edit.el (customize-push-and-save): New function.
1970 * files.el (hack-local-variables-confirm): Use it.
1972 * custom.el (load-theme): New arg NO-CONFIRM.
1973 Use customize-push-and-save (Bug#8720).
1974 (custom-enabled-themes): Doc fix.
1976 * cus-theme.el (customize-create-theme)
1977 (custom-theme-merge-theme): Callers to load-theme changed.
1979 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1981 * thingatpt.el (thing-at-point-short-url-regexp): Require that
1982 short URLs have at least one dot in them (bug #7614).
1984 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
1985 nil, because using a pty is apparently too slow (bug #895).
1987 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
1989 * mail/sendmail.el (sendmail-query-once): New function.
1990 (sendmail-query-once-function): New variable.
1992 2011-06-29 Glenn Morris <rgm@gnu.org>
1994 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
1996 * ses.el (top-level): Require cl when compiling.
1997 (ses-set-localvars): Fix error statement.
1998 Call it at compile time to silence a storm of warnings.
2000 2011-06-29 Martin Rudalics <rudalics@gmx.at>
2002 * window.el (normalize-live-buffer): Rename to
2003 window-normalize-buffer.
2004 (normalize-live-frame): Rename to window-normalize-frame.
2005 (normalize-any-window): Rename to window-normalize-any-window.
2006 (normalize-live-window): Rename to window-normalize-live-window.
2007 (make-window-atom): Rename to window-make-atom.
2008 (window-resize-reset): Rename to window--resize-reset.
2009 (window-resize-reset-1): Rename to window--resize-reset-1.
2010 (resize-mini-window): Rename to window--resize-mini-window.
2011 (resize-subwindows-skip-p): Rename to
2012 window--resize-subwindows-skip-p.
2013 (resize-subwindows-normal): Rename to
2014 window--resize-subwindows-normal.
2015 (resize-subwindows): Rename to window--resize-subwindows.
2016 (resize-other-windows): Rename to window--resize-siblings.
2017 (resize-this-window): Rename to window--resize-this-window.
2018 (resize-root-window): Rename to window--resize-root-window.
2019 (resize-root-window-vertically): Rename to
2020 window--resize-root-window-vertically.
2021 (normalize-buffer-to-display): Rename to
2022 window-normalize-buffer-to-display.
2023 (normalize-buffer-to-switch-to): Rename to
2024 window-normalize-buffer-to-switch-to.
2025 Correspondingly update all callers of the functions listed
2027 (display-buffer-alist, display-buffer-normalize-arguments)
2028 (display-buffer-normalize-options, display-buffer)
2029 (display-buffer-alist-set): Use "function" instead of
2032 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
2034 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
2035 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
2036 debbugs.gnu.org. Mention acknowledgment email.
2038 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
2040 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
2041 buffer multibyteness, since it shouldn't matter.
2043 2011-06-28 Martin Rudalics <rudalics@gmx.at>
2045 * window.el (display-buffer-in-side-window): Handle dedicated
2046 windows as in display-buffer-reuse-window.
2047 (display-buffer-normalize-alist): Use value of override
2049 (display-buffer-normalize-specifiers): Use value of
2050 other-window-means-other-frame specifier.
2051 (display-buffer-alist): Rewrite some texts in widgets.
2052 (display-buffer): Spread arguments when calling function
2053 specified by fun-with-args.
2055 2011-06-28 Deniz Dogan <deniz@dogan.se>
2057 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2060 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
2061 selectors (Bug#5732).
2062 (css-proprietary-nmstart-re): Use `regexp-opt'.
2064 2011-06-27 Jari Aalto <jari.aalto@cante.net>
2066 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
2067 (eshell-ls-date-format): New defcustom.
2068 (eshell-ls-file): Use it.
2070 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * help-fns.el (describe-variable): Fix message for terminal-local vars.
2074 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
2076 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
2077 (ange-ftp-make-tmp-name): New arg.
2078 (ange-ftp-file-local-copy): Use it.
2080 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
2082 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
2083 no-conversion (Bug#8870).
2085 2011-06-27 Martin Rudalics <rudalics@gmx.at>
2087 * window.el (window-right, window-left, window-child)
2088 (window-child-count, window-last-child)
2089 (window-iso-combination-p, walk-window-tree-1)
2090 (window-atom-check-1, window-tree-1, delete-window)
2091 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
2092 new naming conventions - window-vchild, window-hchild,
2093 window-next and window-prev are now called window-top-child,
2094 window-left-child, window-next-sibling and window-prev-sibling
2096 (resize-window-reset): Rename to window-resize-reset.
2097 (resize-window-reset-1): Rename to window-resize-reset-1.
2098 (resize-window): Rename to window-resize.
2099 (window-min-height, window-min-width)
2100 (resize-mini-window, resize-this-window, resize-root-window)
2101 (resize-root-window-vertically, adjust-window-trailing-edge)
2102 (enlarge-window, shrink-window, maximize-window)
2103 (minimize-window, delete-window, quit-restore-window)
2104 (split-window, balance-windows, balance-windows-area-adjust)
2105 (balance-windows-area, window-state-put-2)
2106 (display-buffer-even-window-sizes, display-buffer-set-height)
2107 (display-buffer-set-width, set-window-text-height)
2108 (fit-window-to-buffer): Rename all "resize-window" prefixed
2109 calls to use the "window-resize" prefix convention.
2110 (display-buffer-alist): Fix symbol for label specifier.
2111 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2112 corresponding specifier.
2113 Reported by Juanma Barranquero <lekktu@gmail.com>.
2115 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2117 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2119 (ses-call-printer): Does not pass an empty string to formatter when the
2120 cell is empty to keep from barking printer Calc math-format-value.
2122 2011-06-27 Richard Stallman <rms@gnu.org>
2124 * battery.el (battery-mode-line-limit): New variable.
2125 (battery-update): Handle it.
2127 * mail/rmailmm.el (rmail-mime-process-multipart):
2128 Handle truncated messages.
2130 2011-06-27 Glenn Morris <rgm@gnu.org>
2132 * progmodes/flymake.el (flymake-err-line-patterns):
2133 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2135 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2137 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
2138 (ses--clean-!, ses--clean-_): New functions.
2139 (ses-range): Add configurability of readout order, and conversion
2142 * ses.el (ses-repair-cell-reference-all): New function.
2143 (ses-cell-symbol): Set macro as safe, so that it can be used in
2146 * ses.el: Update cycle detection algorithm.
2147 (ses-localvars): Add ses--Dijkstra-attempt-nb and
2148 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
2149 (ses-set-localvars): New function.
2150 (ses-make-cell): Add property-list as a cell element.
2151 (ses-cell-property-get-fun, ses-cell-property-get)
2152 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
2153 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2155 (ses-cell-property-set, ses-cell-property-pop)
2156 (ses-cell-property-get-handle): New macro.
2157 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2158 New aliases, used for code readability.
2159 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2161 (ses-self-reference-early-detection): New defcustom.
2162 (ses-formula-references): Robustify against self-refering cells.
2163 (ses-mode): Use ses-set-localvars.
2164 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2165 before lauching the update processing.
2166 (ses-initialize-Dijkstra-attempt): New function.
2167 (ses-recalculate-cell): Update for cycle detection based on
2170 * ses.el: Fix commenting and indenting convention.
2172 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2174 * bs.el (bs-cycle-next): Complete last change.
2176 2011-06-27 Drew Adams <drew.adams@oracle.com>
2178 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2180 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2182 * net/network-stream.el (network-stream-open-starttls):
2183 Don't re-get capabilities unless we've reestablished connection.
2184 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2186 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2187 to binary to possibly avoid line encoding issues on Windows (among
2190 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192 * net/network-stream.el (open-network-stream): Return an :error
2193 saying what the problem was, if possible.
2195 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2198 * net/network-stream.el (network-stream-open-starttls): If we
2199 wanted to use STARTTLS, and the server offered it, but we weren't
2200 able to because we had no STARTTLS support, then close the connection.
2201 (open-network-stream): Return an :error element, if present.
2203 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
2205 * hl-line.el (hl-line-sticky-flag): Doc fix.
2206 (global-hl-line-sticky-flag): New option (Bug#8323).
2207 (global-hl-line-highlight): Obey it.
2209 * vc/vc.el (vc-revert-show-diff): Default to t.
2211 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2213 * allout-widgets.el (allout-widgets-post-command-business):
2214 Stop decorating intermediate isearch matches. They're not being
2215 undecorated when an isearch is continued past, and isearch
2216 automatically collapses them. This leads to "widget leaks", where
2217 decorated items accumulate in collapsed areas. Lines with lots of
2218 hidden widgets can slow down cursor travel, substantially.
2219 Too much complicated machinery would be needed to ensure undecoration,
2220 so we're doing without this nicety.
2222 (allout-widgets-tally-string): Don't try to do a hash-table-count
2223 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2224 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2225 *Messages* when allout-widgets-maintain-tally is t.
2227 2011-06-26 Martin Rudalics <rudalics@gmx.at>
2229 * window.el (display-buffer-normalize-argument): Rename to
2230 display-buffer-normalize-arguments. Handle special meaning of
2231 LABEL argument. Respect special-display-function when popping up
2232 a new frame. Fix code searching for a window showing the buffer
2234 (display-buffer-normalize-specifiers):
2235 Call display-buffer-normalize-arguments.
2236 (display-buffer-in-window): Don't undedicate the window if its
2237 buffer remains the same.
2238 Reported by Drew Adams <drew.adams@oracle.com>.
2239 (display-buffer-alist): Add choice for same-window macro
2241 (display-buffer): Mention special meaning of LABEL argument in
2242 doc-string. Fix quoting. Don't pop up a new frame even as
2245 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
2247 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2248 avoid deleting the current window in some cases (bug#8911).
2250 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2252 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2255 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2257 * net/network-stream.el (network-stream-open-starttls):
2258 Use built-in TLS support if `gnutls-available-p' is true.
2259 (network-stream-open-tls): Ditto.
2261 2011-06-26 Leo Liu <sdl.web@gmail.com>
2263 * register.el (registerv): New struct.
2264 (registerv-make): New function.
2265 (jump-to-register, describe-register-1, insert-register):
2266 Support the jump-func, print-func and insert-func slot of a registerv
2269 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
2271 * vc/vc.el (vc-revert-show-diff): New defcustom.
2272 (vc-diff-internal): New arg specifying diff buffer.
2273 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2274 reuse an existing *vc-diff* buffer (Bug#8927).
2276 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2278 2011-06-26 Glenn Morris <rgm@gnu.org>
2280 * progmodes/f90.el (f90-critical-indent): New option.
2281 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2282 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2283 (f90-mode): Doc fix.
2284 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2285 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2286 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2287 (f90-match-end): Handle block, critical.
2289 2011-06-25 Glenn Morris <rgm@gnu.org>
2291 * calendar/diary-lib.el (diary-included-files): Doc fix.
2292 (diary-include-files): New function, extracted from
2293 diary-include-other-diary-files and diary-mark-included-diary-files.
2294 (diary-include-other-diary-files, diary-mark-included-diary-files):
2295 Just call diary-include-files.
2296 (diary-mark-entries): Reset diary-included-files on first call.
2298 * calendar/diary-lib.el (diary-mark-entries)
2299 (diary-mark-included-diary-files):
2300 Visit included diary-files in temp buffers.
2302 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2303 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2304 (f90-start-block-re, f90-imenu-generic-expression)
2305 (f90-looking-at-program-block-start, f90-no-block-limit):
2306 Add support for submodules.
2308 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2309 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
2311 2011-06-25 Eli Zaretskii <eliz@gnu.org>
2313 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2314 buffer-file-type before setting its value, to avoid disastrous
2315 global effects on decoding files for DOS/Windows systems. (Bug#8780)
2317 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
2319 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2321 * ses.el (ses-unload-function):
2322 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2324 * proced.el (proced-unload-function):
2325 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2327 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2329 * server.el (server-create-window-system-frame): Add parameters arg.
2330 (server-process-filter): Doc fix. Handle frame-parameters.
2332 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
2334 Fix bug#8730, bug#8781.
2336 * loadhist.el (unload--set-major-mode): New function.
2337 (unload-feature): Use it.
2339 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2340 (python-unload-function): New function.
2342 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2346 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2348 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2349 the candidates list.
2351 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
2353 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2355 2011-06-23 Richard Stallman <rms@gnu.org>
2357 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2358 (rmail-variables): Set next-error-move-function.
2359 (rmail-what-message): Take argument POS.
2360 (rmail-next-error-move): New function.
2362 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2364 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2365 messages for adjacent non-terminals.
2367 2011-06-23 Richard Stallman <rms@gnu.org>
2369 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
2370 (rmail-show-message-1): Preserve buffer modified flag.
2371 (rmail-start-mail): Don't specify use of rmail-mail-return;
2372 that's done by mail-bury now.
2373 (rmail-mail-return): Handle arg NEWBUF.
2375 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
2377 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2380 2011-06-23 Martin Rudalics <rudalics@gmx.at>
2382 * window.el (get-lru-window, get-mru-window)
2383 (get-largest-window): Never return a minibuffer window.
2384 (display-buffer-pop-up-window): Fix a bug that could lead to
2385 reusing the minibuffer window.
2386 (display-buffer): Pass original specifier argument to
2387 display-buffer-function instead of the normalized one.
2388 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2390 2011-06-22 Leo Liu <sdl.web@gmail.com>
2392 * minibuffer.el (completing-read-function)
2393 (completing-read-default): Move from minibuf.c
2395 2011-06-22 Richard Stallman <rms@gnu.org>
2397 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2398 to Rmail even if not started by a special Rmail command.
2400 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2401 Copy the buffer currently showing just one message.
2403 2011-06-22 Roland Winkler <winkler@gnu.org>
2405 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2406 (bibtex-clean-entry): First delete the old key so that a
2407 customized algorithm for generating the new key does not get
2408 confused by the old key.
2409 (bibtex-url): Obey regexp of first step.
2410 (bibtex-search-entries): Do not use add-to-list with local
2413 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2415 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2416 stored a user name, then query for the password first, instead of
2417 waiting for SMTP to give an error message and the trying again.
2419 2011-06-22 Lawrence Mitchell <wence@gmx.li>
2421 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2422 BUFFER in call-process.
2424 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2426 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2428 (smtpmail-try-auth-methods): Require user name and password from
2431 2011-06-22 Martin Rudalics <rudalics@gmx.at>
2433 * window.el (display-buffer-default-specifiers)
2434 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2435 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
2436 (split-window): Normalize SIDE argument (Bug#8916).
2438 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2439 (special-display-frame-alist, special-display-popup-frame):
2440 Remove duplicate declarations. These are now in window.el.
2442 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2444 * mail/smtpmail.el (smtpmail-via-smtp):
2445 Set :use-starttls-if-possible so that we always use STARTTLS if the
2446 server supports it. SMTP servers that support STARTTLS commonly
2449 * net/network-stream.el (network-stream-open-starttls): Support
2450 upgrading to STARTTLS always, even if we don't have built-in support.
2451 (open-network-stream): Add the :always-query-capabilies keyword.
2453 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2454 upgrades with `open-network-stream', and rely solely on
2455 auth-source for all credentials. Big changes throughout the file,
2457 (smtpmail-auth-credentials): Remove.
2458 (smtpmail-starttls-credentials): Remove.
2459 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2462 * net/network-stream.el (network-stream-open-starttls):
2463 Provide support for client certificates both for external and built-in
2465 (auth-source): Require.
2466 (open-network-stream): Document the :client-certificate keyword.
2467 (network-stream-certificate): Change cert-cert to cert and
2470 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
2472 * net/tramp-cache.el (top): Don't load the persistency file when
2473 "emacs -Q" has been called.
2475 2011-06-21 Tim Harper <timcharper@gmail.com>
2477 * term/ns-win.el (ns-initialize-window-system):
2478 Set application-specific `ApplePressAndHoldEnabled' system
2479 resource to NO as it is not yet supported by the NS port.
2481 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
2483 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2484 (list-dynamic-libraries): ...not here.
2486 2011-06-21 Leo Liu <sdl.web@gmail.com>
2488 * subr.el (sha1): Implement sha1 using secure-hash.
2490 2011-06-21 Martin Rudalics <rudalics@gmx.at>
2492 * window.el (display-buffer-alist): In default value do not
2493 enforce searching a window on any but the selected frame.
2494 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2495 (display-buffer-select-window): Remove function.
2496 (display-buffer-in-window): When a window on another frame gets
2497 reused, do not select it any more but just raise its frame if
2498 necessary (Bug#8851) and (Bug#8856).
2499 (display-buffer-normalize-options): Handle pop-up-frames related
2500 options more faithfully.
2501 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2502 window if it is on another frame.
2503 (display-buffer-alist, display-buffer-default-specifiers):
2504 Don't make new frame unsplittable by default.
2505 (display-buffer-normalize-argument): Fix doc-string typo and use
2506 'same-frame-other-window instead of 'other-window when associating
2507 with display-buffer-macro-specifiers.
2509 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2511 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2513 (5x5-mode-map, 5x5-mode-menu): Bind them.
2514 (5x5-draw-grid): Tweak the solver's rendering.
2516 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2519 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2521 2011-06-21 Drew Adams <drew.adams@oracle.com>
2523 * menu-bar.el: Use function variable instead of switch-to-buffer.
2524 (menu-bar-select-buffer-function): New variable.
2525 (menu-bar-update-buffers): Use it (bug#8876).
2527 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2529 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2532 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2534 * x-dnd.el (x-dnd-version-from-flags)
2535 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2536 and long as number (Bug#8899).
2537 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2539 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
2542 (completion-try-completion, completion-all-completions): Compute the
2543 metadata argument if it's missing; make it optional (bug#8795).
2545 * wid-edit.el: Use lex-bind and move towards completion-at-point.
2546 (widget-complete): Use new :completion-function property.
2547 (widget-completions-at-point): New function.
2548 (default): Use :completion-function instead of :complete.
2549 (widget-default-completions): Rename from widget-default-complete;
2551 (widget-string-complete, widget-file-complete, widget-color-complete):
2553 (file, symbol, function, variable, coding-system, color):
2554 * international/mule-cmds.el (default-input-method, charset)
2555 (language-info-custom-alist):
2556 * cus-edit.el (face): Use new property :completions.
2558 * progmodes/pascal.el (pascal-completions-at-point): New function.
2559 (pascal-mode): Use it.
2560 (pascal-mode-map): Use completion-at-point.
2561 (pascal-toggle-completions): Make obsolete.
2562 (pascal-complete-word, pascal-show-completions):
2563 * progmodes/octave-mod.el (octave-complete-symbol):
2564 Redefine as obsolete alias.
2565 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2566 Signal absence of completion info for old Octave,
2567 (inferior-octave-complete): Redefine as obsolete alias.
2568 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2569 (meta-completions-at-point): Rename from meta-complete-symbol and
2570 adapt it for use on completion-at-point-functions.
2571 (meta-common-mode): Use it.
2572 (meta-looking-at-backward, meta-match-buffer): Remove.
2573 (meta-complete-symbol): Redefine as obsolete alias.
2574 (meta-common-mode-map): Use completion-at-point.
2575 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2576 (makefile-mode-map): Use completion-at-point.
2577 (makefile-completions-at-point): Rename from makefile-complete and
2578 adapt it for use on completion-at-point-functions.
2579 (makefile-mode): Use it.
2580 (makefile-complete): Redefine as obsolete alias.
2582 2011-06-20 Deniz Dogan <deniz@dogan.se>
2584 * net/rcirc.el: Delete trailing whitespaces once and for all.
2586 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2588 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2590 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
2592 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2594 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2596 2011-06-19 Martin Rudalics <rudalics@gmx.at>
2598 * window.el (display-buffer-other-window-means-other-frame):
2599 Call display-buffer-normalize-alist.
2600 (display-buffer-normalize-specifiers-1): Rename to
2601 display-buffer-normalize-argument. New argument other-frame.
2603 (display-buffer-normalize-specifiers-2): Rename to
2604 display-buffer-normalize-options.
2605 (display-buffer-normalize-alist-1): New function.
2606 (display-buffer-normalize-specifiers-3): Rename to
2607 display-buffer-normalize-alist.
2608 Call display-buffer-normalize-alist-1.
2609 (display-buffer-normalize-options-inhibit): New variable.
2610 (display-buffer-normalize-specifiers): Rewrite calling
2611 display-buffer-normalize-alist,
2612 display-buffer-normalize-argument, and
2613 display-buffer-normalize-options. Don't call the latter if
2614 display-buffer-normalize-options-inhibit is non-nil.
2615 (frame-auto-delete): New option.
2616 (window-deletable-p): Use frame-auto-delete.
2617 (window-list-no-nils, window-state-ignored-parameters)
2618 (window-state-get-1, window-state-get, window-state-put-list)
2619 (window-state-put-1, window-state-put-2, window-state-put):
2621 (display-buffer-normalize-options): Move special-display-p group
2622 after pop-up-frame group (Bug#8851) and (Bug#8856).
2624 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
2626 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2628 (rx-submatch-n): New function.
2631 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2634 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2636 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2638 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2639 anytime existing face settings are present (Bug#8889).
2641 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2642 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2643 Remove unused argument.
2645 2011-06-18 Martin Rudalics <rudalics@gmx.at>
2647 * window.el (display-buffer-default-specifiers):
2648 Remove pop-up-frame. Add pop-up-window-min-height,
2649 pop-up-window-min-width, and another reuse-window specifier
2650 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
2651 (display-buffer-normalize-specifiers-2):
2652 Handle split-height-threshold and split-width-threshold also when
2653 pop-up-windows is unset. Add a reuse-window specifier for the
2654 case popping up a new window fails.
2655 (special-display-popup-frame): Remove double quoting.
2656 (display-buffer-normalize-specifiers-1): Fix thinko.
2658 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2660 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2661 according to comint-completion-addsuffix.
2663 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2664 (pcomplete-suffix-list): Mark as obsolete.
2665 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2666 pcomplete-seen in the closure.
2667 (pcomplete-comint-setup): Setup completion-at-point as well.
2668 (pcomplete--entries): New function.
2669 (pcomplete--env-regexp): New var.
2670 (pcomplete-entries): Rewrite to work with partial-completion and
2671 without relying on pcomplete-suffix-list.
2672 (pcomplete-pare-list): Remove, unused.
2674 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2676 * window.el (display-buffer-alist): Set pop-up-window-min-height
2677 and pop-up-window-min-width in default value. Reported by
2678 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2679 other-window-means-other-frame.
2680 (display-buffer-macro-specifiers): Comment out entry for
2681 other-window specifier.
2682 (display-buffer-other-window-means-other-frame): New function.
2683 (display-buffer-normalize-specifiers-1): New arguments
2684 buffer-name and label. Treat other-window case specially.
2685 (display-buffer-normalize-specifiers-2): Treat other-window case
2687 (display-buffer-normalize-specifiers-3): New function.
2688 (display-buffer-normalize-specifiers):
2689 Call display-buffer-normalize-specifiers-3.
2691 2011-06-17 Martin Rudalics <rudalics@gmx.at>
2693 * window.el (same-window-p): Fix two typos introduced when
2694 adding with-no-warnings.
2695 (display-buffer-normalize-specifiers-1): Don't check
2696 pop-up-frames for 'unset initialization.
2697 (display-buffer-normalize-specifiers-2): Major rewrite using
2698 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2699 (pop-up-frames, display-buffer-reuse-frames)
2700 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2701 Suggested by David Engster <deng@randomsample.de>.
2702 (even-window-heights): Initialize to 'unset.
2703 (display-buffer-alist-set): Handle new 'unset initializations.
2704 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2707 2011-06-16 Martin Rudalics <rudalics@gmx.at>
2709 * window.el (display-buffer-normalize-specifiers-1):
2710 Respect current value of pop-up-frames for most reasonable values of
2711 second argument of display-buffer (Bug#8865).
2712 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2713 (switch-to-buffer-other-window-same-frame)
2714 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2716 (display-buffer): Don't check noninteractive when calling
2717 display-buffer-pop-up-frame.
2718 (display-buffer-pop-up-frame): Never pop up a frame in
2719 noninteractive mode (Bug#8857).
2720 (enlarge-window, shrink-window): Don't report an error when the
2721 window can't be resized as requested (Bug#8862).
2723 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2727 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2729 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2731 2011-06-15 Alan Mackenzie <acm@muc.de>
2733 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2734 for declarators, disable knr checking to speed up for normal files.
2735 2: Refactor, replacing a sequence of nested if forms by a cond form.
2737 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2739 * net/network-stream.el (open-network-stream): Add the keyword
2740 :always-query-capabilities for the case where you want to force a
2741 `plain' network connection, but the protocol still requires the
2742 capabilitiy command (i.e., SMTP and EHLO).
2744 * subr.el (process-live-p): Rename from `process-alive-p' for
2745 consistency with other `-live-p' functions.
2747 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2749 * window.el (same-window-buffer-names, same-window-regexps)
2750 (special-display-frame-alist, special-display-popup-frame)
2751 (special-display-function, special-display-buffer-names)
2752 (special-display-regexps, pop-up-frame-alist)
2753 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
2754 (pop-up-windows, split-window-preferred-function)
2755 (split-height-threshold, split-width-threshold, even-window-heights)
2756 (display-buffer-mark-dedicated): Don't encourage the use of
2757 display-buffer-alist from Elisp code.
2759 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
2761 * progmodes/python.el (python-mode): Derive from prog-mode.
2762 * progmodes/ps-mode.el (ps-mode):
2763 * progmodes/mixal-mode.el (mixal-mode):
2764 * progmodes/cfengine.el (cfengine-mode):
2765 * progmodes/ld-script.el (ld-script-mode): Likewise.
2767 2011-06-15 Martin Rudalics <rudalics@gmx.at>
2769 * window.el (display-buffer-alist): Trim default value to avoid
2770 popping up a new frame (Bug#8857) or reusing an arbitrary window
2772 (display-buffer): Do not fall back on popping up a new frame in
2773 batch mode (Bug#8857).
2775 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
2777 * cus-theme.el (describe-theme-1): Use custom-theme-p.
2778 (custom-theme-summary): New function.
2779 (customize-themes): Use it.
2781 2011-06-13 Glenn Morris <rgm@gnu.org>
2783 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
2785 2011-06-13 Martin Rudalics <rudalics@gmx.at>
2787 * help.el (help-window): Remove variable.
2788 (help-window-point-marker, temp-buffer-max-height)
2789 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
2790 (help-print-return-message): Don't set help-window.
2791 (resize-temp-buffer-window): Rewrite cod eand doc-string.
2792 (help-window-setup-finish): Remove.
2793 (help-window-display-message, help-window-setup)
2794 (with-help-window): Major rewrite based on new
2795 display-buffer-window variable.
2797 * help-mode.el (help-mode-finish): Remove help-window related
2800 * view.el (view-exits-all-viewing-windows): Remove reference to
2801 view-return-to-alist in doc-string.
2802 (view-return-to-alist): Make obsolete.
2803 (view-buffer): Call pop-to-buffer-same-window and remove
2805 (view-buffer-other-window): Call pop-to-buffer-other-window and
2806 simplify code. Ignore second argument.
2807 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
2808 simplify code. Ignore second argument.
2809 (view-return-to-alist-update): Make obsolete.
2810 (view-mode-enter): Rename second argument to QUIT-RESTORE.
2811 Rewrite using quit-restore window parameters.
2812 (view-mode-exit): Rename second argument to EXIT-ONLY.
2813 Rewrite using quit-restore-window.
2814 (View-exit, View-exit-and-edit, View-leave, View-quit)
2815 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
2816 appropriate arguments.
2817 (view-end-message): Use quit-restore window parameter.
2819 * window.el (display-buffer-function): Rewrite doc-string.
2820 (display-buffer-window, display-buffer-alist): New variables.
2821 (display-buffer-split-specifiers)
2822 (display-buffer-side-specifiers)
2823 (display-buffer-macro-specifiers): New constants.
2824 (display-buffer-even-window-sizes, display-buffer-set-height)
2825 (display-buffer-set-width, display-buffer-select-window)
2826 (display-buffer-in-window, display-buffer-reuse-window)
2827 (display-buffer-split-window-1, display-buffer-split-window)
2828 (display-buffer-split-atom-window, display-buffer-pop-up-window)
2829 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
2830 (display-buffer-in-side-window, normalize-buffer-to-display)
2831 (display-buffer-normalize-specifiers-1)
2832 (display-buffer-normalize-specifiers-2)
2833 (display-buffer-normalize-specifiers, display-buffer-frame):
2835 (display-buffer): Major rewrite.
2836 (display-buffer-other-window, display-buffer-other-frame)
2837 (pop-to-buffer, switch-to-buffer-other-window)
2838 (switch-to-buffer-other-frame): Rewrite.
2839 (display-buffer-same-window, display-buffer-same-frame)
2840 (display-buffer-same-frame-other-window)
2841 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2842 (pop-to-buffer-other-window)
2843 (pop-to-buffer-same-frame-other-window)
2844 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
2845 (switch-to-buffer-other-window-same-frame): New functions.
2846 (same-window-p, special-display-p): Rewrite disabling warnings.
2848 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2849 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
2851 (same-window-buffer-names, same-window-regexps)
2852 (special-display-frame-alist, special-display-popup-frame)
2853 (special-display-function, special-display-buffer-names)
2854 (special-display-regexps, pop-up-frame-alist)
2855 (pop-up-frame-function, split-window-preferred-function)
2856 (split-height-threshold, split-width-threshold)
2857 (even-window-heights): Make obsolete.
2859 2011-06-12 Glenn Morris <rgm@gnu.org>
2861 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
2862 Misc simplifications.
2864 2011-06-12 Martin Rudalics <rudalics@gmx.at>
2866 * window.el (window-safely-shrinkable-p): Restore function which
2867 was inadvertently removed in change from 2011-06-11. Declare as
2870 * calendar/calendar.el (calendar-generate-window):
2871 Use window-iso-combined-p instead of combination of one-window-p and
2872 window-safely-shrinkable-p.
2874 2011-06-12 Glenn Morris <rgm@gnu.org>
2876 * progmodes/fortran.el (fortran-mode-syntax-table):
2877 * progmodes/f90.el (f90-mode-syntax-table):
2878 Set % to punctuation. (Bug#8820)
2879 (f90-find-tag-default): Remove, no longer needed.
2881 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
2883 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
2885 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
2887 * image.el (image-animated-p): Return animation delay in seconds.
2888 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
2889 (image-animate-timeout): Remove DELAY argument. Don't assume
2890 every subimage has the same delay; get it from image-animated-p.
2891 (image-animate): Caller changed.
2893 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
2895 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
2896 to ignored backtrace functions.
2898 2011-06-11 Glenn Morris <rgm@gnu.org>
2900 * calendar/appt.el (appt-disp-window-function): Doc fix.
2901 (appt-check): Handle overlapping appointments. (Bug#8337)
2903 2011-06-11 Martin Rudalics <rudalics@gmx.at>
2905 * window.el (window-tree-1, window-tree): New functions, moving
2906 the latter to window.el.
2907 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
2908 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
2909 (bw-refresh-edges): Remove.
2910 (balance-windows-1, balance-windows-2): New functions.
2911 (balance-windows): Rewrite in terms of window tree functions,
2912 balance-windows-1 and balance-windows-2.
2913 (bw-adjust-window): Remove.
2914 (balance-windows-area-adjust): New function with functionality of
2915 bw-adjust-window but using resize-window.
2916 (set-window-text-height): Rewrite doc-string.
2917 Use normalize-live-window and resize-window.
2918 (enlarge-window-horizontally, shrink-window-horizontally):
2919 Rename argument to DELTA.
2920 (window-buffer-height): New function.
2921 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
2922 Rewrite using new window resize routines.
2923 (kill-buffer-and-window, mouse-autoselect-window-select):
2924 Use ignore-errors instead of condition-case.
2925 (quit-window): Call delete-frame instead of delete-windows-on
2926 for the only buffer on frame.
2928 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2930 * loadup.el (top-level): Load window before files for the sake
2931 of replace-buffer-in-windows.
2933 * files.el (read-buffer-to-switch)
2934 (switch-to-buffer-other-window)
2935 (switch-to-buffer-other-frame, display-buffer-other-frame):
2938 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
2939 (previous-buffer): Move to window.el.
2941 * bindings.el (unbury-buffer): Move to window.el.
2943 * window.el (delete-other-windows-vertically): Move after
2944 definition of delete-other-windows.
2945 (other-window, delete-windows-on, replace-buffer-in-windows):
2946 Move here from window.c.
2947 (record-window-buffer, unrecord-window-buffer)
2948 (set-window-buffer-start-and-point, switch-to-prev-buffer)
2949 (switch-to-next-buffer): New functions.
2950 (get-next-valid-buffer, last-buffer, next-buffer): Move here
2951 from simple.el. Call switch-to-next-buffer.
2952 (previous-buffer): Move here from simple.el.
2953 Call switch-to-prev-buffer.
2954 (bury-buffer): Move here from buffer.c. Switch to previous
2955 buffer when window cannot be deleted.
2956 (unbury-buffer): Move here from bindings.el.
2957 (ctl-x-map): Move binding for other-window from window.c to
2959 (read-buffer-to-switch, switch-to-buffer-other-window)
2960 (switch-to-buffer-other-frame): Move here from files.el.
2961 (normalize-buffer-to-switch-to): New functions.
2962 (switch-to-buffer): Move here from buffer.c.
2963 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
2965 2011-06-10 Martin Rudalics <rudalics@gmx.at>
2967 * window.el (window-min-height, window-min-width): Move here
2968 from window.c. Add defcustoms and rewrite doc-strings.
2969 (resize-mini-window, resize-window): New functions.
2970 (adjust-window-trailing-edge, enlarge-window, shrink-window):
2971 Move here from window.c.
2972 (maximize-window, minimize-window): New functions.
2973 (delete-window, delete-other-windows, split-window): Move here
2975 (window-split-min-size): New function.
2976 (split-window-keep-point): Mention split-window-above-each-other
2977 instead of split-window-vertically.
2978 (split-window-above-each-other, split-window-vertically):
2979 Rename split-window-vertically to split-window-above-each-other and
2980 provide defalias for old definition.
2981 (split-window-side-by-side, split-window-horizontally): Rename
2982 split-window-horizontally to split-window-side-by-side and provide
2983 defalias for the old definition.
2984 (ctl-x-map): Move bindings for delete-window,
2985 delete-other-windows and enlarge-window here from window.c.
2986 Replace bindings for split-window-vertically and
2987 split-window-horizontally by bindings for
2988 split-window-above-each-other and split-window-side-by-side.
2990 * cus-start.el (all): Remove entries for window-min-height and
2991 window-min-width. Add entries for window-splits and
2994 2011-06-09 Glenn Morris <rgm@gnu.org>
2996 * calendar/appt.el (appt-mode-line): New function.
2997 (appt-check, appt-disp-window): Use it.
2999 * files.el (hack-one-local-variable-eval-safep):
3000 Allow minor-modes with explicit +/-1 arguments.
3002 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
3004 * term/xterm.el (xterm): Add defgroup.
3005 (xterm-extra-capabilities): Add defcustom to supply known xterm
3006 capabilities, skip querying them, or query them (default).
3007 (terminal-init-xterm): Use it.
3008 (terminal-init-xterm-modify-other-keys): New function to set up
3009 modifyOtherKeys support to simplify `terminal-init-xterm'.
3011 2011-06-09 Martin Rudalics <rudalics@gmx.at>
3013 * window.el (resize-window-reset, resize-window-reset-1)
3014 (resize-subwindows-skip-p, resize-subwindows-normal)
3015 (resize-subwindows, resize-other-windows, resize-this-window)
3016 (resize-root-window, resize-root-window-vertically)
3017 (window-deletable-p, window-or-subwindow-p)
3018 (frame-root-window-p): New functions.
3020 2011-06-09 Glenn Morris <rgm@gnu.org>
3022 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
3023 (ange-ftp-get-files): Use it.
3025 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3027 * mail/sendmail.el (mail-recover-1, mail-recover):
3028 * files.el (recover-file, recover-session):
3029 Handle dired-listing-switches not being just a single short option.
3031 2011-06-09 Glenn Morris <rgm@gnu.org>
3033 * calendar/appt.el (appt-display-message, appt-disp-window):
3034 Handle lists of appointments.
3036 2011-06-08 Martin Rudalics <rudalics@gmx.at>
3038 * window.el (one-window-p): Move down in code.
3040 (window-current-scroll-bars): Rewrite doc-string.
3041 Normalize live window argument.
3042 (walk-windows, get-window-with-predicate, count-windows):
3043 Rewrite doc-string. Use window-list-1.
3044 (window-in-direction-2, window-in-direction, get-mru-window):
3047 2011-06-08 Reuben Thomas <rrt@sc3d.org>
3049 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
3052 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
3054 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
3056 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
3058 * loadhist.el (unload-feature-special-hooks):
3059 Add `comint-output-filter-functions'.
3061 2011-06-08 Ivan Kanis <gnu@kanis.fr>
3063 * calendar/appt.el (appt-check): Move some initializations into the let.
3065 2011-06-08 Martin Rudalics <rudalics@gmx.at>
3067 * window.el (window-height): Defalias to window-total-height.
3068 (window-width): Defalias to window-body-width.
3070 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
3072 * image-mode.el (image-toggle-animation): New command.
3073 (image-mode-map): Bind it to RET.
3074 (image-mode): Update message.
3075 (image-toggle-display-image): Avoid a spurious cache flush.
3076 (image-transform-rotation): Doc fix.
3077 (image-transform-properties): Return quickly in the normal case.
3078 (image-animate-loop): Rename from image-animate-max-time.
3080 * image.el (image-animate-max-time): Move to image-mode.el.
3081 (create-animated-image): Remove unnecessary function.
3082 (image-animate): Rename from image-animate-start. New arg.
3083 (image-animate-stop): Remove; just use image-animate-timer.
3084 (image-animate-timer): Use car-safe.
3085 (image-animate-timeout): Rename argument.
3087 2011-06-07 Martin Rudalics <rudalics@gmx.at>
3089 * window.el (get-lru-window, get-largest-window): Move here from
3090 window.c. Rename first argument to ALL-FRAMES.
3091 Rephrase doc-strings.
3092 (get-buffer-window-list): Rewrite using window-list-1.
3093 Rephrase doc-string.
3094 (window-safe-min-height, window-safe-min-width): New constants.
3095 (window-size-ignore, window-min-size, window-min-size-1)
3096 (window-sizable, window-sizable-p, window-size-fixed-1)
3097 (window-size-fixed-p, window-min-delta-1, window-min-delta)
3098 (window-max-delta-1, window-max-delta, window-resizable)
3099 (window-resizable-p, window-total-height, window-total-width)
3100 (window-body-width): New functions.
3101 (window-full-height-p, window-full-width-p): Rewrite using
3103 (window-body-height): Rewrite using window-body-size.
3105 2011-06-06 Martin Rudalics <rudalics@gmx.at>
3107 * window.el (window-right, window-left, window-child)
3108 (window-child-count, window-last-child, window-any-p)
3109 (normalize-live-buffer, normalize-live-frame)
3110 (normalize-any-window, normalize-live-window)
3111 (window-iso-combination-p, window-iso-combined-p)
3112 (window-iso-combinations)
3113 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3114 (windows-with-parameter, window-with-parameter)
3115 (window-atom-root, make-window-atom, window-atom-check-1)
3116 (window-atom-check, window-side-check, window-check):
3118 (ignore-window-parameters, window-sides, window-sides-vertical)
3119 (window-sides-slots): New variables.
3120 (window-size-fixed): Move down in code. Minor doc-string fix.
3122 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3124 * comint.el (comint-dynamic-complete-as-filename)
3125 (comint-dynamic-complete-filename): Correctly call
3126 completion-in-region.
3128 2011-06-05 Deniz Dogan <deniz@dogan.se>
3130 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3133 2011-06-05 Deniz Dogan <deniz@dogan.se>
3135 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3136 (rcirc): Use it to prompt for encryption.
3138 2011-06-05 Roland Winkler <winkler@gnu.org>
3140 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3141 (bibtex-search-entries): New command bound to C-c C-a.
3142 (bibtex-display-entries): New function.
3144 2011-06-05 Roland Winkler <winkler@gnu.org>
3146 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3147 (bibtex-insert-kill): After yanking insert newline if necessary.
3148 (bibtex-initialize): Call bibtex-string-files-init only once.
3149 (bibtex-mode): Do not call easy-menu-add.
3150 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3151 (bibtex-yank): Set arg properly if nil.
3153 2011-06-05 Roland Winkler <winkler@gnu.org>
3155 * textmodes/bibtex.el (bibtex-search-entry-globally):
3157 (bibtex-search-entry): Use it.
3159 2011-06-05 Roland Winkler <winkler@gnu.org>
3161 * textmodes/bibtex.el (bibtex-entry-format): New option
3163 (bibtex-format-entry, bibtex-reformat): Honor this option.
3164 (bibtex-parse-entry): Return fields in proper order.
3166 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
3168 * doc-view.el (doc-view-remove-if): Move computation of result out
3169 of `dolist' to silence misleading lexical-binding warning.
3171 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
3173 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3174 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3176 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
3178 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3181 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
3183 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3184 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3185 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3186 (tramp-parse-putty):
3187 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3188 (tramp-completion-function-alist-ssh)
3189 (tramp-completion-function-alist-telnet)
3190 (tramp-completion-function-alist-su)
3191 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3196 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3197 load "tramp.el" `tramp-set-completion-function'.
3199 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * shell.el: Require and use pcomplete.
3202 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3203 (shell-completion-vars): Set pcomplete-default-completion-function.
3205 2011-06-04 Deniz Dogan <deniz@dogan.se>
3207 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3210 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3214 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
3216 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3217 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3218 * vc/log-view.el (log-view-beginning-of-defun):
3219 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3220 (smerge-refine-forward, smerge-refine-chopup-region):
3221 Silence warning for unused `dotimes' counter variables.
3223 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * net/tramp.el (tramp-with-progress-reporter): Rename from
3226 with-progress-reporter. Use `declare'.
3229 * net/tramp-gvfs.el: Update all uses.
3231 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3233 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3234 buffer isn't killed before making it current.
3236 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3238 Silence various byte-compiler warnings.
3239 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3240 `access-type' and new obsolescence format.
3241 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3243 (byte-compile-check-variable): New `access-type' argument.
3244 Only warn if the access-type is obsolete.
3245 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3246 (byte-compile-variable-set): Adjust callers.
3247 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3248 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3249 setting it as obsolete.
3250 * simple.el (minibuffer-completing-symbol):
3251 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3253 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3255 * international/quail.el (quail-mouse-choose-completion): Remove unused
3256 code referring to obsolete var.
3257 (quail-choose-completion-string): Remove.
3258 * server.el (server-clients-with, server-kill-buffer-query-function)
3259 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3260 * proced.el (proced-send-signal):
3261 * emacs-lisp/lisp.el (lisp-complete-symbol):
3262 Replace completion-annotate-function with completion-extra-properties.
3264 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * simple.el (goto-line): Use read-number.
3267 (overriding-map-is-bound): Remove.
3268 (saved-overriding-map): Change default.
3269 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3270 Take the map as argument.
3271 (universal-argument, negative-argument, digit-argument): Use it.
3272 (restore-overriding-map): Adjust.
3273 (do-auto-fill): Use fill-forward-paragraph.
3274 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3276 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3277 (minibuffer-inactive-mode): New major mode.
3278 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3279 the *Messages* buffer" hack.
3280 (mouse-popup-menubar): Don't burp if the event is a normal key.
3282 Miscellaneous tweaks.
3283 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3284 lexical scoping as in subr.el's dolist and dotimes.
3285 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3286 Silence compiler warning.
3287 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3288 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3289 * international/ccl.el (ccl-compile): Trivial simplification.
3290 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3291 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3292 `printflag' argument.
3293 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3294 Purecopy the whole obsolescence data.
3296 2011-06-01 Leo Liu <sdl.web@gmail.com>
3298 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3299 improve doc-string as suggested by Marco Pessotto
3300 <melmothx@gmail.com>.
3301 (rcirc-print): Fix last change.
3303 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3305 * minibuffer.el (complete-with-action): Return nil for the metadata and
3306 boundaries of non-functional tables.
3307 (completion-table-dynamic): Return nil for the metadata.
3308 (completion-table-with-terminator): Add default case, using
3309 complete-with-action.
3310 (completion--metadata): New function.
3311 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3312 to try and avoid pathological performance problems.
3313 (completion--embedded-envvar-table): Return `category' metadata.
3315 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3317 * subr.el (process-alive-p): New tiny convenience function.
3319 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3321 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3322 content but also its previous major mode.
3324 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
3326 * debug.el (debug): Restore the previous content of the
3327 *Backtrace* buffer when we exit with C-M-c.
3329 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * minibuffer.el: Add metadata method to completion tables.
3332 (completion-category-overrides): New defcustom.
3333 (completion-metadata, completion--field-metadata)
3334 (completion-metadata-get, completion--styles)
3335 (completion--cycle-threshold): New functions.
3336 (completion-try-completion, completion-all-completions):
3337 Add `metadata' argument to choose completion-styles.
3338 (completion--do-completion): Use metadata to choose cycling.
3339 (completion-all-sorted-completions): Use metadata for sorting.
3340 Remove :completion-cycle-penalty which is not needed any more.
3341 (completion--try-word-completion): Add `metadata' argument.
3342 (minibuffer-completion-help): Check metadata for annotation function
3344 (completion-file-name-table): Return `category' metadata.
3345 (minibuffer-completing-file-name): Make obsolete.
3346 * simple.el (minibuffer-completing-symbol): Make obsolete.
3347 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3348 completion-try-completion.
3350 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3352 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3354 2011-05-30 Leo Liu <sdl.web@gmail.com>
3356 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
3357 (rcirc-print): Decode all incoming messages (bug#8744).
3358 (rcirc-decode-coding-system): Allow value nil for automatic coding
3361 2011-06-01 Glenn Morris <rgm@gnu.org>
3363 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3365 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3367 * image.el (image-animate-max-time): Allow nil and t values.
3369 (create-animated-image): Doc fix.
3370 (image-animate-start): Remove second arg; just use
3371 image-animate-max-time.
3372 (image-animate-timeout): Doc fix. Args changed.
3374 * image-mode.el (image-toggle-display-image): Ensure that the
3375 image spec passed to the animate timer is the same object as in
3376 the the buffer's display property (Bug#6981).
3377 (image-transform-properties): Doc fix.
3379 * image.el (image-animate-max-time): Default to nil.
3381 2011-05-29 Martin Rudalics <rudalics@gmx.at>
3383 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3384 entire buffer list (Bug#8184).
3386 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3388 * image.el (imagemagick-types-inhibit)
3389 (imagemagick-register-types): Doc fix.
3391 2011-05-29 Deniz Dogan <deniz@dogan.se>
3393 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3396 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3398 * select.el: Don't perform clipboard-manager saving in hooks;
3399 leave the hooks empty.
3401 2011-05-28 Leo Liu <sdl.web@gmail.com>
3403 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3404 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3405 (occur-edit-mode): New major mode (Bug#8463).
3406 (occur-after-change-function): New function.
3407 (occur-engine): Give Occur tags a read-only property.
3409 2011-05-28 Kevin Ryde <user42@zip.com.au>
3411 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3413 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3415 * bindings.el (help-echo): Make the initial non-indicator dash
3416 empty on graphical terminals (Bug#7295).
3418 * files.el (auto-mode-alist): Move config rule after the
3419 in-stripping one (Bug#8547).
3421 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3423 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3426 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3428 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3429 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3432 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3434 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3436 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3438 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3439 (hs-hide-block-at-point, hs-find-block-beginning)
3440 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3443 2011-05-28 Glenn Morris <rgm@gnu.org>
3445 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3447 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3449 * help-fns.el (describe-function-1): If the function is a derived
3450 major mode, print the parent mode.
3452 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3453 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3455 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * minibuffer.el (completion--capf-wrapper): Check applicability before
3458 retuning non-nil for non-exclusive completion data.
3459 * progmodes/etags.el (tags-completion-at-point-function):
3460 * info-look.el (info-lookup-completions-at-point): Mark as
3462 (info-complete): Adjust accordingly.
3464 * info-look.el: Convert to lexical-binding and completion-at-point.
3465 (info-lookup-completions-at-point): New function.
3466 (info-complete): Use it and completion-in-region.
3468 2011-05-28 Drew Adams <drew.adams@oracle.com>
3470 * isearch.el: Let M-e start with point at the first mismatched char.
3471 (isearch-fail-pos): New function.
3472 (isearch-edit-string): Use it.
3474 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3476 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3478 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3480 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3481 traversal functions for avl-trees.
3482 (avl-tree--stack): New struct.
3483 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3484 (avl-tree-enter): Add optional `updatefun' arg.
3485 (avl-tree--do-enter): Add optional `updatefun' arg.
3486 Change return value.
3487 (avl-tree-delete): Add optional `test' and `nilflag' args.
3488 (avl-tree--do-delete): Add `test' and `nilflag' args.
3489 Change return value.
3490 (avl-tree-member): Add optional `nilflag'
3491 (avl-tree-member-p): New function.
3492 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3493 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3494 (avl-tree-stack-empty-p): New functions.
3496 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3498 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3499 avl-tree--del-balance1 and make it work both ways.
3500 (avl-tree--del-balance2): Remove.
3501 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3502 make it work both ways.
3503 (avl-tree--enter-balance2): Remove.
3504 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3506 (avl-tree--mapc, avl-tree-map): Add direction argument.
3508 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
3510 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3512 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
3514 * select.el: Support clipboard managers with built-in function
3515 x-clipboard-manager-save, via delete-frame-functions and
3517 (xselect-convert-to-targets): Add MULTIPLE target to list.
3518 (xselect-convert-to-save-targets): New function.
3520 2011-05-27 Kenichi Handa <handa@m17n.org>
3522 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3523 let-binding rfc2047-encode-encoded-words to nil.
3525 2011-05-27 Glenn Morris <rgm@gnu.org>
3527 * mail/emacsbug.el: Don't require url-util.
3529 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3531 * files.el (set-auto-mode):
3532 Also respect mode: entries at the end of the file. (Bug#8586)
3534 2011-05-26 Glenn Morris <rgm@gnu.org>
3536 * files.el (hack-local-variables-prop-line, hack-local-variables):
3537 Downcase mode names, as seems to be traditional.
3538 (hack-local-variables, hack-local-variables-apply): Doc fixes.
3540 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3541 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3543 2011-05-25 Julien Danjou <julien@danjou.info>
3545 * textmodes/rst.el (rst-define-level-faces): Do not define face
3546 symbol if it is already defined.
3548 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3550 * play/5x5.el (5x5-new-game, 5x5-randomize):
3551 Reset 5x5-solver-output to nil when a new grid is cast.
3552 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3553 these debugging traces, as defmacro breaks the compiled code.
3555 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3557 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3559 2011-05-24 Leo Liu <sdl.web@gmail.com>
3561 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3562 (vc-bzr-sha1): Adapt.
3564 * sha1.el: Remove. Function `sha1' is now builtin.
3566 * bindings.el: Provide sha1 feature.
3568 2011-05-24 Kenichi Handa <handa@m17n.org>
3570 * mail/sendmail.el: Require `rfc2047'.
3571 (mail-insert-from-field): Do not perform RFC2047 encoding.
3572 (mail-encode-header): New function.
3573 (sendmail-send-it): Set buffer-file-coding-system of the work
3574 buffer to the return value of select-message-coding-system.
3575 Call mail-encode-header.
3577 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3579 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
3581 * mail/supercite.el (sc-default-cite-frame):
3582 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
3584 2011-05-24 Glenn Morris <rgm@gnu.org>
3586 * progmodes/python.el (brm-menu): Declare.
3588 * emulation/viper.el (viper-set-hooks): Declare.
3590 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3591 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3592 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3593 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3594 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3595 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3597 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3599 Add an :exit-function for completion-at-point.
3601 * minibuffer.el (completion--done): New fun.
3602 (completion--do-completion): Use it. New arg `expect-exact'.
3603 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3604 since completion--do-completion does it for us now.
3605 (minibuffer-force-complete): Use completion--done and
3606 completion--replace. Handle sole-completion case with more care.
3607 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3608 (completion-extra-properties): New var.
3609 (completion-annotate-function): Make obsolete.
3610 (minibuffer-completion-help): Adjust accordingly.
3611 Use completion-list-insert-choice-function.
3612 (completion-at-point, completion-help-at-point):
3613 Bind completion-extra-properties.
3614 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3615 * simple.el (completion-list-insert-choice-function): New var.
3616 (completion-setup-function): Preserve it.
3617 (choose-completion): Pay attention to it, shuffle the code a bit.
3618 (choose-completion-string): New arg `insert-function'.
3620 * textmodes/bibtex.el: Convert to lexical binding.
3621 (bibtex-mode-map): Use completion-at-point.
3622 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3623 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3624 (bibtex-complete): Define as obsolete alias.
3625 (bibtex-complete-internal): Remove.
3626 (bibtex-format-entry): Remove unused sub-group in regexp.
3627 * shell.el (shell--command-completion-data)
3628 (shell-environment-variable-completion):
3629 * pcomplete.el (pcomplete-completions-at-point):
3630 * comint.el (comint--complete-file-name-data): Use :exit-function
3631 instead of completion-table-with-terminator so it also works for
3634 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3638 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3641 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3643 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3645 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3646 customization variable and implement: If non-nil, auto-fill will
3647 be inhibited while on topic's header line.
3649 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3651 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
3652 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
3653 always have a solution in grid size = 5 cases.
3654 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3655 (5x5-solver-output, 5x5-log-buffer): New vars.
3656 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3657 Make these variables buffer local to achieve 5x5 multi-session-ness.
3658 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3659 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3660 (5x5-solve-suggest): New funs.
3661 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3662 randomize a grid so that we ensure that there is always a solution.
3663 (5x5-make-random-grid): Allow other movement than flipping.
3665 2011-05-23 Kevin Ryde <user42@zip.com.au>
3667 * emacs-lisp/advice.el (ad-read-advised-function):
3668 Use `function-called-at-point' as the default default, if it has
3669 advice and passes PREDICATE.
3671 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3673 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3674 byte-compile-lambda if it's actually a lambda.
3676 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3677 Fix function quoting. Use backquote better.
3679 2011-05-22 Yuanle Song <sylecn@gmail.com>
3681 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3682 matching (Bug#8516).
3684 2011-01-22 Jari Aalto <jari.aalto@cante.net>
3686 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3687 different face (Bug#8178).
3689 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
3691 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3694 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3696 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3697 funcall as well (bug#8712). Warn when performing those conversions.
3698 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3700 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3702 2011-05-22 Glenn Morris <rgm@gnu.org>
3704 * files.el (hack-local-variables-prop-line): Small simplifications.
3705 (hack-local-variables, hack-local-variables-prop-line):
3706 If MODE-ONLY, return the mode, rather than just `t'.
3708 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3712 2011-05-21 Glenn Morris <rgm@gnu.org>
3714 * files.el (hack-local-variables-prop-line, hack-local-variables):
3715 If only interested in the mode, don't bother doing the other stuff.
3717 * image-mode.el (image-after-revert-hook):
3718 Redraw all frames on which the image is visible. (Bug#8567)
3720 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3722 * wid-edit.el (widget-checklist-match-inline):
3723 Fix 2011-04-19 change. (Bug#8649)
3725 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3728 Also allow singlespace after single-letter capitals followed by a dot.
3730 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3731 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3733 2011-05-20 Nix <nix@esperi.org.uk>
3735 * files.el (basic-save-buffer-2):
3736 Fix handling of break-hardlink-on-save with non-existent files.
3738 2011-05-19 Deniz Dogan <deniz@dogan.se>
3740 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
3741 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
3743 2011-05-19 Glenn Morris <rgm@gnu.org>
3745 * progmodes/f90.el (f90-type-def-re):
3746 Handle "type, bind(c)". (Bug#8691)
3748 * emacs-lisp/autoload.el (batch-update-autoloads):
3749 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3751 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
3753 * net/tramp.el (tramp-process-actions): Set "first-password-request"
3754 property for the correct connection in case of multihops.
3756 2011-05-18 Glenn Morris <rgm@gnu.org>
3758 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
3759 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
3761 Rationalize calendar handling of day and month abbrev-arrays.
3762 * calendar/calendar.el (calendar-customized-p): New function.
3763 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
3764 (calendar-day-name-array, calendar-month-name-array): Doc fix.
3766 (calendar-abbrev-length, calendar-day-abbrev-array)
3767 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
3768 (calendar-day-abbrev-array, calendar-month-abbrev-array):
3769 Elements may no longer be nil.
3770 (calendar-day-name, calendar-month-name):
3771 Update for changed nature of abbrev arrays.
3772 * calendar/diary-lib.el (diary-name-pattern):
3773 Update for changed nature of abbrev arrays.
3774 (diary-mark-entries-1): Update calendar-make-alist calls.
3775 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
3776 * calendar/cal-html.el (cal-html-day-abbrev-array):
3777 Simply inherit from calendar-day-abbrev-array.
3779 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3781 * progmodes/grep.el (grep-mode): Disable default
3782 compilation-directory-matcher setting (bug#8684).
3784 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
3786 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
3787 instead of "head" and "tail". There were problems with SunOS 5.9,
3788 and it performs better.
3790 2011-05-17 Glenn Morris <rgm@gnu.org>
3792 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
3794 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3795 Replace obsolete function.
3797 * shell.el (pcomplete-parse-arguments-function): Declare.
3799 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
3800 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
3801 (appt-check): Doc fixes.
3802 (appt-disp-window-function, appt-delete-window-function):
3803 Remove needless special case in custom :type.
3804 (appt-display-count): Default to 0, not nil.
3805 (appt-check): Reset appt-display-count to 0, not nil.
3807 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
3809 * progmodes/python.el (python-font-lock-keywords):
3810 Add the Python 3.X keyword "nonlocal" (bug#8639).
3812 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
3816 2011-05-16 Kevin Ryde <user42@zip.com.au>
3818 * info-look.el (makefile-automake-mode): New setups, looking in
3819 automake manual, then makefile-mode.
3820 (makefile-mode): Remove automake manual, have it just in
3821 makefile-automake-mode since there's various things different or
3822 not relevant to plain make.
3823 (makefile-mode): Remove "other-modes" non-existent automake-mode,
3824 believe a hypothetical automake-mode would go to makefile-mode,
3825 not the other way around.
3827 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
3829 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
3830 hunk-end tags (Bug#8672).
3832 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
3833 vc-annotate-show-diff-revision-at-line (Bug#8671).
3835 2011-05-14 Glenn Morris <rgm@gnu.org>
3837 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
3838 in the middle of an existing one with multiple authors. (Bug#8645)
3839 (change-log-font-lock-keywords): Also handle multiple author lines
3840 with leading tabs. (Bug#8644)
3842 * calendar/appt.el (appt-check): Rename some local variables.
3843 Some simplification/reordering.
3845 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
3846 (feedmail-sendmail-f-doesnt-sell-me-out)
3847 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3848 (feedmail-debug-sit-for, feedmail-queue-express-hook)
3849 (feedmail-queue-runner-message-sender): Set :version.
3850 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
3851 (bbdb-dwim-net-address, vm-mail): Declare.
3852 (feedmail-binmail-gnulinuxish-template):
3853 Rename from feedmail-binmail-linuxish-template.
3854 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
3855 Use insert-buffer-substring.
3857 2011-05-14 Bill Carpenter <bill@carpenter.org>
3859 * mail/feedmail.el (feedmail-patch-level): Increase.
3860 (feedmail-debug): New custom group.
3861 (feedmail-confirm-outgoing-timeout)
3862 (feedmail-sendmail-f-doesnt-sell-me-out)
3863 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
3864 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
3865 (feedmail-sender-line, feedmail-from-line)
3866 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
3867 (feedmail-spray-this-address)
3868 (feedmail-spray-address-fiddle-plex-list)
3869 (feedmail-queue-use-send-time-for-date)
3870 (feedmail-queue-use-send-time-for-message-id)
3871 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
3872 (feedmail-buffer-eating-function):
3874 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
3875 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
3876 (feedmail-message-action-scroll-down): New functions.
3877 (feedmail-queue-directory, feedmail-queue-draft-directory):
3878 Use expand-file-name.
3879 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
3880 Remove C-v help entry.
3881 (feedmail-queue-buffer-file-name): New variable.
3882 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
3883 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
3884 (feedmail-message-action-send-strong, feedmail-message-action-edit)
3885 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
3886 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
3887 (feedmail-message-action-toggle-spray)
3888 (feedmail-run-the-queue-no-prompts)
3889 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
3890 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
3891 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
3892 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
3893 (feedmail-envelope-deducer, feedmail-fiddle-from)
3894 (feedmail-fiddle-sender, feedmail-default-date-generator)
3895 (feedmail-fiddle-date, feedmail-fiddle-message-id)
3896 (feedmail-fiddle-spray-address)
3897 (feedmail-fiddle-list-of-spray-fiddle-plexes)
3898 (feedmail-fiddle-list-of-fiddle-plexes)
3899 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
3900 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
3901 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
3902 Change default. Doc fix.
3903 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
3904 (feedmail-binmail-linuxish-template): New constant.
3905 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
3906 Respect feedmail-sendmail-f-doesnt-sell-me-out.
3907 (feedmail-send-it): Add debug call.
3908 Use feedmail-queue-buffer-file-name, and
3909 feedmail-send-it-immediately-wrapper.
3910 (feedmail-message-action-send): Add debug call.
3911 Use feedmail-send-it-immediately-wrapper.
3912 (feedmail-queue-express-to-queue): Add debug call.
3913 Run feedmail-queue-express-hook.
3914 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
3915 (feedmail-message-action-help-blat):
3916 Rename from feedmail-queue-send-edit-prompt-help-first.
3917 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
3918 Check line-endings. Handle errors better.
3919 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
3920 Doc fix. Add debug call.
3921 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
3922 Use feedmail-queue-send-edit-prompt-inner.
3923 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
3924 (feedmail-queue-send-edit-prompt-inner): New function, extracted
3925 from feedmail-queue-send-edit-prompt.
3926 (feedmail-queue-send-edit-prompt-help)
3927 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
3928 (feedmail-tidy-up-slug): Add debug call.
3929 Respect feedmail-queue-slug-suspect-regexp.
3930 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
3931 (feedmail-dump-message-to-queue): Add debug call.
3932 Expand queue-directory.
3933 (feedmail-dump-message-to-queue): Change message slightly.
3934 Use feedmail-say-chatter.
3935 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
3936 (feedmail-send-it-immediately-wrapper): New function.
3937 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
3938 Insert empty string rather than newline. Handle full-frame case.
3939 Use catch/throw. Use feedmail-say-chatter.
3940 (feedmail-fiddle-from): Try mail-host-address.
3941 (feedmail-default-message-id-generator): Doc fix.
3942 Bind system-time-locale. Handle missing end.
3943 (feedmail-fiddle-x-mailer): Add debug call.
3944 Handle feedmail-x-mailer-line being nil.
3945 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
3946 Add debug call. Use buffer-substring-no-properties.
3947 (feedmail-say-debug, feedmail-say-chatter): New functions.
3948 (feedmail-find-eoh): Give an explicit error.
3950 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
3952 * net/newst-treeview.el (newsticker-treeview-face): Change default
3953 family from helvetica to sans.
3954 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
3955 etc/images/newsticker.
3957 * net/newst-reader.el (newsticker-feed-face): Change default
3958 family from helvetica to sans.
3960 * net/newst-plainview.el (newsticker-new-item-face)
3961 (newsticker-old-item-face, newsticker-immortal-item-face)
3962 (newsticker-obsolete-item-face, newsticker-date-face)
3963 (newsticker-statistics-face): Change default family from
3965 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
3966 etc/images/newsticker.
3968 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
3969 (newsticker--process-auto-mark-filter-match): : Tell user about
3972 2011-05-13 Didier Verna <didier@xemacs.org>
3974 Common Lisp indentation improvements on defmethod and lambda-lists.
3975 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
3976 (lisp-lambda-list-keyword-parameter-indentation)
3977 (lisp-lambda-list-keyword-parameter-alignment)
3978 (lisp-lambda-list-keyword-alignment): New customizable user options.
3979 (lisp-indent-defun-method): Improve docstring.
3980 (extended-loop-p): Fix comment.
3981 (lisp-indent-lambda-list-keywords-regexp): New variable.
3982 (lisp-indent-lambda-list): New function.
3983 (lisp-indent-259): Use it.
3984 (lisp-indent-defmethod): Support for more than one
3985 method qualifier and properly indent methods lambda-lists.
3986 (defgeneric): Provide a missing common-lisp-indent-function property.
3988 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
3991 bounds for the empty string (bug#8667).
3993 2011-05-13 Glenn Morris <rgm@gnu.org>
3995 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
3997 * mail/sendmail.el (sendmail-program): Try executable-find first.
3998 (sendmail-send-it): `sendmail-program' cannot be unbound.
4000 * calendar/appt.el (appt-make-list): Simplify.
4001 (appt-time-msg-list): Doc fix.
4002 (appt-check): Change mode-line message at the time of the appointment.
4004 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
4006 * progmodes/ld-script.el (ld-script-keywords)
4007 (ld-script-builtins): Update keywords list.
4009 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
4013 * shell.el (shell-completion-vars): New function.
4015 * simple.el (read-shell-command): Use it.
4016 (blink-matching-open): No need for " [...]" in minibuffer-message.
4018 2011-05-12 Glenn Morris <rgm@gnu.org>
4020 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
4021 (appt-check): Simplify.
4023 2011-05-12 Eli Zaretskii <eliz@gnu.org>
4025 * smerge-mode.el (smerge-resolve): Use null-device rather than a
4026 literal "/dev/null".
4028 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4030 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
4033 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
4035 * progmodes/which-func.el (which-function):
4036 Use add-log-current-defun instead of add-log-current-defun-function,
4037 which might not be defined (Bug#8260).
4039 2011-05-12 Glenn Morris <rgm@gnu.org>
4041 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
4042 Let byte-compile-initial-macro-environment always take precedence.
4044 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * net/rcirc.el: Add support for SSL/TLS connections.
4047 (rcirc-server-alist): New field `encryption'.
4048 (rcirc): Check `encryption' settings.
4049 (rcirc-connect): New arg `encryption'. Use open-network-stream.
4050 Merge make-local-variable into `set'.
4051 (rcirc--connection-open-p): New function.
4052 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
4053 the process is not a network process (e.g. running gnutls-cli).
4054 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
4055 Make rcirc-(en|de)code-coding-system local here.
4056 (rcirc-mode): Merge make-local-variable into `set'.
4057 (rcirc-parent-buffer): Make permanent buffer-local.
4058 (rcirc-multiline-minor-mode): Don't do it here.
4059 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
4060 there's no server buffer.
4062 2011-05-11 Glenn Morris <rgm@gnu.org>
4064 * newcomment.el (comment-kill): Prefix "unused" local.
4066 * term/w32console.el (get-screen-color): Declare.
4068 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4069 Handle symbol elements of byte-compile-initial-macro-environment.
4071 2011-05-10 Leo Liu <sdl.web@gmail.com>
4073 * bookmark.el (bookmark-bmenu-mode-map):
4074 Bind bookmark-bmenu-search to `/'.
4076 * mail/footnote.el: Convert to utf-8 encoding.
4077 (footnote-unicode-string, footnote-unicode-regexp): New variable.
4078 (Footnote-unicode): New function.
4079 (footnote-style-alist): Add unicode style to the list.
4080 (footnote-style): Doc fix.
4082 2011-05-10 Jim Meyering <meyering@redhat.com>
4084 Fix doubled-word typos.
4085 * international/quail.el (quail-insert-kbd-layout): and and -> and
4086 * kermit.el: and and -> and
4087 * net/ldap.el (ldap-search-internal): to to -> to
4088 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
4089 * progmodes/js.el (js-mode): and and -> and
4090 * textmodes/artist.el (artist-move-to-xy): at at -> at
4091 (artist-draw-region-trim-line-endings): if if -> if
4092 And Safetyc -> Safety.
4093 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
4095 2011-05-10 Glenn Morris <rgm@gnu.org>
4096 Stefan Monnier <monnier@iro.umontreal.ca>
4098 * files.el (hack-one-local-variable-eval-safep):
4099 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
4101 2011-05-10 Glenn Morris <rgm@gnu.org>
4103 * calendar/diary-lib.el (diary-list-entries-hook)
4104 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
4105 (diary-nongregorian-marking-hook, diary-list-entries)
4106 (diary-include-other-diary-files, diary-mark-entries)
4107 (diary-mark-included-diary-files): Doc fixes.
4109 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
4111 * misc.el: Require tabulated-list.el during compilation.
4113 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
4115 * progmodes/compile.el (compilation-start):
4116 Run compilation-filter-hook for the async case too.
4117 (compilation-filter-hook): Doc fix.
4119 2011-05-09 Deniz Dogan <deniz@dogan.se>
4121 * wdired.el: Remove outdated installation comment. Fix usage
4124 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
4126 * misc.el: Implement new command `list-dynamic-libraries'.
4127 (list-dynamic-libraries--loaded-only-p): New variable.
4128 (list-dynamic-libraries--refresh): New function.
4129 (list-dynamic-libraries): New command.
4131 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
4133 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4134 Fix the ant regexp to handle end-line and end-column info from jikes.
4135 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
4136 higher priority to avoid clobbering by gnu.
4138 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
4140 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
4141 if the face has existing theme settings (Bug#8454).
4143 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
4145 * progmodes/perl-mode.el (perl-imenu-generic-expression):
4146 Only match variables declared via `my' or `our' (Bug#8261).
4148 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
4149 special file names `.' and `..' (Bug#8259).
4151 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
4153 * progmodes/grep.el (grep-mode-font-lock-keywords):
4154 Remove buffer-changing entries.
4155 (grep-filter): New function.
4156 (grep-mode): Add it to compilation-filter-hook.
4158 * progmodes/compile.el (compilation-filter-hook)
4159 (compilation-filter-start): New defvars.
4160 (compilation-filter): Call compilation-filter-hook prior to
4161 updating the process mark.
4163 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
4167 2011-05-07 Eli Zaretskii <eliz@gnu.org>
4169 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
4170 mailclient-send-it even if window-system is nil. (Bug#8595)
4172 * term/w32console.el (terminal-init-w32console):
4173 Call get-screen-color and use its output to set the frame
4174 background-mode. (Bug#8597)
4176 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4178 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4179 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
4181 (defgeneric, eieio--defmethod): Use them.
4182 (eieio-defgeneric): Remove.
4183 (defmethod): Call defgeneric in a way visible to the byte-compiler.
4185 2011-05-07 Glenn Morris <rgm@gnu.org>
4187 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
4188 Use let rather than let*.
4189 (timeclock-find-discrep): Remove unused local.
4191 * calendar/diary-lib.el (diary-comment-start): Doc fix.
4193 * calendar/appt.el (appt-time-msg-list): Doc fix.
4195 2011-05-06 Noah Friedman <friedman@splode.com>
4197 * apropos.el (apropos-print-doc): Only use
4198 emacs-lisp-docstring-fill-column when it is bound to an integer,
4199 per that variable's documentation.
4201 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
4204 and warnings are not silently discarded (e.g. use -d instead of -P).
4206 2011-05-06 Glenn Morris <rgm@gnu.org>
4208 * calendar/appt.el (appt-message-warning-time): Doc fix.
4209 (appt-warning-time-regexp): New option.
4210 (appt-make-list): Respect appt-message-warning-time.
4212 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
4214 (diary-add-to-list): Strip comments from the displayed string.
4215 (diary-mode): Set comment-start and comment-end.
4217 * vc/diff-mode.el (smerge-refine-subst): Declare.
4218 (diff-refine-hunk): Don't require smerge-mode when compiling.
4220 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
4222 * simple.el (list-processes): Return nil as the docstring says.
4224 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
4226 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
4228 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4229 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
4230 determining of binary transfer. (Bug#7383)
4232 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
4234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4235 Fix port computation bug. (Bug#8618)
4237 2011-05-05 Glenn Morris <rgm@gnu.org>
4239 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
4241 * simple.el (shell-dynamic-complete-functions)
4242 (comint-dynamic-complete-functions): Declare.
4244 * net/network-stream.el (gnutls-negotiate):
4245 * simple.el (tabulated-list-print): Fix declarations.
4247 * progmodes/gud.el (syntax-symbol, syntax-point):
4248 Remove unnecessary and incorrect declarations.
4250 * emacs-lisp/check-declare.el (check-declare-scan):
4251 Handle byte-compile-initial-macro-environment in bytecomp.el
4253 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4255 Fix earlier half-done eieio-defmethod change (bug#8338).
4256 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
4257 Streamline and change calling convention.
4258 (defmethod): Adjust accordingly and simplify.
4259 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
4260 new eieio--defmethod.
4261 (slot-boundp): Minor CSE simplification.
4263 2011-05-05 Milan Zamazal <pdm@zamazal.org>
4265 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4266 (glasses-make-readable): Use glasses-separate-capital-groups.
4268 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
4270 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4271 (warning-series): Doc fix.
4272 (display-warning): Don't try to create the buffer if we just found it.
4274 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
4276 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4277 (autoload-find-generated-file): New function.
4278 (generate-file-autoloads): Bind generated-autoload-file to
4280 (update-file-autoloads, update-directory-autoloads):
4281 Use autoload-find-generated-file. If called interactively, prompt for
4282 output file (Bug#7989).
4283 (batch-update-autoloads): Doc fix.
4285 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
4287 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4289 2011-05-04 Glenn Morris <rgm@gnu.org>
4291 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4292 function, so it follows changes in calendar-date-style.
4293 (diary-fancy-date-matcher): New function.
4294 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4295 (diary-fancy-font-lock-fontify-region-function):
4296 Use diary-fancy-date-pattern as a function.
4298 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4299 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4301 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4303 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4304 instead of positional arguments. Allow :keylist and :crlfiles
4306 (open-gnutls-stream): Call it.
4308 * net/network-stream.el (network-stream-open-starttls): Adjust to
4309 call `gnutls-negotiate' with :process and :hostname arguments.
4311 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * minibuffer.el (completion--message): New function.
4314 (completion--do-completion, minibuffer-complete)
4315 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4316 (completion--do-completion): Don't ignore completion-auto-help when in
4319 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4320 internal encoding (e.g. tibetan zero is not whitespace).
4321 (global-whitespace-mode): Prefer save-current-buffer.
4322 (whitespace-trailing-regexp): Remove useless save-match-data.
4323 (whitespace-empty-at-bob-regexp): Minor simplification.
4325 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
4327 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4329 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
4331 * textmodes/ispell.el (ispell-add-per-file-word-list):
4332 Use `concat' to create string for insertion.
4334 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4337 Avoid open-line which runs post-self-insert-hook.
4338 (bibtex-fill-entry): Remove unused `end' var.
4340 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4342 * textmodes/ispell.el (ispell-add-per-file-word-list):
4343 Protect against `nil' value of `comment-start' (Bug#8579).
4345 2011-05-03 Leo Liu <sdl.web@gmail.com>
4347 * isearch.el (isearch-yank-pop): New command.
4348 (isearch-mode-map): Bind it to `M-y'.
4349 (isearch-forward): Mention it.
4351 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * simple.el (minibuffer-complete-shell-command): Remove.
4354 (minibuffer-local-shell-command-map): Use completion-at-point.
4355 (read-shell-command): Setup completion vars here instead.
4356 (read-expression-map): Bind TAB to symbol completion.
4358 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4359 error directly rather via storing it into `results'.
4361 2011-05-02 Leo Liu <sdl.web@gmail.com>
4363 * vc/diff.el: Fix description.
4365 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4367 * server.el (server-eval-at): New function.
4369 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4371 * net/network-stream.el (open-network-stream): Take a :nowait
4372 parameter and pass it on to `make-network-process'.
4373 (network-stream-open-plain): Ditto.
4375 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4377 * faces.el (face-spec-set-match-display): Don't match toolkit
4378 options on terminal frames.
4380 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * progmodes/pascal.el: Use lexical binding.
4383 (pascal-mode-map): Remove author preferences.
4385 * pcomplete.el (pcomplete-std-complete): Don't abuse
4386 completion-at-point.
4388 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
4390 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4391 removing code that has been dead since 1991 or so.
4393 * startup.el (command-line): When warning about "_emacs", use a
4394 delayed warning to allow the user to filter it out.
4396 2011-04-28 Deniz Dogan <deniz@dogan.se>
4398 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4399 user has not joined.
4401 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4403 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4404 aren't any completions at point.
4406 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
4408 * subr.el (display-delayed-warnings): New function.
4409 (delayed-warnings-hook): New variable.
4411 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4413 * minibuffer.el (completion-at-point, completion-help-at-point):
4414 Don't presume that a given completion-at-point-function will always
4415 use the same calling convention.
4417 * pcomplete.el (pcomplete-completions-at-point):
4418 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4419 pcomplete-seen is non-nil.
4420 (pcomplete-comint-setup): Also recognize the new comint/shell
4421 completion functions.
4422 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4423 pcomplete-seen is non-nil.
4425 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
4427 * calendar/icalendar.el (diary-lib): Add require statement.
4428 (icalendar--create-uid): Read out a uid from a text-property on
4429 the first character in the entry. This allows for code to add its
4430 own uid to the entry.
4431 (icalendar--convert-float-to-ical): Add export of
4432 `diary-float'-entries save for those with the optional DAY
4435 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4437 * subr.el (shell-quote-argument): Use alternate escaping strategy
4438 when we spot a variable reference in a string.
4440 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4442 * cus-start.el (all): Define customization for debug-on-event.
4444 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4446 * subr.el (shell-quote-argument): Escape correctly under Windows.
4448 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4450 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4452 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
4454 * net/tramp.el (tramp-process-actions): Add POS argument.
4455 Delete region between POS and (pos).
4457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4458 Use `nil' position in `tramp-process-actions' call.
4459 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4461 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4462 position in `tramp-process-actions' call.
4464 * net/trampver.el: Update release number.
4466 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4468 * custom.el (defcustom): Obey lexical-binding.
4470 Fix octave-inf completion problems reported by Alexander Klimov.
4471 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4472 Inherit from octave-mode-syntax-table.
4473 (inferior-octave-mode): Set info-lookup-mode.
4474 (inferior-octave-completion-at-point): New function.
4475 (inferior-octave-complete): Use it and completion-in-region.
4476 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4477 comint-filename-completion.
4478 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4479 symbol elements which shouldn't be word elements.
4480 (octave-font-lock-keywords, octave-beginning-of-defun)
4481 (octave-function-header-regexp): Adjust regexps accordingly.
4482 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4484 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
4486 * net/gnutls.el (gnutls-errorp): Declare before first use.
4488 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4490 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4491 verify-error, and verify-hostname-error parameters. Check whether
4492 default trustfile exists before going to use it. Add missing
4493 argument to gnutls-message-maybe call. Return return value.
4494 Reported by Claudio Bley <claudio.bley@gmail.com>.
4495 (open-gnutls-stream): Add usage example.
4497 * net/network-stream.el (network-stream-open-starttls): Give host
4498 parameter to `gnutls-negotiate'.
4499 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
4500 * subr.el (shell-quote-argument): Escape correctly under Windows.
4502 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
4504 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4505 Use correct match group (bug#8438).
4507 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
4509 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4510 (package-menu--generate): New arg specifying packages to show.
4511 (package-menu-refresh, package-menu-execute, list-packages):
4513 (package-show-package-list): New function, replacing deleted
4514 package--list-packages (renamed because it is non-internal).
4516 * finder.el (finder-list-matches): Use package-show-package-list
4517 instead of deleted package--list-packages.
4519 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4520 Based on a previous implementation by Juanma Barranquero (Bug#8366).
4521 (vc-annotate-mode-map): Bind it to RET.
4523 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4525 * progmodes/etags.el (next-file): Don't use set-buffer to change
4528 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
4530 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4532 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4533 (apropos-accumulator): Doc fix.
4534 (apropos-function, apropos-macro, apropos-command)
4535 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4536 (apropos-plist): Add face property.
4537 (apropos-symbols-internal): Fix indentation.
4538 (apropos-print): Simplify help, and recognize apropos-multi-type.
4539 (apropos-print-doc): Use button-type-get to extract the button's
4540 face property. Fill docstring (Bug#8352).
4542 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
4544 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4546 * play/mpuz.el (mpuz-silent): Doc fix.
4547 (mpuz-mode-map): Use mapc.
4548 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4549 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4550 Fix typos in docstrings.
4552 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4553 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4555 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4557 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
4559 * minibuffer.el (completion--do-completion): Avoid the "Next char
4560 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4562 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4563 mouse-2 into unread-command-events, it is interpreted correctly.
4565 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
4566 (image-toggle-display): Doc fix.
4568 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
4570 * textmodes/page.el (what-page): Use line-number-at-pos to
4571 calculate line number (Bug#6825).
4573 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4575 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4576 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4577 Pass argument NO-DEFAULT to `find-tag-interactive'.
4579 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
4581 Lexical-binding cleanup.
4583 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4584 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4585 * progmodes/ada-prj.el (ada-prj-initialize-values)
4586 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4587 (ada-prj-show-value):
4588 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4589 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4590 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4591 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4592 * progmodes/bug-reference.el (bug-reference-push-button):
4593 * progmodes/fortran.el (fortran-line-length):
4594 * progmodes/glasses.el (glasses-change):
4595 * progmodes/octave-mod.el (octave-fill-paragraph):
4596 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4597 (python-pdbtrack-grub-for-buffer, python-sentinel):
4598 * progmodes/sql.el (sql-save-connection):
4599 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4600 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4601 Mark unused parameters.
4603 * progmodes/compile.el (compilation--flush-directory-cache)
4604 (compilation--flush-parse, compile-internal): Mark unused parameters.
4605 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4606 (compilation-next-error-function): Remove unused variable `timestamp'.
4608 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4609 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4611 * progmodes/dcl-mode.el (dcl-end-of-command):
4612 Remove unused variable `start'.
4613 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4614 (dcl-option-value-basic, dcl-option-value-offset)
4615 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4616 Mark unused parameters.
4617 (dcl-save-local-variable): Remove unused variable `val'.
4620 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4621 Mark unused parameters.
4622 (delphi-ignore-changes): Move before first use.
4623 (delphi-charset-token-at): Remove unused variable `start'.
4624 (delphi-else-start): Remove unused variable `if-count'.
4625 (delphi-comment-block-start, delphi-comment-block-end):
4626 Remove unused variable `kind'.
4627 (delphi-indent-line): Remove unused variable `new-point'.
4629 * progmodes/ebrowse.el (ebrowse-files-list)
4630 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4631 Mark unused parameters. Don't quote `lambda'.
4632 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4633 Don't quote `lambda'.
4634 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4635 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4636 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4637 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4638 Use `ignore-errors'.
4639 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4640 (ebrowse-view/find-file-and-search-pattern)
4641 (ebrowse-view/find-member-declaration/definition):
4642 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4643 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4644 Rename parameter PREFIX-ARG to PREFIX.
4645 (ebrowse-tags-read-name): Remove unused variables `start' and
4647 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4650 * progmodes/etags.el (local-find-tag-hook): Declare.
4651 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4652 Mark unused parameters.
4654 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4655 (executable-interpret): Mark unused parameter.
4657 * progmodes/flymake.el (flymake-process-sentinel)
4658 (flymake-after-change-function)
4659 (flymake-create-temp-with-folder-structure)
4660 (flymake-get-include-dirs-dot): Mark unused parameters.
4661 (flymake-safe-delete-directory): Remove unused variable `err'.
4663 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4664 (speedbar-timer-fn, speedbar-line-text)
4665 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4666 (speedbar-center-buffer-smartly): Declare functions.
4667 (gdb-find-watch-expression): Remove unused variable `array'.
4668 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4669 (gdb-starting): Mark unused parameters.
4670 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4671 (gdb-table-string): Remove unused variable `res'.
4672 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4673 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4674 (gdb-display-buffer): Remove unused variable `cur-size'.
4676 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4677 allow lexical-binding compilation.
4678 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4679 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4680 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4681 Mark unused parameters.
4682 (gud-gdb-marker-filter): Remove unused variable `match'.
4683 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4684 lambda expressions and funcall them, instead of using `fset'.
4686 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4687 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4689 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4690 variable `header-beg'; use `let'.
4692 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4693 `restart', `last-sexp' and `at-do'.
4695 * progmodes/js.el (js--debug): Mark unused parameter.
4696 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4697 (js--splice-into-items): Remove unused variable `item'.
4698 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4700 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4701 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4702 (makefile-complete): Remove unused variable `try'.
4703 (makefile-fill-paragraph, makefile-match-function-end):
4704 Mark unused parameters.
4706 * progmodes/octave-inf.el (inferior-octave-complete):
4707 Remove unused variable `proc'.
4708 (inferior-octave-output-digest): Mark unused parameter.
4710 * progmodes/perl-mode.el (perl-calculate-indent):
4711 Remove unused variable `err'.
4713 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4714 (prolog-indent-line): Mark unused parameters.
4715 (prolog-indent-line): Remove unused variable `beg'.
4717 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4718 (reporter-dont-compact-list): Declare.
4720 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4721 Remove unused variable `char'.
4722 (sh-debug): Mark unused parameter.
4723 (sh-get-indent-info): Remove unused variable `start'.
4724 (sh-calculate-indent): Remove unused variable `var'.
4726 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4727 (simula-electric-keyword): Remove unused variable `null'.
4728 (simula-search-backward, simula-search-forward): Remove unused
4729 variables `begin' and `end'.
4731 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4732 Remove unused variable `pos'.
4733 (vera-electric-tab, vera-comment-uncomment-region):
4734 Mark unused parameters.
4735 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4737 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
4739 * emacs-lisp/package.el (package--builtins, package-alist)
4740 (package-load-descriptor, package-built-in-p, package-activate)
4741 (define-package, package-installed-p)
4742 (package-compute-transaction, package-buffer-info)
4743 (package--push): Doc fix. Distinguish more clearly between
4744 version strings and version lists.
4746 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
4748 Lexical-binding cleanup.
4750 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
4751 (5x5-make-mutate-best):
4752 * play/fortune.el (fortune-in-buffer):
4753 * play/gomoku.el (gomoku-init-display):
4754 * play/solitaire.el (solitaire, solitaire-do-check):
4755 * play/tetris.el (tetris-default-update-speed-function):
4756 Mark unused parameters.
4758 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
4759 (bubbles--shift): Remove unused variable `char-org'.
4760 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
4761 (bubbles--show-images): Remove unused variable `char'.
4763 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
4764 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
4765 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
4766 (decipher-analyze-buffer): Use ?\s.
4767 (decipher-make-checkpoint): Remove unused variable `mapping'.
4769 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
4771 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
4772 Remove unused variable `result'; use `let'.
4774 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
4775 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
4776 (gametree-children-shown-p, gametree-compute-reduced-score):
4777 Use `ignore-errors'.
4779 * play/handwrite.el (ps-lpr-switches): Declare.
4780 (handwrite): Remove unused variables `pmin' and `lastp'.
4782 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
4784 * play/landmark.el (landmark-init-display)
4785 (landmark-update-naught-weights): Mark unused parameters.
4786 (landmark-y): Remove unused variable `noise'. Simplify.
4787 (landmark-human-plays): Remove unused variable `score'.
4789 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
4790 (mpuz-try-proposal): Remove unused variable `game'.
4792 * play/zone.el (life-patterns): Declare.
4794 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
4796 * vc/vc.el (ediff-vc-internal): Declare function.
4798 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4800 * shell.el: Use lexical-binding and std completion UI.
4801 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
4802 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
4803 comint-preoutput-filter-functions rather than on
4804 comint-output-filter-functions.
4805 (shell-command-completion, shell--command-completion-data)
4806 (shell-filename-completion, shell-environment-variable-completion)
4807 (shell-c-a-p-replace-by-expanded-directory): New functions.
4808 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
4809 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
4810 (shell-dynamic-complete-environment-variable): Use them.
4811 (shell-dynamic-complete-as-environment-variable)
4812 (shell-dynamic-complete-as-command): Remove.
4813 (shell-match-partial-variable): Match past point.
4814 * comint.el: Clean up use of completion-at-point-functions.
4815 (comint-completion-at-point): New function.
4816 (comint-mode): Use it completion-at-point-functions.
4817 (comint-dynamic-complete): Make it obsolete.
4818 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
4819 (comint-c-a-p-replace-by-expanded-history): New function.
4820 (comint-dynamic-complete-functions)
4821 (comint-replace-by-expanded-history): Use it.
4822 * minibuffer.el (completion-table-with-terminator): Allow dynamic
4823 termination strings. Try harder to avoid second try-completion.
4824 (completion-in-region-mode-map): Disable bindings that don't work yet.
4826 * comint.el: Use lexical-binding. Require CL.
4827 (comint-dynamic-complete-functions): Use comint-filename-completion.
4828 (comint-completion-addsuffix): Tweak custom type.
4829 (comint-filename-completion, comint--common-suffix)
4830 (comint--common-quoted-suffix, comint--table-subvert)
4831 (comint--complete-file-name-data): New functions.
4832 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
4833 (comint-dynamic-list-filename-completions): Use them.
4834 (comint-dynamic-simple-complete): Make obsolete.
4836 * minibuffer.el (completion-in-region-mode):
4837 Keep completion-in-region-mode--predicate global.
4838 (completion-in-region--postch):
4839 Assume completion-in-region-mode--predicate is not null.
4841 * progmodes/flymake.el (flymake-start-syntax-check-process):
4842 Obey `dir'. Simplify.
4844 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
4845 we're in VC after all.
4847 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
4849 * vc/vc.el (vc-diff-build-argument-list-internal)
4850 (vc-version-ediff, vc-ediff): New commands.
4851 (vc-version-diff): Use vc-diff-build-argument-list-internal.
4853 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
4858 * obsolete/erc-hecomplete.el: Make obsolete.
4859 * obsolete/: Standardize obsolescence info in the header.
4861 2011-04-20 Glenn Morris <rgm@gnu.org>
4863 * calendar/solar.el (solar-horizontal-coordinates):
4864 Use the longitude argument rather than `calendar-longitude'.
4865 (solar-date-next-longitude): Remove unused locals.
4867 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4869 * whitespace.el: New version 13.2.1.
4871 2011-04-20 felix <EmacsWiki> (tiny change)
4873 * whitespace.el (global-whitespace-mode): Keep highlight when
4874 switching between major modes on a file.
4876 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
4879 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
4880 multi-line comments as well.
4882 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
4884 Lexical-binding cleanup.
4886 * arc-mode.el (archive-mode-revert):
4887 * cmuscheme.el (scheme-interactively-start-process):
4888 * custom.el (custom-initialize-delay):
4889 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
4890 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
4891 * emacs-lock.el (emacs-lock-clear-sentinel):
4892 * ezimage.el (defezimage):
4893 * follow.el (follow-avoid-tail-recenter):
4894 * fringe.el (set-fringe-mode-1):
4895 * generic-x.el (bat-generic-mode-compile):
4896 * help-mode.el (help-info-variable, help-do-xref)
4897 (help-mode-revert-buffer):
4898 * help.el (view-emacs-todo):
4899 * iswitchb.el (iswitchb-completion-help):
4900 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
4901 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
4902 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
4903 * locate.el (locate-update):
4904 * longlines.el (longlines-encode-region)
4905 (longlines-after-change-function):
4906 * outline.el (outline-isearch-open-invisible):
4907 * ps-def.el (declare-function, charset-dimension, char-width)
4909 * ps-mule.el (ps-mule-plot-string):
4910 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
4911 (recentf-edit-list-select, recentf-edit-list-validate)
4912 (recentf-open-files-action):
4913 * rect.el (delete-whitespace-rectangle-line)
4914 (rectangle-number-line-callback):
4915 * register.el (window-configuration-to-register)
4916 (frame-configuration-to-register):
4917 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
4918 * select.el (xselect-convert-to-string, xselect-convert-to-length)
4919 (xselect-convert-to-targets, xselect-convert-to-delete)
4920 (xselect-convert-to-filename, xselect-convert-to-charpos)
4921 (xselect-convert-to-lineno, xselect-convert-to-colno)
4922 (xselect-convert-to-os, xselect-convert-to-host)
4923 (xselect-convert-to-user, xselect-convert-to-class)
4924 (xselect-convert-to-name, xselect-convert-to-integer)
4925 (xselect-convert-to-atom, xselect-convert-to-identity):
4926 * subr.el (declare, ignore, process-kill-without-query)
4927 (text-clone-maintain):
4928 * terminal.el (te-get-char, te-tic-sentinel):
4929 * tool-bar.el (tool-bar-make-keymap):
4930 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
4931 * type-break.el (type-break-mode, type-break-noninteractive-query):
4932 * view.el (View-back-to-mark):
4933 * wid-browse.el (widget-browse-action, widget-browse-widget)
4934 (widget-browse-widgets, widget-browse-sexp):
4935 * widget.el (define-widget-keywords):
4936 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
4937 Mark unused parameters.
4939 * align.el (align-adjust-col-for-rule): Mark unused parameter.
4940 (align-areas): Remove unused variable `look'.
4941 (align-region): Remove unused variables `real-end' and `pos-list'.
4943 * apropos.el (apropos-score-doc): Remove unused variable `i'.
4945 * bindings.el (mode-line-modified, mode-line-remote):
4946 Mark unused parameters.
4947 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
4949 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
4950 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
4952 * comint.el (comint-history-isearch-pop-state)
4953 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
4954 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
4955 (comint-substitute-in-file-name): Doc fix.
4957 * completion.el (cmpl-statistics-block): Mark unused parameter.
4958 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
4959 (save-completions-to-file, load-completions-from-file):
4960 Remove unused local variable `e'.
4962 * composite.el (compose-chars): Remove unused variable `len'.
4963 (lgstring-insert-glyph): Remove unused variable `g'.
4964 (compose-glyph-string): Remove unused variables `ascent',
4965 `descent', `lbearing' and `rbearing'.
4966 (compose-glyph-string-relative): Remove unused variables
4967 `lbearing', `rbearing' and `wadjust'.
4968 (compose-gstring-for-graphic): Remove unused variables `header',
4969 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
4970 (compose-gstring-for-terminal): Remove unused variables `header'
4971 and `nchars'. Use `let', not `let*'.
4973 * cus-edit.el (Custom-set, Custom-save, custom-reset)
4974 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
4975 (Custom-buffer-done, custom-buffer-create-internal)
4976 (custom-browse-visibility-action, custom-browse-group-tag-action)
4977 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
4978 (widget-magic-mouse-down-action, custom-toggle-parent)
4979 (custom-add-parent-links, custom-toggle-hide-variable)
4980 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
4981 (custom-toggle-hide-face, face, hook, custom-group-link-action)
4982 (custom-face-menu-create, custom-variable-menu-create, get)
4983 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
4984 (custom-reset-standard-save-and-update): Remove unused variable `value'.
4985 (customize-apropos): Remove unused variable `tests'.
4986 (custom-group-value-create): Remove unused variable `hidden-p'.
4987 (sort-fold-case): Declare.
4989 * cus-theme.el (custom-reset-standard-faces-list)
4990 (custom-reset-standard-variables-list): Declare.
4991 (customize-create-theme, custom-theme-revert, custom-theme-write)
4992 (custom-theme-choose-mode, customize-themes, custom-theme-save):
4993 Mark unused parameters.
4995 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
4997 * delim-col.el (delimit-columns-max): Move defvar before first use.
4999 * descr-text.el (describe-char-categories): Don't quote `lambda'.
5000 (describe-char): Don't quote `lambda'. Mark unused parameter.
5002 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
5003 (auto-insert): Declare.
5004 (desktop-restore-file-buffer): Rename desktop-* parameters;
5006 (desktop-create-buffer): Rename desktop-* parameters and bind them.
5007 (desktop-buffer): Rename desktop-* parameters.
5009 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5010 (dframe-reposition-frame-xemacs, dframe-help-echo)
5011 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
5012 Mark unused parameters.
5014 * dired-aux.el (backup-extract-version-start, overwrite-query)
5015 (overwrite-backup-query, rename-regexp-query)
5016 (rename-non-directory-query): Declare.
5017 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
5018 (dired-add-entry): Remove unused variable `orig-file-name'.
5019 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
5020 Use parameter PRESERVE-TIME instead of accessing dynamic variable
5021 `dired-copy-preserve-time' directly.
5022 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
5023 (dired-insert-subdir-newpos): Rename unused variable `pos'.
5025 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
5026 (dired-virtual-revert, dired-make-relative-symlink):
5027 Mark unused parameters.
5028 (manual-program): Declare.
5029 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
5030 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
5031 wrapped in `with-no-warnings' to avoid replacing one warning by another.
5033 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
5035 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
5037 * echistory.el (electric-history-in-progress, Helper-return-blurb):
5040 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
5042 * electric.el (Electric-command-loop): Rename parameter
5043 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
5045 * expand.el (expand-in-literal): Remove unused variable `here'.
5047 * facemenu.el (facemenu-add-new-color):
5048 Remove unused variable `docstring'.
5050 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
5051 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
5052 (face-attr-construct): Mark unused parameter. Doc fix.
5053 (read-color): Remove unused variable `hex-string'.
5055 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
5056 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
5057 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
5058 (display-buffer-other-frame): Remove unused variable `old-window'.
5059 (kill-buffer-hook): Declare.
5060 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
5061 Mark unused parameters.
5062 (after-find-file): Pass 1 to `auto-save-mode', not t.
5064 * files-x.el (auto-insert): Declare.
5065 (modify-file-local-variable-prop-line): Remove unused variable `val'.
5067 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
5068 variable `buf'. Mark unused parameter.
5069 (find-lisp-insert-directory): Mark unused parameter.
5071 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
5072 (format-encode-region): Remove unused variables `cur-buf' and `result'.
5073 (format-common-tail): Remove, unused.
5074 (format-deannotate-region): Remove unused variable `loc'.
5075 (format-annotate-region): Remove unused variable `p'.
5076 (format-annotate-single-property-change): Remove unused variables
5077 `default' and `tail'.
5079 * forms.el (read-file-filter): Declare.
5080 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
5082 * frame.el (frame-creation-function-alist): Mark unused parameter.
5083 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
5085 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
5086 Remove unused parameters.
5087 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
5088 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
5090 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
5091 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
5092 (hfy-prepare-tag-map): Mark unused parameters.
5093 (htmlfontify-buffer): Use `called-interactively-p'.
5095 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
5096 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
5097 (ibuffer-do-occur): Mark unused parameters.
5098 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
5099 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
5101 * ibuffer.el: Don't quote `lambda'.
5102 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
5103 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
5104 Mark unused parameters.
5106 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
5107 (ido-completing-read): Mark unused parameters.
5108 (ido-copy-current-word): Mark unused parameters;
5109 remove unused variable `name'.
5110 (ido-sort-merged-list): Remove unused parameter `dirs'.
5112 * ielm.el (ielm-input-sender): Mark unused parameter.
5113 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
5114 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
5115 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
5116 `ielm-string' as a dynamic variable accessible from the IELM prompt.
5117 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
5119 * image-dired.el (image-dired-display-thumbs): Remove unused
5120 variables `curr-file' and `count'.
5121 (image-dired-remove-tag): Remove unused variable `start'.
5122 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
5123 variable `curr-file'
5124 (image-dired-rotate-original): Remove unused variable `temp-file'.
5125 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
5126 Remove unused variable `file'.
5127 (image-dired-gallery-generate): Remove unused variable `curr'.
5128 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
5130 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
5132 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
5134 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
5136 * isearch.el (minibuffer-history-symbol): Declare.
5137 (isearch-edit-string): Remove unused variable `err'.
5138 (isearch-message-prefix, isearch-message-suffix):
5139 Mark unused parameters.
5141 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
5143 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
5145 * makesum.el (double-column): Remove unused variable `cnt'.
5147 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
5148 (ido-ignore-item-temp-list): Declare.
5150 * mouse-drag.el (mouse-drag-throw): Remove unused variables
5151 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
5152 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
5153 (mouse-drag-drag): Remove unused variables `mouse-delta' and
5156 * mouse-sel.el (mouse-extend-internal):
5157 Remove unused variable `orig-window-frame'.
5159 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
5160 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
5161 Move declarations before first use.
5162 (pcomplete-opt): Mark unused parameters; doc fix.
5164 * proced.el (proced-revert): Mark unused parameter.
5165 (proced-send-signal): Remove unused variable `err'.
5167 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
5168 Rename parameter PREFIX-ARG to ARG.
5169 (ps-basic-plot-string, ps-basic-plot-whitespace):
5170 Mark unused parameters.
5172 * replace.el (replace-count): Define.
5173 (occur-revert-function): Mark unused parameters.
5174 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
5175 (isearch-case-fold-search, isearch-string): Declare.
5176 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
5177 bind `case-fold-search'. Remove unused variables `beg' and `end',
5179 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
5180 COUNT and bind `replace-count'.
5181 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
5184 * savehist.el (print-readably, print-string-length): Declare.
5186 * shadowfile.el (shadow-expand-cluster-in-file-name):
5187 Remove unused variable `cluster'.
5188 (shadow-copy-file): Remove unused variable `i'.
5189 (shadow-noquery, shadow-clusters, shadow-site-cluster)
5190 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
5191 (shadow-define-literal-group, shadow-define-regexp-group)
5192 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
5194 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
5195 (shell): Use `called-interactively-p'.
5196 (shell-directory-tracker): Remove unused variable `chdir-failure'.
5198 * simple.el (compilation-context-lines, comint-file-name-quote-list)
5199 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
5200 (delete-backward-char): Remove unused variable `ocol'.
5201 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
5202 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
5203 (event-apply-hyper-modifier, event-apply-shift-modifier)
5204 (event-apply-control-modifier, event-apply-meta-modifier):
5205 Mark unused parameters.
5206 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
5207 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
5209 * speedbar.el (speedbar-ignored-directory-expressions)
5210 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
5211 (speedbar-find-file, speedbar-dir-follow)
5212 (speedbar-directory-buttons-follow, speedbar-tag-find)
5213 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5214 (speedbar-buffers-line-directory, speedbar-buffer-click):
5215 Mark unused parameters.
5216 (speedbar-tag-file): Remove unused variable `mode'.
5217 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
5219 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
5221 * talk.el (talk): Remove unused variable `display'.
5223 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
5224 (tar-write-region-annotate): Mark unused parameter.
5226 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
5227 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
5228 Declare them, wrapped in `with-no-warnings' to avoid replacing one
5231 * time-stamp.el (time-stamp-string-preprocess):
5232 Remove unused variable `require-padding'.
5234 * tree-widget.el (widget-glyph-enable): Declare.
5235 (tree-widget-action): Mark unused parameter.
5237 * w32-fns.el (x-get-selection): Mark unused parameter.
5238 (autoload-make-program, generated-autoload-file): Declare.
5240 * wdired.el (wdired-revert): Mark unused parameters.
5241 (wdired-xcase-word): Remove unused variable `err'.
5243 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
5244 (whitespace-help-scroll): Remove unused variable `data-help'.
5246 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
5247 (widget-image-insert, widget-after-change, default)
5248 (widget-default-format-handler, widget-default-notify)
5249 (widget-default-prompt-value, widget-info-link-action)
5250 (widget-url-link-action, widget-function-link-action)
5251 (widget-variable-link-action, widget-file-link-action)
5252 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
5253 (widget-field-prompt-internal, widget-field-action, widget-field-match)
5254 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
5255 (widget-insert-button-action, widget-delete-button-action, visibility)
5256 (widget-documentation-link-action, widget-documentation-string-action)
5257 (widget-const-prompt-value, widget-regexp-match, symbol)
5258 (widget-coding-system-prompt-value)
5259 (widget-key-sequence-value-to-external, sexp)
5260 (widget-sexp-value-to-internal, character, vector, cons)
5261 (widget-choice-prompt-value, widget-boolean-prompt-value)
5262 (widget-color--choose-action): Mark unused parameters.
5263 (widget-item-match-inline, widget-choice-match-inline)
5264 (widget-checklist-match, widget-checklist-match-inline)
5265 (widget-group-match): Rename parameter VALUES to VALS.
5266 (widget-field-value-set): Remove unused variable `size'.
5267 (widget-color-action): Remove unused variables `value' and `start'.
5269 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
5270 variable `dir'. Doc fix.
5271 (windmove-find-other-window): Don't pass it.
5273 * window.el (count-windows): Mark unused parameter.
5274 (bw-adjust-window): Remove unused variable `err'.
5276 * woman.el (woman-file-name): Remove unused variable `default'.
5277 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5278 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5279 (global-font-lock-mode): Declare.
5280 (woman-decode-region): Mark unused parameter.
5281 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5283 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5284 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5285 (x-dnd-handle-moz-url): Remove unused variable `title'.
5286 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5288 * xml.el (xml-parse-tag, xml-parse-attlist):
5289 Remove unused variable `pos'.
5291 2011-04-19 Glenn Morris <rgm@gnu.org>
5293 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5294 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5295 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5296 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5297 * calendar/cal-html.el (cal-html-insert-minical):
5298 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5299 (calendar-mark-date-pattern):
5300 Prefix "unused" locals.
5302 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5303 optional argument `style'.
5305 * calendar/appt.el (appt-make-list):
5306 * calendar/cal-china.el (calendar-chinese-date-string):
5307 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5308 (diary-hebrew-yahrzeit):
5309 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5310 * calendar/calendar.el (calendar-generate-window):
5311 * calendar/time-date.el (time-to-days):
5312 Remove unused local variables.
5314 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
5316 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5317 glyphless-char-display table.
5318 (tabulated-list-glyphless-char-display): New var.
5320 2011-04-18 Sam Steingold <sds@gnu.org>
5322 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5325 2011-04-17 Glenn Morris <rgm@gnu.org>
5327 * calendar/diary-lib.el (diary-sexp-entry):
5328 * calendar/holidays.el (holiday-sexp):
5329 Set debug-on-error rather than the removed stack-trace-on-error.
5331 2011-04-16 Glenn Morris <rgm@gnu.org>
5333 * progmodes/f90.el: Use lexical-binding.
5334 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5336 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5339 (mail-mode): Setup mailalias completion here instead.
5340 * mail/mailalias.el: Use lexical-binding.
5341 (pattern, mailalias-done): Declare dynamic.
5342 (mail-completion-at-point-function): New function, from mail-complete.
5343 (mail-complete): Use it.
5344 (mail-completion-expand): New function.
5345 (mail-get-names): Use it.
5346 (mail-directory, mail-directory-process, mail-directory-stream):
5347 Don't use `pattern' for lexically bound arg.
5349 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5351 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5352 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5353 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5355 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5356 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5357 (byte-interactive-p): Define them again, for use when inlining
5360 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
5362 * loadup.el: Use `string-to-number', not `string-to-int'.
5364 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5366 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5367 gud-gdb-complete-command.
5368 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5369 (gud-gdb-completion-at-point): New function.
5370 (gud-gdb-completions): Remove.
5372 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
5374 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5375 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5376 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5377 whether `executable-find' is bound.
5379 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5381 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5383 * minibuffer.el (completion-in-region-mode-predicate)
5384 (completion-in-region-mode--predicate): New vars.
5385 (completion-in-region, completion-in-region--postch)
5386 (completion-in-region-mode): Use them.
5387 (completion--capf-wrapper): Also return the hook function.
5388 (completion-at-point, completion-help-at-point):
5389 Adjust and provide a predicate.
5391 Preserve arg names for advice of subr and lexical functions (bug#8457).
5392 * help-fns.el (help-function-arglist): Consolidate the subr and
5393 new-byte-code cases. Add argument `preserve-names' to extract names
5394 from the docstring when needed.
5395 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5396 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5397 (ad-arglist): Use help-function-arglist's new arg.
5398 (ad-definition-type): Use cond.
5400 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
5402 * autorevert.el (auto-revert-handler):
5403 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5404 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5407 * image-mode.el (image-transform-set-scale):
5408 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5410 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5412 * net/network-stream.el (network-stream-open-starttls): Only do
5413 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5414 Upgrades via gnutls-cli are too slow to be done opportunistically.
5416 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
5418 * dframe.el (dframe-current-frame): Remove spurious quote.
5420 2011-04-12 Glenn Morris <rgm@gnu.org>
5422 * calendar/cal-tex.el (cal-tex-end-document):
5423 Try to automatically use latin1 input if needed.
5425 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5426 Don't try to cons a mark onto an empty element.
5428 2011-04-11 Leo Liu <sdl.web@gmail.com>
5430 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5432 (ido-kill-buffer-at-head): Support killing virtual buffers.
5434 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
5436 * minibuffer.el (completion-show-inline-help): New var.
5437 (completion--do-completion, minibuffer-complete)
5438 (minibuffer-force-complete, minibuffer-complete-word):
5439 Inhibit minibuffer messages if completion-show-inline-help is nil.
5441 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5442 to avoid interference from inline help (Bug#5849).
5444 2011-04-10 Leo Liu <sdl.web@gmail.com>
5446 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5449 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
5451 * image-mode.el (image-toggle-display-image): Signal an error if
5453 (image-transform-mode, image-transform-resize)
5454 (image-transform-set-rotation): Doc fix.
5455 (image-transform-set-resize): Delete.
5456 (image-transform-set-scale, image-transform-fit-to-height)
5457 (image-transform-fit-to-width): Handle image-toggle-display-image
5458 and image-transform-resize directly.
5460 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
5462 * doc-view.el (doc-view-fit-width-to-window)
5463 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5464 New functions for fitting the shown image to the Emacs window size.
5465 (doc-view-mode-map): Add bindings for the new functions.
5467 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
5469 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5470 Fix typo in docstring.
5472 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5474 * files.el (file-size-human-readable): Produce one digit after
5475 decimal, like "ls -lh" does.
5477 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5478 the file size representation.
5480 * simple.el (list-processes): If async subprocesses are not
5481 available, error out with a clear error message.
5483 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
5485 * help.el (help-form-show): New function, to be called from C.
5486 Put help-form output in a buffer named differently than *Help*.
5488 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5490 * files.el (file-size-human-readable): New function.
5492 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5493 computing the representation inline. Don't require `cl'.
5495 2011-04-08 Glenn Morris <rgm@gnu.org>
5497 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5499 * net/browse-url.el (browse-url-firefox):
5500 Test system-type, not system-configuration.
5502 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5503 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5504 Use log-edit-empty-buffer-p. (Bug#7598)
5506 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5507 (rlogin-mode-map): Initialize in the defvar.
5508 (rlogin): Use ignore-errors.
5510 * replace.el (occur-mode-map): Some fixes for menu items.
5512 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5514 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5516 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
5518 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5519 issuing unused warnings.
5521 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5524 * simple.el: Lisp reimplement of list-processes. Based on an
5525 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5526 (process-menu-mode): New major mode.
5527 (list-processes--refresh, list-processes):
5528 (process-menu-visit-buffer): New functions.
5530 * files.el (save-buffers-kill-emacs): Don't assume any return
5531 value of list-processes, which is undocumented anyway.
5533 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
5535 * emacs-lisp/tabulated-list.el: New file.
5537 * emacs-lisp/package.el: Use Tabulated List mode.
5538 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5539 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5540 table format using Tabulated List mode variables.
5541 (package--push): New macro, replacing package-list-maybe-add.
5542 (package-menu--generate): Use package--push. Renamed from
5543 package--generate-package-list.
5544 (package-menu-refresh, list-packages): Use it.
5545 (package-menu--print-info): Rename from package-print-package.
5546 Return insertion data instead of inserting it directly.
5547 (package-menu-describe-package, package-menu-execute):
5548 Use tabulated-list-get-id.
5549 (package-menu-mark-delete, package-menu-mark-install)
5550 (package-menu-mark-unmark, package-menu-backup-unmark)
5551 (package-menu-mark-obsolete-for-deletion):
5552 Use tabulated-list-put-tag.
5553 (package--list-packages, package-menu-revert)
5554 (package-menu-get-package, package-menu-get-version)
5555 (package-menu-sort-by-column): Functions deleted.
5556 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5557 (package-menu--status-predicate, package-menu--version-predicate)
5558 (package-menu--name-predicate)
5559 (package-menu--description-predicate): Handle arguments in the
5560 Tabulated List format.
5561 (package-list-packages-no-fetch): Call list-packages.
5563 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
5565 * files.el (after-find-file-from-revert-buffer): Remove variable.
5566 (after-find-file): Don't bind it.
5567 (revert-buffer-in-progress-p): New variable.
5568 (revert-buffer): Bind it.
5569 Pass nil for `after-find-file-from-revert-buffer'.
5571 * saveplace.el (save-place-find-file-hook): Use new variable
5572 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5574 2011-04-06 Glenn Morris <rgm@gnu.org>
5576 * Makefile.in (AUTOGEN_VCS): New variable.
5577 (autoloads): Use $AUTOGEN_VCS.
5579 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5580 * calendar/calendar.el (calendar-mode-map):
5581 Check for toolkit scroll bars. (Bug#8305)
5583 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5585 * minibuffer.el (completion-in-region--postch)
5586 (completion-in-region-mode): Remove unnecessary messages.
5588 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
5590 * font-lock.el (font-lock-refresh-defaults):
5591 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5592 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5594 * info.el (Info-directory-list, Info-read-node-name-2)
5595 (Info-split-parameter-string): Doc fixes.
5596 (Info-virtual-nodes): Reflow docstring.
5597 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5598 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5599 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5600 Fix typos in docstrings.
5601 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5602 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5603 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5604 (Info-restore-desktop-buffer): Mark unused parameters.
5605 (Info-directory-find-file, Info-directory-find-node)
5606 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5607 (Info-virtual-index-find-node, Info-apropos-find-file)
5608 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
5609 Mark unused parameters; fix typos in docstrings.
5610 (Info-virtual-index): Remove unused local variable `nodename'.
5612 2011-04-05 Deniz Dogan <deniz@dogan.se>
5614 * net/rcirc.el: Update my e-mail address.
5615 (rcirc-mode-map): Remove M-o binding.
5617 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
5619 * startup.el (command-line): Save the cursor's theme-face
5620 directly, instead of using face-override-spec.
5622 * custom.el (load-theme): Minor optimization in assigning faces.
5624 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5626 * help-fns.el (describe-variable): Complete all variables having
5627 documentation, including keywords.
5628 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5630 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
5632 Convert to lexical-binding.
5634 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5635 (bs--get-marked-string, bs--get-modified-string)
5636 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5637 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5638 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5640 * ehelp.el (electric-help-execute-extended)
5641 (electric-help-ctrl-x-prefix):
5642 * hexl.el (hexl-revert-buffer-function):
5643 * linum.el (linum-after-change, linum-after-scroll):
5644 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5646 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5648 2011-04-04 Daiki Ueno <ueno@unixuser.org>
5655 * epg.el: Use lexical binding.
5657 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
5659 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5661 * textmodes/flyspell.el (flyspell-word): Recognize default
5662 dictionary case for flyspell-mark-duplications-exceptions.
5663 Use regexp matching for languages.
5664 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5665 default dictionary (Bug#7926).
5667 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
5669 * emacs-lisp/package.el (package--with-work-buffer):
5670 Recognize https URLs.
5672 * net/network-stream.el: Move from gnus/proto-stream.el.
5673 Change prefix to network-stream throughout.
5674 (open-protocol-stream): Merge into open-network-stream, leaving
5675 open-protocol-stream as an alias. Handle nil BUFFER args.
5677 * subr.el (open-network-stream): Move to net/network-stream.el.
5679 2011-04-02 Glenn Morris <rgm@gnu.org>
5681 * find-dired.el (find-exec-terminator): New option.
5682 (find-ls-option): Test for -ls support.
5683 (find-ls-subdir-switches): Test for -b in find-ls-option.
5684 (find-dired, find-grep-dired): Doc fixes.
5685 (find-dired): Use find-exec-terminator.
5687 * find-dired.el (find-ls-option, find-ls-subdir-switches)
5688 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5689 (find-name-arg): Remove purecopy.
5691 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5692 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5693 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5694 accordingly. Don't add the null-device if not needed.
5696 * files.el (save-some-buffers): Doc fix.
5698 2011-04-02 Eli Zaretskii <eliz@gnu.org>
5700 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5702 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
5704 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5705 Use `dolist' rather than `mapcar'.
5707 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5709 Add lexical binding.
5711 * subr.el (apply-partially): Use new closures rather than CL.
5712 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5713 (dolist, dotimes): Use slightly different expansion for lexical code.
5714 (functionp): Move to C.
5715 (letrec): New macro.
5716 (with-wrapper-hook): Use it and apply-partially instead of CL.
5717 (eval-after-load): Preserve lexical-binding.
5718 (save-window-excursion, with-output-to-temp-buffer): Turn them
5721 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5723 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5725 (help-add-fundoc-usage): Don't add `Not documented'.
5726 (help-function-arglist): Handle closures, subroutines, and new
5727 byte-code-functions.
5728 (help-make-usage): Remove leading underscores.
5729 (describe-function-1): Handle closures.
5730 (describe-variable): Use special-variable-p for completion.
5732 * files.el (lexical-binding): Declare safe.
5734 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5735 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5736 (pcase): Add `let' pattern.
5737 Change memoization so it actually works.
5738 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5739 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5742 * emacs-lisp/macroexp.el: Use lexical binding.
5743 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5744 Don't convert ' to #' without checking that it's indeed quoting
5747 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
5748 Use eval-sexp-add-defvars.
5749 (eval-sexp-add-defvars): New fun.
5751 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
5753 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
5755 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
5756 than the internal `byte-compile-lambda'.
5757 (defmethod): Don't hide code under quotes.
5758 (eieio-defmethod): New `code' argument.
5760 * emacs-lisp/eieio-comp.el: Remove.
5762 * emacs-lisp/edebug.el (edebug-eval-defun)
5763 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
5764 (edebug-toggle): Avoid `eval'.
5766 * emacs-lisp/disass.el (disassemble-internal): Handle new
5768 (disassemble-1): Handle new byte codes.
5770 * emacs-lisp/cl.el (pushnew): Silence warning.
5772 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
5773 (cl-byte-compile-throw): Remove.
5774 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
5776 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
5779 * emacs-lisp/cconv.el: New file.
5781 * emacs-lisp/bytecomp.el: Use lexical binding instead of
5782 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
5783 (byte-compile-initial-macro-environment):
5784 Handle declare-function here.
5785 (byte-compile--lexical-environment): New var.
5786 (byte-stack-ref, byte-stack-set, byte-discardN)
5787 (byte-discardN-preserve-tos): New lap codes.
5788 (byte-interactive-p): Don't use any more.
5789 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
5791 (byte-compile-lapcode): Use them and handle new lap codes.
5792 (byte-compile-obsolete): Remove.
5793 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
5794 (byte-compile-arglist-warn): Check late def of inlinable funs.
5795 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
5796 since they should have been expanded by now.
5797 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
5798 (byte-compile-from-buffer): Remove unused second arg.
5799 (byte-compile-preprocess): New function.
5800 (byte-compile-toplevel-file-form): New function to distinguish
5801 file-form calls from outside from file-form calls from hunk-handlers.
5802 (byte-compile-file-form): Simplify.
5803 (byte-compile-file-form-defsubst): Remove.
5804 (byte-compile-file-form-defmumble): Simplify now that
5805 byte-compile-lambda always returns a byte-code-function.
5806 (byte-compile): Preprocess.
5807 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
5808 Remove, not used any more.
5809 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
5810 (byte-compile-make-args-desc): New funs.
5811 (byte-compile-lambda): Handle lexical functions. Always return
5812 a byte-code-function.
5813 (byte-compile-reserved-constants): New var, to make up room for
5814 closed-over variables.
5815 (byte-compile-constants-vector): Obey it.
5816 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
5817 (byte-compile-macroexpand-declare-function): New function.
5818 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
5819 byte-code-functions.
5820 (byte-compile-form): Check obsolescence here.
5821 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
5822 (byte-compile-variable-ref): Remove.
5823 (byte-compile-dynamic-variable-op): New fun.
5824 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5825 (byte-compile-variable-set): New funs.
5826 (byte-compile-discard): Add 2 args.
5827 (byte-compile-stack-ref, byte-compile-stack-set)
5828 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
5829 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
5830 macroexpand-all instead.
5831 (byte-compile-quote-form): Remove.
5832 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
5833 (byte-compile-bind, byte-compile-unbind): New funs.
5834 (byte-compile-let): Handle let* and lexical binding.
5835 (byte-compile-let*): Remove.
5836 (byte-compile-catch, byte-compile-unwind-protect)
5837 (byte-compile-track-mouse, byte-compile-condition-case):
5838 Handle a new :fun-body form, used for lexical scoping.
5839 (byte-compile-save-window-excursion)
5840 (byte-compile-with-output-to-temp-buffer): Remove.
5841 (byte-compile-defun): Simplify.
5842 (byte-compile-stack-adjustment): New fun.
5843 (byte-compile-out): Use it.
5844 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
5846 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
5849 * emacs-lisp/byte-opt.el: Use lexical binding.
5850 (byte-inline-lapcode): Remove (to bytecomp).
5851 (byte-compile-inline-expand): Pay attention to inlining to/from
5852 lexically bound code.
5853 (byte-compile-unfold-lambda): Don't handle byte-code-functions
5855 (byte-optimize-form-code-walker): Don't handle save-window-excursion
5856 any more and don't call compiler-macros.
5857 (byte-compile-splice-in-already-compiled-code): Remove.
5858 (byte-code): Don't inline any more.
5859 (disassemble-offset): Receive `bytes' as argument rather than via
5861 (byte-compile-tag-number): Declare before first use.
5862 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
5863 `return' even if make-spliceable.
5864 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
5865 obsolete interactive-p.
5866 (byte-optimize-lapcode): Optimize new lap-codes.
5867 Don't trip up on new form of `byte-constant' lap code.
5869 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
5871 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
5873 * custom.el (custom-initialize-default, custom-declare-variable):
5876 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
5878 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
5879 (COMPILE_FIRST): Add macroexp and cconv.
5880 * makefile.w32-in: Mirror changes in Makefile.in.
5886 * vc/smerge-mode.el:
5887 * textmodes/bibtex-style.el:
5896 * emacs-lisp/smie.el:
5899 * abbrev.el: Use lexical binding.
5901 2011-04-01 Eli Zaretskii <eliz@gnu.org>
5903 * info.el (info-display-manual): New function.
5905 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
5909 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
5911 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
5912 an entry for that server in rcirc-authinfo. (Bug#8385)
5914 2011-03-31 Glenn Morris <rgm@gnu.org>
5916 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
5918 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
5920 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
5922 * progmodes/python.el (python-default-interpreter)
5923 (python-python-command-args, python-jython-command-args)
5924 (python-which-shell, python-which-args, python-which-bufname)
5925 (python-file-queue, python-comint-output-filter-function)
5926 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
5927 variables and functions.
5929 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5931 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
5932 (completion-in-region-mode): New minor mode.
5933 (completion-in-region): Use it.
5934 (completion-in-region--data, completion-in-region-mode-map): New vars.
5935 (completion-in-region--postch): New function.
5936 (completion--capf-misbehave-funs, completion--capf-safe-funs):
5938 (completion--capf-wrapper): New function.
5939 (completion-at-point): Use it to track well-behavedness of
5941 (completion-help-at-point): New command.
5943 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
5945 * vc/add-log.el (add-change-log-entry): Don't use whitespace
5946 syntax class to search for whitespace on a single line
5947 (Message-ID: <4D938140.4030905@redhat.com>).
5949 2011-03-30 Leo Liu <sdl.web@gmail.com>
5951 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
5953 (edit-abbrevs-map): Bind them here.
5954 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
5956 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
5958 * allout.el (allout-hide-by-annotation, allout-flag-region):
5959 Reduce possibility of overlay leakage by making them volatile.
5961 * allout-widgets.el (allout-widgets-tally): Define as nil so the
5962 hash is not shared between buffers. Mode initialization is
5963 responsible for giving it a useful starting value.
5964 (allout-item-span): Reduce possibility of overlay leakage by
5965 making them volatile.
5966 (allout-widgets-count-buttons-in-region): Add diagnostic function
5967 for tracking down button overlay leaks.
5969 2011-03-29 Leo Liu <sdl.web@gmail.com>
5971 * ido.el (ido-read-internal): Use the default history var
5972 minibuffer-history if no HISTORY is specified.
5974 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
5976 * net/imap.el (imap-shell-open, imap-process-connection-type):
5977 Use imap-process-connection-type for 'shell' streams as well as
5978 Kerberos, SSL, other subprocesses.
5980 2011-03-28 Leo Liu <sdl.web@gmail.com>
5982 * abbrev.el (abbrev-table-empty-p): New function.
5983 (prepare-abbrev-list-buffer): Place empty abbrev tables after
5984 nonempty ones. (Bug#5937)
5986 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
5988 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
5990 2011-03-27 Leo Liu <sdl.web@gmail.com>
5992 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
5993 for foreground and background colors.
5994 (ansi-color-make-color-map): Adapt.
5996 2011-03-25 Leo Liu <sdl.web@gmail.com>
5998 * midnight.el (midnight-time-float): Remove. Note it calculates
5999 the microsecond component incorrectly and seconds-to-time does the
6001 Remove redundant (require 'timer).
6003 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
6004 (ido-completions): Remove unused arguments. (Bug#8329)
6006 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * minibuffer.el (completion--flush-all-sorted-completions):
6009 Remove itself from hook.
6010 (completion-at-point): Let the functions perform the completion
6011 immediately and return nil or t.
6012 * comint.el (comint-dynamic-complete-functions): Now identical to
6013 completion-at-point-functions.
6014 (comint-dynamic-list-input-ring): Remove unused var `index'.
6015 (comint--match-partial-filename, comint--unquote&expand-filename):
6016 New funs, split from comint-match-partial-filename.
6017 (comint-dynamic-complete): Use completion-at-point.
6018 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
6020 2011-03-24 Drew Adams <drew.adams@oracle.com>
6022 * thingatpt.el: Support `defun'.
6024 2011-03-23 Leo Liu <sdl.web@gmail.com>
6026 * abbrevlist.el: Move to obsolete/abbrevlist.el.
6028 * help-mode.el (help-mode-finish): Tweak regexp.
6030 2011-03-23 Glenn Morris <rgm@gnu.org>
6032 * eshell/esh-opt.el (eshell-eval-using-options):
6033 Do not bind unused local variable `eshell-option-stub'.
6035 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
6037 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
6039 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
6040 keymap variable in `with-no-warnings' to avoid a warning when the
6041 keymap has been already `defconst'ed.
6043 2011-03-22 Leo Liu <sdl.web@gmail.com>
6045 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
6046 encode all chars in abbrevs; otherwise use emacs-mule or
6047 utf-8-emacs. (Bug#8308)
6049 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
6051 * simple.el (backward-delete-char-untabify):
6052 Avoid warning about using `delete-backward-char'.
6054 * image.el (image-type-file-name-regexps): Make it variable.
6055 `imagemagick-register-types' modifies it, and the user may want
6056 to add new extensions for known image types.
6057 (imagemagick-register-types): Throw error if not using ImageMagick.
6059 2011-03-22 Leo Liu <sdl.web@gmail.com>
6061 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
6062 located before rcirc-prompt-end-marker.
6063 (rcirc-complete): Error if point is not after rcirc prompt.
6064 Handle the case when table is nil.
6065 (rcirc-user-authenticated): Define to fix compiler warning.
6067 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
6069 * custom.el (custom--inhibit-theme-enable): Make it affect only
6070 custom-theme-set-variables and custom-theme-set-faces.
6071 (provide-theme): Ignore custom--inhibit-theme-enable.
6072 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
6073 (custom-enabling-themes): Delete variable.
6074 (enable-theme): Accept only loaded themes as arguments.
6075 Ignore the special custom-enabled-themes variable.
6076 (custom-enabled-themes): Forbid themes from setting this.
6077 Eliminate use of custom-enabling-themes.
6078 (custom-push-theme): Quote "changed" custom var entry.
6080 2011-03-21 Leo Liu <sdl.web@gmail.com>
6082 * ido.el (ido-read-internal): Add ido-selected to history instead
6085 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6087 * subr.el (deferred-action-list, deferred-action-function):
6090 2011-03-21 Leo Liu <sdl.web@gmail.com>
6092 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
6093 change on 2011-02-13 (bug#8309).
6095 * minibuffer.el (read-file-name-function): Change default value.
6096 (read-file-name--defaults): Rename from read-file-name-defaults.
6097 (read-file-name-default): Rename from read-file-name.
6098 (read-file-name): Call read-file-name-function.
6100 2011-03-21 Glenn Morris <rgm@gnu.org>
6102 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
6105 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
6107 * cus-theme.el: Add missing provide statement.
6108 (customize-create-theme): Extract theme value correctly.
6109 (custom-theme-visit-theme): Autoload.
6110 (customize-create-theme): Prompt before inserting default faces.
6112 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
6114 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
6115 units and musical notes.
6117 2011-03-20 Leo <sdl.web@gmail.com>
6119 * ido.el (ido-read-internal): Use completing-read-default.
6120 (ido-completing-read): Fix compatibility with completing-read.
6122 2011-03-20 Christian Ohler <ohler@gnu.org>
6124 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
6125 (ert-delete-all-tests): Use `called-interactively-p' rather than
6127 (ert--make-xrefs-region): Respect END.
6129 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
6131 * dired-aux.el (dired-create-directory): Signal an error if the
6132 directory already exists (Bug#8246).
6134 * facemenu.el (list-colors-display): Call list-faces-display
6135 inside with-help-window.
6136 (list-colors-print): Use display property to align the final
6137 column, instead of checking window-width.
6139 2011-03-19 Eli Zaretskii <eliz@gnu.org>
6141 * emerge.el (emerge-metachars): Separate value for ms-dos and
6143 (emerge-protect-metachars): Quote correctly for ms-dos and
6146 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
6148 * info.el (info-initialize): Replace all uses of `:' with
6149 path-separator for compatibility with non-Unix systems.
6150 Cache quoting of path-separator. (Bug#8258)
6152 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
6154 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
6155 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
6156 (mouse-avoidance-mode): Fix typos in docstrings.
6158 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
6160 * startup.el (package-subdirectory-regexp): Move from package.el.
6161 Omit \\` and \\', and let callers add them.
6163 * emacs-lisp/package.el (package-strip-version)
6164 (package-load-all-descriptors): Add \\` and \\' to
6165 package-subdirectory-regexp before using it.
6166 (package-untar-buffer): New arg DIR; ensure that file untars only
6167 into this expected directory. Remove superfluous delete-region.
6168 (package-unpack): Caller changed.
6169 (package-tar-file-info): Use package-subdirectory-regexp.
6171 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
6174 diff-mode-shared-map (bug#8284).
6175 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
6177 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6179 * calendar/time-date.el (format-seconds): Use assoc instead of
6180 assoc-string, since assoc-string doesn't exist in XEmacs.
6182 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
6184 * custom.el (custom-known-themes): Reflow docstring.
6185 (custom-theme-load-path): Fix typo in docstring.
6186 (load-theme): Fix typo in error message.
6187 (custom-available-themes, custom-variable-theme-value):
6188 Use `let', not `let*'.
6190 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6192 * calc/README: Mention inclusion of musical notes.
6194 * calc/calc-units.el (calc-lu-quant): Rename from
6195 `calc-logunits-quantity'.
6196 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
6197 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
6198 (calc-db): Rename from `calc-dblevel'.
6199 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
6200 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
6201 (calc-np): Rename from `calc-nplevel'.
6202 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
6203 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
6204 (calc-lu-plus): Rename from `calc-logunits-add'.
6205 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
6206 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
6207 (calc-lu-minus): Rename from `calc-logunits-sub'.
6208 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
6209 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
6210 (calc-lu-times): Rename from `calc-logunits-mul'.
6211 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
6212 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
6213 (calc-lu-divide): Rename from `calc-logunits-div'.
6214 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
6215 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
6217 * calc/calc-ext.el (calc-init-extensions): Update the names of the
6218 functions being autoloaded.
6220 * calc/calc.el (calc-lu-power-reference): Rename from
6221 `calc-logunits-power-reference'.
6222 (calc-lu-field-reference): Rename from
6223 `calc-logunits-field-reference'.
6225 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
6227 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * minibuffer.el (completion-all-sorted-completions):
6230 Use :completion-cycle-penalty text property if present.
6232 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
6234 * allout.el (allout-yank-processing): Adjust for new rebulleting
6235 regime so bullet being yanked is used without prompting the user
6238 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
6240 * startup.el (command-line): Warn the user that _emacs is deprecated.
6242 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
6244 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
6245 (delphi-verbose, delphi-comment-face, delphi-string-face)
6246 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
6247 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
6248 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
6249 (delphi-new-comment-line, delphi-font-lock-defaults)
6250 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
6251 Fix typos in docstrings.
6253 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
6255 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
6256 Invert the roles of character and string values for INSTEAD, so a
6257 string is used for the more common case of a defaulting prompt.
6259 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * progmodes/ruby-mode.el (ruby-backward-sexp):
6262 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
6263 * play/gamegrid.el (gamegrid-make-face):
6264 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6265 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6266 * notifications.el (notifications-notify):
6267 * net/xesam.el (xesam-search-engines):
6268 * net/quickurl.el (quickurl-list-insert):
6269 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6271 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
6273 * startup.el (command-line): Update package subdirectory regexp.
6275 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6277 * allout.el (allout-abbreviate-flattened-numbering)
6278 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6280 * subr.el (read-char-choice): Only show the cursor after the prompt,
6281 not after the answer.
6283 2011-03-15 Kevin Ryde <user42@zip.com.au>
6285 * help-fns.el (variable-at-point): Skip leading quotes, if any
6288 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6293 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
6295 * shell.el (shell): When called interactively, offer to change the
6296 shell file name on remote hosts.
6298 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6300 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6301 integration for LDAP parameters. The host, base, user or binddn,
6302 and secret tokens can be specified in a netrc file, for instance.
6303 This is optional because an `auth-source' parameter must be
6304 specified in the search attributes.
6306 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
6308 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6310 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6312 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6313 into declaration. Remove redundant and harmful binding.
6315 2011-03-12 Eli Zaretskii <eliz@gnu.org>
6317 * files.el (file-ownership-preserved-p): Pass `integer' as an
6318 explicit 2nd argument to `file-attributes'. If the file's owner
6319 is the Administrators group on Windows, and the current user is
6320 Administrator, consider that a match.
6322 * server.el (server-ensure-safe-dir): Consider server directory
6323 safe on MS-Windows if its owner is the Administrators group while
6324 the current Emacs user is Administrator. Use `=' to compare
6325 numerical UIDs, since they could be integers or floats.
6327 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
6329 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6331 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
6333 Sync with Tramp 2.2.1.
6335 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6337 * net/trampver.el: Update release number.
6339 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * progmodes/compile.el (compilation--previous-directory): Fix up
6342 various nil/dead-marker mismatches (bug#8014).
6343 (compilation-directory-properties, compilation-error-properties):
6344 Don't call it at a position past the one we're about to change.
6346 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6347 Disable obsolescence warnings in the file that declares it.
6349 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6351 * allout-widgets.el (allout-widgets-tally):
6352 Initialize allout-widgets-tally as a hash table rather than nil to
6353 prevent mode-line redisplay warnings. Also, clarify the module
6354 description and fix a comment typo.
6356 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
6358 * help-fns.el (describe-variable): Don't complete keywords.
6359 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6361 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
6363 * emacs-lisp/package.el (package-version-join): Impose a standard
6364 string representation for pre/alpha/beta version lists.
6365 (package-unpack-single): Standardize the directory name by passing
6366 it through package-version-join.
6367 (package-strip-rcs-id): Accept any version string that does not
6368 signal an error in version-to-list.
6370 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
6372 * simple.el (delete-trailing-whitespace): Return nil for the
6373 benefit of `write-file-functions'.
6375 2011-03-10 Glenn Morris <rgm@gnu.org>
6377 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6379 * vc/vc-git.el (vc-git-program): New option.
6380 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6381 (vc-git--call): Use it.
6383 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6385 * cus-edit.el (Custom-newline): If no button at point, look
6386 for a subgroup button at start-of-line. (Bug#2298)
6388 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6390 2011-03-10 Julien Danjou <julien@danjou.info>
6392 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6393 `cursor-type' is nil.
6395 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6397 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6399 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6401 * allout.el Summary: Change so yank of distinctive-bullet items
6402 preserves the existing header prefix, rebulleting it if necessary,
6403 rather than replacing it. This is necessary for proper operation
6404 of cooperative addons like allout-widgets.
6405 (allout-make-topic-prefix, allout-rebullet-heading): Change
6406 SOLICIT arg to INSTEAD, and interpret additionally a string value
6407 as alternate bullet to be used, instead of prompting the user for
6410 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
6412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6413 Do not use `tramp-file-name-port', because this returns also
6414 `tramp-default-port'.
6416 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6418 * net/rcirc.el (rcirc-handler-001): Remove useless
6419 with-rcirc-process-buffer.
6420 (rcirc-check-auth-status): Swap arguments to string-match.
6422 2011-03-09 Glenn Morris <rgm@gnu.org>
6424 * shell.el (shell-mode):
6425 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6427 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6428 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6430 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
6432 * emacs-lisp/package.el (package-refresh-contents)
6433 (package-menu-execute): Use condition-case-no-debug.
6435 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
6437 * simple.el (shell-command-to-string): Use `process-file'.
6439 * emacs-lisp/package.el (package-tar-file-info): Handle also
6442 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6443 Use `equal' for upload base check.
6445 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6447 * textmodes/texinfo.el (texinfo-environments):
6448 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6450 2011-03-08 Glenn Morris <rgm@gnu.org>
6452 * cus-start.el (cursor-in-non-selected-windows):
6453 Fix :set quoting oddness. (Bug#8192)
6455 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6456 in some setf expressions. (Bug#2159)
6458 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
6460 * custom.el (custom-available-themes): Return themes in
6463 See ChangeLog.15 for earlier changes.
6469 Copyright (C) 2011 Free Software Foundation, Inc.
6471 This file is part of GNU Emacs.
6473 GNU Emacs is free software: you can redistribute it and/or modify
6474 it under the terms of the GNU General Public License as published by
6475 the Free Software Foundation, either version 3 of the License, or
6476 (at your option) any later version.
6478 GNU Emacs is distributed in the hope that it will be useful,
6479 but WITHOUT ANY WARRANTY; without even the implied warranty of
6480 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6481 GNU General Public License for more details.
6483 You should have received a copy of the GNU General Public License
6484 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.