1 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
4 to "\\sw\\|\\s_" (bug#358).
6 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7 (dired-unmark-backward): Ditto.
8 (dired-flag-backup-files): Ditto.
10 * dired-x.el (dired-mark-sexp): Ditto.
12 2011-07-06 Richard Stallman <rms@gnu.org>
14 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15 (rmail-mime-entity): New arg TRUNCATED.
16 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
18 (rmail-mime-save): Warn if entity is truncated.
19 (rmail-mime-toggle-hidden): Likewise, for showing.
20 (rmail-mime-process-multipart): Record when an entity is truncated.
22 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
23 if ENTITY is a string.
25 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
27 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
28 of faces when `M-C-x'-ing their definitions (bug#8378). Also
29 clean up the code slightly.
31 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
32 because that makes the colours go away.
34 * mail/sendmail.el (send-mail-function): Change the default to
35 `sendmail-query-once'.
36 (sendmail-query-once): Add an autoload cookie.
38 * net/network-stream.el (network-stream-open-starttls): Try using
39 a plain connection even if the server offered STARTTLS, and we
40 kinda wanted to use it, if Emacs doesn't have any STARTTLS
41 capability. This should make smtpmail.el work in slightly more
44 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
46 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
48 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
50 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
52 * progmodes/sql.el: Version 3.0
53 (sql-product-alist): Added product :completion-object,
54 :completion-column, and :statement attributes.
55 (sql-mode-menu, sql-interactive-mode-map): Fixed List entries.
56 (sql-mode-syntax-table): Mark all punctuation.
57 (sql-font-lock-keywords-builder): Temporarily removed fallback on
59 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
60 (sql-mode-oracle-font-lock-keywords): Improved.
61 (sql-oracle-show-reserved-words): New function for development.
62 (sql-product-font-lock): Simplify for source code buffers.
63 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
65 (sql-highlight-product): Set product specific syntax table.
66 (sql-mode-map): Added statement movement functions.
67 (sql-ansi-statement-starters, sql-oracle-statement-starters): New
69 (sql-statement-regexp, sql-beginning-of-statement)
70 (sql-end-of-statement, sql-signum): New functions.
71 (sql-buffer-live-p, sql=find-sqli-buffer): Added CONNECTION
73 (sql-show-sqli-buffer): Bug fix.
74 (sql-interactive-mode): Store connection data as buffer local.
75 (sql-connect): Added NEW-NAME parameter. Redesigned interaction
76 with sql-interactive-mode.
77 (sql-save-connection): Save buffer local settings.
78 (sql-connection-menu-filter): Changed menu entry name.
79 (sql-product-interactive): Bug fix.
80 (sql-preoutput-hold): New variable.
81 (sql-interactive-remove-continuation-prompt): Bug fixes.
82 (sql-debug-redirect): New variable.
83 (sql-str-literal): New function.
84 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
86 (sql-oracle-save-settings, sql-oracle-restore-settings)
87 (sql-oracle-list-all, sql-oracle-list-table): New functions.
88 (sql-completion-object, sql-completion-column)
89 (sql-completion-sqlbuf): New variables.
90 (sql-build-completions-1, sql-build-completions)
91 (sql-try-completion): New functions.
92 (sql-read-table-name): Use them.
93 (sql-contains-names): New buffer local variable.
94 (sql-list-all, sql-list-table): Use it.
95 (sql-oracle-completion-types): New variable.
96 (sql-oracle-completion-object, sql-sqlite-completion-object)
97 (sql-postgres-completion-object): New functions.
99 2011-07-06 Glenn Morris <rgm@gnu.org>
101 * window.el (pop-to-buffer): Doc fix.
103 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
105 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
107 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
109 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
111 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
113 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
115 * button.el (button): Inherit from link face. Suggested by Dan
118 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
120 * progmodes/gdb-mi.el: Fit in 80 columns.
121 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
124 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
125 if imenu is simply not configured (bug#8941).
127 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
129 * allout.el (allout-post-undo-hook): New allout outline-change
130 event hook to signal undo activity.
131 (allout-post-command-business): Run allout-post-undo-hook if an
133 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
134 * allout-widgets.el (allout-widgets-after-undo-function):
135 Ensure the integrity of the current item's decoration after it has been
136 in the vicinity of an undo.
137 (allout-widgets-mode): Include allout-widgets-after-undo-function
138 on the new allout-post-undo-hook.
140 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
142 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
143 Let define-derived-mode define it.
144 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
145 cycles of abbrev-table inheritance (bug#8998).
147 2011-07-05 Roland Winkler <winkler@gnu.org>
149 * textmodes/bibtex.el: Add support for biblatex.
150 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
151 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
152 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
153 (bibtex-entry-alist, bibtex-field-alist): New variables.
154 (bibtex-entry-field-alist): Obsolete alias for
155 bibtex-BibTeX-entry-alist.
156 (bibtex-entry-alist, bibtex-field-alist): New widgets.
157 (bibtex-set-dialect): New command.
158 (bibtex-entry-type, bibtex-entry-head)
159 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
160 Bind via bibtex-set-dialect.
161 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
162 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
163 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
164 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
165 Define via bibtex-set-dialect.
166 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
167 Obey bibtex-no-opt-remove-re.
168 (bibtex-vec-push, bibtex-vec-incr): New functions.
169 (bibtex-format-entry, bibtex-field-list)
170 (bibtex-print-help-message, bibtex-validate)
171 (bibtex-search-entries): Use new format of bibtex-entry-alist.
173 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
175 * progmodes/compile.el (compilation-goto-locus):
176 * net/tramp-cmds.el (tramp-append-tramp-buffers):
177 * bs.el (bs-cycle-next, bs-cycle-previous):
178 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
179 * bindings.el (mode-line-other-buffer):
180 * autoinsert.el (auto-insert):
181 * arc-mode.el (archive-extract):
182 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
184 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
186 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
187 Fix check of `emacs-lock-unlockable-modes'.
188 Coerce true values of `emacs-lock--try-unlocking' to t.
190 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
192 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
193 * emacs-lock.el: New file.
195 2011-07-05 Julien Danjou <julien@danjou.info>
197 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
198 than `boundp' to check if face is set.
200 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
202 * register.el (registerv-make):
203 * window.el (window-min-height): Fix typos in docstrings.
205 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
207 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
210 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
212 * server.el (server-execute): Catch quit and call
213 `server-return-error' to pass the error back to emacsclient and
214 close the connection (bug#8942).
216 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
218 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
219 insecure exception for current topic. Also note that auto-saves
220 are handled differently.
222 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
223 State variables for tracking auto-save inhibition situation.
225 (allout-write-contents-hook-handler): Rename from
226 'allout-write-file-hook-handler', and describe how it depends on
227 write-contents-functions sensitivity to non-nil value to prevent
230 (allout-auto-save-hook-handler): Remove. auto-save does not check
231 this in individual buffers, only in the starting buffer, so this
232 is not the right way for us to inhibit auto-save in a buffer
233 according to its condition.
235 (allout-mode): Use new allout-write-contents-hook-handler, and
236 only with write-contents-functions. Remove auto-save provisions -
237 they're implemented elsewhere.
239 (allout-before-change-handler): If undo is in progress, note that
240 for attention of allout-post-command-business.
242 (allout-post-command-business): If the command we're following was
243 an undo, check for change in the status of encrypted items and
244 adjust auto-save inhibitions accordingly.
246 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
247 according to whether there are or aren't any plain-text topics
250 (allout-inhibit-auto-save-info-for-decryption):
251 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
252 there are plain-text topics pending encryption.
254 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
255 buffer-saved-size and some allout state to not inhibit auto-saves
256 if there are no longer any plain-text topics pending encryption.
258 (allout-next-topic-pending-encryption),
259 (allout-encrypt-decrypted): No longer provide for exemption of the
262 2011-07-04 Juri Linkov <juri@jurta.org>
264 Add 7z operations to delete and save changed members (bug#8968).
265 * arc-mode.el (archive-7z-expunge, archive-7z-update):
267 (archive-7z-write-file-member): New function.
268 (archive-7z-summarize): Fix the number of dashes in the
271 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
273 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
276 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
278 * bindings.el: Ignore next-buffer and previous-buffer in
279 minibuffer-local-map.
281 * font-lock.el (font-lock-builtin-face): Change light background
282 color to dark slate blue (Bug#6693).
284 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
286 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
288 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
290 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
291 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
292 Add switch-to-buffer.
294 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
296 * isearch.el (isearch-search-fun-function): Clarify further the
297 meaning of the function returned.
299 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
301 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
303 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
304 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
306 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
307 `tramp-default-remote-path' does not exist.
308 (tramp-send-command-and-read): New optional argument NOERROR.
309 (tramp-open-connection-setup-interactive-shell)
310 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
311 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
312 (tramp-process-sentinel): Flush also process' connection property.
313 (tramp-sh-handle-start-file-process): Do not set process
314 sentinel. It is done now ...
315 (tramp-maybe-open-connection): ... here. (Bug#8929)
317 2011-07-04 MON KEY <monkey@sandpframing.com>
319 * play/animate.el (animate-string): Doc fixes and allow changing
320 the buffer name (bug#5417).
322 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
324 * play/animate.el (animation-buffer-name): Rename from *animate*.
326 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
328 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
329 This is simpler and helps future-proof the code.
330 (timer-until): Use time-subtract and float-time.
331 (timer--time-less-p): Use time-less-p.
333 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
335 * type-break.el (timep): Use the value of `float-time' to avoid a
336 byte-compiler warning.
338 * server.el (server-eval-and-print): Return any result, even nil.
340 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
342 * type-break.el: Accept time formats that the builtins accept.
343 (timep, type-break-time-difference): Accept any format that
344 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
345 This is simpler and helps future-proof the code.
346 (type-break-time-difference): Round rather than ignoring
347 subseconds components.
349 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
351 * info.el (Info-apropos-matches): Make non-interactive, since it
352 doesn't seem to do anything useful as a command (bug#8829).
354 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
356 * frame.el (frame-background-mode, frame-set-background-mode):
358 (frame-default-terminal-background): New function.
360 * custom.el (custom-push-theme): Don't record faces in `changed'
361 theme; this doesn't work correctly for per-frame face settings.
362 (disable-theme): Use face-set-after-frame-default to reset faces.
363 (custom--frame-color-default): New function.
365 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
367 * dired.el (dired-flagging-regexp): Remove unused variable
370 2011-03-29 Kevin Ryde <user42@zip.com.au>
372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
373 `perl-Test2' extend to match possible "fail #N" rep count
376 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
378 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
379 `smtpmail-via-smtp' now returns the error instead of nil.
381 * isearch.el (isearch-search-fun-function): Clarify the doc string
384 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
386 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
387 unnecessary spaces (bug#8987).
389 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
391 * net/network-stream.el (open-network-stream): Use the
392 :end-of-capability command thoughout.
394 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
396 * net/network-stream.el (open-network-stream): Add the
397 :end-of-capability command parameter, used by pop3.el.
399 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
401 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
403 * fringe.el (fringe-query-style): Remove redundant text " (type ?
404 for list)" (bug#6475).
406 * files.el (file-expand-wildcards): Ignore non-readable
407 sub-directories while trying to find matches instead of signalling
410 * man.el (Man-reference-regexp): Allow matching possible
411 word-wrapped references (bug#6289).
413 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
414 for consistency with the other vc buffers (bug#6197).
417 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
419 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
421 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
423 * custom.el (defcustom): Clarify that :set is only used in the
424 Customize user interface (bug#6089).
426 * progmodes/flymake.el (flymake-mode): If the buffer isn't
427 associated with a file, refuse to run instead of erroring out
430 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
431 the doc string, since it appears that using `fill-column' always
432 controls the width (bug#7845).
434 * simple.el (shell-command-on-region): Say where the error output
435 went if `shell-command-default-error-buffer' is set (bug#6857).
437 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
439 * allout.el (allout-yank-processing): Adjust cursor position for
440 backwards-deleted space.
442 (allout-rebullet-heading): Register changes with
443 allout-exposure-changed-hook, so the modified topic is properly
446 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
448 * minibuffer.el (completion-in-region): Document PREDICATE
451 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
452 of keyword/argument pairs (bug#6904).
454 * replace.el (multi-occur):
455 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
457 2011-07-02 Drew Adams <drew.adams@oracle.com>
459 * dired.el (dired-mark-if): Make the message about whether it's
460 marking or unmarking clearer (bug#8523).
462 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
464 * disp-table.el (display-table-print-array): New function.
465 (describe-display-table): Use it to print the vectors more pretty
468 2011-07-02 Martin Rudalics <rudalics@gmx.at>
470 * window.el (window-state-get-1): Don't assign clone numbers.
471 Add clone-of item to list of window parameters.
472 (window-state-put-2): Don't process clone numbers.
473 (display-buffer-alist): Fix doc-string.
475 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
477 * subr.el (remq): Don't allocate if it's not needed.
478 (keymap--menu-item-binding, keymap--menu-item-with-binding)
479 (keymap--merge-bindings): New functions.
480 (keymap-canonicalize): Use them to refine the canonicalization.
481 * minibuffer.el (minibuffer-local-completion-map)
482 (minibuffer-local-must-match-map): Move initialization from C.
483 (minibuffer-local-filename-completion-map): Move initialization from C;
484 don't inherit from anything here.
485 (minibuffer-local-filename-must-match-map): Make obsolete.
486 (completing-read-default): Use make-composed-keymap to combine
487 minibuffer-local-filename-completion-map with either
488 minibuffer-local-must-match-map or
489 minibuffer-local-filename-completion-map.
491 2011-07-01 Glenn Morris <rgm@gnu.org>
493 * type-break.el (type-break-time-sum): Use dolist.
495 * textmodes/flyspell.el (flyspell-word-search-backward):
498 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
500 * mouse.el (mouse--strip-first-event): New function.
501 (function-key-map): Use it to map fringe clicks to normal clicks
504 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
505 (vc-bzr-revision-completion-table): Add support for annotate and date.
507 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
510 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
512 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
513 (dired-show-file-type): Doc fixup (bug#8818).
515 * dired.el (dired-mode): Fix up the doc string as suggested by
516 Drew Adams (bug#8817).
518 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
519 cookie, since the manual says that it should be possible to add
520 this function to `find-file-hook' (bug#8709).
522 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
524 * progmodes/cfengine.el: Moved all cfengine3.el functionality
525 here. Noted Ted Zlatanov as the maintainer.
526 (cfengine-common-settings, cfengine-common-syntax): New functions
527 to set up common things between `cfengine-mode' and
529 (cfengine3-mode): New mode.
530 (cfengine3-defuns cfengine3-defuns-regex
531 (cfengine3-class-selector-regex cfengine3-category-regex)
532 (cfengine3-vartypes cfengine3-font-lock-keywords)
533 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
534 (cfengine3-indent-line): Add from cfengine3.el.
536 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
538 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
540 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
542 2011-07-01 Martin Rudalics <rudalics@gmx.at>
544 * window.el (same-window-buffer-names, same-window-regexps)
545 (same-window-p, special-display-frame-alist)
546 (special-display-popup-frame, special-display-function)
547 (special-display-buffer-names, special-display-regexps)
548 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
549 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
550 (split-window-preferred-function, split-height-threshold)
551 (split-width-threshold, even-window-heights)
552 (display-buffer-mark-dedicated, window-splittable-p)
553 (split-window-sensibly, window-safely-shrinkable-p):
555 (display-buffer): Don't spread args with function specifier
556 because special-display-popup-frame won't like it.
558 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
560 Time-stamp simplifications and fixes.
561 These improve accuracy slightly, and future-proof the code
562 against some potential changes to current-time format.
564 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
565 by using time-since and float-time.
567 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
568 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
571 * type-break.el (type-break-time-sum): Rewrite using time-add.
573 * play/hanoi.el (hanoi-current-time-float): Remove.
574 All uses replaced by float-time.
576 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
577 This yields a more-accurate answer.
578 (rng-time-to-float): Remove; no longer needed.
580 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
582 * calendar/timeclock.el (timeclock-seconds-to-time):
583 Defalias to seconds-to-time, since they're the same thing.
585 * emacs-lisp/elp.el (elp-elapsed-time):
586 * emacs-lisp/benchmark.el (benchmark-elapse):
587 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
589 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
591 * window.el (bury-buffer): Don't iconify the only frame.
592 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
593 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
595 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
597 * eshell/em-smart.el (eshell-smart-display-navigate-list):
598 Add mouse-yank-primary.
600 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
602 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
604 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
606 * emacs-lisp/find-func.el (find-library--load-name): New fun.
607 (find-library-name): Use it to find relative load names when provided
608 absolute file name (bug#8803).
610 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
612 * textmodes/flyspell.el (flyspell-word): Consider words that
613 differ only in case as potential doublons (bug#5687).
615 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
616 Remove two rather uninteresting debugging-like messages to make
617 debbugs.el more silent.
619 * comint.el (comint-password-prompt-regexp): Accept "Response" as
620 a password-like phrase.
622 2011-06-30 Mastake YAMATO <yamato@redhat.com>
624 * progmodes/cc-guess.el: New file.
626 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
628 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
629 derived from `c-basic-common-init'.
631 * progmodes/cc-mode.el (top-level): Require cc-guess.
632 (c-basic-common-init): Use `cc-choose-style-for-mode'.
634 2011-06-30 Lawrence Mitchell <wence@gmx.li>
636 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
638 2011-06-30 Alan Mackenzie <acm@muc.de>
640 * progmodes/cc-engine.el (c-guess-continued-construct):
641 Correct the handling of template-args-cont, particularly for when font
642 lock is disabled. Name this case as "CASE G".
644 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
646 * allout.el (allout-yank-processing): Fix injection of extra space
647 between bullet and non-whitespace character in first topic when
648 pasting, ensuring that the actual spacing in the pasted topic
649 following the bullet char is preserved. This extra space was
650 causing pasted encrypted topics to get a decrypted status even
651 when the content was actually still encrypted. Now the decryption
652 status from before the paste is preserved.
654 (allout-flag-region): Set all allout overlays so they evaporate
655 when reduced to zero length (evanescent), to prevent overlay
658 2011-06-30 Glenn Morris <rgm@gnu.org>
660 * w32-fns.el (w32-charset-info-alist): Declare.
662 * find-dired.el (find-grep-options): Simplify.
664 * term/ns-win.el (ns-set-resource): Declare.
666 * ses.el (row, col): Declare dynamic variables honestly.
668 * textmodes/reftex-parse.el (index-tags): Declare.
670 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
672 * cus-edit.el (customize-push-and-save): New function.
674 * files.el (hack-local-variables-confirm): Use it.
676 * custom.el (load-theme): New arg NO-CONFIRM.
677 Use customize-push-and-save (Bug#8720).
678 (custom-enabled-themes): Doc fix.
680 * cus-theme.el (customize-create-theme)
681 (custom-theme-merge-theme): Callers to load-theme changed.
683 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
685 * thingatpt.el (thing-at-point-short-url-regexp): Require that
686 short URLs have at least one dot in them (bug #7614).
688 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
689 nil, because using a pty is apparently too slow (bug #895).
691 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
693 * mail/sendmail.el (sendmail-query-once): New function.
694 (sendmail-query-once-function): New variable.
696 2011-06-29 Glenn Morris <rgm@gnu.org>
698 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
700 * ses.el (top-level): Require cl when compiling.
701 (ses-set-localvars): Fix error statement.
702 Call it at compile time to silence a storm of warnings.
704 2011-06-29 Martin Rudalics <rudalics@gmx.at>
706 * window.el (normalize-live-buffer): Rename to
707 window-normalize-buffer.
708 (normalize-live-frame): Rename to window-normalize-frame.
709 (normalize-any-window): Rename to window-normalize-any-window.
710 (normalize-live-window): Rename to window-normalize-live-window.
711 (make-window-atom): Rename to window-make-atom.
712 (window-resize-reset): Rename to window--resize-reset.
713 (window-resize-reset-1): Rename to window--resize-reset-1.
714 (resize-mini-window): Rename to window--resize-mini-window.
715 (resize-subwindows-skip-p): Rename to
716 window--resize-subwindows-skip-p.
717 (resize-subwindows-normal): Rename to
718 window--resize-subwindows-normal.
719 (resize-subwindows): Rename to window--resize-subwindows.
720 (resize-other-windows): Rename to window--resize-siblings.
721 (resize-this-window): Rename to window--resize-this-window.
722 (resize-root-window): Rename to window--resize-root-window.
723 (resize-root-window-vertically): Rename to
724 window--resize-root-window-vertically.
725 (normalize-buffer-to-display): Rename to
726 window-normalize-buffer-to-display.
727 (normalize-buffer-to-switch-to): Rename to
728 window-normalize-buffer-to-switch-to.
729 Correspondingly update all callers of the functions listed
731 (display-buffer-alist, display-buffer-normalize-arguments)
732 (display-buffer-normalize-options, display-buffer)
733 (display-buffer-alist-set): Use "function" instead of
736 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
738 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
739 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
740 debbugs.gnu.org. Mention acknowledgment email.
742 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
744 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
745 buffer multibyteness, since it shouldn't matter.
747 2011-06-28 Martin Rudalics <rudalics@gmx.at>
749 * window.el (display-buffer-in-side-window): Handle dedicated
750 windows as in display-buffer-reuse-window.
751 (display-buffer-normalize-alist): Use value of override
753 (display-buffer-normalize-specifiers): Use value of
754 other-window-means-other-frame specifier.
755 (display-buffer-alist): Rewrite some texts in widgets.
756 (display-buffer): Spread arguments when calling function
757 specified by fun-with-args.
759 2011-06-28 Deniz Dogan <deniz@dogan.se>
761 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
764 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
765 selectors (Bug#5732).
766 (css-proprietary-nmstart-re): Use `regexp-opt'.
768 2011-06-27 Jari Aalto <jari.aalto@cante.net>
770 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
771 (eshell-ls-date-format): New defcustom.
772 (eshell-ls-file): Use it.
774 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
776 * help-fns.el (describe-variable): Fix message for terminal-local vars.
778 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
780 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
781 (ange-ftp-make-tmp-name): New arg.
782 (ange-ftp-file-local-copy): Use it.
784 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
786 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
787 no-conversion (Bug#8870).
789 2011-06-27 Martin Rudalics <rudalics@gmx.at>
791 * window.el (window-right, window-left, window-child)
792 (window-child-count, window-last-child)
793 (window-iso-combination-p, walk-window-tree-1)
794 (window-atom-check-1, window-tree-1, delete-window)
795 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
796 new naming conventions - window-vchild, window-hchild,
797 window-next and window-prev are now called window-top-child,
798 window-left-child, window-next-sibling and window-prev-sibling
800 (resize-window-reset): Rename to window-resize-reset.
801 (resize-window-reset-1): Rename to window-resize-reset-1.
802 (resize-window): Rename to window-resize.
803 (window-min-height, window-min-width)
804 (resize-mini-window, resize-this-window, resize-root-window)
805 (resize-root-window-vertically, adjust-window-trailing-edge)
806 (enlarge-window, shrink-window, maximize-window)
807 (minimize-window, delete-window, quit-restore-window)
808 (split-window, balance-windows, balance-windows-area-adjust)
809 (balance-windows-area, window-state-put-2)
810 (display-buffer-even-window-sizes, display-buffer-set-height)
811 (display-buffer-set-width, set-window-text-height)
812 (fit-window-to-buffer): Rename all "resize-window" prefixed
813 calls to use the "window-resize" prefix convention.
814 (display-buffer-alist): Fix symbol for label specifier.
815 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
816 corresponding specifier.
817 Reported by Juanma Barranquero <lekktu@gmail.com>.
819 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
821 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
823 (ses-call-printer): Does not pass an empty string to formatter when the
824 cell is empty to keep from barking printer Calc math-format-value.
826 2011-06-27 Richard Stallman <rms@gnu.org>
828 * battery.el (battery-mode-line-limit): New variable.
829 (battery-update): Handle it.
831 * mail/rmailmm.el (rmail-mime-process-multipart):
832 Handle truncated messages.
834 2011-06-27 Glenn Morris <rgm@gnu.org>
836 * progmodes/flymake.el (flymake-err-line-patterns):
837 Allow for column numbers in the ant/javac pattern. (Bug#8866)
839 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
841 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
842 (ses--clean-!, ses--clean-_): New functions.
843 (ses-range): Add configurability of readout order, and conversion
846 * ses.el (ses-repair-cell-reference-all): New function.
847 (ses-cell-symbol): Set macro as safe, so that it can be used in
850 * ses.el: Update cycle detection algorithm.
851 (ses-localvars): Add ses--Dijkstra-attempt-nb and
852 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
853 (ses-set-localvars): New function.
854 (ses-make-cell): Add property-list as a cell element.
855 (ses-cell-property-get-fun, ses-cell-property-get)
856 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
857 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
859 (ses-cell-property-set, ses-cell-property-pop)
860 (ses-cell-property-get-handle): New macro.
861 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
862 New aliases, used for code readability.
863 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
865 (ses-self-reference-early-detection): New defcustom.
866 (ses-formula-references): Robustify against self-refering cells.
867 (ses-mode): Use ses-set-localvars.
868 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
869 before lauching the update processing.
870 (ses-initialize-Dijkstra-attempt): New function.
871 (ses-recalculate-cell): Update for cycle detection based on
874 * ses.el: Fix commenting and indenting convention.
876 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
878 * bs.el (bs-cycle-next): Complete last change.
880 2011-06-27 Drew Adams <drew.adams@oracle.com>
882 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
884 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
886 * net/network-stream.el (network-stream-open-starttls):
887 Don't re-get capabilities unless we've reestablished connection.
888 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
890 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
891 to binary to possibly avoid line encoding issues on Windows (among
894 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
896 * net/network-stream.el (open-network-stream): Return an :error
897 saying what the problem was, if possible.
899 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
902 * net/network-stream.el (network-stream-open-starttls): If we
903 wanted to use STARTTLS, and the server offered it, but we weren't
904 able to because we had no STARTTLS support, then close the connection.
905 (open-network-stream): Return an :error element, if present.
907 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
909 * hl-line.el (hl-line-sticky-flag): Doc fix.
910 (global-hl-line-sticky-flag): New option (Bug#8323).
911 (global-hl-line-highlight): Obey it.
913 * vc/vc.el (vc-revert-show-diff): Default to t.
915 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
917 * allout-widgets.el (allout-widgets-post-command-business):
918 Stop decorating intermediate isearch matches. They're not being
919 undecorated when an isearch is continued past, and isearch
920 automatically collapses them. This leads to "widget leaks", where
921 decorated items accumulate in collapsed areas. Lines with lots of
922 hidden widgets can slow down cursor travel, substantially.
923 Too much complicated machinery would be needed to ensure undecoration,
924 so we're doing without this nicety.
926 (allout-widgets-tally-string): Don't try to do a hash-table-count
927 of allout-widgets-tally when it's nil. This eliminates spurious "Error
928 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
929 *Messages* when allout-widgets-maintain-tally is t.
931 2011-06-26 Martin Rudalics <rudalics@gmx.at>
933 * window.el (display-buffer-normalize-argument): Rename to
934 display-buffer-normalize-arguments. Handle special meaning of
935 LABEL argument. Respect special-display-function when popping up
936 a new frame. Fix code searching for a window showing the buffer
938 (display-buffer-normalize-specifiers):
939 Call display-buffer-normalize-arguments.
940 (display-buffer-in-window): Don't undedicate the window if its
941 buffer remains the same.
942 Reported by Drew Adams <drew.adams@oracle.com>.
943 (display-buffer-alist): Add choice for same-window macro
945 (display-buffer): Mention special meaning of LABEL argument in
946 doc-string. Fix quoting. Don't pop up a new frame even as
949 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
951 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
952 avoid deleting the current window in some cases (bug#8911).
954 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
956 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
959 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
961 * net/network-stream.el (network-stream-open-starttls):
962 Use built-in TLS support if `gnutls-available-p' is true.
963 (network-stream-open-tls): Ditto.
965 2011-06-26 Leo Liu <sdl.web@gmail.com>
967 * register.el (registerv): New struct.
968 (registerv-make): New function.
969 (jump-to-register, describe-register-1, insert-register):
970 Support the jump-func, print-func and insert-func slot of a registerv
973 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
975 * vc/vc.el (vc-revert-show-diff): New defcustom.
976 (vc-diff-internal): New arg specifying diff buffer.
977 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
978 reuse an existing *vc-diff* buffer (Bug#8927).
980 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
982 2011-06-26 Glenn Morris <rgm@gnu.org>
984 * progmodes/f90.el (f90-critical-indent): New option.
985 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
986 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
988 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
989 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
990 (f90-beginning-of-block, f90-next-block, f90-indent-region)
991 (f90-match-end): Handle block, critical.
993 2011-06-25 Glenn Morris <rgm@gnu.org>
995 * calendar/diary-lib.el (diary-included-files): Doc fix.
996 (diary-include-files): New function, extracted from
997 diary-include-other-diary-files and diary-mark-included-diary-files.
998 (diary-include-other-diary-files, diary-mark-included-diary-files):
999 Just call diary-include-files.
1000 (diary-mark-entries): Reset diary-included-files on first call.
1002 * calendar/diary-lib.el (diary-mark-entries)
1003 (diary-mark-included-diary-files):
1004 Visit included diary-files in temp buffers.
1006 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
1007 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
1008 (f90-start-block-re, f90-imenu-generic-expression)
1009 (f90-looking-at-program-block-start, f90-no-block-limit):
1010 Add support for submodules.
1012 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
1013 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
1015 2011-06-25 Eli Zaretskii <eliz@gnu.org>
1017 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
1018 buffer-file-type before setting its value, to avoid disastrous
1019 global effects on decoding files for DOS/Windows systems. (Bug#8780)
1021 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1023 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
1025 * ses.el (ses-unload-function):
1026 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
1028 * proced.el (proced-unload-function):
1029 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
1031 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
1033 * server.el (server-create-window-system-frame): Add parameters arg.
1034 (server-process-filter): Doc fix. Handle frame-parameters.
1036 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
1038 Fix bug#8730, bug#8781.
1040 * loadhist.el (unload--set-major-mode): New function.
1041 (unload-feature): Use it.
1043 * progmodes/python.el (python-after-info-look): Add autoload cookie.
1044 (python-unload-function): New function.
1046 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
1050 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
1052 * net/browse-url.el (browse-url-firefox-program): Add icecat to
1053 the candidates list.
1055 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
1057 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
1059 2011-06-23 Richard Stallman <rms@gnu.org>
1061 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
1062 (rmail-variables): Set next-error-move-function.
1063 (rmail-what-message): Take argument POS.
1064 (rmail-next-error-move): New function.
1066 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
1069 messages for adjacent non-terminals.
1071 2011-06-23 Richard Stallman <rms@gnu.org>
1073 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
1074 (rmail-show-message-1): Preserve buffer modified flag.
1075 (rmail-start-mail): Don't specify use of rmail-mail-return;
1076 that's done by mail-bury now.
1077 (rmail-mail-return): Handle arg NEWBUF.
1079 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
1081 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
1084 2011-06-23 Martin Rudalics <rudalics@gmx.at>
1086 * window.el (get-lru-window, get-mru-window)
1087 (get-largest-window): Never return a minibuffer window.
1088 (display-buffer-pop-up-window): Fix a bug that could lead to
1089 reusing the minibuffer window.
1090 (display-buffer): Pass original specifier argument to
1091 display-buffer-function instead of the normalized one.
1092 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1094 2011-06-22 Leo Liu <sdl.web@gmail.com>
1096 * minibuffer.el (completing-read-function)
1097 (completing-read-default): Move from minibuf.c
1099 2011-06-22 Richard Stallman <rms@gnu.org>
1101 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
1102 to Rmail even if not started by a special Rmail command.
1104 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1105 Copy the buffer currently showing just one message.
1107 2011-06-22 Roland Winkler <winkler@gnu.org>
1109 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
1110 (bibtex-clean-entry): First delete the old key so that a
1111 customized algorithm for generating the new key does not get
1112 confused by the old key.
1113 (bibtex-url): Obey regexp of first step.
1114 (bibtex-search-entries): Do not use add-to-list with local
1117 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1119 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1120 stored a user name, then query for the password first, instead of
1121 waiting for SMTP to give an error message and the trying again.
1123 2011-06-22 Lawrence Mitchell <wence@gmx.li>
1125 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1126 BUFFER in call-process.
1128 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1130 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1132 (smtpmail-try-auth-methods): Require user name and password from
1135 2011-06-22 Martin Rudalics <rudalics@gmx.at>
1137 * window.el (display-buffer-default-specifiers)
1138 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1139 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
1140 (split-window): Normalize SIDE argument (Bug#8916).
1142 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1143 (special-display-frame-alist, special-display-popup-frame):
1144 Remove duplicate declarations. These are now in window.el.
1146 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148 * mail/smtpmail.el (smtpmail-via-smtp):
1149 Set :use-starttls-if-possible so that we always use STARTTLS if the
1150 server supports it. SMTP servers that support STARTTLS commonly
1153 * net/network-stream.el (network-stream-open-starttls): Support
1154 upgrading to STARTTLS always, even if we don't have built-in support.
1155 (open-network-stream): Add the :always-query-capabilies keyword.
1157 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
1158 upgrades with `open-network-stream', and rely solely on
1159 auth-source for all credentials. Big changes throughout the file,
1161 (smtpmail-auth-credentials): Remove.
1162 (smtpmail-starttls-credentials): Remove.
1163 (smtpmail-via-smtp): Check for servers saying they want AUTH after
1166 * net/network-stream.el (network-stream-open-starttls):
1167 Provide support for client certificates both for external and built-in
1169 (auth-source): Require.
1170 (open-network-stream): Document the :client-certificate keyword.
1171 (network-stream-certificate): Change cert-cert to cert and
1174 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
1176 * net/tramp-cache.el (top): Don't load the persistency file when
1177 "emacs -Q" has been called.
1179 2011-06-21 Tim Harper <timcharper@gmail.com>
1181 * term/ns-win.el (ns-initialize-window-system):
1182 Set application-specific `ApplePressAndHoldEnabled' system
1183 resource to NO as it is not yet supported by the NS port.
1185 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
1187 * misc.el (list-dynamic-libraries--refresh): Compute header here...
1188 (list-dynamic-libraries): ...not here.
1190 2011-06-21 Leo Liu <sdl.web@gmail.com>
1192 * subr.el (sha1): Implement sha1 using secure-hash.
1194 2011-06-21 Martin Rudalics <rudalics@gmx.at>
1196 * window.el (display-buffer-alist): In default value do not
1197 enforce searching a window on any but the selected frame.
1198 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
1199 (display-buffer-select-window): Remove function.
1200 (display-buffer-in-window): When a window on another frame gets
1201 reused, do not select it any more but just raise its frame if
1202 necessary (Bug#8851) and (Bug#8856).
1203 (display-buffer-normalize-options): Handle pop-up-frames related
1204 options more faithfully.
1205 (pop-to-buffer): Don't rely on `display-buffer' selecting the
1206 window if it is on another frame.
1207 (display-buffer-alist, display-buffer-default-specifiers):
1208 Don't make new frame unsplittable by default.
1209 (display-buffer-normalize-argument): Fix doc-string typo and use
1210 'same-frame-other-window instead of 'other-window when associating
1211 with display-buffer-macro-specifiers.
1213 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
1215 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
1217 (5x5-mode-map, 5x5-mode-menu): Bind them.
1218 (5x5-draw-grid): Tweak the solver's rendering.
1220 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
1223 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
1225 2011-06-21 Drew Adams <drew.adams@oracle.com>
1227 * menu-bar.el: Use function variable instead of switch-to-buffer.
1228 (menu-bar-select-buffer-function): New variable.
1229 (menu-bar-update-buffers): Use it (bug#8876).
1231 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
1236 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
1238 * x-dnd.el (x-dnd-version-from-flags)
1239 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
1240 and long as number (Bug#8899).
1241 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
1243 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
1246 (completion-try-completion, completion-all-completions): Compute the
1247 metadata argument if it's missing; make it optional (bug#8795).
1249 * wid-edit.el: Use lex-bind and move towards completion-at-point.
1250 (widget-complete): Use new :completion-function property.
1251 (widget-completions-at-point): New function.
1252 (default): Use :completion-function instead of :complete.
1253 (widget-default-completions): Rename from widget-default-complete;
1255 (widget-string-complete, widget-file-complete, widget-color-complete):
1257 (file, symbol, function, variable, coding-system, color):
1258 * international/mule-cmds.el (default-input-method, charset)
1259 (language-info-custom-alist):
1260 * cus-edit.el (face): Use new property :completions.
1262 * progmodes/pascal.el (pascal-completions-at-point): New function.
1263 (pascal-mode): Use it.
1264 (pascal-mode-map): Use completion-at-point.
1265 (pascal-toggle-completions): Make obsolete.
1266 (pascal-complete-word, pascal-show-completions):
1267 * progmodes/octave-mod.el (octave-complete-symbol):
1268 Redefine as obsolete alias.
1269 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
1270 Signal absence of completion info for old Octave,
1271 (inferior-octave-complete): Redefine as obsolete alias.
1272 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
1273 (meta-completions-at-point): Rename from meta-complete-symbol and
1274 adapt it for use on completion-at-point-functions.
1275 (meta-common-mode): Use it.
1276 (meta-looking-at-backward, meta-match-buffer): Remove.
1277 (meta-complete-symbol): Redefine as obsolete alias.
1278 (meta-common-mode-map): Use completion-at-point.
1279 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
1280 (makefile-mode-map): Use completion-at-point.
1281 (makefile-completions-at-point): Rename from makefile-complete and
1282 adapt it for use on completion-at-point-functions.
1283 (makefile-mode): Use it.
1284 (makefile-complete): Redefine as obsolete alias.
1286 2011-06-20 Deniz Dogan <deniz@dogan.se>
1288 * net/rcirc.el: Delete trailing whitespaces once and for all.
1290 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
1292 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
1294 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
1296 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
1298 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
1300 2011-06-19 Martin Rudalics <rudalics@gmx.at>
1302 * window.el (display-buffer-other-window-means-other-frame):
1303 Call display-buffer-normalize-alist.
1304 (display-buffer-normalize-specifiers-1): Rename to
1305 display-buffer-normalize-argument. New argument other-frame.
1307 (display-buffer-normalize-specifiers-2): Rename to
1308 display-buffer-normalize-options.
1309 (display-buffer-normalize-alist-1): New function.
1310 (display-buffer-normalize-specifiers-3): Rename to
1311 display-buffer-normalize-alist.
1312 Call display-buffer-normalize-alist-1.
1313 (display-buffer-normalize-options-inhibit): New variable.
1314 (display-buffer-normalize-specifiers): Rewrite calling
1315 display-buffer-normalize-alist,
1316 display-buffer-normalize-argument, and
1317 display-buffer-normalize-options. Don't call the latter if
1318 display-buffer-normalize-options-inhibit is non-nil.
1319 (frame-auto-delete): New option.
1320 (window-deletable-p): Use frame-auto-delete.
1321 (window-list-no-nils, window-state-ignored-parameters)
1322 (window-state-get-1, window-state-get, window-state-put-list)
1323 (window-state-put-1, window-state-put-2, window-state-put):
1325 (display-buffer-normalize-options): Move special-display-p group
1326 after pop-up-frame group (Bug#8851) and (Bug#8856).
1328 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
1330 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
1332 (rx-submatch-n): New function.
1335 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
1338 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
1340 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
1342 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
1343 anytime existing face settings are present (Bug#8889).
1345 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
1346 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
1347 Remove unused argument.
1349 2011-06-18 Martin Rudalics <rudalics@gmx.at>
1351 * window.el (display-buffer-default-specifiers):
1352 Remove pop-up-frame. Add pop-up-window-min-height,
1353 pop-up-window-min-width, and another reuse-window specifier
1354 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
1355 (display-buffer-normalize-specifiers-2):
1356 Handle split-height-threshold and split-width-threshold also when
1357 pop-up-windows is unset. Add a reuse-window specifier for the
1358 case popping up a new window fails.
1359 (special-display-popup-frame): Remove double quoting.
1360 (display-buffer-normalize-specifiers-1): Fix thinko.
1362 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * shell.el (shell-completion-vars): Set pcomplete-termination-string
1365 according to comint-completion-addsuffix.
1367 * pcomplete.el: Convert to lexical binding and fix bug#8819.
1368 (pcomplete-suffix-list): Mark as obsolete.
1369 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
1370 pcomplete-seen in the closure.
1371 (pcomplete-comint-setup): Setup completion-at-point as well.
1372 (pcomplete--entries): New function.
1373 (pcomplete--env-regexp): New var.
1374 (pcomplete-entries): Rewrite to work with partial-completion and
1375 without relying on pcomplete-suffix-list.
1376 (pcomplete-pare-list): Remove, unused.
1378 2011-06-17 Martin Rudalics <rudalics@gmx.at>
1380 * window.el (display-buffer-alist): Set pop-up-window-min-height
1381 and pop-up-window-min-width in default value. Reported by
1382 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
1383 other-window-means-other-frame.
1384 (display-buffer-macro-specifiers): Comment out entry for
1385 other-window specifier.
1386 (display-buffer-other-window-means-other-frame): New function.
1387 (display-buffer-normalize-specifiers-1): New arguments
1388 buffer-name and label. Treat other-window case specially.
1389 (display-buffer-normalize-specifiers-2): Treat other-window case
1391 (display-buffer-normalize-specifiers-3): New function.
1392 (display-buffer-normalize-specifiers):
1393 Call display-buffer-normalize-specifiers-3.
1395 2011-06-17 Martin Rudalics <rudalics@gmx.at>
1397 * window.el (same-window-p): Fix two typos introduced when
1398 adding with-no-warnings.
1399 (display-buffer-normalize-specifiers-1): Don't check
1400 pop-up-frames for 'unset initialization.
1401 (display-buffer-normalize-specifiers-2): Major rewrite using
1402 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
1403 (pop-up-frames, display-buffer-reuse-frames)
1404 (display-buffer-mark-dedicated): Don't initialize to 'unset.
1405 Suggested by David Engster <deng@randomsample.de>.
1406 (even-window-heights): Initialize to 'unset.
1407 (display-buffer-alist-set): Handle new 'unset initializations.
1408 (display-buffer-macro-specifiers): Don't pop up a new frame in the
1411 2011-06-16 Martin Rudalics <rudalics@gmx.at>
1413 * window.el (display-buffer-normalize-specifiers-1):
1414 Respect current value of pop-up-frames for most reasonable values of
1415 second argument of display-buffer (Bug#8865).
1416 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
1417 (switch-to-buffer-other-window-same-frame)
1418 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
1420 (display-buffer): Don't check noninteractive when calling
1421 display-buffer-pop-up-frame.
1422 (display-buffer-pop-up-frame): Never pop up a frame in
1423 noninteractive mode (Bug#8857).
1424 (enlarge-window, shrink-window): Don't report an error when the
1425 window can't be resized as requested (Bug#8862).
1427 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
1431 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1433 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1435 2011-06-15 Alan Mackenzie <acm@muc.de>
1437 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1438 for declarators, disable knr checking to speed up for normal files.
1439 2: Refactor, replacing a sequence of nested if forms by a cond form.
1441 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1443 * net/network-stream.el (open-network-stream): Add the keyword
1444 :always-query-capabilities for the case where you want to force a
1445 `plain' network connection, but the protocol still requires the
1446 capabilitiy command (i.e., SMTP and EHLO).
1448 * subr.el (process-live-p): Rename from `process-alive-p' for
1449 consistency with other `-live-p' functions.
1451 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * window.el (same-window-buffer-names, same-window-regexps)
1454 (special-display-frame-alist, special-display-popup-frame)
1455 (special-display-function, special-display-buffer-names)
1456 (special-display-regexps, pop-up-frame-alist)
1457 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1458 (pop-up-windows, split-window-preferred-function)
1459 (split-height-threshold, split-width-threshold, even-window-heights)
1460 (display-buffer-mark-dedicated): Don't encourage the use of
1461 display-buffer-alist from Elisp code.
1463 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1465 * progmodes/python.el (python-mode): Derive from prog-mode.
1466 * progmodes/ps-mode.el (ps-mode):
1467 * progmodes/mixal-mode.el (mixal-mode):
1468 * progmodes/cfengine.el (cfengine-mode):
1469 * progmodes/ld-script.el (ld-script-mode): Likewise.
1471 2011-06-15 Martin Rudalics <rudalics@gmx.at>
1473 * window.el (display-buffer-alist): Trim default value to avoid
1474 popping up a new frame (Bug#8857) or reusing an arbitrary window
1476 (display-buffer): Do not fall back on popping up a new frame in
1477 batch mode (Bug#8857).
1479 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
1481 * cus-theme.el (describe-theme-1): Use custom-theme-p.
1482 (custom-theme-summary): New function.
1483 (customize-themes): Use it.
1485 2011-06-13 Glenn Morris <rgm@gnu.org>
1487 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1489 2011-06-13 Martin Rudalics <rudalics@gmx.at>
1491 * help.el (help-window): Remove variable.
1492 (help-window-point-marker, temp-buffer-max-height)
1493 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1494 (help-print-return-message): Don't set help-window.
1495 (resize-temp-buffer-window): Rewrite cod eand doc-string.
1496 (help-window-setup-finish): Remove.
1497 (help-window-display-message, help-window-setup)
1498 (with-help-window): Major rewrite based on new
1499 display-buffer-window variable.
1501 * help-mode.el (help-mode-finish): Remove help-window related
1504 * view.el (view-exits-all-viewing-windows): Remove reference to
1505 view-return-to-alist in doc-string.
1506 (view-return-to-alist): Make obsolete.
1507 (view-buffer): Call pop-to-buffer-same-window and remove
1509 (view-buffer-other-window): Call pop-to-buffer-other-window and
1510 simplify code. Ignore second argument.
1511 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1512 simplify code. Ignore second argument.
1513 (view-return-to-alist-update): Make obsolete.
1514 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1515 Rewrite using quit-restore window parameters.
1516 (view-mode-exit): Rename second argument to EXIT-ONLY.
1517 Rewrite using quit-restore-window.
1518 (View-exit, View-exit-and-edit, View-leave, View-quit)
1519 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1520 appropriate arguments.
1521 (view-end-message): Use quit-restore window parameter.
1523 * window.el (display-buffer-function): Rewrite doc-string.
1524 (display-buffer-window, display-buffer-alist): New variables.
1525 (display-buffer-split-specifiers)
1526 (display-buffer-side-specifiers)
1527 (display-buffer-macro-specifiers): New constants.
1528 (display-buffer-even-window-sizes, display-buffer-set-height)
1529 (display-buffer-set-width, display-buffer-select-window)
1530 (display-buffer-in-window, display-buffer-reuse-window)
1531 (display-buffer-split-window-1, display-buffer-split-window)
1532 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1533 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1534 (display-buffer-in-side-window, normalize-buffer-to-display)
1535 (display-buffer-normalize-specifiers-1)
1536 (display-buffer-normalize-specifiers-2)
1537 (display-buffer-normalize-specifiers, display-buffer-frame):
1539 (display-buffer): Major rewrite.
1540 (display-buffer-other-window, display-buffer-other-frame)
1541 (pop-to-buffer, switch-to-buffer-other-window)
1542 (switch-to-buffer-other-frame): Rewrite.
1543 (display-buffer-same-window, display-buffer-same-frame)
1544 (display-buffer-same-frame-other-window)
1545 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1546 (pop-to-buffer-other-window)
1547 (pop-to-buffer-same-frame-other-window)
1548 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1549 (switch-to-buffer-other-window-same-frame): New functions.
1550 (same-window-p, special-display-p): Rewrite disabling warnings.
1552 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1553 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1555 (same-window-buffer-names, same-window-regexps)
1556 (special-display-frame-alist, special-display-popup-frame)
1557 (special-display-function, special-display-buffer-names)
1558 (special-display-regexps, pop-up-frame-alist)
1559 (pop-up-frame-function, split-window-preferred-function)
1560 (split-height-threshold, split-width-threshold)
1561 (even-window-heights): Make obsolete.
1563 2011-06-12 Glenn Morris <rgm@gnu.org>
1565 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
1566 Misc simplifications.
1568 2011-06-12 Martin Rudalics <rudalics@gmx.at>
1570 * window.el (window-safely-shrinkable-p): Restore function which
1571 was inadvertently removed in change from 2011-06-11. Declare as
1574 * calendar/calendar.el (calendar-generate-window):
1575 Use window-iso-combined-p instead of combination of one-window-p and
1576 window-safely-shrinkable-p.
1578 2011-06-12 Glenn Morris <rgm@gnu.org>
1580 * progmodes/fortran.el (fortran-mode-syntax-table):
1581 * progmodes/f90.el (f90-mode-syntax-table):
1582 Set % to punctuation. (Bug#8820)
1583 (f90-find-tag-default): Remove, no longer needed.
1585 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
1587 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1589 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
1591 * image.el (image-animated-p): Return animation delay in seconds.
1592 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1593 (image-animate-timeout): Remove DELAY argument. Don't assume
1594 every subimage has the same delay; get it from image-animated-p.
1595 (image-animate): Caller changed.
1597 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
1599 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1600 to ignored backtrace functions.
1602 2011-06-11 Glenn Morris <rgm@gnu.org>
1604 * calendar/appt.el (appt-disp-window-function): Doc fix.
1605 (appt-check): Handle overlapping appointments. (Bug#8337)
1607 2011-06-11 Martin Rudalics <rudalics@gmx.at>
1609 * window.el (window-tree-1, window-tree): New functions, moving
1610 the latter to window.el.
1611 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1612 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1613 (bw-refresh-edges): Remove.
1614 (balance-windows-1, balance-windows-2): New functions.
1615 (balance-windows): Rewrite in terms of window tree functions,
1616 balance-windows-1 and balance-windows-2.
1617 (bw-adjust-window): Remove.
1618 (balance-windows-area-adjust): New function with functionality of
1619 bw-adjust-window but using resize-window.
1620 (set-window-text-height): Rewrite doc-string.
1621 Use normalize-live-window and resize-window.
1622 (enlarge-window-horizontally, shrink-window-horizontally):
1623 Rename argument to DELTA.
1624 (window-buffer-height): New function.
1625 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1626 Rewrite using new window resize routines.
1627 (kill-buffer-and-window, mouse-autoselect-window-select):
1628 Use ignore-errors instead of condition-case.
1629 (quit-window): Call delete-frame instead of delete-windows-on
1630 for the only buffer on frame.
1632 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1634 * loadup.el (top-level): Load window before files for the sake
1635 of replace-buffer-in-windows.
1637 * files.el (read-buffer-to-switch)
1638 (switch-to-buffer-other-window)
1639 (switch-to-buffer-other-frame, display-buffer-other-frame):
1642 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1643 (previous-buffer): Move to window.el.
1645 * bindings.el (unbury-buffer): Move to window.el.
1647 * window.el (delete-other-windows-vertically): Move after
1648 definition of delete-other-windows.
1649 (other-window, delete-windows-on, replace-buffer-in-windows):
1650 Move here from window.c.
1651 (record-window-buffer, unrecord-window-buffer)
1652 (set-window-buffer-start-and-point, switch-to-prev-buffer)
1653 (switch-to-next-buffer): New functions.
1654 (get-next-valid-buffer, last-buffer, next-buffer): Move here
1655 from simple.el. Call switch-to-next-buffer.
1656 (previous-buffer): Move here from simple.el.
1657 Call switch-to-prev-buffer.
1658 (bury-buffer): Move here from buffer.c. Switch to previous
1659 buffer when window cannot be deleted.
1660 (unbury-buffer): Move here from bindings.el.
1661 (ctl-x-map): Move binding for other-window from window.c to
1663 (read-buffer-to-switch, switch-to-buffer-other-window)
1664 (switch-to-buffer-other-frame): Move here from files.el.
1665 (normalize-buffer-to-switch-to): New functions.
1666 (switch-to-buffer): Move here from buffer.c.
1667 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
1669 2011-06-10 Martin Rudalics <rudalics@gmx.at>
1671 * window.el (window-min-height, window-min-width): Move here
1672 from window.c. Add defcustoms and rewrite doc-strings.
1673 (resize-mini-window, resize-window): New functions.
1674 (adjust-window-trailing-edge, enlarge-window, shrink-window):
1675 Move here from window.c.
1676 (maximize-window, minimize-window): New functions.
1677 (delete-window, delete-other-windows, split-window): Move here
1679 (window-split-min-size): New function.
1680 (split-window-keep-point): Mention split-window-above-each-other
1681 instead of split-window-vertically.
1682 (split-window-above-each-other, split-window-vertically):
1683 Rename split-window-vertically to split-window-above-each-other and
1684 provide defalias for old definition.
1685 (split-window-side-by-side, split-window-horizontally): Rename
1686 split-window-horizontally to split-window-side-by-side and provide
1687 defalias for the old definition.
1688 (ctl-x-map): Move bindings for delete-window,
1689 delete-other-windows and enlarge-window here from window.c.
1690 Replace bindings for split-window-vertically and
1691 split-window-horizontally by bindings for
1692 split-window-above-each-other and split-window-side-by-side.
1694 * cus-start.el (all): Remove entries for window-min-height and
1695 window-min-width. Add entries for window-splits and
1698 2011-06-09 Glenn Morris <rgm@gnu.org>
1700 * calendar/appt.el (appt-mode-line): New function.
1701 (appt-check, appt-disp-window): Use it.
1703 * files.el (hack-one-local-variable-eval-safep):
1704 Allow minor-modes with explicit +/-1 arguments.
1706 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
1708 * term/xterm.el (xterm): Add defgroup.
1709 (xterm-extra-capabilities): Add defcustom to supply known xterm
1710 capabilities, skip querying them, or query them (default).
1711 (terminal-init-xterm): Use it.
1712 (terminal-init-xterm-modify-other-keys): New function to set up
1713 modifyOtherKeys support to simplify `terminal-init-xterm'.
1715 2011-06-09 Martin Rudalics <rudalics@gmx.at>
1717 * window.el (resize-window-reset, resize-window-reset-1)
1718 (resize-subwindows-skip-p, resize-subwindows-normal)
1719 (resize-subwindows, resize-other-windows, resize-this-window)
1720 (resize-root-window, resize-root-window-vertically)
1721 (window-deletable-p, window-or-subwindow-p)
1722 (frame-root-window-p): New functions.
1724 2011-06-09 Glenn Morris <rgm@gnu.org>
1726 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1727 (ange-ftp-get-files): Use it.
1729 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1731 * mail/sendmail.el (mail-recover-1, mail-recover):
1732 * files.el (recover-file, recover-session):
1733 Handle dired-listing-switches not being just a single short option.
1735 2011-06-09 Glenn Morris <rgm@gnu.org>
1737 * calendar/appt.el (appt-display-message, appt-disp-window):
1738 Handle lists of appointments.
1740 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1742 * window.el (one-window-p): Move down in code.
1744 (window-current-scroll-bars): Rewrite doc-string.
1745 Normalize live window argument.
1746 (walk-windows, get-window-with-predicate, count-windows):
1747 Rewrite doc-string. Use window-list-1.
1748 (window-in-direction-2, window-in-direction, get-mru-window):
1751 2011-06-08 Reuben Thomas <rrt@sc3d.org>
1753 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1756 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
1758 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1760 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
1762 * loadhist.el (unload-feature-special-hooks):
1763 Add `comint-output-filter-functions'.
1765 2011-06-08 Ivan Kanis <gnu@kanis.fr>
1767 * calendar/appt.el (appt-check): Move some initializations into the let.
1769 2011-06-08 Martin Rudalics <rudalics@gmx.at>
1771 * window.el (window-height): Defalias to window-total-height.
1772 (window-width): Defalias to window-body-width.
1774 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
1776 * image-mode.el (image-toggle-animation): New command.
1777 (image-mode-map): Bind it to RET.
1778 (image-mode): Update message.
1779 (image-toggle-display-image): Avoid a spurious cache flush.
1780 (image-transform-rotation): Doc fix.
1781 (image-transform-properties): Return quickly in the normal case.
1782 (image-animate-loop): Rename from image-animate-max-time.
1784 * image.el (image-animate-max-time): Move to image-mode.el.
1785 (create-animated-image): Remove unnecessary function.
1786 (image-animate): Rename from image-animate-start. New arg.
1787 (image-animate-stop): Remove; just use image-animate-timer.
1788 (image-animate-timer): Use car-safe.
1789 (image-animate-timeout): Rename argument.
1791 2011-06-07 Martin Rudalics <rudalics@gmx.at>
1793 * window.el (get-lru-window, get-largest-window): Move here from
1794 window.c. Rename first argument to ALL-FRAMES.
1795 Rephrase doc-strings.
1796 (get-buffer-window-list): Rewrite using window-list-1.
1797 Rephrase doc-string.
1798 (window-safe-min-height, window-safe-min-width): New constants.
1799 (window-size-ignore, window-min-size, window-min-size-1)
1800 (window-sizable, window-sizable-p, window-size-fixed-1)
1801 (window-size-fixed-p, window-min-delta-1, window-min-delta)
1802 (window-max-delta-1, window-max-delta, window-resizable)
1803 (window-resizable-p, window-total-height, window-total-width)
1804 (window-body-width): New functions.
1805 (window-full-height-p, window-full-width-p): Rewrite using
1807 (window-body-height): Rewrite using window-body-size.
1809 2011-06-06 Martin Rudalics <rudalics@gmx.at>
1811 * window.el (window-right, window-left, window-child)
1812 (window-child-count, window-last-child, window-any-p)
1813 (normalize-live-buffer, normalize-live-frame)
1814 (normalize-any-window, normalize-live-window)
1815 (window-iso-combination-p, window-iso-combined-p)
1816 (window-iso-combinations)
1817 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1818 (windows-with-parameter, window-with-parameter)
1819 (window-atom-root, make-window-atom, window-atom-check-1)
1820 (window-atom-check, window-side-check, window-check):
1822 (ignore-window-parameters, window-sides, window-sides-vertical)
1823 (window-sides-slots): New variables.
1824 (window-size-fixed): Move down in code. Minor doc-string fix.
1826 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
1828 * comint.el (comint-dynamic-complete-as-filename)
1829 (comint-dynamic-complete-filename): Correctly call
1830 completion-in-region.
1832 2011-06-05 Deniz Dogan <deniz@dogan.se>
1834 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1837 2011-06-05 Deniz Dogan <deniz@dogan.se>
1839 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1840 (rcirc): Use it to prompt for encryption.
1842 2011-06-05 Roland Winkler <winkler@gnu.org>
1844 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1845 (bibtex-search-entries): New command bound to C-c C-a.
1846 (bibtex-display-entries): New function.
1848 2011-06-05 Roland Winkler <winkler@gnu.org>
1850 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1851 (bibtex-insert-kill): After yanking insert newline if necessary.
1852 (bibtex-initialize): Call bibtex-string-files-init only once.
1853 (bibtex-mode): Do not call easy-menu-add.
1854 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1855 (bibtex-yank): Set arg properly if nil.
1857 2011-06-05 Roland Winkler <winkler@gnu.org>
1859 * textmodes/bibtex.el (bibtex-search-entry-globally):
1861 (bibtex-search-entry): Use it.
1863 2011-06-05 Roland Winkler <winkler@gnu.org>
1865 * textmodes/bibtex.el (bibtex-entry-format): New option
1867 (bibtex-format-entry, bibtex-reformat): Honor this option.
1868 (bibtex-parse-entry): Return fields in proper order.
1870 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
1872 * doc-view.el (doc-view-remove-if): Move computation of result out
1873 of `dolist' to silence misleading lexical-binding warning.
1875 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
1877 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1878 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1880 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1882 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1885 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
1887 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1888 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1889 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1890 (tramp-parse-putty):
1891 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1892 (tramp-completion-function-alist-ssh)
1893 (tramp-completion-function-alist-telnet)
1894 (tramp-completion-function-alist-su)
1895 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1900 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1901 load "tramp.el" `tramp-set-completion-function'.
1903 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * shell.el: Require and use pcomplete.
1906 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1907 (shell-completion-vars): Set pcomplete-default-completion-function.
1909 2011-06-04 Deniz Dogan <deniz@dogan.se>
1911 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1914 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1918 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
1920 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1921 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1922 * vc/log-view.el (log-view-beginning-of-defun):
1923 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1924 (smerge-refine-forward, smerge-refine-chopup-region):
1925 Silence warning for unused `dotimes' counter variables.
1927 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * net/tramp.el (tramp-with-progress-reporter): Rename from
1930 with-progress-reporter. Use `declare'.
1933 * net/tramp-gvfs.el: Update all uses.
1935 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1937 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1938 buffer isn't killed before making it current.
1940 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1942 Silence various byte-compiler warnings.
1943 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1944 `access-type' and new obsolescence format.
1945 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1947 (byte-compile-check-variable): New `access-type' argument.
1948 Only warn if the access-type is obsolete.
1949 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1950 (byte-compile-variable-set): Adjust callers.
1951 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1952 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1953 setting it as obsolete.
1954 * simple.el (minibuffer-completing-symbol):
1955 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1957 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1959 * international/quail.el (quail-mouse-choose-completion): Remove unused
1960 code referring to obsolete var.
1961 (quail-choose-completion-string): Remove.
1962 * server.el (server-clients-with, server-kill-buffer-query-function)
1963 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1964 * proced.el (proced-send-signal):
1965 * emacs-lisp/lisp.el (lisp-complete-symbol):
1966 Replace completion-annotate-function with completion-extra-properties.
1968 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * simple.el (goto-line): Use read-number.
1971 (overriding-map-is-bound): Remove.
1972 (saved-overriding-map): Change default.
1973 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1974 Take the map as argument.
1975 (universal-argument, negative-argument, digit-argument): Use it.
1976 (restore-overriding-map): Adjust.
1977 (do-auto-fill): Use fill-forward-paragraph.
1978 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1980 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1981 (minibuffer-inactive-mode): New major mode.
1982 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1983 the *Messages* buffer" hack.
1984 (mouse-popup-menubar): Don't burp if the event is a normal key.
1986 Miscellaneous tweaks.
1987 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1988 lexical scoping as in subr.el's dolist and dotimes.
1989 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1990 Silence compiler warning.
1991 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1992 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1993 * international/ccl.el (ccl-compile): Trivial simplification.
1994 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1995 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1996 `printflag' argument.
1997 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1998 Purecopy the whole obsolescence data.
2000 2011-06-01 Leo Liu <sdl.web@gmail.com>
2002 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
2003 improve doc-string as suggested by Marco Pessotto
2004 <melmothx@gmail.com>.
2005 (rcirc-print): Fix last change.
2007 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * minibuffer.el (complete-with-action): Return nil for the metadata and
2010 boundaries of non-functional tables.
2011 (completion-table-dynamic): Return nil for the metadata.
2012 (completion-table-with-terminator): Add default case, using
2013 complete-with-action.
2014 (completion--metadata): New function.
2015 (completion-all-sorted-completions, minibuffer-completion-help): Use it
2016 to try and avoid pathological performance problems.
2017 (completion--embedded-envvar-table): Return `category' metadata.
2019 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
2021 * subr.el (process-alive-p): New tiny convenience function.
2023 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2025 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
2026 content but also its previous major mode.
2028 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
2030 * debug.el (debug): Restore the previous content of the
2031 *Backtrace* buffer when we exit with C-M-c.
2033 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * minibuffer.el: Add metadata method to completion tables.
2036 (completion-category-overrides): New defcustom.
2037 (completion-metadata, completion--field-metadata)
2038 (completion-metadata-get, completion--styles)
2039 (completion--cycle-threshold): New functions.
2040 (completion-try-completion, completion-all-completions):
2041 Add `metadata' argument to choose completion-styles.
2042 (completion--do-completion): Use metadata to choose cycling.
2043 (completion-all-sorted-completions): Use metadata for sorting.
2044 Remove :completion-cycle-penalty which is not needed any more.
2045 (completion--try-word-completion): Add `metadata' argument.
2046 (minibuffer-completion-help): Check metadata for annotation function
2048 (completion-file-name-table): Return `category' metadata.
2049 (minibuffer-completing-file-name): Make obsolete.
2050 * simple.el (minibuffer-completing-symbol): Make obsolete.
2051 * icomplete.el (icomplete-completions): Pass new `metadata' param to
2052 completion-try-completion.
2054 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
2058 2011-05-30 Leo Liu <sdl.web@gmail.com>
2060 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
2061 (rcirc-print): Decode all incoming messages (bug#8744).
2062 (rcirc-decode-coding-system): Allow value nil for automatic coding
2065 2011-06-01 Glenn Morris <rgm@gnu.org>
2067 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2069 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2071 * image.el (image-animate-max-time): Allow nil and t values.
2073 (create-animated-image): Doc fix.
2074 (image-animate-start): Remove second arg; just use
2075 image-animate-max-time.
2076 (image-animate-timeout): Doc fix. Args changed.
2078 * image-mode.el (image-toggle-display-image): Ensure that the
2079 image spec passed to the animate timer is the same object as in
2080 the the buffer's display property (Bug#6981).
2081 (image-transform-properties): Doc fix.
2083 * image.el (image-animate-max-time): Default to nil.
2085 2011-05-29 Martin Rudalics <rudalics@gmx.at>
2087 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
2088 entire buffer list (Bug#8184).
2090 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2092 * image.el (imagemagick-types-inhibit)
2093 (imagemagick-register-types): Doc fix.
2095 2011-05-29 Deniz Dogan <deniz@dogan.se>
2097 * net/rcirc.el (rcirc): Use the user's stored encryption method by
2100 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
2102 * select.el: Don't perform clipboard-manager saving in hooks;
2103 leave the hooks empty.
2105 2011-05-28 Leo Liu <sdl.web@gmail.com>
2107 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
2108 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
2109 (occur-edit-mode): New major mode (Bug#8463).
2110 (occur-after-change-function): New function.
2111 (occur-engine): Give Occur tags a read-only property.
2113 2011-05-28 Kevin Ryde <user42@zip.com.au>
2115 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
2117 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2119 * bindings.el (help-echo): Make the initial non-indicator dash
2120 empty on graphical terminals (Bug#7295).
2122 * files.el (auto-mode-alist): Move config rule after the
2123 in-stripping one (Bug#8547).
2125 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2127 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2130 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2132 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2133 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2136 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2138 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2140 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2142 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2143 (hs-hide-block-at-point, hs-find-block-beginning)
2144 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2147 2011-05-28 Glenn Morris <rgm@gnu.org>
2149 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2151 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
2153 * help-fns.el (describe-function-1): If the function is a derived
2154 major mode, print the parent mode.
2156 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2157 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
2159 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * minibuffer.el (completion--capf-wrapper): Check applicability before
2162 retuning non-nil for non-exclusive completion data.
2163 * progmodes/etags.el (tags-completion-at-point-function):
2164 * info-look.el (info-lookup-completions-at-point): Mark as
2166 (info-complete): Adjust accordingly.
2168 * info-look.el: Convert to lexical-binding and completion-at-point.
2169 (info-lookup-completions-at-point): New function.
2170 (info-complete): Use it and completion-in-region.
2172 2011-05-28 Drew Adams <drew.adams@oracle.com>
2174 * isearch.el: Let M-e start with point at the first mismatched char.
2175 (isearch-fail-pos): New function.
2176 (isearch-edit-string): Use it.
2178 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2180 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2182 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2184 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
2185 traversal functions for avl-trees.
2186 (avl-tree--stack): New struct.
2187 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
2188 (avl-tree-enter): Add optional `updatefun' arg.
2189 (avl-tree--do-enter): Add optional `updatefun' arg.
2190 Change return value.
2191 (avl-tree-delete): Add optional `test' and `nilflag' args.
2192 (avl-tree--do-delete): Add `test' and `nilflag' args.
2193 Change return value.
2194 (avl-tree-member): Add optional `nilflag'
2195 (avl-tree-member-p): New function.
2196 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
2197 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
2198 (avl-tree-stack-empty-p): New functions.
2200 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2202 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
2203 avl-tree--del-balance1 and make it work both ways.
2204 (avl-tree--del-balance2): Remove.
2205 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
2206 make it work both ways.
2207 (avl-tree--enter-balance2): Remove.
2208 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
2210 (avl-tree--mapc, avl-tree-map): Add direction argument.
2212 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
2214 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
2216 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
2218 * select.el: Support clipboard managers with built-in function
2219 x-clipboard-manager-save, via delete-frame-functions and
2221 (xselect-convert-to-targets): Add MULTIPLE target to list.
2222 (xselect-convert-to-save-targets): New function.
2224 2011-05-27 Kenichi Handa <handa@m17n.org>
2226 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
2227 let-binding rfc2047-encode-encoded-words to nil.
2229 2011-05-27 Glenn Morris <rgm@gnu.org>
2231 * mail/emacsbug.el: Don't require url-util.
2233 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
2235 * files.el (set-auto-mode):
2236 Also respect mode: entries at the end of the file. (Bug#8586)
2238 2011-05-26 Glenn Morris <rgm@gnu.org>
2240 * files.el (hack-local-variables-prop-line, hack-local-variables):
2241 Downcase mode names, as seems to be traditional.
2242 (hack-local-variables, hack-local-variables-apply): Doc fixes.
2244 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
2245 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
2247 2011-05-25 Julien Danjou <julien@danjou.info>
2249 * textmodes/rst.el (rst-define-level-faces): Do not define face
2250 symbol if it is already defined.
2252 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2254 * play/5x5.el (5x5-new-game, 5x5-randomize):
2255 Reset 5x5-solver-output to nil when a new grid is cast.
2256 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
2257 these debugging traces, as defmacro breaks the compiled code.
2259 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2261 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2263 2011-05-24 Leo Liu <sdl.web@gmail.com>
2265 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
2266 (vc-bzr-sha1): Adapt.
2268 * sha1.el: Remove. Function `sha1' is now builtin.
2270 * bindings.el: Provide sha1 feature.
2272 2011-05-24 Kenichi Handa <handa@m17n.org>
2274 * mail/sendmail.el: Require `rfc2047'.
2275 (mail-insert-from-field): Do not perform RFC2047 encoding.
2276 (mail-encode-header): New function.
2277 (sendmail-send-it): Set buffer-file-coding-system of the work
2278 buffer to the return value of select-message-coding-system.
2279 Call mail-encode-header.
2281 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
2283 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
2285 * mail/supercite.el (sc-default-cite-frame):
2286 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
2288 2011-05-24 Glenn Morris <rgm@gnu.org>
2290 * progmodes/python.el (brm-menu): Declare.
2292 * emulation/viper.el (viper-set-hooks): Declare.
2294 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
2295 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
2296 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
2297 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
2298 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
2299 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
2301 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2303 Add an :exit-function for completion-at-point.
2305 * minibuffer.el (completion--done): New fun.
2306 (completion--do-completion): Use it. New arg `expect-exact'.
2307 (minibuffer-complete, minibuffer-complete-word): Don't output message,
2308 since completion--do-completion does it for us now.
2309 (minibuffer-force-complete): Use completion--done and
2310 completion--replace. Handle sole-completion case with more care.
2311 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
2312 (completion-extra-properties): New var.
2313 (completion-annotate-function): Make obsolete.
2314 (minibuffer-completion-help): Adjust accordingly.
2315 Use completion-list-insert-choice-function.
2316 (completion-at-point, completion-help-at-point):
2317 Bind completion-extra-properties.
2318 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
2319 * simple.el (completion-list-insert-choice-function): New var.
2320 (completion-setup-function): Preserve it.
2321 (choose-completion): Pay attention to it, shuffle the code a bit.
2322 (choose-completion-string): New arg `insert-function'.
2324 * textmodes/bibtex.el: Convert to lexical binding.
2325 (bibtex-mode-map): Use completion-at-point.
2326 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
2327 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
2328 (bibtex-complete): Define as obsolete alias.
2329 (bibtex-complete-internal): Remove.
2330 (bibtex-format-entry): Remove unused sub-group in regexp.
2331 * shell.el (shell--command-completion-data)
2332 (shell-environment-variable-completion):
2333 * pcomplete.el (pcomplete-completions-at-point):
2334 * comint.el (comint--complete-file-name-data): Use :exit-function
2335 instead of completion-table-with-terminator so it also works for
2338 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
2342 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
2345 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
2347 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
2349 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
2350 customization variable and implement: If non-nil, auto-fill will
2351 be inhibited while on topic's header line.
2353 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
2355 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
2356 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
2357 always have a solution in grid size = 5 cases.
2358 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
2359 (5x5-solver-output, 5x5-log-buffer): New vars.
2360 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
2361 Make these variables buffer local to achieve 5x5 multi-session-ness.
2362 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
2363 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
2364 (5x5-solve-suggest): New funs.
2365 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
2366 randomize a grid so that we ensure that there is always a solution.
2367 (5x5-make-random-grid): Allow other movement than flipping.
2369 2011-05-23 Kevin Ryde <user42@zip.com.au>
2371 * emacs-lisp/advice.el (ad-read-advised-function):
2372 Use `function-called-at-point' as the default default, if it has
2373 advice and passes PREDICATE.
2375 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
2378 byte-compile-lambda if it's actually a lambda.
2380 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
2381 Fix function quoting. Use backquote better.
2383 2011-05-22 Yuanle Song <sylecn@gmail.com>
2385 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
2386 matching (Bug#8516).
2388 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2390 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
2391 different face (Bug#8178).
2393 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
2395 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
2398 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
2401 funcall as well (bug#8712). Warn when performing those conversions.
2402 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
2404 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
2406 2011-05-22 Glenn Morris <rgm@gnu.org>
2408 * files.el (hack-local-variables-prop-line): Small simplifications.
2409 (hack-local-variables, hack-local-variables-prop-line):
2410 If MODE-ONLY, return the mode, rather than just `t'.
2412 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2416 2011-05-21 Glenn Morris <rgm@gnu.org>
2418 * files.el (hack-local-variables-prop-line, hack-local-variables):
2419 If only interested in the mode, don't bother doing the other stuff.
2421 * image-mode.el (image-after-revert-hook):
2422 Redraw all frames on which the image is visible. (Bug#8567)
2424 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
2426 * wid-edit.el (widget-checklist-match-inline):
2427 Fix 2011-04-19 change. (Bug#8649)
2429 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2432 Also allow singlespace after single-letter capitals followed by a dot.
2434 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2435 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2437 2011-05-20 Nix <nix@esperi.org.uk>
2439 * files.el (basic-save-buffer-2):
2440 Fix handling of break-hardlink-on-save with non-existent files.
2442 2011-05-19 Deniz Dogan <deniz@dogan.se>
2444 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
2445 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
2447 2011-05-19 Glenn Morris <rgm@gnu.org>
2449 * progmodes/f90.el (f90-type-def-re):
2450 Handle "type, bind(c)". (Bug#8691)
2452 * emacs-lisp/autoload.el (batch-update-autoloads):
2453 Set autoload-excludes by parsing loadup.el rather than Makefiles.
2455 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp.el (tramp-process-actions): Set "first-password-request"
2458 property for the correct connection in case of multihops.
2460 2011-05-18 Glenn Morris <rgm@gnu.org>
2462 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
2463 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2465 Rationalize calendar handling of day and month abbrev-arrays.
2466 * calendar/calendar.el (calendar-customized-p): New function.
2467 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2468 (calendar-day-name-array, calendar-month-name-array): Doc fix.
2470 (calendar-abbrev-length, calendar-day-abbrev-array)
2471 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2472 (calendar-day-abbrev-array, calendar-month-abbrev-array):
2473 Elements may no longer be nil.
2474 (calendar-day-name, calendar-month-name):
2475 Update for changed nature of abbrev arrays.
2476 * calendar/diary-lib.el (diary-name-pattern):
2477 Update for changed nature of abbrev arrays.
2478 (diary-mark-entries-1): Update calendar-make-alist calls.
2479 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2480 * calendar/cal-html.el (cal-html-day-abbrev-array):
2481 Simply inherit from calendar-day-abbrev-array.
2483 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * progmodes/grep.el (grep-mode): Disable default
2486 compilation-directory-matcher setting (bug#8684).
2488 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
2490 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2491 instead of "head" and "tail". There were problems with SunOS 5.9,
2492 and it performs better.
2494 2011-05-17 Glenn Morris <rgm@gnu.org>
2496 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2498 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2499 Replace obsolete function.
2501 * shell.el (pcomplete-parse-arguments-function): Declare.
2503 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2504 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2505 (appt-check): Doc fixes.
2506 (appt-disp-window-function, appt-delete-window-function):
2507 Remove needless special case in custom :type.
2508 (appt-display-count): Default to 0, not nil.
2509 (appt-check): Reset appt-display-count to 0, not nil.
2511 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
2513 * progmodes/python.el (python-font-lock-keywords):
2514 Add the Python 3.X keyword "nonlocal" (bug#8639).
2516 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2520 2011-05-16 Kevin Ryde <user42@zip.com.au>
2522 * info-look.el (makefile-automake-mode): New setups, looking in
2523 automake manual, then makefile-mode.
2524 (makefile-mode): Remove automake manual, have it just in
2525 makefile-automake-mode since there's various things different or
2526 not relevant to plain make.
2527 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2528 believe a hypothetical automake-mode would go to makefile-mode,
2529 not the other way around.
2531 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
2533 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2534 hunk-end tags (Bug#8672).
2536 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2537 vc-annotate-show-diff-revision-at-line (Bug#8671).
2539 2011-05-14 Glenn Morris <rgm@gnu.org>
2541 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2542 in the middle of an existing one with multiple authors. (Bug#8645)
2543 (change-log-font-lock-keywords): Also handle multiple author lines
2544 with leading tabs. (Bug#8644)
2546 * calendar/appt.el (appt-check): Rename some local variables.
2547 Some simplification/reordering.
2549 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2550 (feedmail-sendmail-f-doesnt-sell-me-out)
2551 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2552 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2553 (feedmail-queue-runner-message-sender): Set :version.
2554 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2555 (bbdb-dwim-net-address, vm-mail): Declare.
2556 (feedmail-binmail-gnulinuxish-template):
2557 Rename from feedmail-binmail-linuxish-template.
2558 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2559 Use insert-buffer-substring.
2561 2011-05-14 Bill Carpenter <bill@carpenter.org>
2563 * mail/feedmail.el (feedmail-patch-level): Increase.
2564 (feedmail-debug): New custom group.
2565 (feedmail-confirm-outgoing-timeout)
2566 (feedmail-sendmail-f-doesnt-sell-me-out)
2567 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2568 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2569 (feedmail-sender-line, feedmail-from-line)
2570 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
2571 (feedmail-spray-this-address)
2572 (feedmail-spray-address-fiddle-plex-list)
2573 (feedmail-queue-use-send-time-for-date)
2574 (feedmail-queue-use-send-time-for-message-id)
2575 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2576 (feedmail-buffer-eating-function):
2578 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2579 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2580 (feedmail-message-action-scroll-down): New functions.
2581 (feedmail-queue-directory, feedmail-queue-draft-directory):
2582 Use expand-file-name.
2583 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2584 Remove C-v help entry.
2585 (feedmail-queue-buffer-file-name): New variable.
2586 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2587 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2588 (feedmail-message-action-send-strong, feedmail-message-action-edit)
2589 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2590 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2591 (feedmail-message-action-toggle-spray)
2592 (feedmail-run-the-queue-no-prompts)
2593 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2594 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2595 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2596 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2597 (feedmail-envelope-deducer, feedmail-fiddle-from)
2598 (feedmail-fiddle-sender, feedmail-default-date-generator)
2599 (feedmail-fiddle-date, feedmail-fiddle-message-id)
2600 (feedmail-fiddle-spray-address)
2601 (feedmail-fiddle-list-of-spray-fiddle-plexes)
2602 (feedmail-fiddle-list-of-fiddle-plexes)
2603 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2604 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2605 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2606 Change default. Doc fix.
2607 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2608 (feedmail-binmail-linuxish-template): New constant.
2609 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
2610 Respect feedmail-sendmail-f-doesnt-sell-me-out.
2611 (feedmail-send-it): Add debug call.
2612 Use feedmail-queue-buffer-file-name, and
2613 feedmail-send-it-immediately-wrapper.
2614 (feedmail-message-action-send): Add debug call.
2615 Use feedmail-send-it-immediately-wrapper.
2616 (feedmail-queue-express-to-queue): Add debug call.
2617 Run feedmail-queue-express-hook.
2618 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
2619 (feedmail-message-action-help-blat):
2620 Rename from feedmail-queue-send-edit-prompt-help-first.
2621 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
2622 Check line-endings. Handle errors better.
2623 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2624 Doc fix. Add debug call.
2625 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
2626 Use feedmail-queue-send-edit-prompt-inner.
2627 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2628 (feedmail-queue-send-edit-prompt-inner): New function, extracted
2629 from feedmail-queue-send-edit-prompt.
2630 (feedmail-queue-send-edit-prompt-help)
2631 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2632 (feedmail-tidy-up-slug): Add debug call.
2633 Respect feedmail-queue-slug-suspect-regexp.
2634 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2635 (feedmail-dump-message-to-queue): Add debug call.
2636 Expand queue-directory.
2637 (feedmail-dump-message-to-queue): Change message slightly.
2638 Use feedmail-say-chatter.
2639 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
2640 (feedmail-send-it-immediately-wrapper): New function.
2641 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
2642 Insert empty string rather than newline. Handle full-frame case.
2643 Use catch/throw. Use feedmail-say-chatter.
2644 (feedmail-fiddle-from): Try mail-host-address.
2645 (feedmail-default-message-id-generator): Doc fix.
2646 Bind system-time-locale. Handle missing end.
2647 (feedmail-fiddle-x-mailer): Add debug call.
2648 Handle feedmail-x-mailer-line being nil.
2649 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2650 Add debug call. Use buffer-substring-no-properties.
2651 (feedmail-say-debug, feedmail-say-chatter): New functions.
2652 (feedmail-find-eoh): Give an explicit error.
2654 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
2656 * net/newst-treeview.el (newsticker-treeview-face): Change default
2657 family from helvetica to sans.
2658 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
2659 etc/images/newsticker.
2661 * net/newst-reader.el (newsticker-feed-face): Change default
2662 family from helvetica to sans.
2664 * net/newst-plainview.el (newsticker-new-item-face)
2665 (newsticker-old-item-face, newsticker-immortal-item-face)
2666 (newsticker-obsolete-item-face, newsticker-date-face)
2667 (newsticker-statistics-face): Change default family from
2669 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
2670 etc/images/newsticker.
2672 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2673 (newsticker--process-auto-mark-filter-match): : Tell user about
2676 2011-05-13 Didier Verna <didier@xemacs.org>
2678 Common Lisp indentation improvements on defmethod and lambda-lists.
2679 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2680 (lisp-lambda-list-keyword-parameter-indentation)
2681 (lisp-lambda-list-keyword-parameter-alignment)
2682 (lisp-lambda-list-keyword-alignment): New customizable user options.
2683 (lisp-indent-defun-method): Improve docstring.
2684 (extended-loop-p): Fix comment.
2685 (lisp-indent-lambda-list-keywords-regexp): New variable.
2686 (lisp-indent-lambda-list): New function.
2687 (lisp-indent-259): Use it.
2688 (lisp-indent-defmethod): Support for more than one
2689 method qualifier and properly indent methods lambda-lists.
2690 (defgeneric): Provide a missing common-lisp-indent-function property.
2692 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2694 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2695 bounds for the empty string (bug#8667).
2697 2011-05-13 Glenn Morris <rgm@gnu.org>
2699 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2701 * mail/sendmail.el (sendmail-program): Try executable-find first.
2702 (sendmail-send-it): `sendmail-program' cannot be unbound.
2704 * calendar/appt.el (appt-make-list): Simplify.
2705 (appt-time-msg-list): Doc fix.
2706 (appt-check): Change mode-line message at the time of the appointment.
2708 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2710 * progmodes/ld-script.el (ld-script-keywords)
2711 (ld-script-builtins): Update keywords list.
2713 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2717 * shell.el (shell-completion-vars): New function.
2719 * simple.el (read-shell-command): Use it.
2720 (blink-matching-open): No need for " [...]" in minibuffer-message.
2722 2011-05-12 Glenn Morris <rgm@gnu.org>
2724 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2725 (appt-check): Simplify.
2727 2011-05-12 Eli Zaretskii <eliz@gnu.org>
2729 * smerge-mode.el (smerge-resolve): Use null-device rather than a
2730 literal "/dev/null".
2732 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2734 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2737 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
2739 * progmodes/which-func.el (which-function):
2740 Use add-log-current-defun instead of add-log-current-defun-function,
2741 which might not be defined (Bug#8260).
2743 2011-05-12 Glenn Morris <rgm@gnu.org>
2745 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2746 Let byte-compile-initial-macro-environment always take precedence.
2748 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2750 * net/rcirc.el: Add support for SSL/TLS connections.
2751 (rcirc-server-alist): New field `encryption'.
2752 (rcirc): Check `encryption' settings.
2753 (rcirc-connect): New arg `encryption'. Use open-network-stream.
2754 Merge make-local-variable into `set'.
2755 (rcirc--connection-open-p): New function.
2756 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2757 the process is not a network process (e.g. running gnutls-cli).
2758 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2759 Make rcirc-(en|de)code-coding-system local here.
2760 (rcirc-mode): Merge make-local-variable into `set'.
2761 (rcirc-parent-buffer): Make permanent buffer-local.
2762 (rcirc-multiline-minor-mode): Don't do it here.
2763 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2764 there's no server buffer.
2766 2011-05-11 Glenn Morris <rgm@gnu.org>
2768 * newcomment.el (comment-kill): Prefix "unused" local.
2770 * term/w32console.el (get-screen-color): Declare.
2772 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2773 Handle symbol elements of byte-compile-initial-macro-environment.
2775 2011-05-10 Leo Liu <sdl.web@gmail.com>
2777 * bookmark.el (bookmark-bmenu-mode-map):
2778 Bind bookmark-bmenu-search to `/'.
2780 * mail/footnote.el: Convert to utf-8 encoding.
2781 (footnote-unicode-string, footnote-unicode-regexp): New variable.
2782 (Footnote-unicode): New function.
2783 (footnote-style-alist): Add unicode style to the list.
2784 (footnote-style): Doc fix.
2786 2011-05-10 Jim Meyering <meyering@redhat.com>
2788 Fix doubled-word typos.
2789 * international/quail.el (quail-insert-kbd-layout): and and -> and
2790 * kermit.el: and and -> and
2791 * net/ldap.el (ldap-search-internal): to to -> to
2792 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2793 * progmodes/js.el (js-mode): and and -> and
2794 * textmodes/artist.el (artist-move-to-xy): at at -> at
2795 (artist-draw-region-trim-line-endings): if if -> if
2796 And Safetyc -> Safety.
2797 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2799 2011-05-10 Glenn Morris <rgm@gnu.org>
2800 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * files.el (hack-one-local-variable-eval-safep):
2803 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
2805 2011-05-10 Glenn Morris <rgm@gnu.org>
2807 * calendar/diary-lib.el (diary-list-entries-hook)
2808 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2809 (diary-nongregorian-marking-hook, diary-list-entries)
2810 (diary-include-other-diary-files, diary-mark-entries)
2811 (diary-mark-included-diary-files): Doc fixes.
2813 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2815 * misc.el: Require tabulated-list.el during compilation.
2817 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2819 * progmodes/compile.el (compilation-start):
2820 Run compilation-filter-hook for the async case too.
2821 (compilation-filter-hook): Doc fix.
2823 2011-05-09 Deniz Dogan <deniz@dogan.se>
2825 * wdired.el: Remove outdated installation comment. Fix usage
2828 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
2830 * misc.el: Implement new command `list-dynamic-libraries'.
2831 (list-dynamic-libraries--loaded-only-p): New variable.
2832 (list-dynamic-libraries--refresh): New function.
2833 (list-dynamic-libraries): New command.
2835 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
2837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2838 Fix the ant regexp to handle end-line and end-column info from jikes.
2839 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
2840 higher priority to avoid clobbering by gnu.
2842 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2844 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2845 if the face has existing theme settings (Bug#8454).
2847 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
2849 * progmodes/perl-mode.el (perl-imenu-generic-expression):
2850 Only match variables declared via `my' or `our' (Bug#8261).
2852 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2853 special file names `.' and `..' (Bug#8259).
2855 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
2857 * progmodes/grep.el (grep-mode-font-lock-keywords):
2858 Remove buffer-changing entries.
2859 (grep-filter): New function.
2860 (grep-mode): Add it to compilation-filter-hook.
2862 * progmodes/compile.el (compilation-filter-hook)
2863 (compilation-filter-start): New defvars.
2864 (compilation-filter): Call compilation-filter-hook prior to
2865 updating the process mark.
2867 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2869 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2871 2011-05-07 Eli Zaretskii <eliz@gnu.org>
2873 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2874 mailclient-send-it even if window-system is nil. (Bug#8595)
2876 * term/w32console.el (terminal-init-w32console):
2877 Call get-screen-color and use its output to set the frame
2878 background-mode. (Bug#8597)
2880 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2882 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2883 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2885 (defgeneric, eieio--defmethod): Use them.
2886 (eieio-defgeneric): Remove.
2887 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2889 2011-05-07 Glenn Morris <rgm@gnu.org>
2891 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2892 Use let rather than let*.
2893 (timeclock-find-discrep): Remove unused local.
2895 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2897 * calendar/appt.el (appt-time-msg-list): Doc fix.
2899 2011-05-06 Noah Friedman <friedman@splode.com>
2901 * apropos.el (apropos-print-doc): Only use
2902 emacs-lisp-docstring-fill-column when it is bound to an integer,
2903 per that variable's documentation.
2905 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
2908 and warnings are not silently discarded (e.g. use -d instead of -P).
2910 2011-05-06 Glenn Morris <rgm@gnu.org>
2912 * calendar/appt.el (appt-message-warning-time): Doc fix.
2913 (appt-warning-time-regexp): New option.
2914 (appt-make-list): Respect appt-message-warning-time.
2916 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2918 (diary-add-to-list): Strip comments from the displayed string.
2919 (diary-mode): Set comment-start and comment-end.
2921 * vc/diff-mode.el (smerge-refine-subst): Declare.
2922 (diff-refine-hunk): Don't require smerge-mode when compiling.
2924 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
2926 * simple.el (list-processes): Return nil as the docstring says.
2928 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2930 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2932 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2933 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2934 determining of binary transfer. (Bug#7383)
2936 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
2938 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2939 Fix port computation bug. (Bug#8618)
2941 2011-05-05 Glenn Morris <rgm@gnu.org>
2943 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2945 * simple.el (shell-dynamic-complete-functions)
2946 (comint-dynamic-complete-functions): Declare.
2948 * net/network-stream.el (gnutls-negotiate):
2949 * simple.el (tabulated-list-print): Fix declarations.
2951 * progmodes/gud.el (syntax-symbol, syntax-point):
2952 Remove unnecessary and incorrect declarations.
2954 * emacs-lisp/check-declare.el (check-declare-scan):
2955 Handle byte-compile-initial-macro-environment in bytecomp.el
2957 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2959 Fix earlier half-done eieio-defmethod change (bug#8338).
2960 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2961 Streamline and change calling convention.
2962 (defmethod): Adjust accordingly and simplify.
2963 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2964 new eieio--defmethod.
2965 (slot-boundp): Minor CSE simplification.
2967 2011-05-05 Milan Zamazal <pdm@zamazal.org>
2969 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2970 (glasses-make-readable): Use glasses-separate-capital-groups.
2972 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
2974 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2975 (warning-series): Doc fix.
2976 (display-warning): Don't try to create the buffer if we just found it.
2978 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
2980 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2981 (autoload-find-generated-file): New function.
2982 (generate-file-autoloads): Bind generated-autoload-file to
2984 (update-file-autoloads, update-directory-autoloads):
2985 Use autoload-find-generated-file. If called interactively, prompt for
2986 output file (Bug#7989).
2987 (batch-update-autoloads): Doc fix.
2989 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
2991 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2993 2011-05-04 Glenn Morris <rgm@gnu.org>
2995 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2996 function, so it follows changes in calendar-date-style.
2997 (diary-fancy-date-matcher): New function.
2998 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2999 (diary-fancy-font-lock-fontify-region-function):
3000 Use diary-fancy-date-pattern as a function.
3002 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
3003 non-numbers for `year' etc pseudo-variables. (Bug#8583)
3005 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
3007 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
3008 instead of positional arguments. Allow :keylist and :crlfiles
3010 (open-gnutls-stream): Call it.
3012 * net/network-stream.el (network-stream-open-starttls): Adjust to
3013 call `gnutls-negotiate' with :process and :hostname arguments.
3015 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3017 * minibuffer.el (completion--message): New function.
3018 (completion--do-completion, minibuffer-complete)
3019 (minibuffer-force-complete, minibuffer-complete-word): Use it.
3020 (completion--do-completion): Don't ignore completion-auto-help when in
3023 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
3024 internal encoding (e.g. tibetan zero is not whitespace).
3025 (global-whitespace-mode): Prefer save-current-buffer.
3026 (whitespace-trailing-regexp): Remove useless save-match-data.
3027 (whitespace-empty-at-bob-regexp): Minor simplification.
3029 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
3031 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
3033 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3035 * textmodes/ispell.el (ispell-add-per-file-word-list):
3036 Use `concat' to create string for insertion.
3038 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
3041 Avoid open-line which runs post-self-insert-hook.
3042 (bibtex-fill-entry): Remove unused `end' var.
3044 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
3046 * textmodes/ispell.el (ispell-add-per-file-word-list):
3047 Protect against `nil' value of `comment-start' (Bug#8579).
3049 2011-05-03 Leo Liu <sdl.web@gmail.com>
3051 * isearch.el (isearch-yank-pop): New command.
3052 (isearch-mode-map): Bind it to `M-y'.
3053 (isearch-forward): Mention it.
3055 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * simple.el (minibuffer-complete-shell-command): Remove.
3058 (minibuffer-local-shell-command-map): Use completion-at-point.
3059 (read-shell-command): Setup completion vars here instead.
3060 (read-expression-map): Bind TAB to symbol completion.
3062 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
3063 error directly rather via storing it into `results'.
3065 2011-05-02 Leo Liu <sdl.web@gmail.com>
3067 * vc/diff.el: Fix description.
3069 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3071 * server.el (server-eval-at): New function.
3073 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075 * net/network-stream.el (open-network-stream): Take a :nowait
3076 parameter and pass it on to `make-network-process'.
3077 (network-stream-open-plain): Ditto.
3079 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
3081 * faces.el (face-spec-set-match-display): Don't match toolkit
3082 options on terminal frames.
3084 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3086 * progmodes/pascal.el: Use lexical binding.
3087 (pascal-mode-map): Remove author preferences.
3089 * pcomplete.el (pcomplete-std-complete): Don't abuse
3090 completion-at-point.
3092 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3094 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
3095 removing code that has been dead since 1991 or so.
3097 * startup.el (command-line): When warning about "_emacs", use a
3098 delayed warning to allow the user to filter it out.
3100 2011-04-28 Deniz Dogan <deniz@dogan.se>
3102 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
3103 user has not joined.
3105 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3107 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
3108 aren't any completions at point.
3110 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
3112 * subr.el (display-delayed-warnings): New function.
3113 (delayed-warnings-hook): New variable.
3115 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3117 * minibuffer.el (completion-at-point, completion-help-at-point):
3118 Don't presume that a given completion-at-point-function will always
3119 use the same calling convention.
3121 * pcomplete.el (pcomplete-completions-at-point):
3122 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3123 pcomplete-seen is non-nil.
3124 (pcomplete-comint-setup): Also recognize the new comint/shell
3125 completion functions.
3126 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3127 pcomplete-seen is non-nil.
3129 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
3131 * calendar/icalendar.el (diary-lib): Add require statement.
3132 (icalendar--create-uid): Read out a uid from a text-property on
3133 the first character in the entry. This allows for code to add its
3134 own uid to the entry.
3135 (icalendar--convert-float-to-ical): Add export of
3136 `diary-float'-entries save for those with the optional DAY
3139 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3141 * subr.el (shell-quote-argument): Use alternate escaping strategy
3142 when we spot a variable reference in a string.
3144 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3146 * cus-start.el (all): Define customization for debug-on-event.
3148 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3150 * subr.el (shell-quote-argument): Escape correctly under Windows.
3152 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3156 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
3158 * net/tramp.el (tramp-process-actions): Add POS argument.
3159 Delete region between POS and (pos).
3161 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3162 Use `nil' position in `tramp-process-actions' call.
3163 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
3165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
3166 position in `tramp-process-actions' call.
3168 * net/trampver.el: Update release number.
3170 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * custom.el (defcustom): Obey lexical-binding.
3174 Fix octave-inf completion problems reported by Alexander Klimov.
3175 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
3176 Inherit from octave-mode-syntax-table.
3177 (inferior-octave-mode): Set info-lookup-mode.
3178 (inferior-octave-completion-at-point): New function.
3179 (inferior-octave-complete): Use it and completion-in-region.
3180 (inferior-octave-dynamic-complete-functions): Use it as well, and use
3181 comint-filename-completion.
3182 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
3183 symbol elements which shouldn't be word elements.
3184 (octave-font-lock-keywords, octave-beginning-of-defun)
3185 (octave-function-header-regexp): Adjust regexps accordingly.
3186 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
3188 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
3190 * net/gnutls.el (gnutls-errorp): Declare before first use.
3192 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
3194 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
3195 verify-error, and verify-hostname-error parameters. Check whether
3196 default trustfile exists before going to use it. Add missing
3197 argument to gnutls-message-maybe call. Return return value.
3198 Reported by Claudio Bley <claudio.bley@gmail.com>.
3199 (open-gnutls-stream): Add usage example.
3201 * net/network-stream.el (network-stream-open-starttls): Give host
3202 parameter to `gnutls-negotiate'.
3203 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
3204 * subr.el (shell-quote-argument): Escape correctly under Windows.
3206 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
3208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3209 Use correct match group (bug#8438).
3211 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
3213 * emacs-lisp/package.el (package-built-in-p): Fix typo.
3214 (package-menu--generate): New arg specifying packages to show.
3215 (package-menu-refresh, package-menu-execute, list-packages):
3217 (package-show-package-list): New function, replacing deleted
3218 package--list-packages (renamed because it is non-internal).
3220 * finder.el (finder-list-matches): Use package-show-package-list
3221 instead of deleted package--list-packages.
3223 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
3224 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3225 (vc-annotate-mode-map): Bind it to RET.
3227 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3229 * progmodes/etags.el (next-file): Don't use set-buffer to change
3232 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
3234 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
3236 * apropos.el (apropos-label-face): Avoid variable-pitch face.
3237 (apropos-accumulator): Doc fix.
3238 (apropos-function, apropos-macro, apropos-command)
3239 (apropos-variable, apropos-face, apropos-group, apropos-widget)
3240 (apropos-plist): Add face property.
3241 (apropos-symbols-internal): Fix indentation.
3242 (apropos-print): Simplify help, and recognize apropos-multi-type.
3243 (apropos-print-doc): Use button-type-get to extract the button's
3244 face property. Fill docstring (Bug#8352).
3246 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
3248 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
3250 * play/mpuz.el (mpuz-silent): Doc fix.
3251 (mpuz-mode-map): Use mapc.
3252 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
3253 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
3254 Fix typos in docstrings.
3256 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
3257 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
3259 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
3261 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
3263 * minibuffer.el (completion--do-completion): Avoid the "Next char
3264 not unique" prompt if icomplete-mode is enabled (Bug#5849).
3266 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
3267 mouse-2 into unread-command-events, it is interpreted correctly.
3269 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
3270 (image-toggle-display): Doc fix.
3272 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
3274 * textmodes/page.el (what-page): Use line-number-at-pos to
3275 calculate line number (Bug#6825).
3277 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
3279 * eshell/esh-mode.el (find-tag-interactive): Declare function.
3280 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
3281 Pass argument NO-DEFAULT to `find-tag-interactive'.
3283 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
3285 Lexical-binding cleanup.
3287 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
3288 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
3289 * progmodes/ada-prj.el (ada-prj-initialize-values)
3290 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
3291 (ada-prj-show-value):
3292 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
3293 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
3294 (antlr-invalidate-context-cache, antlr-options-menu-filter)
3295 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
3296 * progmodes/bug-reference.el (bug-reference-push-button):
3297 * progmodes/fortran.el (fortran-line-length):
3298 * progmodes/glasses.el (glasses-change):
3299 * progmodes/octave-mod.el (octave-fill-paragraph):
3300 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
3301 (python-pdbtrack-grub-for-buffer, python-sentinel):
3302 * progmodes/sql.el (sql-save-connection):
3303 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
3304 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
3305 Mark unused parameters.
3307 * progmodes/compile.el (compilation--flush-directory-cache)
3308 (compilation--flush-parse, compile-internal): Mark unused parameters.
3309 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
3310 (compilation-next-error-function): Remove unused variable `timestamp'.
3312 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
3313 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
3315 * progmodes/dcl-mode.el (dcl-end-of-command):
3316 Remove unused variable `start'.
3317 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
3318 (dcl-option-value-basic, dcl-option-value-offset)
3319 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
3320 Mark unused parameters.
3321 (dcl-save-local-variable): Remove unused variable `val'.
3324 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
3325 Mark unused parameters.
3326 (delphi-ignore-changes): Move before first use.
3327 (delphi-charset-token-at): Remove unused variable `start'.
3328 (delphi-else-start): Remove unused variable `if-count'.
3329 (delphi-comment-block-start, delphi-comment-block-end):
3330 Remove unused variable `kind'.
3331 (delphi-indent-line): Remove unused variable `new-point'.
3333 * progmodes/ebrowse.el (ebrowse-files-list)
3334 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
3335 Mark unused parameters. Don't quote `lambda'.
3336 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
3337 Don't quote `lambda'.
3338 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
3339 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
3340 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
3341 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
3342 Use `ignore-errors'.
3343 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
3344 (ebrowse-view/find-file-and-search-pattern)
3345 (ebrowse-view/find-member-declaration/definition):
3346 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
3347 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
3348 Rename parameter PREFIX-ARG to PREFIX.
3349 (ebrowse-tags-read-name): Remove unused variables `start' and
3351 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
3354 * progmodes/etags.el (local-find-tag-hook): Declare.
3355 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
3356 Mark unused parameters.
3358 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
3359 (executable-interpret): Mark unused parameter.
3361 * progmodes/flymake.el (flymake-process-sentinel)
3362 (flymake-after-change-function)
3363 (flymake-create-temp-with-folder-structure)
3364 (flymake-get-include-dirs-dot): Mark unused parameters.
3365 (flymake-safe-delete-directory): Remove unused variable `err'.
3367 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
3368 (speedbar-timer-fn, speedbar-line-text)
3369 (speedbar-change-expand-button-char, speedbar-delete-subblock)
3370 (speedbar-center-buffer-smartly): Declare functions.
3371 (gdb-find-watch-expression): Remove unused variable `array'.
3372 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
3373 (gdb-starting): Mark unused parameters.
3374 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
3375 (gdb-table-string): Remove unused variable `res'.
3376 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
3377 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
3378 (gdb-display-buffer): Remove unused variable `cur-size'.
3380 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
3381 allow lexical-binding compilation.
3382 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
3383 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
3384 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
3385 Mark unused parameters.
3386 (gud-gdb-marker-filter): Remove unused variable `match'.
3387 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
3388 lambda expressions and funcall them, instead of using `fset'.
3390 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
3391 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
3393 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
3394 variable `header-beg'; use `let'.
3396 * progmodes/icon.el (indent-icon-exp): Remove unused variables
3397 `restart', `last-sexp' and `at-do'.
3399 * progmodes/js.el (js--debug): Mark unused parameter.
3400 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
3401 (js--splice-into-items): Remove unused variable `item'.
3402 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
3404 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
3405 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
3406 (makefile-complete): Remove unused variable `try'.
3407 (makefile-fill-paragraph, makefile-match-function-end):
3408 Mark unused parameters.
3410 * progmodes/octave-inf.el (inferior-octave-complete):
3411 Remove unused variable `proc'.
3412 (inferior-octave-output-digest): Mark unused parameter.
3414 * progmodes/perl-mode.el (perl-calculate-indent):
3415 Remove unused variable `err'.
3417 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
3418 (prolog-indent-line): Mark unused parameters.
3419 (prolog-indent-line): Remove unused variable `beg'.
3421 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
3422 (reporter-dont-compact-list): Declare.
3424 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
3425 Remove unused variable `char'.
3426 (sh-debug): Mark unused parameter.
3427 (sh-get-indent-info): Remove unused variable `start'.
3428 (sh-calculate-indent): Remove unused variable `var'.
3430 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3431 (simula-electric-keyword): Remove unused variable `null'.
3432 (simula-search-backward, simula-search-forward): Remove unused
3433 variables `begin' and `end'.
3435 * progmodes/vera-mode.el (vera-guess-basic-syntax):
3436 Remove unused variable `pos'.
3437 (vera-electric-tab, vera-comment-uncomment-region):
3438 Mark unused parameters.
3439 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3441 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
3443 * emacs-lisp/package.el (package--builtins, package-alist)
3444 (package-load-descriptor, package-built-in-p, package-activate)
3445 (define-package, package-installed-p)
3446 (package-compute-transaction, package-buffer-info)
3447 (package--push): Doc fix. Distinguish more clearly between
3448 version strings and version lists.
3450 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
3452 Lexical-binding cleanup.
3454 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3455 (5x5-make-mutate-best):
3456 * play/fortune.el (fortune-in-buffer):
3457 * play/gomoku.el (gomoku-init-display):
3458 * play/solitaire.el (solitaire, solitaire-do-check):
3459 * play/tetris.el (tetris-default-update-speed-function):
3460 Mark unused parameters.
3462 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3463 (bubbles--shift): Remove unused variable `char-org'.
3464 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
3465 (bubbles--show-images): Remove unused variable `char'.
3467 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3468 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3469 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3470 (decipher-analyze-buffer): Use ?\s.
3471 (decipher-make-checkpoint): Remove unused variable `mapping'.
3473 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3475 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3476 Remove unused variable `result'; use `let'.
3478 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3479 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3480 (gametree-children-shown-p, gametree-compute-reduced-score):
3481 Use `ignore-errors'.
3483 * play/handwrite.el (ps-lpr-switches): Declare.
3484 (handwrite): Remove unused variables `pmin' and `lastp'.
3486 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3488 * play/landmark.el (landmark-init-display)
3489 (landmark-update-naught-weights): Mark unused parameters.
3490 (landmark-y): Remove unused variable `noise'. Simplify.
3491 (landmark-human-plays): Remove unused variable `score'.
3493 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3494 (mpuz-try-proposal): Remove unused variable `game'.
3496 * play/zone.el (life-patterns): Declare.
3498 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
3500 * vc/vc.el (ediff-vc-internal): Declare function.
3502 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3504 * shell.el: Use lexical-binding and std completion UI.
3505 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3506 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3507 comint-preoutput-filter-functions rather than on
3508 comint-output-filter-functions.
3509 (shell-command-completion, shell--command-completion-data)
3510 (shell-filename-completion, shell-environment-variable-completion)
3511 (shell-c-a-p-replace-by-expanded-directory): New functions.
3512 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3513 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3514 (shell-dynamic-complete-environment-variable): Use them.
3515 (shell-dynamic-complete-as-environment-variable)
3516 (shell-dynamic-complete-as-command): Remove.
3517 (shell-match-partial-variable): Match past point.
3518 * comint.el: Clean up use of completion-at-point-functions.
3519 (comint-completion-at-point): New function.
3520 (comint-mode): Use it completion-at-point-functions.
3521 (comint-dynamic-complete): Make it obsolete.
3522 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3523 (comint-c-a-p-replace-by-expanded-history): New function.
3524 (comint-dynamic-complete-functions)
3525 (comint-replace-by-expanded-history): Use it.
3526 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3527 termination strings. Try harder to avoid second try-completion.
3528 (completion-in-region-mode-map): Disable bindings that don't work yet.
3530 * comint.el: Use lexical-binding. Require CL.
3531 (comint-dynamic-complete-functions): Use comint-filename-completion.
3532 (comint-completion-addsuffix): Tweak custom type.
3533 (comint-filename-completion, comint--common-suffix)
3534 (comint--common-quoted-suffix, comint--table-subvert)
3535 (comint--complete-file-name-data): New functions.
3536 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3537 (comint-dynamic-list-filename-completions): Use them.
3538 (comint-dynamic-simple-complete): Make obsolete.
3540 * minibuffer.el (completion-in-region-mode):
3541 Keep completion-in-region-mode--predicate global.
3542 (completion-in-region--postch):
3543 Assume completion-in-region-mode--predicate is not null.
3545 * progmodes/flymake.el (flymake-start-syntax-check-process):
3546 Obey `dir'. Simplify.
3548 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3549 we're in VC after all.
3551 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3553 * vc/vc.el (vc-diff-build-argument-list-internal)
3554 (vc-version-ediff, vc-ediff): New commands.
3555 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3557 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3559 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3562 * obsolete/erc-hecomplete.el: Make obsolete.
3563 * obsolete/: Standardize obsolescence info in the header.
3565 2011-04-20 Glenn Morris <rgm@gnu.org>
3567 * calendar/solar.el (solar-horizontal-coordinates):
3568 Use the longitude argument rather than `calendar-longitude'.
3569 (solar-date-next-longitude): Remove unused locals.
3571 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3573 * whitespace.el: New version 13.2.1.
3575 2011-04-20 felix <EmacsWiki> (tiny change)
3577 * whitespace.el (global-whitespace-mode): Keep highlight when
3578 switching between major modes on a file.
3580 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3582 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3583 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3584 multi-line comments as well.
3586 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
3588 Lexical-binding cleanup.
3590 * arc-mode.el (archive-mode-revert):
3591 * cmuscheme.el (scheme-interactively-start-process):
3592 * custom.el (custom-initialize-delay):
3593 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3594 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3595 * emacs-lock.el (emacs-lock-clear-sentinel):
3596 * ezimage.el (defezimage):
3597 * follow.el (follow-avoid-tail-recenter):
3598 * fringe.el (set-fringe-mode-1):
3599 * generic-x.el (bat-generic-mode-compile):
3600 * help-mode.el (help-info-variable, help-do-xref)
3601 (help-mode-revert-buffer):
3602 * help.el (view-emacs-todo):
3603 * iswitchb.el (iswitchb-completion-help):
3604 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3605 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3606 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3607 * locate.el (locate-update):
3608 * longlines.el (longlines-encode-region)
3609 (longlines-after-change-function):
3610 * outline.el (outline-isearch-open-invisible):
3611 * ps-def.el (declare-function, charset-dimension, char-width)
3613 * ps-mule.el (ps-mule-plot-string):
3614 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3615 (recentf-edit-list-select, recentf-edit-list-validate)
3616 (recentf-open-files-action):
3617 * rect.el (delete-whitespace-rectangle-line)
3618 (rectangle-number-line-callback):
3619 * register.el (window-configuration-to-register)
3620 (frame-configuration-to-register):
3621 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3622 * select.el (xselect-convert-to-string, xselect-convert-to-length)
3623 (xselect-convert-to-targets, xselect-convert-to-delete)
3624 (xselect-convert-to-filename, xselect-convert-to-charpos)
3625 (xselect-convert-to-lineno, xselect-convert-to-colno)
3626 (xselect-convert-to-os, xselect-convert-to-host)
3627 (xselect-convert-to-user, xselect-convert-to-class)
3628 (xselect-convert-to-name, xselect-convert-to-integer)
3629 (xselect-convert-to-atom, xselect-convert-to-identity):
3630 * subr.el (declare, ignore, process-kill-without-query)
3631 (text-clone-maintain):
3632 * terminal.el (te-get-char, te-tic-sentinel):
3633 * tool-bar.el (tool-bar-make-keymap):
3634 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3635 * type-break.el (type-break-mode, type-break-noninteractive-query):
3636 * view.el (View-back-to-mark):
3637 * wid-browse.el (widget-browse-action, widget-browse-widget)
3638 (widget-browse-widgets, widget-browse-sexp):
3639 * widget.el (define-widget-keywords):
3640 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3641 Mark unused parameters.
3643 * align.el (align-adjust-col-for-rule): Mark unused parameter.
3644 (align-areas): Remove unused variable `look'.
3645 (align-region): Remove unused variables `real-end' and `pos-list'.
3647 * apropos.el (apropos-score-doc): Remove unused variable `i'.
3649 * bindings.el (mode-line-modified, mode-line-remote):
3650 Mark unused parameters.
3651 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3653 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3654 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3656 * comint.el (comint-history-isearch-pop-state)
3657 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3658 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3659 (comint-substitute-in-file-name): Doc fix.
3661 * completion.el (cmpl-statistics-block): Mark unused parameter.
3662 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3663 (save-completions-to-file, load-completions-from-file):
3664 Remove unused local variable `e'.
3666 * composite.el (compose-chars): Remove unused variable `len'.
3667 (lgstring-insert-glyph): Remove unused variable `g'.
3668 (compose-glyph-string): Remove unused variables `ascent',
3669 `descent', `lbearing' and `rbearing'.
3670 (compose-glyph-string-relative): Remove unused variables
3671 `lbearing', `rbearing' and `wadjust'.
3672 (compose-gstring-for-graphic): Remove unused variables `header',
3673 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
3674 (compose-gstring-for-terminal): Remove unused variables `header'
3675 and `nchars'. Use `let', not `let*'.
3677 * cus-edit.el (Custom-set, Custom-save, custom-reset)
3678 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3679 (Custom-buffer-done, custom-buffer-create-internal)
3680 (custom-browse-visibility-action, custom-browse-group-tag-action)
3681 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3682 (widget-magic-mouse-down-action, custom-toggle-parent)
3683 (custom-add-parent-links, custom-toggle-hide-variable)
3684 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3685 (custom-toggle-hide-face, face, hook, custom-group-link-action)
3686 (custom-face-menu-create, custom-variable-menu-create, get)
3687 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3688 (custom-reset-standard-save-and-update): Remove unused variable `value'.
3689 (customize-apropos): Remove unused variable `tests'.
3690 (custom-group-value-create): Remove unused variable `hidden-p'.
3691 (sort-fold-case): Declare.
3693 * cus-theme.el (custom-reset-standard-faces-list)
3694 (custom-reset-standard-variables-list): Declare.
3695 (customize-create-theme, custom-theme-revert, custom-theme-write)
3696 (custom-theme-choose-mode, customize-themes, custom-theme-save):
3697 Mark unused parameters.
3699 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3701 * delim-col.el (delimit-columns-max): Move defvar before first use.
3703 * descr-text.el (describe-char-categories): Don't quote `lambda'.
3704 (describe-char): Don't quote `lambda'. Mark unused parameter.
3706 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3707 (auto-insert): Declare.
3708 (desktop-restore-file-buffer): Rename desktop-* parameters;
3710 (desktop-create-buffer): Rename desktop-* parameters and bind them.
3711 (desktop-buffer): Rename desktop-* parameters.
3713 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3714 (dframe-reposition-frame-xemacs, dframe-help-echo)
3715 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3716 Mark unused parameters.
3718 * dired-aux.el (backup-extract-version-start, overwrite-query)
3719 (overwrite-backup-query, rename-regexp-query)
3720 (rename-non-directory-query): Declare.
3721 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3722 (dired-add-entry): Remove unused variable `orig-file-name'.
3723 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3724 Use parameter PRESERVE-TIME instead of accessing dynamic variable
3725 `dired-copy-preserve-time' directly.
3726 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3727 (dired-insert-subdir-newpos): Rename unused variable `pos'.
3729 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3730 (dired-virtual-revert, dired-make-relative-symlink):
3731 Mark unused parameters.
3732 (manual-program): Declare.
3733 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3734 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3735 wrapped in `with-no-warnings' to avoid replacing one warning by another.
3737 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3739 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3741 * echistory.el (electric-history-in-progress, Helper-return-blurb):
3744 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3746 * electric.el (Electric-command-loop): Rename parameter
3747 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3749 * expand.el (expand-in-literal): Remove unused variable `here'.
3751 * facemenu.el (facemenu-add-new-color):
3752 Remove unused variable `docstring'.
3754 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3755 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3756 (face-attr-construct): Mark unused parameter. Doc fix.
3757 (read-color): Remove unused variable `hex-string'.
3759 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3760 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3761 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3762 (display-buffer-other-frame): Remove unused variable `old-window'.
3763 (kill-buffer-hook): Declare.
3764 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3765 Mark unused parameters.
3766 (after-find-file): Pass 1 to `auto-save-mode', not t.
3768 * files-x.el (auto-insert): Declare.
3769 (modify-file-local-variable-prop-line): Remove unused variable `val'.
3771 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
3772 variable `buf'. Mark unused parameter.
3773 (find-lisp-insert-directory): Mark unused parameter.
3775 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3776 (format-encode-region): Remove unused variables `cur-buf' and `result'.
3777 (format-common-tail): Remove, unused.
3778 (format-deannotate-region): Remove unused variable `loc'.
3779 (format-annotate-region): Remove unused variable `p'.
3780 (format-annotate-single-property-change): Remove unused variables
3781 `default' and `tail'.
3783 * forms.el (read-file-filter): Declare.
3784 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3786 * frame.el (frame-creation-function-alist): Mark unused parameter.
3787 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3789 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3790 Remove unused parameters.
3791 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3792 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3794 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3795 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3796 (hfy-prepare-tag-map): Mark unused parameters.
3797 (htmlfontify-buffer): Use `called-interactively-p'.
3799 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3800 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3801 (ibuffer-do-occur): Mark unused parameters.
3802 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3803 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3805 * ibuffer.el: Don't quote `lambda'.
3806 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3807 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3808 Mark unused parameters.
3810 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3811 (ido-completing-read): Mark unused parameters.
3812 (ido-copy-current-word): Mark unused parameters;
3813 remove unused variable `name'.
3814 (ido-sort-merged-list): Remove unused parameter `dirs'.
3816 * ielm.el (ielm-input-sender): Mark unused parameter.
3817 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3818 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3819 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3820 `ielm-string' as a dynamic variable accessible from the IELM prompt.
3821 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
3823 * image-dired.el (image-dired-display-thumbs): Remove unused
3824 variables `curr-file' and `count'.
3825 (image-dired-remove-tag): Remove unused variable `start'.
3826 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3827 variable `curr-file'
3828 (image-dired-rotate-original): Remove unused variable `temp-file'.
3829 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3830 Remove unused variable `file'.
3831 (image-dired-gallery-generate): Remove unused variable `curr'.
3832 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3834 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3836 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3838 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3840 * isearch.el (minibuffer-history-symbol): Declare.
3841 (isearch-edit-string): Remove unused variable `err'.
3842 (isearch-message-prefix, isearch-message-suffix):
3843 Mark unused parameters.
3845 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3847 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3849 * makesum.el (double-column): Remove unused variable `cnt'.
3851 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3852 (ido-ignore-item-temp-list): Declare.
3854 * mouse-drag.el (mouse-drag-throw): Remove unused variables
3855 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3856 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3857 (mouse-drag-drag): Remove unused variables `mouse-delta' and
3860 * mouse-sel.el (mouse-extend-internal):
3861 Remove unused variable `orig-window-frame'.
3863 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3864 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3865 Move declarations before first use.
3866 (pcomplete-opt): Mark unused parameters; doc fix.
3868 * proced.el (proced-revert): Mark unused parameter.
3869 (proced-send-signal): Remove unused variable `err'.
3871 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3872 Rename parameter PREFIX-ARG to ARG.
3873 (ps-basic-plot-string, ps-basic-plot-whitespace):
3874 Mark unused parameters.
3876 * replace.el (replace-count): Define.
3877 (occur-revert-function): Mark unused parameters.
3878 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3879 (isearch-case-fold-search, isearch-string): Declare.
3880 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3881 bind `case-fold-search'. Remove unused variables `beg' and `end',
3883 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3884 COUNT and bind `replace-count'.
3885 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3888 * savehist.el (print-readably, print-string-length): Declare.
3890 * shadowfile.el (shadow-expand-cluster-in-file-name):
3891 Remove unused variable `cluster'.
3892 (shadow-copy-file): Remove unused variable `i'.
3893 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3894 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3895 (shadow-define-literal-group, shadow-define-regexp-group)
3896 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3898 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3899 (shell): Use `called-interactively-p'.
3900 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3902 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3903 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3904 (delete-backward-char): Remove unused variable `ocol'.
3905 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3906 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3907 (event-apply-hyper-modifier, event-apply-shift-modifier)
3908 (event-apply-control-modifier, event-apply-meta-modifier):
3909 Mark unused parameters.
3910 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3911 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3913 * speedbar.el (speedbar-ignored-directory-expressions)
3914 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3915 (speedbar-find-file, speedbar-dir-follow)
3916 (speedbar-directory-buttons-follow, speedbar-tag-find)
3917 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3918 (speedbar-buffers-line-directory, speedbar-buffer-click):
3919 Mark unused parameters.
3920 (speedbar-tag-file): Remove unused variable `mode'.
3921 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3923 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3925 * talk.el (talk): Remove unused variable `display'.
3927 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3928 (tar-write-region-annotate): Mark unused parameter.
3930 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3931 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3932 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3935 * time-stamp.el (time-stamp-string-preprocess):
3936 Remove unused variable `require-padding'.
3938 * tree-widget.el (widget-glyph-enable): Declare.
3939 (tree-widget-action): Mark unused parameter.
3941 * w32-fns.el (x-get-selection): Mark unused parameter.
3942 (autoload-make-program, generated-autoload-file): Declare.
3944 * wdired.el (wdired-revert): Mark unused parameters.
3945 (wdired-xcase-word): Remove unused variable `err'.
3947 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3948 (whitespace-help-scroll): Remove unused variable `data-help'.
3950 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3951 (widget-image-insert, widget-after-change, default)
3952 (widget-default-format-handler, widget-default-notify)
3953 (widget-default-prompt-value, widget-info-link-action)
3954 (widget-url-link-action, widget-function-link-action)
3955 (widget-variable-link-action, widget-file-link-action)
3956 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3957 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3958 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3959 (widget-insert-button-action, widget-delete-button-action, visibility)
3960 (widget-documentation-link-action, widget-documentation-string-action)
3961 (widget-const-prompt-value, widget-regexp-match, symbol)
3962 (widget-coding-system-prompt-value)
3963 (widget-key-sequence-value-to-external, sexp)
3964 (widget-sexp-value-to-internal, character, vector, cons)
3965 (widget-choice-prompt-value, widget-boolean-prompt-value)
3966 (widget-color--choose-action): Mark unused parameters.
3967 (widget-item-match-inline, widget-choice-match-inline)
3968 (widget-checklist-match, widget-checklist-match-inline)
3969 (widget-group-match): Rename parameter VALUES to VALS.
3970 (widget-field-value-set): Remove unused variable `size'.
3971 (widget-color-action): Remove unused variables `value' and `start'.
3973 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
3974 variable `dir'. Doc fix.
3975 (windmove-find-other-window): Don't pass it.
3977 * window.el (count-windows): Mark unused parameter.
3978 (bw-adjust-window): Remove unused variable `err'.
3980 * woman.el (woman-file-name): Remove unused variable `default'.
3981 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3982 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3983 (global-font-lock-mode): Declare.
3984 (woman-decode-region): Mark unused parameter.
3985 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3987 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3988 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3989 (x-dnd-handle-moz-url): Remove unused variable `title'.
3990 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3992 * xml.el (xml-parse-tag, xml-parse-attlist):
3993 Remove unused variable `pos'.
3995 2011-04-19 Glenn Morris <rgm@gnu.org>
3997 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3998 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3999 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4000 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
4001 * calendar/cal-html.el (cal-html-insert-minical):
4002 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
4003 (calendar-mark-date-pattern):
4004 Prefix "unused" locals.
4006 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
4007 optional argument `style'.
4009 * calendar/appt.el (appt-make-list):
4010 * calendar/cal-china.el (calendar-chinese-date-string):
4011 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
4012 (diary-hebrew-yahrzeit):
4013 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
4014 * calendar/calendar.el (calendar-generate-window):
4015 * calendar/time-date.el (time-to-days):
4016 Remove unused local variables.
4018 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
4020 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
4021 glyphless-char-display table.
4022 (tabulated-list-glyphless-char-display): New var.
4024 2011-04-18 Sam Steingold <sds@gnu.org>
4026 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
4029 2011-04-17 Glenn Morris <rgm@gnu.org>
4031 * calendar/diary-lib.el (diary-sexp-entry):
4032 * calendar/holidays.el (holiday-sexp):
4033 Set debug-on-error rather than the removed stack-trace-on-error.
4035 2011-04-16 Glenn Morris <rgm@gnu.org>
4037 * progmodes/f90.el: Use lexical-binding.
4038 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
4040 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
4043 (mail-mode): Setup mailalias completion here instead.
4044 * mail/mailalias.el: Use lexical-binding.
4045 (pattern, mailalias-done): Declare dynamic.
4046 (mail-completion-at-point-function): New function, from mail-complete.
4047 (mail-complete): Use it.
4048 (mail-completion-expand): New function.
4049 (mail-get-names): Use it.
4050 (mail-directory, mail-directory-process, mail-directory-stream):
4051 Don't use `pattern' for lexically bound arg.
4053 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
4055 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
4056 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
4057 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
4059 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
4060 (byte-save-window-excursion, byte-temp-output-buffer-setup)
4061 (byte-interactive-p): Define them again, for use when inlining
4064 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
4066 * loadup.el: Use `string-to-number', not `string-to-int'.
4068 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4070 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
4071 gud-gdb-complete-command.
4072 (gud-gdb-completions): New function, from gud-gdb-complete-command.
4073 (gud-gdb-completion-at-point): New function.
4074 (gud-gdb-completions): Remove.
4076 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
4078 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
4079 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
4080 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
4081 whether `executable-find' is bound.
4083 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
4085 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * minibuffer.el (completion-in-region-mode-predicate)
4088 (completion-in-region-mode--predicate): New vars.
4089 (completion-in-region, completion-in-region--postch)
4090 (completion-in-region-mode): Use them.
4091 (completion--capf-wrapper): Also return the hook function.
4092 (completion-at-point, completion-help-at-point):
4093 Adjust and provide a predicate.
4095 Preserve arg names for advice of subr and lexical functions (bug#8457).
4096 * help-fns.el (help-function-arglist): Consolidate the subr and
4097 new-byte-code cases. Add argument `preserve-names' to extract names
4098 from the docstring when needed.
4099 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
4100 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
4101 (ad-arglist): Use help-function-arglist's new arg.
4102 (ad-definition-type): Use cond.
4104 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
4106 * autorevert.el (auto-revert-handler):
4107 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
4108 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
4111 * image-mode.el (image-transform-set-scale):
4112 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
4114 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4116 * net/network-stream.el (network-stream-open-starttls): Only do
4117 opportunistic STARTTLS upgrades if we have built-in gnutls support.
4118 Upgrades via gnutls-cli are too slow to be done opportunistically.
4120 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
4122 * dframe.el (dframe-current-frame): Remove spurious quote.
4124 2011-04-12 Glenn Morris <rgm@gnu.org>
4126 * calendar/cal-tex.el (cal-tex-end-document):
4127 Try to automatically use latin1 input if needed.
4129 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4130 Don't try to cons a mark onto an empty element.
4132 2011-04-11 Leo Liu <sdl.web@gmail.com>
4134 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4136 (ido-kill-buffer-at-head): Support killing virtual buffers.
4138 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
4140 * minibuffer.el (completion-show-inline-help): New var.
4141 (completion--do-completion, minibuffer-complete)
4142 (minibuffer-force-complete, minibuffer-complete-word):
4143 Inhibit minibuffer messages if completion-show-inline-help is nil.
4145 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4146 to avoid interference from inline help (Bug#5849).
4148 2011-04-10 Leo Liu <sdl.web@gmail.com>
4150 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4153 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
4155 * image-mode.el (image-toggle-display-image): Signal an error if
4157 (image-transform-mode, image-transform-resize)
4158 (image-transform-set-rotation): Doc fix.
4159 (image-transform-set-resize): Delete.
4160 (image-transform-set-scale, image-transform-fit-to-height)
4161 (image-transform-fit-to-width): Handle image-toggle-display-image
4162 and image-transform-resize directly.
4164 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
4166 * doc-view.el (doc-view-fit-width-to-window)
4167 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
4168 New functions for fitting the shown image to the Emacs window size.
4169 (doc-view-mode-map): Add bindings for the new functions.
4171 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
4173 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
4174 Fix typo in docstring.
4176 2011-04-08 Eli Zaretskii <eliz@gnu.org>
4178 * files.el (file-size-human-readable): Produce one digit after
4179 decimal, like "ls -lh" does.
4181 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
4182 the file size representation.
4184 * simple.el (list-processes): If async subprocesses are not
4185 available, error out with a clear error message.
4187 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
4189 * help.el (help-form-show): New function, to be called from C.
4190 Put help-form output in a buffer named differently than *Help*.
4192 2011-04-08 Eli Zaretskii <eliz@gnu.org>
4194 * files.el (file-size-human-readable): New function.
4196 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
4197 computing the representation inline. Don't require `cl'.
4199 2011-04-08 Glenn Morris <rgm@gnu.org>
4201 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
4203 * net/browse-url.el (browse-url-firefox):
4204 Test system-type, not system-configuration.
4206 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
4207 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
4208 Use log-edit-empty-buffer-p. (Bug#7598)
4210 * net/rlogin.el (rlogin-process-connection-type): Simplify.
4211 (rlogin-mode-map): Initialize in the defvar.
4212 (rlogin): Use ignore-errors.
4214 * replace.el (occur-mode-map): Some fixes for menu items.
4216 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4218 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
4220 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
4222 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
4223 issuing unused warnings.
4225 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
4228 * simple.el: Lisp reimplement of list-processes. Based on an
4229 earlier reimplementation by Leo Liu, but using tabulated-list.el.
4230 (process-menu-mode): New major mode.
4231 (list-processes--refresh, list-processes):
4232 (process-menu-visit-buffer): New functions.
4234 * files.el (save-buffers-kill-emacs): Don't assume any return
4235 value of list-processes, which is undocumented anyway.
4237 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
4239 * emacs-lisp/tabulated-list.el: New file.
4241 * emacs-lisp/package.el: Use Tabulated List mode.
4242 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
4243 (package-menu-mode): Derive from tabulated-list-mode. Set up the
4244 table format using Tabulated List mode variables.
4245 (package--push): New macro, replacing package-list-maybe-add.
4246 (package-menu--generate): Use package--push. Renamed from
4247 package--generate-package-list.
4248 (package-menu-refresh, list-packages): Use it.
4249 (package-menu--print-info): Rename from package-print-package.
4250 Return insertion data instead of inserting it directly.
4251 (package-menu-describe-package, package-menu-execute):
4252 Use tabulated-list-get-id.
4253 (package-menu-mark-delete, package-menu-mark-install)
4254 (package-menu-mark-unmark, package-menu-backup-unmark)
4255 (package-menu-mark-obsolete-for-deletion):
4256 Use tabulated-list-put-tag.
4257 (package--list-packages, package-menu-revert)
4258 (package-menu-get-package, package-menu-get-version)
4259 (package-menu-sort-by-column): Functions deleted.
4260 (package-menu-package-list, package-menu-sort-key): Vars deleted.
4261 (package-menu--status-predicate, package-menu--version-predicate)
4262 (package-menu--name-predicate)
4263 (package-menu--description-predicate): Handle arguments in the
4264 Tabulated List format.
4265 (package-list-packages-no-fetch): Call list-packages.
4267 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
4269 * files.el (after-find-file-from-revert-buffer): Remove variable.
4270 (after-find-file): Don't bind it.
4271 (revert-buffer-in-progress-p): New variable.
4272 (revert-buffer): Bind it.
4273 Pass nil for `after-find-file-from-revert-buffer'.
4275 * saveplace.el (save-place-find-file-hook): Use new variable
4276 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
4278 2011-04-06 Glenn Morris <rgm@gnu.org>
4280 * Makefile.in (AUTOGEN_VCS): New variable.
4281 (autoloads): Use $AUTOGEN_VCS.
4283 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4284 * calendar/calendar.el (calendar-mode-map):
4285 Check for toolkit scroll bars. (Bug#8305)
4287 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
4289 * minibuffer.el (completion-in-region--postch)
4290 (completion-in-region-mode): Remove unnecessary messages.
4292 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
4294 * font-lock.el (font-lock-refresh-defaults):
4295 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
4296 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
4298 * info.el (Info-directory-list, Info-read-node-name-2)
4299 (Info-split-parameter-string): Doc fixes.
4300 (Info-virtual-nodes): Reflow docstring.
4301 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
4302 (Info-apropos-toc-nodes, info-finder, Info-get-token)
4303 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
4304 Fix typos in docstrings.
4305 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
4306 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
4307 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
4308 (Info-restore-desktop-buffer): Mark unused parameters.
4309 (Info-directory-find-file, Info-directory-find-node)
4310 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
4311 (Info-virtual-index-find-node, Info-apropos-find-file)
4312 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
4313 Mark unused parameters; fix typos in docstrings.
4314 (Info-virtual-index): Remove unused local variable `nodename'.
4316 2011-04-05 Deniz Dogan <deniz@dogan.se>
4318 * net/rcirc.el: Update my e-mail address.
4319 (rcirc-mode-map): Remove M-o binding.
4321 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
4323 * startup.el (command-line): Save the cursor's theme-face
4324 directly, instead of using face-override-spec.
4326 * custom.el (load-theme): Minor optimization in assigning faces.
4328 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
4330 * help-fns.el (describe-variable): Complete all variables having
4331 documentation, including keywords.
4332 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
4334 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
4336 Convert to lexical-binding.
4338 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
4339 (bs--get-marked-string, bs--get-modified-string)
4340 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
4341 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
4342 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
4344 * ehelp.el (electric-help-execute-extended)
4345 (electric-help-ctrl-x-prefix):
4346 * hexl.el (hexl-revert-buffer-function):
4347 * linum.el (linum-after-change, linum-after-scroll):
4348 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
4350 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
4352 2011-04-04 Daiki Ueno <ueno@unixuser.org>
4359 * epg.el: Use lexical binding.
4361 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
4363 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
4365 * textmodes/flyspell.el (flyspell-word): Recognize default
4366 dictionary case for flyspell-mark-duplications-exceptions.
4367 Use regexp matching for languages.
4368 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
4369 default dictionary (Bug#7926).
4371 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
4373 * emacs-lisp/package.el (package--with-work-buffer):
4374 Recognize https URLs.
4376 * net/network-stream.el: Move from gnus/proto-stream.el.
4377 Change prefix to network-stream throughout.
4378 (open-protocol-stream): Merge into open-network-stream, leaving
4379 open-protocol-stream as an alias. Handle nil BUFFER args.
4381 * subr.el (open-network-stream): Move to net/network-stream.el.
4383 2011-04-02 Glenn Morris <rgm@gnu.org>
4385 * find-dired.el (find-exec-terminator): New option.
4386 (find-ls-option): Test for -ls support.
4387 (find-ls-subdir-switches): Test for -b in find-ls-option.
4388 (find-dired, find-grep-dired): Doc fixes.
4389 (find-dired): Use find-exec-terminator.
4391 * find-dired.el (find-ls-option, find-ls-subdir-switches)
4392 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
4393 (find-name-arg): Remove purecopy.
4395 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
4396 (grep-compute-defaults): Check for `-exec COMMAND +' support.
4397 Set grep-find-use-xargs, grep-find-command, and grep-find-template
4398 accordingly. Don't add the null-device if not needed.
4400 * files.el (save-some-buffers): Doc fix.
4402 2011-04-02 Eli Zaretskii <eliz@gnu.org>
4404 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
4406 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
4408 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
4409 Use `dolist' rather than `mapcar'.
4411 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4413 Add lexical binding.
4415 * subr.el (apply-partially): Use new closures rather than CL.
4416 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
4417 (dolist, dotimes): Use slightly different expansion for lexical code.
4418 (functionp): Move to C.
4419 (letrec): New macro.
4420 (with-wrapper-hook): Use it and apply-partially instead of CL.
4421 (eval-after-load): Preserve lexical-binding.
4422 (save-window-excursion, with-output-to-temp-buffer): Turn them
4425 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
4427 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
4429 (help-add-fundoc-usage): Don't add `Not documented'.
4430 (help-function-arglist): Handle closures, subroutines, and new
4431 byte-code-functions.
4432 (help-make-usage): Remove leading underscores.
4433 (describe-function-1): Handle closures.
4434 (describe-variable): Use special-variable-p for completion.
4436 * files.el (lexical-binding): Declare safe.
4438 * emacs-lisp/pcase.el: Don't use destructuring-bind.
4439 (pcase--memoize): Rename from pcase-memoize. Change weakness.
4440 (pcase): Add `let' pattern.
4441 Change memoization so it actually works.
4442 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4443 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4446 * emacs-lisp/macroexp.el: Use lexical binding.
4447 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
4448 Don't convert ' to #' without checking that it's indeed quoting
4451 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
4452 Use eval-sexp-add-defvars.
4453 (eval-sexp-add-defvars): New fun.
4455 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4457 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4459 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4460 than the internal `byte-compile-lambda'.
4461 (defmethod): Don't hide code under quotes.
4462 (eieio-defmethod): New `code' argument.
4464 * emacs-lisp/eieio-comp.el: Remove.
4466 * emacs-lisp/edebug.el (edebug-eval-defun)
4467 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4468 (edebug-toggle): Avoid `eval'.
4470 * emacs-lisp/disass.el (disassemble-internal): Handle new
4472 (disassemble-1): Handle new byte codes.
4474 * emacs-lisp/cl.el (pushnew): Silence warning.
4476 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4477 (cl-byte-compile-throw): Remove.
4478 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4480 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4483 * emacs-lisp/cconv.el: New file.
4485 * emacs-lisp/bytecomp.el: Use lexical binding instead of
4486 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
4487 (byte-compile-initial-macro-environment):
4488 Handle declare-function here.
4489 (byte-compile--lexical-environment): New var.
4490 (byte-stack-ref, byte-stack-set, byte-discardN)
4491 (byte-discardN-preserve-tos): New lap codes.
4492 (byte-interactive-p): Don't use any more.
4493 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4495 (byte-compile-lapcode): Use them and handle new lap codes.
4496 (byte-compile-obsolete): Remove.
4497 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4498 (byte-compile-arglist-warn): Check late def of inlinable funs.
4499 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4500 since they should have been expanded by now.
4501 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4502 (byte-compile-from-buffer): Remove unused second arg.
4503 (byte-compile-preprocess): New function.
4504 (byte-compile-toplevel-file-form): New function to distinguish
4505 file-form calls from outside from file-form calls from hunk-handlers.
4506 (byte-compile-file-form): Simplify.
4507 (byte-compile-file-form-defsubst): Remove.
4508 (byte-compile-file-form-defmumble): Simplify now that
4509 byte-compile-lambda always returns a byte-code-function.
4510 (byte-compile): Preprocess.
4511 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4512 Remove, not used any more.
4513 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4514 (byte-compile-make-args-desc): New funs.
4515 (byte-compile-lambda): Handle lexical functions. Always return
4516 a byte-code-function.
4517 (byte-compile-reserved-constants): New var, to make up room for
4518 closed-over variables.
4519 (byte-compile-constants-vector): Obey it.
4520 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4521 (byte-compile-macroexpand-declare-function): New function.
4522 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4523 byte-code-functions.
4524 (byte-compile-form): Check obsolescence here.
4525 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4526 (byte-compile-variable-ref): Remove.
4527 (byte-compile-dynamic-variable-op): New fun.
4528 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4529 (byte-compile-variable-set): New funs.
4530 (byte-compile-discard): Add 2 args.
4531 (byte-compile-stack-ref, byte-compile-stack-set)
4532 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4533 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4534 macroexpand-all instead.
4535 (byte-compile-quote-form): Remove.
4536 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4537 (byte-compile-bind, byte-compile-unbind): New funs.
4538 (byte-compile-let): Handle let* and lexical binding.
4539 (byte-compile-let*): Remove.
4540 (byte-compile-catch, byte-compile-unwind-protect)
4541 (byte-compile-track-mouse, byte-compile-condition-case):
4542 Handle a new :fun-body form, used for lexical scoping.
4543 (byte-compile-save-window-excursion)
4544 (byte-compile-with-output-to-temp-buffer): Remove.
4545 (byte-compile-defun): Simplify.
4546 (byte-compile-stack-adjustment): New fun.
4547 (byte-compile-out): Use it.
4548 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4550 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4553 * emacs-lisp/byte-opt.el: Use lexical binding.
4554 (byte-inline-lapcode): Remove (to bytecomp).
4555 (byte-compile-inline-expand): Pay attention to inlining to/from
4556 lexically bound code.
4557 (byte-compile-unfold-lambda): Don't handle byte-code-functions
4559 (byte-optimize-form-code-walker): Don't handle save-window-excursion
4560 any more and don't call compiler-macros.
4561 (byte-compile-splice-in-already-compiled-code): Remove.
4562 (byte-code): Don't inline any more.
4563 (disassemble-offset): Receive `bytes' as argument rather than via
4565 (byte-compile-tag-number): Declare before first use.
4566 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4567 `return' even if make-spliceable.
4568 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4569 obsolete interactive-p.
4570 (byte-optimize-lapcode): Optimize new lap-codes.
4571 Don't trip up on new form of `byte-constant' lap code.
4573 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4575 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4577 * custom.el (custom-initialize-default, custom-declare-variable):
4580 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4582 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4583 (COMPILE_FIRST): Add macroexp and cconv.
4584 * makefile.w32-in: Mirror changes in Makefile.in.
4590 * vc/smerge-mode.el:
4591 * textmodes/bibtex-style.el:
4600 * emacs-lisp/smie.el:
4603 * abbrev.el: Use lexical binding.
4605 2011-04-01 Eli Zaretskii <eliz@gnu.org>
4607 * info.el (info-display-manual): New function.
4609 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4611 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4613 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
4615 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
4616 an entry for that server in rcirc-authinfo. (Bug#8385)
4618 2011-03-31 Glenn Morris <rgm@gnu.org>
4620 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4622 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4624 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
4626 * progmodes/python.el (python-default-interpreter)
4627 (python-python-command-args, python-jython-command-args)
4628 (python-which-shell, python-which-args, python-which-bufname)
4629 (python-file-queue, python-comint-output-filter-function)
4630 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4631 variables and functions.
4633 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4636 (completion-in-region-mode): New minor mode.
4637 (completion-in-region): Use it.
4638 (completion-in-region--data, completion-in-region-mode-map): New vars.
4639 (completion-in-region--postch): New function.
4640 (completion--capf-misbehave-funs, completion--capf-safe-funs):
4642 (completion--capf-wrapper): New function.
4643 (completion-at-point): Use it to track well-behavedness of
4645 (completion-help-at-point): New command.
4647 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
4649 * vc/add-log.el (add-change-log-entry): Don't use whitespace
4650 syntax class to search for whitespace on a single line
4651 (Message-ID: <4D938140.4030905@redhat.com>).
4653 2011-03-30 Leo Liu <sdl.web@gmail.com>
4655 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4657 (edit-abbrevs-map): Bind them here.
4658 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
4660 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
4662 * allout.el (allout-hide-by-annotation, allout-flag-region):
4663 Reduce possibility of overlay leakage by making them volatile.
4665 * allout-widgets.el (allout-widgets-tally): Define as nil so the
4666 hash is not shared between buffers. Mode initialization is
4667 responsible for giving it a useful starting value.
4668 (allout-item-span): Reduce possibility of overlay leakage by
4669 making them volatile.
4670 (allout-widgets-count-buttons-in-region): Add diagnostic function
4671 for tracking down button overlay leaks.
4673 2011-03-29 Leo Liu <sdl.web@gmail.com>
4675 * ido.el (ido-read-internal): Use the default history var
4676 minibuffer-history if no HISTORY is specified.
4678 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
4680 * net/imap.el (imap-shell-open, imap-process-connection-type):
4681 Use imap-process-connection-type for 'shell' streams as well as
4682 Kerberos, SSL, other subprocesses.
4684 2011-03-28 Leo Liu <sdl.web@gmail.com>
4686 * abbrev.el (abbrev-table-empty-p): New function.
4687 (prepare-abbrev-list-buffer): Place empty abbrev tables after
4688 nonempty ones. (Bug#5937)
4690 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
4692 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4694 2011-03-27 Leo Liu <sdl.web@gmail.com>
4696 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4697 for foreground and background colors.
4698 (ansi-color-make-color-map): Adapt.
4700 2011-03-25 Leo Liu <sdl.web@gmail.com>
4702 * midnight.el (midnight-time-float): Remove. Note it calculates
4703 the microsecond component incorrectly and seconds-to-time does the
4705 Remove redundant (require 'timer).
4707 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4708 (ido-completions): Remove unused arguments. (Bug#8329)
4710 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * minibuffer.el (completion--flush-all-sorted-completions):
4713 Remove itself from hook.
4714 (completion-at-point): Let the functions perform the completion
4715 immediately and return nil or t.
4716 * comint.el (comint-dynamic-complete-functions): Now identical to
4717 completion-at-point-functions.
4718 (comint-dynamic-list-input-ring): Remove unused var `index'.
4719 (comint--match-partial-filename, comint--unquote&expand-filename):
4720 New funs, split from comint-match-partial-filename.
4721 (comint-dynamic-complete): Use completion-at-point.
4722 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4724 2011-03-24 Drew Adams <drew.adams@oracle.com>
4726 * thingatpt.el: Support `defun'.
4728 2011-03-23 Leo Liu <sdl.web@gmail.com>
4730 * abbrevlist.el: Move to obsolete/abbrevlist.el.
4732 * help-mode.el (help-mode-finish): Tweak regexp.
4734 2011-03-23 Glenn Morris <rgm@gnu.org>
4736 * eshell/esh-opt.el (eshell-eval-using-options):
4737 Do not bind unused local variable `eshell-option-stub'.
4739 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4741 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4743 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4744 keymap variable in `with-no-warnings' to avoid a warning when the
4745 keymap has been already `defconst'ed.
4747 2011-03-22 Leo Liu <sdl.web@gmail.com>
4749 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4750 encode all chars in abbrevs; otherwise use emacs-mule or
4751 utf-8-emacs. (Bug#8308)
4753 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
4755 * simple.el (backward-delete-char-untabify):
4756 Avoid warning about using `delete-backward-char'.
4758 * image.el (image-type-file-name-regexps): Make it variable.
4759 `imagemagick-register-types' modifies it, and the user may want
4760 to add new extensions for known image types.
4761 (imagemagick-register-types): Throw error if not using ImageMagick.
4763 2011-03-22 Leo Liu <sdl.web@gmail.com>
4765 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4766 located before rcirc-prompt-end-marker.
4767 (rcirc-complete): Error if point is not after rcirc prompt.
4768 Handle the case when table is nil.
4769 (rcirc-user-authenticated): Define to fix compiler warning.
4771 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
4773 * custom.el (custom--inhibit-theme-enable): Make it affect only
4774 custom-theme-set-variables and custom-theme-set-faces.
4775 (provide-theme): Ignore custom--inhibit-theme-enable.
4776 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4777 (custom-enabling-themes): Delete variable.
4778 (enable-theme): Accept only loaded themes as arguments.
4779 Ignore the special custom-enabled-themes variable.
4780 (custom-enabled-themes): Forbid themes from setting this.
4781 Eliminate use of custom-enabling-themes.
4782 (custom-push-theme): Quote "changed" custom var entry.
4784 2011-03-21 Leo Liu <sdl.web@gmail.com>
4786 * ido.el (ido-read-internal): Add ido-selected to history instead
4789 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * subr.el (deferred-action-list, deferred-action-function):
4794 2011-03-21 Leo Liu <sdl.web@gmail.com>
4796 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4797 change on 2011-02-13 (bug#8309).
4799 * minibuffer.el (read-file-name-function): Change default value.
4800 (read-file-name--defaults): Rename from read-file-name-defaults.
4801 (read-file-name-default): Rename from read-file-name.
4802 (read-file-name): Call read-file-name-function.
4804 2011-03-21 Glenn Morris <rgm@gnu.org>
4806 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4809 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
4811 * cus-theme.el: Add missing provide statement.
4812 (customize-create-theme): Extract theme value correctly.
4813 (custom-theme-visit-theme): Autoload.
4814 (customize-create-theme): Prompt before inserting default faces.
4816 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
4818 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4819 units and musical notes.
4821 2011-03-20 Leo <sdl.web@gmail.com>
4823 * ido.el (ido-read-internal): Use completing-read-default.
4824 (ido-completing-read): Fix compatibility with completing-read.
4826 2011-03-20 Christian Ohler <ohler@gnu.org>
4828 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4829 (ert-delete-all-tests): Use `called-interactively-p' rather than
4831 (ert--make-xrefs-region): Respect END.
4833 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4835 * dired-aux.el (dired-create-directory): Signal an error if the
4836 directory already exists (Bug#8246).
4838 * facemenu.el (list-colors-display): Call list-faces-display
4839 inside with-help-window.
4840 (list-colors-print): Use display property to align the final
4841 column, instead of checking window-width.
4843 2011-03-19 Eli Zaretskii <eliz@gnu.org>
4845 * emerge.el (emerge-metachars): Separate value for ms-dos and
4847 (emerge-protect-metachars): Quote correctly for ms-dos and
4850 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
4852 * info.el (info-initialize): Replace all uses of `:' with
4853 path-separator for compatibility with non-Unix systems.
4854 Cache quoting of path-separator. (Bug#8258)
4856 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
4858 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4859 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4860 (mouse-avoidance-mode): Fix typos in docstrings.
4862 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
4864 * startup.el (package-subdirectory-regexp): Move from package.el.
4865 Omit \\` and \\', and let callers add them.
4867 * emacs-lisp/package.el (package-strip-version)
4868 (package-load-all-descriptors): Add \\` and \\' to
4869 package-subdirectory-regexp before using it.
4870 (package-untar-buffer): New arg DIR; ensure that file untars only
4871 into this expected directory. Remove superfluous delete-region.
4872 (package-unpack): Caller changed.
4873 (package-tar-file-info): Use package-subdirectory-regexp.
4875 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4878 diff-mode-shared-map (bug#8284).
4879 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
4881 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883 * calendar/time-date.el (format-seconds): Use assoc instead of
4884 assoc-string, since assoc-string doesn't exist in XEmacs.
4886 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
4888 * custom.el (custom-known-themes): Reflow docstring.
4889 (custom-theme-load-path): Fix typo in docstring.
4890 (load-theme): Fix typo in error message.
4891 (custom-available-themes, custom-variable-theme-value):
4892 Use `let', not `let*'.
4894 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4896 * calc/README: Mention inclusion of musical notes.
4898 * calc/calc-units.el (calc-lu-quant): Rename from
4899 `calc-logunits-quantity'.
4900 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4901 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4902 (calc-db): Rename from `calc-dblevel'.
4903 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4904 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4905 (calc-np): Rename from `calc-nplevel'.
4906 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4907 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4908 (calc-lu-plus): Rename from `calc-logunits-add'.
4909 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4910 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4911 (calc-lu-minus): Rename from `calc-logunits-sub'.
4912 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4913 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4914 (calc-lu-times): Rename from `calc-logunits-mul'.
4915 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4916 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4917 (calc-lu-divide): Rename from `calc-logunits-div'.
4918 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4919 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4921 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4922 functions being autoloaded.
4924 * calc/calc.el (calc-lu-power-reference): Rename from
4925 `calc-logunits-power-reference'.
4926 (calc-lu-field-reference): Rename from
4927 `calc-logunits-field-reference'.
4929 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4931 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * minibuffer.el (completion-all-sorted-completions):
4934 Use :completion-cycle-penalty text property if present.
4936 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4938 * allout.el (allout-yank-processing): Adjust for new rebulleting
4939 regime so bullet being yanked is used without prompting the user
4942 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4944 * startup.el (command-line): Warn the user that _emacs is deprecated.
4946 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
4948 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4949 (delphi-verbose, delphi-comment-face, delphi-string-face)
4950 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4951 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4952 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4953 (delphi-new-comment-line, delphi-font-lock-defaults)
4954 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4955 Fix typos in docstrings.
4957 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4959 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
4960 Invert the roles of character and string values for INSTEAD, so a
4961 string is used for the more common case of a defaulting prompt.
4963 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4965 * progmodes/ruby-mode.el (ruby-backward-sexp):
4966 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4967 * play/gamegrid.el (gamegrid-make-face):
4968 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4969 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4970 * notifications.el (notifications-notify):
4971 * net/xesam.el (xesam-search-engines):
4972 * net/quickurl.el (quickurl-list-insert):
4973 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4975 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
4977 * startup.el (command-line): Update package subdirectory regexp.
4979 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4981 * allout.el (allout-abbreviate-flattened-numbering)
4982 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4984 * subr.el (read-char-choice): Only show the cursor after the prompt,
4985 not after the answer.
4987 2011-03-15 Kevin Ryde <user42@zip.com.au>
4989 * help-fns.el (variable-at-point): Skip leading quotes, if any
4992 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4994 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4997 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
4999 * shell.el (shell): When called interactively, offer to change the
5000 shell file name on remote hosts.
5002 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
5004 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
5005 integration for LDAP parameters. The host, base, user or binddn,
5006 and secret tokens can be specified in a netrc file, for instance.
5007 This is optional because an `auth-source' parameter must be
5008 specified in the search attributes.
5010 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
5012 * help.el (describe-mode): Link to the mode's definition (bug#8185).
5014 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5016 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
5017 into declaration. Remove redundant and harmful binding.
5019 2011-03-12 Eli Zaretskii <eliz@gnu.org>
5021 * files.el (file-ownership-preserved-p): Pass `integer' as an
5022 explicit 2nd argument to `file-attributes'. If the file's owner
5023 is the Administrators group on Windows, and the current user is
5024 Administrator, consider that a match.
5026 * server.el (server-ensure-safe-dir): Consider server directory
5027 safe on MS-Windows if its owner is the Administrators group while
5028 the current Emacs user is Administrator. Use `=' to compare
5029 numerical UIDs, since they could be integers or floats.
5031 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
5033 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
5035 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
5037 Sync with Tramp 2.2.1.
5039 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
5041 * net/trampver.el: Update release number.
5043 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * progmodes/compile.el (compilation--previous-directory): Fix up
5046 various nil/dead-marker mismatches (bug#8014).
5047 (compilation-directory-properties, compilation-error-properties):
5048 Don't call it at a position past the one we're about to change.
5050 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
5051 Disable obsolescence warnings in the file that declares it.
5053 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
5055 * allout-widgets.el (allout-widgets-tally):
5056 Initialize allout-widgets-tally as a hash table rather than nil to
5057 prevent mode-line redisplay warnings. Also, clarify the module
5058 description and fix a comment typo.
5060 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
5062 * help-fns.el (describe-variable): Don't complete keywords.
5063 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
5065 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
5067 * emacs-lisp/package.el (package-version-join): Impose a standard
5068 string representation for pre/alpha/beta version lists.
5069 (package-unpack-single): Standardize the directory name by passing
5070 it through package-version-join.
5071 (package-strip-rcs-id): Accept any version string that does not
5072 signal an error in version-to-list.
5074 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
5076 * simple.el (delete-trailing-whitespace): Return nil for the
5077 benefit of `write-file-functions'.
5079 2011-03-10 Glenn Morris <rgm@gnu.org>
5081 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
5083 * vc/vc-git.el (vc-git-program): New option.
5084 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
5085 (vc-git--call): Use it.
5087 * eshell/esh-util.el (eshell-condition-case): Doc fix.
5089 * cus-edit.el (Custom-newline): If no button at point, look
5090 for a subgroup button at start-of-line. (Bug#2298)
5092 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
5094 2011-03-10 Julien Danjou <julien@danjou.info>
5096 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
5097 `cursor-type' is nil.
5099 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
5101 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
5103 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
5105 * allout.el Summary: Change so yank of distinctive-bullet items
5106 preserves the existing header prefix, rebulleting it if necessary,
5107 rather than replacing it. This is necessary for proper operation
5108 of cooperative addons like allout-widgets.
5109 (allout-make-topic-prefix, allout-rebullet-heading): Change
5110 SOLICIT arg to INSTEAD, and interpret additionally a string value
5111 as alternate bullet to be used, instead of prompting the user for
5114 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
5116 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5117 Do not use `tramp-file-name-port', because this returns also
5118 `tramp-default-port'.
5120 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5122 * net/rcirc.el (rcirc-handler-001): Remove useless
5123 with-rcirc-process-buffer.
5124 (rcirc-check-auth-status): Swap arguments to string-match.
5126 2011-03-09 Glenn Morris <rgm@gnu.org>
5128 * shell.el (shell-mode):
5129 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5131 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5132 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5134 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
5136 * emacs-lisp/package.el (package-refresh-contents)
5137 (package-menu-execute): Use condition-case-no-debug.
5139 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
5141 * simple.el (shell-command-to-string): Use `process-file'.
5143 * emacs-lisp/package.el (package-tar-file-info): Handle also
5146 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5147 Use `equal' for upload base check.
5149 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5151 * textmodes/texinfo.el (texinfo-environments):
5152 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5154 2011-03-08 Glenn Morris <rgm@gnu.org>
5156 * cus-start.el (cursor-in-non-selected-windows):
5157 Fix :set quoting oddness. (Bug#8192)
5159 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
5160 in some setf expressions. (Bug#2159)
5162 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
5164 * custom.el (custom-available-themes): Return themes in
5167 See ChangeLog.15 for earlier changes.
5173 Copyright (C) 2011 Free Software Foundation, Inc.
5175 This file is part of GNU Emacs.
5177 GNU Emacs is free software: you can redistribute it and/or modify
5178 it under the terms of the GNU General Public License as published by
5179 the Free Software Foundation, either version 3 of the License, or
5180 (at your option) any later version.
5182 GNU Emacs is distributed in the hope that it will be useful,
5183 but WITHOUT ANY WARRANTY; without even the implied warranty of
5184 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5185 GNU General Public License for more details.
5187 You should have received a copy of the GNU General Public License
5188 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.