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