1 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6 (defgeneric, eieio--defmethod): Use them.
7 (eieio-defgeneric): Remove.
8 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10 2011-05-07 Glenn Morris <rgm@gnu.org>
12 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13 Use let rather than let*.
14 (timeclock-find-discrep): Remove unused local.
16 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18 * calendar/appt.el (appt-time-msg-list): Doc fix.
20 2011-05-06 Noah Friedman <friedman@splode.com>
22 * apropos.el (apropos-print-doc): Only use
23 emacs-lisp-docstring-fill-column when it is bound to an integer,
24 per that variable's documentation.
26 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
28 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
29 and warnings are not silently discarded (e.g. use -d instead of -P).
31 2011-05-06 Glenn Morris <rgm@gnu.org>
33 * calendar/appt.el (appt-message-warning-time): Doc fix.
34 (appt-warning-time-regexp): New option.
35 (appt-make-list): Respect appt-message-warning-time.
37 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
39 (diary-add-to-list): Strip comments from the displayed string.
40 (diary-mode): Set comment-start and comment-end.
42 * vc/diff-mode.el (smerge-refine-subst): Declare.
43 (diff-refine-hunk): Don't require smerge-mode when compiling.
45 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
47 * simple.el (list-processes): Return nil as the docstring says.
49 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
51 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
53 (ange-ftp-write-region, ange-ftp-insert-file-contents)
54 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
55 determining of binary transfer. (Bug#7383)
57 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
59 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
60 port computation bug. (Bug#8618)
62 2011-05-05 Glenn Morris <rgm@gnu.org>
64 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
66 * simple.el (shell-dynamic-complete-functions)
67 (comint-dynamic-complete-functions): Declare.
69 * net/network-stream.el (gnutls-negotiate):
70 * simple.el (tabulated-list-print): Fix declarations.
72 * progmodes/gud.el (syntax-symbol, syntax-point):
73 Remove unnecessary and incorrect declarations.
75 * emacs-lisp/check-declare.el (check-declare-scan):
76 Handle byte-compile-initial-macro-environment in bytecomp.el
78 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
80 Fix earlier half-done eieio-defmethod change (bug#8338).
81 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
82 Streamline and change calling convention.
83 (defmethod): Adjust accordingly and simplify.
84 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
86 (slot-boundp): Minor CSE simplification.
88 2011-05-05 Milan Zamazal <pdm@zamazal.org>
90 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
91 (glasses-make-readable): Use glasses-separate-capital-groups.
93 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
95 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
96 (warning-series): Doc fix.
97 (display-warning): Don't try to create the buffer if we just found it.
99 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
101 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
102 (autoload-find-generated-file): New function.
103 (generate-file-autoloads): Bind generated-autoload-file to
105 (update-file-autoloads, update-directory-autoloads):
106 Use autoload-find-generated-file. If called interactively, prompt for
107 output file (Bug#7989).
108 (batch-update-autoloads): Doc fix.
110 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
112 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
114 2011-05-04 Glenn Morris <rgm@gnu.org>
116 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
117 function, so it follows changes in calendar-date-style.
118 (diary-fancy-date-matcher): New function.
119 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
120 (diary-fancy-font-lock-fontify-region-function):
121 Use diary-fancy-date-pattern as a function.
123 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
124 non-numbers for `year' etc pseudo-variables. (Bug#8583)
126 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
128 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
129 instead of positional arguments. Allow :keylist and :crlfiles
131 (open-gnutls-stream): Call it.
133 * net/network-stream.el (network-stream-open-starttls): Adjust to
134 call `gnutls-negotiate' with :process and :hostname arguments.
136 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
138 * minibuffer.el (completion--message): New function.
139 (completion--do-completion, minibuffer-complete)
140 (minibuffer-force-complete, minibuffer-complete-word): Use it.
141 (completion--do-completion): Don't ignore completion-auto-help when in
144 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
145 internal encoding (e.g. tibetan zero is not whitespace).
146 (global-whitespace-mode): Prefer save-current-buffer.
147 (whitespace-trailing-regexp): Remove useless save-match-data.
148 (whitespace-empty-at-bob-regexp): Minor simplification.
150 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
152 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
154 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
156 * textmodes/ispell.el (ispell-add-per-file-word-list):
157 Use `concat' to create string for insertion.
159 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
161 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
162 Avoid open-line which runs post-self-insert-hook.
163 (bibtex-fill-entry): Remove unused `end' var.
165 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
167 * textmodes/ispell.el (ispell-add-per-file-word-list):
168 Protect against `nil' value of `comment-start' (Bug#8579).
170 2011-05-03 Leo Liu <sdl.web@gmail.com>
172 * isearch.el (isearch-yank-pop): New command.
173 (isearch-mode-map): Bind it to `M-y'.
174 (isearch-forward): Mention it.
176 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
178 * simple.el (minibuffer-complete-shell-command): Remove.
179 (minibuffer-local-shell-command-map): Use completion-at-point.
180 (read-shell-command): Setup completion vars here instead.
181 (read-expression-map): Bind TAB to symbol completion.
183 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
184 error directly rather via storing it into `results'.
186 2011-05-02 Leo Liu <sdl.web@gmail.com>
188 * vc/diff.el: Fix description.
190 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
192 * server.el (server-eval-at): New function.
194 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
196 * net/network-stream.el (open-network-stream): Take a :nowait
197 parameter and pass it on to `make-network-process'.
198 (network-stream-open-plain): Ditto.
200 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
202 * faces.el (face-spec-set-match-display): Don't match toolkit
203 options on terminal frames.
205 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
207 * progmodes/pascal.el: Use lexical binding.
208 (pascal-mode-map): Remove author preferences.
210 * pcomplete.el (pcomplete-std-complete): Don't abuse
213 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
215 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
216 removing code that has been dead since 1991 or so.
218 * startup.el (command-line): When warning about "_emacs", use a
219 delayed warning to allow the user to filter it out.
221 2011-04-28 Deniz Dogan <deniz@dogan.se>
223 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
226 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
228 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
229 aren't any completions at point.
231 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
233 * subr.el (display-delayed-warnings): New function.
234 (delayed-warnings-hook): New variable.
236 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
238 * minibuffer.el (completion-at-point, completion-help-at-point):
239 Don't presume that a given completion-at-point-function will always
240 use the same calling convention.
242 * pcomplete.el (pcomplete-completions-at-point):
243 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
244 pcomplete-seen is non-nil.
245 (pcomplete-comint-setup): Also recognize the new comint/shell
246 completion functions.
247 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
248 pcomplete-seen is non-nil.
250 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
252 * calendar/icalendar.el (diary-lib): Add require statement.
253 (icalendar--create-uid): Read out a uid from a text-property on
254 the first character in the entry. This allows for code to add its
255 own uid to the entry.
256 (icalendar--convert-float-to-ical): Add export of
257 `diary-float'-entries save for those with the optional DAY
260 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
262 * subr.el (shell-quote-argument): Use alternate escaping strategy
263 when we spot a variable reference in a string.
265 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
267 * cus-start.el (all): Define customization for debug-on-event.
269 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
271 * subr.el (shell-quote-argument): Escape correctly under Windows.
273 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
275 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
277 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
279 * net/tramp.el (tramp-process-actions): Add POS argument.
280 Delete region between POS and (pos).
282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
283 Use `nil' position in `tramp-process-actions' call.
284 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
286 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
287 position in `tramp-process-actions' call.
289 * net/trampver.el: Update release number.
291 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
293 * custom.el (defcustom): Obey lexical-binding.
295 Fix octave-inf completion problems reported by Alexander Klimov.
296 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
297 Inherit from octave-mode-syntax-table.
298 (inferior-octave-mode): Set info-lookup-mode.
299 (inferior-octave-completion-at-point): New function.
300 (inferior-octave-complete): Use it and completion-in-region.
301 (inferior-octave-dynamic-complete-functions): Use it as well, and use
302 comint-filename-completion.
303 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
304 symbol elements which shouldn't be word elements.
305 (octave-font-lock-keywords, octave-beginning-of-defun)
306 (octave-function-header-regexp): Adjust regexps accordingly.
307 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
309 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
311 * net/gnutls.el (gnutls-errorp): Declare before first use.
313 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
315 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
316 verify-error, and verify-hostname-error parameters. Check whether
317 default trustfile exists before going to use it. Add missing
318 argument to gnutls-message-maybe call. Return return value.
319 Reported by Claudio Bley <claudio.bley@gmail.com>.
320 (open-gnutls-stream): Add usage example.
322 * net/network-stream.el (network-stream-open-starttls): Give host
323 parameter to `gnutls-negotiate'.
324 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
325 * subr.el (shell-quote-argument): Escape correctly under Windows.
327 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
329 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
330 Use correct match group (bug#8438).
332 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
334 * emacs-lisp/package.el (package-built-in-p): Fix typo.
335 (package-menu--generate): New arg specifying packages to show.
336 (package-menu-refresh, package-menu-execute, list-packages):
338 (package-show-package-list): New function, replacing deleted
339 package--list-packages (renamed because it is non-internal).
341 * finder.el (finder-list-matches): Use package-show-package-list
342 instead of deleted package--list-packages.
344 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
345 Based on a previous implementation by Juanma Barranquero (Bug#8366).
346 (vc-annotate-mode-map): Bind it to RET.
348 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
350 * progmodes/etags.el (next-file): Don't use set-buffer to change
353 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
355 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
357 * apropos.el (apropos-label-face): Avoid variable-pitch face.
358 (apropos-accumulator): Doc fix.
359 (apropos-function, apropos-macro, apropos-command)
360 (apropos-variable, apropos-face, apropos-group, apropos-widget)
361 (apropos-plist): Add face property.
362 (apropos-symbols-internal): Fix indentation.
363 (apropos-print): Simplify help, and recognize apropos-multi-type.
364 (apropos-print-doc): Use button-type-get to extract the button's
365 face property. Fill docstring (Bug#8352).
367 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
369 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
371 * play/mpuz.el (mpuz-silent): Doc fix.
372 (mpuz-mode-map): Use mapc.
373 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
374 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
375 Fix typos in docstrings.
377 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
378 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
380 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
382 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
384 * minibuffer.el (completion--do-completion): Avoid the "Next char
385 not unique" prompt if icomplete-mode is enabled (Bug#5849).
387 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
388 mouse-2 into unread-command-events, it is interpreted correctly.
390 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
391 (image-toggle-display): Doc fix.
393 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
395 * textmodes/page.el (what-page): Use line-number-at-pos to
396 calculate line number (Bug#6825).
398 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
400 * eshell/esh-mode.el (find-tag-interactive): Declare function.
401 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
402 Pass argument NO-DEFAULT to `find-tag-interactive'.
404 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
406 Lexical-binding cleanup.
408 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
409 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
410 * progmodes/ada-prj.el (ada-prj-initialize-values)
411 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
412 (ada-prj-show-value):
413 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
414 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
415 (antlr-invalidate-context-cache, antlr-options-menu-filter)
416 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
417 * progmodes/bug-reference.el (bug-reference-push-button):
418 * progmodes/fortran.el (fortran-line-length):
419 * progmodes/glasses.el (glasses-change):
420 * progmodes/octave-mod.el (octave-fill-paragraph):
421 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
422 (python-pdbtrack-grub-for-buffer, python-sentinel):
423 * progmodes/sql.el (sql-save-connection):
424 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
425 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
426 Mark unused parameters.
428 * progmodes/compile.el (compilation--flush-directory-cache)
429 (compilation--flush-parse, compile-internal): Mark unused parameters.
430 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
431 (compilation-next-error-function): Remove unused variable `timestamp'.
433 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
434 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
436 * progmodes/dcl-mode.el (dcl-end-of-command):
437 Remove unused variable `start'.
438 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
439 (dcl-option-value-basic, dcl-option-value-offset)
440 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
441 Mark unused parameters.
442 (dcl-save-local-variable): Remove unused variable `val'.
445 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
446 Mark unused parameters.
447 (delphi-ignore-changes): Move before first use.
448 (delphi-charset-token-at): Remove unused variable `start'.
449 (delphi-else-start): Remove unused variable `if-count'.
450 (delphi-comment-block-start, delphi-comment-block-end):
451 Remove unused variable `kind'.
452 (delphi-indent-line): Remove unused variable `new-point'.
454 * progmodes/ebrowse.el (ebrowse-files-list)
455 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
456 Mark unused parameters. Don't quote `lambda'.
457 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
458 Don't quote `lambda'.
459 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
460 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
461 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
462 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
464 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
465 (ebrowse-view/find-file-and-search-pattern)
466 (ebrowse-view/find-member-declaration/definition):
467 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
468 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
469 Rename parameter PREFIX-ARG to PREFIX.
470 (ebrowse-tags-read-name): Remove unused variables `start' and
472 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
475 * progmodes/etags.el (local-find-tag-hook): Declare.
476 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
477 Mark unused parameters.
479 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
480 (executable-interpret): Mark unused parameter.
482 * progmodes/flymake.el (flymake-process-sentinel)
483 (flymake-after-change-function)
484 (flymake-create-temp-with-folder-structure)
485 (flymake-get-include-dirs-dot): Mark unused parameters.
486 (flymake-safe-delete-directory): Remove unused variable `err'.
488 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
489 (speedbar-timer-fn, speedbar-line-text)
490 (speedbar-change-expand-button-char, speedbar-delete-subblock)
491 (speedbar-center-buffer-smartly): Declare functions.
492 (gdb-find-watch-expression): Remove unused variable `array'.
493 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
494 (gdb-starting): Mark unused parameters.
495 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
496 (gdb-table-string): Remove unused variable `res'.
497 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
498 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
499 (gdb-display-buffer): Remove unused variable `cur-size'.
501 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
502 allow lexical-binding compilation.
503 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
504 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
505 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
506 Mark unused parameters.
507 (gud-gdb-marker-filter): Remove unused variable `match'.
508 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
509 lambda expressions and funcall them, instead of using `fset'.
511 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
512 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
514 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
515 variable `header-beg'; use `let'.
517 * progmodes/icon.el (indent-icon-exp): Remove unused variables
518 `restart', `last-sexp' and `at-do'.
520 * progmodes/js.el (js--debug): Mark unused parameter.
521 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
522 (js--splice-into-items): Remove unused variable `item'.
523 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
525 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
526 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
527 (makefile-complete): Remove unused variable `try'.
528 (makefile-fill-paragraph, makefile-match-function-end):
529 Mark unused parameters.
531 * progmodes/octave-inf.el (inferior-octave-complete):
532 Remove unused variable `proc'.
533 (inferior-octave-output-digest): Mark unused parameter.
535 * progmodes/perl-mode.el (perl-calculate-indent):
536 Remove unused variable `err'.
538 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
539 (prolog-indent-line): Mark unused parameters.
540 (prolog-indent-line): Remove unused variable `beg'.
542 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
543 (reporter-dont-compact-list): Declare.
545 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
546 Remove unused variable `char'.
547 (sh-debug): Mark unused parameter.
548 (sh-get-indent-info): Remove unused variable `start'.
549 (sh-calculate-indent): Remove unused variable `var'.
551 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
552 (simula-electric-keyword): Remove unused variable `null'.
553 (simula-search-backward, simula-search-forward): Remove unused
554 variables `begin' and `end'.
556 * progmodes/vera-mode.el (vera-guess-basic-syntax):
557 Remove unused variable `pos'.
558 (vera-electric-tab, vera-comment-uncomment-region):
559 Mark unused parameters.
560 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
562 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
564 * emacs-lisp/package.el (package--builtins, package-alist)
565 (package-load-descriptor, package-built-in-p, package-activate)
566 (define-package, package-installed-p)
567 (package-compute-transaction, package-buffer-info)
568 (package--push): Doc fix. Distinguish more clearly between
569 version strings and version lists.
571 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
573 Lexical-binding cleanup.
575 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
576 (5x5-make-mutate-best):
577 * play/fortune.el (fortune-in-buffer):
578 * play/gomoku.el (gomoku-init-display):
579 * play/solitaire.el (solitaire, solitaire-do-check):
580 * play/tetris.el (tetris-default-update-speed-function):
581 Mark unused parameters.
583 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
584 (bubbles--shift): Remove unused variable `char-org'.
585 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
586 (bubbles--show-images): Remove unused variable `char'.
588 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
589 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
590 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
591 (decipher-analyze-buffer): Use ?\s.
592 (decipher-make-checkpoint): Remove unused variable `mapping'.
594 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
596 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
597 Remove unused variable `result'; use `let'.
599 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
600 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
601 (gametree-children-shown-p, gametree-compute-reduced-score):
604 * play/handwrite.el (ps-lpr-switches): Declare.
605 (handwrite): Remove unused variables `pmin' and `lastp'.
607 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
609 * play/landmark.el (landmark-init-display)
610 (landmark-update-naught-weights): Mark unused parameters.
611 (landmark-y): Remove unused variable `noise'. Simplify.
612 (landmark-human-plays): Remove unused variable `score'.
614 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
615 (mpuz-try-proposal): Remove unused variable `game'.
617 * play/zone.el (life-patterns): Declare.
619 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
621 * vc/vc.el (ediff-vc-internal): Declare function.
623 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
625 * shell.el: Use lexical-binding and std completion UI.
626 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
627 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
628 comint-preoutput-filter-functions rather than on
629 comint-output-filter-functions.
630 (shell-command-completion, shell--command-completion-data)
631 (shell-filename-completion, shell-environment-variable-completion)
632 (shell-c-a-p-replace-by-expanded-directory): New functions.
633 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
634 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
635 (shell-dynamic-complete-environment-variable): Use them.
636 (shell-dynamic-complete-as-environment-variable)
637 (shell-dynamic-complete-as-command): Remove.
638 (shell-match-partial-variable): Match past point.
639 * comint.el: Clean up use of completion-at-point-functions.
640 (comint-completion-at-point): New function.
641 (comint-mode): Use it completion-at-point-functions.
642 (comint-dynamic-complete): Make it obsolete.
643 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
644 (comint-c-a-p-replace-by-expanded-history): New function.
645 (comint-dynamic-complete-functions)
646 (comint-replace-by-expanded-history): Use it.
647 * minibuffer.el (completion-table-with-terminator): Allow dynamic
648 termination strings. Try harder to avoid second try-completion.
649 (completion-in-region-mode-map): Disable bindings that don't work yet.
651 * comint.el: Use lexical-binding. Require CL.
652 (comint-dynamic-complete-functions): Use comint-filename-completion.
653 (comint-completion-addsuffix): Tweak custom type.
654 (comint-filename-completion, comint--common-suffix)
655 (comint--common-quoted-suffix, comint--table-subvert)
656 (comint--complete-file-name-data): New functions.
657 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
658 (comint-dynamic-list-filename-completions): Use them.
659 (comint-dynamic-simple-complete): Make obsolete.
661 * minibuffer.el (completion-in-region-mode):
662 Keep completion-in-region-mode--predicate global.
663 (completion-in-region--postch):
664 Assume completion-in-region-mode--predicate is not null.
666 * progmodes/flymake.el (flymake-start-syntax-check-process):
667 Obey `dir'. Simplify.
669 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
670 we're in VC after all.
672 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
674 * vc/vc.el (vc-diff-build-argument-list-internal)
675 (vc-version-ediff, vc-ediff): New commands.
676 (vc-version-diff): Use vc-diff-build-argument-list-internal.
678 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
680 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
683 * obsolete/erc-hecomplete.el: Make obsolete.
684 * obsolete/: Standardize obsolescence info in the header.
686 2011-04-20 Glenn Morris <rgm@gnu.org>
688 * calendar/solar.el (solar-horizontal-coordinates):
689 Use the longitude argument rather than `calendar-longitude'.
690 (solar-date-next-longitude): Remove unused locals.
692 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
694 * whitespace.el: New version 13.2.1.
696 2011-04-20 felix <EmacsWiki> (tiny change)
698 * whitespace.el (global-whitespace-mode): keep highlight when
699 switching between major modes on a file.
701 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
703 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
704 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
705 multi-line comments as well.
707 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
709 Lexical-binding cleanup.
711 * arc-mode.el (archive-mode-revert):
712 * cmuscheme.el (scheme-interactively-start-process):
713 * custom.el (custom-initialize-delay):
714 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
715 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
716 * emacs-lock.el (emacs-lock-clear-sentinel):
717 * ezimage.el (defezimage):
718 * follow.el (follow-avoid-tail-recenter):
719 * fringe.el (set-fringe-mode-1):
720 * generic-x.el (bat-generic-mode-compile):
721 * help-mode.el (help-info-variable, help-do-xref)
722 (help-mode-revert-buffer):
723 * help.el (view-emacs-todo):
724 * iswitchb.el (iswitchb-completion-help):
725 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
726 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
727 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
728 * locate.el (locate-update):
729 * longlines.el (longlines-encode-region)
730 (longlines-after-change-function):
731 * outline.el (outline-isearch-open-invisible):
732 * ps-def.el (declare-function, charset-dimension, char-width)
734 * ps-mule.el (ps-mule-plot-string):
735 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
736 (recentf-edit-list-select, recentf-edit-list-validate)
737 (recentf-open-files-action):
738 * rect.el (delete-whitespace-rectangle-line)
739 (rectangle-number-line-callback):
740 * register.el (window-configuration-to-register)
741 (frame-configuration-to-register):
742 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
743 * select.el (xselect-convert-to-string, xselect-convert-to-length)
744 (xselect-convert-to-targets, xselect-convert-to-delete)
745 (xselect-convert-to-filename, xselect-convert-to-charpos)
746 (xselect-convert-to-lineno, xselect-convert-to-colno)
747 (xselect-convert-to-os, xselect-convert-to-host)
748 (xselect-convert-to-user, xselect-convert-to-class)
749 (xselect-convert-to-name, xselect-convert-to-integer)
750 (xselect-convert-to-atom, xselect-convert-to-identity):
751 * subr.el (declare, ignore, process-kill-without-query)
752 (text-clone-maintain):
753 * terminal.el (te-get-char, te-tic-sentinel):
754 * tool-bar.el (tool-bar-make-keymap):
755 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
756 * type-break.el (type-break-mode, type-break-noninteractive-query):
757 * view.el (View-back-to-mark):
758 * wid-browse.el (widget-browse-action, widget-browse-widget)
759 (widget-browse-widgets, widget-browse-sexp):
760 * widget.el (define-widget-keywords):
761 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
762 Mark unused parameters.
764 * align.el (align-adjust-col-for-rule): Mark unused parameter.
765 (align-areas): Remove unused variable `look'.
766 (align-region): Remove unused variables `real-end' and `pos-list'.
768 * apropos.el (apropos-score-doc): Remove unused variable `i'.
770 * bindings.el (mode-line-modified, mode-line-remote):
771 Mark unused parameters.
772 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
774 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
775 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
777 * comint.el (comint-history-isearch-pop-state)
778 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
779 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
780 (comint-substitute-in-file-name): Doc fix.
782 * completion.el (cmpl-statistics-block): Mark unused parameter.
783 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
784 (save-completions-to-file, load-completions-from-file):
785 Remove unused local variable `e'.
787 * composite.el (compose-chars): Remove unused variable `len'.
788 (lgstring-insert-glyph): Remove unused variable `g'.
789 (compose-glyph-string): Remove unused variables `ascent',
790 `descent', `lbearing' and `rbearing'.
791 (compose-glyph-string-relative): Remove unused variables
792 `lbearing', `rbearing' and `wadjust'.
793 (compose-gstring-for-graphic): Remove unused variables `header',
794 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
795 (compose-gstring-for-terminal): Remove unused variables `header'
796 and `nchars'. Use `let', not `let*'.
798 * cus-edit.el (Custom-set, Custom-save, custom-reset)
799 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
800 (Custom-buffer-done, custom-buffer-create-internal)
801 (custom-browse-visibility-action, custom-browse-group-tag-action)
802 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
803 (widget-magic-mouse-down-action, custom-toggle-parent)
804 (custom-add-parent-links, custom-toggle-hide-variable)
805 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
806 (custom-toggle-hide-face, face, hook, custom-group-link-action)
807 (custom-face-menu-create, custom-variable-menu-create, get)
808 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
809 (custom-reset-standard-save-and-update): Remove unused variable `value'.
810 (customize-apropos): Remove unused variable `tests'.
811 (custom-group-value-create): Remove unused variable `hidden-p'.
812 (sort-fold-case): Declare.
814 * cus-theme.el (custom-reset-standard-faces-list)
815 (custom-reset-standard-variables-list): Declare.
816 (customize-create-theme, custom-theme-revert, custom-theme-write)
817 (custom-theme-choose-mode, customize-themes, custom-theme-save):
818 Mark unused parameters.
820 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
822 * delim-col.el (delimit-columns-max): Move defvar before first use.
824 * descr-text.el (describe-char-categories): Don't quote `lambda'.
825 (describe-char): Don't quote `lambda'. Mark unused parameter.
827 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
828 (auto-insert): Declare.
829 (desktop-restore-file-buffer): Rename desktop-* parameters;
831 (desktop-create-buffer): Rename desktop-* parameters and bind them.
832 (desktop-buffer): Rename desktop-* parameters.
834 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
835 (dframe-reposition-frame-xemacs, dframe-help-echo)
836 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
837 Mark unused parameters.
839 * dired-aux.el (backup-extract-version-start, overwrite-query)
840 (overwrite-backup-query, rename-regexp-query)
841 (rename-non-directory-query): Declare.
842 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
843 (dired-add-entry): Remove unused variable `orig-file-name'.
844 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
845 Use parameter PRESERVE-TIME instead of accessing dynamic variable
846 `dired-copy-preserve-time' directly.
847 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
848 (dired-insert-subdir-newpos): Rename unused variable `pos'.
850 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
851 (dired-virtual-revert, dired-make-relative-symlink):
852 Mark unused parameters.
853 (manual-program): Declare.
854 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
855 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
856 wrapped in `with-no-warnings' to avoid replacing one warning by another.
858 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
860 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
862 * echistory.el (electric-history-in-progress, Helper-return-blurb):
865 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
867 * electric.el (Electric-command-loop): Rename parameter
868 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
870 * expand.el (expand-in-literal): Remove unused variable `here'.
872 * facemenu.el (facemenu-add-new-color):
873 Remove unused variable `docstring'.
875 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
876 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
877 (face-attr-construct): Mark unused parameter. Doc fix.
878 (read-color): Remove unused variable `hex-string'.
880 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
881 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
882 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
883 (display-buffer-other-frame): Remove unused variable `old-window'.
884 (kill-buffer-hook): Declare.
885 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
886 Mark unused parameters.
887 (after-find-file): Pass 1 to `auto-save-mode', not t.
889 * files-x.el (auto-insert): Declare.
890 (modify-file-local-variable-prop-line): Remove unused variable `val'.
892 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
893 variable `buf'. Mark unused parameter.
894 (find-lisp-insert-directory): Mark unused parameter.
896 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
897 (format-encode-region): Remove unused variables `cur-buf' and `result'.
898 (format-common-tail): Remove, unused.
899 (format-deannotate-region): Remove unused variable `loc'.
900 (format-annotate-region): Remove unused variable `p'.
901 (format-annotate-single-property-change): Remove unused variables
902 `default' and `tail'.
904 * forms.el (read-file-filter): Declare.
905 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
907 * frame.el (frame-creation-function-alist): Mark unused parameter.
908 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
910 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
911 Remove unused parameters.
912 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
913 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
915 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
916 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
917 (hfy-prepare-tag-map): Mark unused parameters.
918 (htmlfontify-buffer): Use `called-interactively-p'.
920 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
921 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
922 (ibuffer-do-occur): Mark unused parameters.
923 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
924 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
926 * ibuffer.el: Don't quote `lambda'.
927 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
928 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
929 Mark unused parameters.
931 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
932 (ido-completing-read): Mark unused parameters.
933 (ido-copy-current-word): Mark unused parameters;
934 remove unused variable `name'.
935 (ido-sort-merged-list): Remove unused parameter `dirs'.
937 * ielm.el (ielm-input-sender): Mark unused parameter.
938 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
939 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
940 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
941 `ielm-string' as a dynamic variable accessible from the IELM prompt.
942 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
944 * image-dired.el (image-dired-display-thumbs): Remove unused
945 variables `curr-file' and `count'.
946 (image-dired-remove-tag): Remove unused variable `start'.
947 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
949 (image-dired-rotate-original): Remove unused variable `temp-file'.
950 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
951 Remove unused variable `file'.
952 (image-dired-gallery-generate): Remove unused variable `curr'.
953 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
955 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
957 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
959 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
961 * isearch.el (minibuffer-history-symbol): Declare.
962 (isearch-edit-string): Remove unused variable `err'.
963 (isearch-message-prefix, isearch-message-suffix):
964 Mark unused parameters.
966 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
968 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
970 * makesum.el (double-column): Remove unused variable `cnt'.
972 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
973 (ido-ignore-item-temp-list): Declare.
975 * mouse-drag.el (mouse-drag-throw): Remove unused variables
976 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
977 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
978 (mouse-drag-drag): Remove unused variables `mouse-delta' and
981 * mouse-sel.el (mouse-extend-internal):
982 Remove unused variable `orig-window-frame'.
984 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
985 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
986 Move declarations before first use.
987 (pcomplete-opt): Mark unused parameters; doc fix.
989 * proced.el (proced-revert): Mark unused parameter.
990 (proced-send-signal): Remove unused variable `err'.
992 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
993 Rename parameter PREFIX-ARG to ARG.
994 (ps-basic-plot-string, ps-basic-plot-whitespace):
995 Mark unused parameters.
997 * replace.el (replace-count): Define.
998 (occur-revert-function): Mark unused parameters.
999 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1000 (isearch-case-fold-search, isearch-string): Declare.
1001 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1002 bind `case-fold-search'. Remove unused variables `beg' and `end',
1004 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1005 COUNT and bind `replace-count'.
1006 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1009 * savehist.el (print-readably, print-string-length): Declare.
1011 * shadowfile.el (shadow-expand-cluster-in-file-name):
1012 Remove unused variable `cluster'.
1013 (shadow-copy-file): Remove unused variable `i'.
1014 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1015 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1016 (shadow-define-literal-group, shadow-define-regexp-group)
1017 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1019 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1020 (shell): Use `called-interactively-p'.
1021 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1023 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1024 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1025 (delete-backward-char): Remove unused variable `ocol'.
1026 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1027 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1028 (event-apply-hyper-modifier, event-apply-shift-modifier)
1029 (event-apply-control-modifier, event-apply-meta-modifier):
1030 Mark unused parameters.
1031 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1032 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1034 * speedbar.el (speedbar-ignored-directory-expressions)
1035 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1036 (speedbar-find-file, speedbar-dir-follow)
1037 (speedbar-directory-buttons-follow, speedbar-tag-find)
1038 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1039 (speedbar-buffers-line-directory, speedbar-buffer-click):
1040 Mark unused parameters.
1041 (speedbar-tag-file): Remove unused variable `mode'.
1042 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1044 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1046 * talk.el (talk): Remove unused variable `display'.
1048 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1049 (tar-write-region-annotate): Mark unused parameter.
1051 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1052 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1053 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1056 * time-stamp.el (time-stamp-string-preprocess):
1057 Remove unused variable `require-padding'.
1059 * tree-widget.el (widget-glyph-enable): Declare.
1060 (tree-widget-action): Mark unused parameter.
1062 * w32-fns.el (x-get-selection): Mark unused parameter.
1063 (autoload-make-program, generated-autoload-file): Declare.
1065 * wdired.el (wdired-revert): Mark unused parameters.
1066 (wdired-xcase-word): Remove unused variable `err'.
1068 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1069 (whitespace-help-scroll): Remove unused variable `data-help'.
1071 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1072 (widget-image-insert, widget-after-change, default)
1073 (widget-default-format-handler, widget-default-notify)
1074 (widget-default-prompt-value, widget-info-link-action)
1075 (widget-url-link-action, widget-function-link-action)
1076 (widget-variable-link-action, widget-file-link-action)
1077 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1078 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1079 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1080 (widget-insert-button-action, widget-delete-button-action, visibility)
1081 (widget-documentation-link-action, widget-documentation-string-action)
1082 (widget-const-prompt-value, widget-regexp-match, symbol)
1083 (widget-coding-system-prompt-value)
1084 (widget-key-sequence-value-to-external, sexp)
1085 (widget-sexp-value-to-internal, character, vector, cons)
1086 (widget-choice-prompt-value, widget-boolean-prompt-value)
1087 (widget-color--choose-action): Mark unused parameters.
1088 (widget-item-match-inline, widget-choice-match-inline)
1089 (widget-checklist-match, widget-checklist-match-inline)
1090 (widget-group-match): Rename parameter VALUES to VALS.
1091 (widget-field-value-set): Remove unused variable `size'.
1092 (widget-color-action): Remove unused variables `value' and `start'.
1094 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1095 variable `dir'. Doc fix.
1096 (windmove-find-other-window): Don't pass it.
1098 * window.el (count-windows): Mark unused parameter.
1099 (bw-adjust-window): Remove unused variable `err'.
1101 * woman.el (woman-file-name): Remove unused variable `default'.
1102 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1103 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1104 (global-font-lock-mode): Declare.
1105 (woman-decode-region): Mark unused parameter.
1106 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1108 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1109 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1110 (x-dnd-handle-moz-url): Remove unused variable `title'.
1111 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1113 * xml.el (xml-parse-tag, xml-parse-attlist):
1114 Remove unused variable `pos'.
1116 2011-04-19 Glenn Morris <rgm@gnu.org>
1118 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1119 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1120 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1121 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1122 * calendar/cal-html.el (cal-html-insert-minical):
1123 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1124 (calendar-mark-date-pattern):
1125 Prefix "unused" locals.
1127 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1128 optional argument `style'.
1130 * calendar/appt.el (appt-make-list):
1131 * calendar/cal-china.el (calendar-chinese-date-string):
1132 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1133 (diary-hebrew-yahrzeit):
1134 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1135 * calendar/calendar.el (calendar-generate-window):
1136 * calendar/time-date.el (time-to-days):
1137 Remove unused local variables.
1139 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1141 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1142 glyphless-char-display table.
1143 (tabulated-list-glyphless-char-display): New var.
1145 2011-04-18 Sam Steingold <sds@gnu.org>
1147 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1150 2011-04-17 Glenn Morris <rgm@gnu.org>
1152 * calendar/diary-lib.el (diary-sexp-entry):
1153 * calendar/holidays.el (holiday-sexp):
1154 Set debug-on-error rather than the removed stack-trace-on-error.
1156 2011-04-16 Glenn Morris <rgm@gnu.org>
1158 * progmodes/f90.el: Use lexical-binding.
1159 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1161 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1164 (mail-mode): Setup mailalias completion here instead.
1165 * mail/mailalias.el: Use lexical-binding.
1166 (pattern, mailalias-done): Declare dynamic.
1167 (mail-completion-at-point-function): New function, from mail-complete.
1168 (mail-complete): Use it.
1169 (mail-completion-expand): New function.
1170 (mail-get-names): Use it.
1171 (mail-directory, mail-directory-process, mail-directory-stream):
1172 Don't use `pattern' for lexically bound arg.
1174 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1176 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1177 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1178 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1180 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1181 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1182 (byte-interactive-p): Define them again, for use when inlining
1185 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1187 * loadup.el: Use `string-to-number', not `string-to-int'.
1189 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1192 gud-gdb-complete-command.
1193 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1194 (gud-gdb-completion-at-point): New function.
1195 (gud-gdb-completions): Remove.
1197 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1199 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1200 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1201 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1202 whether `executable-find' is bound.
1204 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1206 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1208 * minibuffer.el (completion-in-region-mode-predicate)
1209 (completion-in-region-mode--predicate): New vars.
1210 (completion-in-region, completion-in-region--postch)
1211 (completion-in-region-mode): Use them.
1212 (completion--capf-wrapper): Also return the hook function.
1213 (completion-at-point, completion-help-at-point):
1214 Adjust and provide a predicate.
1216 Preserve arg names for advice of subr and lexical functions (bug#8457).
1217 * help-fns.el (help-function-arglist): Consolidate the subr and
1218 new-byte-code cases. Add argument `preserve-names' to extract names
1219 from the docstring when needed.
1220 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1221 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1222 (ad-arglist): Use help-function-arglist's new arg.
1223 (ad-definition-type): Use cond.
1225 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1227 * autorevert.el (auto-revert-handler):
1228 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1229 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1232 * image-mode.el (image-transform-set-scale):
1233 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1235 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1237 * net/network-stream.el (network-stream-open-starttls): Only do
1238 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1239 Upgrades via gnutls-cli are too slow to be done opportunistically.
1241 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1243 * dframe.el (dframe-current-frame): Remove spurious quote.
1245 2011-04-12 Glenn Morris <rgm@gnu.org>
1247 * calendar/cal-tex.el (cal-tex-end-document):
1248 Try to automatically use latin1 input if needed.
1250 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1251 Don't try to cons a mark onto an empty element.
1253 2011-04-11 Leo Liu <sdl.web@gmail.com>
1255 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1257 (ido-kill-buffer-at-head): Support killing virtual buffers.
1259 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1261 * minibuffer.el (completion-show-inline-help): New var.
1262 (completion--do-completion, minibuffer-complete)
1263 (minibuffer-force-complete, minibuffer-complete-word):
1264 Inhibit minibuffer messages if completion-show-inline-help is nil.
1266 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1267 to avoid interference from inline help (Bug#5849).
1269 2011-04-10 Leo Liu <sdl.web@gmail.com>
1271 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1274 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1276 * image-mode.el (image-toggle-display-image): Signal an error if
1278 (image-transform-mode, image-transform-resize)
1279 (image-transform-set-rotation): Doc fix.
1280 (image-transform-set-resize): Delete.
1281 (image-transform-set-scale, image-transform-fit-to-height)
1282 (image-transform-fit-to-width): Handle image-toggle-display-image
1283 and image-transform-resize directly.
1285 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1287 * doc-view.el (doc-view-fit-width-to-window)
1288 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1289 New functions for fitting the shown image to the Emacs window size.
1290 (doc-view-mode-map): Add bindings for the new functions.
1292 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1294 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1295 Fix typo in docstring.
1297 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1299 * files.el (file-size-human-readable): Produce one digit after
1300 decimal, like "ls -lh" does.
1302 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1303 the file size representation.
1305 * simple.el (list-processes): If async subprocesses are not
1306 available, error out with a clear error message.
1308 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1310 * help.el (help-form-show): New function, to be called from C.
1311 Put help-form output in a buffer named differently than *Help*.
1313 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1315 * files.el (file-size-human-readable): New function.
1317 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1318 computing the representation inline. Don't require `cl'.
1320 2011-04-08 Glenn Morris <rgm@gnu.org>
1322 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1324 * net/browse-url.el (browse-url-firefox):
1325 Test system-type, not system-configuration.
1327 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1328 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1329 Use log-edit-empty-buffer-p. (Bug#7598)
1331 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1332 (rlogin-mode-map): Initialize in the defvar.
1333 (rlogin): Use ignore-errors.
1335 * replace.el (occur-mode-map): Some fixes for menu items.
1337 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1339 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1341 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1343 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1344 issuing unused warnings.
1346 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1349 * simple.el: Lisp reimplement of list-processes. Based on an
1350 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1351 (process-menu-mode): New major mode.
1352 (list-processes--refresh, list-processes):
1353 (process-menu-visit-buffer): New functions.
1355 * files.el (save-buffers-kill-emacs): Don't assume any return
1356 value of list-processes, which is undocumented anyway.
1358 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1360 * emacs-lisp/tabulated-list.el: New file.
1362 * emacs-lisp/package.el: Use Tabulated List mode.
1363 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1364 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1365 table format using Tabulated List mode variables.
1366 (package--push): New macro, replacing package-list-maybe-add.
1367 (package-menu--generate): Use package--push. Renamed from
1368 package--generate-package-list.
1369 (package-menu-refresh, list-packages): Use it.
1370 (package-menu--print-info): Rename from package-print-package.
1371 Return insertion data instead of inserting it directly.
1372 (package-menu-describe-package, package-menu-execute):
1373 Use tabulated-list-get-id.
1374 (package-menu-mark-delete, package-menu-mark-install)
1375 (package-menu-mark-unmark, package-menu-backup-unmark)
1376 (package-menu-mark-obsolete-for-deletion):
1377 Use tabulated-list-put-tag.
1378 (package--list-packages, package-menu-revert)
1379 (package-menu-get-package, package-menu-get-version)
1380 (package-menu-sort-by-column): Functions deleted.
1381 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1382 (package-menu--status-predicate, package-menu--version-predicate)
1383 (package-menu--name-predicate)
1384 (package-menu--description-predicate): Handle arguments in the
1385 Tabulated List format.
1386 (package-list-packages-no-fetch): Call list-packages.
1388 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1390 * files.el (after-find-file-from-revert-buffer): Remove variable.
1391 (after-find-file): Don't bind it.
1392 (revert-buffer-in-progress-p): New variable.
1393 (revert-buffer): Bind it.
1394 Pass nil for `after-find-file-from-revert-buffer'.
1396 * saveplace.el (save-place-find-file-hook): Use new variable
1397 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1399 2011-04-06 Glenn Morris <rgm@gnu.org>
1401 * Makefile.in (AUTOGEN_VCS): New variable.
1402 (autoloads): Use $AUTOGEN_VCS.
1404 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1405 * calendar/calendar.el (calendar-mode-map):
1406 Check for toolkit scroll bars. (Bug#8305)
1408 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1410 * minibuffer.el (completion-in-region--postch)
1411 (completion-in-region-mode): Remove unnecessary messages.
1413 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1415 * font-lock.el (font-lock-refresh-defaults):
1416 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1417 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1419 * info.el (Info-directory-list, Info-read-node-name-2)
1420 (Info-split-parameter-string): Doc fixes.
1421 (Info-virtual-nodes): Reflow docstring.
1422 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1423 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1424 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1425 Fix typos in docstrings.
1426 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1427 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1428 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1429 (Info-restore-desktop-buffer): Mark unused parameters.
1430 (Info-directory-find-file, Info-directory-find-node)
1431 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1432 (Info-virtual-index-find-node, Info-apropos-find-file)
1433 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1434 Mark unused parameters; fix typos in docstrings.
1435 (Info-virtual-index): Remove unused local variable `nodename'.
1437 2011-04-05 Deniz Dogan <deniz@dogan.se>
1439 * net/rcirc.el: Update my e-mail address.
1440 (rcirc-mode-map): Remove M-o binding.
1442 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1444 * startup.el (command-line): Save the cursor's theme-face
1445 directly, instead of using face-override-spec.
1447 * custom.el (load-theme): Minor optimization in assigning faces.
1449 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1451 * help-fns.el (describe-variable): Complete all variables having
1452 documentation, including keywords.
1453 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1455 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1457 Convert to lexical-binding.
1459 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1460 (bs--get-marked-string, bs--get-modified-string)
1461 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1462 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1463 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1465 * ehelp.el (electric-help-execute-extended)
1466 (electric-help-ctrl-x-prefix):
1467 * hexl.el (hexl-revert-buffer-function):
1468 * linum.el (linum-after-change, linum-after-scroll):
1469 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1471 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1473 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1480 * epg.el: Use lexical binding.
1482 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1484 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1486 * textmodes/flyspell.el (flyspell-word): Recognize default
1487 dictionary case for flyspell-mark-duplications-exceptions.
1488 Use regexp matching for languages.
1489 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1490 default dictionary (Bug#7926).
1492 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1494 * emacs-lisp/package.el (package--with-work-buffer):
1495 Recognize https URLs.
1497 * net/network-stream.el: Move from gnus/proto-stream.el.
1498 Change prefix to network-stream throughout.
1499 (open-protocol-stream): Merge into open-network-stream, leaving
1500 open-protocol-stream as an alias. Handle nil BUFFER args.
1502 * subr.el (open-network-stream): Move to net/network-stream.el.
1504 2011-04-02 Glenn Morris <rgm@gnu.org>
1506 * find-dired.el (find-exec-terminator): New option.
1507 (find-ls-option): Test for -ls support.
1508 (find-ls-subdir-switches): Test for -b in find-ls-option.
1509 (find-dired, find-grep-dired): Doc fixes.
1510 (find-dired): Use find-exec-terminator.
1512 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1513 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1514 (find-name-arg): Remove purecopy.
1516 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1517 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1518 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1519 accordingly. Don't add the null-device if not needed.
1521 * files.el (save-some-buffers): Doc fix.
1523 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1525 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1527 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1529 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1530 Use `dolist' rather than `mapcar'.
1532 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1534 Add lexical binding.
1536 * subr.el (apply-partially): Use new closures rather than CL.
1537 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1538 (dolist, dotimes): Use slightly different expansion for lexical code.
1539 (functionp): Move to C.
1540 (letrec): New macro.
1541 (with-wrapper-hook): Use it and apply-partially instead of CL.
1542 (eval-after-load): Preserve lexical-binding.
1543 (save-window-excursion, with-output-to-temp-buffer): Turn them
1546 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1548 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1550 (help-add-fundoc-usage): Don't add `Not documented'.
1551 (help-function-arglist): Handle closures, subroutines, and new
1552 byte-code-functions.
1553 (help-make-usage): Remove leading underscores.
1554 (describe-function-1): Handle closures.
1555 (describe-variable): Use special-variable-p for completion.
1557 * files.el (lexical-binding): Declare safe.
1559 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1560 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1561 (pcase): Add `let' pattern.
1562 Change memoization so it actually works.
1563 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1564 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1567 * emacs-lisp/macroexp.el: Use lexical binding.
1568 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1569 Don't convert ' to #' without checking that it's indeed quoting
1572 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1573 Use eval-sexp-add-defvars.
1574 (eval-sexp-add-defvars): New fun.
1576 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1578 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1580 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1581 than the internal `byte-compile-lambda'.
1582 (defmethod): Don't hide code under quotes.
1583 (eieio-defmethod): New `code' argument.
1585 * emacs-lisp/eieio-comp.el: Remove.
1587 * emacs-lisp/edebug.el (edebug-eval-defun)
1588 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1589 (edebug-toggle): Avoid `eval'.
1591 * emacs-lisp/disass.el (disassemble-internal): Handle new
1593 (disassemble-1): Handle new byte codes.
1595 * emacs-lisp/cl.el (pushnew): Silence warning.
1597 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1598 (cl-byte-compile-throw): Remove.
1599 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1601 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1604 * emacs-lisp/cconv.el: New file.
1606 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1607 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1608 (byte-compile-initial-macro-environment):
1609 Handle declare-function here.
1610 (byte-compile--lexical-environment): New var.
1611 (byte-stack-ref, byte-stack-set, byte-discardN)
1612 (byte-discardN-preserve-tos): New lap codes.
1613 (byte-interactive-p): Don't use any more.
1614 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1616 (byte-compile-lapcode): Use them and handle new lap codes.
1617 (byte-compile-obsolete): Remove.
1618 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1619 (byte-compile-arglist-warn): Check late def of inlinable funs.
1620 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1621 since they should have been expanded by now.
1622 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1623 (byte-compile-from-buffer): Remove unused second arg.
1624 (byte-compile-preprocess): New function.
1625 (byte-compile-toplevel-file-form): New function to distinguish
1626 file-form calls from outside from file-form calls from hunk-handlers.
1627 (byte-compile-file-form): Simplify.
1628 (byte-compile-file-form-defsubst): Remove.
1629 (byte-compile-file-form-defmumble): Simplify now that
1630 byte-compile-lambda always returns a byte-code-function.
1631 (byte-compile): Preprocess.
1632 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1633 Remove, not used any more.
1634 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1635 (byte-compile-make-args-desc): New funs.
1636 (byte-compile-lambda): Handle lexical functions. Always return
1637 a byte-code-function.
1638 (byte-compile-reserved-constants): New var, to make up room for
1639 closed-over variables.
1640 (byte-compile-constants-vector): Obey it.
1641 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1642 (byte-compile-macroexpand-declare-function): New function.
1643 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1644 byte-code-functions.
1645 (byte-compile-form): Check obsolescence here.
1646 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1647 (byte-compile-variable-ref): Remove.
1648 (byte-compile-dynamic-variable-op): New fun.
1649 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1650 (byte-compile-variable-set): New funs.
1651 (byte-compile-discard): Add 2 args.
1652 (byte-compile-stack-ref, byte-compile-stack-set)
1653 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1654 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1655 macroexpand-all instead.
1656 (byte-compile-quote-form): Remove.
1657 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1658 (byte-compile-bind, byte-compile-unbind): New funs.
1659 (byte-compile-let): Handle let* and lexical binding.
1660 (byte-compile-let*): Remove.
1661 (byte-compile-catch, byte-compile-unwind-protect)
1662 (byte-compile-track-mouse, byte-compile-condition-case):
1663 Handle a new :fun-body form, used for lexical scoping.
1664 (byte-compile-save-window-excursion)
1665 (byte-compile-with-output-to-temp-buffer): Remove.
1666 (byte-compile-defun): Simplify.
1667 (byte-compile-stack-adjustment): New fun.
1668 (byte-compile-out): Use it.
1669 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1671 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1674 * emacs-lisp/byte-opt.el: Use lexical binding.
1675 (byte-inline-lapcode): Remove (to bytecomp).
1676 (byte-compile-inline-expand): Pay attention to inlining to/from
1677 lexically bound code.
1678 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1680 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1681 any more and don't call compiler-macros.
1682 (byte-compile-splice-in-already-compiled-code): Remove.
1683 (byte-code): Don't inline any more.
1684 (disassemble-offset): Receive `bytes' as argument rather than via
1686 (byte-compile-tag-number): Declare before first use.
1687 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1688 `return' even if make-spliceable.
1689 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1690 obsolete interactive-p.
1691 (byte-optimize-lapcode): Optimize new lap-codes.
1692 Don't trip up on new form of `byte-constant' lap code.
1694 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1696 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1698 * custom.el (custom-initialize-default, custom-declare-variable):
1701 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1703 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1704 (COMPILE_FIRST): Add macroexp and cconv.
1705 * makefile.w32-in: Mirror changes in Makefile.in.
1711 * vc/smerge-mode.el:
1712 * textmodes/bibtex-style.el:
1721 * emacs-lisp/smie.el:
1724 * abbrev.el: Use lexical binding.
1726 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1728 * info.el (info-display-manual): New function.
1730 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1734 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1736 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1737 an entry for that server in rcirc-authinfo. (Bug#8385)
1739 2011-03-31 Glenn Morris <rgm@gnu.org>
1741 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1743 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1745 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1747 * progmodes/python.el (python-default-interpreter)
1748 (python-python-command-args, python-jython-command-args)
1749 (python-which-shell, python-which-args, python-which-bufname)
1750 (python-file-queue, python-comint-output-filter-function)
1751 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1752 variables and functions.
1754 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1757 (completion-in-region-mode): New minor mode.
1758 (completion-in-region): Use it.
1759 (completion-in-region--data, completion-in-region-mode-map): New vars.
1760 (completion-in-region--postch): New function.
1761 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1763 (completion--capf-wrapper): New function.
1764 (completion-at-point): Use it to track well-behavedness of
1766 (completion-help-at-point): New command.
1768 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1770 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1771 syntax class to search for whitespace on a single line
1772 (Message-ID: <4D938140.4030905@redhat.com>).
1774 2011-03-30 Leo Liu <sdl.web@gmail.com>
1776 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1778 (edit-abbrevs-map): Bind them here.
1779 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1781 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1783 * allout.el (allout-hide-by-annotation, allout-flag-region):
1784 Reduce possibility of overlay leakage by making them volatile.
1786 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1787 hash is not shared between buffers. Mode initialization is
1788 responsible for giving it a useful starting value.
1789 (allout-item-span): Reduce possibility of overlay leakage by
1790 making them volatile.
1791 (allout-widgets-count-buttons-in-region): Add diagnostic function
1792 for tracking down button overlay leaks.
1794 2011-03-29 Leo Liu <sdl.web@gmail.com>
1796 * ido.el (ido-read-internal): Use the default history var
1797 minibuffer-history if no HISTORY is specified.
1799 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1801 * net/imap.el (imap-shell-open, imap-process-connection-type):
1802 Use imap-process-connection-type for 'shell' streams as well as
1803 Kerberos, SSL, other subprocesses.
1805 2011-03-28 Leo Liu <sdl.web@gmail.com>
1807 * abbrev.el (abbrev-table-empty-p): New function.
1808 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1809 nonempty ones. (Bug#5937)
1811 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1813 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1815 2011-03-27 Leo Liu <sdl.web@gmail.com>
1817 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1818 for foreground and background colors.
1819 (ansi-color-make-color-map): Adapt.
1821 2011-03-25 Leo Liu <sdl.web@gmail.com>
1823 * midnight.el (midnight-time-float): Remove. Note it calculates
1824 the microsecond component incorrectly and seconds-to-time does the
1826 Remove redundant (require 'timer).
1828 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1829 (ido-completions): Remove unused arguments. (Bug#8329)
1831 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * minibuffer.el (completion--flush-all-sorted-completions):
1834 Remove itself from hook.
1835 (completion-at-point): Let the functions perform the completion
1836 immediately and return nil or t.
1837 * comint.el (comint-dynamic-complete-functions): Now identical to
1838 completion-at-point-functions.
1839 (comint-dynamic-list-input-ring): Remove unused var `index'.
1840 (comint--match-partial-filename, comint--unquote&expand-filename):
1841 New funs, split from comint-match-partial-filename.
1842 (comint-dynamic-complete): Use completion-at-point.
1843 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1845 2011-03-24 Drew Adams <drew.adams@oracle.com>
1847 * thingatpt.el: Support `defun'.
1849 2011-03-23 Leo Liu <sdl.web@gmail.com>
1851 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1853 * help-mode.el (help-mode-finish): Tweak regexp.
1855 2011-03-23 Glenn Morris <rgm@gnu.org>
1857 * eshell/esh-opt.el (eshell-eval-using-options):
1858 Do not bind unused local variable `eshell-option-stub'.
1860 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1862 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1864 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1865 keymap variable in `with-no-warnings' to avoid a warning when the
1866 keymap has been already `defconst'ed.
1868 2011-03-22 Leo Liu <sdl.web@gmail.com>
1870 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1871 encode all chars in abbrevs; otherwise use emacs-mule or
1872 utf-8-emacs. (Bug#8308)
1874 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1876 * simple.el (backward-delete-char-untabify):
1877 Avoid warning about using `delete-backward-char'.
1879 * image.el (image-type-file-name-regexps): Make it variable.
1880 `imagemagick-register-types' modifies it, and the user may want
1881 to add new extensions for known image types.
1882 (imagemagick-register-types): Throw error if not using ImageMagick.
1884 2011-03-22 Leo Liu <sdl.web@gmail.com>
1886 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1887 located before rcirc-prompt-end-marker.
1888 (rcirc-complete): Error if point is not after rcirc prompt.
1889 Handle the case when table is nil.
1890 (rcirc-user-authenticated): Define to fix compiler warning.
1892 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1894 * custom.el (custom--inhibit-theme-enable): Make it affect only
1895 custom-theme-set-variables and custom-theme-set-faces.
1896 (provide-theme): Ignore custom--inhibit-theme-enable.
1897 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1898 (custom-enabling-themes): Delete variable.
1899 (enable-theme): Accept only loaded themes as arguments.
1900 Ignore the special custom-enabled-themes variable.
1901 (custom-enabled-themes): Forbid themes from setting this.
1902 Eliminate use of custom-enabling-themes.
1903 (custom-push-theme): Quote "changed" custom var entry.
1905 2011-03-21 Leo Liu <sdl.web@gmail.com>
1907 * ido.el (ido-read-internal): Add ido-selected to history instead
1910 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * subr.el (deferred-action-list, deferred-action-function):
1915 2011-03-21 Leo Liu <sdl.web@gmail.com>
1917 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1918 change on 2011-02-13 (bug#8309).
1920 * minibuffer.el (read-file-name-function): Change default value.
1921 (read-file-name--defaults): Rename from read-file-name-defaults.
1922 (read-file-name-default): Rename from read-file-name.
1923 (read-file-name): Call read-file-name-function.
1925 2011-03-21 Glenn Morris <rgm@gnu.org>
1927 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1930 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1932 * cus-theme.el: Add missing provide statement.
1933 (customize-create-theme): Extract theme value correctly.
1934 (custom-theme-visit-theme): Autoload.
1935 (customize-create-theme): Prompt before inserting default faces.
1937 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1939 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1940 units and musical notes.
1942 2011-03-20 Leo <sdl.web@gmail.com>
1944 * ido.el (ido-read-internal): Use completing-read-default.
1945 (ido-completing-read): Fix compatibility with completing-read.
1947 2011-03-20 Christian Ohler <ohler@gnu.org>
1949 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1950 (ert-delete-all-tests): Use `called-interactively-p' rather than
1952 (ert--make-xrefs-region): Respect END.
1954 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1956 * dired-aux.el (dired-create-directory): Signal an error if the
1957 directory already exists (Bug#8246).
1959 * facemenu.el (list-colors-display): Call list-faces-display
1960 inside with-help-window.
1961 (list-colors-print): Use display property to align the final
1962 column, instead of checking window-width.
1964 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1966 * emerge.el (emerge-metachars): Separate value for ms-dos and
1968 (emerge-protect-metachars): Quote correctly for ms-dos and
1971 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1973 * info.el (info-initialize): Replace all uses of `:' with
1974 path-separator for compatibility with non-Unix systems.
1975 Cache quoting of path-separator. (Bug#8258)
1977 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1979 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1980 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1981 (mouse-avoidance-mode): Fix typos in docstrings.
1983 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1985 * startup.el (package-subdirectory-regexp): Move from package.el.
1986 Omit \\` and \\', and let callers add them.
1988 * emacs-lisp/package.el (package-strip-version)
1989 (package-load-all-descriptors): Add \\` and \\' to
1990 package-subdirectory-regexp before using it.
1991 (package-untar-buffer): New arg DIR; ensure that file untars only
1992 into this expected directory. Remove superfluous delete-region.
1993 (package-unpack): Caller changed.
1994 (package-tar-file-info): Use package-subdirectory-regexp.
1996 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1999 diff-mode-shared-map (bug#8284).
2000 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2002 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2004 * calendar/time-date.el (format-seconds): Use assoc instead of
2005 assoc-string, since assoc-string doesn't exist in XEmacs.
2007 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2009 * custom.el (custom-known-themes): Reflow docstring.
2010 (custom-theme-load-path): Fix typo in docstring.
2011 (load-theme): Fix typo in error message.
2012 (custom-available-themes, custom-variable-theme-value):
2013 Use `let', not `let*'.
2015 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2017 * calc/README: Mention inclusion of musical notes.
2019 * calc/calc-units.el (calc-lu-quant): Rename from
2020 `calc-logunits-quantity'.
2021 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2022 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2023 (calc-db): Rename from `calc-dblevel'.
2024 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2025 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2026 (calc-np): Rename from `calc-nplevel'.
2027 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2028 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2029 (calc-lu-plus): Rename from `calc-logunits-add'.
2030 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2031 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2032 (calc-lu-minus): Rename from `calc-logunits-sub'.
2033 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2034 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2035 (calc-lu-times): Rename from `calc-logunits-mul'.
2036 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2037 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2038 (calc-lu-divide): Rename from `calc-logunits-div'.
2039 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2040 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2042 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2043 functions being autoloaded.
2045 * calc/calc.el (calc-lu-power-reference): Rename from
2046 `calc-logunits-power-reference'.
2047 (calc-lu-field-reference): Rename from
2048 `calc-logunits-field-reference'.
2050 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2052 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * minibuffer.el (completion-all-sorted-completions):
2055 Use :completion-cycle-penalty text property if present.
2057 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2059 * allout.el (allout-yank-processing): Adjust for new rebulleting
2060 regime so bullet being yanked is used without prompting the user
2063 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2065 * startup.el (command-line): Warn the user that _emacs is deprecated.
2067 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2069 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2070 (delphi-verbose, delphi-comment-face, delphi-string-face)
2071 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2072 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2073 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2074 (delphi-new-comment-line, delphi-font-lock-defaults)
2075 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2076 Fix typos in docstrings.
2078 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2080 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2081 Invert the roles of character and string values for INSTEAD, so a
2082 string is used for the more common case of a defaulting prompt.
2084 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * progmodes/ruby-mode.el (ruby-backward-sexp):
2087 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2088 * play/gamegrid.el (gamegrid-make-face):
2089 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2090 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2091 * notifications.el (notifications-notify):
2092 * net/xesam.el (xesam-search-engines):
2093 * net/quickurl.el (quickurl-list-insert):
2094 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2096 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2098 * startup.el (command-line): Update package subdirectory regexp.
2100 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * allout.el (allout-abbreviate-flattened-numbering)
2103 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2105 * subr.el (read-char-choice): Only show the cursor after the prompt,
2106 not after the answer.
2108 2011-03-15 Kevin Ryde <user42@zip.com.au>
2110 * help-fns.el (variable-at-point): Skip leading quotes, if any
2113 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2118 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2120 * shell.el (shell): When called interactively, offer to change the
2121 shell file name on remote hosts.
2123 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2125 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2126 integration for LDAP parameters. The host, base, user or binddn,
2127 and secret tokens can be specified in a netrc file, for instance.
2128 This is optional because an `auth-source' parameter must be
2129 specified in the search attributes.
2131 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2133 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2135 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2138 into declaration. Remove redundant and harmful binding.
2140 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2142 * files.el (file-ownership-preserved-p): Pass `integer' as an
2143 explicit 2nd argument to `file-attributes'. If the file's owner
2144 is the Administrators group on Windows, and the current user is
2145 Administrator, consider that a match.
2147 * server.el (server-ensure-safe-dir): Consider server directory
2148 safe on MS-Windows if its owner is the Administrators group while
2149 the current Emacs user is Administrator. Use `=' to compare
2150 numerical UIDs, since they could be integers or floats.
2152 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2154 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2156 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2158 Sync with Tramp 2.2.1.
2160 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2162 * net/trampver.el: Update release number.
2164 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2166 * progmodes/compile.el (compilation--previous-directory): Fix up
2167 various nil/dead-marker mismatches (bug#8014).
2168 (compilation-directory-properties, compilation-error-properties):
2169 Don't call it at a position past the one we're about to change.
2171 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2172 Disable obsolescence warnings in the file that declares it.
2174 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2176 * allout-widgets.el (allout-widgets-tally):
2177 Initialize allout-widgets-tally as a hash table rather than nil to
2178 prevent mode-line redisplay warnings. Also, clarify the module
2179 description and fix a comment typo.
2181 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2183 * help-fns.el (describe-variable): Don't complete keywords.
2184 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2186 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2188 * emacs-lisp/package.el (package-version-join): Impose a standard
2189 string representation for pre/alpha/beta version lists.
2190 (package-unpack-single): Standardize the directory name by passing
2191 it through package-version-join.
2192 (package-strip-rcs-id): Accept any version string that does not
2193 signal an error in version-to-list.
2195 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2197 * simple.el (delete-trailing-whitespace): Return nil for the
2198 benefit of `write-file-functions'.
2200 2011-03-10 Glenn Morris <rgm@gnu.org>
2202 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2204 * vc/vc-git.el (vc-git-program): New option.
2205 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2206 (vc-git--call): Use it.
2208 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2210 * cus-edit.el (Custom-newline): If no button at point, look
2211 for a subgroup button at start-of-line. (Bug#2298)
2213 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2215 2011-03-10 Julien Danjou <julien@danjou.info>
2217 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2218 `cursor-type' is nil.
2220 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2222 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2224 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2226 * allout.el Summary: Change so yank of distinctive-bullet items
2227 preserves the existing header prefix, rebulleting it if necessary,
2228 rather than replacing it. This is necessary for proper operation
2229 of cooperative addons like allout-widgets.
2230 (allout-make-topic-prefix, allout-rebullet-heading): Change
2231 SOLICIT arg to INSTEAD, and interpret additionally a string value
2232 as alternate bullet to be used, instead of prompting the user for
2235 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2238 Do not use `tramp-file-name-port', because this returns also
2239 `tramp-default-port'.
2241 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2243 * net/rcirc.el (rcirc-handler-001): Remove useless
2244 with-rcirc-process-buffer.
2245 (rcirc-check-auth-status): Swap arguments to string-match.
2247 2011-03-09 Glenn Morris <rgm@gnu.org>
2249 * shell.el (shell-mode):
2250 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2252 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2253 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2255 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2257 * emacs-lisp/package.el (package-refresh-contents)
2258 (package-menu-execute): Use condition-case-no-debug.
2260 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2262 * simple.el (shell-command-to-string): Use `process-file'.
2264 * emacs-lisp/package.el (package-tar-file-info): Handle also
2267 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2268 Use `equal' for upload base check.
2270 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2272 * textmodes/texinfo.el (texinfo-environments):
2273 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2275 2011-03-08 Glenn Morris <rgm@gnu.org>
2277 * cus-start.el (cursor-in-non-selected-windows):
2278 Fix :set quoting oddness. (Bug#8192)
2280 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2281 in some setf expressions. (Bug#2159)
2283 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2285 * custom.el (custom-available-themes): Return themes in
2288 See ChangeLog.15 for earlier changes.
2294 Copyright (C) 2011 Free Software Foundation, Inc.
2296 This file is part of GNU Emacs.
2298 GNU Emacs is free software: you can redistribute it and/or modify
2299 it under the terms of the GNU General Public License as published by
2300 the Free Software Foundation, either version 3 of the License, or
2301 (at your option) any later version.
2303 GNU Emacs is distributed in the hope that it will be useful,
2304 but WITHOUT ANY WARRANTY; without even the implied warranty of
2305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2306 GNU General Public License for more details.
2308 You should have received a copy of the GNU General Public License
2309 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.