1 2011-05-09 Deniz Dogan <deniz@dogan.se>
3 * wdired.el: Remove outdated installation comment. Fix usage
6 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
8 * misc.el: Implement new command `list-dynamic-libraries'.
9 (list-dynamic-libraries--loaded-only-p): New variable.
10 (list-dynamic-libraries--refresh): New function.
11 (list-dynamic-libraries): New command.
13 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15 * progmodes/compile.el (compilation-error-regexp-alist-alist): Fix
16 the ant regexp to handle end-line and end-column info from jikes.
17 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18 higher priority to avoid clobbering by gnu.
20 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23 if the face has existing theme settings (Bug#8454).
25 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
27 * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
28 match variables declared via `my' or `our' (Bug#8261).
30 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
31 special file names `.' and `..' (Bug#8259).
33 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
35 * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
36 buffer-changing entries.
37 (grep-filter): New function.
38 (grep-mode): Add it to compilation-filter-hook.
40 * progmodes/compile.el (compilation-filter-hook)
41 (compilation-filter-start): New defvars.
42 (compilation-filter): Call compilation-filter-hook prior to
43 updating the process mark.
45 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
47 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
49 2011-05-07 Eli Zaretskii <eliz@gnu.org>
51 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
52 mailclient-send-it even if window-system is nil. (Bug#8595)
54 * term/w32console.el (terminal-init-w32console):
55 Call get-screen-color and use its output to set the frame
56 background-mode. (Bug#8597)
58 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
60 Make bytecomp.el understand that defmethod defines funs (bug#8631).
61 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
63 (defgeneric, eieio--defmethod): Use them.
64 (eieio-defgeneric): Remove.
65 (defmethod): Call defgeneric in a way visible to the byte-compiler.
67 2011-05-07 Glenn Morris <rgm@gnu.org>
69 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
70 Use let rather than let*.
71 (timeclock-find-discrep): Remove unused local.
73 * calendar/diary-lib.el (diary-comment-start): Doc fix.
75 * calendar/appt.el (appt-time-msg-list): Doc fix.
77 2011-05-06 Noah Friedman <friedman@splode.com>
79 * apropos.el (apropos-print-doc): Only use
80 emacs-lisp-docstring-fill-column when it is bound to an integer,
81 per that variable's documentation.
83 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
85 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
86 and warnings are not silently discarded (e.g. use -d instead of -P).
88 2011-05-06 Glenn Morris <rgm@gnu.org>
90 * calendar/appt.el (appt-message-warning-time): Doc fix.
91 (appt-warning-time-regexp): New option.
92 (appt-make-list): Respect appt-message-warning-time.
94 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
96 (diary-add-to-list): Strip comments from the displayed string.
97 (diary-mode): Set comment-start and comment-end.
99 * vc/diff-mode.el (smerge-refine-subst): Declare.
100 (diff-refine-hunk): Don't require smerge-mode when compiling.
102 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
104 * simple.el (list-processes): Return nil as the docstring says.
106 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
108 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
110 (ange-ftp-write-region, ange-ftp-insert-file-contents)
111 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
112 determining of binary transfer. (Bug#7383)
114 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
116 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
117 Fix port computation bug. (Bug#8618)
119 2011-05-05 Glenn Morris <rgm@gnu.org>
121 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
123 * simple.el (shell-dynamic-complete-functions)
124 (comint-dynamic-complete-functions): Declare.
126 * net/network-stream.el (gnutls-negotiate):
127 * simple.el (tabulated-list-print): Fix declarations.
129 * progmodes/gud.el (syntax-symbol, syntax-point):
130 Remove unnecessary and incorrect declarations.
132 * emacs-lisp/check-declare.el (check-declare-scan):
133 Handle byte-compile-initial-macro-environment in bytecomp.el
135 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
137 Fix earlier half-done eieio-defmethod change (bug#8338).
138 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
139 Streamline and change calling convention.
140 (defmethod): Adjust accordingly and simplify.
141 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
142 new eieio--defmethod.
143 (slot-boundp): Minor CSE simplification.
145 2011-05-05 Milan Zamazal <pdm@zamazal.org>
147 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
148 (glasses-make-readable): Use glasses-separate-capital-groups.
150 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
152 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
153 (warning-series): Doc fix.
154 (display-warning): Don't try to create the buffer if we just found it.
156 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
158 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
159 (autoload-find-generated-file): New function.
160 (generate-file-autoloads): Bind generated-autoload-file to
162 (update-file-autoloads, update-directory-autoloads):
163 Use autoload-find-generated-file. If called interactively, prompt for
164 output file (Bug#7989).
165 (batch-update-autoloads): Doc fix.
167 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
169 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
171 2011-05-04 Glenn Morris <rgm@gnu.org>
173 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
174 function, so it follows changes in calendar-date-style.
175 (diary-fancy-date-matcher): New function.
176 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
177 (diary-fancy-font-lock-fontify-region-function):
178 Use diary-fancy-date-pattern as a function.
180 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
181 non-numbers for `year' etc pseudo-variables. (Bug#8583)
183 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
185 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
186 instead of positional arguments. Allow :keylist and :crlfiles
188 (open-gnutls-stream): Call it.
190 * net/network-stream.el (network-stream-open-starttls): Adjust to
191 call `gnutls-negotiate' with :process and :hostname arguments.
193 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
195 * minibuffer.el (completion--message): New function.
196 (completion--do-completion, minibuffer-complete)
197 (minibuffer-force-complete, minibuffer-complete-word): Use it.
198 (completion--do-completion): Don't ignore completion-auto-help when in
201 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
202 internal encoding (e.g. tibetan zero is not whitespace).
203 (global-whitespace-mode): Prefer save-current-buffer.
204 (whitespace-trailing-regexp): Remove useless save-match-data.
205 (whitespace-empty-at-bob-regexp): Minor simplification.
207 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
209 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
211 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
213 * textmodes/ispell.el (ispell-add-per-file-word-list):
214 Use `concat' to create string for insertion.
216 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
218 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
219 Avoid open-line which runs post-self-insert-hook.
220 (bibtex-fill-entry): Remove unused `end' var.
222 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
224 * textmodes/ispell.el (ispell-add-per-file-word-list):
225 Protect against `nil' value of `comment-start' (Bug#8579).
227 2011-05-03 Leo Liu <sdl.web@gmail.com>
229 * isearch.el (isearch-yank-pop): New command.
230 (isearch-mode-map): Bind it to `M-y'.
231 (isearch-forward): Mention it.
233 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
235 * simple.el (minibuffer-complete-shell-command): Remove.
236 (minibuffer-local-shell-command-map): Use completion-at-point.
237 (read-shell-command): Setup completion vars here instead.
238 (read-expression-map): Bind TAB to symbol completion.
240 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
241 error directly rather via storing it into `results'.
243 2011-05-02 Leo Liu <sdl.web@gmail.com>
245 * vc/diff.el: Fix description.
247 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
249 * server.el (server-eval-at): New function.
251 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
253 * net/network-stream.el (open-network-stream): Take a :nowait
254 parameter and pass it on to `make-network-process'.
255 (network-stream-open-plain): Ditto.
257 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
259 * faces.el (face-spec-set-match-display): Don't match toolkit
260 options on terminal frames.
262 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
264 * progmodes/pascal.el: Use lexical binding.
265 (pascal-mode-map): Remove author preferences.
267 * pcomplete.el (pcomplete-std-complete): Don't abuse
270 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
272 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
273 removing code that has been dead since 1991 or so.
275 * startup.el (command-line): When warning about "_emacs", use a
276 delayed warning to allow the user to filter it out.
278 2011-04-28 Deniz Dogan <deniz@dogan.se>
280 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
283 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
285 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
286 aren't any completions at point.
288 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
290 * subr.el (display-delayed-warnings): New function.
291 (delayed-warnings-hook): New variable.
293 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
295 * minibuffer.el (completion-at-point, completion-help-at-point):
296 Don't presume that a given completion-at-point-function will always
297 use the same calling convention.
299 * pcomplete.el (pcomplete-completions-at-point):
300 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
301 pcomplete-seen is non-nil.
302 (pcomplete-comint-setup): Also recognize the new comint/shell
303 completion functions.
304 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
305 pcomplete-seen is non-nil.
307 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
309 * calendar/icalendar.el (diary-lib): Add require statement.
310 (icalendar--create-uid): Read out a uid from a text-property on
311 the first character in the entry. This allows for code to add its
312 own uid to the entry.
313 (icalendar--convert-float-to-ical): Add export of
314 `diary-float'-entries save for those with the optional DAY
317 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
319 * subr.el (shell-quote-argument): Use alternate escaping strategy
320 when we spot a variable reference in a string.
322 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
324 * cus-start.el (all): Define customization for debug-on-event.
326 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
328 * subr.el (shell-quote-argument): Escape correctly under Windows.
330 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
332 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
334 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
336 * net/tramp.el (tramp-process-actions): Add POS argument.
337 Delete region between POS and (pos).
339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
340 Use `nil' position in `tramp-process-actions' call.
341 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
343 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
344 position in `tramp-process-actions' call.
346 * net/trampver.el: Update release number.
348 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
350 * custom.el (defcustom): Obey lexical-binding.
352 Fix octave-inf completion problems reported by Alexander Klimov.
353 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
354 Inherit from octave-mode-syntax-table.
355 (inferior-octave-mode): Set info-lookup-mode.
356 (inferior-octave-completion-at-point): New function.
357 (inferior-octave-complete): Use it and completion-in-region.
358 (inferior-octave-dynamic-complete-functions): Use it as well, and use
359 comint-filename-completion.
360 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
361 symbol elements which shouldn't be word elements.
362 (octave-font-lock-keywords, octave-beginning-of-defun)
363 (octave-function-header-regexp): Adjust regexps accordingly.
364 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
366 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
368 * net/gnutls.el (gnutls-errorp): Declare before first use.
370 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
372 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
373 verify-error, and verify-hostname-error parameters. Check whether
374 default trustfile exists before going to use it. Add missing
375 argument to gnutls-message-maybe call. Return return value.
376 Reported by Claudio Bley <claudio.bley@gmail.com>.
377 (open-gnutls-stream): Add usage example.
379 * net/network-stream.el (network-stream-open-starttls): Give host
380 parameter to `gnutls-negotiate'.
381 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
382 * subr.el (shell-quote-argument): Escape correctly under Windows.
384 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
387 Use correct match group (bug#8438).
389 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
391 * emacs-lisp/package.el (package-built-in-p): Fix typo.
392 (package-menu--generate): New arg specifying packages to show.
393 (package-menu-refresh, package-menu-execute, list-packages):
395 (package-show-package-list): New function, replacing deleted
396 package--list-packages (renamed because it is non-internal).
398 * finder.el (finder-list-matches): Use package-show-package-list
399 instead of deleted package--list-packages.
401 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
402 Based on a previous implementation by Juanma Barranquero (Bug#8366).
403 (vc-annotate-mode-map): Bind it to RET.
405 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
407 * progmodes/etags.el (next-file): Don't use set-buffer to change
410 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
412 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
414 * apropos.el (apropos-label-face): Avoid variable-pitch face.
415 (apropos-accumulator): Doc fix.
416 (apropos-function, apropos-macro, apropos-command)
417 (apropos-variable, apropos-face, apropos-group, apropos-widget)
418 (apropos-plist): Add face property.
419 (apropos-symbols-internal): Fix indentation.
420 (apropos-print): Simplify help, and recognize apropos-multi-type.
421 (apropos-print-doc): Use button-type-get to extract the button's
422 face property. Fill docstring (Bug#8352).
424 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
426 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
428 * play/mpuz.el (mpuz-silent): Doc fix.
429 (mpuz-mode-map): Use mapc.
430 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
431 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
432 Fix typos in docstrings.
434 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
435 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
437 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
439 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
441 * minibuffer.el (completion--do-completion): Avoid the "Next char
442 not unique" prompt if icomplete-mode is enabled (Bug#5849).
444 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
445 mouse-2 into unread-command-events, it is interpreted correctly.
447 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
448 (image-toggle-display): Doc fix.
450 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
452 * textmodes/page.el (what-page): Use line-number-at-pos to
453 calculate line number (Bug#6825).
455 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
457 * eshell/esh-mode.el (find-tag-interactive): Declare function.
458 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
459 Pass argument NO-DEFAULT to `find-tag-interactive'.
461 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
463 Lexical-binding cleanup.
465 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
466 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
467 * progmodes/ada-prj.el (ada-prj-initialize-values)
468 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
469 (ada-prj-show-value):
470 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
471 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
472 (antlr-invalidate-context-cache, antlr-options-menu-filter)
473 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
474 * progmodes/bug-reference.el (bug-reference-push-button):
475 * progmodes/fortran.el (fortran-line-length):
476 * progmodes/glasses.el (glasses-change):
477 * progmodes/octave-mod.el (octave-fill-paragraph):
478 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
479 (python-pdbtrack-grub-for-buffer, python-sentinel):
480 * progmodes/sql.el (sql-save-connection):
481 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
482 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
483 Mark unused parameters.
485 * progmodes/compile.el (compilation--flush-directory-cache)
486 (compilation--flush-parse, compile-internal): Mark unused parameters.
487 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
488 (compilation-next-error-function): Remove unused variable `timestamp'.
490 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
491 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
493 * progmodes/dcl-mode.el (dcl-end-of-command):
494 Remove unused variable `start'.
495 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
496 (dcl-option-value-basic, dcl-option-value-offset)
497 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
498 Mark unused parameters.
499 (dcl-save-local-variable): Remove unused variable `val'.
502 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
503 Mark unused parameters.
504 (delphi-ignore-changes): Move before first use.
505 (delphi-charset-token-at): Remove unused variable `start'.
506 (delphi-else-start): Remove unused variable `if-count'.
507 (delphi-comment-block-start, delphi-comment-block-end):
508 Remove unused variable `kind'.
509 (delphi-indent-line): Remove unused variable `new-point'.
511 * progmodes/ebrowse.el (ebrowse-files-list)
512 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
513 Mark unused parameters. Don't quote `lambda'.
514 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
515 Don't quote `lambda'.
516 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
517 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
518 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
519 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
521 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
522 (ebrowse-view/find-file-and-search-pattern)
523 (ebrowse-view/find-member-declaration/definition):
524 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
525 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
526 Rename parameter PREFIX-ARG to PREFIX.
527 (ebrowse-tags-read-name): Remove unused variables `start' and
529 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
532 * progmodes/etags.el (local-find-tag-hook): Declare.
533 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
534 Mark unused parameters.
536 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
537 (executable-interpret): Mark unused parameter.
539 * progmodes/flymake.el (flymake-process-sentinel)
540 (flymake-after-change-function)
541 (flymake-create-temp-with-folder-structure)
542 (flymake-get-include-dirs-dot): Mark unused parameters.
543 (flymake-safe-delete-directory): Remove unused variable `err'.
545 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
546 (speedbar-timer-fn, speedbar-line-text)
547 (speedbar-change-expand-button-char, speedbar-delete-subblock)
548 (speedbar-center-buffer-smartly): Declare functions.
549 (gdb-find-watch-expression): Remove unused variable `array'.
550 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
551 (gdb-starting): Mark unused parameters.
552 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
553 (gdb-table-string): Remove unused variable `res'.
554 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
555 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
556 (gdb-display-buffer): Remove unused variable `cur-size'.
558 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
559 allow lexical-binding compilation.
560 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
561 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
562 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
563 Mark unused parameters.
564 (gud-gdb-marker-filter): Remove unused variable `match'.
565 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
566 lambda expressions and funcall them, instead of using `fset'.
568 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
569 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
571 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
572 variable `header-beg'; use `let'.
574 * progmodes/icon.el (indent-icon-exp): Remove unused variables
575 `restart', `last-sexp' and `at-do'.
577 * progmodes/js.el (js--debug): Mark unused parameter.
578 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
579 (js--splice-into-items): Remove unused variable `item'.
580 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
582 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
583 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
584 (makefile-complete): Remove unused variable `try'.
585 (makefile-fill-paragraph, makefile-match-function-end):
586 Mark unused parameters.
588 * progmodes/octave-inf.el (inferior-octave-complete):
589 Remove unused variable `proc'.
590 (inferior-octave-output-digest): Mark unused parameter.
592 * progmodes/perl-mode.el (perl-calculate-indent):
593 Remove unused variable `err'.
595 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
596 (prolog-indent-line): Mark unused parameters.
597 (prolog-indent-line): Remove unused variable `beg'.
599 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
600 (reporter-dont-compact-list): Declare.
602 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
603 Remove unused variable `char'.
604 (sh-debug): Mark unused parameter.
605 (sh-get-indent-info): Remove unused variable `start'.
606 (sh-calculate-indent): Remove unused variable `var'.
608 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
609 (simula-electric-keyword): Remove unused variable `null'.
610 (simula-search-backward, simula-search-forward): Remove unused
611 variables `begin' and `end'.
613 * progmodes/vera-mode.el (vera-guess-basic-syntax):
614 Remove unused variable `pos'.
615 (vera-electric-tab, vera-comment-uncomment-region):
616 Mark unused parameters.
617 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
619 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
621 * emacs-lisp/package.el (package--builtins, package-alist)
622 (package-load-descriptor, package-built-in-p, package-activate)
623 (define-package, package-installed-p)
624 (package-compute-transaction, package-buffer-info)
625 (package--push): Doc fix. Distinguish more clearly between
626 version strings and version lists.
628 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
630 Lexical-binding cleanup.
632 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
633 (5x5-make-mutate-best):
634 * play/fortune.el (fortune-in-buffer):
635 * play/gomoku.el (gomoku-init-display):
636 * play/solitaire.el (solitaire, solitaire-do-check):
637 * play/tetris.el (tetris-default-update-speed-function):
638 Mark unused parameters.
640 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
641 (bubbles--shift): Remove unused variable `char-org'.
642 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
643 (bubbles--show-images): Remove unused variable `char'.
645 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
646 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
647 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
648 (decipher-analyze-buffer): Use ?\s.
649 (decipher-make-checkpoint): Remove unused variable `mapping'.
651 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
653 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
654 Remove unused variable `result'; use `let'.
656 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
657 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
658 (gametree-children-shown-p, gametree-compute-reduced-score):
661 * play/handwrite.el (ps-lpr-switches): Declare.
662 (handwrite): Remove unused variables `pmin' and `lastp'.
664 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
666 * play/landmark.el (landmark-init-display)
667 (landmark-update-naught-weights): Mark unused parameters.
668 (landmark-y): Remove unused variable `noise'. Simplify.
669 (landmark-human-plays): Remove unused variable `score'.
671 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
672 (mpuz-try-proposal): Remove unused variable `game'.
674 * play/zone.el (life-patterns): Declare.
676 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
678 * vc/vc.el (ediff-vc-internal): Declare function.
680 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
682 * shell.el: Use lexical-binding and std completion UI.
683 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
684 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
685 comint-preoutput-filter-functions rather than on
686 comint-output-filter-functions.
687 (shell-command-completion, shell--command-completion-data)
688 (shell-filename-completion, shell-environment-variable-completion)
689 (shell-c-a-p-replace-by-expanded-directory): New functions.
690 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
691 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
692 (shell-dynamic-complete-environment-variable): Use them.
693 (shell-dynamic-complete-as-environment-variable)
694 (shell-dynamic-complete-as-command): Remove.
695 (shell-match-partial-variable): Match past point.
696 * comint.el: Clean up use of completion-at-point-functions.
697 (comint-completion-at-point): New function.
698 (comint-mode): Use it completion-at-point-functions.
699 (comint-dynamic-complete): Make it obsolete.
700 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
701 (comint-c-a-p-replace-by-expanded-history): New function.
702 (comint-dynamic-complete-functions)
703 (comint-replace-by-expanded-history): Use it.
704 * minibuffer.el (completion-table-with-terminator): Allow dynamic
705 termination strings. Try harder to avoid second try-completion.
706 (completion-in-region-mode-map): Disable bindings that don't work yet.
708 * comint.el: Use lexical-binding. Require CL.
709 (comint-dynamic-complete-functions): Use comint-filename-completion.
710 (comint-completion-addsuffix): Tweak custom type.
711 (comint-filename-completion, comint--common-suffix)
712 (comint--common-quoted-suffix, comint--table-subvert)
713 (comint--complete-file-name-data): New functions.
714 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
715 (comint-dynamic-list-filename-completions): Use them.
716 (comint-dynamic-simple-complete): Make obsolete.
718 * minibuffer.el (completion-in-region-mode):
719 Keep completion-in-region-mode--predicate global.
720 (completion-in-region--postch):
721 Assume completion-in-region-mode--predicate is not null.
723 * progmodes/flymake.el (flymake-start-syntax-check-process):
724 Obey `dir'. Simplify.
726 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
727 we're in VC after all.
729 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
731 * vc/vc.el (vc-diff-build-argument-list-internal)
732 (vc-version-ediff, vc-ediff): New commands.
733 (vc-version-diff): Use vc-diff-build-argument-list-internal.
735 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
737 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
740 * obsolete/erc-hecomplete.el: Make obsolete.
741 * obsolete/: Standardize obsolescence info in the header.
743 2011-04-20 Glenn Morris <rgm@gnu.org>
745 * calendar/solar.el (solar-horizontal-coordinates):
746 Use the longitude argument rather than `calendar-longitude'.
747 (solar-date-next-longitude): Remove unused locals.
749 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
751 * whitespace.el: New version 13.2.1.
753 2011-04-20 felix <EmacsWiki> (tiny change)
755 * whitespace.el (global-whitespace-mode): keep highlight when
756 switching between major modes on a file.
758 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
760 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
761 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
762 multi-line comments as well.
764 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
766 Lexical-binding cleanup.
768 * arc-mode.el (archive-mode-revert):
769 * cmuscheme.el (scheme-interactively-start-process):
770 * custom.el (custom-initialize-delay):
771 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
772 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
773 * emacs-lock.el (emacs-lock-clear-sentinel):
774 * ezimage.el (defezimage):
775 * follow.el (follow-avoid-tail-recenter):
776 * fringe.el (set-fringe-mode-1):
777 * generic-x.el (bat-generic-mode-compile):
778 * help-mode.el (help-info-variable, help-do-xref)
779 (help-mode-revert-buffer):
780 * help.el (view-emacs-todo):
781 * iswitchb.el (iswitchb-completion-help):
782 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
783 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
784 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
785 * locate.el (locate-update):
786 * longlines.el (longlines-encode-region)
787 (longlines-after-change-function):
788 * outline.el (outline-isearch-open-invisible):
789 * ps-def.el (declare-function, charset-dimension, char-width)
791 * ps-mule.el (ps-mule-plot-string):
792 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
793 (recentf-edit-list-select, recentf-edit-list-validate)
794 (recentf-open-files-action):
795 * rect.el (delete-whitespace-rectangle-line)
796 (rectangle-number-line-callback):
797 * register.el (window-configuration-to-register)
798 (frame-configuration-to-register):
799 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
800 * select.el (xselect-convert-to-string, xselect-convert-to-length)
801 (xselect-convert-to-targets, xselect-convert-to-delete)
802 (xselect-convert-to-filename, xselect-convert-to-charpos)
803 (xselect-convert-to-lineno, xselect-convert-to-colno)
804 (xselect-convert-to-os, xselect-convert-to-host)
805 (xselect-convert-to-user, xselect-convert-to-class)
806 (xselect-convert-to-name, xselect-convert-to-integer)
807 (xselect-convert-to-atom, xselect-convert-to-identity):
808 * subr.el (declare, ignore, process-kill-without-query)
809 (text-clone-maintain):
810 * terminal.el (te-get-char, te-tic-sentinel):
811 * tool-bar.el (tool-bar-make-keymap):
812 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
813 * type-break.el (type-break-mode, type-break-noninteractive-query):
814 * view.el (View-back-to-mark):
815 * wid-browse.el (widget-browse-action, widget-browse-widget)
816 (widget-browse-widgets, widget-browse-sexp):
817 * widget.el (define-widget-keywords):
818 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
819 Mark unused parameters.
821 * align.el (align-adjust-col-for-rule): Mark unused parameter.
822 (align-areas): Remove unused variable `look'.
823 (align-region): Remove unused variables `real-end' and `pos-list'.
825 * apropos.el (apropos-score-doc): Remove unused variable `i'.
827 * bindings.el (mode-line-modified, mode-line-remote):
828 Mark unused parameters.
829 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
831 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
832 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
834 * comint.el (comint-history-isearch-pop-state)
835 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
836 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
837 (comint-substitute-in-file-name): Doc fix.
839 * completion.el (cmpl-statistics-block): Mark unused parameter.
840 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
841 (save-completions-to-file, load-completions-from-file):
842 Remove unused local variable `e'.
844 * composite.el (compose-chars): Remove unused variable `len'.
845 (lgstring-insert-glyph): Remove unused variable `g'.
846 (compose-glyph-string): Remove unused variables `ascent',
847 `descent', `lbearing' and `rbearing'.
848 (compose-glyph-string-relative): Remove unused variables
849 `lbearing', `rbearing' and `wadjust'.
850 (compose-gstring-for-graphic): Remove unused variables `header',
851 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
852 (compose-gstring-for-terminal): Remove unused variables `header'
853 and `nchars'. Use `let', not `let*'.
855 * cus-edit.el (Custom-set, Custom-save, custom-reset)
856 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
857 (Custom-buffer-done, custom-buffer-create-internal)
858 (custom-browse-visibility-action, custom-browse-group-tag-action)
859 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
860 (widget-magic-mouse-down-action, custom-toggle-parent)
861 (custom-add-parent-links, custom-toggle-hide-variable)
862 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
863 (custom-toggle-hide-face, face, hook, custom-group-link-action)
864 (custom-face-menu-create, custom-variable-menu-create, get)
865 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
866 (custom-reset-standard-save-and-update): Remove unused variable `value'.
867 (customize-apropos): Remove unused variable `tests'.
868 (custom-group-value-create): Remove unused variable `hidden-p'.
869 (sort-fold-case): Declare.
871 * cus-theme.el (custom-reset-standard-faces-list)
872 (custom-reset-standard-variables-list): Declare.
873 (customize-create-theme, custom-theme-revert, custom-theme-write)
874 (custom-theme-choose-mode, customize-themes, custom-theme-save):
875 Mark unused parameters.
877 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
879 * delim-col.el (delimit-columns-max): Move defvar before first use.
881 * descr-text.el (describe-char-categories): Don't quote `lambda'.
882 (describe-char): Don't quote `lambda'. Mark unused parameter.
884 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
885 (auto-insert): Declare.
886 (desktop-restore-file-buffer): Rename desktop-* parameters;
888 (desktop-create-buffer): Rename desktop-* parameters and bind them.
889 (desktop-buffer): Rename desktop-* parameters.
891 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
892 (dframe-reposition-frame-xemacs, dframe-help-echo)
893 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
894 Mark unused parameters.
896 * dired-aux.el (backup-extract-version-start, overwrite-query)
897 (overwrite-backup-query, rename-regexp-query)
898 (rename-non-directory-query): Declare.
899 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
900 (dired-add-entry): Remove unused variable `orig-file-name'.
901 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
902 Use parameter PRESERVE-TIME instead of accessing dynamic variable
903 `dired-copy-preserve-time' directly.
904 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
905 (dired-insert-subdir-newpos): Rename unused variable `pos'.
907 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
908 (dired-virtual-revert, dired-make-relative-symlink):
909 Mark unused parameters.
910 (manual-program): Declare.
911 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
912 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
913 wrapped in `with-no-warnings' to avoid replacing one warning by another.
915 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
917 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
919 * echistory.el (electric-history-in-progress, Helper-return-blurb):
922 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
924 * electric.el (Electric-command-loop): Rename parameter
925 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
927 * expand.el (expand-in-literal): Remove unused variable `here'.
929 * facemenu.el (facemenu-add-new-color):
930 Remove unused variable `docstring'.
932 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
933 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
934 (face-attr-construct): Mark unused parameter. Doc fix.
935 (read-color): Remove unused variable `hex-string'.
937 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
938 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
939 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
940 (display-buffer-other-frame): Remove unused variable `old-window'.
941 (kill-buffer-hook): Declare.
942 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
943 Mark unused parameters.
944 (after-find-file): Pass 1 to `auto-save-mode', not t.
946 * files-x.el (auto-insert): Declare.
947 (modify-file-local-variable-prop-line): Remove unused variable `val'.
949 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
950 variable `buf'. Mark unused parameter.
951 (find-lisp-insert-directory): Mark unused parameter.
953 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
954 (format-encode-region): Remove unused variables `cur-buf' and `result'.
955 (format-common-tail): Remove, unused.
956 (format-deannotate-region): Remove unused variable `loc'.
957 (format-annotate-region): Remove unused variable `p'.
958 (format-annotate-single-property-change): Remove unused variables
959 `default' and `tail'.
961 * forms.el (read-file-filter): Declare.
962 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
964 * frame.el (frame-creation-function-alist): Mark unused parameter.
965 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
967 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
968 Remove unused parameters.
969 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
970 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
972 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
973 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
974 (hfy-prepare-tag-map): Mark unused parameters.
975 (htmlfontify-buffer): Use `called-interactively-p'.
977 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
978 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
979 (ibuffer-do-occur): Mark unused parameters.
980 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
981 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
983 * ibuffer.el: Don't quote `lambda'.
984 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
985 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
986 Mark unused parameters.
988 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
989 (ido-completing-read): Mark unused parameters.
990 (ido-copy-current-word): Mark unused parameters;
991 remove unused variable `name'.
992 (ido-sort-merged-list): Remove unused parameter `dirs'.
994 * ielm.el (ielm-input-sender): Mark unused parameter.
995 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
996 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
997 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
998 `ielm-string' as a dynamic variable accessible from the IELM prompt.
999 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1001 * image-dired.el (image-dired-display-thumbs): Remove unused
1002 variables `curr-file' and `count'.
1003 (image-dired-remove-tag): Remove unused variable `start'.
1004 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1005 variable `curr-file'
1006 (image-dired-rotate-original): Remove unused variable `temp-file'.
1007 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1008 Remove unused variable `file'.
1009 (image-dired-gallery-generate): Remove unused variable `curr'.
1010 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1012 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1014 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1016 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1018 * isearch.el (minibuffer-history-symbol): Declare.
1019 (isearch-edit-string): Remove unused variable `err'.
1020 (isearch-message-prefix, isearch-message-suffix):
1021 Mark unused parameters.
1023 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1025 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1027 * makesum.el (double-column): Remove unused variable `cnt'.
1029 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1030 (ido-ignore-item-temp-list): Declare.
1032 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1033 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1034 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1035 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1038 * mouse-sel.el (mouse-extend-internal):
1039 Remove unused variable `orig-window-frame'.
1041 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1042 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1043 Move declarations before first use.
1044 (pcomplete-opt): Mark unused parameters; doc fix.
1046 * proced.el (proced-revert): Mark unused parameter.
1047 (proced-send-signal): Remove unused variable `err'.
1049 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1050 Rename parameter PREFIX-ARG to ARG.
1051 (ps-basic-plot-string, ps-basic-plot-whitespace):
1052 Mark unused parameters.
1054 * replace.el (replace-count): Define.
1055 (occur-revert-function): Mark unused parameters.
1056 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1057 (isearch-case-fold-search, isearch-string): Declare.
1058 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1059 bind `case-fold-search'. Remove unused variables `beg' and `end',
1061 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1062 COUNT and bind `replace-count'.
1063 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1066 * savehist.el (print-readably, print-string-length): Declare.
1068 * shadowfile.el (shadow-expand-cluster-in-file-name):
1069 Remove unused variable `cluster'.
1070 (shadow-copy-file): Remove unused variable `i'.
1071 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1072 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1073 (shadow-define-literal-group, shadow-define-regexp-group)
1074 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1076 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1077 (shell): Use `called-interactively-p'.
1078 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1080 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1081 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1082 (delete-backward-char): Remove unused variable `ocol'.
1083 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1084 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1085 (event-apply-hyper-modifier, event-apply-shift-modifier)
1086 (event-apply-control-modifier, event-apply-meta-modifier):
1087 Mark unused parameters.
1088 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1089 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1091 * speedbar.el (speedbar-ignored-directory-expressions)
1092 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1093 (speedbar-find-file, speedbar-dir-follow)
1094 (speedbar-directory-buttons-follow, speedbar-tag-find)
1095 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1096 (speedbar-buffers-line-directory, speedbar-buffer-click):
1097 Mark unused parameters.
1098 (speedbar-tag-file): Remove unused variable `mode'.
1099 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1101 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1103 * talk.el (talk): Remove unused variable `display'.
1105 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1106 (tar-write-region-annotate): Mark unused parameter.
1108 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1109 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1110 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1113 * time-stamp.el (time-stamp-string-preprocess):
1114 Remove unused variable `require-padding'.
1116 * tree-widget.el (widget-glyph-enable): Declare.
1117 (tree-widget-action): Mark unused parameter.
1119 * w32-fns.el (x-get-selection): Mark unused parameter.
1120 (autoload-make-program, generated-autoload-file): Declare.
1122 * wdired.el (wdired-revert): Mark unused parameters.
1123 (wdired-xcase-word): Remove unused variable `err'.
1125 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1126 (whitespace-help-scroll): Remove unused variable `data-help'.
1128 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1129 (widget-image-insert, widget-after-change, default)
1130 (widget-default-format-handler, widget-default-notify)
1131 (widget-default-prompt-value, widget-info-link-action)
1132 (widget-url-link-action, widget-function-link-action)
1133 (widget-variable-link-action, widget-file-link-action)
1134 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1135 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1136 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1137 (widget-insert-button-action, widget-delete-button-action, visibility)
1138 (widget-documentation-link-action, widget-documentation-string-action)
1139 (widget-const-prompt-value, widget-regexp-match, symbol)
1140 (widget-coding-system-prompt-value)
1141 (widget-key-sequence-value-to-external, sexp)
1142 (widget-sexp-value-to-internal, character, vector, cons)
1143 (widget-choice-prompt-value, widget-boolean-prompt-value)
1144 (widget-color--choose-action): Mark unused parameters.
1145 (widget-item-match-inline, widget-choice-match-inline)
1146 (widget-checklist-match, widget-checklist-match-inline)
1147 (widget-group-match): Rename parameter VALUES to VALS.
1148 (widget-field-value-set): Remove unused variable `size'.
1149 (widget-color-action): Remove unused variables `value' and `start'.
1151 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1152 variable `dir'. Doc fix.
1153 (windmove-find-other-window): Don't pass it.
1155 * window.el (count-windows): Mark unused parameter.
1156 (bw-adjust-window): Remove unused variable `err'.
1158 * woman.el (woman-file-name): Remove unused variable `default'.
1159 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1160 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1161 (global-font-lock-mode): Declare.
1162 (woman-decode-region): Mark unused parameter.
1163 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1165 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1166 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1167 (x-dnd-handle-moz-url): Remove unused variable `title'.
1168 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1170 * xml.el (xml-parse-tag, xml-parse-attlist):
1171 Remove unused variable `pos'.
1173 2011-04-19 Glenn Morris <rgm@gnu.org>
1175 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1176 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1177 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1178 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1179 * calendar/cal-html.el (cal-html-insert-minical):
1180 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1181 (calendar-mark-date-pattern):
1182 Prefix "unused" locals.
1184 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1185 optional argument `style'.
1187 * calendar/appt.el (appt-make-list):
1188 * calendar/cal-china.el (calendar-chinese-date-string):
1189 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1190 (diary-hebrew-yahrzeit):
1191 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1192 * calendar/calendar.el (calendar-generate-window):
1193 * calendar/time-date.el (time-to-days):
1194 Remove unused local variables.
1196 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1198 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1199 glyphless-char-display table.
1200 (tabulated-list-glyphless-char-display): New var.
1202 2011-04-18 Sam Steingold <sds@gnu.org>
1204 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1207 2011-04-17 Glenn Morris <rgm@gnu.org>
1209 * calendar/diary-lib.el (diary-sexp-entry):
1210 * calendar/holidays.el (holiday-sexp):
1211 Set debug-on-error rather than the removed stack-trace-on-error.
1213 2011-04-16 Glenn Morris <rgm@gnu.org>
1215 * progmodes/f90.el: Use lexical-binding.
1216 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1218 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1221 (mail-mode): Setup mailalias completion here instead.
1222 * mail/mailalias.el: Use lexical-binding.
1223 (pattern, mailalias-done): Declare dynamic.
1224 (mail-completion-at-point-function): New function, from mail-complete.
1225 (mail-complete): Use it.
1226 (mail-completion-expand): New function.
1227 (mail-get-names): Use it.
1228 (mail-directory, mail-directory-process, mail-directory-stream):
1229 Don't use `pattern' for lexically bound arg.
1231 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1233 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1234 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1235 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1237 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1238 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1239 (byte-interactive-p): Define them again, for use when inlining
1242 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1244 * loadup.el: Use `string-to-number', not `string-to-int'.
1246 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1249 gud-gdb-complete-command.
1250 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1251 (gud-gdb-completion-at-point): New function.
1252 (gud-gdb-completions): Remove.
1254 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1256 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1257 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1258 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1259 whether `executable-find' is bound.
1261 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1263 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * minibuffer.el (completion-in-region-mode-predicate)
1266 (completion-in-region-mode--predicate): New vars.
1267 (completion-in-region, completion-in-region--postch)
1268 (completion-in-region-mode): Use them.
1269 (completion--capf-wrapper): Also return the hook function.
1270 (completion-at-point, completion-help-at-point):
1271 Adjust and provide a predicate.
1273 Preserve arg names for advice of subr and lexical functions (bug#8457).
1274 * help-fns.el (help-function-arglist): Consolidate the subr and
1275 new-byte-code cases. Add argument `preserve-names' to extract names
1276 from the docstring when needed.
1277 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1278 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1279 (ad-arglist): Use help-function-arglist's new arg.
1280 (ad-definition-type): Use cond.
1282 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1284 * autorevert.el (auto-revert-handler):
1285 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1286 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1289 * image-mode.el (image-transform-set-scale):
1290 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1292 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294 * net/network-stream.el (network-stream-open-starttls): Only do
1295 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1296 Upgrades via gnutls-cli are too slow to be done opportunistically.
1298 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1300 * dframe.el (dframe-current-frame): Remove spurious quote.
1302 2011-04-12 Glenn Morris <rgm@gnu.org>
1304 * calendar/cal-tex.el (cal-tex-end-document):
1305 Try to automatically use latin1 input if needed.
1307 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1308 Don't try to cons a mark onto an empty element.
1310 2011-04-11 Leo Liu <sdl.web@gmail.com>
1312 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1314 (ido-kill-buffer-at-head): Support killing virtual buffers.
1316 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1318 * minibuffer.el (completion-show-inline-help): New var.
1319 (completion--do-completion, minibuffer-complete)
1320 (minibuffer-force-complete, minibuffer-complete-word):
1321 Inhibit minibuffer messages if completion-show-inline-help is nil.
1323 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1324 to avoid interference from inline help (Bug#5849).
1326 2011-04-10 Leo Liu <sdl.web@gmail.com>
1328 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1331 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1333 * image-mode.el (image-toggle-display-image): Signal an error if
1335 (image-transform-mode, image-transform-resize)
1336 (image-transform-set-rotation): Doc fix.
1337 (image-transform-set-resize): Delete.
1338 (image-transform-set-scale, image-transform-fit-to-height)
1339 (image-transform-fit-to-width): Handle image-toggle-display-image
1340 and image-transform-resize directly.
1342 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1344 * doc-view.el (doc-view-fit-width-to-window)
1345 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1346 New functions for fitting the shown image to the Emacs window size.
1347 (doc-view-mode-map): Add bindings for the new functions.
1349 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1351 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1352 Fix typo in docstring.
1354 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1356 * files.el (file-size-human-readable): Produce one digit after
1357 decimal, like "ls -lh" does.
1359 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1360 the file size representation.
1362 * simple.el (list-processes): If async subprocesses are not
1363 available, error out with a clear error message.
1365 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1367 * help.el (help-form-show): New function, to be called from C.
1368 Put help-form output in a buffer named differently than *Help*.
1370 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1372 * files.el (file-size-human-readable): New function.
1374 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1375 computing the representation inline. Don't require `cl'.
1377 2011-04-08 Glenn Morris <rgm@gnu.org>
1379 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1381 * net/browse-url.el (browse-url-firefox):
1382 Test system-type, not system-configuration.
1384 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1385 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1386 Use log-edit-empty-buffer-p. (Bug#7598)
1388 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1389 (rlogin-mode-map): Initialize in the defvar.
1390 (rlogin): Use ignore-errors.
1392 * replace.el (occur-mode-map): Some fixes for menu items.
1394 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1396 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1398 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1400 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1401 issuing unused warnings.
1403 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1406 * simple.el: Lisp reimplement of list-processes. Based on an
1407 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1408 (process-menu-mode): New major mode.
1409 (list-processes--refresh, list-processes):
1410 (process-menu-visit-buffer): New functions.
1412 * files.el (save-buffers-kill-emacs): Don't assume any return
1413 value of list-processes, which is undocumented anyway.
1415 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1417 * emacs-lisp/tabulated-list.el: New file.
1419 * emacs-lisp/package.el: Use Tabulated List mode.
1420 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1421 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1422 table format using Tabulated List mode variables.
1423 (package--push): New macro, replacing package-list-maybe-add.
1424 (package-menu--generate): Use package--push. Renamed from
1425 package--generate-package-list.
1426 (package-menu-refresh, list-packages): Use it.
1427 (package-menu--print-info): Rename from package-print-package.
1428 Return insertion data instead of inserting it directly.
1429 (package-menu-describe-package, package-menu-execute):
1430 Use tabulated-list-get-id.
1431 (package-menu-mark-delete, package-menu-mark-install)
1432 (package-menu-mark-unmark, package-menu-backup-unmark)
1433 (package-menu-mark-obsolete-for-deletion):
1434 Use tabulated-list-put-tag.
1435 (package--list-packages, package-menu-revert)
1436 (package-menu-get-package, package-menu-get-version)
1437 (package-menu-sort-by-column): Functions deleted.
1438 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1439 (package-menu--status-predicate, package-menu--version-predicate)
1440 (package-menu--name-predicate)
1441 (package-menu--description-predicate): Handle arguments in the
1442 Tabulated List format.
1443 (package-list-packages-no-fetch): Call list-packages.
1445 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1447 * files.el (after-find-file-from-revert-buffer): Remove variable.
1448 (after-find-file): Don't bind it.
1449 (revert-buffer-in-progress-p): New variable.
1450 (revert-buffer): Bind it.
1451 Pass nil for `after-find-file-from-revert-buffer'.
1453 * saveplace.el (save-place-find-file-hook): Use new variable
1454 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1456 2011-04-06 Glenn Morris <rgm@gnu.org>
1458 * Makefile.in (AUTOGEN_VCS): New variable.
1459 (autoloads): Use $AUTOGEN_VCS.
1461 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1462 * calendar/calendar.el (calendar-mode-map):
1463 Check for toolkit scroll bars. (Bug#8305)
1465 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1467 * minibuffer.el (completion-in-region--postch)
1468 (completion-in-region-mode): Remove unnecessary messages.
1470 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1472 * font-lock.el (font-lock-refresh-defaults):
1473 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1474 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1476 * info.el (Info-directory-list, Info-read-node-name-2)
1477 (Info-split-parameter-string): Doc fixes.
1478 (Info-virtual-nodes): Reflow docstring.
1479 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1480 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1481 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1482 Fix typos in docstrings.
1483 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1484 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1485 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1486 (Info-restore-desktop-buffer): Mark unused parameters.
1487 (Info-directory-find-file, Info-directory-find-node)
1488 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1489 (Info-virtual-index-find-node, Info-apropos-find-file)
1490 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1491 Mark unused parameters; fix typos in docstrings.
1492 (Info-virtual-index): Remove unused local variable `nodename'.
1494 2011-04-05 Deniz Dogan <deniz@dogan.se>
1496 * net/rcirc.el: Update my e-mail address.
1497 (rcirc-mode-map): Remove M-o binding.
1499 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1501 * startup.el (command-line): Save the cursor's theme-face
1502 directly, instead of using face-override-spec.
1504 * custom.el (load-theme): Minor optimization in assigning faces.
1506 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1508 * help-fns.el (describe-variable): Complete all variables having
1509 documentation, including keywords.
1510 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1512 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1514 Convert to lexical-binding.
1516 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1517 (bs--get-marked-string, bs--get-modified-string)
1518 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1519 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1520 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1522 * ehelp.el (electric-help-execute-extended)
1523 (electric-help-ctrl-x-prefix):
1524 * hexl.el (hexl-revert-buffer-function):
1525 * linum.el (linum-after-change, linum-after-scroll):
1526 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1528 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1530 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1537 * epg.el: Use lexical binding.
1539 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1541 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1543 * textmodes/flyspell.el (flyspell-word): Recognize default
1544 dictionary case for flyspell-mark-duplications-exceptions.
1545 Use regexp matching for languages.
1546 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1547 default dictionary (Bug#7926).
1549 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1551 * emacs-lisp/package.el (package--with-work-buffer):
1552 Recognize https URLs.
1554 * net/network-stream.el: Move from gnus/proto-stream.el.
1555 Change prefix to network-stream throughout.
1556 (open-protocol-stream): Merge into open-network-stream, leaving
1557 open-protocol-stream as an alias. Handle nil BUFFER args.
1559 * subr.el (open-network-stream): Move to net/network-stream.el.
1561 2011-04-02 Glenn Morris <rgm@gnu.org>
1563 * find-dired.el (find-exec-terminator): New option.
1564 (find-ls-option): Test for -ls support.
1565 (find-ls-subdir-switches): Test for -b in find-ls-option.
1566 (find-dired, find-grep-dired): Doc fixes.
1567 (find-dired): Use find-exec-terminator.
1569 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1570 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1571 (find-name-arg): Remove purecopy.
1573 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1574 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1575 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1576 accordingly. Don't add the null-device if not needed.
1578 * files.el (save-some-buffers): Doc fix.
1580 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1582 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1584 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1586 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1587 Use `dolist' rather than `mapcar'.
1589 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1591 Add lexical binding.
1593 * subr.el (apply-partially): Use new closures rather than CL.
1594 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1595 (dolist, dotimes): Use slightly different expansion for lexical code.
1596 (functionp): Move to C.
1597 (letrec): New macro.
1598 (with-wrapper-hook): Use it and apply-partially instead of CL.
1599 (eval-after-load): Preserve lexical-binding.
1600 (save-window-excursion, with-output-to-temp-buffer): Turn them
1603 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1605 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1607 (help-add-fundoc-usage): Don't add `Not documented'.
1608 (help-function-arglist): Handle closures, subroutines, and new
1609 byte-code-functions.
1610 (help-make-usage): Remove leading underscores.
1611 (describe-function-1): Handle closures.
1612 (describe-variable): Use special-variable-p for completion.
1614 * files.el (lexical-binding): Declare safe.
1616 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1617 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1618 (pcase): Add `let' pattern.
1619 Change memoization so it actually works.
1620 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1621 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1624 * emacs-lisp/macroexp.el: Use lexical binding.
1625 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1626 Don't convert ' to #' without checking that it's indeed quoting
1629 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1630 Use eval-sexp-add-defvars.
1631 (eval-sexp-add-defvars): New fun.
1633 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1635 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1637 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1638 than the internal `byte-compile-lambda'.
1639 (defmethod): Don't hide code under quotes.
1640 (eieio-defmethod): New `code' argument.
1642 * emacs-lisp/eieio-comp.el: Remove.
1644 * emacs-lisp/edebug.el (edebug-eval-defun)
1645 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1646 (edebug-toggle): Avoid `eval'.
1648 * emacs-lisp/disass.el (disassemble-internal): Handle new
1650 (disassemble-1): Handle new byte codes.
1652 * emacs-lisp/cl.el (pushnew): Silence warning.
1654 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1655 (cl-byte-compile-throw): Remove.
1656 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1658 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1661 * emacs-lisp/cconv.el: New file.
1663 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1664 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1665 (byte-compile-initial-macro-environment):
1666 Handle declare-function here.
1667 (byte-compile--lexical-environment): New var.
1668 (byte-stack-ref, byte-stack-set, byte-discardN)
1669 (byte-discardN-preserve-tos): New lap codes.
1670 (byte-interactive-p): Don't use any more.
1671 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1673 (byte-compile-lapcode): Use them and handle new lap codes.
1674 (byte-compile-obsolete): Remove.
1675 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1676 (byte-compile-arglist-warn): Check late def of inlinable funs.
1677 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1678 since they should have been expanded by now.
1679 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1680 (byte-compile-from-buffer): Remove unused second arg.
1681 (byte-compile-preprocess): New function.
1682 (byte-compile-toplevel-file-form): New function to distinguish
1683 file-form calls from outside from file-form calls from hunk-handlers.
1684 (byte-compile-file-form): Simplify.
1685 (byte-compile-file-form-defsubst): Remove.
1686 (byte-compile-file-form-defmumble): Simplify now that
1687 byte-compile-lambda always returns a byte-code-function.
1688 (byte-compile): Preprocess.
1689 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1690 Remove, not used any more.
1691 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1692 (byte-compile-make-args-desc): New funs.
1693 (byte-compile-lambda): Handle lexical functions. Always return
1694 a byte-code-function.
1695 (byte-compile-reserved-constants): New var, to make up room for
1696 closed-over variables.
1697 (byte-compile-constants-vector): Obey it.
1698 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1699 (byte-compile-macroexpand-declare-function): New function.
1700 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1701 byte-code-functions.
1702 (byte-compile-form): Check obsolescence here.
1703 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1704 (byte-compile-variable-ref): Remove.
1705 (byte-compile-dynamic-variable-op): New fun.
1706 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1707 (byte-compile-variable-set): New funs.
1708 (byte-compile-discard): Add 2 args.
1709 (byte-compile-stack-ref, byte-compile-stack-set)
1710 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1711 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1712 macroexpand-all instead.
1713 (byte-compile-quote-form): Remove.
1714 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1715 (byte-compile-bind, byte-compile-unbind): New funs.
1716 (byte-compile-let): Handle let* and lexical binding.
1717 (byte-compile-let*): Remove.
1718 (byte-compile-catch, byte-compile-unwind-protect)
1719 (byte-compile-track-mouse, byte-compile-condition-case):
1720 Handle a new :fun-body form, used for lexical scoping.
1721 (byte-compile-save-window-excursion)
1722 (byte-compile-with-output-to-temp-buffer): Remove.
1723 (byte-compile-defun): Simplify.
1724 (byte-compile-stack-adjustment): New fun.
1725 (byte-compile-out): Use it.
1726 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1728 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1731 * emacs-lisp/byte-opt.el: Use lexical binding.
1732 (byte-inline-lapcode): Remove (to bytecomp).
1733 (byte-compile-inline-expand): Pay attention to inlining to/from
1734 lexically bound code.
1735 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1737 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1738 any more and don't call compiler-macros.
1739 (byte-compile-splice-in-already-compiled-code): Remove.
1740 (byte-code): Don't inline any more.
1741 (disassemble-offset): Receive `bytes' as argument rather than via
1743 (byte-compile-tag-number): Declare before first use.
1744 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1745 `return' even if make-spliceable.
1746 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1747 obsolete interactive-p.
1748 (byte-optimize-lapcode): Optimize new lap-codes.
1749 Don't trip up on new form of `byte-constant' lap code.
1751 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1753 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1755 * custom.el (custom-initialize-default, custom-declare-variable):
1758 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1760 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1761 (COMPILE_FIRST): Add macroexp and cconv.
1762 * makefile.w32-in: Mirror changes in Makefile.in.
1768 * vc/smerge-mode.el:
1769 * textmodes/bibtex-style.el:
1778 * emacs-lisp/smie.el:
1781 * abbrev.el: Use lexical binding.
1783 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1785 * info.el (info-display-manual): New function.
1787 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1789 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1791 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1793 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1794 an entry for that server in rcirc-authinfo. (Bug#8385)
1796 2011-03-31 Glenn Morris <rgm@gnu.org>
1798 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1800 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1802 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1804 * progmodes/python.el (python-default-interpreter)
1805 (python-python-command-args, python-jython-command-args)
1806 (python-which-shell, python-which-args, python-which-bufname)
1807 (python-file-queue, python-comint-output-filter-function)
1808 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1809 variables and functions.
1811 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1814 (completion-in-region-mode): New minor mode.
1815 (completion-in-region): Use it.
1816 (completion-in-region--data, completion-in-region-mode-map): New vars.
1817 (completion-in-region--postch): New function.
1818 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1820 (completion--capf-wrapper): New function.
1821 (completion-at-point): Use it to track well-behavedness of
1823 (completion-help-at-point): New command.
1825 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1827 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1828 syntax class to search for whitespace on a single line
1829 (Message-ID: <4D938140.4030905@redhat.com>).
1831 2011-03-30 Leo Liu <sdl.web@gmail.com>
1833 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1835 (edit-abbrevs-map): Bind them here.
1836 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1838 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1840 * allout.el (allout-hide-by-annotation, allout-flag-region):
1841 Reduce possibility of overlay leakage by making them volatile.
1843 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1844 hash is not shared between buffers. Mode initialization is
1845 responsible for giving it a useful starting value.
1846 (allout-item-span): Reduce possibility of overlay leakage by
1847 making them volatile.
1848 (allout-widgets-count-buttons-in-region): Add diagnostic function
1849 for tracking down button overlay leaks.
1851 2011-03-29 Leo Liu <sdl.web@gmail.com>
1853 * ido.el (ido-read-internal): Use the default history var
1854 minibuffer-history if no HISTORY is specified.
1856 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1858 * net/imap.el (imap-shell-open, imap-process-connection-type):
1859 Use imap-process-connection-type for 'shell' streams as well as
1860 Kerberos, SSL, other subprocesses.
1862 2011-03-28 Leo Liu <sdl.web@gmail.com>
1864 * abbrev.el (abbrev-table-empty-p): New function.
1865 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1866 nonempty ones. (Bug#5937)
1868 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1870 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1872 2011-03-27 Leo Liu <sdl.web@gmail.com>
1874 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1875 for foreground and background colors.
1876 (ansi-color-make-color-map): Adapt.
1878 2011-03-25 Leo Liu <sdl.web@gmail.com>
1880 * midnight.el (midnight-time-float): Remove. Note it calculates
1881 the microsecond component incorrectly and seconds-to-time does the
1883 Remove redundant (require 'timer).
1885 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1886 (ido-completions): Remove unused arguments. (Bug#8329)
1888 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * minibuffer.el (completion--flush-all-sorted-completions):
1891 Remove itself from hook.
1892 (completion-at-point): Let the functions perform the completion
1893 immediately and return nil or t.
1894 * comint.el (comint-dynamic-complete-functions): Now identical to
1895 completion-at-point-functions.
1896 (comint-dynamic-list-input-ring): Remove unused var `index'.
1897 (comint--match-partial-filename, comint--unquote&expand-filename):
1898 New funs, split from comint-match-partial-filename.
1899 (comint-dynamic-complete): Use completion-at-point.
1900 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1902 2011-03-24 Drew Adams <drew.adams@oracle.com>
1904 * thingatpt.el: Support `defun'.
1906 2011-03-23 Leo Liu <sdl.web@gmail.com>
1908 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1910 * help-mode.el (help-mode-finish): Tweak regexp.
1912 2011-03-23 Glenn Morris <rgm@gnu.org>
1914 * eshell/esh-opt.el (eshell-eval-using-options):
1915 Do not bind unused local variable `eshell-option-stub'.
1917 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1919 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1921 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1922 keymap variable in `with-no-warnings' to avoid a warning when the
1923 keymap has been already `defconst'ed.
1925 2011-03-22 Leo Liu <sdl.web@gmail.com>
1927 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1928 encode all chars in abbrevs; otherwise use emacs-mule or
1929 utf-8-emacs. (Bug#8308)
1931 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1933 * simple.el (backward-delete-char-untabify):
1934 Avoid warning about using `delete-backward-char'.
1936 * image.el (image-type-file-name-regexps): Make it variable.
1937 `imagemagick-register-types' modifies it, and the user may want
1938 to add new extensions for known image types.
1939 (imagemagick-register-types): Throw error if not using ImageMagick.
1941 2011-03-22 Leo Liu <sdl.web@gmail.com>
1943 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1944 located before rcirc-prompt-end-marker.
1945 (rcirc-complete): Error if point is not after rcirc prompt.
1946 Handle the case when table is nil.
1947 (rcirc-user-authenticated): Define to fix compiler warning.
1949 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1951 * custom.el (custom--inhibit-theme-enable): Make it affect only
1952 custom-theme-set-variables and custom-theme-set-faces.
1953 (provide-theme): Ignore custom--inhibit-theme-enable.
1954 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1955 (custom-enabling-themes): Delete variable.
1956 (enable-theme): Accept only loaded themes as arguments.
1957 Ignore the special custom-enabled-themes variable.
1958 (custom-enabled-themes): Forbid themes from setting this.
1959 Eliminate use of custom-enabling-themes.
1960 (custom-push-theme): Quote "changed" custom var entry.
1962 2011-03-21 Leo Liu <sdl.web@gmail.com>
1964 * ido.el (ido-read-internal): Add ido-selected to history instead
1967 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * subr.el (deferred-action-list, deferred-action-function):
1972 2011-03-21 Leo Liu <sdl.web@gmail.com>
1974 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1975 change on 2011-02-13 (bug#8309).
1977 * minibuffer.el (read-file-name-function): Change default value.
1978 (read-file-name--defaults): Rename from read-file-name-defaults.
1979 (read-file-name-default): Rename from read-file-name.
1980 (read-file-name): Call read-file-name-function.
1982 2011-03-21 Glenn Morris <rgm@gnu.org>
1984 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1987 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1989 * cus-theme.el: Add missing provide statement.
1990 (customize-create-theme): Extract theme value correctly.
1991 (custom-theme-visit-theme): Autoload.
1992 (customize-create-theme): Prompt before inserting default faces.
1994 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1996 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1997 units and musical notes.
1999 2011-03-20 Leo <sdl.web@gmail.com>
2001 * ido.el (ido-read-internal): Use completing-read-default.
2002 (ido-completing-read): Fix compatibility with completing-read.
2004 2011-03-20 Christian Ohler <ohler@gnu.org>
2006 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2007 (ert-delete-all-tests): Use `called-interactively-p' rather than
2009 (ert--make-xrefs-region): Respect END.
2011 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2013 * dired-aux.el (dired-create-directory): Signal an error if the
2014 directory already exists (Bug#8246).
2016 * facemenu.el (list-colors-display): Call list-faces-display
2017 inside with-help-window.
2018 (list-colors-print): Use display property to align the final
2019 column, instead of checking window-width.
2021 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2023 * emerge.el (emerge-metachars): Separate value for ms-dos and
2025 (emerge-protect-metachars): Quote correctly for ms-dos and
2028 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2030 * info.el (info-initialize): Replace all uses of `:' with
2031 path-separator for compatibility with non-Unix systems.
2032 Cache quoting of path-separator. (Bug#8258)
2034 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2036 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2037 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2038 (mouse-avoidance-mode): Fix typos in docstrings.
2040 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2042 * startup.el (package-subdirectory-regexp): Move from package.el.
2043 Omit \\` and \\', and let callers add them.
2045 * emacs-lisp/package.el (package-strip-version)
2046 (package-load-all-descriptors): Add \\` and \\' to
2047 package-subdirectory-regexp before using it.
2048 (package-untar-buffer): New arg DIR; ensure that file untars only
2049 into this expected directory. Remove superfluous delete-region.
2050 (package-unpack): Caller changed.
2051 (package-tar-file-info): Use package-subdirectory-regexp.
2053 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2055 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2056 diff-mode-shared-map (bug#8284).
2057 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2059 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2061 * calendar/time-date.el (format-seconds): Use assoc instead of
2062 assoc-string, since assoc-string doesn't exist in XEmacs.
2064 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2066 * custom.el (custom-known-themes): Reflow docstring.
2067 (custom-theme-load-path): Fix typo in docstring.
2068 (load-theme): Fix typo in error message.
2069 (custom-available-themes, custom-variable-theme-value):
2070 Use `let', not `let*'.
2072 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2074 * calc/README: Mention inclusion of musical notes.
2076 * calc/calc-units.el (calc-lu-quant): Rename from
2077 `calc-logunits-quantity'.
2078 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2079 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2080 (calc-db): Rename from `calc-dblevel'.
2081 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2082 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2083 (calc-np): Rename from `calc-nplevel'.
2084 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2085 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2086 (calc-lu-plus): Rename from `calc-logunits-add'.
2087 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2088 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2089 (calc-lu-minus): Rename from `calc-logunits-sub'.
2090 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2091 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2092 (calc-lu-times): Rename from `calc-logunits-mul'.
2093 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2094 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2095 (calc-lu-divide): Rename from `calc-logunits-div'.
2096 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2097 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2099 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2100 functions being autoloaded.
2102 * calc/calc.el (calc-lu-power-reference): Rename from
2103 `calc-logunits-power-reference'.
2104 (calc-lu-field-reference): Rename from
2105 `calc-logunits-field-reference'.
2107 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2109 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * minibuffer.el (completion-all-sorted-completions):
2112 Use :completion-cycle-penalty text property if present.
2114 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2116 * allout.el (allout-yank-processing): Adjust for new rebulleting
2117 regime so bullet being yanked is used without prompting the user
2120 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2122 * startup.el (command-line): Warn the user that _emacs is deprecated.
2124 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2126 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2127 (delphi-verbose, delphi-comment-face, delphi-string-face)
2128 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2129 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2130 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2131 (delphi-new-comment-line, delphi-font-lock-defaults)
2132 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2133 Fix typos in docstrings.
2135 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2137 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2138 Invert the roles of character and string values for INSTEAD, so a
2139 string is used for the more common case of a defaulting prompt.
2141 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * progmodes/ruby-mode.el (ruby-backward-sexp):
2144 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2145 * play/gamegrid.el (gamegrid-make-face):
2146 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2147 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2148 * notifications.el (notifications-notify):
2149 * net/xesam.el (xesam-search-engines):
2150 * net/quickurl.el (quickurl-list-insert):
2151 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2153 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2155 * startup.el (command-line): Update package subdirectory regexp.
2157 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * allout.el (allout-abbreviate-flattened-numbering)
2160 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2162 * subr.el (read-char-choice): Only show the cursor after the prompt,
2163 not after the answer.
2165 2011-03-15 Kevin Ryde <user42@zip.com.au>
2167 * help-fns.el (variable-at-point): Skip leading quotes, if any
2170 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2172 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2175 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2177 * shell.el (shell): When called interactively, offer to change the
2178 shell file name on remote hosts.
2180 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2182 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2183 integration for LDAP parameters. The host, base, user or binddn,
2184 and secret tokens can be specified in a netrc file, for instance.
2185 This is optional because an `auth-source' parameter must be
2186 specified in the search attributes.
2188 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2190 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2192 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2194 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2195 into declaration. Remove redundant and harmful binding.
2197 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2199 * files.el (file-ownership-preserved-p): Pass `integer' as an
2200 explicit 2nd argument to `file-attributes'. If the file's owner
2201 is the Administrators group on Windows, and the current user is
2202 Administrator, consider that a match.
2204 * server.el (server-ensure-safe-dir): Consider server directory
2205 safe on MS-Windows if its owner is the Administrators group while
2206 the current Emacs user is Administrator. Use `=' to compare
2207 numerical UIDs, since they could be integers or floats.
2209 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2211 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2213 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2215 Sync with Tramp 2.2.1.
2217 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2219 * net/trampver.el: Update release number.
2221 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * progmodes/compile.el (compilation--previous-directory): Fix up
2224 various nil/dead-marker mismatches (bug#8014).
2225 (compilation-directory-properties, compilation-error-properties):
2226 Don't call it at a position past the one we're about to change.
2228 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2229 Disable obsolescence warnings in the file that declares it.
2231 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2233 * allout-widgets.el (allout-widgets-tally):
2234 Initialize allout-widgets-tally as a hash table rather than nil to
2235 prevent mode-line redisplay warnings. Also, clarify the module
2236 description and fix a comment typo.
2238 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2240 * help-fns.el (describe-variable): Don't complete keywords.
2241 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2243 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2245 * emacs-lisp/package.el (package-version-join): Impose a standard
2246 string representation for pre/alpha/beta version lists.
2247 (package-unpack-single): Standardize the directory name by passing
2248 it through package-version-join.
2249 (package-strip-rcs-id): Accept any version string that does not
2250 signal an error in version-to-list.
2252 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2254 * simple.el (delete-trailing-whitespace): Return nil for the
2255 benefit of `write-file-functions'.
2257 2011-03-10 Glenn Morris <rgm@gnu.org>
2259 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2261 * vc/vc-git.el (vc-git-program): New option.
2262 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2263 (vc-git--call): Use it.
2265 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2267 * cus-edit.el (Custom-newline): If no button at point, look
2268 for a subgroup button at start-of-line. (Bug#2298)
2270 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2272 2011-03-10 Julien Danjou <julien@danjou.info>
2274 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2275 `cursor-type' is nil.
2277 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2279 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2281 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2283 * allout.el Summary: Change so yank of distinctive-bullet items
2284 preserves the existing header prefix, rebulleting it if necessary,
2285 rather than replacing it. This is necessary for proper operation
2286 of cooperative addons like allout-widgets.
2287 (allout-make-topic-prefix, allout-rebullet-heading): Change
2288 SOLICIT arg to INSTEAD, and interpret additionally a string value
2289 as alternate bullet to be used, instead of prompting the user for
2292 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2294 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2295 Do not use `tramp-file-name-port', because this returns also
2296 `tramp-default-port'.
2298 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2300 * net/rcirc.el (rcirc-handler-001): Remove useless
2301 with-rcirc-process-buffer.
2302 (rcirc-check-auth-status): Swap arguments to string-match.
2304 2011-03-09 Glenn Morris <rgm@gnu.org>
2306 * shell.el (shell-mode):
2307 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2309 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2310 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2312 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2314 * emacs-lisp/package.el (package-refresh-contents)
2315 (package-menu-execute): Use condition-case-no-debug.
2317 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2319 * simple.el (shell-command-to-string): Use `process-file'.
2321 * emacs-lisp/package.el (package-tar-file-info): Handle also
2324 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2325 Use `equal' for upload base check.
2327 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2329 * textmodes/texinfo.el (texinfo-environments):
2330 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2332 2011-03-08 Glenn Morris <rgm@gnu.org>
2334 * cus-start.el (cursor-in-non-selected-windows):
2335 Fix :set quoting oddness. (Bug#8192)
2337 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2338 in some setf expressions. (Bug#2159)
2340 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2342 * custom.el (custom-available-themes): Return themes in
2345 See ChangeLog.15 for earlier changes.
2351 Copyright (C) 2011 Free Software Foundation, Inc.
2353 This file is part of GNU Emacs.
2355 GNU Emacs is free software: you can redistribute it and/or modify
2356 it under the terms of the GNU General Public License as published by
2357 the Free Software Foundation, either version 3 of the License, or
2358 (at your option) any later version.
2360 GNU Emacs is distributed in the hope that it will be useful,
2361 but WITHOUT ANY WARRANTY; without even the implied warranty of
2362 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2363 GNU General Public License for more details.
2365 You should have received a copy of the GNU General Public License
2366 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.