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