1 2011-05-12 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
4 Let byte-compile-initial-macro-environment always take precedence.
6 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
8 * net/rcirc.el: Add support for SSL/TLS connections.
9 (rcirc-server-alist): New field `encryption'.
10 (rcirc): Check `encryption' settings.
11 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12 Merge make-local-variable into `set'.
13 (rcirc--connection-open-p): New function.
14 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15 the process is not a network process (e.g. running gnutls-cli).
16 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17 Make rcirc-(en|de)code-coding-system local here.
18 (rcirc-mode): Merge make-local-variable into `set'.
19 (rcirc-parent-buffer): Make permanent buffer-local.
20 (rcirc-multiline-minor-mode): Don't do it here.
21 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22 there's no server buffer.
24 2011-05-11 Glenn Morris <rgm@gnu.org>
26 * newcomment.el (comment-kill): Prefix "unused" local.
28 * term/w32console.el (get-screen-color): Declare.
30 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
31 Handle symbol elements of byte-compile-initial-macro-environment.
33 2011-05-10 Leo Liu <sdl.web@gmail.com>
35 * bookmark.el (bookmark-bmenu-mode-map):
36 Bind bookmark-bmenu-search to `/'.
38 * mail/footnote.el: Convert to utf-8 encoding.
39 (footnote-unicode-string, footnote-unicode-regexp): New variable.
40 (Footnote-unicode): New function.
41 (footnote-style-alist): Add unicode style to the list.
42 (footnote-style): Doc fix.
44 2011-05-10 Glenn Morris <rgm@gnu.org>
45 Stefan Monnier <monnier@iro.umontreal.ca>
47 * files.el (hack-one-local-variable-eval-safep):
48 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
50 2011-05-10 Glenn Morris <rgm@gnu.org>
52 * calendar/diary-lib.el (diary-list-entries-hook)
53 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
54 (diary-nongregorian-marking-hook, diary-list-entries)
55 (diary-include-other-diary-files, diary-mark-entries)
56 (diary-mark-included-diary-files): Doc fixes.
58 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
60 * misc.el: Require tabulated-list.el during compilation.
62 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
64 * progmodes/compile.el (compilation-start):
65 Run compilation-filter-hook for the async case too.
66 (compilation-filter-hook): Doc fix.
68 2011-05-09 Deniz Dogan <deniz@dogan.se>
70 * wdired.el: Remove outdated installation comment. Fix usage
73 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
75 * misc.el: Implement new command `list-dynamic-libraries'.
76 (list-dynamic-libraries--loaded-only-p): New variable.
77 (list-dynamic-libraries--refresh): New function.
78 (list-dynamic-libraries): New command.
80 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
82 * progmodes/compile.el (compilation-error-regexp-alist-alist):
83 Fix the ant regexp to handle end-line and end-column info from jikes.
84 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
85 higher priority to avoid clobbering by gnu.
87 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
89 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
90 if the face has existing theme settings (Bug#8454).
92 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
94 * progmodes/perl-mode.el (perl-imenu-generic-expression):
95 Only match variables declared via `my' or `our' (Bug#8261).
97 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
98 special file names `.' and `..' (Bug#8259).
100 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
102 * progmodes/grep.el (grep-mode-font-lock-keywords):
103 Remove buffer-changing entries.
104 (grep-filter): New function.
105 (grep-mode): Add it to compilation-filter-hook.
107 * progmodes/compile.el (compilation-filter-hook)
108 (compilation-filter-start): New defvars.
109 (compilation-filter): Call compilation-filter-hook prior to
110 updating the process mark.
112 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
114 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
116 2011-05-07 Eli Zaretskii <eliz@gnu.org>
118 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
119 mailclient-send-it even if window-system is nil. (Bug#8595)
121 * term/w32console.el (terminal-init-w32console):
122 Call get-screen-color and use its output to set the frame
123 background-mode. (Bug#8597)
125 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
127 Make bytecomp.el understand that defmethod defines funs (bug#8631).
128 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
130 (defgeneric, eieio--defmethod): Use them.
131 (eieio-defgeneric): Remove.
132 (defmethod): Call defgeneric in a way visible to the byte-compiler.
134 2011-05-07 Glenn Morris <rgm@gnu.org>
136 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
137 Use let rather than let*.
138 (timeclock-find-discrep): Remove unused local.
140 * calendar/diary-lib.el (diary-comment-start): Doc fix.
142 * calendar/appt.el (appt-time-msg-list): Doc fix.
144 2011-05-06 Noah Friedman <friedman@splode.com>
146 * apropos.el (apropos-print-doc): Only use
147 emacs-lisp-docstring-fill-column when it is bound to an integer,
148 per that variable's documentation.
150 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
152 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
153 and warnings are not silently discarded (e.g. use -d instead of -P).
155 2011-05-06 Glenn Morris <rgm@gnu.org>
157 * calendar/appt.el (appt-message-warning-time): Doc fix.
158 (appt-warning-time-regexp): New option.
159 (appt-make-list): Respect appt-message-warning-time.
161 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
163 (diary-add-to-list): Strip comments from the displayed string.
164 (diary-mode): Set comment-start and comment-end.
166 * vc/diff-mode.el (smerge-refine-subst): Declare.
167 (diff-refine-hunk): Don't require smerge-mode when compiling.
169 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
171 * simple.el (list-processes): Return nil as the docstring says.
173 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
175 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
177 (ange-ftp-write-region, ange-ftp-insert-file-contents)
178 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
179 determining of binary transfer. (Bug#7383)
181 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
184 Fix port computation bug. (Bug#8618)
186 2011-05-05 Glenn Morris <rgm@gnu.org>
188 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
190 * simple.el (shell-dynamic-complete-functions)
191 (comint-dynamic-complete-functions): Declare.
193 * net/network-stream.el (gnutls-negotiate):
194 * simple.el (tabulated-list-print): Fix declarations.
196 * progmodes/gud.el (syntax-symbol, syntax-point):
197 Remove unnecessary and incorrect declarations.
199 * emacs-lisp/check-declare.el (check-declare-scan):
200 Handle byte-compile-initial-macro-environment in bytecomp.el
202 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
204 Fix earlier half-done eieio-defmethod change (bug#8338).
205 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
206 Streamline and change calling convention.
207 (defmethod): Adjust accordingly and simplify.
208 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
209 new eieio--defmethod.
210 (slot-boundp): Minor CSE simplification.
212 2011-05-05 Milan Zamazal <pdm@zamazal.org>
214 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
215 (glasses-make-readable): Use glasses-separate-capital-groups.
217 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
219 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
220 (warning-series): Doc fix.
221 (display-warning): Don't try to create the buffer if we just found it.
223 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
225 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
226 (autoload-find-generated-file): New function.
227 (generate-file-autoloads): Bind generated-autoload-file to
229 (update-file-autoloads, update-directory-autoloads):
230 Use autoload-find-generated-file. If called interactively, prompt for
231 output file (Bug#7989).
232 (batch-update-autoloads): Doc fix.
234 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
236 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
238 2011-05-04 Glenn Morris <rgm@gnu.org>
240 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
241 function, so it follows changes in calendar-date-style.
242 (diary-fancy-date-matcher): New function.
243 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
244 (diary-fancy-font-lock-fontify-region-function):
245 Use diary-fancy-date-pattern as a function.
247 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
248 non-numbers for `year' etc pseudo-variables. (Bug#8583)
250 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
252 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
253 instead of positional arguments. Allow :keylist and :crlfiles
255 (open-gnutls-stream): Call it.
257 * net/network-stream.el (network-stream-open-starttls): Adjust to
258 call `gnutls-negotiate' with :process and :hostname arguments.
260 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
262 * minibuffer.el (completion--message): New function.
263 (completion--do-completion, minibuffer-complete)
264 (minibuffer-force-complete, minibuffer-complete-word): Use it.
265 (completion--do-completion): Don't ignore completion-auto-help when in
268 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
269 internal encoding (e.g. tibetan zero is not whitespace).
270 (global-whitespace-mode): Prefer save-current-buffer.
271 (whitespace-trailing-regexp): Remove useless save-match-data.
272 (whitespace-empty-at-bob-regexp): Minor simplification.
274 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
276 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
278 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
280 * textmodes/ispell.el (ispell-add-per-file-word-list):
281 Use `concat' to create string for insertion.
283 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
285 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
286 Avoid open-line which runs post-self-insert-hook.
287 (bibtex-fill-entry): Remove unused `end' var.
289 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
291 * textmodes/ispell.el (ispell-add-per-file-word-list):
292 Protect against `nil' value of `comment-start' (Bug#8579).
294 2011-05-03 Leo Liu <sdl.web@gmail.com>
296 * isearch.el (isearch-yank-pop): New command.
297 (isearch-mode-map): Bind it to `M-y'.
298 (isearch-forward): Mention it.
300 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
302 * simple.el (minibuffer-complete-shell-command): Remove.
303 (minibuffer-local-shell-command-map): Use completion-at-point.
304 (read-shell-command): Setup completion vars here instead.
305 (read-expression-map): Bind TAB to symbol completion.
307 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
308 error directly rather via storing it into `results'.
310 2011-05-02 Leo Liu <sdl.web@gmail.com>
312 * vc/diff.el: Fix description.
314 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
316 * server.el (server-eval-at): New function.
318 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
320 * net/network-stream.el (open-network-stream): Take a :nowait
321 parameter and pass it on to `make-network-process'.
322 (network-stream-open-plain): Ditto.
324 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
326 * faces.el (face-spec-set-match-display): Don't match toolkit
327 options on terminal frames.
329 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
331 * progmodes/pascal.el: Use lexical binding.
332 (pascal-mode-map): Remove author preferences.
334 * pcomplete.el (pcomplete-std-complete): Don't abuse
337 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
339 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
340 removing code that has been dead since 1991 or so.
342 * startup.el (command-line): When warning about "_emacs", use a
343 delayed warning to allow the user to filter it out.
345 2011-04-28 Deniz Dogan <deniz@dogan.se>
347 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
350 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
352 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
353 aren't any completions at point.
355 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
357 * subr.el (display-delayed-warnings): New function.
358 (delayed-warnings-hook): New variable.
360 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
362 * minibuffer.el (completion-at-point, completion-help-at-point):
363 Don't presume that a given completion-at-point-function will always
364 use the same calling convention.
366 * pcomplete.el (pcomplete-completions-at-point):
367 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
368 pcomplete-seen is non-nil.
369 (pcomplete-comint-setup): Also recognize the new comint/shell
370 completion functions.
371 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
372 pcomplete-seen is non-nil.
374 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
376 * calendar/icalendar.el (diary-lib): Add require statement.
377 (icalendar--create-uid): Read out a uid from a text-property on
378 the first character in the entry. This allows for code to add its
379 own uid to the entry.
380 (icalendar--convert-float-to-ical): Add export of
381 `diary-float'-entries save for those with the optional DAY
384 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
386 * subr.el (shell-quote-argument): Use alternate escaping strategy
387 when we spot a variable reference in a string.
389 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
391 * cus-start.el (all): Define customization for debug-on-event.
393 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
395 * subr.el (shell-quote-argument): Escape correctly under Windows.
397 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
399 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
401 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
403 * net/tramp.el (tramp-process-actions): Add POS argument.
404 Delete region between POS and (pos).
406 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
407 Use `nil' position in `tramp-process-actions' call.
408 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
410 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
411 position in `tramp-process-actions' call.
413 * net/trampver.el: Update release number.
415 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
417 * custom.el (defcustom): Obey lexical-binding.
419 Fix octave-inf completion problems reported by Alexander Klimov.
420 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
421 Inherit from octave-mode-syntax-table.
422 (inferior-octave-mode): Set info-lookup-mode.
423 (inferior-octave-completion-at-point): New function.
424 (inferior-octave-complete): Use it and completion-in-region.
425 (inferior-octave-dynamic-complete-functions): Use it as well, and use
426 comint-filename-completion.
427 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
428 symbol elements which shouldn't be word elements.
429 (octave-font-lock-keywords, octave-beginning-of-defun)
430 (octave-function-header-regexp): Adjust regexps accordingly.
431 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
433 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
435 * net/gnutls.el (gnutls-errorp): Declare before first use.
437 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
439 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
440 verify-error, and verify-hostname-error parameters. Check whether
441 default trustfile exists before going to use it. Add missing
442 argument to gnutls-message-maybe call. Return return value.
443 Reported by Claudio Bley <claudio.bley@gmail.com>.
444 (open-gnutls-stream): Add usage example.
446 * net/network-stream.el (network-stream-open-starttls): Give host
447 parameter to `gnutls-negotiate'.
448 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
449 * subr.el (shell-quote-argument): Escape correctly under Windows.
451 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
453 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
454 Use correct match group (bug#8438).
456 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
458 * emacs-lisp/package.el (package-built-in-p): Fix typo.
459 (package-menu--generate): New arg specifying packages to show.
460 (package-menu-refresh, package-menu-execute, list-packages):
462 (package-show-package-list): New function, replacing deleted
463 package--list-packages (renamed because it is non-internal).
465 * finder.el (finder-list-matches): Use package-show-package-list
466 instead of deleted package--list-packages.
468 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
469 Based on a previous implementation by Juanma Barranquero (Bug#8366).
470 (vc-annotate-mode-map): Bind it to RET.
472 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
474 * progmodes/etags.el (next-file): Don't use set-buffer to change
477 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
479 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
481 * apropos.el (apropos-label-face): Avoid variable-pitch face.
482 (apropos-accumulator): Doc fix.
483 (apropos-function, apropos-macro, apropos-command)
484 (apropos-variable, apropos-face, apropos-group, apropos-widget)
485 (apropos-plist): Add face property.
486 (apropos-symbols-internal): Fix indentation.
487 (apropos-print): Simplify help, and recognize apropos-multi-type.
488 (apropos-print-doc): Use button-type-get to extract the button's
489 face property. Fill docstring (Bug#8352).
491 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
493 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
495 * play/mpuz.el (mpuz-silent): Doc fix.
496 (mpuz-mode-map): Use mapc.
497 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
498 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
499 Fix typos in docstrings.
501 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
502 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
504 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
506 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
508 * minibuffer.el (completion--do-completion): Avoid the "Next char
509 not unique" prompt if icomplete-mode is enabled (Bug#5849).
511 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
512 mouse-2 into unread-command-events, it is interpreted correctly.
514 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
515 (image-toggle-display): Doc fix.
517 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
519 * textmodes/page.el (what-page): Use line-number-at-pos to
520 calculate line number (Bug#6825).
522 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
524 * eshell/esh-mode.el (find-tag-interactive): Declare function.
525 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
526 Pass argument NO-DEFAULT to `find-tag-interactive'.
528 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
530 Lexical-binding cleanup.
532 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
533 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
534 * progmodes/ada-prj.el (ada-prj-initialize-values)
535 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
536 (ada-prj-show-value):
537 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
538 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
539 (antlr-invalidate-context-cache, antlr-options-menu-filter)
540 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
541 * progmodes/bug-reference.el (bug-reference-push-button):
542 * progmodes/fortran.el (fortran-line-length):
543 * progmodes/glasses.el (glasses-change):
544 * progmodes/octave-mod.el (octave-fill-paragraph):
545 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
546 (python-pdbtrack-grub-for-buffer, python-sentinel):
547 * progmodes/sql.el (sql-save-connection):
548 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
549 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
550 Mark unused parameters.
552 * progmodes/compile.el (compilation--flush-directory-cache)
553 (compilation--flush-parse, compile-internal): Mark unused parameters.
554 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
555 (compilation-next-error-function): Remove unused variable `timestamp'.
557 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
558 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
560 * progmodes/dcl-mode.el (dcl-end-of-command):
561 Remove unused variable `start'.
562 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
563 (dcl-option-value-basic, dcl-option-value-offset)
564 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
565 Mark unused parameters.
566 (dcl-save-local-variable): Remove unused variable `val'.
569 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
570 Mark unused parameters.
571 (delphi-ignore-changes): Move before first use.
572 (delphi-charset-token-at): Remove unused variable `start'.
573 (delphi-else-start): Remove unused variable `if-count'.
574 (delphi-comment-block-start, delphi-comment-block-end):
575 Remove unused variable `kind'.
576 (delphi-indent-line): Remove unused variable `new-point'.
578 * progmodes/ebrowse.el (ebrowse-files-list)
579 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
580 Mark unused parameters. Don't quote `lambda'.
581 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
582 Don't quote `lambda'.
583 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
584 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
585 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
586 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
588 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
589 (ebrowse-view/find-file-and-search-pattern)
590 (ebrowse-view/find-member-declaration/definition):
591 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
592 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
593 Rename parameter PREFIX-ARG to PREFIX.
594 (ebrowse-tags-read-name): Remove unused variables `start' and
596 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
599 * progmodes/etags.el (local-find-tag-hook): Declare.
600 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
601 Mark unused parameters.
603 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
604 (executable-interpret): Mark unused parameter.
606 * progmodes/flymake.el (flymake-process-sentinel)
607 (flymake-after-change-function)
608 (flymake-create-temp-with-folder-structure)
609 (flymake-get-include-dirs-dot): Mark unused parameters.
610 (flymake-safe-delete-directory): Remove unused variable `err'.
612 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
613 (speedbar-timer-fn, speedbar-line-text)
614 (speedbar-change-expand-button-char, speedbar-delete-subblock)
615 (speedbar-center-buffer-smartly): Declare functions.
616 (gdb-find-watch-expression): Remove unused variable `array'.
617 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
618 (gdb-starting): Mark unused parameters.
619 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
620 (gdb-table-string): Remove unused variable `res'.
621 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
622 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
623 (gdb-display-buffer): Remove unused variable `cur-size'.
625 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
626 allow lexical-binding compilation.
627 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
628 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
629 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
630 Mark unused parameters.
631 (gud-gdb-marker-filter): Remove unused variable `match'.
632 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
633 lambda expressions and funcall them, instead of using `fset'.
635 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
636 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
638 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
639 variable `header-beg'; use `let'.
641 * progmodes/icon.el (indent-icon-exp): Remove unused variables
642 `restart', `last-sexp' and `at-do'.
644 * progmodes/js.el (js--debug): Mark unused parameter.
645 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
646 (js--splice-into-items): Remove unused variable `item'.
647 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
649 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
650 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
651 (makefile-complete): Remove unused variable `try'.
652 (makefile-fill-paragraph, makefile-match-function-end):
653 Mark unused parameters.
655 * progmodes/octave-inf.el (inferior-octave-complete):
656 Remove unused variable `proc'.
657 (inferior-octave-output-digest): Mark unused parameter.
659 * progmodes/perl-mode.el (perl-calculate-indent):
660 Remove unused variable `err'.
662 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
663 (prolog-indent-line): Mark unused parameters.
664 (prolog-indent-line): Remove unused variable `beg'.
666 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
667 (reporter-dont-compact-list): Declare.
669 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
670 Remove unused variable `char'.
671 (sh-debug): Mark unused parameter.
672 (sh-get-indent-info): Remove unused variable `start'.
673 (sh-calculate-indent): Remove unused variable `var'.
675 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
676 (simula-electric-keyword): Remove unused variable `null'.
677 (simula-search-backward, simula-search-forward): Remove unused
678 variables `begin' and `end'.
680 * progmodes/vera-mode.el (vera-guess-basic-syntax):
681 Remove unused variable `pos'.
682 (vera-electric-tab, vera-comment-uncomment-region):
683 Mark unused parameters.
684 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
686 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
688 * emacs-lisp/package.el (package--builtins, package-alist)
689 (package-load-descriptor, package-built-in-p, package-activate)
690 (define-package, package-installed-p)
691 (package-compute-transaction, package-buffer-info)
692 (package--push): Doc fix. Distinguish more clearly between
693 version strings and version lists.
695 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
697 Lexical-binding cleanup.
699 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
700 (5x5-make-mutate-best):
701 * play/fortune.el (fortune-in-buffer):
702 * play/gomoku.el (gomoku-init-display):
703 * play/solitaire.el (solitaire, solitaire-do-check):
704 * play/tetris.el (tetris-default-update-speed-function):
705 Mark unused parameters.
707 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
708 (bubbles--shift): Remove unused variable `char-org'.
709 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
710 (bubbles--show-images): Remove unused variable `char'.
712 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
713 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
714 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
715 (decipher-analyze-buffer): Use ?\s.
716 (decipher-make-checkpoint): Remove unused variable `mapping'.
718 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
720 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
721 Remove unused variable `result'; use `let'.
723 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
724 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
725 (gametree-children-shown-p, gametree-compute-reduced-score):
728 * play/handwrite.el (ps-lpr-switches): Declare.
729 (handwrite): Remove unused variables `pmin' and `lastp'.
731 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
733 * play/landmark.el (landmark-init-display)
734 (landmark-update-naught-weights): Mark unused parameters.
735 (landmark-y): Remove unused variable `noise'. Simplify.
736 (landmark-human-plays): Remove unused variable `score'.
738 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
739 (mpuz-try-proposal): Remove unused variable `game'.
741 * play/zone.el (life-patterns): Declare.
743 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
745 * vc/vc.el (ediff-vc-internal): Declare function.
747 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
749 * shell.el: Use lexical-binding and std completion UI.
750 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
751 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
752 comint-preoutput-filter-functions rather than on
753 comint-output-filter-functions.
754 (shell-command-completion, shell--command-completion-data)
755 (shell-filename-completion, shell-environment-variable-completion)
756 (shell-c-a-p-replace-by-expanded-directory): New functions.
757 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
758 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
759 (shell-dynamic-complete-environment-variable): Use them.
760 (shell-dynamic-complete-as-environment-variable)
761 (shell-dynamic-complete-as-command): Remove.
762 (shell-match-partial-variable): Match past point.
763 * comint.el: Clean up use of completion-at-point-functions.
764 (comint-completion-at-point): New function.
765 (comint-mode): Use it completion-at-point-functions.
766 (comint-dynamic-complete): Make it obsolete.
767 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
768 (comint-c-a-p-replace-by-expanded-history): New function.
769 (comint-dynamic-complete-functions)
770 (comint-replace-by-expanded-history): Use it.
771 * minibuffer.el (completion-table-with-terminator): Allow dynamic
772 termination strings. Try harder to avoid second try-completion.
773 (completion-in-region-mode-map): Disable bindings that don't work yet.
775 * comint.el: Use lexical-binding. Require CL.
776 (comint-dynamic-complete-functions): Use comint-filename-completion.
777 (comint-completion-addsuffix): Tweak custom type.
778 (comint-filename-completion, comint--common-suffix)
779 (comint--common-quoted-suffix, comint--table-subvert)
780 (comint--complete-file-name-data): New functions.
781 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
782 (comint-dynamic-list-filename-completions): Use them.
783 (comint-dynamic-simple-complete): Make obsolete.
785 * minibuffer.el (completion-in-region-mode):
786 Keep completion-in-region-mode--predicate global.
787 (completion-in-region--postch):
788 Assume completion-in-region-mode--predicate is not null.
790 * progmodes/flymake.el (flymake-start-syntax-check-process):
791 Obey `dir'. Simplify.
793 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
794 we're in VC after all.
796 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
798 * vc/vc.el (vc-diff-build-argument-list-internal)
799 (vc-version-ediff, vc-ediff): New commands.
800 (vc-version-diff): Use vc-diff-build-argument-list-internal.
802 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
807 * obsolete/erc-hecomplete.el: Make obsolete.
808 * obsolete/: Standardize obsolescence info in the header.
810 2011-04-20 Glenn Morris <rgm@gnu.org>
812 * calendar/solar.el (solar-horizontal-coordinates):
813 Use the longitude argument rather than `calendar-longitude'.
814 (solar-date-next-longitude): Remove unused locals.
816 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
818 * whitespace.el: New version 13.2.1.
820 2011-04-20 felix <EmacsWiki> (tiny change)
822 * whitespace.el (global-whitespace-mode): keep highlight when
823 switching between major modes on a file.
825 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
827 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
828 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
829 multi-line comments as well.
831 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
833 Lexical-binding cleanup.
835 * arc-mode.el (archive-mode-revert):
836 * cmuscheme.el (scheme-interactively-start-process):
837 * custom.el (custom-initialize-delay):
838 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
839 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
840 * emacs-lock.el (emacs-lock-clear-sentinel):
841 * ezimage.el (defezimage):
842 * follow.el (follow-avoid-tail-recenter):
843 * fringe.el (set-fringe-mode-1):
844 * generic-x.el (bat-generic-mode-compile):
845 * help-mode.el (help-info-variable, help-do-xref)
846 (help-mode-revert-buffer):
847 * help.el (view-emacs-todo):
848 * iswitchb.el (iswitchb-completion-help):
849 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
850 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
851 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
852 * locate.el (locate-update):
853 * longlines.el (longlines-encode-region)
854 (longlines-after-change-function):
855 * outline.el (outline-isearch-open-invisible):
856 * ps-def.el (declare-function, charset-dimension, char-width)
858 * ps-mule.el (ps-mule-plot-string):
859 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
860 (recentf-edit-list-select, recentf-edit-list-validate)
861 (recentf-open-files-action):
862 * rect.el (delete-whitespace-rectangle-line)
863 (rectangle-number-line-callback):
864 * register.el (window-configuration-to-register)
865 (frame-configuration-to-register):
866 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
867 * select.el (xselect-convert-to-string, xselect-convert-to-length)
868 (xselect-convert-to-targets, xselect-convert-to-delete)
869 (xselect-convert-to-filename, xselect-convert-to-charpos)
870 (xselect-convert-to-lineno, xselect-convert-to-colno)
871 (xselect-convert-to-os, xselect-convert-to-host)
872 (xselect-convert-to-user, xselect-convert-to-class)
873 (xselect-convert-to-name, xselect-convert-to-integer)
874 (xselect-convert-to-atom, xselect-convert-to-identity):
875 * subr.el (declare, ignore, process-kill-without-query)
876 (text-clone-maintain):
877 * terminal.el (te-get-char, te-tic-sentinel):
878 * tool-bar.el (tool-bar-make-keymap):
879 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
880 * type-break.el (type-break-mode, type-break-noninteractive-query):
881 * view.el (View-back-to-mark):
882 * wid-browse.el (widget-browse-action, widget-browse-widget)
883 (widget-browse-widgets, widget-browse-sexp):
884 * widget.el (define-widget-keywords):
885 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
886 Mark unused parameters.
888 * align.el (align-adjust-col-for-rule): Mark unused parameter.
889 (align-areas): Remove unused variable `look'.
890 (align-region): Remove unused variables `real-end' and `pos-list'.
892 * apropos.el (apropos-score-doc): Remove unused variable `i'.
894 * bindings.el (mode-line-modified, mode-line-remote):
895 Mark unused parameters.
896 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
898 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
899 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
901 * comint.el (comint-history-isearch-pop-state)
902 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
903 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
904 (comint-substitute-in-file-name): Doc fix.
906 * completion.el (cmpl-statistics-block): Mark unused parameter.
907 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
908 (save-completions-to-file, load-completions-from-file):
909 Remove unused local variable `e'.
911 * composite.el (compose-chars): Remove unused variable `len'.
912 (lgstring-insert-glyph): Remove unused variable `g'.
913 (compose-glyph-string): Remove unused variables `ascent',
914 `descent', `lbearing' and `rbearing'.
915 (compose-glyph-string-relative): Remove unused variables
916 `lbearing', `rbearing' and `wadjust'.
917 (compose-gstring-for-graphic): Remove unused variables `header',
918 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
919 (compose-gstring-for-terminal): Remove unused variables `header'
920 and `nchars'. Use `let', not `let*'.
922 * cus-edit.el (Custom-set, Custom-save, custom-reset)
923 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
924 (Custom-buffer-done, custom-buffer-create-internal)
925 (custom-browse-visibility-action, custom-browse-group-tag-action)
926 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
927 (widget-magic-mouse-down-action, custom-toggle-parent)
928 (custom-add-parent-links, custom-toggle-hide-variable)
929 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
930 (custom-toggle-hide-face, face, hook, custom-group-link-action)
931 (custom-face-menu-create, custom-variable-menu-create, get)
932 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
933 (custom-reset-standard-save-and-update): Remove unused variable `value'.
934 (customize-apropos): Remove unused variable `tests'.
935 (custom-group-value-create): Remove unused variable `hidden-p'.
936 (sort-fold-case): Declare.
938 * cus-theme.el (custom-reset-standard-faces-list)
939 (custom-reset-standard-variables-list): Declare.
940 (customize-create-theme, custom-theme-revert, custom-theme-write)
941 (custom-theme-choose-mode, customize-themes, custom-theme-save):
942 Mark unused parameters.
944 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
946 * delim-col.el (delimit-columns-max): Move defvar before first use.
948 * descr-text.el (describe-char-categories): Don't quote `lambda'.
949 (describe-char): Don't quote `lambda'. Mark unused parameter.
951 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
952 (auto-insert): Declare.
953 (desktop-restore-file-buffer): Rename desktop-* parameters;
955 (desktop-create-buffer): Rename desktop-* parameters and bind them.
956 (desktop-buffer): Rename desktop-* parameters.
958 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
959 (dframe-reposition-frame-xemacs, dframe-help-echo)
960 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
961 Mark unused parameters.
963 * dired-aux.el (backup-extract-version-start, overwrite-query)
964 (overwrite-backup-query, rename-regexp-query)
965 (rename-non-directory-query): Declare.
966 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
967 (dired-add-entry): Remove unused variable `orig-file-name'.
968 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
969 Use parameter PRESERVE-TIME instead of accessing dynamic variable
970 `dired-copy-preserve-time' directly.
971 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
972 (dired-insert-subdir-newpos): Rename unused variable `pos'.
974 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
975 (dired-virtual-revert, dired-make-relative-symlink):
976 Mark unused parameters.
977 (manual-program): Declare.
978 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
979 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
980 wrapped in `with-no-warnings' to avoid replacing one warning by another.
982 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
984 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
986 * echistory.el (electric-history-in-progress, Helper-return-blurb):
989 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
991 * electric.el (Electric-command-loop): Rename parameter
992 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
994 * expand.el (expand-in-literal): Remove unused variable `here'.
996 * facemenu.el (facemenu-add-new-color):
997 Remove unused variable `docstring'.
999 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1000 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1001 (face-attr-construct): Mark unused parameter. Doc fix.
1002 (read-color): Remove unused variable `hex-string'.
1004 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1005 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1006 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1007 (display-buffer-other-frame): Remove unused variable `old-window'.
1008 (kill-buffer-hook): Declare.
1009 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1010 Mark unused parameters.
1011 (after-find-file): Pass 1 to `auto-save-mode', not t.
1013 * files-x.el (auto-insert): Declare.
1014 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1016 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1017 variable `buf'. Mark unused parameter.
1018 (find-lisp-insert-directory): Mark unused parameter.
1020 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1021 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1022 (format-common-tail): Remove, unused.
1023 (format-deannotate-region): Remove unused variable `loc'.
1024 (format-annotate-region): Remove unused variable `p'.
1025 (format-annotate-single-property-change): Remove unused variables
1026 `default' and `tail'.
1028 * forms.el (read-file-filter): Declare.
1029 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1031 * frame.el (frame-creation-function-alist): Mark unused parameter.
1032 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1034 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1035 Remove unused parameters.
1036 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1037 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1039 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1040 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1041 (hfy-prepare-tag-map): Mark unused parameters.
1042 (htmlfontify-buffer): Use `called-interactively-p'.
1044 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1045 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1046 (ibuffer-do-occur): Mark unused parameters.
1047 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1048 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1050 * ibuffer.el: Don't quote `lambda'.
1051 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1052 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1053 Mark unused parameters.
1055 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1056 (ido-completing-read): Mark unused parameters.
1057 (ido-copy-current-word): Mark unused parameters;
1058 remove unused variable `name'.
1059 (ido-sort-merged-list): Remove unused parameter `dirs'.
1061 * ielm.el (ielm-input-sender): Mark unused parameter.
1062 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1063 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1064 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1065 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1066 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1068 * image-dired.el (image-dired-display-thumbs): Remove unused
1069 variables `curr-file' and `count'.
1070 (image-dired-remove-tag): Remove unused variable `start'.
1071 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1072 variable `curr-file'
1073 (image-dired-rotate-original): Remove unused variable `temp-file'.
1074 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1075 Remove unused variable `file'.
1076 (image-dired-gallery-generate): Remove unused variable `curr'.
1077 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1079 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1081 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1083 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1085 * isearch.el (minibuffer-history-symbol): Declare.
1086 (isearch-edit-string): Remove unused variable `err'.
1087 (isearch-message-prefix, isearch-message-suffix):
1088 Mark unused parameters.
1090 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1092 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1094 * makesum.el (double-column): Remove unused variable `cnt'.
1096 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1097 (ido-ignore-item-temp-list): Declare.
1099 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1100 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1101 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1102 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1105 * mouse-sel.el (mouse-extend-internal):
1106 Remove unused variable `orig-window-frame'.
1108 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1109 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1110 Move declarations before first use.
1111 (pcomplete-opt): Mark unused parameters; doc fix.
1113 * proced.el (proced-revert): Mark unused parameter.
1114 (proced-send-signal): Remove unused variable `err'.
1116 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1117 Rename parameter PREFIX-ARG to ARG.
1118 (ps-basic-plot-string, ps-basic-plot-whitespace):
1119 Mark unused parameters.
1121 * replace.el (replace-count): Define.
1122 (occur-revert-function): Mark unused parameters.
1123 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1124 (isearch-case-fold-search, isearch-string): Declare.
1125 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1126 bind `case-fold-search'. Remove unused variables `beg' and `end',
1128 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1129 COUNT and bind `replace-count'.
1130 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1133 * savehist.el (print-readably, print-string-length): Declare.
1135 * shadowfile.el (shadow-expand-cluster-in-file-name):
1136 Remove unused variable `cluster'.
1137 (shadow-copy-file): Remove unused variable `i'.
1138 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1139 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1140 (shadow-define-literal-group, shadow-define-regexp-group)
1141 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1143 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1144 (shell): Use `called-interactively-p'.
1145 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1147 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1148 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1149 (delete-backward-char): Remove unused variable `ocol'.
1150 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1151 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1152 (event-apply-hyper-modifier, event-apply-shift-modifier)
1153 (event-apply-control-modifier, event-apply-meta-modifier):
1154 Mark unused parameters.
1155 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1156 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1158 * speedbar.el (speedbar-ignored-directory-expressions)
1159 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1160 (speedbar-find-file, speedbar-dir-follow)
1161 (speedbar-directory-buttons-follow, speedbar-tag-find)
1162 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1163 (speedbar-buffers-line-directory, speedbar-buffer-click):
1164 Mark unused parameters.
1165 (speedbar-tag-file): Remove unused variable `mode'.
1166 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1168 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1170 * talk.el (talk): Remove unused variable `display'.
1172 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1173 (tar-write-region-annotate): Mark unused parameter.
1175 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1176 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1177 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1180 * time-stamp.el (time-stamp-string-preprocess):
1181 Remove unused variable `require-padding'.
1183 * tree-widget.el (widget-glyph-enable): Declare.
1184 (tree-widget-action): Mark unused parameter.
1186 * w32-fns.el (x-get-selection): Mark unused parameter.
1187 (autoload-make-program, generated-autoload-file): Declare.
1189 * wdired.el (wdired-revert): Mark unused parameters.
1190 (wdired-xcase-word): Remove unused variable `err'.
1192 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1193 (whitespace-help-scroll): Remove unused variable `data-help'.
1195 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1196 (widget-image-insert, widget-after-change, default)
1197 (widget-default-format-handler, widget-default-notify)
1198 (widget-default-prompt-value, widget-info-link-action)
1199 (widget-url-link-action, widget-function-link-action)
1200 (widget-variable-link-action, widget-file-link-action)
1201 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1202 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1203 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1204 (widget-insert-button-action, widget-delete-button-action, visibility)
1205 (widget-documentation-link-action, widget-documentation-string-action)
1206 (widget-const-prompt-value, widget-regexp-match, symbol)
1207 (widget-coding-system-prompt-value)
1208 (widget-key-sequence-value-to-external, sexp)
1209 (widget-sexp-value-to-internal, character, vector, cons)
1210 (widget-choice-prompt-value, widget-boolean-prompt-value)
1211 (widget-color--choose-action): Mark unused parameters.
1212 (widget-item-match-inline, widget-choice-match-inline)
1213 (widget-checklist-match, widget-checklist-match-inline)
1214 (widget-group-match): Rename parameter VALUES to VALS.
1215 (widget-field-value-set): Remove unused variable `size'.
1216 (widget-color-action): Remove unused variables `value' and `start'.
1218 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1219 variable `dir'. Doc fix.
1220 (windmove-find-other-window): Don't pass it.
1222 * window.el (count-windows): Mark unused parameter.
1223 (bw-adjust-window): Remove unused variable `err'.
1225 * woman.el (woman-file-name): Remove unused variable `default'.
1226 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1227 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1228 (global-font-lock-mode): Declare.
1229 (woman-decode-region): Mark unused parameter.
1230 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1232 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1233 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1234 (x-dnd-handle-moz-url): Remove unused variable `title'.
1235 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1237 * xml.el (xml-parse-tag, xml-parse-attlist):
1238 Remove unused variable `pos'.
1240 2011-04-19 Glenn Morris <rgm@gnu.org>
1242 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1243 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1244 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1245 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1246 * calendar/cal-html.el (cal-html-insert-minical):
1247 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1248 (calendar-mark-date-pattern):
1249 Prefix "unused" locals.
1251 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1252 optional argument `style'.
1254 * calendar/appt.el (appt-make-list):
1255 * calendar/cal-china.el (calendar-chinese-date-string):
1256 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1257 (diary-hebrew-yahrzeit):
1258 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1259 * calendar/calendar.el (calendar-generate-window):
1260 * calendar/time-date.el (time-to-days):
1261 Remove unused local variables.
1263 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1265 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1266 glyphless-char-display table.
1267 (tabulated-list-glyphless-char-display): New var.
1269 2011-04-18 Sam Steingold <sds@gnu.org>
1271 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1274 2011-04-17 Glenn Morris <rgm@gnu.org>
1276 * calendar/diary-lib.el (diary-sexp-entry):
1277 * calendar/holidays.el (holiday-sexp):
1278 Set debug-on-error rather than the removed stack-trace-on-error.
1280 2011-04-16 Glenn Morris <rgm@gnu.org>
1282 * progmodes/f90.el: Use lexical-binding.
1283 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1285 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1288 (mail-mode): Setup mailalias completion here instead.
1289 * mail/mailalias.el: Use lexical-binding.
1290 (pattern, mailalias-done): Declare dynamic.
1291 (mail-completion-at-point-function): New function, from mail-complete.
1292 (mail-complete): Use it.
1293 (mail-completion-expand): New function.
1294 (mail-get-names): Use it.
1295 (mail-directory, mail-directory-process, mail-directory-stream):
1296 Don't use `pattern' for lexically bound arg.
1298 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1300 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1301 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1302 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1304 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1305 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1306 (byte-interactive-p): Define them again, for use when inlining
1309 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1311 * loadup.el: Use `string-to-number', not `string-to-int'.
1313 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1316 gud-gdb-complete-command.
1317 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1318 (gud-gdb-completion-at-point): New function.
1319 (gud-gdb-completions): Remove.
1321 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1323 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1324 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1325 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1326 whether `executable-find' is bound.
1328 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1330 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * minibuffer.el (completion-in-region-mode-predicate)
1333 (completion-in-region-mode--predicate): New vars.
1334 (completion-in-region, completion-in-region--postch)
1335 (completion-in-region-mode): Use them.
1336 (completion--capf-wrapper): Also return the hook function.
1337 (completion-at-point, completion-help-at-point):
1338 Adjust and provide a predicate.
1340 Preserve arg names for advice of subr and lexical functions (bug#8457).
1341 * help-fns.el (help-function-arglist): Consolidate the subr and
1342 new-byte-code cases. Add argument `preserve-names' to extract names
1343 from the docstring when needed.
1344 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1345 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1346 (ad-arglist): Use help-function-arglist's new arg.
1347 (ad-definition-type): Use cond.
1349 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1351 * autorevert.el (auto-revert-handler):
1352 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1353 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1356 * image-mode.el (image-transform-set-scale):
1357 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1359 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1361 * net/network-stream.el (network-stream-open-starttls): Only do
1362 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1363 Upgrades via gnutls-cli are too slow to be done opportunistically.
1365 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1367 * dframe.el (dframe-current-frame): Remove spurious quote.
1369 2011-04-12 Glenn Morris <rgm@gnu.org>
1371 * calendar/cal-tex.el (cal-tex-end-document):
1372 Try to automatically use latin1 input if needed.
1374 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1375 Don't try to cons a mark onto an empty element.
1377 2011-04-11 Leo Liu <sdl.web@gmail.com>
1379 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1381 (ido-kill-buffer-at-head): Support killing virtual buffers.
1383 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1385 * minibuffer.el (completion-show-inline-help): New var.
1386 (completion--do-completion, minibuffer-complete)
1387 (minibuffer-force-complete, minibuffer-complete-word):
1388 Inhibit minibuffer messages if completion-show-inline-help is nil.
1390 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1391 to avoid interference from inline help (Bug#5849).
1393 2011-04-10 Leo Liu <sdl.web@gmail.com>
1395 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1398 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1400 * image-mode.el (image-toggle-display-image): Signal an error if
1402 (image-transform-mode, image-transform-resize)
1403 (image-transform-set-rotation): Doc fix.
1404 (image-transform-set-resize): Delete.
1405 (image-transform-set-scale, image-transform-fit-to-height)
1406 (image-transform-fit-to-width): Handle image-toggle-display-image
1407 and image-transform-resize directly.
1409 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1411 * doc-view.el (doc-view-fit-width-to-window)
1412 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1413 New functions for fitting the shown image to the Emacs window size.
1414 (doc-view-mode-map): Add bindings for the new functions.
1416 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1418 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1419 Fix typo in docstring.
1421 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1423 * files.el (file-size-human-readable): Produce one digit after
1424 decimal, like "ls -lh" does.
1426 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1427 the file size representation.
1429 * simple.el (list-processes): If async subprocesses are not
1430 available, error out with a clear error message.
1432 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1434 * help.el (help-form-show): New function, to be called from C.
1435 Put help-form output in a buffer named differently than *Help*.
1437 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1439 * files.el (file-size-human-readable): New function.
1441 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1442 computing the representation inline. Don't require `cl'.
1444 2011-04-08 Glenn Morris <rgm@gnu.org>
1446 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1448 * net/browse-url.el (browse-url-firefox):
1449 Test system-type, not system-configuration.
1451 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1452 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1453 Use log-edit-empty-buffer-p. (Bug#7598)
1455 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1456 (rlogin-mode-map): Initialize in the defvar.
1457 (rlogin): Use ignore-errors.
1459 * replace.el (occur-mode-map): Some fixes for menu items.
1461 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1463 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1465 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1467 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1468 issuing unused warnings.
1470 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1473 * simple.el: Lisp reimplement of list-processes. Based on an
1474 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1475 (process-menu-mode): New major mode.
1476 (list-processes--refresh, list-processes):
1477 (process-menu-visit-buffer): New functions.
1479 * files.el (save-buffers-kill-emacs): Don't assume any return
1480 value of list-processes, which is undocumented anyway.
1482 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1484 * emacs-lisp/tabulated-list.el: New file.
1486 * emacs-lisp/package.el: Use Tabulated List mode.
1487 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1488 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1489 table format using Tabulated List mode variables.
1490 (package--push): New macro, replacing package-list-maybe-add.
1491 (package-menu--generate): Use package--push. Renamed from
1492 package--generate-package-list.
1493 (package-menu-refresh, list-packages): Use it.
1494 (package-menu--print-info): Rename from package-print-package.
1495 Return insertion data instead of inserting it directly.
1496 (package-menu-describe-package, package-menu-execute):
1497 Use tabulated-list-get-id.
1498 (package-menu-mark-delete, package-menu-mark-install)
1499 (package-menu-mark-unmark, package-menu-backup-unmark)
1500 (package-menu-mark-obsolete-for-deletion):
1501 Use tabulated-list-put-tag.
1502 (package--list-packages, package-menu-revert)
1503 (package-menu-get-package, package-menu-get-version)
1504 (package-menu-sort-by-column): Functions deleted.
1505 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1506 (package-menu--status-predicate, package-menu--version-predicate)
1507 (package-menu--name-predicate)
1508 (package-menu--description-predicate): Handle arguments in the
1509 Tabulated List format.
1510 (package-list-packages-no-fetch): Call list-packages.
1512 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1514 * files.el (after-find-file-from-revert-buffer): Remove variable.
1515 (after-find-file): Don't bind it.
1516 (revert-buffer-in-progress-p): New variable.
1517 (revert-buffer): Bind it.
1518 Pass nil for `after-find-file-from-revert-buffer'.
1520 * saveplace.el (save-place-find-file-hook): Use new variable
1521 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1523 2011-04-06 Glenn Morris <rgm@gnu.org>
1525 * Makefile.in (AUTOGEN_VCS): New variable.
1526 (autoloads): Use $AUTOGEN_VCS.
1528 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1529 * calendar/calendar.el (calendar-mode-map):
1530 Check for toolkit scroll bars. (Bug#8305)
1532 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1534 * minibuffer.el (completion-in-region--postch)
1535 (completion-in-region-mode): Remove unnecessary messages.
1537 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1539 * font-lock.el (font-lock-refresh-defaults):
1540 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1541 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1543 * info.el (Info-directory-list, Info-read-node-name-2)
1544 (Info-split-parameter-string): Doc fixes.
1545 (Info-virtual-nodes): Reflow docstring.
1546 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1547 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1548 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1549 Fix typos in docstrings.
1550 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1551 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1552 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1553 (Info-restore-desktop-buffer): Mark unused parameters.
1554 (Info-directory-find-file, Info-directory-find-node)
1555 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1556 (Info-virtual-index-find-node, Info-apropos-find-file)
1557 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1558 Mark unused parameters; fix typos in docstrings.
1559 (Info-virtual-index): Remove unused local variable `nodename'.
1561 2011-04-05 Deniz Dogan <deniz@dogan.se>
1563 * net/rcirc.el: Update my e-mail address.
1564 (rcirc-mode-map): Remove M-o binding.
1566 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1568 * startup.el (command-line): Save the cursor's theme-face
1569 directly, instead of using face-override-spec.
1571 * custom.el (load-theme): Minor optimization in assigning faces.
1573 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1575 * help-fns.el (describe-variable): Complete all variables having
1576 documentation, including keywords.
1577 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1579 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1581 Convert to lexical-binding.
1583 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1584 (bs--get-marked-string, bs--get-modified-string)
1585 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1586 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1587 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1589 * ehelp.el (electric-help-execute-extended)
1590 (electric-help-ctrl-x-prefix):
1591 * hexl.el (hexl-revert-buffer-function):
1592 * linum.el (linum-after-change, linum-after-scroll):
1593 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1595 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1597 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1604 * epg.el: Use lexical binding.
1606 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1608 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1610 * textmodes/flyspell.el (flyspell-word): Recognize default
1611 dictionary case for flyspell-mark-duplications-exceptions.
1612 Use regexp matching for languages.
1613 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1614 default dictionary (Bug#7926).
1616 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1618 * emacs-lisp/package.el (package--with-work-buffer):
1619 Recognize https URLs.
1621 * net/network-stream.el: Move from gnus/proto-stream.el.
1622 Change prefix to network-stream throughout.
1623 (open-protocol-stream): Merge into open-network-stream, leaving
1624 open-protocol-stream as an alias. Handle nil BUFFER args.
1626 * subr.el (open-network-stream): Move to net/network-stream.el.
1628 2011-04-02 Glenn Morris <rgm@gnu.org>
1630 * find-dired.el (find-exec-terminator): New option.
1631 (find-ls-option): Test for -ls support.
1632 (find-ls-subdir-switches): Test for -b in find-ls-option.
1633 (find-dired, find-grep-dired): Doc fixes.
1634 (find-dired): Use find-exec-terminator.
1636 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1637 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1638 (find-name-arg): Remove purecopy.
1640 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1641 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1642 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1643 accordingly. Don't add the null-device if not needed.
1645 * files.el (save-some-buffers): Doc fix.
1647 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1649 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1651 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1653 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1654 Use `dolist' rather than `mapcar'.
1656 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1658 Add lexical binding.
1660 * subr.el (apply-partially): Use new closures rather than CL.
1661 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1662 (dolist, dotimes): Use slightly different expansion for lexical code.
1663 (functionp): Move to C.
1664 (letrec): New macro.
1665 (with-wrapper-hook): Use it and apply-partially instead of CL.
1666 (eval-after-load): Preserve lexical-binding.
1667 (save-window-excursion, with-output-to-temp-buffer): Turn them
1670 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1672 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1674 (help-add-fundoc-usage): Don't add `Not documented'.
1675 (help-function-arglist): Handle closures, subroutines, and new
1676 byte-code-functions.
1677 (help-make-usage): Remove leading underscores.
1678 (describe-function-1): Handle closures.
1679 (describe-variable): Use special-variable-p for completion.
1681 * files.el (lexical-binding): Declare safe.
1683 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1684 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1685 (pcase): Add `let' pattern.
1686 Change memoization so it actually works.
1687 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1688 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1691 * emacs-lisp/macroexp.el: Use lexical binding.
1692 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1693 Don't convert ' to #' without checking that it's indeed quoting
1696 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1697 Use eval-sexp-add-defvars.
1698 (eval-sexp-add-defvars): New fun.
1700 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1702 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1704 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1705 than the internal `byte-compile-lambda'.
1706 (defmethod): Don't hide code under quotes.
1707 (eieio-defmethod): New `code' argument.
1709 * emacs-lisp/eieio-comp.el: Remove.
1711 * emacs-lisp/edebug.el (edebug-eval-defun)
1712 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1713 (edebug-toggle): Avoid `eval'.
1715 * emacs-lisp/disass.el (disassemble-internal): Handle new
1717 (disassemble-1): Handle new byte codes.
1719 * emacs-lisp/cl.el (pushnew): Silence warning.
1721 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1722 (cl-byte-compile-throw): Remove.
1723 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1725 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1728 * emacs-lisp/cconv.el: New file.
1730 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1731 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1732 (byte-compile-initial-macro-environment):
1733 Handle declare-function here.
1734 (byte-compile--lexical-environment): New var.
1735 (byte-stack-ref, byte-stack-set, byte-discardN)
1736 (byte-discardN-preserve-tos): New lap codes.
1737 (byte-interactive-p): Don't use any more.
1738 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1740 (byte-compile-lapcode): Use them and handle new lap codes.
1741 (byte-compile-obsolete): Remove.
1742 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1743 (byte-compile-arglist-warn): Check late def of inlinable funs.
1744 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1745 since they should have been expanded by now.
1746 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1747 (byte-compile-from-buffer): Remove unused second arg.
1748 (byte-compile-preprocess): New function.
1749 (byte-compile-toplevel-file-form): New function to distinguish
1750 file-form calls from outside from file-form calls from hunk-handlers.
1751 (byte-compile-file-form): Simplify.
1752 (byte-compile-file-form-defsubst): Remove.
1753 (byte-compile-file-form-defmumble): Simplify now that
1754 byte-compile-lambda always returns a byte-code-function.
1755 (byte-compile): Preprocess.
1756 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1757 Remove, not used any more.
1758 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1759 (byte-compile-make-args-desc): New funs.
1760 (byte-compile-lambda): Handle lexical functions. Always return
1761 a byte-code-function.
1762 (byte-compile-reserved-constants): New var, to make up room for
1763 closed-over variables.
1764 (byte-compile-constants-vector): Obey it.
1765 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1766 (byte-compile-macroexpand-declare-function): New function.
1767 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1768 byte-code-functions.
1769 (byte-compile-form): Check obsolescence here.
1770 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1771 (byte-compile-variable-ref): Remove.
1772 (byte-compile-dynamic-variable-op): New fun.
1773 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1774 (byte-compile-variable-set): New funs.
1775 (byte-compile-discard): Add 2 args.
1776 (byte-compile-stack-ref, byte-compile-stack-set)
1777 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1778 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1779 macroexpand-all instead.
1780 (byte-compile-quote-form): Remove.
1781 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1782 (byte-compile-bind, byte-compile-unbind): New funs.
1783 (byte-compile-let): Handle let* and lexical binding.
1784 (byte-compile-let*): Remove.
1785 (byte-compile-catch, byte-compile-unwind-protect)
1786 (byte-compile-track-mouse, byte-compile-condition-case):
1787 Handle a new :fun-body form, used for lexical scoping.
1788 (byte-compile-save-window-excursion)
1789 (byte-compile-with-output-to-temp-buffer): Remove.
1790 (byte-compile-defun): Simplify.
1791 (byte-compile-stack-adjustment): New fun.
1792 (byte-compile-out): Use it.
1793 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1795 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1798 * emacs-lisp/byte-opt.el: Use lexical binding.
1799 (byte-inline-lapcode): Remove (to bytecomp).
1800 (byte-compile-inline-expand): Pay attention to inlining to/from
1801 lexically bound code.
1802 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1804 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1805 any more and don't call compiler-macros.
1806 (byte-compile-splice-in-already-compiled-code): Remove.
1807 (byte-code): Don't inline any more.
1808 (disassemble-offset): Receive `bytes' as argument rather than via
1810 (byte-compile-tag-number): Declare before first use.
1811 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1812 `return' even if make-spliceable.
1813 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1814 obsolete interactive-p.
1815 (byte-optimize-lapcode): Optimize new lap-codes.
1816 Don't trip up on new form of `byte-constant' lap code.
1818 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1820 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1822 * custom.el (custom-initialize-default, custom-declare-variable):
1825 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1827 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1828 (COMPILE_FIRST): Add macroexp and cconv.
1829 * makefile.w32-in: Mirror changes in Makefile.in.
1835 * vc/smerge-mode.el:
1836 * textmodes/bibtex-style.el:
1845 * emacs-lisp/smie.el:
1848 * abbrev.el: Use lexical binding.
1850 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1852 * info.el (info-display-manual): New function.
1854 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1856 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1858 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1860 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1861 an entry for that server in rcirc-authinfo. (Bug#8385)
1863 2011-03-31 Glenn Morris <rgm@gnu.org>
1865 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1867 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1869 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1871 * progmodes/python.el (python-default-interpreter)
1872 (python-python-command-args, python-jython-command-args)
1873 (python-which-shell, python-which-args, python-which-bufname)
1874 (python-file-queue, python-comint-output-filter-function)
1875 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1876 variables and functions.
1878 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1881 (completion-in-region-mode): New minor mode.
1882 (completion-in-region): Use it.
1883 (completion-in-region--data, completion-in-region-mode-map): New vars.
1884 (completion-in-region--postch): New function.
1885 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1887 (completion--capf-wrapper): New function.
1888 (completion-at-point): Use it to track well-behavedness of
1890 (completion-help-at-point): New command.
1892 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1894 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1895 syntax class to search for whitespace on a single line
1896 (Message-ID: <4D938140.4030905@redhat.com>).
1898 2011-03-30 Leo Liu <sdl.web@gmail.com>
1900 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1902 (edit-abbrevs-map): Bind them here.
1903 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1905 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1907 * allout.el (allout-hide-by-annotation, allout-flag-region):
1908 Reduce possibility of overlay leakage by making them volatile.
1910 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1911 hash is not shared between buffers. Mode initialization is
1912 responsible for giving it a useful starting value.
1913 (allout-item-span): Reduce possibility of overlay leakage by
1914 making them volatile.
1915 (allout-widgets-count-buttons-in-region): Add diagnostic function
1916 for tracking down button overlay leaks.
1918 2011-03-29 Leo Liu <sdl.web@gmail.com>
1920 * ido.el (ido-read-internal): Use the default history var
1921 minibuffer-history if no HISTORY is specified.
1923 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1925 * net/imap.el (imap-shell-open, imap-process-connection-type):
1926 Use imap-process-connection-type for 'shell' streams as well as
1927 Kerberos, SSL, other subprocesses.
1929 2011-03-28 Leo Liu <sdl.web@gmail.com>
1931 * abbrev.el (abbrev-table-empty-p): New function.
1932 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1933 nonempty ones. (Bug#5937)
1935 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1937 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1939 2011-03-27 Leo Liu <sdl.web@gmail.com>
1941 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1942 for foreground and background colors.
1943 (ansi-color-make-color-map): Adapt.
1945 2011-03-25 Leo Liu <sdl.web@gmail.com>
1947 * midnight.el (midnight-time-float): Remove. Note it calculates
1948 the microsecond component incorrectly and seconds-to-time does the
1950 Remove redundant (require 'timer).
1952 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1953 (ido-completions): Remove unused arguments. (Bug#8329)
1955 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * minibuffer.el (completion--flush-all-sorted-completions):
1958 Remove itself from hook.
1959 (completion-at-point): Let the functions perform the completion
1960 immediately and return nil or t.
1961 * comint.el (comint-dynamic-complete-functions): Now identical to
1962 completion-at-point-functions.
1963 (comint-dynamic-list-input-ring): Remove unused var `index'.
1964 (comint--match-partial-filename, comint--unquote&expand-filename):
1965 New funs, split from comint-match-partial-filename.
1966 (comint-dynamic-complete): Use completion-at-point.
1967 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1969 2011-03-24 Drew Adams <drew.adams@oracle.com>
1971 * thingatpt.el: Support `defun'.
1973 2011-03-23 Leo Liu <sdl.web@gmail.com>
1975 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1977 * help-mode.el (help-mode-finish): Tweak regexp.
1979 2011-03-23 Glenn Morris <rgm@gnu.org>
1981 * eshell/esh-opt.el (eshell-eval-using-options):
1982 Do not bind unused local variable `eshell-option-stub'.
1984 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1986 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1988 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1989 keymap variable in `with-no-warnings' to avoid a warning when the
1990 keymap has been already `defconst'ed.
1992 2011-03-22 Leo Liu <sdl.web@gmail.com>
1994 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1995 encode all chars in abbrevs; otherwise use emacs-mule or
1996 utf-8-emacs. (Bug#8308)
1998 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2000 * simple.el (backward-delete-char-untabify):
2001 Avoid warning about using `delete-backward-char'.
2003 * image.el (image-type-file-name-regexps): Make it variable.
2004 `imagemagick-register-types' modifies it, and the user may want
2005 to add new extensions for known image types.
2006 (imagemagick-register-types): Throw error if not using ImageMagick.
2008 2011-03-22 Leo Liu <sdl.web@gmail.com>
2010 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2011 located before rcirc-prompt-end-marker.
2012 (rcirc-complete): Error if point is not after rcirc prompt.
2013 Handle the case when table is nil.
2014 (rcirc-user-authenticated): Define to fix compiler warning.
2016 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2018 * custom.el (custom--inhibit-theme-enable): Make it affect only
2019 custom-theme-set-variables and custom-theme-set-faces.
2020 (provide-theme): Ignore custom--inhibit-theme-enable.
2021 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2022 (custom-enabling-themes): Delete variable.
2023 (enable-theme): Accept only loaded themes as arguments.
2024 Ignore the special custom-enabled-themes variable.
2025 (custom-enabled-themes): Forbid themes from setting this.
2026 Eliminate use of custom-enabling-themes.
2027 (custom-push-theme): Quote "changed" custom var entry.
2029 2011-03-21 Leo Liu <sdl.web@gmail.com>
2031 * ido.el (ido-read-internal): Add ido-selected to history instead
2034 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * subr.el (deferred-action-list, deferred-action-function):
2039 2011-03-21 Leo Liu <sdl.web@gmail.com>
2041 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2042 change on 2011-02-13 (bug#8309).
2044 * minibuffer.el (read-file-name-function): Change default value.
2045 (read-file-name--defaults): Rename from read-file-name-defaults.
2046 (read-file-name-default): Rename from read-file-name.
2047 (read-file-name): Call read-file-name-function.
2049 2011-03-21 Glenn Morris <rgm@gnu.org>
2051 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2054 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2056 * cus-theme.el: Add missing provide statement.
2057 (customize-create-theme): Extract theme value correctly.
2058 (custom-theme-visit-theme): Autoload.
2059 (customize-create-theme): Prompt before inserting default faces.
2061 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2063 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2064 units and musical notes.
2066 2011-03-20 Leo <sdl.web@gmail.com>
2068 * ido.el (ido-read-internal): Use completing-read-default.
2069 (ido-completing-read): Fix compatibility with completing-read.
2071 2011-03-20 Christian Ohler <ohler@gnu.org>
2073 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2074 (ert-delete-all-tests): Use `called-interactively-p' rather than
2076 (ert--make-xrefs-region): Respect END.
2078 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2080 * dired-aux.el (dired-create-directory): Signal an error if the
2081 directory already exists (Bug#8246).
2083 * facemenu.el (list-colors-display): Call list-faces-display
2084 inside with-help-window.
2085 (list-colors-print): Use display property to align the final
2086 column, instead of checking window-width.
2088 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2090 * emerge.el (emerge-metachars): Separate value for ms-dos and
2092 (emerge-protect-metachars): Quote correctly for ms-dos and
2095 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2097 * info.el (info-initialize): Replace all uses of `:' with
2098 path-separator for compatibility with non-Unix systems.
2099 Cache quoting of path-separator. (Bug#8258)
2101 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2103 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2104 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2105 (mouse-avoidance-mode): Fix typos in docstrings.
2107 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2109 * startup.el (package-subdirectory-regexp): Move from package.el.
2110 Omit \\` and \\', and let callers add them.
2112 * emacs-lisp/package.el (package-strip-version)
2113 (package-load-all-descriptors): Add \\` and \\' to
2114 package-subdirectory-regexp before using it.
2115 (package-untar-buffer): New arg DIR; ensure that file untars only
2116 into this expected directory. Remove superfluous delete-region.
2117 (package-unpack): Caller changed.
2118 (package-tar-file-info): Use package-subdirectory-regexp.
2120 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2122 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2123 diff-mode-shared-map (bug#8284).
2124 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2126 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2128 * calendar/time-date.el (format-seconds): Use assoc instead of
2129 assoc-string, since assoc-string doesn't exist in XEmacs.
2131 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2133 * custom.el (custom-known-themes): Reflow docstring.
2134 (custom-theme-load-path): Fix typo in docstring.
2135 (load-theme): Fix typo in error message.
2136 (custom-available-themes, custom-variable-theme-value):
2137 Use `let', not `let*'.
2139 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2141 * calc/README: Mention inclusion of musical notes.
2143 * calc/calc-units.el (calc-lu-quant): Rename from
2144 `calc-logunits-quantity'.
2145 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2146 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2147 (calc-db): Rename from `calc-dblevel'.
2148 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2149 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2150 (calc-np): Rename from `calc-nplevel'.
2151 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2152 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2153 (calc-lu-plus): Rename from `calc-logunits-add'.
2154 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2155 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2156 (calc-lu-minus): Rename from `calc-logunits-sub'.
2157 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2158 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2159 (calc-lu-times): Rename from `calc-logunits-mul'.
2160 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2161 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2162 (calc-lu-divide): Rename from `calc-logunits-div'.
2163 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2164 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2166 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2167 functions being autoloaded.
2169 * calc/calc.el (calc-lu-power-reference): Rename from
2170 `calc-logunits-power-reference'.
2171 (calc-lu-field-reference): Rename from
2172 `calc-logunits-field-reference'.
2174 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2176 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * minibuffer.el (completion-all-sorted-completions):
2179 Use :completion-cycle-penalty text property if present.
2181 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2183 * allout.el (allout-yank-processing): Adjust for new rebulleting
2184 regime so bullet being yanked is used without prompting the user
2187 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2189 * startup.el (command-line): Warn the user that _emacs is deprecated.
2191 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2193 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2194 (delphi-verbose, delphi-comment-face, delphi-string-face)
2195 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2196 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2197 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2198 (delphi-new-comment-line, delphi-font-lock-defaults)
2199 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2200 Fix typos in docstrings.
2202 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2204 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2205 Invert the roles of character and string values for INSTEAD, so a
2206 string is used for the more common case of a defaulting prompt.
2208 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * progmodes/ruby-mode.el (ruby-backward-sexp):
2211 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2212 * play/gamegrid.el (gamegrid-make-face):
2213 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2214 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2215 * notifications.el (notifications-notify):
2216 * net/xesam.el (xesam-search-engines):
2217 * net/quickurl.el (quickurl-list-insert):
2218 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2220 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2222 * startup.el (command-line): Update package subdirectory regexp.
2224 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * allout.el (allout-abbreviate-flattened-numbering)
2227 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2229 * subr.el (read-char-choice): Only show the cursor after the prompt,
2230 not after the answer.
2232 2011-03-15 Kevin Ryde <user42@zip.com.au>
2234 * help-fns.el (variable-at-point): Skip leading quotes, if any
2237 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2242 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2244 * shell.el (shell): When called interactively, offer to change the
2245 shell file name on remote hosts.
2247 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2249 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2250 integration for LDAP parameters. The host, base, user or binddn,
2251 and secret tokens can be specified in a netrc file, for instance.
2252 This is optional because an `auth-source' parameter must be
2253 specified in the search attributes.
2255 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2257 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2259 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2262 into declaration. Remove redundant and harmful binding.
2264 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2266 * files.el (file-ownership-preserved-p): Pass `integer' as an
2267 explicit 2nd argument to `file-attributes'. If the file's owner
2268 is the Administrators group on Windows, and the current user is
2269 Administrator, consider that a match.
2271 * server.el (server-ensure-safe-dir): Consider server directory
2272 safe on MS-Windows if its owner is the Administrators group while
2273 the current Emacs user is Administrator. Use `=' to compare
2274 numerical UIDs, since they could be integers or floats.
2276 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2278 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2280 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2282 Sync with Tramp 2.2.1.
2284 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2286 * net/trampver.el: Update release number.
2288 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2290 * progmodes/compile.el (compilation--previous-directory): Fix up
2291 various nil/dead-marker mismatches (bug#8014).
2292 (compilation-directory-properties, compilation-error-properties):
2293 Don't call it at a position past the one we're about to change.
2295 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2296 Disable obsolescence warnings in the file that declares it.
2298 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2300 * allout-widgets.el (allout-widgets-tally):
2301 Initialize allout-widgets-tally as a hash table rather than nil to
2302 prevent mode-line redisplay warnings. Also, clarify the module
2303 description and fix a comment typo.
2305 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2307 * help-fns.el (describe-variable): Don't complete keywords.
2308 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2310 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2312 * emacs-lisp/package.el (package-version-join): Impose a standard
2313 string representation for pre/alpha/beta version lists.
2314 (package-unpack-single): Standardize the directory name by passing
2315 it through package-version-join.
2316 (package-strip-rcs-id): Accept any version string that does not
2317 signal an error in version-to-list.
2319 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2321 * simple.el (delete-trailing-whitespace): Return nil for the
2322 benefit of `write-file-functions'.
2324 2011-03-10 Glenn Morris <rgm@gnu.org>
2326 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2328 * vc/vc-git.el (vc-git-program): New option.
2329 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2330 (vc-git--call): Use it.
2332 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2334 * cus-edit.el (Custom-newline): If no button at point, look
2335 for a subgroup button at start-of-line. (Bug#2298)
2337 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2339 2011-03-10 Julien Danjou <julien@danjou.info>
2341 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2342 `cursor-type' is nil.
2344 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2346 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2348 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2350 * allout.el Summary: Change so yank of distinctive-bullet items
2351 preserves the existing header prefix, rebulleting it if necessary,
2352 rather than replacing it. This is necessary for proper operation
2353 of cooperative addons like allout-widgets.
2354 (allout-make-topic-prefix, allout-rebullet-heading): Change
2355 SOLICIT arg to INSTEAD, and interpret additionally a string value
2356 as alternate bullet to be used, instead of prompting the user for
2359 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2361 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2362 Do not use `tramp-file-name-port', because this returns also
2363 `tramp-default-port'.
2365 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2367 * net/rcirc.el (rcirc-handler-001): Remove useless
2368 with-rcirc-process-buffer.
2369 (rcirc-check-auth-status): Swap arguments to string-match.
2371 2011-03-09 Glenn Morris <rgm@gnu.org>
2373 * shell.el (shell-mode):
2374 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2376 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2377 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2379 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2381 * emacs-lisp/package.el (package-refresh-contents)
2382 (package-menu-execute): Use condition-case-no-debug.
2384 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2386 * simple.el (shell-command-to-string): Use `process-file'.
2388 * emacs-lisp/package.el (package-tar-file-info): Handle also
2391 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2392 Use `equal' for upload base check.
2394 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2396 * textmodes/texinfo.el (texinfo-environments):
2397 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2399 2011-03-08 Glenn Morris <rgm@gnu.org>
2401 * cus-start.el (cursor-in-non-selected-windows):
2402 Fix :set quoting oddness. (Bug#8192)
2404 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2405 in some setf expressions. (Bug#2159)
2407 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2409 * custom.el (custom-available-themes): Return themes in
2412 See ChangeLog.15 for earlier changes.
2418 Copyright (C) 2011 Free Software Foundation, Inc.
2420 This file is part of GNU Emacs.
2422 GNU Emacs is free software: you can redistribute it and/or modify
2423 it under the terms of the GNU General Public License as published by
2424 the Free Software Foundation, either version 3 of the License, or
2425 (at your option) any later version.
2427 GNU Emacs is distributed in the hope that it will be useful,
2428 but WITHOUT ANY WARRANTY; without even the implied warranty of
2429 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2430 GNU General Public License for more details.
2432 You should have received a copy of the GNU General Public License
2433 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.