1 2011-05-07 Glenn Morris <rgm@gnu.org>
3 * calendar/diary-lib.el (diary-comment-start): Doc fix.
5 * calendar/appt.el (appt-time-msg-list): Doc fix.
7 2011-05-06 Noah Friedman <friedman@splode.com>
9 * apropos.el (apropos-print-doc): Only use
10 emacs-lisp-docstring-fill-column when it is bound to an integer,
11 per that variable's documentation.
13 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16 and warnings are not silently discarded (e.g. use "-d" instead of "-P").
18 2011-05-06 Glenn Morris <rgm@gnu.org>
20 * calendar/appt.el (appt-message-warning-time): Doc fix.
21 (appt-warning-time-regexp): New option.
22 (appt-make-list): Respect appt-message-warning-time.
24 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
26 (diary-add-to-list): Strip comments from the displayed string.
27 (diary-mode): Set comment-start and comment-end.
29 * vc/diff-mode.el (smerge-refine-subst): Declare.
30 (diff-refine-hunk): Don't require smerge-mode when compiling.
32 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
34 * simple.el (list-processes): Return nil as the docstring says.
36 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
38 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
40 (ange-ftp-write-region, ange-ftp-insert-file-contents)
41 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
42 determining of binary transfer. (Bug#7383)
44 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
46 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
47 port computation bug. (Bug#8618)
49 2011-05-05 Glenn Morris <rgm@gnu.org>
51 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
53 * simple.el (shell-dynamic-complete-functions)
54 (comint-dynamic-complete-functions): Declare.
56 * net/network-stream.el (gnutls-negotiate):
57 * simple.el (tabulated-list-print): Fix declarations.
59 * progmodes/gud.el (syntax-symbol, syntax-point):
60 Remove unnecessary and incorrect declarations.
62 * emacs-lisp/check-declare.el (check-declare-scan):
63 Handle byte-compile-initial-macro-environment in bytecomp.el
65 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
67 Fix earlier half-done eieio-defmethod change (bug#8338).
68 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
69 Streamline and change calling convention.
70 (defmethod): Adjust accordingly and simplify.
71 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
73 (slot-boundp): Minor CSE simplification.
75 2011-05-05 Milan Zamazal <pdm@zamazal.org>
77 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
78 (glasses-make-readable): Use glasses-separate-capital-groups.
80 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
82 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
83 (warning-series): Doc fix.
84 (display-warning): Don't try to create the buffer if we just found it.
86 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
88 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
89 (autoload-find-generated-file): New function.
90 (generate-file-autoloads): Bind generated-autoload-file to
92 (update-file-autoloads, update-directory-autoloads):
93 Use autoload-find-generated-file. If called interactively, prompt for
94 output file (Bug#7989).
95 (batch-update-autoloads): Doc fix.
97 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
99 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
101 2011-05-04 Glenn Morris <rgm@gnu.org>
103 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
104 function, so it follows changes in calendar-date-style.
105 (diary-fancy-date-matcher): New function.
106 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
107 (diary-fancy-font-lock-fontify-region-function):
108 Use diary-fancy-date-pattern as a function.
110 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
111 non-numbers for `year' etc pseudo-variables. (Bug#8583)
113 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
115 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
116 instead of positional arguments. Allow :keylist and :crlfiles
118 (open-gnutls-stream): Call it.
120 * net/network-stream.el (network-stream-open-starttls): Adjust to
121 call `gnutls-negotiate' with :process and :hostname arguments.
123 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
125 * minibuffer.el (completion--message): New function.
126 (completion--do-completion, minibuffer-complete)
127 (minibuffer-force-complete, minibuffer-complete-word): Use it.
128 (completion--do-completion): Don't ignore completion-auto-help when in
131 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
132 internal encoding (e.g. tibetan zero is not whitespace).
133 (global-whitespace-mode): Prefer save-current-buffer.
134 (whitespace-trailing-regexp): Remove useless save-match-data.
135 (whitespace-empty-at-bob-regexp): Minor simplification.
137 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
139 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
141 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
143 * textmodes/ispell.el (ispell-add-per-file-word-list):
144 Use `concat' to create string for insertion.
146 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
148 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
149 Avoid open-line which runs post-self-insert-hook.
150 (bibtex-fill-entry): Remove unused `end' var.
152 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
154 * textmodes/ispell.el (ispell-add-per-file-word-list):
155 Protect against `nil' value of `comment-start' (Bug#8579).
157 2011-05-03 Leo Liu <sdl.web@gmail.com>
159 * isearch.el (isearch-yank-pop): New command.
160 (isearch-mode-map): Bind it to `M-y'.
161 (isearch-forward): Mention it.
163 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
165 * simple.el (minibuffer-complete-shell-command): Remove.
166 (minibuffer-local-shell-command-map): Use completion-at-point.
167 (read-shell-command): Setup completion vars here instead.
168 (read-expression-map): Bind TAB to symbol completion.
170 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
171 error directly rather via storing it into `results'.
173 2011-05-02 Leo Liu <sdl.web@gmail.com>
175 * vc/diff.el: Fix description.
177 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
179 * server.el (server-eval-at): New function.
181 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
183 * net/network-stream.el (open-network-stream): Take a :nowait
184 parameter and pass it on to `make-network-process'.
185 (network-stream-open-plain): Ditto.
187 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
189 * faces.el (face-spec-set-match-display): Don't match toolkit
190 options on terminal frames.
192 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
194 * progmodes/pascal.el: Use lexical binding.
195 (pascal-mode-map): Remove author preferences.
197 * pcomplete.el (pcomplete-std-complete): Don't abuse
200 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
202 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
203 removing code that has been dead since 1991 or so.
205 * startup.el (command-line): When warning about "_emacs", use a
206 delayed warning to allow the user to filter it out.
208 2011-04-28 Deniz Dogan <deniz@dogan.se>
210 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
213 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
215 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
216 aren't any completions at point.
218 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
220 * subr.el (display-delayed-warnings): New function.
221 (delayed-warnings-hook): New variable.
223 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
225 * minibuffer.el (completion-at-point, completion-help-at-point):
226 Don't presume that a given completion-at-point-function will always
227 use the same calling convention.
229 * pcomplete.el (pcomplete-completions-at-point):
230 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
231 pcomplete-seen is non-nil.
232 (pcomplete-comint-setup): Also recognize the new comint/shell
233 completion functions.
234 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
235 pcomplete-seen is non-nil.
237 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
239 * calendar/icalendar.el (diary-lib): Add require statement.
240 (icalendar--create-uid): Read out a uid from a text-property on
241 the first character in the entry. This allows for code to add its
242 own uid to the entry.
243 (icalendar--convert-float-to-ical): Add export of
244 `diary-float'-entries save for those with the optional DAY
247 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
249 * subr.el (shell-quote-argument): Use alternate escaping strategy
250 when we spot a variable reference in a string.
252 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
254 * cus-start.el (all): Define customization for debug-on-event.
256 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
258 * subr.el (shell-quote-argument): Escape correctly under Windows.
260 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
262 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
264 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
266 * net/tramp.el (tramp-process-actions): Add POS argument.
267 Delete region between POS and (pos).
269 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
270 Use `nil' position in `tramp-process-actions' call.
271 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
273 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
274 position in `tramp-process-actions' call.
276 * net/trampver.el: Update release number.
278 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
280 * custom.el (defcustom): Obey lexical-binding.
282 Fix octave-inf completion problems reported by Alexander Klimov.
283 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
284 Inherit from octave-mode-syntax-table.
285 (inferior-octave-mode): Set info-lookup-mode.
286 (inferior-octave-completion-at-point): New function.
287 (inferior-octave-complete): Use it and completion-in-region.
288 (inferior-octave-dynamic-complete-functions): Use it as well, and use
289 comint-filename-completion.
290 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
291 symbol elements which shouldn't be word elements.
292 (octave-font-lock-keywords, octave-beginning-of-defun)
293 (octave-function-header-regexp): Adjust regexps accordingly.
294 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
296 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
298 * net/gnutls.el (gnutls-errorp): Declare before first use.
300 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
302 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
303 verify-error, and verify-hostname-error parameters. Check whether
304 default trustfile exists before going to use it. Add missing
305 argument to gnutls-message-maybe call. Return return value.
306 Reported by Claudio Bley <claudio.bley@gmail.com>.
307 (open-gnutls-stream): Add usage example.
309 * net/network-stream.el (network-stream-open-starttls): Give host
310 parameter to `gnutls-negotiate'.
311 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
312 * subr.el (shell-quote-argument): Escape correctly under Windows.
314 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
316 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
317 Use correct match group (bug#8438).
319 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
321 * emacs-lisp/package.el (package-built-in-p): Fix typo.
322 (package-menu--generate): New arg specifying packages to show.
323 (package-menu-refresh, package-menu-execute, list-packages):
325 (package-show-package-list): New function, replacing deleted
326 package--list-packages (renamed because it is non-internal).
328 * finder.el (finder-list-matches): Use package-show-package-list
329 instead of deleted package--list-packages.
331 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
332 Based on a previous implementation by Juanma Barranquero (Bug#8366).
333 (vc-annotate-mode-map): Bind it to RET.
335 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
337 * progmodes/etags.el (next-file): Don't use set-buffer to change
340 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
342 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
344 * apropos.el (apropos-label-face): Avoid variable-pitch face.
345 (apropos-accumulator): Doc fix.
346 (apropos-function, apropos-macro, apropos-command)
347 (apropos-variable, apropos-face, apropos-group, apropos-widget)
348 (apropos-plist): Add face property.
349 (apropos-symbols-internal): Fix indentation.
350 (apropos-print): Simplify help, and recognize apropos-multi-type.
351 (apropos-print-doc): Use button-type-get to extract the button's
352 face property. Fill docstring (Bug#8352).
354 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
356 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
358 * play/mpuz.el (mpuz-silent): Doc fix.
359 (mpuz-mode-map): Use mapc.
360 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
361 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
362 Fix typos in docstrings.
364 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
365 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
367 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
369 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
371 * minibuffer.el (completion--do-completion): Avoid the "Next char
372 not unique" prompt if icomplete-mode is enabled (Bug#5849).
374 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
375 mouse-2 into unread-command-events, it is interpreted correctly.
377 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
378 (image-toggle-display): Doc fix.
380 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
382 * textmodes/page.el (what-page): Use line-number-at-pos to
383 calculate line number (Bug#6825).
385 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
387 * eshell/esh-mode.el (find-tag-interactive): Declare function.
388 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
389 Pass argument NO-DEFAULT to `find-tag-interactive'.
391 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
393 Lexical-binding cleanup.
395 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
396 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
397 * progmodes/ada-prj.el (ada-prj-initialize-values)
398 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
399 (ada-prj-show-value):
400 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
401 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
402 (antlr-invalidate-context-cache, antlr-options-menu-filter)
403 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
404 * progmodes/bug-reference.el (bug-reference-push-button):
405 * progmodes/fortran.el (fortran-line-length):
406 * progmodes/glasses.el (glasses-change):
407 * progmodes/octave-mod.el (octave-fill-paragraph):
408 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
409 (python-pdbtrack-grub-for-buffer, python-sentinel):
410 * progmodes/sql.el (sql-save-connection):
411 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
412 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
413 Mark unused parameters.
415 * progmodes/compile.el (compilation--flush-directory-cache)
416 (compilation--flush-parse, compile-internal): Mark unused parameters.
417 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
418 (compilation-next-error-function): Remove unused variable `timestamp'.
420 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
421 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
423 * progmodes/dcl-mode.el (dcl-end-of-command):
424 Remove unused variable `start'.
425 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
426 (dcl-option-value-basic, dcl-option-value-offset)
427 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
428 Mark unused parameters.
429 (dcl-save-local-variable): Remove unused variable `val'.
432 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
433 Mark unused parameters.
434 (delphi-ignore-changes): Move before first use.
435 (delphi-charset-token-at): Remove unused variable `start'.
436 (delphi-else-start): Remove unused variable `if-count'.
437 (delphi-comment-block-start, delphi-comment-block-end):
438 Remove unused variable `kind'.
439 (delphi-indent-line): Remove unused variable `new-point'.
441 * progmodes/ebrowse.el (ebrowse-files-list)
442 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
443 Mark unused parameters. Don't quote `lambda'.
444 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
445 Don't quote `lambda'.
446 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
447 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
448 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
449 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
451 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
452 (ebrowse-view/find-file-and-search-pattern)
453 (ebrowse-view/find-member-declaration/definition):
454 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
455 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
456 Rename parameter PREFIX-ARG to PREFIX.
457 (ebrowse-tags-read-name): Remove unused variables `start' and
459 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
462 * progmodes/etags.el (local-find-tag-hook): Declare.
463 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
464 Mark unused parameters.
466 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
467 (executable-interpret): Mark unused parameter.
469 * progmodes/flymake.el (flymake-process-sentinel)
470 (flymake-after-change-function)
471 (flymake-create-temp-with-folder-structure)
472 (flymake-get-include-dirs-dot): Mark unused parameters.
473 (flymake-safe-delete-directory): Remove unused variable `err'.
475 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
476 (speedbar-timer-fn, speedbar-line-text)
477 (speedbar-change-expand-button-char, speedbar-delete-subblock)
478 (speedbar-center-buffer-smartly): Declare functions.
479 (gdb-find-watch-expression): Remove unused variable `array'.
480 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
481 (gdb-starting): Mark unused parameters.
482 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
483 (gdb-table-string): Remove unused variable `res'.
484 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
485 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
486 (gdb-display-buffer): Remove unused variable `cur-size'.
488 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
489 allow lexical-binding compilation.
490 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
491 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
492 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
493 Mark unused parameters.
494 (gud-gdb-marker-filter): Remove unused variable `match'.
495 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
496 lambda expressions and funcall them, instead of using `fset'.
498 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
499 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
501 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
502 variable `header-beg'; use `let'.
504 * progmodes/icon.el (indent-icon-exp): Remove unused variables
505 `restart', `last-sexp' and `at-do'.
507 * progmodes/js.el (js--debug): Mark unused parameter.
508 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
509 (js--splice-into-items): Remove unused variable `item'.
510 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
512 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
513 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
514 (makefile-complete): Remove unused variable `try'.
515 (makefile-fill-paragraph, makefile-match-function-end):
516 Mark unused parameters.
518 * progmodes/octave-inf.el (inferior-octave-complete):
519 Remove unused variable `proc'.
520 (inferior-octave-output-digest): Mark unused parameter.
522 * progmodes/perl-mode.el (perl-calculate-indent):
523 Remove unused variable `err'.
525 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
526 (prolog-indent-line): Mark unused parameters.
527 (prolog-indent-line): Remove unused variable `beg'.
529 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
530 (reporter-dont-compact-list): Declare.
532 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
533 Remove unused variable `char'.
534 (sh-debug): Mark unused parameter.
535 (sh-get-indent-info): Remove unused variable `start'.
536 (sh-calculate-indent): Remove unused variable `var'.
538 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
539 (simula-electric-keyword): Remove unused variable `null'.
540 (simula-search-backward, simula-search-forward): Remove unused
541 variables `begin' and `end'.
543 * progmodes/vera-mode.el (vera-guess-basic-syntax):
544 Remove unused variable `pos'.
545 (vera-electric-tab, vera-comment-uncomment-region):
546 Mark unused parameters.
547 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
549 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
551 * emacs-lisp/package.el (package--builtins, package-alist)
552 (package-load-descriptor, package-built-in-p, package-activate)
553 (define-package, package-installed-p)
554 (package-compute-transaction, package-buffer-info)
555 (package--push): Doc fix. Distinguish more clearly between
556 version strings and version lists.
558 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
560 Lexical-binding cleanup.
562 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
563 (5x5-make-mutate-best):
564 * play/fortune.el (fortune-in-buffer):
565 * play/gomoku.el (gomoku-init-display):
566 * play/solitaire.el (solitaire, solitaire-do-check):
567 * play/tetris.el (tetris-default-update-speed-function):
568 Mark unused parameters.
570 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
571 (bubbles--shift): Remove unused variable `char-org'.
572 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
573 (bubbles--show-images): Remove unused variable `char'.
575 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
576 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
577 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
578 (decipher-analyze-buffer): Use ?\s.
579 (decipher-make-checkpoint): Remove unused variable `mapping'.
581 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
583 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
584 Remove unused variable `result'; use `let'.
586 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
587 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
588 (gametree-children-shown-p, gametree-compute-reduced-score):
591 * play/handwrite.el (ps-lpr-switches): Declare.
592 (handwrite): Remove unused variables `pmin' and `lastp'.
594 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
596 * play/landmark.el (landmark-init-display)
597 (landmark-update-naught-weights): Mark unused parameters.
598 (landmark-y): Remove unused variable `noise'. Simplify.
599 (landmark-human-plays): Remove unused variable `score'.
601 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
602 (mpuz-try-proposal): Remove unused variable `game'.
604 * play/zone.el (life-patterns): Declare.
606 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
608 * vc/vc.el (ediff-vc-internal): Declare function.
610 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
612 * shell.el: Use lexical-binding and std completion UI.
613 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
614 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
615 comint-preoutput-filter-functions rather than on
616 comint-output-filter-functions.
617 (shell-command-completion, shell--command-completion-data)
618 (shell-filename-completion, shell-environment-variable-completion)
619 (shell-c-a-p-replace-by-expanded-directory): New functions.
620 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
621 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
622 (shell-dynamic-complete-environment-variable): Use them.
623 (shell-dynamic-complete-as-environment-variable)
624 (shell-dynamic-complete-as-command): Remove.
625 (shell-match-partial-variable): Match past point.
626 * comint.el: Clean up use of completion-at-point-functions.
627 (comint-completion-at-point): New function.
628 (comint-mode): Use it completion-at-point-functions.
629 (comint-dynamic-complete): Make it obsolete.
630 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
631 (comint-c-a-p-replace-by-expanded-history): New function.
632 (comint-dynamic-complete-functions)
633 (comint-replace-by-expanded-history): Use it.
634 * minibuffer.el (completion-table-with-terminator): Allow dynamic
635 termination strings. Try harder to avoid second try-completion.
636 (completion-in-region-mode-map): Disable bindings that don't work yet.
638 * comint.el: Use lexical-binding. Require CL.
639 (comint-dynamic-complete-functions): Use comint-filename-completion.
640 (comint-completion-addsuffix): Tweak custom type.
641 (comint-filename-completion, comint--common-suffix)
642 (comint--common-quoted-suffix, comint--table-subvert)
643 (comint--complete-file-name-data): New functions.
644 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
645 (comint-dynamic-list-filename-completions): Use them.
646 (comint-dynamic-simple-complete): Make obsolete.
648 * minibuffer.el (completion-in-region-mode):
649 Keep completion-in-region-mode--predicate global.
650 (completion-in-region--postch):
651 Assume completion-in-region-mode--predicate is not null.
653 * progmodes/flymake.el (flymake-start-syntax-check-process):
654 Obey `dir'. Simplify.
656 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
657 we're in VC after all.
659 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
661 * vc/vc.el (vc-diff-build-argument-list-internal)
662 (vc-version-ediff, vc-ediff): New commands.
663 (vc-version-diff): Use vc-diff-build-argument-list-internal.
665 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
667 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
670 * obsolete/erc-hecomplete.el: Make obsolete.
671 * obsolete/: Standardize obsolescence info in the header.
673 2011-04-20 Glenn Morris <rgm@gnu.org>
675 * calendar/solar.el (solar-horizontal-coordinates):
676 Use the longitude argument rather than `calendar-longitude'.
677 (solar-date-next-longitude): Remove unused locals.
679 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
681 * whitespace.el: New version 13.2.1.
683 2011-04-20 felix <EmacsWiki> (tiny change)
685 * whitespace.el (global-whitespace-mode): keep highlight when
686 switching between major modes on a file.
688 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
690 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
691 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
692 multi-line comments as well.
694 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
696 Lexical-binding cleanup.
698 * arc-mode.el (archive-mode-revert):
699 * cmuscheme.el (scheme-interactively-start-process):
700 * custom.el (custom-initialize-delay):
701 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
702 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
703 * emacs-lock.el (emacs-lock-clear-sentinel):
704 * ezimage.el (defezimage):
705 * follow.el (follow-avoid-tail-recenter):
706 * fringe.el (set-fringe-mode-1):
707 * generic-x.el (bat-generic-mode-compile):
708 * help-mode.el (help-info-variable, help-do-xref)
709 (help-mode-revert-buffer):
710 * help.el (view-emacs-todo):
711 * iswitchb.el (iswitchb-completion-help):
712 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
713 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
714 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
715 * locate.el (locate-update):
716 * longlines.el (longlines-encode-region)
717 (longlines-after-change-function):
718 * outline.el (outline-isearch-open-invisible):
719 * ps-def.el (declare-function, charset-dimension, char-width)
721 * ps-mule.el (ps-mule-plot-string):
722 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
723 (recentf-edit-list-select, recentf-edit-list-validate)
724 (recentf-open-files-action):
725 * rect.el (delete-whitespace-rectangle-line)
726 (rectangle-number-line-callback):
727 * register.el (window-configuration-to-register)
728 (frame-configuration-to-register):
729 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
730 * select.el (xselect-convert-to-string, xselect-convert-to-length)
731 (xselect-convert-to-targets, xselect-convert-to-delete)
732 (xselect-convert-to-filename, xselect-convert-to-charpos)
733 (xselect-convert-to-lineno, xselect-convert-to-colno)
734 (xselect-convert-to-os, xselect-convert-to-host)
735 (xselect-convert-to-user, xselect-convert-to-class)
736 (xselect-convert-to-name, xselect-convert-to-integer)
737 (xselect-convert-to-atom, xselect-convert-to-identity):
738 * subr.el (declare, ignore, process-kill-without-query)
739 (text-clone-maintain):
740 * terminal.el (te-get-char, te-tic-sentinel):
741 * tool-bar.el (tool-bar-make-keymap):
742 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
743 * type-break.el (type-break-mode, type-break-noninteractive-query):
744 * view.el (View-back-to-mark):
745 * wid-browse.el (widget-browse-action, widget-browse-widget)
746 (widget-browse-widgets, widget-browse-sexp):
747 * widget.el (define-widget-keywords):
748 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
749 Mark unused parameters.
751 * align.el (align-adjust-col-for-rule): Mark unused parameter.
752 (align-areas): Remove unused variable `look'.
753 (align-region): Remove unused variables `real-end' and `pos-list'.
755 * apropos.el (apropos-score-doc): Remove unused variable `i'.
757 * bindings.el (mode-line-modified, mode-line-remote):
758 Mark unused parameters.
759 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
761 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
762 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
764 * comint.el (comint-history-isearch-pop-state)
765 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
766 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
767 (comint-substitute-in-file-name): Doc fix.
769 * completion.el (cmpl-statistics-block): Mark unused parameter.
770 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
771 (save-completions-to-file, load-completions-from-file):
772 Remove unused local variable `e'.
774 * composite.el (compose-chars): Remove unused variable `len'.
775 (lgstring-insert-glyph): Remove unused variable `g'.
776 (compose-glyph-string): Remove unused variables `ascent',
777 `descent', `lbearing' and `rbearing'.
778 (compose-glyph-string-relative): Remove unused variables
779 `lbearing', `rbearing' and `wadjust'.
780 (compose-gstring-for-graphic): Remove unused variables `header',
781 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
782 (compose-gstring-for-terminal): Remove unused variables `header'
783 and `nchars'. Use `let', not `let*'.
785 * cus-edit.el (Custom-set, Custom-save, custom-reset)
786 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
787 (Custom-buffer-done, custom-buffer-create-internal)
788 (custom-browse-visibility-action, custom-browse-group-tag-action)
789 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
790 (widget-magic-mouse-down-action, custom-toggle-parent)
791 (custom-add-parent-links, custom-toggle-hide-variable)
792 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
793 (custom-toggle-hide-face, face, hook, custom-group-link-action)
794 (custom-face-menu-create, custom-variable-menu-create, get)
795 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
796 (custom-reset-standard-save-and-update): Remove unused variable `value'.
797 (customize-apropos): Remove unused variable `tests'.
798 (custom-group-value-create): Remove unused variable `hidden-p'.
799 (sort-fold-case): Declare.
801 * cus-theme.el (custom-reset-standard-faces-list)
802 (custom-reset-standard-variables-list): Declare.
803 (customize-create-theme, custom-theme-revert, custom-theme-write)
804 (custom-theme-choose-mode, customize-themes, custom-theme-save):
805 Mark unused parameters.
807 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
809 * delim-col.el (delimit-columns-max): Move defvar before first use.
811 * descr-text.el (describe-char-categories): Don't quote `lambda'.
812 (describe-char): Don't quote `lambda'. Mark unused parameter.
814 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
815 (auto-insert): Declare.
816 (desktop-restore-file-buffer): Rename desktop-* parameters;
818 (desktop-create-buffer): Rename desktop-* parameters and bind them.
819 (desktop-buffer): Rename desktop-* parameters.
821 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
822 (dframe-reposition-frame-xemacs, dframe-help-echo)
823 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
824 Mark unused parameters.
826 * dired-aux.el (backup-extract-version-start, overwrite-query)
827 (overwrite-backup-query, rename-regexp-query)
828 (rename-non-directory-query): Declare.
829 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
830 (dired-add-entry): Remove unused variable `orig-file-name'.
831 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
832 Use parameter PRESERVE-TIME instead of accessing dynamic variable
833 `dired-copy-preserve-time' directly.
834 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
835 (dired-insert-subdir-newpos): Rename unused variable `pos'.
837 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
838 (dired-virtual-revert, dired-make-relative-symlink):
839 Mark unused parameters.
840 (manual-program): Declare.
841 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
842 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
843 wrapped in `with-no-warnings' to avoid replacing one warning by another.
845 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
847 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
849 * echistory.el (electric-history-in-progress, Helper-return-blurb):
852 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
854 * electric.el (Electric-command-loop): Rename parameter
855 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
857 * expand.el (expand-in-literal): Remove unused variable `here'.
859 * facemenu.el (facemenu-add-new-color):
860 Remove unused variable `docstring'.
862 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
863 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
864 (face-attr-construct): Mark unused parameter. Doc fix.
865 (read-color): Remove unused variable `hex-string'.
867 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
868 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
869 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
870 (display-buffer-other-frame): Remove unused variable `old-window'.
871 (kill-buffer-hook): Declare.
872 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
873 Mark unused parameters.
874 (after-find-file): Pass 1 to `auto-save-mode', not t.
876 * files-x.el (auto-insert): Declare.
877 (modify-file-local-variable-prop-line): Remove unused variable `val'.
879 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
880 variable `buf'. Mark unused parameter.
881 (find-lisp-insert-directory): Mark unused parameter.
883 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
884 (format-encode-region): Remove unused variables `cur-buf' and `result'.
885 (format-common-tail): Remove, unused.
886 (format-deannotate-region): Remove unused variable `loc'.
887 (format-annotate-region): Remove unused variable `p'.
888 (format-annotate-single-property-change): Remove unused variables
889 `default' and `tail'.
891 * forms.el (read-file-filter): Declare.
892 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
894 * frame.el (frame-creation-function-alist): Mark unused parameter.
895 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
897 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
898 Remove unused parameters.
899 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
900 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
902 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
903 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
904 (hfy-prepare-tag-map): Mark unused parameters.
905 (htmlfontify-buffer): Use `called-interactively-p'.
907 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
908 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
909 (ibuffer-do-occur): Mark unused parameters.
910 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
911 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
913 * ibuffer.el: Don't quote `lambda'.
914 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
915 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
916 Mark unused parameters.
918 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
919 (ido-completing-read): Mark unused parameters.
920 (ido-copy-current-word): Mark unused parameters;
921 remove unused variable `name'.
922 (ido-sort-merged-list): Remove unused parameter `dirs'.
924 * ielm.el (ielm-input-sender): Mark unused parameter.
925 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
926 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
927 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
928 `ielm-string' as a dynamic variable accessible from the IELM prompt.
929 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
931 * image-dired.el (image-dired-display-thumbs): Remove unused
932 variables `curr-file' and `count'.
933 (image-dired-remove-tag): Remove unused variable `start'.
934 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
936 (image-dired-rotate-original): Remove unused variable `temp-file'.
937 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
938 Remove unused variable `file'.
939 (image-dired-gallery-generate): Remove unused variable `curr'.
940 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
942 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
944 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
946 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
948 * isearch.el (minibuffer-history-symbol): Declare.
949 (isearch-edit-string): Remove unused variable `err'.
950 (isearch-message-prefix, isearch-message-suffix):
951 Mark unused parameters.
953 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
955 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
957 * makesum.el (double-column): Remove unused variable `cnt'.
959 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
960 (ido-ignore-item-temp-list): Declare.
962 * mouse-drag.el (mouse-drag-throw): Remove unused variables
963 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
964 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
965 (mouse-drag-drag): Remove unused variables `mouse-delta' and
968 * mouse-sel.el (mouse-extend-internal):
969 Remove unused variable `orig-window-frame'.
971 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
972 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
973 Move declarations before first use.
974 (pcomplete-opt): Mark unused parameters; doc fix.
976 * proced.el (proced-revert): Mark unused parameter.
977 (proced-send-signal): Remove unused variable `err'.
979 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
980 Rename parameter PREFIX-ARG to ARG.
981 (ps-basic-plot-string, ps-basic-plot-whitespace):
982 Mark unused parameters.
984 * replace.el (replace-count): Define.
985 (occur-revert-function): Mark unused parameters.
986 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
987 (isearch-case-fold-search, isearch-string): Declare.
988 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
989 bind `case-fold-search'. Remove unused variables `beg' and `end',
991 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
992 COUNT and bind `replace-count'.
993 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
996 * savehist.el (print-readably, print-string-length): Declare.
998 * shadowfile.el (shadow-expand-cluster-in-file-name):
999 Remove unused variable `cluster'.
1000 (shadow-copy-file): Remove unused variable `i'.
1001 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1002 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1003 (shadow-define-literal-group, shadow-define-regexp-group)
1004 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1006 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1007 (shell): Use `called-interactively-p'.
1008 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1010 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1011 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1012 (delete-backward-char): Remove unused variable `ocol'.
1013 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1014 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1015 (event-apply-hyper-modifier, event-apply-shift-modifier)
1016 (event-apply-control-modifier, event-apply-meta-modifier):
1017 Mark unused parameters.
1018 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1019 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1021 * speedbar.el (speedbar-ignored-directory-expressions)
1022 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1023 (speedbar-find-file, speedbar-dir-follow)
1024 (speedbar-directory-buttons-follow, speedbar-tag-find)
1025 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1026 (speedbar-buffers-line-directory, speedbar-buffer-click):
1027 Mark unused parameters.
1028 (speedbar-tag-file): Remove unused variable `mode'.
1029 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1031 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1033 * talk.el (talk): Remove unused variable `display'.
1035 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1036 (tar-write-region-annotate): Mark unused parameter.
1038 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1039 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1040 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1043 * time-stamp.el (time-stamp-string-preprocess):
1044 Remove unused variable `require-padding'.
1046 * tree-widget.el (widget-glyph-enable): Declare.
1047 (tree-widget-action): Mark unused parameter.
1049 * w32-fns.el (x-get-selection): Mark unused parameter.
1050 (autoload-make-program, generated-autoload-file): Declare.
1052 * wdired.el (wdired-revert): Mark unused parameters.
1053 (wdired-xcase-word): Remove unused variable `err'.
1055 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1056 (whitespace-help-scroll): Remove unused variable `data-help'.
1058 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1059 (widget-image-insert, widget-after-change, default)
1060 (widget-default-format-handler, widget-default-notify)
1061 (widget-default-prompt-value, widget-info-link-action)
1062 (widget-url-link-action, widget-function-link-action)
1063 (widget-variable-link-action, widget-file-link-action)
1064 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1065 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1066 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1067 (widget-insert-button-action, widget-delete-button-action, visibility)
1068 (widget-documentation-link-action, widget-documentation-string-action)
1069 (widget-const-prompt-value, widget-regexp-match, symbol)
1070 (widget-coding-system-prompt-value)
1071 (widget-key-sequence-value-to-external, sexp)
1072 (widget-sexp-value-to-internal, character, vector, cons)
1073 (widget-choice-prompt-value, widget-boolean-prompt-value)
1074 (widget-color--choose-action): Mark unused parameters.
1075 (widget-item-match-inline, widget-choice-match-inline)
1076 (widget-checklist-match, widget-checklist-match-inline)
1077 (widget-group-match): Rename parameter VALUES to VALS.
1078 (widget-field-value-set): Remove unused variable `size'.
1079 (widget-color-action): Remove unused variables `value' and `start'.
1081 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1082 variable `dir'. Doc fix.
1083 (windmove-find-other-window): Don't pass it.
1085 * window.el (count-windows): Mark unused parameter.
1086 (bw-adjust-window): Remove unused variable `err'.
1088 * woman.el (woman-file-name): Remove unused variable `default'.
1089 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1090 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1091 (global-font-lock-mode): Declare.
1092 (woman-decode-region): Mark unused parameter.
1093 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1095 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1096 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1097 (x-dnd-handle-moz-url): Remove unused variable `title'.
1098 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1100 * xml.el (xml-parse-tag, xml-parse-attlist):
1101 Remove unused variable `pos'.
1103 2011-04-19 Glenn Morris <rgm@gnu.org>
1105 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1106 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1107 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1108 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1109 * calendar/cal-html.el (cal-html-insert-minical):
1110 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1111 (calendar-mark-date-pattern):
1112 Prefix "unused" locals.
1114 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1115 optional argument `style'.
1117 * calendar/appt.el (appt-make-list):
1118 * calendar/cal-china.el (calendar-chinese-date-string):
1119 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1120 (diary-hebrew-yahrzeit):
1121 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1122 * calendar/calendar.el (calendar-generate-window):
1123 * calendar/time-date.el (time-to-days):
1124 Remove unused local variables.
1126 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1129 glyphless-char-display table.
1130 (tabulated-list-glyphless-char-display): New var.
1132 2011-04-18 Sam Steingold <sds@gnu.org>
1134 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1137 2011-04-17 Glenn Morris <rgm@gnu.org>
1139 * calendar/diary-lib.el (diary-sexp-entry):
1140 * calendar/holidays.el (holiday-sexp):
1141 Set debug-on-error rather than the removed stack-trace-on-error.
1143 2011-04-16 Glenn Morris <rgm@gnu.org>
1145 * progmodes/f90.el: Use lexical-binding.
1146 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1148 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1150 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1151 (mail-mode): Setup mailalias completion here instead.
1152 * mail/mailalias.el: Use lexical-binding.
1153 (pattern, mailalias-done): Declare dynamic.
1154 (mail-completion-at-point-function): New function, from mail-complete.
1155 (mail-complete): Use it.
1156 (mail-completion-expand): New function.
1157 (mail-get-names): Use it.
1158 (mail-directory, mail-directory-process, mail-directory-stream):
1159 Don't use `pattern' for lexically bound arg.
1161 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1163 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1164 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1165 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1167 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1168 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1169 (byte-interactive-p): Define them again, for use when inlining
1172 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1174 * loadup.el: Use `string-to-number', not `string-to-int'.
1176 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1178 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1179 gud-gdb-complete-command.
1180 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1181 (gud-gdb-completion-at-point): New function.
1182 (gud-gdb-completions): Remove.
1184 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1186 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1187 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1188 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1189 whether `executable-find' is bound.
1191 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1193 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * minibuffer.el (completion-in-region-mode-predicate)
1196 (completion-in-region-mode--predicate): New vars.
1197 (completion-in-region, completion-in-region--postch)
1198 (completion-in-region-mode): Use them.
1199 (completion--capf-wrapper): Also return the hook function.
1200 (completion-at-point, completion-help-at-point):
1201 Adjust and provide a predicate.
1203 Preserve arg names for advice of subr and lexical functions (bug#8457).
1204 * help-fns.el (help-function-arglist): Consolidate the subr and
1205 new-byte-code cases. Add argument `preserve-names' to extract names
1206 from the docstring when needed.
1207 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1208 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1209 (ad-arglist): Use help-function-arglist's new arg.
1210 (ad-definition-type): Use cond.
1212 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1214 * autorevert.el (auto-revert-handler):
1215 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1216 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1219 * image-mode.el (image-transform-set-scale):
1220 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1222 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1224 * net/network-stream.el (network-stream-open-starttls): Only do
1225 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1226 Upgrades via gnutls-cli are too slow to be done opportunistically.
1228 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1230 * dframe.el (dframe-current-frame): Remove spurious quote.
1232 2011-04-12 Glenn Morris <rgm@gnu.org>
1234 * calendar/cal-tex.el (cal-tex-end-document):
1235 Try to automatically use latin1 input if needed.
1237 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1238 Don't try to cons a mark onto an empty element.
1240 2011-04-11 Leo Liu <sdl.web@gmail.com>
1242 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1244 (ido-kill-buffer-at-head): Support killing virtual buffers.
1246 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1248 * minibuffer.el (completion-show-inline-help): New var.
1249 (completion--do-completion, minibuffer-complete)
1250 (minibuffer-force-complete, minibuffer-complete-word):
1251 Inhibit minibuffer messages if completion-show-inline-help is nil.
1253 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1254 to avoid interference from inline help (Bug#5849).
1256 2011-04-10 Leo Liu <sdl.web@gmail.com>
1258 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1261 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1263 * image-mode.el (image-toggle-display-image): Signal an error if
1265 (image-transform-mode, image-transform-resize)
1266 (image-transform-set-rotation): Doc fix.
1267 (image-transform-set-resize): Delete.
1268 (image-transform-set-scale, image-transform-fit-to-height)
1269 (image-transform-fit-to-width): Handle image-toggle-display-image
1270 and image-transform-resize directly.
1272 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1274 * doc-view.el (doc-view-fit-width-to-window)
1275 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1276 New functions for fitting the shown image to the Emacs window size.
1277 (doc-view-mode-map): Add bindings for the new functions.
1279 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1281 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1282 Fix typo in docstring.
1284 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1286 * files.el (file-size-human-readable): Produce one digit after
1287 decimal, like "ls -lh" does.
1289 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1290 the file size representation.
1292 * simple.el (list-processes): If async subprocesses are not
1293 available, error out with a clear error message.
1295 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1297 * help.el (help-form-show): New function, to be called from C.
1298 Put help-form output in a buffer named differently than *Help*.
1300 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1302 * files.el (file-size-human-readable): New function.
1304 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1305 computing the representation inline. Don't require `cl'.
1307 2011-04-08 Glenn Morris <rgm@gnu.org>
1309 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1311 * net/browse-url.el (browse-url-firefox):
1312 Test system-type, not system-configuration.
1314 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1315 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1316 Use log-edit-empty-buffer-p. (Bug#7598)
1318 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1319 (rlogin-mode-map): Initialize in the defvar.
1320 (rlogin): Use ignore-errors.
1322 * replace.el (occur-mode-map): Some fixes for menu items.
1324 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1326 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1328 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1330 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1331 issuing unused warnings.
1333 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1336 * simple.el: Lisp reimplement of list-processes. Based on an
1337 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1338 (process-menu-mode): New major mode.
1339 (list-processes--refresh, list-processes):
1340 (process-menu-visit-buffer): New functions.
1342 * files.el (save-buffers-kill-emacs): Don't assume any return
1343 value of list-processes, which is undocumented anyway.
1345 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1347 * emacs-lisp/tabulated-list.el: New file.
1349 * emacs-lisp/package.el: Use Tabulated List mode.
1350 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1351 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1352 table format using Tabulated List mode variables.
1353 (package--push): New macro, replacing package-list-maybe-add.
1354 (package-menu--generate): Use package--push. Renamed from
1355 package--generate-package-list.
1356 (package-menu-refresh, list-packages): Use it.
1357 (package-menu--print-info): Rename from package-print-package.
1358 Return insertion data instead of inserting it directly.
1359 (package-menu-describe-package, package-menu-execute):
1360 Use tabulated-list-get-id.
1361 (package-menu-mark-delete, package-menu-mark-install)
1362 (package-menu-mark-unmark, package-menu-backup-unmark)
1363 (package-menu-mark-obsolete-for-deletion):
1364 Use tabulated-list-put-tag.
1365 (package--list-packages, package-menu-revert)
1366 (package-menu-get-package, package-menu-get-version)
1367 (package-menu-sort-by-column): Functions deleted.
1368 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1369 (package-menu--status-predicate, package-menu--version-predicate)
1370 (package-menu--name-predicate)
1371 (package-menu--description-predicate): Handle arguments in the
1372 Tabulated List format.
1373 (package-list-packages-no-fetch): Call list-packages.
1375 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1377 * files.el (after-find-file-from-revert-buffer): Remove variable.
1378 (after-find-file): Don't bind it.
1379 (revert-buffer-in-progress-p): New variable.
1380 (revert-buffer): Bind it.
1381 Pass nil for `after-find-file-from-revert-buffer'.
1383 * saveplace.el (save-place-find-file-hook): Use new variable
1384 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1386 2011-04-06 Glenn Morris <rgm@gnu.org>
1388 * Makefile.in (AUTOGEN_VCS): New variable.
1389 (autoloads): Use $AUTOGEN_VCS.
1391 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1392 * calendar/calendar.el (calendar-mode-map):
1393 Check for toolkit scroll bars. (Bug#8305)
1395 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1397 * minibuffer.el (completion-in-region--postch)
1398 (completion-in-region-mode): Remove unnecessary messages.
1400 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1402 * font-lock.el (font-lock-refresh-defaults):
1403 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1404 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1406 * info.el (Info-directory-list, Info-read-node-name-2)
1407 (Info-split-parameter-string): Doc fixes.
1408 (Info-virtual-nodes): Reflow docstring.
1409 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1410 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1411 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1412 Fix typos in docstrings.
1413 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1414 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1415 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1416 (Info-restore-desktop-buffer): Mark unused parameters.
1417 (Info-directory-find-file, Info-directory-find-node)
1418 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1419 (Info-virtual-index-find-node, Info-apropos-find-file)
1420 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1421 Mark unused parameters; fix typos in docstrings.
1422 (Info-virtual-index): Remove unused local variable `nodename'.
1424 2011-04-05 Deniz Dogan <deniz@dogan.se>
1426 * net/rcirc.el: Update my e-mail address.
1427 (rcirc-mode-map): Remove M-o binding.
1429 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1431 * startup.el (command-line): Save the cursor's theme-face
1432 directly, instead of using face-override-spec.
1434 * custom.el (load-theme): Minor optimization in assigning faces.
1436 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1438 * help-fns.el (describe-variable): Complete all variables having
1439 documentation, including keywords.
1440 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1442 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1444 Convert to lexical-binding.
1446 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1447 (bs--get-marked-string, bs--get-modified-string)
1448 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1449 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1450 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1452 * ehelp.el (electric-help-execute-extended)
1453 (electric-help-ctrl-x-prefix):
1454 * hexl.el (hexl-revert-buffer-function):
1455 * linum.el (linum-after-change, linum-after-scroll):
1456 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1458 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1460 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1467 * epg.el: Use lexical binding.
1469 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1471 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1473 * textmodes/flyspell.el (flyspell-word): Recognize default
1474 dictionary case for flyspell-mark-duplications-exceptions.
1475 Use regexp matching for languages.
1476 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1477 default dictionary (Bug#7926).
1479 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1481 * emacs-lisp/package.el (package--with-work-buffer):
1482 Recognize https URLs.
1484 * net/network-stream.el: Move from gnus/proto-stream.el.
1485 Change prefix to network-stream throughout.
1486 (open-protocol-stream): Merge into open-network-stream, leaving
1487 open-protocol-stream as an alias. Handle nil BUFFER args.
1489 * subr.el (open-network-stream): Move to net/network-stream.el.
1491 2011-04-02 Glenn Morris <rgm@gnu.org>
1493 * find-dired.el (find-exec-terminator): New option.
1494 (find-ls-option): Test for -ls support.
1495 (find-ls-subdir-switches): Test for -b in find-ls-option.
1496 (find-dired, find-grep-dired): Doc fixes.
1497 (find-dired): Use find-exec-terminator.
1499 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1500 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1501 (find-name-arg): Remove purecopy.
1503 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1504 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1505 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1506 accordingly. Don't add the null-device if not needed.
1508 * files.el (save-some-buffers): Doc fix.
1510 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1512 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1514 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1516 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1517 Use `dolist' rather than `mapcar'.
1519 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1521 Add lexical binding.
1523 * subr.el (apply-partially): Use new closures rather than CL.
1524 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1525 (dolist, dotimes): Use slightly different expansion for lexical code.
1526 (functionp): Move to C.
1527 (letrec): New macro.
1528 (with-wrapper-hook): Use it and apply-partially instead of CL.
1529 (eval-after-load): Preserve lexical-binding.
1530 (save-window-excursion, with-output-to-temp-buffer): Turn them
1533 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1535 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1537 (help-add-fundoc-usage): Don't add `Not documented'.
1538 (help-function-arglist): Handle closures, subroutines, and new
1539 byte-code-functions.
1540 (help-make-usage): Remove leading underscores.
1541 (describe-function-1): Handle closures.
1542 (describe-variable): Use special-variable-p for completion.
1544 * files.el (lexical-binding): Declare safe.
1546 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1547 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1548 (pcase): Add `let' pattern.
1549 Change memoization so it actually works.
1550 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1551 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1554 * emacs-lisp/macroexp.el: Use lexical binding.
1555 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1556 Don't convert ' to #' without checking that it's indeed quoting
1559 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1560 Use eval-sexp-add-defvars.
1561 (eval-sexp-add-defvars): New fun.
1563 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1565 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1567 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1568 than the internal `byte-compile-lambda'.
1569 (defmethod): Don't hide code under quotes.
1570 (eieio-defmethod): New `code' argument.
1572 * emacs-lisp/eieio-comp.el: Remove.
1574 * emacs-lisp/edebug.el (edebug-eval-defun)
1575 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1576 (edebug-toggle): Avoid `eval'.
1578 * emacs-lisp/disass.el (disassemble-internal): Handle new
1580 (disassemble-1): Handle new byte codes.
1582 * emacs-lisp/cl.el (pushnew): Silence warning.
1584 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1585 (cl-byte-compile-throw): Remove.
1586 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1588 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1591 * emacs-lisp/cconv.el: New file.
1593 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1594 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1595 (byte-compile-initial-macro-environment):
1596 Handle declare-function here.
1597 (byte-compile--lexical-environment): New var.
1598 (byte-stack-ref, byte-stack-set, byte-discardN)
1599 (byte-discardN-preserve-tos): New lap codes.
1600 (byte-interactive-p): Don't use any more.
1601 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1603 (byte-compile-lapcode): Use them and handle new lap codes.
1604 (byte-compile-obsolete): Remove.
1605 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1606 (byte-compile-arglist-warn): Check late def of inlinable funs.
1607 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1608 since they should have been expanded by now.
1609 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1610 (byte-compile-from-buffer): Remove unused second arg.
1611 (byte-compile-preprocess): New function.
1612 (byte-compile-toplevel-file-form): New function to distinguish
1613 file-form calls from outside from file-form calls from hunk-handlers.
1614 (byte-compile-file-form): Simplify.
1615 (byte-compile-file-form-defsubst): Remove.
1616 (byte-compile-file-form-defmumble): Simplify now that
1617 byte-compile-lambda always returns a byte-code-function.
1618 (byte-compile): Preprocess.
1619 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1620 Remove, not used any more.
1621 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1622 (byte-compile-make-args-desc): New funs.
1623 (byte-compile-lambda): Handle lexical functions. Always return
1624 a byte-code-function.
1625 (byte-compile-reserved-constants): New var, to make up room for
1626 closed-over variables.
1627 (byte-compile-constants-vector): Obey it.
1628 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1629 (byte-compile-macroexpand-declare-function): New function.
1630 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1631 byte-code-functions.
1632 (byte-compile-form): Check obsolescence here.
1633 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1634 (byte-compile-variable-ref): Remove.
1635 (byte-compile-dynamic-variable-op): New fun.
1636 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1637 (byte-compile-variable-set): New funs.
1638 (byte-compile-discard): Add 2 args.
1639 (byte-compile-stack-ref, byte-compile-stack-set)
1640 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1641 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1642 macroexpand-all instead.
1643 (byte-compile-quote-form): Remove.
1644 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1645 (byte-compile-bind, byte-compile-unbind): New funs.
1646 (byte-compile-let): Handle let* and lexical binding.
1647 (byte-compile-let*): Remove.
1648 (byte-compile-catch, byte-compile-unwind-protect)
1649 (byte-compile-track-mouse, byte-compile-condition-case):
1650 Handle a new :fun-body form, used for lexical scoping.
1651 (byte-compile-save-window-excursion)
1652 (byte-compile-with-output-to-temp-buffer): Remove.
1653 (byte-compile-defun): Simplify.
1654 (byte-compile-stack-adjustment): New fun.
1655 (byte-compile-out): Use it.
1656 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1658 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1661 * emacs-lisp/byte-opt.el: Use lexical binding.
1662 (byte-inline-lapcode): Remove (to bytecomp).
1663 (byte-compile-inline-expand): Pay attention to inlining to/from
1664 lexically bound code.
1665 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1667 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1668 any more and don't call compiler-macros.
1669 (byte-compile-splice-in-already-compiled-code): Remove.
1670 (byte-code): Don't inline any more.
1671 (disassemble-offset): Receive `bytes' as argument rather than via
1673 (byte-compile-tag-number): Declare before first use.
1674 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1675 `return' even if make-spliceable.
1676 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1677 obsolete interactive-p.
1678 (byte-optimize-lapcode): Optimize new lap-codes.
1679 Don't trip up on new form of `byte-constant' lap code.
1681 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1683 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1685 * custom.el (custom-initialize-default, custom-declare-variable):
1688 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1690 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1691 (COMPILE_FIRST): Add macroexp and cconv.
1692 * makefile.w32-in: Mirror changes in Makefile.in.
1698 * vc/smerge-mode.el:
1699 * textmodes/bibtex-style.el:
1708 * emacs-lisp/smie.el:
1711 * abbrev.el: Use lexical binding.
1713 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1715 * info.el (info-display-manual): New function.
1717 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1721 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1723 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1724 an entry for that server in rcirc-authinfo. (Bug#8385)
1726 2011-03-31 Glenn Morris <rgm@gnu.org>
1728 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1730 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1732 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1734 * progmodes/python.el (python-default-interpreter)
1735 (python-python-command-args, python-jython-command-args)
1736 (python-which-shell, python-which-args, python-which-bufname)
1737 (python-file-queue, python-comint-output-filter-function)
1738 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1739 variables and functions.
1741 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1744 (completion-in-region-mode): New minor mode.
1745 (completion-in-region): Use it.
1746 (completion-in-region--data, completion-in-region-mode-map): New vars.
1747 (completion-in-region--postch): New function.
1748 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1750 (completion--capf-wrapper): New function.
1751 (completion-at-point): Use it to track well-behavedness of
1753 (completion-help-at-point): New command.
1755 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1757 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1758 syntax class to search for whitespace on a single line
1759 (Message-ID: <4D938140.4030905@redhat.com>).
1761 2011-03-30 Leo Liu <sdl.web@gmail.com>
1763 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1765 (edit-abbrevs-map): Bind them here.
1766 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1768 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1770 * allout.el (allout-hide-by-annotation, allout-flag-region):
1771 Reduce possibility of overlay leakage by making them volatile.
1773 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1774 hash is not shared between buffers. Mode initialization is
1775 responsible for giving it a useful starting value.
1776 (allout-item-span): Reduce possibility of overlay leakage by
1777 making them volatile.
1778 (allout-widgets-count-buttons-in-region): Add diagnostic function
1779 for tracking down button overlay leaks.
1781 2011-03-29 Leo Liu <sdl.web@gmail.com>
1783 * ido.el (ido-read-internal): Use the default history var
1784 minibuffer-history if no HISTORY is specified.
1786 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1788 * net/imap.el (imap-shell-open, imap-process-connection-type):
1789 Use imap-process-connection-type for 'shell' streams as well as
1790 Kerberos, SSL, other subprocesses.
1792 2011-03-28 Leo Liu <sdl.web@gmail.com>
1794 * abbrev.el (abbrev-table-empty-p): New function.
1795 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1796 nonempty ones. (Bug#5937)
1798 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1800 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1802 2011-03-27 Leo Liu <sdl.web@gmail.com>
1804 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1805 for foreground and background colors.
1806 (ansi-color-make-color-map): Adapt.
1808 2011-03-25 Leo Liu <sdl.web@gmail.com>
1810 * midnight.el (midnight-time-float): Remove. Note it calculates
1811 the microsecond component incorrectly and seconds-to-time does the
1813 Remove redundant (require 'timer).
1815 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1816 (ido-completions): Remove unused arguments. (Bug#8329)
1818 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * minibuffer.el (completion--flush-all-sorted-completions):
1821 Remove itself from hook.
1822 (completion-at-point): Let the functions perform the completion
1823 immediately and return nil or t.
1824 * comint.el (comint-dynamic-complete-functions): Now identical to
1825 completion-at-point-functions.
1826 (comint-dynamic-list-input-ring): Remove unused var `index'.
1827 (comint--match-partial-filename, comint--unquote&expand-filename):
1828 New funs, split from comint-match-partial-filename.
1829 (comint-dynamic-complete): Use completion-at-point.
1830 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1832 2011-03-24 Drew Adams <drew.adams@oracle.com>
1834 * thingatpt.el: Support `defun'.
1836 2011-03-23 Leo Liu <sdl.web@gmail.com>
1838 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1840 * help-mode.el (help-mode-finish): Tweak regexp.
1842 2011-03-23 Glenn Morris <rgm@gnu.org>
1844 * eshell/esh-opt.el (eshell-eval-using-options):
1845 Do not bind unused local variable `eshell-option-stub'.
1847 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1849 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1851 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1852 keymap variable in `with-no-warnings' to avoid a warning when the
1853 keymap has been already `defconst'ed.
1855 2011-03-22 Leo Liu <sdl.web@gmail.com>
1857 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1858 encode all chars in abbrevs; otherwise use emacs-mule or
1859 utf-8-emacs. (Bug#8308)
1861 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1863 * simple.el (backward-delete-char-untabify):
1864 Avoid warning about using `delete-backward-char'.
1866 * image.el (image-type-file-name-regexps): Make it variable.
1867 `imagemagick-register-types' modifies it, and the user may want
1868 to add new extensions for known image types.
1869 (imagemagick-register-types): Throw error if not using ImageMagick.
1871 2011-03-22 Leo Liu <sdl.web@gmail.com>
1873 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1874 located before rcirc-prompt-end-marker.
1875 (rcirc-complete): Error if point is not after rcirc prompt.
1876 Handle the case when table is nil.
1877 (rcirc-user-authenticated): Define to fix compiler warning.
1879 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1881 * custom.el (custom--inhibit-theme-enable): Make it affect only
1882 custom-theme-set-variables and custom-theme-set-faces.
1883 (provide-theme): Ignore custom--inhibit-theme-enable.
1884 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1885 (custom-enabling-themes): Delete variable.
1886 (enable-theme): Accept only loaded themes as arguments.
1887 Ignore the special custom-enabled-themes variable.
1888 (custom-enabled-themes): Forbid themes from setting this.
1889 Eliminate use of custom-enabling-themes.
1890 (custom-push-theme): Quote "changed" custom var entry.
1892 2011-03-21 Leo Liu <sdl.web@gmail.com>
1894 * ido.el (ido-read-internal): Add ido-selected to history instead
1897 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * subr.el (deferred-action-list, deferred-action-function):
1902 2011-03-21 Leo Liu <sdl.web@gmail.com>
1904 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1905 change on 2011-02-13 (bug#8309).
1907 * minibuffer.el (read-file-name-function): Change default value.
1908 (read-file-name--defaults): Rename from read-file-name-defaults.
1909 (read-file-name-default): Rename from read-file-name.
1910 (read-file-name): Call read-file-name-function.
1912 2011-03-21 Glenn Morris <rgm@gnu.org>
1914 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1917 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1919 * cus-theme.el: Add missing provide statement.
1920 (customize-create-theme): Extract theme value correctly.
1921 (custom-theme-visit-theme): Autoload.
1922 (customize-create-theme): Prompt before inserting default faces.
1924 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1926 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1927 units and musical notes.
1929 2011-03-20 Leo <sdl.web@gmail.com>
1931 * ido.el (ido-read-internal): Use completing-read-default.
1932 (ido-completing-read): Fix compatibility with completing-read.
1934 2011-03-20 Christian Ohler <ohler@gnu.org>
1936 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1937 (ert-delete-all-tests): Use `called-interactively-p' rather than
1939 (ert--make-xrefs-region): Respect END.
1941 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1943 * dired-aux.el (dired-create-directory): Signal an error if the
1944 directory already exists (Bug#8246).
1946 * facemenu.el (list-colors-display): Call list-faces-display
1947 inside with-help-window.
1948 (list-colors-print): Use display property to align the final
1949 column, instead of checking window-width.
1951 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1953 * emerge.el (emerge-metachars): Separate value for ms-dos and
1955 (emerge-protect-metachars): Quote correctly for ms-dos and
1958 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1960 * info.el (info-initialize): Replace all uses of `:' with
1961 path-separator for compatibility with non-Unix systems.
1962 Cache quoting of path-separator. (Bug#8258)
1964 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1966 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1967 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1968 (mouse-avoidance-mode): Fix typos in docstrings.
1970 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1972 * startup.el (package-subdirectory-regexp): Move from package.el.
1973 Omit \\` and \\', and let callers add them.
1975 * emacs-lisp/package.el (package-strip-version)
1976 (package-load-all-descriptors): Add \\` and \\' to
1977 package-subdirectory-regexp before using it.
1978 (package-untar-buffer): New arg DIR; ensure that file untars only
1979 into this expected directory. Remove superfluous delete-region.
1980 (package-unpack): Caller changed.
1981 (package-tar-file-info): Use package-subdirectory-regexp.
1983 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1985 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1986 diff-mode-shared-map (bug#8284).
1987 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1989 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1991 * calendar/time-date.el (format-seconds): Use assoc instead of
1992 assoc-string, since assoc-string doesn't exist in XEmacs.
1994 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1996 * custom.el (custom-known-themes): Reflow docstring.
1997 (custom-theme-load-path): Fix typo in docstring.
1998 (load-theme): Fix typo in error message.
1999 (custom-available-themes, custom-variable-theme-value):
2000 Use `let', not `let*'.
2002 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2004 * calc/README: Mention inclusion of musical notes.
2006 * calc/calc-units.el (calc-lu-quant): Rename from
2007 `calc-logunits-quantity'.
2008 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2009 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2010 (calc-db): Rename from `calc-dblevel'.
2011 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2012 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2013 (calc-np): Rename from `calc-nplevel'.
2014 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2015 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2016 (calc-lu-plus): Rename from `calc-logunits-add'.
2017 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2018 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2019 (calc-lu-minus): Rename from `calc-logunits-sub'.
2020 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2021 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2022 (calc-lu-times): Rename from `calc-logunits-mul'.
2023 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2024 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2025 (calc-lu-divide): Rename from `calc-logunits-div'.
2026 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2027 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2029 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2030 functions being autoloaded.
2032 * calc/calc.el (calc-lu-power-reference): Rename from
2033 `calc-logunits-power-reference'.
2034 (calc-lu-field-reference): Rename from
2035 `calc-logunits-field-reference'.
2037 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2039 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * minibuffer.el (completion-all-sorted-completions):
2042 Use :completion-cycle-penalty text property if present.
2044 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2046 * allout.el (allout-yank-processing): Adjust for new rebulleting
2047 regime so bullet being yanked is used without prompting the user
2050 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2052 * startup.el (command-line): Warn the user that _emacs is deprecated.
2054 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2056 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2057 (delphi-verbose, delphi-comment-face, delphi-string-face)
2058 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2059 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2060 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2061 (delphi-new-comment-line, delphi-font-lock-defaults)
2062 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2063 Fix typos in docstrings.
2065 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2067 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2068 Invert the roles of character and string values for INSTEAD, so a
2069 string is used for the more common case of a defaulting prompt.
2071 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * progmodes/ruby-mode.el (ruby-backward-sexp):
2074 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2075 * play/gamegrid.el (gamegrid-make-face):
2076 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2077 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2078 * notifications.el (notifications-notify):
2079 * net/xesam.el (xesam-search-engines):
2080 * net/quickurl.el (quickurl-list-insert):
2081 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2083 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2085 * startup.el (command-line): Update package subdirectory regexp.
2087 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * allout.el (allout-abbreviate-flattened-numbering)
2090 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2092 * subr.el (read-char-choice): Only show the cursor after the prompt,
2093 not after the answer.
2095 2011-03-15 Kevin Ryde <user42@zip.com.au>
2097 * help-fns.el (variable-at-point): Skip leading quotes, if any
2100 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2105 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2107 * shell.el (shell): When called interactively, offer to change the
2108 shell file name on remote hosts.
2110 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2112 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2113 integration for LDAP parameters. The host, base, user or binddn,
2114 and secret tokens can be specified in a netrc file, for instance.
2115 This is optional because an `auth-source' parameter must be
2116 specified in the search attributes.
2118 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2120 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2122 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2125 into declaration. Remove redundant and harmful binding.
2127 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2129 * files.el (file-ownership-preserved-p): Pass `integer' as an
2130 explicit 2nd argument to `file-attributes'. If the file's owner
2131 is the Administrators group on Windows, and the current user is
2132 Administrator, consider that a match.
2134 * server.el (server-ensure-safe-dir): Consider server directory
2135 safe on MS-Windows if its owner is the Administrators group while
2136 the current Emacs user is Administrator. Use `=' to compare
2137 numerical UIDs, since they could be integers or floats.
2139 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2141 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2143 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2145 Sync with Tramp 2.2.1.
2147 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2149 * net/trampver.el: Update release number.
2151 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * progmodes/compile.el (compilation--previous-directory): Fix up
2154 various nil/dead-marker mismatches (bug#8014).
2155 (compilation-directory-properties, compilation-error-properties):
2156 Don't call it at a position past the one we're about to change.
2158 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2159 Disable obsolescence warnings in the file that declares it.
2161 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2163 * allout-widgets.el (allout-widgets-tally):
2164 Initialize allout-widgets-tally as a hash table rather than nil to
2165 prevent mode-line redisplay warnings. Also, clarify the module
2166 description and fix a comment typo.
2168 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2170 * help-fns.el (describe-variable): Don't complete keywords.
2171 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2173 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2175 * emacs-lisp/package.el (package-version-join): Impose a standard
2176 string representation for pre/alpha/beta version lists.
2177 (package-unpack-single): Standardize the directory name by passing
2178 it through package-version-join.
2179 (package-strip-rcs-id): Accept any version string that does not
2180 signal an error in version-to-list.
2182 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2184 * simple.el (delete-trailing-whitespace): Return nil for the
2185 benefit of `write-file-functions'.
2187 2011-03-10 Glenn Morris <rgm@gnu.org>
2189 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2191 * vc/vc-git.el (vc-git-program): New option.
2192 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2193 (vc-git--call): Use it.
2195 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2197 * cus-edit.el (Custom-newline): If no button at point, look
2198 for a subgroup button at start-of-line. (Bug#2298)
2200 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2202 2011-03-10 Julien Danjou <julien@danjou.info>
2204 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2205 `cursor-type' is nil.
2207 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2209 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2211 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2213 * allout.el Summary: Change so yank of distinctive-bullet items
2214 preserves the existing header prefix, rebulleting it if necessary,
2215 rather than replacing it. This is necessary for proper operation
2216 of cooperative addons like allout-widgets.
2217 (allout-make-topic-prefix, allout-rebullet-heading): Change
2218 SOLICIT arg to INSTEAD, and interpret additionally a string value
2219 as alternate bullet to be used, instead of prompting the user for
2222 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2224 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2225 Do not use `tramp-file-name-port', because this returns also
2226 `tramp-default-port'.
2228 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2230 * net/rcirc.el (rcirc-handler-001): Remove useless
2231 with-rcirc-process-buffer.
2232 (rcirc-check-auth-status): Swap arguments to string-match.
2234 2011-03-09 Glenn Morris <rgm@gnu.org>
2236 * shell.el (shell-mode):
2237 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2239 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2240 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2242 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2244 * emacs-lisp/package.el (package-refresh-contents)
2245 (package-menu-execute): Use condition-case-no-debug.
2247 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2249 * simple.el (shell-command-to-string): Use `process-file'.
2251 * emacs-lisp/package.el (package-tar-file-info): Handle also
2254 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2255 Use `equal' for upload base check.
2257 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2259 * textmodes/texinfo.el (texinfo-environments):
2260 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2262 2011-03-08 Glenn Morris <rgm@gnu.org>
2264 * cus-start.el (cursor-in-non-selected-windows):
2265 Fix :set quoting oddness. (Bug#8192)
2267 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2268 in some setf expressions. (Bug#2159)
2270 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2272 * custom.el (custom-available-themes): Return themes in
2275 See ChangeLog.15 for earlier changes.
2281 Copyright (C) 2011 Free Software Foundation, Inc.
2283 This file is part of GNU Emacs.
2285 GNU Emacs is free software: you can redistribute it and/or modify
2286 it under the terms of the GNU General Public License as published by
2287 the Free Software Foundation, either version 3 of the License, or
2288 (at your option) any later version.
2290 GNU Emacs is distributed in the hope that it will be useful,
2291 but WITHOUT ANY WARRANTY; without even the implied warranty of
2292 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2293 GNU General Public License for more details.
2295 You should have received a copy of the GNU General Public License
2296 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.