1 2011-05-13 Didier Verna <didier@xemacs.org>
3 Common Lisp indentation improvements on defmethod and lambda-lists.
4 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
5 (lisp-lambda-list-keyword-parameter-indentation)
6 (lisp-lambda-list-keyword-parameter-alignment)
7 (lisp-lambda-list-keyword-alignment): New customizable user options.
8 (lisp-indent-defun-method): Improve docstring.
9 (extended-loop-p): Fix comment.
10 (lisp-indent-lambda-list-keywords-regexp): New variable.
11 (lisp-indent-lambda-list): New function.
12 (lisp-indent-259): Use it.
13 (lisp-indent-defmethod): Support for more than one
14 method qualifier and properly indent methods lambda-lists.
15 (defgeneric): Provide a missing common-lisp-indent-function property.
17 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20 bounds for the empty string (bug#8667).
22 2011-05-13 Glenn Morris <rgm@gnu.org>
24 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
26 * mail/sendmail.el (sendmail-program): Try executable-find first.
27 (sendmail-send-it): `sendmail-program' cannot be unbound.
29 * calendar/appt.el (appt-make-list): Simplify.
30 (appt-time-msg-list): Doc fix.
31 (appt-check): Change mode-line message at the time of the appointment.
33 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
35 * progmodes/ld-script.el (ld-script-keywords)
36 (ld-script-builtins): Update keywords list.
38 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
40 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
42 * shell.el (shell-completion-vars): New function.
44 * simple.el (read-shell-command): Use it.
45 (blink-matching-open): No need for " [...]" in minibuffer-message.
47 2011-05-12 Glenn Morris <rgm@gnu.org>
49 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
50 (appt-check): Simplify.
52 2011-05-12 Eli Zaretskii <eliz@gnu.org>
54 * smerge-mode.el (smerge-resolve): Use null-device rather than a
57 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
59 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
62 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
64 * progmodes/which-func.el (which-function):
65 Use add-log-current-defun instead of add-log-current-defun-function,
66 which might not be defined (Bug#8260).
68 2011-05-12 Glenn Morris <rgm@gnu.org>
70 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
71 Let byte-compile-initial-macro-environment always take precedence.
73 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
75 * net/rcirc.el: Add support for SSL/TLS connections.
76 (rcirc-server-alist): New field `encryption'.
77 (rcirc): Check `encryption' settings.
78 (rcirc-connect): New arg `encryption'. Use open-network-stream.
79 Merge make-local-variable into `set'.
80 (rcirc--connection-open-p): New function.
81 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
82 the process is not a network process (e.g. running gnutls-cli).
83 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
84 Make rcirc-(en|de)code-coding-system local here.
85 (rcirc-mode): Merge make-local-variable into `set'.
86 (rcirc-parent-buffer): Make permanent buffer-local.
87 (rcirc-multiline-minor-mode): Don't do it here.
88 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
89 there's no server buffer.
91 2011-05-11 Glenn Morris <rgm@gnu.org>
93 * newcomment.el (comment-kill): Prefix "unused" local.
95 * term/w32console.el (get-screen-color): Declare.
97 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
98 Handle symbol elements of byte-compile-initial-macro-environment.
100 2011-05-10 Leo Liu <sdl.web@gmail.com>
102 * bookmark.el (bookmark-bmenu-mode-map):
103 Bind bookmark-bmenu-search to `/'.
105 * mail/footnote.el: Convert to utf-8 encoding.
106 (footnote-unicode-string, footnote-unicode-regexp): New variable.
107 (Footnote-unicode): New function.
108 (footnote-style-alist): Add unicode style to the list.
109 (footnote-style): Doc fix.
111 2011-05-10 Jim Meyering <meyering@redhat.com>
113 Fix doubled-word typos.
114 * international/quail.el (quail-insert-kbd-layout): and and -> and
115 * kermit.el: and and -> and
116 * net/ldap.el (ldap-search-internal): to to -> to
117 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
118 * progmodes/js.el (js-mode): and and -> and
119 * textmodes/artist.el (artist-move-to-xy): at at -> at
120 (artist-draw-region-trim-line-endings): if if -> if
121 And Safetyc -> Safety.
122 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
124 2011-05-10 Glenn Morris <rgm@gnu.org>
125 Stefan Monnier <monnier@iro.umontreal.ca>
127 * files.el (hack-one-local-variable-eval-safep):
128 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
130 2011-05-10 Glenn Morris <rgm@gnu.org>
132 * calendar/diary-lib.el (diary-list-entries-hook)
133 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
134 (diary-nongregorian-marking-hook, diary-list-entries)
135 (diary-include-other-diary-files, diary-mark-entries)
136 (diary-mark-included-diary-files): Doc fixes.
138 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
140 * misc.el: Require tabulated-list.el during compilation.
142 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
144 * progmodes/compile.el (compilation-start):
145 Run compilation-filter-hook for the async case too.
146 (compilation-filter-hook): Doc fix.
148 2011-05-09 Deniz Dogan <deniz@dogan.se>
150 * wdired.el: Remove outdated installation comment. Fix usage
153 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
155 * misc.el: Implement new command `list-dynamic-libraries'.
156 (list-dynamic-libraries--loaded-only-p): New variable.
157 (list-dynamic-libraries--refresh): New function.
158 (list-dynamic-libraries): New command.
160 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
163 Fix the ant regexp to handle end-line and end-column info from jikes.
164 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
165 higher priority to avoid clobbering by gnu.
167 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
169 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
170 if the face has existing theme settings (Bug#8454).
172 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
174 * progmodes/perl-mode.el (perl-imenu-generic-expression):
175 Only match variables declared via `my' or `our' (Bug#8261).
177 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
178 special file names `.' and `..' (Bug#8259).
180 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
182 * progmodes/grep.el (grep-mode-font-lock-keywords):
183 Remove buffer-changing entries.
184 (grep-filter): New function.
185 (grep-mode): Add it to compilation-filter-hook.
187 * progmodes/compile.el (compilation-filter-hook)
188 (compilation-filter-start): New defvars.
189 (compilation-filter): Call compilation-filter-hook prior to
190 updating the process mark.
192 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
194 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
196 2011-05-07 Eli Zaretskii <eliz@gnu.org>
198 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
199 mailclient-send-it even if window-system is nil. (Bug#8595)
201 * term/w32console.el (terminal-init-w32console):
202 Call get-screen-color and use its output to set the frame
203 background-mode. (Bug#8597)
205 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
207 Make bytecomp.el understand that defmethod defines funs (bug#8631).
208 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
210 (defgeneric, eieio--defmethod): Use them.
211 (eieio-defgeneric): Remove.
212 (defmethod): Call defgeneric in a way visible to the byte-compiler.
214 2011-05-07 Glenn Morris <rgm@gnu.org>
216 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
217 Use let rather than let*.
218 (timeclock-find-discrep): Remove unused local.
220 * calendar/diary-lib.el (diary-comment-start): Doc fix.
222 * calendar/appt.el (appt-time-msg-list): Doc fix.
224 2011-05-06 Noah Friedman <friedman@splode.com>
226 * apropos.el (apropos-print-doc): Only use
227 emacs-lisp-docstring-fill-column when it is bound to an integer,
228 per that variable's documentation.
230 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
232 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
233 and warnings are not silently discarded (e.g. use -d instead of -P).
235 2011-05-06 Glenn Morris <rgm@gnu.org>
237 * calendar/appt.el (appt-message-warning-time): Doc fix.
238 (appt-warning-time-regexp): New option.
239 (appt-make-list): Respect appt-message-warning-time.
241 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
243 (diary-add-to-list): Strip comments from the displayed string.
244 (diary-mode): Set comment-start and comment-end.
246 * vc/diff-mode.el (smerge-refine-subst): Declare.
247 (diff-refine-hunk): Don't require smerge-mode when compiling.
249 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
251 * simple.el (list-processes): Return nil as the docstring says.
253 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
255 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
257 (ange-ftp-write-region, ange-ftp-insert-file-contents)
258 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
259 determining of binary transfer. (Bug#7383)
261 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
263 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
264 Fix port computation bug. (Bug#8618)
266 2011-05-05 Glenn Morris <rgm@gnu.org>
268 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
270 * simple.el (shell-dynamic-complete-functions)
271 (comint-dynamic-complete-functions): Declare.
273 * net/network-stream.el (gnutls-negotiate):
274 * simple.el (tabulated-list-print): Fix declarations.
276 * progmodes/gud.el (syntax-symbol, syntax-point):
277 Remove unnecessary and incorrect declarations.
279 * emacs-lisp/check-declare.el (check-declare-scan):
280 Handle byte-compile-initial-macro-environment in bytecomp.el
282 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
284 Fix earlier half-done eieio-defmethod change (bug#8338).
285 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
286 Streamline and change calling convention.
287 (defmethod): Adjust accordingly and simplify.
288 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
289 new eieio--defmethod.
290 (slot-boundp): Minor CSE simplification.
292 2011-05-05 Milan Zamazal <pdm@zamazal.org>
294 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
295 (glasses-make-readable): Use glasses-separate-capital-groups.
297 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
299 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
300 (warning-series): Doc fix.
301 (display-warning): Don't try to create the buffer if we just found it.
303 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
305 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
306 (autoload-find-generated-file): New function.
307 (generate-file-autoloads): Bind generated-autoload-file to
309 (update-file-autoloads, update-directory-autoloads):
310 Use autoload-find-generated-file. If called interactively, prompt for
311 output file (Bug#7989).
312 (batch-update-autoloads): Doc fix.
314 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
316 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
318 2011-05-04 Glenn Morris <rgm@gnu.org>
320 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
321 function, so it follows changes in calendar-date-style.
322 (diary-fancy-date-matcher): New function.
323 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
324 (diary-fancy-font-lock-fontify-region-function):
325 Use diary-fancy-date-pattern as a function.
327 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
328 non-numbers for `year' etc pseudo-variables. (Bug#8583)
330 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
332 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
333 instead of positional arguments. Allow :keylist and :crlfiles
335 (open-gnutls-stream): Call it.
337 * net/network-stream.el (network-stream-open-starttls): Adjust to
338 call `gnutls-negotiate' with :process and :hostname arguments.
340 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
342 * minibuffer.el (completion--message): New function.
343 (completion--do-completion, minibuffer-complete)
344 (minibuffer-force-complete, minibuffer-complete-word): Use it.
345 (completion--do-completion): Don't ignore completion-auto-help when in
348 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
349 internal encoding (e.g. tibetan zero is not whitespace).
350 (global-whitespace-mode): Prefer save-current-buffer.
351 (whitespace-trailing-regexp): Remove useless save-match-data.
352 (whitespace-empty-at-bob-regexp): Minor simplification.
354 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
356 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
358 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
360 * textmodes/ispell.el (ispell-add-per-file-word-list):
361 Use `concat' to create string for insertion.
363 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
365 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
366 Avoid open-line which runs post-self-insert-hook.
367 (bibtex-fill-entry): Remove unused `end' var.
369 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
371 * textmodes/ispell.el (ispell-add-per-file-word-list):
372 Protect against `nil' value of `comment-start' (Bug#8579).
374 2011-05-03 Leo Liu <sdl.web@gmail.com>
376 * isearch.el (isearch-yank-pop): New command.
377 (isearch-mode-map): Bind it to `M-y'.
378 (isearch-forward): Mention it.
380 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
382 * simple.el (minibuffer-complete-shell-command): Remove.
383 (minibuffer-local-shell-command-map): Use completion-at-point.
384 (read-shell-command): Setup completion vars here instead.
385 (read-expression-map): Bind TAB to symbol completion.
387 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
388 error directly rather via storing it into `results'.
390 2011-05-02 Leo Liu <sdl.web@gmail.com>
392 * vc/diff.el: Fix description.
394 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
396 * server.el (server-eval-at): New function.
398 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
400 * net/network-stream.el (open-network-stream): Take a :nowait
401 parameter and pass it on to `make-network-process'.
402 (network-stream-open-plain): Ditto.
404 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
406 * faces.el (face-spec-set-match-display): Don't match toolkit
407 options on terminal frames.
409 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
411 * progmodes/pascal.el: Use lexical binding.
412 (pascal-mode-map): Remove author preferences.
414 * pcomplete.el (pcomplete-std-complete): Don't abuse
417 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
419 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
420 removing code that has been dead since 1991 or so.
422 * startup.el (command-line): When warning about "_emacs", use a
423 delayed warning to allow the user to filter it out.
425 2011-04-28 Deniz Dogan <deniz@dogan.se>
427 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
430 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
432 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
433 aren't any completions at point.
435 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
437 * subr.el (display-delayed-warnings): New function.
438 (delayed-warnings-hook): New variable.
440 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
442 * minibuffer.el (completion-at-point, completion-help-at-point):
443 Don't presume that a given completion-at-point-function will always
444 use the same calling convention.
446 * pcomplete.el (pcomplete-completions-at-point):
447 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
448 pcomplete-seen is non-nil.
449 (pcomplete-comint-setup): Also recognize the new comint/shell
450 completion functions.
451 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
452 pcomplete-seen is non-nil.
454 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
456 * calendar/icalendar.el (diary-lib): Add require statement.
457 (icalendar--create-uid): Read out a uid from a text-property on
458 the first character in the entry. This allows for code to add its
459 own uid to the entry.
460 (icalendar--convert-float-to-ical): Add export of
461 `diary-float'-entries save for those with the optional DAY
464 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
466 * subr.el (shell-quote-argument): Use alternate escaping strategy
467 when we spot a variable reference in a string.
469 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
471 * cus-start.el (all): Define customization for debug-on-event.
473 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
475 * subr.el (shell-quote-argument): Escape correctly under Windows.
477 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
479 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
481 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
483 * net/tramp.el (tramp-process-actions): Add POS argument.
484 Delete region between POS and (pos).
486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
487 Use `nil' position in `tramp-process-actions' call.
488 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
490 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
491 position in `tramp-process-actions' call.
493 * net/trampver.el: Update release number.
495 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
497 * custom.el (defcustom): Obey lexical-binding.
499 Fix octave-inf completion problems reported by Alexander Klimov.
500 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
501 Inherit from octave-mode-syntax-table.
502 (inferior-octave-mode): Set info-lookup-mode.
503 (inferior-octave-completion-at-point): New function.
504 (inferior-octave-complete): Use it and completion-in-region.
505 (inferior-octave-dynamic-complete-functions): Use it as well, and use
506 comint-filename-completion.
507 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
508 symbol elements which shouldn't be word elements.
509 (octave-font-lock-keywords, octave-beginning-of-defun)
510 (octave-function-header-regexp): Adjust regexps accordingly.
511 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
513 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
515 * net/gnutls.el (gnutls-errorp): Declare before first use.
517 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
519 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
520 verify-error, and verify-hostname-error parameters. Check whether
521 default trustfile exists before going to use it. Add missing
522 argument to gnutls-message-maybe call. Return return value.
523 Reported by Claudio Bley <claudio.bley@gmail.com>.
524 (open-gnutls-stream): Add usage example.
526 * net/network-stream.el (network-stream-open-starttls): Give host
527 parameter to `gnutls-negotiate'.
528 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
529 * subr.el (shell-quote-argument): Escape correctly under Windows.
531 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
533 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
534 Use correct match group (bug#8438).
536 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
538 * emacs-lisp/package.el (package-built-in-p): Fix typo.
539 (package-menu--generate): New arg specifying packages to show.
540 (package-menu-refresh, package-menu-execute, list-packages):
542 (package-show-package-list): New function, replacing deleted
543 package--list-packages (renamed because it is non-internal).
545 * finder.el (finder-list-matches): Use package-show-package-list
546 instead of deleted package--list-packages.
548 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
549 Based on a previous implementation by Juanma Barranquero (Bug#8366).
550 (vc-annotate-mode-map): Bind it to RET.
552 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
554 * progmodes/etags.el (next-file): Don't use set-buffer to change
557 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
559 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
561 * apropos.el (apropos-label-face): Avoid variable-pitch face.
562 (apropos-accumulator): Doc fix.
563 (apropos-function, apropos-macro, apropos-command)
564 (apropos-variable, apropos-face, apropos-group, apropos-widget)
565 (apropos-plist): Add face property.
566 (apropos-symbols-internal): Fix indentation.
567 (apropos-print): Simplify help, and recognize apropos-multi-type.
568 (apropos-print-doc): Use button-type-get to extract the button's
569 face property. Fill docstring (Bug#8352).
571 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
573 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
575 * play/mpuz.el (mpuz-silent): Doc fix.
576 (mpuz-mode-map): Use mapc.
577 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
578 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
579 Fix typos in docstrings.
581 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
582 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
584 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
586 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
588 * minibuffer.el (completion--do-completion): Avoid the "Next char
589 not unique" prompt if icomplete-mode is enabled (Bug#5849).
591 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
592 mouse-2 into unread-command-events, it is interpreted correctly.
594 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
595 (image-toggle-display): Doc fix.
597 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
599 * textmodes/page.el (what-page): Use line-number-at-pos to
600 calculate line number (Bug#6825).
602 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
604 * eshell/esh-mode.el (find-tag-interactive): Declare function.
605 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
606 Pass argument NO-DEFAULT to `find-tag-interactive'.
608 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
610 Lexical-binding cleanup.
612 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
613 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
614 * progmodes/ada-prj.el (ada-prj-initialize-values)
615 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
616 (ada-prj-show-value):
617 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
618 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
619 (antlr-invalidate-context-cache, antlr-options-menu-filter)
620 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
621 * progmodes/bug-reference.el (bug-reference-push-button):
622 * progmodes/fortran.el (fortran-line-length):
623 * progmodes/glasses.el (glasses-change):
624 * progmodes/octave-mod.el (octave-fill-paragraph):
625 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
626 (python-pdbtrack-grub-for-buffer, python-sentinel):
627 * progmodes/sql.el (sql-save-connection):
628 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
629 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
630 Mark unused parameters.
632 * progmodes/compile.el (compilation--flush-directory-cache)
633 (compilation--flush-parse, compile-internal): Mark unused parameters.
634 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
635 (compilation-next-error-function): Remove unused variable `timestamp'.
637 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
638 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
640 * progmodes/dcl-mode.el (dcl-end-of-command):
641 Remove unused variable `start'.
642 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
643 (dcl-option-value-basic, dcl-option-value-offset)
644 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
645 Mark unused parameters.
646 (dcl-save-local-variable): Remove unused variable `val'.
649 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
650 Mark unused parameters.
651 (delphi-ignore-changes): Move before first use.
652 (delphi-charset-token-at): Remove unused variable `start'.
653 (delphi-else-start): Remove unused variable `if-count'.
654 (delphi-comment-block-start, delphi-comment-block-end):
655 Remove unused variable `kind'.
656 (delphi-indent-line): Remove unused variable `new-point'.
658 * progmodes/ebrowse.el (ebrowse-files-list)
659 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
660 Mark unused parameters. Don't quote `lambda'.
661 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
662 Don't quote `lambda'.
663 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
664 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
665 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
666 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
668 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
669 (ebrowse-view/find-file-and-search-pattern)
670 (ebrowse-view/find-member-declaration/definition):
671 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
672 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
673 Rename parameter PREFIX-ARG to PREFIX.
674 (ebrowse-tags-read-name): Remove unused variables `start' and
676 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
679 * progmodes/etags.el (local-find-tag-hook): Declare.
680 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
681 Mark unused parameters.
683 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
684 (executable-interpret): Mark unused parameter.
686 * progmodes/flymake.el (flymake-process-sentinel)
687 (flymake-after-change-function)
688 (flymake-create-temp-with-folder-structure)
689 (flymake-get-include-dirs-dot): Mark unused parameters.
690 (flymake-safe-delete-directory): Remove unused variable `err'.
692 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
693 (speedbar-timer-fn, speedbar-line-text)
694 (speedbar-change-expand-button-char, speedbar-delete-subblock)
695 (speedbar-center-buffer-smartly): Declare functions.
696 (gdb-find-watch-expression): Remove unused variable `array'.
697 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
698 (gdb-starting): Mark unused parameters.
699 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
700 (gdb-table-string): Remove unused variable `res'.
701 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
702 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
703 (gdb-display-buffer): Remove unused variable `cur-size'.
705 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
706 allow lexical-binding compilation.
707 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
708 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
709 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
710 Mark unused parameters.
711 (gud-gdb-marker-filter): Remove unused variable `match'.
712 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
713 lambda expressions and funcall them, instead of using `fset'.
715 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
716 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
718 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
719 variable `header-beg'; use `let'.
721 * progmodes/icon.el (indent-icon-exp): Remove unused variables
722 `restart', `last-sexp' and `at-do'.
724 * progmodes/js.el (js--debug): Mark unused parameter.
725 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
726 (js--splice-into-items): Remove unused variable `item'.
727 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
729 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
730 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
731 (makefile-complete): Remove unused variable `try'.
732 (makefile-fill-paragraph, makefile-match-function-end):
733 Mark unused parameters.
735 * progmodes/octave-inf.el (inferior-octave-complete):
736 Remove unused variable `proc'.
737 (inferior-octave-output-digest): Mark unused parameter.
739 * progmodes/perl-mode.el (perl-calculate-indent):
740 Remove unused variable `err'.
742 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
743 (prolog-indent-line): Mark unused parameters.
744 (prolog-indent-line): Remove unused variable `beg'.
746 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
747 (reporter-dont-compact-list): Declare.
749 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
750 Remove unused variable `char'.
751 (sh-debug): Mark unused parameter.
752 (sh-get-indent-info): Remove unused variable `start'.
753 (sh-calculate-indent): Remove unused variable `var'.
755 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
756 (simula-electric-keyword): Remove unused variable `null'.
757 (simula-search-backward, simula-search-forward): Remove unused
758 variables `begin' and `end'.
760 * progmodes/vera-mode.el (vera-guess-basic-syntax):
761 Remove unused variable `pos'.
762 (vera-electric-tab, vera-comment-uncomment-region):
763 Mark unused parameters.
764 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
766 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
768 * emacs-lisp/package.el (package--builtins, package-alist)
769 (package-load-descriptor, package-built-in-p, package-activate)
770 (define-package, package-installed-p)
771 (package-compute-transaction, package-buffer-info)
772 (package--push): Doc fix. Distinguish more clearly between
773 version strings and version lists.
775 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
777 Lexical-binding cleanup.
779 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
780 (5x5-make-mutate-best):
781 * play/fortune.el (fortune-in-buffer):
782 * play/gomoku.el (gomoku-init-display):
783 * play/solitaire.el (solitaire, solitaire-do-check):
784 * play/tetris.el (tetris-default-update-speed-function):
785 Mark unused parameters.
787 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
788 (bubbles--shift): Remove unused variable `char-org'.
789 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
790 (bubbles--show-images): Remove unused variable `char'.
792 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
793 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
794 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
795 (decipher-analyze-buffer): Use ?\s.
796 (decipher-make-checkpoint): Remove unused variable `mapping'.
798 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
800 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
801 Remove unused variable `result'; use `let'.
803 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
804 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
805 (gametree-children-shown-p, gametree-compute-reduced-score):
808 * play/handwrite.el (ps-lpr-switches): Declare.
809 (handwrite): Remove unused variables `pmin' and `lastp'.
811 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
813 * play/landmark.el (landmark-init-display)
814 (landmark-update-naught-weights): Mark unused parameters.
815 (landmark-y): Remove unused variable `noise'. Simplify.
816 (landmark-human-plays): Remove unused variable `score'.
818 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
819 (mpuz-try-proposal): Remove unused variable `game'.
821 * play/zone.el (life-patterns): Declare.
823 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
825 * vc/vc.el (ediff-vc-internal): Declare function.
827 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
829 * shell.el: Use lexical-binding and std completion UI.
830 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
831 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
832 comint-preoutput-filter-functions rather than on
833 comint-output-filter-functions.
834 (shell-command-completion, shell--command-completion-data)
835 (shell-filename-completion, shell-environment-variable-completion)
836 (shell-c-a-p-replace-by-expanded-directory): New functions.
837 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
838 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
839 (shell-dynamic-complete-environment-variable): Use them.
840 (shell-dynamic-complete-as-environment-variable)
841 (shell-dynamic-complete-as-command): Remove.
842 (shell-match-partial-variable): Match past point.
843 * comint.el: Clean up use of completion-at-point-functions.
844 (comint-completion-at-point): New function.
845 (comint-mode): Use it completion-at-point-functions.
846 (comint-dynamic-complete): Make it obsolete.
847 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
848 (comint-c-a-p-replace-by-expanded-history): New function.
849 (comint-dynamic-complete-functions)
850 (comint-replace-by-expanded-history): Use it.
851 * minibuffer.el (completion-table-with-terminator): Allow dynamic
852 termination strings. Try harder to avoid second try-completion.
853 (completion-in-region-mode-map): Disable bindings that don't work yet.
855 * comint.el: Use lexical-binding. Require CL.
856 (comint-dynamic-complete-functions): Use comint-filename-completion.
857 (comint-completion-addsuffix): Tweak custom type.
858 (comint-filename-completion, comint--common-suffix)
859 (comint--common-quoted-suffix, comint--table-subvert)
860 (comint--complete-file-name-data): New functions.
861 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
862 (comint-dynamic-list-filename-completions): Use them.
863 (comint-dynamic-simple-complete): Make obsolete.
865 * minibuffer.el (completion-in-region-mode):
866 Keep completion-in-region-mode--predicate global.
867 (completion-in-region--postch):
868 Assume completion-in-region-mode--predicate is not null.
870 * progmodes/flymake.el (flymake-start-syntax-check-process):
871 Obey `dir'. Simplify.
873 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
874 we're in VC after all.
876 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
878 * vc/vc.el (vc-diff-build-argument-list-internal)
879 (vc-version-ediff, vc-ediff): New commands.
880 (vc-version-diff): Use vc-diff-build-argument-list-internal.
882 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
884 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
887 * obsolete/erc-hecomplete.el: Make obsolete.
888 * obsolete/: Standardize obsolescence info in the header.
890 2011-04-20 Glenn Morris <rgm@gnu.org>
892 * calendar/solar.el (solar-horizontal-coordinates):
893 Use the longitude argument rather than `calendar-longitude'.
894 (solar-date-next-longitude): Remove unused locals.
896 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
898 * whitespace.el: New version 13.2.1.
900 2011-04-20 felix <EmacsWiki> (tiny change)
902 * whitespace.el (global-whitespace-mode): keep highlight when
903 switching between major modes on a file.
905 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
907 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
908 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
909 multi-line comments as well.
911 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
913 Lexical-binding cleanup.
915 * arc-mode.el (archive-mode-revert):
916 * cmuscheme.el (scheme-interactively-start-process):
917 * custom.el (custom-initialize-delay):
918 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
919 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
920 * emacs-lock.el (emacs-lock-clear-sentinel):
921 * ezimage.el (defezimage):
922 * follow.el (follow-avoid-tail-recenter):
923 * fringe.el (set-fringe-mode-1):
924 * generic-x.el (bat-generic-mode-compile):
925 * help-mode.el (help-info-variable, help-do-xref)
926 (help-mode-revert-buffer):
927 * help.el (view-emacs-todo):
928 * iswitchb.el (iswitchb-completion-help):
929 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
930 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
931 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
932 * locate.el (locate-update):
933 * longlines.el (longlines-encode-region)
934 (longlines-after-change-function):
935 * outline.el (outline-isearch-open-invisible):
936 * ps-def.el (declare-function, charset-dimension, char-width)
938 * ps-mule.el (ps-mule-plot-string):
939 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
940 (recentf-edit-list-select, recentf-edit-list-validate)
941 (recentf-open-files-action):
942 * rect.el (delete-whitespace-rectangle-line)
943 (rectangle-number-line-callback):
944 * register.el (window-configuration-to-register)
945 (frame-configuration-to-register):
946 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
947 * select.el (xselect-convert-to-string, xselect-convert-to-length)
948 (xselect-convert-to-targets, xselect-convert-to-delete)
949 (xselect-convert-to-filename, xselect-convert-to-charpos)
950 (xselect-convert-to-lineno, xselect-convert-to-colno)
951 (xselect-convert-to-os, xselect-convert-to-host)
952 (xselect-convert-to-user, xselect-convert-to-class)
953 (xselect-convert-to-name, xselect-convert-to-integer)
954 (xselect-convert-to-atom, xselect-convert-to-identity):
955 * subr.el (declare, ignore, process-kill-without-query)
956 (text-clone-maintain):
957 * terminal.el (te-get-char, te-tic-sentinel):
958 * tool-bar.el (tool-bar-make-keymap):
959 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
960 * type-break.el (type-break-mode, type-break-noninteractive-query):
961 * view.el (View-back-to-mark):
962 * wid-browse.el (widget-browse-action, widget-browse-widget)
963 (widget-browse-widgets, widget-browse-sexp):
964 * widget.el (define-widget-keywords):
965 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
966 Mark unused parameters.
968 * align.el (align-adjust-col-for-rule): Mark unused parameter.
969 (align-areas): Remove unused variable `look'.
970 (align-region): Remove unused variables `real-end' and `pos-list'.
972 * apropos.el (apropos-score-doc): Remove unused variable `i'.
974 * bindings.el (mode-line-modified, mode-line-remote):
975 Mark unused parameters.
976 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
978 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
979 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
981 * comint.el (comint-history-isearch-pop-state)
982 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
983 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
984 (comint-substitute-in-file-name): Doc fix.
986 * completion.el (cmpl-statistics-block): Mark unused parameter.
987 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
988 (save-completions-to-file, load-completions-from-file):
989 Remove unused local variable `e'.
991 * composite.el (compose-chars): Remove unused variable `len'.
992 (lgstring-insert-glyph): Remove unused variable `g'.
993 (compose-glyph-string): Remove unused variables `ascent',
994 `descent', `lbearing' and `rbearing'.
995 (compose-glyph-string-relative): Remove unused variables
996 `lbearing', `rbearing' and `wadjust'.
997 (compose-gstring-for-graphic): Remove unused variables `header',
998 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
999 (compose-gstring-for-terminal): Remove unused variables `header'
1000 and `nchars'. Use `let', not `let*'.
1002 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1003 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1004 (Custom-buffer-done, custom-buffer-create-internal)
1005 (custom-browse-visibility-action, custom-browse-group-tag-action)
1006 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1007 (widget-magic-mouse-down-action, custom-toggle-parent)
1008 (custom-add-parent-links, custom-toggle-hide-variable)
1009 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1010 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1011 (custom-face-menu-create, custom-variable-menu-create, get)
1012 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1013 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1014 (customize-apropos): Remove unused variable `tests'.
1015 (custom-group-value-create): Remove unused variable `hidden-p'.
1016 (sort-fold-case): Declare.
1018 * cus-theme.el (custom-reset-standard-faces-list)
1019 (custom-reset-standard-variables-list): Declare.
1020 (customize-create-theme, custom-theme-revert, custom-theme-write)
1021 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1022 Mark unused parameters.
1024 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1026 * delim-col.el (delimit-columns-max): Move defvar before first use.
1028 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1029 (describe-char): Don't quote `lambda'. Mark unused parameter.
1031 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1032 (auto-insert): Declare.
1033 (desktop-restore-file-buffer): Rename desktop-* parameters;
1035 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1036 (desktop-buffer): Rename desktop-* parameters.
1038 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1039 (dframe-reposition-frame-xemacs, dframe-help-echo)
1040 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1041 Mark unused parameters.
1043 * dired-aux.el (backup-extract-version-start, overwrite-query)
1044 (overwrite-backup-query, rename-regexp-query)
1045 (rename-non-directory-query): Declare.
1046 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1047 (dired-add-entry): Remove unused variable `orig-file-name'.
1048 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1049 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1050 `dired-copy-preserve-time' directly.
1051 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1052 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1054 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1055 (dired-virtual-revert, dired-make-relative-symlink):
1056 Mark unused parameters.
1057 (manual-program): Declare.
1058 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1059 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1060 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1062 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1064 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1066 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1069 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1071 * electric.el (Electric-command-loop): Rename parameter
1072 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1074 * expand.el (expand-in-literal): Remove unused variable `here'.
1076 * facemenu.el (facemenu-add-new-color):
1077 Remove unused variable `docstring'.
1079 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1080 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1081 (face-attr-construct): Mark unused parameter. Doc fix.
1082 (read-color): Remove unused variable `hex-string'.
1084 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1085 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1086 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1087 (display-buffer-other-frame): Remove unused variable `old-window'.
1088 (kill-buffer-hook): Declare.
1089 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1090 Mark unused parameters.
1091 (after-find-file): Pass 1 to `auto-save-mode', not t.
1093 * files-x.el (auto-insert): Declare.
1094 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1096 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1097 variable `buf'. Mark unused parameter.
1098 (find-lisp-insert-directory): Mark unused parameter.
1100 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1101 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1102 (format-common-tail): Remove, unused.
1103 (format-deannotate-region): Remove unused variable `loc'.
1104 (format-annotate-region): Remove unused variable `p'.
1105 (format-annotate-single-property-change): Remove unused variables
1106 `default' and `tail'.
1108 * forms.el (read-file-filter): Declare.
1109 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1111 * frame.el (frame-creation-function-alist): Mark unused parameter.
1112 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1114 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1115 Remove unused parameters.
1116 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1117 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1119 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1120 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1121 (hfy-prepare-tag-map): Mark unused parameters.
1122 (htmlfontify-buffer): Use `called-interactively-p'.
1124 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1125 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1126 (ibuffer-do-occur): Mark unused parameters.
1127 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1128 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1130 * ibuffer.el: Don't quote `lambda'.
1131 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1132 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1133 Mark unused parameters.
1135 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1136 (ido-completing-read): Mark unused parameters.
1137 (ido-copy-current-word): Mark unused parameters;
1138 remove unused variable `name'.
1139 (ido-sort-merged-list): Remove unused parameter `dirs'.
1141 * ielm.el (ielm-input-sender): Mark unused parameter.
1142 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1143 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1144 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1145 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1146 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1148 * image-dired.el (image-dired-display-thumbs): Remove unused
1149 variables `curr-file' and `count'.
1150 (image-dired-remove-tag): Remove unused variable `start'.
1151 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1152 variable `curr-file'
1153 (image-dired-rotate-original): Remove unused variable `temp-file'.
1154 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1155 Remove unused variable `file'.
1156 (image-dired-gallery-generate): Remove unused variable `curr'.
1157 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1159 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1161 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1163 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1165 * isearch.el (minibuffer-history-symbol): Declare.
1166 (isearch-edit-string): Remove unused variable `err'.
1167 (isearch-message-prefix, isearch-message-suffix):
1168 Mark unused parameters.
1170 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1172 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1174 * makesum.el (double-column): Remove unused variable `cnt'.
1176 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1177 (ido-ignore-item-temp-list): Declare.
1179 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1180 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1181 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1182 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1185 * mouse-sel.el (mouse-extend-internal):
1186 Remove unused variable `orig-window-frame'.
1188 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1189 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1190 Move declarations before first use.
1191 (pcomplete-opt): Mark unused parameters; doc fix.
1193 * proced.el (proced-revert): Mark unused parameter.
1194 (proced-send-signal): Remove unused variable `err'.
1196 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1197 Rename parameter PREFIX-ARG to ARG.
1198 (ps-basic-plot-string, ps-basic-plot-whitespace):
1199 Mark unused parameters.
1201 * replace.el (replace-count): Define.
1202 (occur-revert-function): Mark unused parameters.
1203 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1204 (isearch-case-fold-search, isearch-string): Declare.
1205 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1206 bind `case-fold-search'. Remove unused variables `beg' and `end',
1208 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1209 COUNT and bind `replace-count'.
1210 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1213 * savehist.el (print-readably, print-string-length): Declare.
1215 * shadowfile.el (shadow-expand-cluster-in-file-name):
1216 Remove unused variable `cluster'.
1217 (shadow-copy-file): Remove unused variable `i'.
1218 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1219 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1220 (shadow-define-literal-group, shadow-define-regexp-group)
1221 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1223 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1224 (shell): Use `called-interactively-p'.
1225 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1227 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1228 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1229 (delete-backward-char): Remove unused variable `ocol'.
1230 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1231 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1232 (event-apply-hyper-modifier, event-apply-shift-modifier)
1233 (event-apply-control-modifier, event-apply-meta-modifier):
1234 Mark unused parameters.
1235 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1236 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1238 * speedbar.el (speedbar-ignored-directory-expressions)
1239 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1240 (speedbar-find-file, speedbar-dir-follow)
1241 (speedbar-directory-buttons-follow, speedbar-tag-find)
1242 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1243 (speedbar-buffers-line-directory, speedbar-buffer-click):
1244 Mark unused parameters.
1245 (speedbar-tag-file): Remove unused variable `mode'.
1246 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1248 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1250 * talk.el (talk): Remove unused variable `display'.
1252 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1253 (tar-write-region-annotate): Mark unused parameter.
1255 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1256 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1257 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1260 * time-stamp.el (time-stamp-string-preprocess):
1261 Remove unused variable `require-padding'.
1263 * tree-widget.el (widget-glyph-enable): Declare.
1264 (tree-widget-action): Mark unused parameter.
1266 * w32-fns.el (x-get-selection): Mark unused parameter.
1267 (autoload-make-program, generated-autoload-file): Declare.
1269 * wdired.el (wdired-revert): Mark unused parameters.
1270 (wdired-xcase-word): Remove unused variable `err'.
1272 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1273 (whitespace-help-scroll): Remove unused variable `data-help'.
1275 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1276 (widget-image-insert, widget-after-change, default)
1277 (widget-default-format-handler, widget-default-notify)
1278 (widget-default-prompt-value, widget-info-link-action)
1279 (widget-url-link-action, widget-function-link-action)
1280 (widget-variable-link-action, widget-file-link-action)
1281 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1282 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1283 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1284 (widget-insert-button-action, widget-delete-button-action, visibility)
1285 (widget-documentation-link-action, widget-documentation-string-action)
1286 (widget-const-prompt-value, widget-regexp-match, symbol)
1287 (widget-coding-system-prompt-value)
1288 (widget-key-sequence-value-to-external, sexp)
1289 (widget-sexp-value-to-internal, character, vector, cons)
1290 (widget-choice-prompt-value, widget-boolean-prompt-value)
1291 (widget-color--choose-action): Mark unused parameters.
1292 (widget-item-match-inline, widget-choice-match-inline)
1293 (widget-checklist-match, widget-checklist-match-inline)
1294 (widget-group-match): Rename parameter VALUES to VALS.
1295 (widget-field-value-set): Remove unused variable `size'.
1296 (widget-color-action): Remove unused variables `value' and `start'.
1298 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1299 variable `dir'. Doc fix.
1300 (windmove-find-other-window): Don't pass it.
1302 * window.el (count-windows): Mark unused parameter.
1303 (bw-adjust-window): Remove unused variable `err'.
1305 * woman.el (woman-file-name): Remove unused variable `default'.
1306 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1307 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1308 (global-font-lock-mode): Declare.
1309 (woman-decode-region): Mark unused parameter.
1310 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1312 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1313 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1314 (x-dnd-handle-moz-url): Remove unused variable `title'.
1315 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1317 * xml.el (xml-parse-tag, xml-parse-attlist):
1318 Remove unused variable `pos'.
1320 2011-04-19 Glenn Morris <rgm@gnu.org>
1322 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1323 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1324 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1325 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1326 * calendar/cal-html.el (cal-html-insert-minical):
1327 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1328 (calendar-mark-date-pattern):
1329 Prefix "unused" locals.
1331 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1332 optional argument `style'.
1334 * calendar/appt.el (appt-make-list):
1335 * calendar/cal-china.el (calendar-chinese-date-string):
1336 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1337 (diary-hebrew-yahrzeit):
1338 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1339 * calendar/calendar.el (calendar-generate-window):
1340 * calendar/time-date.el (time-to-days):
1341 Remove unused local variables.
1343 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1345 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1346 glyphless-char-display table.
1347 (tabulated-list-glyphless-char-display): New var.
1349 2011-04-18 Sam Steingold <sds@gnu.org>
1351 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1354 2011-04-17 Glenn Morris <rgm@gnu.org>
1356 * calendar/diary-lib.el (diary-sexp-entry):
1357 * calendar/holidays.el (holiday-sexp):
1358 Set debug-on-error rather than the removed stack-trace-on-error.
1360 2011-04-16 Glenn Morris <rgm@gnu.org>
1362 * progmodes/f90.el: Use lexical-binding.
1363 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1365 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1368 (mail-mode): Setup mailalias completion here instead.
1369 * mail/mailalias.el: Use lexical-binding.
1370 (pattern, mailalias-done): Declare dynamic.
1371 (mail-completion-at-point-function): New function, from mail-complete.
1372 (mail-complete): Use it.
1373 (mail-completion-expand): New function.
1374 (mail-get-names): Use it.
1375 (mail-directory, mail-directory-process, mail-directory-stream):
1376 Don't use `pattern' for lexically bound arg.
1378 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1380 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1381 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1382 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1384 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1385 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1386 (byte-interactive-p): Define them again, for use when inlining
1389 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1391 * loadup.el: Use `string-to-number', not `string-to-int'.
1393 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1396 gud-gdb-complete-command.
1397 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1398 (gud-gdb-completion-at-point): New function.
1399 (gud-gdb-completions): Remove.
1401 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1403 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1404 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1405 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1406 whether `executable-find' is bound.
1408 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1410 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1412 * minibuffer.el (completion-in-region-mode-predicate)
1413 (completion-in-region-mode--predicate): New vars.
1414 (completion-in-region, completion-in-region--postch)
1415 (completion-in-region-mode): Use them.
1416 (completion--capf-wrapper): Also return the hook function.
1417 (completion-at-point, completion-help-at-point):
1418 Adjust and provide a predicate.
1420 Preserve arg names for advice of subr and lexical functions (bug#8457).
1421 * help-fns.el (help-function-arglist): Consolidate the subr and
1422 new-byte-code cases. Add argument `preserve-names' to extract names
1423 from the docstring when needed.
1424 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1425 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1426 (ad-arglist): Use help-function-arglist's new arg.
1427 (ad-definition-type): Use cond.
1429 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1431 * autorevert.el (auto-revert-handler):
1432 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1433 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1436 * image-mode.el (image-transform-set-scale):
1437 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1439 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1441 * net/network-stream.el (network-stream-open-starttls): Only do
1442 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1443 Upgrades via gnutls-cli are too slow to be done opportunistically.
1445 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1447 * dframe.el (dframe-current-frame): Remove spurious quote.
1449 2011-04-12 Glenn Morris <rgm@gnu.org>
1451 * calendar/cal-tex.el (cal-tex-end-document):
1452 Try to automatically use latin1 input if needed.
1454 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1455 Don't try to cons a mark onto an empty element.
1457 2011-04-11 Leo Liu <sdl.web@gmail.com>
1459 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1461 (ido-kill-buffer-at-head): Support killing virtual buffers.
1463 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1465 * minibuffer.el (completion-show-inline-help): New var.
1466 (completion--do-completion, minibuffer-complete)
1467 (minibuffer-force-complete, minibuffer-complete-word):
1468 Inhibit minibuffer messages if completion-show-inline-help is nil.
1470 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1471 to avoid interference from inline help (Bug#5849).
1473 2011-04-10 Leo Liu <sdl.web@gmail.com>
1475 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1478 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1480 * image-mode.el (image-toggle-display-image): Signal an error if
1482 (image-transform-mode, image-transform-resize)
1483 (image-transform-set-rotation): Doc fix.
1484 (image-transform-set-resize): Delete.
1485 (image-transform-set-scale, image-transform-fit-to-height)
1486 (image-transform-fit-to-width): Handle image-toggle-display-image
1487 and image-transform-resize directly.
1489 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1491 * doc-view.el (doc-view-fit-width-to-window)
1492 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1493 New functions for fitting the shown image to the Emacs window size.
1494 (doc-view-mode-map): Add bindings for the new functions.
1496 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1498 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1499 Fix typo in docstring.
1501 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1503 * files.el (file-size-human-readable): Produce one digit after
1504 decimal, like "ls -lh" does.
1506 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1507 the file size representation.
1509 * simple.el (list-processes): If async subprocesses are not
1510 available, error out with a clear error message.
1512 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1514 * help.el (help-form-show): New function, to be called from C.
1515 Put help-form output in a buffer named differently than *Help*.
1517 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1519 * files.el (file-size-human-readable): New function.
1521 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1522 computing the representation inline. Don't require `cl'.
1524 2011-04-08 Glenn Morris <rgm@gnu.org>
1526 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1528 * net/browse-url.el (browse-url-firefox):
1529 Test system-type, not system-configuration.
1531 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1532 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1533 Use log-edit-empty-buffer-p. (Bug#7598)
1535 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1536 (rlogin-mode-map): Initialize in the defvar.
1537 (rlogin): Use ignore-errors.
1539 * replace.el (occur-mode-map): Some fixes for menu items.
1541 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1543 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1545 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1547 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1548 issuing unused warnings.
1550 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1553 * simple.el: Lisp reimplement of list-processes. Based on an
1554 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1555 (process-menu-mode): New major mode.
1556 (list-processes--refresh, list-processes):
1557 (process-menu-visit-buffer): New functions.
1559 * files.el (save-buffers-kill-emacs): Don't assume any return
1560 value of list-processes, which is undocumented anyway.
1562 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1564 * emacs-lisp/tabulated-list.el: New file.
1566 * emacs-lisp/package.el: Use Tabulated List mode.
1567 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1568 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1569 table format using Tabulated List mode variables.
1570 (package--push): New macro, replacing package-list-maybe-add.
1571 (package-menu--generate): Use package--push. Renamed from
1572 package--generate-package-list.
1573 (package-menu-refresh, list-packages): Use it.
1574 (package-menu--print-info): Rename from package-print-package.
1575 Return insertion data instead of inserting it directly.
1576 (package-menu-describe-package, package-menu-execute):
1577 Use tabulated-list-get-id.
1578 (package-menu-mark-delete, package-menu-mark-install)
1579 (package-menu-mark-unmark, package-menu-backup-unmark)
1580 (package-menu-mark-obsolete-for-deletion):
1581 Use tabulated-list-put-tag.
1582 (package--list-packages, package-menu-revert)
1583 (package-menu-get-package, package-menu-get-version)
1584 (package-menu-sort-by-column): Functions deleted.
1585 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1586 (package-menu--status-predicate, package-menu--version-predicate)
1587 (package-menu--name-predicate)
1588 (package-menu--description-predicate): Handle arguments in the
1589 Tabulated List format.
1590 (package-list-packages-no-fetch): Call list-packages.
1592 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1594 * files.el (after-find-file-from-revert-buffer): Remove variable.
1595 (after-find-file): Don't bind it.
1596 (revert-buffer-in-progress-p): New variable.
1597 (revert-buffer): Bind it.
1598 Pass nil for `after-find-file-from-revert-buffer'.
1600 * saveplace.el (save-place-find-file-hook): Use new variable
1601 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1603 2011-04-06 Glenn Morris <rgm@gnu.org>
1605 * Makefile.in (AUTOGEN_VCS): New variable.
1606 (autoloads): Use $AUTOGEN_VCS.
1608 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1609 * calendar/calendar.el (calendar-mode-map):
1610 Check for toolkit scroll bars. (Bug#8305)
1612 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1614 * minibuffer.el (completion-in-region--postch)
1615 (completion-in-region-mode): Remove unnecessary messages.
1617 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1619 * font-lock.el (font-lock-refresh-defaults):
1620 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1621 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1623 * info.el (Info-directory-list, Info-read-node-name-2)
1624 (Info-split-parameter-string): Doc fixes.
1625 (Info-virtual-nodes): Reflow docstring.
1626 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1627 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1628 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1629 Fix typos in docstrings.
1630 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1631 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1632 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1633 (Info-restore-desktop-buffer): Mark unused parameters.
1634 (Info-directory-find-file, Info-directory-find-node)
1635 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1636 (Info-virtual-index-find-node, Info-apropos-find-file)
1637 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1638 Mark unused parameters; fix typos in docstrings.
1639 (Info-virtual-index): Remove unused local variable `nodename'.
1641 2011-04-05 Deniz Dogan <deniz@dogan.se>
1643 * net/rcirc.el: Update my e-mail address.
1644 (rcirc-mode-map): Remove M-o binding.
1646 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1648 * startup.el (command-line): Save the cursor's theme-face
1649 directly, instead of using face-override-spec.
1651 * custom.el (load-theme): Minor optimization in assigning faces.
1653 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1655 * help-fns.el (describe-variable): Complete all variables having
1656 documentation, including keywords.
1657 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1659 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1661 Convert to lexical-binding.
1663 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1664 (bs--get-marked-string, bs--get-modified-string)
1665 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1666 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1667 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1669 * ehelp.el (electric-help-execute-extended)
1670 (electric-help-ctrl-x-prefix):
1671 * hexl.el (hexl-revert-buffer-function):
1672 * linum.el (linum-after-change, linum-after-scroll):
1673 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1675 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1677 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1684 * epg.el: Use lexical binding.
1686 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1688 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1690 * textmodes/flyspell.el (flyspell-word): Recognize default
1691 dictionary case for flyspell-mark-duplications-exceptions.
1692 Use regexp matching for languages.
1693 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1694 default dictionary (Bug#7926).
1696 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1698 * emacs-lisp/package.el (package--with-work-buffer):
1699 Recognize https URLs.
1701 * net/network-stream.el: Move from gnus/proto-stream.el.
1702 Change prefix to network-stream throughout.
1703 (open-protocol-stream): Merge into open-network-stream, leaving
1704 open-protocol-stream as an alias. Handle nil BUFFER args.
1706 * subr.el (open-network-stream): Move to net/network-stream.el.
1708 2011-04-02 Glenn Morris <rgm@gnu.org>
1710 * find-dired.el (find-exec-terminator): New option.
1711 (find-ls-option): Test for -ls support.
1712 (find-ls-subdir-switches): Test for -b in find-ls-option.
1713 (find-dired, find-grep-dired): Doc fixes.
1714 (find-dired): Use find-exec-terminator.
1716 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1717 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1718 (find-name-arg): Remove purecopy.
1720 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1721 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1722 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1723 accordingly. Don't add the null-device if not needed.
1725 * files.el (save-some-buffers): Doc fix.
1727 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1729 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1731 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1733 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1734 Use `dolist' rather than `mapcar'.
1736 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1738 Add lexical binding.
1740 * subr.el (apply-partially): Use new closures rather than CL.
1741 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1742 (dolist, dotimes): Use slightly different expansion for lexical code.
1743 (functionp): Move to C.
1744 (letrec): New macro.
1745 (with-wrapper-hook): Use it and apply-partially instead of CL.
1746 (eval-after-load): Preserve lexical-binding.
1747 (save-window-excursion, with-output-to-temp-buffer): Turn them
1750 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1752 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1754 (help-add-fundoc-usage): Don't add `Not documented'.
1755 (help-function-arglist): Handle closures, subroutines, and new
1756 byte-code-functions.
1757 (help-make-usage): Remove leading underscores.
1758 (describe-function-1): Handle closures.
1759 (describe-variable): Use special-variable-p for completion.
1761 * files.el (lexical-binding): Declare safe.
1763 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1764 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1765 (pcase): Add `let' pattern.
1766 Change memoization so it actually works.
1767 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1768 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1771 * emacs-lisp/macroexp.el: Use lexical binding.
1772 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1773 Don't convert ' to #' without checking that it's indeed quoting
1776 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1777 Use eval-sexp-add-defvars.
1778 (eval-sexp-add-defvars): New fun.
1780 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1782 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1784 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1785 than the internal `byte-compile-lambda'.
1786 (defmethod): Don't hide code under quotes.
1787 (eieio-defmethod): New `code' argument.
1789 * emacs-lisp/eieio-comp.el: Remove.
1791 * emacs-lisp/edebug.el (edebug-eval-defun)
1792 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1793 (edebug-toggle): Avoid `eval'.
1795 * emacs-lisp/disass.el (disassemble-internal): Handle new
1797 (disassemble-1): Handle new byte codes.
1799 * emacs-lisp/cl.el (pushnew): Silence warning.
1801 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1802 (cl-byte-compile-throw): Remove.
1803 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1805 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1808 * emacs-lisp/cconv.el: New file.
1810 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1811 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1812 (byte-compile-initial-macro-environment):
1813 Handle declare-function here.
1814 (byte-compile--lexical-environment): New var.
1815 (byte-stack-ref, byte-stack-set, byte-discardN)
1816 (byte-discardN-preserve-tos): New lap codes.
1817 (byte-interactive-p): Don't use any more.
1818 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1820 (byte-compile-lapcode): Use them and handle new lap codes.
1821 (byte-compile-obsolete): Remove.
1822 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1823 (byte-compile-arglist-warn): Check late def of inlinable funs.
1824 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1825 since they should have been expanded by now.
1826 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1827 (byte-compile-from-buffer): Remove unused second arg.
1828 (byte-compile-preprocess): New function.
1829 (byte-compile-toplevel-file-form): New function to distinguish
1830 file-form calls from outside from file-form calls from hunk-handlers.
1831 (byte-compile-file-form): Simplify.
1832 (byte-compile-file-form-defsubst): Remove.
1833 (byte-compile-file-form-defmumble): Simplify now that
1834 byte-compile-lambda always returns a byte-code-function.
1835 (byte-compile): Preprocess.
1836 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1837 Remove, not used any more.
1838 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1839 (byte-compile-make-args-desc): New funs.
1840 (byte-compile-lambda): Handle lexical functions. Always return
1841 a byte-code-function.
1842 (byte-compile-reserved-constants): New var, to make up room for
1843 closed-over variables.
1844 (byte-compile-constants-vector): Obey it.
1845 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1846 (byte-compile-macroexpand-declare-function): New function.
1847 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1848 byte-code-functions.
1849 (byte-compile-form): Check obsolescence here.
1850 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1851 (byte-compile-variable-ref): Remove.
1852 (byte-compile-dynamic-variable-op): New fun.
1853 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1854 (byte-compile-variable-set): New funs.
1855 (byte-compile-discard): Add 2 args.
1856 (byte-compile-stack-ref, byte-compile-stack-set)
1857 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1858 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1859 macroexpand-all instead.
1860 (byte-compile-quote-form): Remove.
1861 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1862 (byte-compile-bind, byte-compile-unbind): New funs.
1863 (byte-compile-let): Handle let* and lexical binding.
1864 (byte-compile-let*): Remove.
1865 (byte-compile-catch, byte-compile-unwind-protect)
1866 (byte-compile-track-mouse, byte-compile-condition-case):
1867 Handle a new :fun-body form, used for lexical scoping.
1868 (byte-compile-save-window-excursion)
1869 (byte-compile-with-output-to-temp-buffer): Remove.
1870 (byte-compile-defun): Simplify.
1871 (byte-compile-stack-adjustment): New fun.
1872 (byte-compile-out): Use it.
1873 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1875 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1878 * emacs-lisp/byte-opt.el: Use lexical binding.
1879 (byte-inline-lapcode): Remove (to bytecomp).
1880 (byte-compile-inline-expand): Pay attention to inlining to/from
1881 lexically bound code.
1882 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1884 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1885 any more and don't call compiler-macros.
1886 (byte-compile-splice-in-already-compiled-code): Remove.
1887 (byte-code): Don't inline any more.
1888 (disassemble-offset): Receive `bytes' as argument rather than via
1890 (byte-compile-tag-number): Declare before first use.
1891 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1892 `return' even if make-spliceable.
1893 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1894 obsolete interactive-p.
1895 (byte-optimize-lapcode): Optimize new lap-codes.
1896 Don't trip up on new form of `byte-constant' lap code.
1898 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1900 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1902 * custom.el (custom-initialize-default, custom-declare-variable):
1905 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1907 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1908 (COMPILE_FIRST): Add macroexp and cconv.
1909 * makefile.w32-in: Mirror changes in Makefile.in.
1915 * vc/smerge-mode.el:
1916 * textmodes/bibtex-style.el:
1925 * emacs-lisp/smie.el:
1928 * abbrev.el: Use lexical binding.
1930 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1932 * info.el (info-display-manual): New function.
1934 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1938 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1940 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1941 an entry for that server in rcirc-authinfo. (Bug#8385)
1943 2011-03-31 Glenn Morris <rgm@gnu.org>
1945 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1947 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1949 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1951 * progmodes/python.el (python-default-interpreter)
1952 (python-python-command-args, python-jython-command-args)
1953 (python-which-shell, python-which-args, python-which-bufname)
1954 (python-file-queue, python-comint-output-filter-function)
1955 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1956 variables and functions.
1958 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1961 (completion-in-region-mode): New minor mode.
1962 (completion-in-region): Use it.
1963 (completion-in-region--data, completion-in-region-mode-map): New vars.
1964 (completion-in-region--postch): New function.
1965 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1967 (completion--capf-wrapper): New function.
1968 (completion-at-point): Use it to track well-behavedness of
1970 (completion-help-at-point): New command.
1972 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1974 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1975 syntax class to search for whitespace on a single line
1976 (Message-ID: <4D938140.4030905@redhat.com>).
1978 2011-03-30 Leo Liu <sdl.web@gmail.com>
1980 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1982 (edit-abbrevs-map): Bind them here.
1983 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1985 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1987 * allout.el (allout-hide-by-annotation, allout-flag-region):
1988 Reduce possibility of overlay leakage by making them volatile.
1990 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1991 hash is not shared between buffers. Mode initialization is
1992 responsible for giving it a useful starting value.
1993 (allout-item-span): Reduce possibility of overlay leakage by
1994 making them volatile.
1995 (allout-widgets-count-buttons-in-region): Add diagnostic function
1996 for tracking down button overlay leaks.
1998 2011-03-29 Leo Liu <sdl.web@gmail.com>
2000 * ido.el (ido-read-internal): Use the default history var
2001 minibuffer-history if no HISTORY is specified.
2003 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2005 * net/imap.el (imap-shell-open, imap-process-connection-type):
2006 Use imap-process-connection-type for 'shell' streams as well as
2007 Kerberos, SSL, other subprocesses.
2009 2011-03-28 Leo Liu <sdl.web@gmail.com>
2011 * abbrev.el (abbrev-table-empty-p): New function.
2012 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2013 nonempty ones. (Bug#5937)
2015 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2017 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2019 2011-03-27 Leo Liu <sdl.web@gmail.com>
2021 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2022 for foreground and background colors.
2023 (ansi-color-make-color-map): Adapt.
2025 2011-03-25 Leo Liu <sdl.web@gmail.com>
2027 * midnight.el (midnight-time-float): Remove. Note it calculates
2028 the microsecond component incorrectly and seconds-to-time does the
2030 Remove redundant (require 'timer).
2032 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2033 (ido-completions): Remove unused arguments. (Bug#8329)
2035 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * minibuffer.el (completion--flush-all-sorted-completions):
2038 Remove itself from hook.
2039 (completion-at-point): Let the functions perform the completion
2040 immediately and return nil or t.
2041 * comint.el (comint-dynamic-complete-functions): Now identical to
2042 completion-at-point-functions.
2043 (comint-dynamic-list-input-ring): Remove unused var `index'.
2044 (comint--match-partial-filename, comint--unquote&expand-filename):
2045 New funs, split from comint-match-partial-filename.
2046 (comint-dynamic-complete): Use completion-at-point.
2047 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2049 2011-03-24 Drew Adams <drew.adams@oracle.com>
2051 * thingatpt.el: Support `defun'.
2053 2011-03-23 Leo Liu <sdl.web@gmail.com>
2055 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2057 * help-mode.el (help-mode-finish): Tweak regexp.
2059 2011-03-23 Glenn Morris <rgm@gnu.org>
2061 * eshell/esh-opt.el (eshell-eval-using-options):
2062 Do not bind unused local variable `eshell-option-stub'.
2064 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2066 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2068 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2069 keymap variable in `with-no-warnings' to avoid a warning when the
2070 keymap has been already `defconst'ed.
2072 2011-03-22 Leo Liu <sdl.web@gmail.com>
2074 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2075 encode all chars in abbrevs; otherwise use emacs-mule or
2076 utf-8-emacs. (Bug#8308)
2078 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2080 * simple.el (backward-delete-char-untabify):
2081 Avoid warning about using `delete-backward-char'.
2083 * image.el (image-type-file-name-regexps): Make it variable.
2084 `imagemagick-register-types' modifies it, and the user may want
2085 to add new extensions for known image types.
2086 (imagemagick-register-types): Throw error if not using ImageMagick.
2088 2011-03-22 Leo Liu <sdl.web@gmail.com>
2090 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2091 located before rcirc-prompt-end-marker.
2092 (rcirc-complete): Error if point is not after rcirc prompt.
2093 Handle the case when table is nil.
2094 (rcirc-user-authenticated): Define to fix compiler warning.
2096 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2098 * custom.el (custom--inhibit-theme-enable): Make it affect only
2099 custom-theme-set-variables and custom-theme-set-faces.
2100 (provide-theme): Ignore custom--inhibit-theme-enable.
2101 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2102 (custom-enabling-themes): Delete variable.
2103 (enable-theme): Accept only loaded themes as arguments.
2104 Ignore the special custom-enabled-themes variable.
2105 (custom-enabled-themes): Forbid themes from setting this.
2106 Eliminate use of custom-enabling-themes.
2107 (custom-push-theme): Quote "changed" custom var entry.
2109 2011-03-21 Leo Liu <sdl.web@gmail.com>
2111 * ido.el (ido-read-internal): Add ido-selected to history instead
2114 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2116 * subr.el (deferred-action-list, deferred-action-function):
2119 2011-03-21 Leo Liu <sdl.web@gmail.com>
2121 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2122 change on 2011-02-13 (bug#8309).
2124 * minibuffer.el (read-file-name-function): Change default value.
2125 (read-file-name--defaults): Rename from read-file-name-defaults.
2126 (read-file-name-default): Rename from read-file-name.
2127 (read-file-name): Call read-file-name-function.
2129 2011-03-21 Glenn Morris <rgm@gnu.org>
2131 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2134 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2136 * cus-theme.el: Add missing provide statement.
2137 (customize-create-theme): Extract theme value correctly.
2138 (custom-theme-visit-theme): Autoload.
2139 (customize-create-theme): Prompt before inserting default faces.
2141 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2143 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2144 units and musical notes.
2146 2011-03-20 Leo <sdl.web@gmail.com>
2148 * ido.el (ido-read-internal): Use completing-read-default.
2149 (ido-completing-read): Fix compatibility with completing-read.
2151 2011-03-20 Christian Ohler <ohler@gnu.org>
2153 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2154 (ert-delete-all-tests): Use `called-interactively-p' rather than
2156 (ert--make-xrefs-region): Respect END.
2158 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2160 * dired-aux.el (dired-create-directory): Signal an error if the
2161 directory already exists (Bug#8246).
2163 * facemenu.el (list-colors-display): Call list-faces-display
2164 inside with-help-window.
2165 (list-colors-print): Use display property to align the final
2166 column, instead of checking window-width.
2168 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2170 * emerge.el (emerge-metachars): Separate value for ms-dos and
2172 (emerge-protect-metachars): Quote correctly for ms-dos and
2175 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2177 * info.el (info-initialize): Replace all uses of `:' with
2178 path-separator for compatibility with non-Unix systems.
2179 Cache quoting of path-separator. (Bug#8258)
2181 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2183 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2184 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2185 (mouse-avoidance-mode): Fix typos in docstrings.
2187 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2189 * startup.el (package-subdirectory-regexp): Move from package.el.
2190 Omit \\` and \\', and let callers add them.
2192 * emacs-lisp/package.el (package-strip-version)
2193 (package-load-all-descriptors): Add \\` and \\' to
2194 package-subdirectory-regexp before using it.
2195 (package-untar-buffer): New arg DIR; ensure that file untars only
2196 into this expected directory. Remove superfluous delete-region.
2197 (package-unpack): Caller changed.
2198 (package-tar-file-info): Use package-subdirectory-regexp.
2200 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2203 diff-mode-shared-map (bug#8284).
2204 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2206 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2208 * calendar/time-date.el (format-seconds): Use assoc instead of
2209 assoc-string, since assoc-string doesn't exist in XEmacs.
2211 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2213 * custom.el (custom-known-themes): Reflow docstring.
2214 (custom-theme-load-path): Fix typo in docstring.
2215 (load-theme): Fix typo in error message.
2216 (custom-available-themes, custom-variable-theme-value):
2217 Use `let', not `let*'.
2219 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2221 * calc/README: Mention inclusion of musical notes.
2223 * calc/calc-units.el (calc-lu-quant): Rename from
2224 `calc-logunits-quantity'.
2225 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2226 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2227 (calc-db): Rename from `calc-dblevel'.
2228 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2229 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2230 (calc-np): Rename from `calc-nplevel'.
2231 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2232 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2233 (calc-lu-plus): Rename from `calc-logunits-add'.
2234 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2235 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2236 (calc-lu-minus): Rename from `calc-logunits-sub'.
2237 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2238 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2239 (calc-lu-times): Rename from `calc-logunits-mul'.
2240 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2241 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2242 (calc-lu-divide): Rename from `calc-logunits-div'.
2243 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2244 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2246 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2247 functions being autoloaded.
2249 * calc/calc.el (calc-lu-power-reference): Rename from
2250 `calc-logunits-power-reference'.
2251 (calc-lu-field-reference): Rename from
2252 `calc-logunits-field-reference'.
2254 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2256 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2258 * minibuffer.el (completion-all-sorted-completions):
2259 Use :completion-cycle-penalty text property if present.
2261 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2263 * allout.el (allout-yank-processing): Adjust for new rebulleting
2264 regime so bullet being yanked is used without prompting the user
2267 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2269 * startup.el (command-line): Warn the user that _emacs is deprecated.
2271 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2273 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2274 (delphi-verbose, delphi-comment-face, delphi-string-face)
2275 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2276 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2277 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2278 (delphi-new-comment-line, delphi-font-lock-defaults)
2279 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2280 Fix typos in docstrings.
2282 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2284 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2285 Invert the roles of character and string values for INSTEAD, so a
2286 string is used for the more common case of a defaulting prompt.
2288 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * progmodes/ruby-mode.el (ruby-backward-sexp):
2291 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2292 * play/gamegrid.el (gamegrid-make-face):
2293 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2294 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2295 * notifications.el (notifications-notify):
2296 * net/xesam.el (xesam-search-engines):
2297 * net/quickurl.el (quickurl-list-insert):
2298 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2300 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2302 * startup.el (command-line): Update package subdirectory regexp.
2304 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * allout.el (allout-abbreviate-flattened-numbering)
2307 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2309 * subr.el (read-char-choice): Only show the cursor after the prompt,
2310 not after the answer.
2312 2011-03-15 Kevin Ryde <user42@zip.com.au>
2314 * help-fns.el (variable-at-point): Skip leading quotes, if any
2317 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2322 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2324 * shell.el (shell): When called interactively, offer to change the
2325 shell file name on remote hosts.
2327 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2329 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2330 integration for LDAP parameters. The host, base, user or binddn,
2331 and secret tokens can be specified in a netrc file, for instance.
2332 This is optional because an `auth-source' parameter must be
2333 specified in the search attributes.
2335 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2337 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2339 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2341 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2342 into declaration. Remove redundant and harmful binding.
2344 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2346 * files.el (file-ownership-preserved-p): Pass `integer' as an
2347 explicit 2nd argument to `file-attributes'. If the file's owner
2348 is the Administrators group on Windows, and the current user is
2349 Administrator, consider that a match.
2351 * server.el (server-ensure-safe-dir): Consider server directory
2352 safe on MS-Windows if its owner is the Administrators group while
2353 the current Emacs user is Administrator. Use `=' to compare
2354 numerical UIDs, since they could be integers or floats.
2356 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2358 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2360 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2362 Sync with Tramp 2.2.1.
2364 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2366 * net/trampver.el: Update release number.
2368 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2370 * progmodes/compile.el (compilation--previous-directory): Fix up
2371 various nil/dead-marker mismatches (bug#8014).
2372 (compilation-directory-properties, compilation-error-properties):
2373 Don't call it at a position past the one we're about to change.
2375 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2376 Disable obsolescence warnings in the file that declares it.
2378 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2380 * allout-widgets.el (allout-widgets-tally):
2381 Initialize allout-widgets-tally as a hash table rather than nil to
2382 prevent mode-line redisplay warnings. Also, clarify the module
2383 description and fix a comment typo.
2385 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2387 * help-fns.el (describe-variable): Don't complete keywords.
2388 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2390 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2392 * emacs-lisp/package.el (package-version-join): Impose a standard
2393 string representation for pre/alpha/beta version lists.
2394 (package-unpack-single): Standardize the directory name by passing
2395 it through package-version-join.
2396 (package-strip-rcs-id): Accept any version string that does not
2397 signal an error in version-to-list.
2399 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2401 * simple.el (delete-trailing-whitespace): Return nil for the
2402 benefit of `write-file-functions'.
2404 2011-03-10 Glenn Morris <rgm@gnu.org>
2406 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2408 * vc/vc-git.el (vc-git-program): New option.
2409 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2410 (vc-git--call): Use it.
2412 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2414 * cus-edit.el (Custom-newline): If no button at point, look
2415 for a subgroup button at start-of-line. (Bug#2298)
2417 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2419 2011-03-10 Julien Danjou <julien@danjou.info>
2421 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2422 `cursor-type' is nil.
2424 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2426 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2428 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2430 * allout.el Summary: Change so yank of distinctive-bullet items
2431 preserves the existing header prefix, rebulleting it if necessary,
2432 rather than replacing it. This is necessary for proper operation
2433 of cooperative addons like allout-widgets.
2434 (allout-make-topic-prefix, allout-rebullet-heading): Change
2435 SOLICIT arg to INSTEAD, and interpret additionally a string value
2436 as alternate bullet to be used, instead of prompting the user for
2439 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2441 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2442 Do not use `tramp-file-name-port', because this returns also
2443 `tramp-default-port'.
2445 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2447 * net/rcirc.el (rcirc-handler-001): Remove useless
2448 with-rcirc-process-buffer.
2449 (rcirc-check-auth-status): Swap arguments to string-match.
2451 2011-03-09 Glenn Morris <rgm@gnu.org>
2453 * shell.el (shell-mode):
2454 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2456 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2457 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2459 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2461 * emacs-lisp/package.el (package-refresh-contents)
2462 (package-menu-execute): Use condition-case-no-debug.
2464 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2466 * simple.el (shell-command-to-string): Use `process-file'.
2468 * emacs-lisp/package.el (package-tar-file-info): Handle also
2471 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2472 Use `equal' for upload base check.
2474 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2476 * textmodes/texinfo.el (texinfo-environments):
2477 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2479 2011-03-08 Glenn Morris <rgm@gnu.org>
2481 * cus-start.el (cursor-in-non-selected-windows):
2482 Fix :set quoting oddness. (Bug#8192)
2484 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2485 in some setf expressions. (Bug#2159)
2487 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2489 * custom.el (custom-available-themes): Return themes in
2492 See ChangeLog.15 for earlier changes.
2498 Copyright (C) 2011 Free Software Foundation, Inc.
2500 This file is part of GNU Emacs.
2502 GNU Emacs is free software: you can redistribute it and/or modify
2503 it under the terms of the GNU General Public License as published by
2504 the Free Software Foundation, either version 3 of the License, or
2505 (at your option) any later version.
2507 GNU Emacs is distributed in the hope that it will be useful,
2508 but WITHOUT ANY WARRANTY; without even the implied warranty of
2509 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2510 GNU General Public License for more details.
2512 You should have received a copy of the GNU General Public License
2513 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.