1 2011-05-12 Eli Zaretskii <eliz@gnu.org>
3 * smerge-mode.el (smerge-resolve): Use null-device rather than a
6 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13 * progmodes/which-func.el (which-function):
14 Use add-log-current-defun instead of add-log-current-defun-function,
15 which might not be defined (Bug#8260).
17 2011-05-12 Glenn Morris <rgm@gnu.org>
19 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20 Let byte-compile-initial-macro-environment always take precedence.
22 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24 * net/rcirc.el: Add support for SSL/TLS connections.
25 (rcirc-server-alist): New field `encryption'.
26 (rcirc): Check `encryption' settings.
27 (rcirc-connect): New arg `encryption'. Use open-network-stream.
28 Merge make-local-variable into `set'.
29 (rcirc--connection-open-p): New function.
30 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
31 the process is not a network process (e.g. running gnutls-cli).
32 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
33 Make rcirc-(en|de)code-coding-system local here.
34 (rcirc-mode): Merge make-local-variable into `set'.
35 (rcirc-parent-buffer): Make permanent buffer-local.
36 (rcirc-multiline-minor-mode): Don't do it here.
37 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
38 there's no server buffer.
40 2011-05-11 Glenn Morris <rgm@gnu.org>
42 * newcomment.el (comment-kill): Prefix "unused" local.
44 * term/w32console.el (get-screen-color): Declare.
46 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
47 Handle symbol elements of byte-compile-initial-macro-environment.
49 2011-05-10 Leo Liu <sdl.web@gmail.com>
51 * bookmark.el (bookmark-bmenu-mode-map):
52 Bind bookmark-bmenu-search to `/'.
54 * mail/footnote.el: Convert to utf-8 encoding.
55 (footnote-unicode-string, footnote-unicode-regexp): New variable.
56 (Footnote-unicode): New function.
57 (footnote-style-alist): Add unicode style to the list.
58 (footnote-style): Doc fix.
60 2011-05-10 Glenn Morris <rgm@gnu.org>
61 Stefan Monnier <monnier@iro.umontreal.ca>
63 * files.el (hack-one-local-variable-eval-safep):
64 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
66 2011-05-10 Glenn Morris <rgm@gnu.org>
68 * calendar/diary-lib.el (diary-list-entries-hook)
69 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
70 (diary-nongregorian-marking-hook, diary-list-entries)
71 (diary-include-other-diary-files, diary-mark-entries)
72 (diary-mark-included-diary-files): Doc fixes.
74 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
76 * misc.el: Require tabulated-list.el during compilation.
78 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
80 * progmodes/compile.el (compilation-start):
81 Run compilation-filter-hook for the async case too.
82 (compilation-filter-hook): Doc fix.
84 2011-05-09 Deniz Dogan <deniz@dogan.se>
86 * wdired.el: Remove outdated installation comment. Fix usage
89 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
91 * misc.el: Implement new command `list-dynamic-libraries'.
92 (list-dynamic-libraries--loaded-only-p): New variable.
93 (list-dynamic-libraries--refresh): New function.
94 (list-dynamic-libraries): New command.
96 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
98 * progmodes/compile.el (compilation-error-regexp-alist-alist):
99 Fix the ant regexp to handle end-line and end-column info from jikes.
100 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
101 higher priority to avoid clobbering by gnu.
103 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
105 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
106 if the face has existing theme settings (Bug#8454).
108 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
110 * progmodes/perl-mode.el (perl-imenu-generic-expression):
111 Only match variables declared via `my' or `our' (Bug#8261).
113 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
114 special file names `.' and `..' (Bug#8259).
116 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
118 * progmodes/grep.el (grep-mode-font-lock-keywords):
119 Remove buffer-changing entries.
120 (grep-filter): New function.
121 (grep-mode): Add it to compilation-filter-hook.
123 * progmodes/compile.el (compilation-filter-hook)
124 (compilation-filter-start): New defvars.
125 (compilation-filter): Call compilation-filter-hook prior to
126 updating the process mark.
128 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
130 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
132 2011-05-07 Eli Zaretskii <eliz@gnu.org>
134 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
135 mailclient-send-it even if window-system is nil. (Bug#8595)
137 * term/w32console.el (terminal-init-w32console):
138 Call get-screen-color and use its output to set the frame
139 background-mode. (Bug#8597)
141 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
143 Make bytecomp.el understand that defmethod defines funs (bug#8631).
144 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
146 (defgeneric, eieio--defmethod): Use them.
147 (eieio-defgeneric): Remove.
148 (defmethod): Call defgeneric in a way visible to the byte-compiler.
150 2011-05-07 Glenn Morris <rgm@gnu.org>
152 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
153 Use let rather than let*.
154 (timeclock-find-discrep): Remove unused local.
156 * calendar/diary-lib.el (diary-comment-start): Doc fix.
158 * calendar/appt.el (appt-time-msg-list): Doc fix.
160 2011-05-06 Noah Friedman <friedman@splode.com>
162 * apropos.el (apropos-print-doc): Only use
163 emacs-lisp-docstring-fill-column when it is bound to an integer,
164 per that variable's documentation.
166 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
168 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
169 and warnings are not silently discarded (e.g. use -d instead of -P).
171 2011-05-06 Glenn Morris <rgm@gnu.org>
173 * calendar/appt.el (appt-message-warning-time): Doc fix.
174 (appt-warning-time-regexp): New option.
175 (appt-make-list): Respect appt-message-warning-time.
177 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
179 (diary-add-to-list): Strip comments from the displayed string.
180 (diary-mode): Set comment-start and comment-end.
182 * vc/diff-mode.el (smerge-refine-subst): Declare.
183 (diff-refine-hunk): Don't require smerge-mode when compiling.
185 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
187 * simple.el (list-processes): Return nil as the docstring says.
189 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
191 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
193 (ange-ftp-write-region, ange-ftp-insert-file-contents)
194 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
195 determining of binary transfer. (Bug#7383)
197 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
199 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
200 Fix port computation bug. (Bug#8618)
202 2011-05-05 Glenn Morris <rgm@gnu.org>
204 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
206 * simple.el (shell-dynamic-complete-functions)
207 (comint-dynamic-complete-functions): Declare.
209 * net/network-stream.el (gnutls-negotiate):
210 * simple.el (tabulated-list-print): Fix declarations.
212 * progmodes/gud.el (syntax-symbol, syntax-point):
213 Remove unnecessary and incorrect declarations.
215 * emacs-lisp/check-declare.el (check-declare-scan):
216 Handle byte-compile-initial-macro-environment in bytecomp.el
218 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
220 Fix earlier half-done eieio-defmethod change (bug#8338).
221 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
222 Streamline and change calling convention.
223 (defmethod): Adjust accordingly and simplify.
224 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
225 new eieio--defmethod.
226 (slot-boundp): Minor CSE simplification.
228 2011-05-05 Milan Zamazal <pdm@zamazal.org>
230 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
231 (glasses-make-readable): Use glasses-separate-capital-groups.
233 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
235 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
236 (warning-series): Doc fix.
237 (display-warning): Don't try to create the buffer if we just found it.
239 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
241 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
242 (autoload-find-generated-file): New function.
243 (generate-file-autoloads): Bind generated-autoload-file to
245 (update-file-autoloads, update-directory-autoloads):
246 Use autoload-find-generated-file. If called interactively, prompt for
247 output file (Bug#7989).
248 (batch-update-autoloads): Doc fix.
250 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
252 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
254 2011-05-04 Glenn Morris <rgm@gnu.org>
256 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
257 function, so it follows changes in calendar-date-style.
258 (diary-fancy-date-matcher): New function.
259 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
260 (diary-fancy-font-lock-fontify-region-function):
261 Use diary-fancy-date-pattern as a function.
263 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
264 non-numbers for `year' etc pseudo-variables. (Bug#8583)
266 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
268 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
269 instead of positional arguments. Allow :keylist and :crlfiles
271 (open-gnutls-stream): Call it.
273 * net/network-stream.el (network-stream-open-starttls): Adjust to
274 call `gnutls-negotiate' with :process and :hostname arguments.
276 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
278 * minibuffer.el (completion--message): New function.
279 (completion--do-completion, minibuffer-complete)
280 (minibuffer-force-complete, minibuffer-complete-word): Use it.
281 (completion--do-completion): Don't ignore completion-auto-help when in
284 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
285 internal encoding (e.g. tibetan zero is not whitespace).
286 (global-whitespace-mode): Prefer save-current-buffer.
287 (whitespace-trailing-regexp): Remove useless save-match-data.
288 (whitespace-empty-at-bob-regexp): Minor simplification.
290 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
292 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
294 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
296 * textmodes/ispell.el (ispell-add-per-file-word-list):
297 Use `concat' to create string for insertion.
299 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
301 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
302 Avoid open-line which runs post-self-insert-hook.
303 (bibtex-fill-entry): Remove unused `end' var.
305 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
307 * textmodes/ispell.el (ispell-add-per-file-word-list):
308 Protect against `nil' value of `comment-start' (Bug#8579).
310 2011-05-03 Leo Liu <sdl.web@gmail.com>
312 * isearch.el (isearch-yank-pop): New command.
313 (isearch-mode-map): Bind it to `M-y'.
314 (isearch-forward): Mention it.
316 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
318 * simple.el (minibuffer-complete-shell-command): Remove.
319 (minibuffer-local-shell-command-map): Use completion-at-point.
320 (read-shell-command): Setup completion vars here instead.
321 (read-expression-map): Bind TAB to symbol completion.
323 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
324 error directly rather via storing it into `results'.
326 2011-05-02 Leo Liu <sdl.web@gmail.com>
328 * vc/diff.el: Fix description.
330 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
332 * server.el (server-eval-at): New function.
334 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
336 * net/network-stream.el (open-network-stream): Take a :nowait
337 parameter and pass it on to `make-network-process'.
338 (network-stream-open-plain): Ditto.
340 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
342 * faces.el (face-spec-set-match-display): Don't match toolkit
343 options on terminal frames.
345 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
347 * progmodes/pascal.el: Use lexical binding.
348 (pascal-mode-map): Remove author preferences.
350 * pcomplete.el (pcomplete-std-complete): Don't abuse
353 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
355 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
356 removing code that has been dead since 1991 or so.
358 * startup.el (command-line): When warning about "_emacs", use a
359 delayed warning to allow the user to filter it out.
361 2011-04-28 Deniz Dogan <deniz@dogan.se>
363 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
366 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
368 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
369 aren't any completions at point.
371 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
373 * subr.el (display-delayed-warnings): New function.
374 (delayed-warnings-hook): New variable.
376 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
378 * minibuffer.el (completion-at-point, completion-help-at-point):
379 Don't presume that a given completion-at-point-function will always
380 use the same calling convention.
382 * pcomplete.el (pcomplete-completions-at-point):
383 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
384 pcomplete-seen is non-nil.
385 (pcomplete-comint-setup): Also recognize the new comint/shell
386 completion functions.
387 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
388 pcomplete-seen is non-nil.
390 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
392 * calendar/icalendar.el (diary-lib): Add require statement.
393 (icalendar--create-uid): Read out a uid from a text-property on
394 the first character in the entry. This allows for code to add its
395 own uid to the entry.
396 (icalendar--convert-float-to-ical): Add export of
397 `diary-float'-entries save for those with the optional DAY
400 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
402 * subr.el (shell-quote-argument): Use alternate escaping strategy
403 when we spot a variable reference in a string.
405 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
407 * cus-start.el (all): Define customization for debug-on-event.
409 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
411 * subr.el (shell-quote-argument): Escape correctly under Windows.
413 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
415 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
417 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
419 * net/tramp.el (tramp-process-actions): Add POS argument.
420 Delete region between POS and (pos).
422 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
423 Use `nil' position in `tramp-process-actions' call.
424 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
426 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
427 position in `tramp-process-actions' call.
429 * net/trampver.el: Update release number.
431 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
433 * custom.el (defcustom): Obey lexical-binding.
435 Fix octave-inf completion problems reported by Alexander Klimov.
436 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
437 Inherit from octave-mode-syntax-table.
438 (inferior-octave-mode): Set info-lookup-mode.
439 (inferior-octave-completion-at-point): New function.
440 (inferior-octave-complete): Use it and completion-in-region.
441 (inferior-octave-dynamic-complete-functions): Use it as well, and use
442 comint-filename-completion.
443 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
444 symbol elements which shouldn't be word elements.
445 (octave-font-lock-keywords, octave-beginning-of-defun)
446 (octave-function-header-regexp): Adjust regexps accordingly.
447 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
449 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
451 * net/gnutls.el (gnutls-errorp): Declare before first use.
453 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
455 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
456 verify-error, and verify-hostname-error parameters. Check whether
457 default trustfile exists before going to use it. Add missing
458 argument to gnutls-message-maybe call. Return return value.
459 Reported by Claudio Bley <claudio.bley@gmail.com>.
460 (open-gnutls-stream): Add usage example.
462 * net/network-stream.el (network-stream-open-starttls): Give host
463 parameter to `gnutls-negotiate'.
464 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
465 * subr.el (shell-quote-argument): Escape correctly under Windows.
467 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
469 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
470 Use correct match group (bug#8438).
472 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
474 * emacs-lisp/package.el (package-built-in-p): Fix typo.
475 (package-menu--generate): New arg specifying packages to show.
476 (package-menu-refresh, package-menu-execute, list-packages):
478 (package-show-package-list): New function, replacing deleted
479 package--list-packages (renamed because it is non-internal).
481 * finder.el (finder-list-matches): Use package-show-package-list
482 instead of deleted package--list-packages.
484 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
485 Based on a previous implementation by Juanma Barranquero (Bug#8366).
486 (vc-annotate-mode-map): Bind it to RET.
488 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
490 * progmodes/etags.el (next-file): Don't use set-buffer to change
493 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
495 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
497 * apropos.el (apropos-label-face): Avoid variable-pitch face.
498 (apropos-accumulator): Doc fix.
499 (apropos-function, apropos-macro, apropos-command)
500 (apropos-variable, apropos-face, apropos-group, apropos-widget)
501 (apropos-plist): Add face property.
502 (apropos-symbols-internal): Fix indentation.
503 (apropos-print): Simplify help, and recognize apropos-multi-type.
504 (apropos-print-doc): Use button-type-get to extract the button's
505 face property. Fill docstring (Bug#8352).
507 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
509 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
511 * play/mpuz.el (mpuz-silent): Doc fix.
512 (mpuz-mode-map): Use mapc.
513 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
514 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
515 Fix typos in docstrings.
517 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
518 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
520 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
522 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
524 * minibuffer.el (completion--do-completion): Avoid the "Next char
525 not unique" prompt if icomplete-mode is enabled (Bug#5849).
527 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
528 mouse-2 into unread-command-events, it is interpreted correctly.
530 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
531 (image-toggle-display): Doc fix.
533 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
535 * textmodes/page.el (what-page): Use line-number-at-pos to
536 calculate line number (Bug#6825).
538 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
540 * eshell/esh-mode.el (find-tag-interactive): Declare function.
541 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
542 Pass argument NO-DEFAULT to `find-tag-interactive'.
544 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
546 Lexical-binding cleanup.
548 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
549 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
550 * progmodes/ada-prj.el (ada-prj-initialize-values)
551 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
552 (ada-prj-show-value):
553 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
554 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
555 (antlr-invalidate-context-cache, antlr-options-menu-filter)
556 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
557 * progmodes/bug-reference.el (bug-reference-push-button):
558 * progmodes/fortran.el (fortran-line-length):
559 * progmodes/glasses.el (glasses-change):
560 * progmodes/octave-mod.el (octave-fill-paragraph):
561 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
562 (python-pdbtrack-grub-for-buffer, python-sentinel):
563 * progmodes/sql.el (sql-save-connection):
564 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
565 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
566 Mark unused parameters.
568 * progmodes/compile.el (compilation--flush-directory-cache)
569 (compilation--flush-parse, compile-internal): Mark unused parameters.
570 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
571 (compilation-next-error-function): Remove unused variable `timestamp'.
573 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
574 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
576 * progmodes/dcl-mode.el (dcl-end-of-command):
577 Remove unused variable `start'.
578 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
579 (dcl-option-value-basic, dcl-option-value-offset)
580 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
581 Mark unused parameters.
582 (dcl-save-local-variable): Remove unused variable `val'.
585 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
586 Mark unused parameters.
587 (delphi-ignore-changes): Move before first use.
588 (delphi-charset-token-at): Remove unused variable `start'.
589 (delphi-else-start): Remove unused variable `if-count'.
590 (delphi-comment-block-start, delphi-comment-block-end):
591 Remove unused variable `kind'.
592 (delphi-indent-line): Remove unused variable `new-point'.
594 * progmodes/ebrowse.el (ebrowse-files-list)
595 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
596 Mark unused parameters. Don't quote `lambda'.
597 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
598 Don't quote `lambda'.
599 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
600 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
601 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
602 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
604 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
605 (ebrowse-view/find-file-and-search-pattern)
606 (ebrowse-view/find-member-declaration/definition):
607 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
608 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
609 Rename parameter PREFIX-ARG to PREFIX.
610 (ebrowse-tags-read-name): Remove unused variables `start' and
612 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
615 * progmodes/etags.el (local-find-tag-hook): Declare.
616 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
617 Mark unused parameters.
619 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
620 (executable-interpret): Mark unused parameter.
622 * progmodes/flymake.el (flymake-process-sentinel)
623 (flymake-after-change-function)
624 (flymake-create-temp-with-folder-structure)
625 (flymake-get-include-dirs-dot): Mark unused parameters.
626 (flymake-safe-delete-directory): Remove unused variable `err'.
628 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
629 (speedbar-timer-fn, speedbar-line-text)
630 (speedbar-change-expand-button-char, speedbar-delete-subblock)
631 (speedbar-center-buffer-smartly): Declare functions.
632 (gdb-find-watch-expression): Remove unused variable `array'.
633 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
634 (gdb-starting): Mark unused parameters.
635 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
636 (gdb-table-string): Remove unused variable `res'.
637 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
638 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
639 (gdb-display-buffer): Remove unused variable `cur-size'.
641 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
642 allow lexical-binding compilation.
643 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
644 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
645 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
646 Mark unused parameters.
647 (gud-gdb-marker-filter): Remove unused variable `match'.
648 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
649 lambda expressions and funcall them, instead of using `fset'.
651 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
652 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
654 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
655 variable `header-beg'; use `let'.
657 * progmodes/icon.el (indent-icon-exp): Remove unused variables
658 `restart', `last-sexp' and `at-do'.
660 * progmodes/js.el (js--debug): Mark unused parameter.
661 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
662 (js--splice-into-items): Remove unused variable `item'.
663 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
665 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
666 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
667 (makefile-complete): Remove unused variable `try'.
668 (makefile-fill-paragraph, makefile-match-function-end):
669 Mark unused parameters.
671 * progmodes/octave-inf.el (inferior-octave-complete):
672 Remove unused variable `proc'.
673 (inferior-octave-output-digest): Mark unused parameter.
675 * progmodes/perl-mode.el (perl-calculate-indent):
676 Remove unused variable `err'.
678 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
679 (prolog-indent-line): Mark unused parameters.
680 (prolog-indent-line): Remove unused variable `beg'.
682 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
683 (reporter-dont-compact-list): Declare.
685 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
686 Remove unused variable `char'.
687 (sh-debug): Mark unused parameter.
688 (sh-get-indent-info): Remove unused variable `start'.
689 (sh-calculate-indent): Remove unused variable `var'.
691 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
692 (simula-electric-keyword): Remove unused variable `null'.
693 (simula-search-backward, simula-search-forward): Remove unused
694 variables `begin' and `end'.
696 * progmodes/vera-mode.el (vera-guess-basic-syntax):
697 Remove unused variable `pos'.
698 (vera-electric-tab, vera-comment-uncomment-region):
699 Mark unused parameters.
700 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
702 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
704 * emacs-lisp/package.el (package--builtins, package-alist)
705 (package-load-descriptor, package-built-in-p, package-activate)
706 (define-package, package-installed-p)
707 (package-compute-transaction, package-buffer-info)
708 (package--push): Doc fix. Distinguish more clearly between
709 version strings and version lists.
711 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
713 Lexical-binding cleanup.
715 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
716 (5x5-make-mutate-best):
717 * play/fortune.el (fortune-in-buffer):
718 * play/gomoku.el (gomoku-init-display):
719 * play/solitaire.el (solitaire, solitaire-do-check):
720 * play/tetris.el (tetris-default-update-speed-function):
721 Mark unused parameters.
723 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
724 (bubbles--shift): Remove unused variable `char-org'.
725 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
726 (bubbles--show-images): Remove unused variable `char'.
728 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
729 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
730 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
731 (decipher-analyze-buffer): Use ?\s.
732 (decipher-make-checkpoint): Remove unused variable `mapping'.
734 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
736 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
737 Remove unused variable `result'; use `let'.
739 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
740 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
741 (gametree-children-shown-p, gametree-compute-reduced-score):
744 * play/handwrite.el (ps-lpr-switches): Declare.
745 (handwrite): Remove unused variables `pmin' and `lastp'.
747 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
749 * play/landmark.el (landmark-init-display)
750 (landmark-update-naught-weights): Mark unused parameters.
751 (landmark-y): Remove unused variable `noise'. Simplify.
752 (landmark-human-plays): Remove unused variable `score'.
754 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
755 (mpuz-try-proposal): Remove unused variable `game'.
757 * play/zone.el (life-patterns): Declare.
759 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
761 * vc/vc.el (ediff-vc-internal): Declare function.
763 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
765 * shell.el: Use lexical-binding and std completion UI.
766 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
767 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
768 comint-preoutput-filter-functions rather than on
769 comint-output-filter-functions.
770 (shell-command-completion, shell--command-completion-data)
771 (shell-filename-completion, shell-environment-variable-completion)
772 (shell-c-a-p-replace-by-expanded-directory): New functions.
773 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
774 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
775 (shell-dynamic-complete-environment-variable): Use them.
776 (shell-dynamic-complete-as-environment-variable)
777 (shell-dynamic-complete-as-command): Remove.
778 (shell-match-partial-variable): Match past point.
779 * comint.el: Clean up use of completion-at-point-functions.
780 (comint-completion-at-point): New function.
781 (comint-mode): Use it completion-at-point-functions.
782 (comint-dynamic-complete): Make it obsolete.
783 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
784 (comint-c-a-p-replace-by-expanded-history): New function.
785 (comint-dynamic-complete-functions)
786 (comint-replace-by-expanded-history): Use it.
787 * minibuffer.el (completion-table-with-terminator): Allow dynamic
788 termination strings. Try harder to avoid second try-completion.
789 (completion-in-region-mode-map): Disable bindings that don't work yet.
791 * comint.el: Use lexical-binding. Require CL.
792 (comint-dynamic-complete-functions): Use comint-filename-completion.
793 (comint-completion-addsuffix): Tweak custom type.
794 (comint-filename-completion, comint--common-suffix)
795 (comint--common-quoted-suffix, comint--table-subvert)
796 (comint--complete-file-name-data): New functions.
797 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
798 (comint-dynamic-list-filename-completions): Use them.
799 (comint-dynamic-simple-complete): Make obsolete.
801 * minibuffer.el (completion-in-region-mode):
802 Keep completion-in-region-mode--predicate global.
803 (completion-in-region--postch):
804 Assume completion-in-region-mode--predicate is not null.
806 * progmodes/flymake.el (flymake-start-syntax-check-process):
807 Obey `dir'. Simplify.
809 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
810 we're in VC after all.
812 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
814 * vc/vc.el (vc-diff-build-argument-list-internal)
815 (vc-version-ediff, vc-ediff): New commands.
816 (vc-version-diff): Use vc-diff-build-argument-list-internal.
818 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
820 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
823 * obsolete/erc-hecomplete.el: Make obsolete.
824 * obsolete/: Standardize obsolescence info in the header.
826 2011-04-20 Glenn Morris <rgm@gnu.org>
828 * calendar/solar.el (solar-horizontal-coordinates):
829 Use the longitude argument rather than `calendar-longitude'.
830 (solar-date-next-longitude): Remove unused locals.
832 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
834 * whitespace.el: New version 13.2.1.
836 2011-04-20 felix <EmacsWiki> (tiny change)
838 * whitespace.el (global-whitespace-mode): keep highlight when
839 switching between major modes on a file.
841 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
843 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
844 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
845 multi-line comments as well.
847 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
849 Lexical-binding cleanup.
851 * arc-mode.el (archive-mode-revert):
852 * cmuscheme.el (scheme-interactively-start-process):
853 * custom.el (custom-initialize-delay):
854 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
855 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
856 * emacs-lock.el (emacs-lock-clear-sentinel):
857 * ezimage.el (defezimage):
858 * follow.el (follow-avoid-tail-recenter):
859 * fringe.el (set-fringe-mode-1):
860 * generic-x.el (bat-generic-mode-compile):
861 * help-mode.el (help-info-variable, help-do-xref)
862 (help-mode-revert-buffer):
863 * help.el (view-emacs-todo):
864 * iswitchb.el (iswitchb-completion-help):
865 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
866 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
867 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
868 * locate.el (locate-update):
869 * longlines.el (longlines-encode-region)
870 (longlines-after-change-function):
871 * outline.el (outline-isearch-open-invisible):
872 * ps-def.el (declare-function, charset-dimension, char-width)
874 * ps-mule.el (ps-mule-plot-string):
875 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
876 (recentf-edit-list-select, recentf-edit-list-validate)
877 (recentf-open-files-action):
878 * rect.el (delete-whitespace-rectangle-line)
879 (rectangle-number-line-callback):
880 * register.el (window-configuration-to-register)
881 (frame-configuration-to-register):
882 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
883 * select.el (xselect-convert-to-string, xselect-convert-to-length)
884 (xselect-convert-to-targets, xselect-convert-to-delete)
885 (xselect-convert-to-filename, xselect-convert-to-charpos)
886 (xselect-convert-to-lineno, xselect-convert-to-colno)
887 (xselect-convert-to-os, xselect-convert-to-host)
888 (xselect-convert-to-user, xselect-convert-to-class)
889 (xselect-convert-to-name, xselect-convert-to-integer)
890 (xselect-convert-to-atom, xselect-convert-to-identity):
891 * subr.el (declare, ignore, process-kill-without-query)
892 (text-clone-maintain):
893 * terminal.el (te-get-char, te-tic-sentinel):
894 * tool-bar.el (tool-bar-make-keymap):
895 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
896 * type-break.el (type-break-mode, type-break-noninteractive-query):
897 * view.el (View-back-to-mark):
898 * wid-browse.el (widget-browse-action, widget-browse-widget)
899 (widget-browse-widgets, widget-browse-sexp):
900 * widget.el (define-widget-keywords):
901 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
902 Mark unused parameters.
904 * align.el (align-adjust-col-for-rule): Mark unused parameter.
905 (align-areas): Remove unused variable `look'.
906 (align-region): Remove unused variables `real-end' and `pos-list'.
908 * apropos.el (apropos-score-doc): Remove unused variable `i'.
910 * bindings.el (mode-line-modified, mode-line-remote):
911 Mark unused parameters.
912 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
914 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
915 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
917 * comint.el (comint-history-isearch-pop-state)
918 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
919 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
920 (comint-substitute-in-file-name): Doc fix.
922 * completion.el (cmpl-statistics-block): Mark unused parameter.
923 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
924 (save-completions-to-file, load-completions-from-file):
925 Remove unused local variable `e'.
927 * composite.el (compose-chars): Remove unused variable `len'.
928 (lgstring-insert-glyph): Remove unused variable `g'.
929 (compose-glyph-string): Remove unused variables `ascent',
930 `descent', `lbearing' and `rbearing'.
931 (compose-glyph-string-relative): Remove unused variables
932 `lbearing', `rbearing' and `wadjust'.
933 (compose-gstring-for-graphic): Remove unused variables `header',
934 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
935 (compose-gstring-for-terminal): Remove unused variables `header'
936 and `nchars'. Use `let', not `let*'.
938 * cus-edit.el (Custom-set, Custom-save, custom-reset)
939 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
940 (Custom-buffer-done, custom-buffer-create-internal)
941 (custom-browse-visibility-action, custom-browse-group-tag-action)
942 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
943 (widget-magic-mouse-down-action, custom-toggle-parent)
944 (custom-add-parent-links, custom-toggle-hide-variable)
945 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
946 (custom-toggle-hide-face, face, hook, custom-group-link-action)
947 (custom-face-menu-create, custom-variable-menu-create, get)
948 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
949 (custom-reset-standard-save-and-update): Remove unused variable `value'.
950 (customize-apropos): Remove unused variable `tests'.
951 (custom-group-value-create): Remove unused variable `hidden-p'.
952 (sort-fold-case): Declare.
954 * cus-theme.el (custom-reset-standard-faces-list)
955 (custom-reset-standard-variables-list): Declare.
956 (customize-create-theme, custom-theme-revert, custom-theme-write)
957 (custom-theme-choose-mode, customize-themes, custom-theme-save):
958 Mark unused parameters.
960 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
962 * delim-col.el (delimit-columns-max): Move defvar before first use.
964 * descr-text.el (describe-char-categories): Don't quote `lambda'.
965 (describe-char): Don't quote `lambda'. Mark unused parameter.
967 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
968 (auto-insert): Declare.
969 (desktop-restore-file-buffer): Rename desktop-* parameters;
971 (desktop-create-buffer): Rename desktop-* parameters and bind them.
972 (desktop-buffer): Rename desktop-* parameters.
974 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
975 (dframe-reposition-frame-xemacs, dframe-help-echo)
976 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
977 Mark unused parameters.
979 * dired-aux.el (backup-extract-version-start, overwrite-query)
980 (overwrite-backup-query, rename-regexp-query)
981 (rename-non-directory-query): Declare.
982 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
983 (dired-add-entry): Remove unused variable `orig-file-name'.
984 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
985 Use parameter PRESERVE-TIME instead of accessing dynamic variable
986 `dired-copy-preserve-time' directly.
987 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
988 (dired-insert-subdir-newpos): Rename unused variable `pos'.
990 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
991 (dired-virtual-revert, dired-make-relative-symlink):
992 Mark unused parameters.
993 (manual-program): Declare.
994 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
995 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
996 wrapped in `with-no-warnings' to avoid replacing one warning by another.
998 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1000 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1002 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1005 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1007 * electric.el (Electric-command-loop): Rename parameter
1008 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1010 * expand.el (expand-in-literal): Remove unused variable `here'.
1012 * facemenu.el (facemenu-add-new-color):
1013 Remove unused variable `docstring'.
1015 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1016 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1017 (face-attr-construct): Mark unused parameter. Doc fix.
1018 (read-color): Remove unused variable `hex-string'.
1020 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1021 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1022 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1023 (display-buffer-other-frame): Remove unused variable `old-window'.
1024 (kill-buffer-hook): Declare.
1025 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1026 Mark unused parameters.
1027 (after-find-file): Pass 1 to `auto-save-mode', not t.
1029 * files-x.el (auto-insert): Declare.
1030 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1032 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1033 variable `buf'. Mark unused parameter.
1034 (find-lisp-insert-directory): Mark unused parameter.
1036 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1037 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1038 (format-common-tail): Remove, unused.
1039 (format-deannotate-region): Remove unused variable `loc'.
1040 (format-annotate-region): Remove unused variable `p'.
1041 (format-annotate-single-property-change): Remove unused variables
1042 `default' and `tail'.
1044 * forms.el (read-file-filter): Declare.
1045 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1047 * frame.el (frame-creation-function-alist): Mark unused parameter.
1048 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1050 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1051 Remove unused parameters.
1052 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1053 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1055 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1056 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1057 (hfy-prepare-tag-map): Mark unused parameters.
1058 (htmlfontify-buffer): Use `called-interactively-p'.
1060 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1061 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1062 (ibuffer-do-occur): Mark unused parameters.
1063 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1064 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1066 * ibuffer.el: Don't quote `lambda'.
1067 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1068 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1069 Mark unused parameters.
1071 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1072 (ido-completing-read): Mark unused parameters.
1073 (ido-copy-current-word): Mark unused parameters;
1074 remove unused variable `name'.
1075 (ido-sort-merged-list): Remove unused parameter `dirs'.
1077 * ielm.el (ielm-input-sender): Mark unused parameter.
1078 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1079 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1080 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1081 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1082 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1084 * image-dired.el (image-dired-display-thumbs): Remove unused
1085 variables `curr-file' and `count'.
1086 (image-dired-remove-tag): Remove unused variable `start'.
1087 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1088 variable `curr-file'
1089 (image-dired-rotate-original): Remove unused variable `temp-file'.
1090 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1091 Remove unused variable `file'.
1092 (image-dired-gallery-generate): Remove unused variable `curr'.
1093 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1095 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1097 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1099 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1101 * isearch.el (minibuffer-history-symbol): Declare.
1102 (isearch-edit-string): Remove unused variable `err'.
1103 (isearch-message-prefix, isearch-message-suffix):
1104 Mark unused parameters.
1106 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1108 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1110 * makesum.el (double-column): Remove unused variable `cnt'.
1112 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1113 (ido-ignore-item-temp-list): Declare.
1115 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1116 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1117 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1118 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1121 * mouse-sel.el (mouse-extend-internal):
1122 Remove unused variable `orig-window-frame'.
1124 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1125 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1126 Move declarations before first use.
1127 (pcomplete-opt): Mark unused parameters; doc fix.
1129 * proced.el (proced-revert): Mark unused parameter.
1130 (proced-send-signal): Remove unused variable `err'.
1132 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1133 Rename parameter PREFIX-ARG to ARG.
1134 (ps-basic-plot-string, ps-basic-plot-whitespace):
1135 Mark unused parameters.
1137 * replace.el (replace-count): Define.
1138 (occur-revert-function): Mark unused parameters.
1139 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1140 (isearch-case-fold-search, isearch-string): Declare.
1141 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1142 bind `case-fold-search'. Remove unused variables `beg' and `end',
1144 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1145 COUNT and bind `replace-count'.
1146 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1149 * savehist.el (print-readably, print-string-length): Declare.
1151 * shadowfile.el (shadow-expand-cluster-in-file-name):
1152 Remove unused variable `cluster'.
1153 (shadow-copy-file): Remove unused variable `i'.
1154 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1155 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1156 (shadow-define-literal-group, shadow-define-regexp-group)
1157 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1159 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1160 (shell): Use `called-interactively-p'.
1161 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1163 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1164 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1165 (delete-backward-char): Remove unused variable `ocol'.
1166 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1167 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1168 (event-apply-hyper-modifier, event-apply-shift-modifier)
1169 (event-apply-control-modifier, event-apply-meta-modifier):
1170 Mark unused parameters.
1171 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1172 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1174 * speedbar.el (speedbar-ignored-directory-expressions)
1175 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1176 (speedbar-find-file, speedbar-dir-follow)
1177 (speedbar-directory-buttons-follow, speedbar-tag-find)
1178 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1179 (speedbar-buffers-line-directory, speedbar-buffer-click):
1180 Mark unused parameters.
1181 (speedbar-tag-file): Remove unused variable `mode'.
1182 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1184 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1186 * talk.el (talk): Remove unused variable `display'.
1188 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1189 (tar-write-region-annotate): Mark unused parameter.
1191 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1192 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1193 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1196 * time-stamp.el (time-stamp-string-preprocess):
1197 Remove unused variable `require-padding'.
1199 * tree-widget.el (widget-glyph-enable): Declare.
1200 (tree-widget-action): Mark unused parameter.
1202 * w32-fns.el (x-get-selection): Mark unused parameter.
1203 (autoload-make-program, generated-autoload-file): Declare.
1205 * wdired.el (wdired-revert): Mark unused parameters.
1206 (wdired-xcase-word): Remove unused variable `err'.
1208 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1209 (whitespace-help-scroll): Remove unused variable `data-help'.
1211 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1212 (widget-image-insert, widget-after-change, default)
1213 (widget-default-format-handler, widget-default-notify)
1214 (widget-default-prompt-value, widget-info-link-action)
1215 (widget-url-link-action, widget-function-link-action)
1216 (widget-variable-link-action, widget-file-link-action)
1217 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1218 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1219 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1220 (widget-insert-button-action, widget-delete-button-action, visibility)
1221 (widget-documentation-link-action, widget-documentation-string-action)
1222 (widget-const-prompt-value, widget-regexp-match, symbol)
1223 (widget-coding-system-prompt-value)
1224 (widget-key-sequence-value-to-external, sexp)
1225 (widget-sexp-value-to-internal, character, vector, cons)
1226 (widget-choice-prompt-value, widget-boolean-prompt-value)
1227 (widget-color--choose-action): Mark unused parameters.
1228 (widget-item-match-inline, widget-choice-match-inline)
1229 (widget-checklist-match, widget-checklist-match-inline)
1230 (widget-group-match): Rename parameter VALUES to VALS.
1231 (widget-field-value-set): Remove unused variable `size'.
1232 (widget-color-action): Remove unused variables `value' and `start'.
1234 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1235 variable `dir'. Doc fix.
1236 (windmove-find-other-window): Don't pass it.
1238 * window.el (count-windows): Mark unused parameter.
1239 (bw-adjust-window): Remove unused variable `err'.
1241 * woman.el (woman-file-name): Remove unused variable `default'.
1242 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1243 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1244 (global-font-lock-mode): Declare.
1245 (woman-decode-region): Mark unused parameter.
1246 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1248 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1249 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1250 (x-dnd-handle-moz-url): Remove unused variable `title'.
1251 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1253 * xml.el (xml-parse-tag, xml-parse-attlist):
1254 Remove unused variable `pos'.
1256 2011-04-19 Glenn Morris <rgm@gnu.org>
1258 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1259 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1260 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1261 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1262 * calendar/cal-html.el (cal-html-insert-minical):
1263 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1264 (calendar-mark-date-pattern):
1265 Prefix "unused" locals.
1267 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1268 optional argument `style'.
1270 * calendar/appt.el (appt-make-list):
1271 * calendar/cal-china.el (calendar-chinese-date-string):
1272 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1273 (diary-hebrew-yahrzeit):
1274 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1275 * calendar/calendar.el (calendar-generate-window):
1276 * calendar/time-date.el (time-to-days):
1277 Remove unused local variables.
1279 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1281 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1282 glyphless-char-display table.
1283 (tabulated-list-glyphless-char-display): New var.
1285 2011-04-18 Sam Steingold <sds@gnu.org>
1287 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1290 2011-04-17 Glenn Morris <rgm@gnu.org>
1292 * calendar/diary-lib.el (diary-sexp-entry):
1293 * calendar/holidays.el (holiday-sexp):
1294 Set debug-on-error rather than the removed stack-trace-on-error.
1296 2011-04-16 Glenn Morris <rgm@gnu.org>
1298 * progmodes/f90.el: Use lexical-binding.
1299 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1301 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1304 (mail-mode): Setup mailalias completion here instead.
1305 * mail/mailalias.el: Use lexical-binding.
1306 (pattern, mailalias-done): Declare dynamic.
1307 (mail-completion-at-point-function): New function, from mail-complete.
1308 (mail-complete): Use it.
1309 (mail-completion-expand): New function.
1310 (mail-get-names): Use it.
1311 (mail-directory, mail-directory-process, mail-directory-stream):
1312 Don't use `pattern' for lexically bound arg.
1314 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1316 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1317 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1318 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1320 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1321 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1322 (byte-interactive-p): Define them again, for use when inlining
1325 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1327 * loadup.el: Use `string-to-number', not `string-to-int'.
1329 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1332 gud-gdb-complete-command.
1333 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1334 (gud-gdb-completion-at-point): New function.
1335 (gud-gdb-completions): Remove.
1337 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1339 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1340 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1341 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1342 whether `executable-find' is bound.
1344 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1346 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * minibuffer.el (completion-in-region-mode-predicate)
1349 (completion-in-region-mode--predicate): New vars.
1350 (completion-in-region, completion-in-region--postch)
1351 (completion-in-region-mode): Use them.
1352 (completion--capf-wrapper): Also return the hook function.
1353 (completion-at-point, completion-help-at-point):
1354 Adjust and provide a predicate.
1356 Preserve arg names for advice of subr and lexical functions (bug#8457).
1357 * help-fns.el (help-function-arglist): Consolidate the subr and
1358 new-byte-code cases. Add argument `preserve-names' to extract names
1359 from the docstring when needed.
1360 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1361 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1362 (ad-arglist): Use help-function-arglist's new arg.
1363 (ad-definition-type): Use cond.
1365 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1367 * autorevert.el (auto-revert-handler):
1368 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1369 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1372 * image-mode.el (image-transform-set-scale):
1373 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1375 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1377 * net/network-stream.el (network-stream-open-starttls): Only do
1378 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1379 Upgrades via gnutls-cli are too slow to be done opportunistically.
1381 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1383 * dframe.el (dframe-current-frame): Remove spurious quote.
1385 2011-04-12 Glenn Morris <rgm@gnu.org>
1387 * calendar/cal-tex.el (cal-tex-end-document):
1388 Try to automatically use latin1 input if needed.
1390 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1391 Don't try to cons a mark onto an empty element.
1393 2011-04-11 Leo Liu <sdl.web@gmail.com>
1395 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1397 (ido-kill-buffer-at-head): Support killing virtual buffers.
1399 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1401 * minibuffer.el (completion-show-inline-help): New var.
1402 (completion--do-completion, minibuffer-complete)
1403 (minibuffer-force-complete, minibuffer-complete-word):
1404 Inhibit minibuffer messages if completion-show-inline-help is nil.
1406 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1407 to avoid interference from inline help (Bug#5849).
1409 2011-04-10 Leo Liu <sdl.web@gmail.com>
1411 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1414 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1416 * image-mode.el (image-toggle-display-image): Signal an error if
1418 (image-transform-mode, image-transform-resize)
1419 (image-transform-set-rotation): Doc fix.
1420 (image-transform-set-resize): Delete.
1421 (image-transform-set-scale, image-transform-fit-to-height)
1422 (image-transform-fit-to-width): Handle image-toggle-display-image
1423 and image-transform-resize directly.
1425 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1427 * doc-view.el (doc-view-fit-width-to-window)
1428 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1429 New functions for fitting the shown image to the Emacs window size.
1430 (doc-view-mode-map): Add bindings for the new functions.
1432 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1434 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1435 Fix typo in docstring.
1437 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1439 * files.el (file-size-human-readable): Produce one digit after
1440 decimal, like "ls -lh" does.
1442 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1443 the file size representation.
1445 * simple.el (list-processes): If async subprocesses are not
1446 available, error out with a clear error message.
1448 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1450 * help.el (help-form-show): New function, to be called from C.
1451 Put help-form output in a buffer named differently than *Help*.
1453 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1455 * files.el (file-size-human-readable): New function.
1457 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1458 computing the representation inline. Don't require `cl'.
1460 2011-04-08 Glenn Morris <rgm@gnu.org>
1462 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1464 * net/browse-url.el (browse-url-firefox):
1465 Test system-type, not system-configuration.
1467 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1468 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1469 Use log-edit-empty-buffer-p. (Bug#7598)
1471 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1472 (rlogin-mode-map): Initialize in the defvar.
1473 (rlogin): Use ignore-errors.
1475 * replace.el (occur-mode-map): Some fixes for menu items.
1477 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1479 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1481 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1483 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1484 issuing unused warnings.
1486 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1489 * simple.el: Lisp reimplement of list-processes. Based on an
1490 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1491 (process-menu-mode): New major mode.
1492 (list-processes--refresh, list-processes):
1493 (process-menu-visit-buffer): New functions.
1495 * files.el (save-buffers-kill-emacs): Don't assume any return
1496 value of list-processes, which is undocumented anyway.
1498 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1500 * emacs-lisp/tabulated-list.el: New file.
1502 * emacs-lisp/package.el: Use Tabulated List mode.
1503 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1504 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1505 table format using Tabulated List mode variables.
1506 (package--push): New macro, replacing package-list-maybe-add.
1507 (package-menu--generate): Use package--push. Renamed from
1508 package--generate-package-list.
1509 (package-menu-refresh, list-packages): Use it.
1510 (package-menu--print-info): Rename from package-print-package.
1511 Return insertion data instead of inserting it directly.
1512 (package-menu-describe-package, package-menu-execute):
1513 Use tabulated-list-get-id.
1514 (package-menu-mark-delete, package-menu-mark-install)
1515 (package-menu-mark-unmark, package-menu-backup-unmark)
1516 (package-menu-mark-obsolete-for-deletion):
1517 Use tabulated-list-put-tag.
1518 (package--list-packages, package-menu-revert)
1519 (package-menu-get-package, package-menu-get-version)
1520 (package-menu-sort-by-column): Functions deleted.
1521 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1522 (package-menu--status-predicate, package-menu--version-predicate)
1523 (package-menu--name-predicate)
1524 (package-menu--description-predicate): Handle arguments in the
1525 Tabulated List format.
1526 (package-list-packages-no-fetch): Call list-packages.
1528 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1530 * files.el (after-find-file-from-revert-buffer): Remove variable.
1531 (after-find-file): Don't bind it.
1532 (revert-buffer-in-progress-p): New variable.
1533 (revert-buffer): Bind it.
1534 Pass nil for `after-find-file-from-revert-buffer'.
1536 * saveplace.el (save-place-find-file-hook): Use new variable
1537 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1539 2011-04-06 Glenn Morris <rgm@gnu.org>
1541 * Makefile.in (AUTOGEN_VCS): New variable.
1542 (autoloads): Use $AUTOGEN_VCS.
1544 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1545 * calendar/calendar.el (calendar-mode-map):
1546 Check for toolkit scroll bars. (Bug#8305)
1548 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1550 * minibuffer.el (completion-in-region--postch)
1551 (completion-in-region-mode): Remove unnecessary messages.
1553 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1555 * font-lock.el (font-lock-refresh-defaults):
1556 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1557 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1559 * info.el (Info-directory-list, Info-read-node-name-2)
1560 (Info-split-parameter-string): Doc fixes.
1561 (Info-virtual-nodes): Reflow docstring.
1562 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1563 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1564 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1565 Fix typos in docstrings.
1566 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1567 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1568 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1569 (Info-restore-desktop-buffer): Mark unused parameters.
1570 (Info-directory-find-file, Info-directory-find-node)
1571 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1572 (Info-virtual-index-find-node, Info-apropos-find-file)
1573 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1574 Mark unused parameters; fix typos in docstrings.
1575 (Info-virtual-index): Remove unused local variable `nodename'.
1577 2011-04-05 Deniz Dogan <deniz@dogan.se>
1579 * net/rcirc.el: Update my e-mail address.
1580 (rcirc-mode-map): Remove M-o binding.
1582 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1584 * startup.el (command-line): Save the cursor's theme-face
1585 directly, instead of using face-override-spec.
1587 * custom.el (load-theme): Minor optimization in assigning faces.
1589 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1591 * help-fns.el (describe-variable): Complete all variables having
1592 documentation, including keywords.
1593 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1595 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1597 Convert to lexical-binding.
1599 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1600 (bs--get-marked-string, bs--get-modified-string)
1601 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1602 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1603 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1605 * ehelp.el (electric-help-execute-extended)
1606 (electric-help-ctrl-x-prefix):
1607 * hexl.el (hexl-revert-buffer-function):
1608 * linum.el (linum-after-change, linum-after-scroll):
1609 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1611 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1613 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1620 * epg.el: Use lexical binding.
1622 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1624 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1626 * textmodes/flyspell.el (flyspell-word): Recognize default
1627 dictionary case for flyspell-mark-duplications-exceptions.
1628 Use regexp matching for languages.
1629 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1630 default dictionary (Bug#7926).
1632 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1634 * emacs-lisp/package.el (package--with-work-buffer):
1635 Recognize https URLs.
1637 * net/network-stream.el: Move from gnus/proto-stream.el.
1638 Change prefix to network-stream throughout.
1639 (open-protocol-stream): Merge into open-network-stream, leaving
1640 open-protocol-stream as an alias. Handle nil BUFFER args.
1642 * subr.el (open-network-stream): Move to net/network-stream.el.
1644 2011-04-02 Glenn Morris <rgm@gnu.org>
1646 * find-dired.el (find-exec-terminator): New option.
1647 (find-ls-option): Test for -ls support.
1648 (find-ls-subdir-switches): Test for -b in find-ls-option.
1649 (find-dired, find-grep-dired): Doc fixes.
1650 (find-dired): Use find-exec-terminator.
1652 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1653 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1654 (find-name-arg): Remove purecopy.
1656 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1657 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1658 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1659 accordingly. Don't add the null-device if not needed.
1661 * files.el (save-some-buffers): Doc fix.
1663 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1665 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1667 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1669 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1670 Use `dolist' rather than `mapcar'.
1672 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1674 Add lexical binding.
1676 * subr.el (apply-partially): Use new closures rather than CL.
1677 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1678 (dolist, dotimes): Use slightly different expansion for lexical code.
1679 (functionp): Move to C.
1680 (letrec): New macro.
1681 (with-wrapper-hook): Use it and apply-partially instead of CL.
1682 (eval-after-load): Preserve lexical-binding.
1683 (save-window-excursion, with-output-to-temp-buffer): Turn them
1686 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1688 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1690 (help-add-fundoc-usage): Don't add `Not documented'.
1691 (help-function-arglist): Handle closures, subroutines, and new
1692 byte-code-functions.
1693 (help-make-usage): Remove leading underscores.
1694 (describe-function-1): Handle closures.
1695 (describe-variable): Use special-variable-p for completion.
1697 * files.el (lexical-binding): Declare safe.
1699 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1700 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1701 (pcase): Add `let' pattern.
1702 Change memoization so it actually works.
1703 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1704 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1707 * emacs-lisp/macroexp.el: Use lexical binding.
1708 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1709 Don't convert ' to #' without checking that it's indeed quoting
1712 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1713 Use eval-sexp-add-defvars.
1714 (eval-sexp-add-defvars): New fun.
1716 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1718 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1720 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1721 than the internal `byte-compile-lambda'.
1722 (defmethod): Don't hide code under quotes.
1723 (eieio-defmethod): New `code' argument.
1725 * emacs-lisp/eieio-comp.el: Remove.
1727 * emacs-lisp/edebug.el (edebug-eval-defun)
1728 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1729 (edebug-toggle): Avoid `eval'.
1731 * emacs-lisp/disass.el (disassemble-internal): Handle new
1733 (disassemble-1): Handle new byte codes.
1735 * emacs-lisp/cl.el (pushnew): Silence warning.
1737 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1738 (cl-byte-compile-throw): Remove.
1739 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1741 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1744 * emacs-lisp/cconv.el: New file.
1746 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1747 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1748 (byte-compile-initial-macro-environment):
1749 Handle declare-function here.
1750 (byte-compile--lexical-environment): New var.
1751 (byte-stack-ref, byte-stack-set, byte-discardN)
1752 (byte-discardN-preserve-tos): New lap codes.
1753 (byte-interactive-p): Don't use any more.
1754 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1756 (byte-compile-lapcode): Use them and handle new lap codes.
1757 (byte-compile-obsolete): Remove.
1758 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1759 (byte-compile-arglist-warn): Check late def of inlinable funs.
1760 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1761 since they should have been expanded by now.
1762 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1763 (byte-compile-from-buffer): Remove unused second arg.
1764 (byte-compile-preprocess): New function.
1765 (byte-compile-toplevel-file-form): New function to distinguish
1766 file-form calls from outside from file-form calls from hunk-handlers.
1767 (byte-compile-file-form): Simplify.
1768 (byte-compile-file-form-defsubst): Remove.
1769 (byte-compile-file-form-defmumble): Simplify now that
1770 byte-compile-lambda always returns a byte-code-function.
1771 (byte-compile): Preprocess.
1772 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1773 Remove, not used any more.
1774 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1775 (byte-compile-make-args-desc): New funs.
1776 (byte-compile-lambda): Handle lexical functions. Always return
1777 a byte-code-function.
1778 (byte-compile-reserved-constants): New var, to make up room for
1779 closed-over variables.
1780 (byte-compile-constants-vector): Obey it.
1781 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1782 (byte-compile-macroexpand-declare-function): New function.
1783 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1784 byte-code-functions.
1785 (byte-compile-form): Check obsolescence here.
1786 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1787 (byte-compile-variable-ref): Remove.
1788 (byte-compile-dynamic-variable-op): New fun.
1789 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1790 (byte-compile-variable-set): New funs.
1791 (byte-compile-discard): Add 2 args.
1792 (byte-compile-stack-ref, byte-compile-stack-set)
1793 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1794 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1795 macroexpand-all instead.
1796 (byte-compile-quote-form): Remove.
1797 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1798 (byte-compile-bind, byte-compile-unbind): New funs.
1799 (byte-compile-let): Handle let* and lexical binding.
1800 (byte-compile-let*): Remove.
1801 (byte-compile-catch, byte-compile-unwind-protect)
1802 (byte-compile-track-mouse, byte-compile-condition-case):
1803 Handle a new :fun-body form, used for lexical scoping.
1804 (byte-compile-save-window-excursion)
1805 (byte-compile-with-output-to-temp-buffer): Remove.
1806 (byte-compile-defun): Simplify.
1807 (byte-compile-stack-adjustment): New fun.
1808 (byte-compile-out): Use it.
1809 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1811 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1814 * emacs-lisp/byte-opt.el: Use lexical binding.
1815 (byte-inline-lapcode): Remove (to bytecomp).
1816 (byte-compile-inline-expand): Pay attention to inlining to/from
1817 lexically bound code.
1818 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1820 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1821 any more and don't call compiler-macros.
1822 (byte-compile-splice-in-already-compiled-code): Remove.
1823 (byte-code): Don't inline any more.
1824 (disassemble-offset): Receive `bytes' as argument rather than via
1826 (byte-compile-tag-number): Declare before first use.
1827 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1828 `return' even if make-spliceable.
1829 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1830 obsolete interactive-p.
1831 (byte-optimize-lapcode): Optimize new lap-codes.
1832 Don't trip up on new form of `byte-constant' lap code.
1834 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1836 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1838 * custom.el (custom-initialize-default, custom-declare-variable):
1841 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1843 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1844 (COMPILE_FIRST): Add macroexp and cconv.
1845 * makefile.w32-in: Mirror changes in Makefile.in.
1851 * vc/smerge-mode.el:
1852 * textmodes/bibtex-style.el:
1861 * emacs-lisp/smie.el:
1864 * abbrev.el: Use lexical binding.
1866 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1868 * info.el (info-display-manual): New function.
1870 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1874 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1876 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1877 an entry for that server in rcirc-authinfo. (Bug#8385)
1879 2011-03-31 Glenn Morris <rgm@gnu.org>
1881 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1883 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1885 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1887 * progmodes/python.el (python-default-interpreter)
1888 (python-python-command-args, python-jython-command-args)
1889 (python-which-shell, python-which-args, python-which-bufname)
1890 (python-file-queue, python-comint-output-filter-function)
1891 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1892 variables and functions.
1894 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1896 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1897 (completion-in-region-mode): New minor mode.
1898 (completion-in-region): Use it.
1899 (completion-in-region--data, completion-in-region-mode-map): New vars.
1900 (completion-in-region--postch): New function.
1901 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1903 (completion--capf-wrapper): New function.
1904 (completion-at-point): Use it to track well-behavedness of
1906 (completion-help-at-point): New command.
1908 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1910 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1911 syntax class to search for whitespace on a single line
1912 (Message-ID: <4D938140.4030905@redhat.com>).
1914 2011-03-30 Leo Liu <sdl.web@gmail.com>
1916 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1918 (edit-abbrevs-map): Bind them here.
1919 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1921 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1923 * allout.el (allout-hide-by-annotation, allout-flag-region):
1924 Reduce possibility of overlay leakage by making them volatile.
1926 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1927 hash is not shared between buffers. Mode initialization is
1928 responsible for giving it a useful starting value.
1929 (allout-item-span): Reduce possibility of overlay leakage by
1930 making them volatile.
1931 (allout-widgets-count-buttons-in-region): Add diagnostic function
1932 for tracking down button overlay leaks.
1934 2011-03-29 Leo Liu <sdl.web@gmail.com>
1936 * ido.el (ido-read-internal): Use the default history var
1937 minibuffer-history if no HISTORY is specified.
1939 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1941 * net/imap.el (imap-shell-open, imap-process-connection-type):
1942 Use imap-process-connection-type for 'shell' streams as well as
1943 Kerberos, SSL, other subprocesses.
1945 2011-03-28 Leo Liu <sdl.web@gmail.com>
1947 * abbrev.el (abbrev-table-empty-p): New function.
1948 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1949 nonempty ones. (Bug#5937)
1951 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1953 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1955 2011-03-27 Leo Liu <sdl.web@gmail.com>
1957 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1958 for foreground and background colors.
1959 (ansi-color-make-color-map): Adapt.
1961 2011-03-25 Leo Liu <sdl.web@gmail.com>
1963 * midnight.el (midnight-time-float): Remove. Note it calculates
1964 the microsecond component incorrectly and seconds-to-time does the
1966 Remove redundant (require 'timer).
1968 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1969 (ido-completions): Remove unused arguments. (Bug#8329)
1971 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1973 * minibuffer.el (completion--flush-all-sorted-completions):
1974 Remove itself from hook.
1975 (completion-at-point): Let the functions perform the completion
1976 immediately and return nil or t.
1977 * comint.el (comint-dynamic-complete-functions): Now identical to
1978 completion-at-point-functions.
1979 (comint-dynamic-list-input-ring): Remove unused var `index'.
1980 (comint--match-partial-filename, comint--unquote&expand-filename):
1981 New funs, split from comint-match-partial-filename.
1982 (comint-dynamic-complete): Use completion-at-point.
1983 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1985 2011-03-24 Drew Adams <drew.adams@oracle.com>
1987 * thingatpt.el: Support `defun'.
1989 2011-03-23 Leo Liu <sdl.web@gmail.com>
1991 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1993 * help-mode.el (help-mode-finish): Tweak regexp.
1995 2011-03-23 Glenn Morris <rgm@gnu.org>
1997 * eshell/esh-opt.el (eshell-eval-using-options):
1998 Do not bind unused local variable `eshell-option-stub'.
2000 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2002 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2004 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2005 keymap variable in `with-no-warnings' to avoid a warning when the
2006 keymap has been already `defconst'ed.
2008 2011-03-22 Leo Liu <sdl.web@gmail.com>
2010 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2011 encode all chars in abbrevs; otherwise use emacs-mule or
2012 utf-8-emacs. (Bug#8308)
2014 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2016 * simple.el (backward-delete-char-untabify):
2017 Avoid warning about using `delete-backward-char'.
2019 * image.el (image-type-file-name-regexps): Make it variable.
2020 `imagemagick-register-types' modifies it, and the user may want
2021 to add new extensions for known image types.
2022 (imagemagick-register-types): Throw error if not using ImageMagick.
2024 2011-03-22 Leo Liu <sdl.web@gmail.com>
2026 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2027 located before rcirc-prompt-end-marker.
2028 (rcirc-complete): Error if point is not after rcirc prompt.
2029 Handle the case when table is nil.
2030 (rcirc-user-authenticated): Define to fix compiler warning.
2032 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2034 * custom.el (custom--inhibit-theme-enable): Make it affect only
2035 custom-theme-set-variables and custom-theme-set-faces.
2036 (provide-theme): Ignore custom--inhibit-theme-enable.
2037 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2038 (custom-enabling-themes): Delete variable.
2039 (enable-theme): Accept only loaded themes as arguments.
2040 Ignore the special custom-enabled-themes variable.
2041 (custom-enabled-themes): Forbid themes from setting this.
2042 Eliminate use of custom-enabling-themes.
2043 (custom-push-theme): Quote "changed" custom var entry.
2045 2011-03-21 Leo Liu <sdl.web@gmail.com>
2047 * ido.el (ido-read-internal): Add ido-selected to history instead
2050 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * subr.el (deferred-action-list, deferred-action-function):
2055 2011-03-21 Leo Liu <sdl.web@gmail.com>
2057 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2058 change on 2011-02-13 (bug#8309).
2060 * minibuffer.el (read-file-name-function): Change default value.
2061 (read-file-name--defaults): Rename from read-file-name-defaults.
2062 (read-file-name-default): Rename from read-file-name.
2063 (read-file-name): Call read-file-name-function.
2065 2011-03-21 Glenn Morris <rgm@gnu.org>
2067 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2070 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2072 * cus-theme.el: Add missing provide statement.
2073 (customize-create-theme): Extract theme value correctly.
2074 (custom-theme-visit-theme): Autoload.
2075 (customize-create-theme): Prompt before inserting default faces.
2077 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2079 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2080 units and musical notes.
2082 2011-03-20 Leo <sdl.web@gmail.com>
2084 * ido.el (ido-read-internal): Use completing-read-default.
2085 (ido-completing-read): Fix compatibility with completing-read.
2087 2011-03-20 Christian Ohler <ohler@gnu.org>
2089 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2090 (ert-delete-all-tests): Use `called-interactively-p' rather than
2092 (ert--make-xrefs-region): Respect END.
2094 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2096 * dired-aux.el (dired-create-directory): Signal an error if the
2097 directory already exists (Bug#8246).
2099 * facemenu.el (list-colors-display): Call list-faces-display
2100 inside with-help-window.
2101 (list-colors-print): Use display property to align the final
2102 column, instead of checking window-width.
2104 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2106 * emerge.el (emerge-metachars): Separate value for ms-dos and
2108 (emerge-protect-metachars): Quote correctly for ms-dos and
2111 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2113 * info.el (info-initialize): Replace all uses of `:' with
2114 path-separator for compatibility with non-Unix systems.
2115 Cache quoting of path-separator. (Bug#8258)
2117 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2119 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2120 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2121 (mouse-avoidance-mode): Fix typos in docstrings.
2123 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2125 * startup.el (package-subdirectory-regexp): Move from package.el.
2126 Omit \\` and \\', and let callers add them.
2128 * emacs-lisp/package.el (package-strip-version)
2129 (package-load-all-descriptors): Add \\` and \\' to
2130 package-subdirectory-regexp before using it.
2131 (package-untar-buffer): New arg DIR; ensure that file untars only
2132 into this expected directory. Remove superfluous delete-region.
2133 (package-unpack): Caller changed.
2134 (package-tar-file-info): Use package-subdirectory-regexp.
2136 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2138 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2139 diff-mode-shared-map (bug#8284).
2140 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2142 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2144 * calendar/time-date.el (format-seconds): Use assoc instead of
2145 assoc-string, since assoc-string doesn't exist in XEmacs.
2147 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2149 * custom.el (custom-known-themes): Reflow docstring.
2150 (custom-theme-load-path): Fix typo in docstring.
2151 (load-theme): Fix typo in error message.
2152 (custom-available-themes, custom-variable-theme-value):
2153 Use `let', not `let*'.
2155 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2157 * calc/README: Mention inclusion of musical notes.
2159 * calc/calc-units.el (calc-lu-quant): Rename from
2160 `calc-logunits-quantity'.
2161 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2162 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2163 (calc-db): Rename from `calc-dblevel'.
2164 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2165 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2166 (calc-np): Rename from `calc-nplevel'.
2167 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2168 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2169 (calc-lu-plus): Rename from `calc-logunits-add'.
2170 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2171 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2172 (calc-lu-minus): Rename from `calc-logunits-sub'.
2173 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2174 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2175 (calc-lu-times): Rename from `calc-logunits-mul'.
2176 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2177 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2178 (calc-lu-divide): Rename from `calc-logunits-div'.
2179 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2180 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2182 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2183 functions being autoloaded.
2185 * calc/calc.el (calc-lu-power-reference): Rename from
2186 `calc-logunits-power-reference'.
2187 (calc-lu-field-reference): Rename from
2188 `calc-logunits-field-reference'.
2190 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2192 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2194 * minibuffer.el (completion-all-sorted-completions):
2195 Use :completion-cycle-penalty text property if present.
2197 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2199 * allout.el (allout-yank-processing): Adjust for new rebulleting
2200 regime so bullet being yanked is used without prompting the user
2203 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2205 * startup.el (command-line): Warn the user that _emacs is deprecated.
2207 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2209 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2210 (delphi-verbose, delphi-comment-face, delphi-string-face)
2211 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2212 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2213 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2214 (delphi-new-comment-line, delphi-font-lock-defaults)
2215 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2216 Fix typos in docstrings.
2218 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2220 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2221 Invert the roles of character and string values for INSTEAD, so a
2222 string is used for the more common case of a defaulting prompt.
2224 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * progmodes/ruby-mode.el (ruby-backward-sexp):
2227 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2228 * play/gamegrid.el (gamegrid-make-face):
2229 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2230 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2231 * notifications.el (notifications-notify):
2232 * net/xesam.el (xesam-search-engines):
2233 * net/quickurl.el (quickurl-list-insert):
2234 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2236 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2238 * startup.el (command-line): Update package subdirectory regexp.
2240 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2242 * allout.el (allout-abbreviate-flattened-numbering)
2243 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2245 * subr.el (read-char-choice): Only show the cursor after the prompt,
2246 not after the answer.
2248 2011-03-15 Kevin Ryde <user42@zip.com.au>
2250 * help-fns.el (variable-at-point): Skip leading quotes, if any
2253 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2258 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2260 * shell.el (shell): When called interactively, offer to change the
2261 shell file name on remote hosts.
2263 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2265 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2266 integration for LDAP parameters. The host, base, user or binddn,
2267 and secret tokens can be specified in a netrc file, for instance.
2268 This is optional because an `auth-source' parameter must be
2269 specified in the search attributes.
2271 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2273 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2275 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2277 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2278 into declaration. Remove redundant and harmful binding.
2280 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2282 * files.el (file-ownership-preserved-p): Pass `integer' as an
2283 explicit 2nd argument to `file-attributes'. If the file's owner
2284 is the Administrators group on Windows, and the current user is
2285 Administrator, consider that a match.
2287 * server.el (server-ensure-safe-dir): Consider server directory
2288 safe on MS-Windows if its owner is the Administrators group while
2289 the current Emacs user is Administrator. Use `=' to compare
2290 numerical UIDs, since they could be integers or floats.
2292 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2294 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2296 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2298 Sync with Tramp 2.2.1.
2300 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2302 * net/trampver.el: Update release number.
2304 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * progmodes/compile.el (compilation--previous-directory): Fix up
2307 various nil/dead-marker mismatches (bug#8014).
2308 (compilation-directory-properties, compilation-error-properties):
2309 Don't call it at a position past the one we're about to change.
2311 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2312 Disable obsolescence warnings in the file that declares it.
2314 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2316 * allout-widgets.el (allout-widgets-tally):
2317 Initialize allout-widgets-tally as a hash table rather than nil to
2318 prevent mode-line redisplay warnings. Also, clarify the module
2319 description and fix a comment typo.
2321 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2323 * help-fns.el (describe-variable): Don't complete keywords.
2324 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2326 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2328 * emacs-lisp/package.el (package-version-join): Impose a standard
2329 string representation for pre/alpha/beta version lists.
2330 (package-unpack-single): Standardize the directory name by passing
2331 it through package-version-join.
2332 (package-strip-rcs-id): Accept any version string that does not
2333 signal an error in version-to-list.
2335 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2337 * simple.el (delete-trailing-whitespace): Return nil for the
2338 benefit of `write-file-functions'.
2340 2011-03-10 Glenn Morris <rgm@gnu.org>
2342 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2344 * vc/vc-git.el (vc-git-program): New option.
2345 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2346 (vc-git--call): Use it.
2348 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2350 * cus-edit.el (Custom-newline): If no button at point, look
2351 for a subgroup button at start-of-line. (Bug#2298)
2353 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2355 2011-03-10 Julien Danjou <julien@danjou.info>
2357 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2358 `cursor-type' is nil.
2360 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2362 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2364 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2366 * allout.el Summary: Change so yank of distinctive-bullet items
2367 preserves the existing header prefix, rebulleting it if necessary,
2368 rather than replacing it. This is necessary for proper operation
2369 of cooperative addons like allout-widgets.
2370 (allout-make-topic-prefix, allout-rebullet-heading): Change
2371 SOLICIT arg to INSTEAD, and interpret additionally a string value
2372 as alternate bullet to be used, instead of prompting the user for
2375 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2378 Do not use `tramp-file-name-port', because this returns also
2379 `tramp-default-port'.
2381 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2383 * net/rcirc.el (rcirc-handler-001): Remove useless
2384 with-rcirc-process-buffer.
2385 (rcirc-check-auth-status): Swap arguments to string-match.
2387 2011-03-09 Glenn Morris <rgm@gnu.org>
2389 * shell.el (shell-mode):
2390 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2392 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2393 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2395 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2397 * emacs-lisp/package.el (package-refresh-contents)
2398 (package-menu-execute): Use condition-case-no-debug.
2400 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2402 * simple.el (shell-command-to-string): Use `process-file'.
2404 * emacs-lisp/package.el (package-tar-file-info): Handle also
2407 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2408 Use `equal' for upload base check.
2410 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2412 * textmodes/texinfo.el (texinfo-environments):
2413 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2415 2011-03-08 Glenn Morris <rgm@gnu.org>
2417 * cus-start.el (cursor-in-non-selected-windows):
2418 Fix :set quoting oddness. (Bug#8192)
2420 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2421 in some setf expressions. (Bug#2159)
2423 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2425 * custom.el (custom-available-themes): Return themes in
2428 See ChangeLog.15 for earlier changes.
2434 Copyright (C) 2011 Free Software Foundation, Inc.
2436 This file is part of GNU Emacs.
2438 GNU Emacs is free software: you can redistribute it and/or modify
2439 it under the terms of the GNU General Public License as published by
2440 the Free Software Foundation, either version 3 of the License, or
2441 (at your option) any later version.
2443 GNU Emacs is distributed in the hope that it will be useful,
2444 but WITHOUT ANY WARRANTY; without even the implied warranty of
2445 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2446 GNU General Public License for more details.
2448 You should have received a copy of the GNU General Public License
2449 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.