1 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
3 * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
4 match variables declared via `my' or `our' (Bug#8261).
6 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
8 * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
9 buffer-changing entries.
10 (grep-filter): New function.
11 (grep-mode): Add it to compilation-filter-hook.
13 * progmodes/compile.el (compilation-filter-hook)
14 (compilation-filter-start): New defvars.
15 (compilation-filter): Call compilation-filter-hook prior to
16 updating the process mark.
18 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25 mailclient-send-it even if window-system is nil. (Bug#8595)
27 * term/w32console.el (terminal-init-w32console):
28 Call get-screen-color and use its output to set the frame
29 background-mode. (Bug#8597)
31 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
33 Make bytecomp.el understand that defmethod defines funs (bug#8631).
34 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
36 (defgeneric, eieio--defmethod): Use them.
37 (eieio-defgeneric): Remove.
38 (defmethod): Call defgeneric in a way visible to the byte-compiler.
40 2011-05-07 Glenn Morris <rgm@gnu.org>
42 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
43 Use let rather than let*.
44 (timeclock-find-discrep): Remove unused local.
46 * calendar/diary-lib.el (diary-comment-start): Doc fix.
48 * calendar/appt.el (appt-time-msg-list): Doc fix.
50 2011-05-06 Noah Friedman <friedman@splode.com>
52 * apropos.el (apropos-print-doc): Only use
53 emacs-lisp-docstring-fill-column when it is bound to an integer,
54 per that variable's documentation.
56 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
58 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
59 and warnings are not silently discarded (e.g. use -d instead of -P).
61 2011-05-06 Glenn Morris <rgm@gnu.org>
63 * calendar/appt.el (appt-message-warning-time): Doc fix.
64 (appt-warning-time-regexp): New option.
65 (appt-make-list): Respect appt-message-warning-time.
67 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
69 (diary-add-to-list): Strip comments from the displayed string.
70 (diary-mode): Set comment-start and comment-end.
72 * vc/diff-mode.el (smerge-refine-subst): Declare.
73 (diff-refine-hunk): Don't require smerge-mode when compiling.
75 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
77 * simple.el (list-processes): Return nil as the docstring says.
79 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
81 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
83 (ange-ftp-write-region, ange-ftp-insert-file-contents)
84 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
85 determining of binary transfer. (Bug#7383)
87 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
89 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
90 Fix port computation bug. (Bug#8618)
92 2011-05-05 Glenn Morris <rgm@gnu.org>
94 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
96 * simple.el (shell-dynamic-complete-functions)
97 (comint-dynamic-complete-functions): Declare.
99 * net/network-stream.el (gnutls-negotiate):
100 * simple.el (tabulated-list-print): Fix declarations.
102 * progmodes/gud.el (syntax-symbol, syntax-point):
103 Remove unnecessary and incorrect declarations.
105 * emacs-lisp/check-declare.el (check-declare-scan):
106 Handle byte-compile-initial-macro-environment in bytecomp.el
108 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
110 Fix earlier half-done eieio-defmethod change (bug#8338).
111 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
112 Streamline and change calling convention.
113 (defmethod): Adjust accordingly and simplify.
114 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
115 new eieio--defmethod.
116 (slot-boundp): Minor CSE simplification.
118 2011-05-05 Milan Zamazal <pdm@zamazal.org>
120 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
121 (glasses-make-readable): Use glasses-separate-capital-groups.
123 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
125 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
126 (warning-series): Doc fix.
127 (display-warning): Don't try to create the buffer if we just found it.
129 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
131 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
132 (autoload-find-generated-file): New function.
133 (generate-file-autoloads): Bind generated-autoload-file to
135 (update-file-autoloads, update-directory-autoloads):
136 Use autoload-find-generated-file. If called interactively, prompt for
137 output file (Bug#7989).
138 (batch-update-autoloads): Doc fix.
140 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
142 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
144 2011-05-04 Glenn Morris <rgm@gnu.org>
146 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
147 function, so it follows changes in calendar-date-style.
148 (diary-fancy-date-matcher): New function.
149 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
150 (diary-fancy-font-lock-fontify-region-function):
151 Use diary-fancy-date-pattern as a function.
153 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
154 non-numbers for `year' etc pseudo-variables. (Bug#8583)
156 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
158 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
159 instead of positional arguments. Allow :keylist and :crlfiles
161 (open-gnutls-stream): Call it.
163 * net/network-stream.el (network-stream-open-starttls): Adjust to
164 call `gnutls-negotiate' with :process and :hostname arguments.
166 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
168 * minibuffer.el (completion--message): New function.
169 (completion--do-completion, minibuffer-complete)
170 (minibuffer-force-complete, minibuffer-complete-word): Use it.
171 (completion--do-completion): Don't ignore completion-auto-help when in
174 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
175 internal encoding (e.g. tibetan zero is not whitespace).
176 (global-whitespace-mode): Prefer save-current-buffer.
177 (whitespace-trailing-regexp): Remove useless save-match-data.
178 (whitespace-empty-at-bob-regexp): Minor simplification.
180 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
182 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
184 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
186 * textmodes/ispell.el (ispell-add-per-file-word-list):
187 Use `concat' to create string for insertion.
189 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
191 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
192 Avoid open-line which runs post-self-insert-hook.
193 (bibtex-fill-entry): Remove unused `end' var.
195 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
197 * textmodes/ispell.el (ispell-add-per-file-word-list):
198 Protect against `nil' value of `comment-start' (Bug#8579).
200 2011-05-03 Leo Liu <sdl.web@gmail.com>
202 * isearch.el (isearch-yank-pop): New command.
203 (isearch-mode-map): Bind it to `M-y'.
204 (isearch-forward): Mention it.
206 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
208 * simple.el (minibuffer-complete-shell-command): Remove.
209 (minibuffer-local-shell-command-map): Use completion-at-point.
210 (read-shell-command): Setup completion vars here instead.
211 (read-expression-map): Bind TAB to symbol completion.
213 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
214 error directly rather via storing it into `results'.
216 2011-05-02 Leo Liu <sdl.web@gmail.com>
218 * vc/diff.el: Fix description.
220 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
222 * server.el (server-eval-at): New function.
224 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
226 * net/network-stream.el (open-network-stream): Take a :nowait
227 parameter and pass it on to `make-network-process'.
228 (network-stream-open-plain): Ditto.
230 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
232 * faces.el (face-spec-set-match-display): Don't match toolkit
233 options on terminal frames.
235 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
237 * progmodes/pascal.el: Use lexical binding.
238 (pascal-mode-map): Remove author preferences.
240 * pcomplete.el (pcomplete-std-complete): Don't abuse
243 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
245 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
246 removing code that has been dead since 1991 or so.
248 * startup.el (command-line): When warning about "_emacs", use a
249 delayed warning to allow the user to filter it out.
251 2011-04-28 Deniz Dogan <deniz@dogan.se>
253 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
256 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
258 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
259 aren't any completions at point.
261 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
263 * subr.el (display-delayed-warnings): New function.
264 (delayed-warnings-hook): New variable.
266 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
268 * minibuffer.el (completion-at-point, completion-help-at-point):
269 Don't presume that a given completion-at-point-function will always
270 use the same calling convention.
272 * pcomplete.el (pcomplete-completions-at-point):
273 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
274 pcomplete-seen is non-nil.
275 (pcomplete-comint-setup): Also recognize the new comint/shell
276 completion functions.
277 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
278 pcomplete-seen is non-nil.
280 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
282 * calendar/icalendar.el (diary-lib): Add require statement.
283 (icalendar--create-uid): Read out a uid from a text-property on
284 the first character in the entry. This allows for code to add its
285 own uid to the entry.
286 (icalendar--convert-float-to-ical): Add export of
287 `diary-float'-entries save for those with the optional DAY
290 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
292 * subr.el (shell-quote-argument): Use alternate escaping strategy
293 when we spot a variable reference in a string.
295 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
297 * cus-start.el (all): Define customization for debug-on-event.
299 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
301 * subr.el (shell-quote-argument): Escape correctly under Windows.
303 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
305 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
307 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
309 * net/tramp.el (tramp-process-actions): Add POS argument.
310 Delete region between POS and (pos).
312 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
313 Use `nil' position in `tramp-process-actions' call.
314 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
316 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
317 position in `tramp-process-actions' call.
319 * net/trampver.el: Update release number.
321 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
323 * custom.el (defcustom): Obey lexical-binding.
325 Fix octave-inf completion problems reported by Alexander Klimov.
326 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
327 Inherit from octave-mode-syntax-table.
328 (inferior-octave-mode): Set info-lookup-mode.
329 (inferior-octave-completion-at-point): New function.
330 (inferior-octave-complete): Use it and completion-in-region.
331 (inferior-octave-dynamic-complete-functions): Use it as well, and use
332 comint-filename-completion.
333 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
334 symbol elements which shouldn't be word elements.
335 (octave-font-lock-keywords, octave-beginning-of-defun)
336 (octave-function-header-regexp): Adjust regexps accordingly.
337 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
339 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
341 * net/gnutls.el (gnutls-errorp): Declare before first use.
343 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
345 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
346 verify-error, and verify-hostname-error parameters. Check whether
347 default trustfile exists before going to use it. Add missing
348 argument to gnutls-message-maybe call. Return return value.
349 Reported by Claudio Bley <claudio.bley@gmail.com>.
350 (open-gnutls-stream): Add usage example.
352 * net/network-stream.el (network-stream-open-starttls): Give host
353 parameter to `gnutls-negotiate'.
354 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
355 * subr.el (shell-quote-argument): Escape correctly under Windows.
357 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
359 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
360 Use correct match group (bug#8438).
362 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
364 * emacs-lisp/package.el (package-built-in-p): Fix typo.
365 (package-menu--generate): New arg specifying packages to show.
366 (package-menu-refresh, package-menu-execute, list-packages):
368 (package-show-package-list): New function, replacing deleted
369 package--list-packages (renamed because it is non-internal).
371 * finder.el (finder-list-matches): Use package-show-package-list
372 instead of deleted package--list-packages.
374 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
375 Based on a previous implementation by Juanma Barranquero (Bug#8366).
376 (vc-annotate-mode-map): Bind it to RET.
378 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
380 * progmodes/etags.el (next-file): Don't use set-buffer to change
383 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
385 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
387 * apropos.el (apropos-label-face): Avoid variable-pitch face.
388 (apropos-accumulator): Doc fix.
389 (apropos-function, apropos-macro, apropos-command)
390 (apropos-variable, apropos-face, apropos-group, apropos-widget)
391 (apropos-plist): Add face property.
392 (apropos-symbols-internal): Fix indentation.
393 (apropos-print): Simplify help, and recognize apropos-multi-type.
394 (apropos-print-doc): Use button-type-get to extract the button's
395 face property. Fill docstring (Bug#8352).
397 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
399 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
401 * play/mpuz.el (mpuz-silent): Doc fix.
402 (mpuz-mode-map): Use mapc.
403 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
404 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
405 Fix typos in docstrings.
407 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
408 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
410 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
412 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
414 * minibuffer.el (completion--do-completion): Avoid the "Next char
415 not unique" prompt if icomplete-mode is enabled (Bug#5849).
417 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
418 mouse-2 into unread-command-events, it is interpreted correctly.
420 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
421 (image-toggle-display): Doc fix.
423 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
425 * textmodes/page.el (what-page): Use line-number-at-pos to
426 calculate line number (Bug#6825).
428 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
430 * eshell/esh-mode.el (find-tag-interactive): Declare function.
431 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
432 Pass argument NO-DEFAULT to `find-tag-interactive'.
434 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
436 Lexical-binding cleanup.
438 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
439 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
440 * progmodes/ada-prj.el (ada-prj-initialize-values)
441 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
442 (ada-prj-show-value):
443 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
444 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
445 (antlr-invalidate-context-cache, antlr-options-menu-filter)
446 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
447 * progmodes/bug-reference.el (bug-reference-push-button):
448 * progmodes/fortran.el (fortran-line-length):
449 * progmodes/glasses.el (glasses-change):
450 * progmodes/octave-mod.el (octave-fill-paragraph):
451 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
452 (python-pdbtrack-grub-for-buffer, python-sentinel):
453 * progmodes/sql.el (sql-save-connection):
454 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
455 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
456 Mark unused parameters.
458 * progmodes/compile.el (compilation--flush-directory-cache)
459 (compilation--flush-parse, compile-internal): Mark unused parameters.
460 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
461 (compilation-next-error-function): Remove unused variable `timestamp'.
463 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
464 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
466 * progmodes/dcl-mode.el (dcl-end-of-command):
467 Remove unused variable `start'.
468 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
469 (dcl-option-value-basic, dcl-option-value-offset)
470 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
471 Mark unused parameters.
472 (dcl-save-local-variable): Remove unused variable `val'.
475 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
476 Mark unused parameters.
477 (delphi-ignore-changes): Move before first use.
478 (delphi-charset-token-at): Remove unused variable `start'.
479 (delphi-else-start): Remove unused variable `if-count'.
480 (delphi-comment-block-start, delphi-comment-block-end):
481 Remove unused variable `kind'.
482 (delphi-indent-line): Remove unused variable `new-point'.
484 * progmodes/ebrowse.el (ebrowse-files-list)
485 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
486 Mark unused parameters. Don't quote `lambda'.
487 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
488 Don't quote `lambda'.
489 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
490 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
491 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
492 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
494 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
495 (ebrowse-view/find-file-and-search-pattern)
496 (ebrowse-view/find-member-declaration/definition):
497 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
498 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
499 Rename parameter PREFIX-ARG to PREFIX.
500 (ebrowse-tags-read-name): Remove unused variables `start' and
502 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
505 * progmodes/etags.el (local-find-tag-hook): Declare.
506 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
507 Mark unused parameters.
509 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
510 (executable-interpret): Mark unused parameter.
512 * progmodes/flymake.el (flymake-process-sentinel)
513 (flymake-after-change-function)
514 (flymake-create-temp-with-folder-structure)
515 (flymake-get-include-dirs-dot): Mark unused parameters.
516 (flymake-safe-delete-directory): Remove unused variable `err'.
518 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
519 (speedbar-timer-fn, speedbar-line-text)
520 (speedbar-change-expand-button-char, speedbar-delete-subblock)
521 (speedbar-center-buffer-smartly): Declare functions.
522 (gdb-find-watch-expression): Remove unused variable `array'.
523 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
524 (gdb-starting): Mark unused parameters.
525 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
526 (gdb-table-string): Remove unused variable `res'.
527 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
528 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
529 (gdb-display-buffer): Remove unused variable `cur-size'.
531 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
532 allow lexical-binding compilation.
533 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
534 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
535 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
536 Mark unused parameters.
537 (gud-gdb-marker-filter): Remove unused variable `match'.
538 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
539 lambda expressions and funcall them, instead of using `fset'.
541 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
542 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
544 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
545 variable `header-beg'; use `let'.
547 * progmodes/icon.el (indent-icon-exp): Remove unused variables
548 `restart', `last-sexp' and `at-do'.
550 * progmodes/js.el (js--debug): Mark unused parameter.
551 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
552 (js--splice-into-items): Remove unused variable `item'.
553 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
555 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
556 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
557 (makefile-complete): Remove unused variable `try'.
558 (makefile-fill-paragraph, makefile-match-function-end):
559 Mark unused parameters.
561 * progmodes/octave-inf.el (inferior-octave-complete):
562 Remove unused variable `proc'.
563 (inferior-octave-output-digest): Mark unused parameter.
565 * progmodes/perl-mode.el (perl-calculate-indent):
566 Remove unused variable `err'.
568 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
569 (prolog-indent-line): Mark unused parameters.
570 (prolog-indent-line): Remove unused variable `beg'.
572 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
573 (reporter-dont-compact-list): Declare.
575 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
576 Remove unused variable `char'.
577 (sh-debug): Mark unused parameter.
578 (sh-get-indent-info): Remove unused variable `start'.
579 (sh-calculate-indent): Remove unused variable `var'.
581 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
582 (simula-electric-keyword): Remove unused variable `null'.
583 (simula-search-backward, simula-search-forward): Remove unused
584 variables `begin' and `end'.
586 * progmodes/vera-mode.el (vera-guess-basic-syntax):
587 Remove unused variable `pos'.
588 (vera-electric-tab, vera-comment-uncomment-region):
589 Mark unused parameters.
590 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
592 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
594 * emacs-lisp/package.el (package--builtins, package-alist)
595 (package-load-descriptor, package-built-in-p, package-activate)
596 (define-package, package-installed-p)
597 (package-compute-transaction, package-buffer-info)
598 (package--push): Doc fix. Distinguish more clearly between
599 version strings and version lists.
601 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
603 Lexical-binding cleanup.
605 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
606 (5x5-make-mutate-best):
607 * play/fortune.el (fortune-in-buffer):
608 * play/gomoku.el (gomoku-init-display):
609 * play/solitaire.el (solitaire, solitaire-do-check):
610 * play/tetris.el (tetris-default-update-speed-function):
611 Mark unused parameters.
613 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
614 (bubbles--shift): Remove unused variable `char-org'.
615 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
616 (bubbles--show-images): Remove unused variable `char'.
618 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
619 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
620 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
621 (decipher-analyze-buffer): Use ?\s.
622 (decipher-make-checkpoint): Remove unused variable `mapping'.
624 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
626 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
627 Remove unused variable `result'; use `let'.
629 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
630 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
631 (gametree-children-shown-p, gametree-compute-reduced-score):
634 * play/handwrite.el (ps-lpr-switches): Declare.
635 (handwrite): Remove unused variables `pmin' and `lastp'.
637 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
639 * play/landmark.el (landmark-init-display)
640 (landmark-update-naught-weights): Mark unused parameters.
641 (landmark-y): Remove unused variable `noise'. Simplify.
642 (landmark-human-plays): Remove unused variable `score'.
644 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
645 (mpuz-try-proposal): Remove unused variable `game'.
647 * play/zone.el (life-patterns): Declare.
649 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
651 * vc/vc.el (ediff-vc-internal): Declare function.
653 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
655 * shell.el: Use lexical-binding and std completion UI.
656 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
657 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
658 comint-preoutput-filter-functions rather than on
659 comint-output-filter-functions.
660 (shell-command-completion, shell--command-completion-data)
661 (shell-filename-completion, shell-environment-variable-completion)
662 (shell-c-a-p-replace-by-expanded-directory): New functions.
663 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
664 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
665 (shell-dynamic-complete-environment-variable): Use them.
666 (shell-dynamic-complete-as-environment-variable)
667 (shell-dynamic-complete-as-command): Remove.
668 (shell-match-partial-variable): Match past point.
669 * comint.el: Clean up use of completion-at-point-functions.
670 (comint-completion-at-point): New function.
671 (comint-mode): Use it completion-at-point-functions.
672 (comint-dynamic-complete): Make it obsolete.
673 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
674 (comint-c-a-p-replace-by-expanded-history): New function.
675 (comint-dynamic-complete-functions)
676 (comint-replace-by-expanded-history): Use it.
677 * minibuffer.el (completion-table-with-terminator): Allow dynamic
678 termination strings. Try harder to avoid second try-completion.
679 (completion-in-region-mode-map): Disable bindings that don't work yet.
681 * comint.el: Use lexical-binding. Require CL.
682 (comint-dynamic-complete-functions): Use comint-filename-completion.
683 (comint-completion-addsuffix): Tweak custom type.
684 (comint-filename-completion, comint--common-suffix)
685 (comint--common-quoted-suffix, comint--table-subvert)
686 (comint--complete-file-name-data): New functions.
687 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
688 (comint-dynamic-list-filename-completions): Use them.
689 (comint-dynamic-simple-complete): Make obsolete.
691 * minibuffer.el (completion-in-region-mode):
692 Keep completion-in-region-mode--predicate global.
693 (completion-in-region--postch):
694 Assume completion-in-region-mode--predicate is not null.
696 * progmodes/flymake.el (flymake-start-syntax-check-process):
697 Obey `dir'. Simplify.
699 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
700 we're in VC after all.
702 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
704 * vc/vc.el (vc-diff-build-argument-list-internal)
705 (vc-version-ediff, vc-ediff): New commands.
706 (vc-version-diff): Use vc-diff-build-argument-list-internal.
708 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
710 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
713 * obsolete/erc-hecomplete.el: Make obsolete.
714 * obsolete/: Standardize obsolescence info in the header.
716 2011-04-20 Glenn Morris <rgm@gnu.org>
718 * calendar/solar.el (solar-horizontal-coordinates):
719 Use the longitude argument rather than `calendar-longitude'.
720 (solar-date-next-longitude): Remove unused locals.
722 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
724 * whitespace.el: New version 13.2.1.
726 2011-04-20 felix <EmacsWiki> (tiny change)
728 * whitespace.el (global-whitespace-mode): keep highlight when
729 switching between major modes on a file.
731 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
733 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
734 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
735 multi-line comments as well.
737 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
739 Lexical-binding cleanup.
741 * arc-mode.el (archive-mode-revert):
742 * cmuscheme.el (scheme-interactively-start-process):
743 * custom.el (custom-initialize-delay):
744 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
745 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
746 * emacs-lock.el (emacs-lock-clear-sentinel):
747 * ezimage.el (defezimage):
748 * follow.el (follow-avoid-tail-recenter):
749 * fringe.el (set-fringe-mode-1):
750 * generic-x.el (bat-generic-mode-compile):
751 * help-mode.el (help-info-variable, help-do-xref)
752 (help-mode-revert-buffer):
753 * help.el (view-emacs-todo):
754 * iswitchb.el (iswitchb-completion-help):
755 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
756 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
757 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
758 * locate.el (locate-update):
759 * longlines.el (longlines-encode-region)
760 (longlines-after-change-function):
761 * outline.el (outline-isearch-open-invisible):
762 * ps-def.el (declare-function, charset-dimension, char-width)
764 * ps-mule.el (ps-mule-plot-string):
765 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
766 (recentf-edit-list-select, recentf-edit-list-validate)
767 (recentf-open-files-action):
768 * rect.el (delete-whitespace-rectangle-line)
769 (rectangle-number-line-callback):
770 * register.el (window-configuration-to-register)
771 (frame-configuration-to-register):
772 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
773 * select.el (xselect-convert-to-string, xselect-convert-to-length)
774 (xselect-convert-to-targets, xselect-convert-to-delete)
775 (xselect-convert-to-filename, xselect-convert-to-charpos)
776 (xselect-convert-to-lineno, xselect-convert-to-colno)
777 (xselect-convert-to-os, xselect-convert-to-host)
778 (xselect-convert-to-user, xselect-convert-to-class)
779 (xselect-convert-to-name, xselect-convert-to-integer)
780 (xselect-convert-to-atom, xselect-convert-to-identity):
781 * subr.el (declare, ignore, process-kill-without-query)
782 (text-clone-maintain):
783 * terminal.el (te-get-char, te-tic-sentinel):
784 * tool-bar.el (tool-bar-make-keymap):
785 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
786 * type-break.el (type-break-mode, type-break-noninteractive-query):
787 * view.el (View-back-to-mark):
788 * wid-browse.el (widget-browse-action, widget-browse-widget)
789 (widget-browse-widgets, widget-browse-sexp):
790 * widget.el (define-widget-keywords):
791 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
792 Mark unused parameters.
794 * align.el (align-adjust-col-for-rule): Mark unused parameter.
795 (align-areas): Remove unused variable `look'.
796 (align-region): Remove unused variables `real-end' and `pos-list'.
798 * apropos.el (apropos-score-doc): Remove unused variable `i'.
800 * bindings.el (mode-line-modified, mode-line-remote):
801 Mark unused parameters.
802 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
804 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
805 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
807 * comint.el (comint-history-isearch-pop-state)
808 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
809 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
810 (comint-substitute-in-file-name): Doc fix.
812 * completion.el (cmpl-statistics-block): Mark unused parameter.
813 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
814 (save-completions-to-file, load-completions-from-file):
815 Remove unused local variable `e'.
817 * composite.el (compose-chars): Remove unused variable `len'.
818 (lgstring-insert-glyph): Remove unused variable `g'.
819 (compose-glyph-string): Remove unused variables `ascent',
820 `descent', `lbearing' and `rbearing'.
821 (compose-glyph-string-relative): Remove unused variables
822 `lbearing', `rbearing' and `wadjust'.
823 (compose-gstring-for-graphic): Remove unused variables `header',
824 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
825 (compose-gstring-for-terminal): Remove unused variables `header'
826 and `nchars'. Use `let', not `let*'.
828 * cus-edit.el (Custom-set, Custom-save, custom-reset)
829 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
830 (Custom-buffer-done, custom-buffer-create-internal)
831 (custom-browse-visibility-action, custom-browse-group-tag-action)
832 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
833 (widget-magic-mouse-down-action, custom-toggle-parent)
834 (custom-add-parent-links, custom-toggle-hide-variable)
835 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
836 (custom-toggle-hide-face, face, hook, custom-group-link-action)
837 (custom-face-menu-create, custom-variable-menu-create, get)
838 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
839 (custom-reset-standard-save-and-update): Remove unused variable `value'.
840 (customize-apropos): Remove unused variable `tests'.
841 (custom-group-value-create): Remove unused variable `hidden-p'.
842 (sort-fold-case): Declare.
844 * cus-theme.el (custom-reset-standard-faces-list)
845 (custom-reset-standard-variables-list): Declare.
846 (customize-create-theme, custom-theme-revert, custom-theme-write)
847 (custom-theme-choose-mode, customize-themes, custom-theme-save):
848 Mark unused parameters.
850 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
852 * delim-col.el (delimit-columns-max): Move defvar before first use.
854 * descr-text.el (describe-char-categories): Don't quote `lambda'.
855 (describe-char): Don't quote `lambda'. Mark unused parameter.
857 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
858 (auto-insert): Declare.
859 (desktop-restore-file-buffer): Rename desktop-* parameters;
861 (desktop-create-buffer): Rename desktop-* parameters and bind them.
862 (desktop-buffer): Rename desktop-* parameters.
864 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
865 (dframe-reposition-frame-xemacs, dframe-help-echo)
866 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
867 Mark unused parameters.
869 * dired-aux.el (backup-extract-version-start, overwrite-query)
870 (overwrite-backup-query, rename-regexp-query)
871 (rename-non-directory-query): Declare.
872 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
873 (dired-add-entry): Remove unused variable `orig-file-name'.
874 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
875 Use parameter PRESERVE-TIME instead of accessing dynamic variable
876 `dired-copy-preserve-time' directly.
877 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
878 (dired-insert-subdir-newpos): Rename unused variable `pos'.
880 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
881 (dired-virtual-revert, dired-make-relative-symlink):
882 Mark unused parameters.
883 (manual-program): Declare.
884 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
885 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
886 wrapped in `with-no-warnings' to avoid replacing one warning by another.
888 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
890 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
892 * echistory.el (electric-history-in-progress, Helper-return-blurb):
895 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
897 * electric.el (Electric-command-loop): Rename parameter
898 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
900 * expand.el (expand-in-literal): Remove unused variable `here'.
902 * facemenu.el (facemenu-add-new-color):
903 Remove unused variable `docstring'.
905 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
906 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
907 (face-attr-construct): Mark unused parameter. Doc fix.
908 (read-color): Remove unused variable `hex-string'.
910 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
911 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
912 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
913 (display-buffer-other-frame): Remove unused variable `old-window'.
914 (kill-buffer-hook): Declare.
915 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
916 Mark unused parameters.
917 (after-find-file): Pass 1 to `auto-save-mode', not t.
919 * files-x.el (auto-insert): Declare.
920 (modify-file-local-variable-prop-line): Remove unused variable `val'.
922 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
923 variable `buf'. Mark unused parameter.
924 (find-lisp-insert-directory): Mark unused parameter.
926 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
927 (format-encode-region): Remove unused variables `cur-buf' and `result'.
928 (format-common-tail): Remove, unused.
929 (format-deannotate-region): Remove unused variable `loc'.
930 (format-annotate-region): Remove unused variable `p'.
931 (format-annotate-single-property-change): Remove unused variables
932 `default' and `tail'.
934 * forms.el (read-file-filter): Declare.
935 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
937 * frame.el (frame-creation-function-alist): Mark unused parameter.
938 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
940 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
941 Remove unused parameters.
942 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
943 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
945 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
946 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
947 (hfy-prepare-tag-map): Mark unused parameters.
948 (htmlfontify-buffer): Use `called-interactively-p'.
950 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
951 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
952 (ibuffer-do-occur): Mark unused parameters.
953 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
954 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
956 * ibuffer.el: Don't quote `lambda'.
957 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
958 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
959 Mark unused parameters.
961 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
962 (ido-completing-read): Mark unused parameters.
963 (ido-copy-current-word): Mark unused parameters;
964 remove unused variable `name'.
965 (ido-sort-merged-list): Remove unused parameter `dirs'.
967 * ielm.el (ielm-input-sender): Mark unused parameter.
968 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
969 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
970 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
971 `ielm-string' as a dynamic variable accessible from the IELM prompt.
972 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
974 * image-dired.el (image-dired-display-thumbs): Remove unused
975 variables `curr-file' and `count'.
976 (image-dired-remove-tag): Remove unused variable `start'.
977 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
979 (image-dired-rotate-original): Remove unused variable `temp-file'.
980 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
981 Remove unused variable `file'.
982 (image-dired-gallery-generate): Remove unused variable `curr'.
983 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
985 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
987 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
989 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
991 * isearch.el (minibuffer-history-symbol): Declare.
992 (isearch-edit-string): Remove unused variable `err'.
993 (isearch-message-prefix, isearch-message-suffix):
994 Mark unused parameters.
996 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
998 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1000 * makesum.el (double-column): Remove unused variable `cnt'.
1002 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1003 (ido-ignore-item-temp-list): Declare.
1005 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1006 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1007 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1008 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1011 * mouse-sel.el (mouse-extend-internal):
1012 Remove unused variable `orig-window-frame'.
1014 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1015 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1016 Move declarations before first use.
1017 (pcomplete-opt): Mark unused parameters; doc fix.
1019 * proced.el (proced-revert): Mark unused parameter.
1020 (proced-send-signal): Remove unused variable `err'.
1022 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1023 Rename parameter PREFIX-ARG to ARG.
1024 (ps-basic-plot-string, ps-basic-plot-whitespace):
1025 Mark unused parameters.
1027 * replace.el (replace-count): Define.
1028 (occur-revert-function): Mark unused parameters.
1029 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1030 (isearch-case-fold-search, isearch-string): Declare.
1031 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1032 bind `case-fold-search'. Remove unused variables `beg' and `end',
1034 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1035 COUNT and bind `replace-count'.
1036 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1039 * savehist.el (print-readably, print-string-length): Declare.
1041 * shadowfile.el (shadow-expand-cluster-in-file-name):
1042 Remove unused variable `cluster'.
1043 (shadow-copy-file): Remove unused variable `i'.
1044 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1045 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1046 (shadow-define-literal-group, shadow-define-regexp-group)
1047 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1049 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1050 (shell): Use `called-interactively-p'.
1051 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1053 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1054 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1055 (delete-backward-char): Remove unused variable `ocol'.
1056 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1057 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1058 (event-apply-hyper-modifier, event-apply-shift-modifier)
1059 (event-apply-control-modifier, event-apply-meta-modifier):
1060 Mark unused parameters.
1061 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1062 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1064 * speedbar.el (speedbar-ignored-directory-expressions)
1065 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1066 (speedbar-find-file, speedbar-dir-follow)
1067 (speedbar-directory-buttons-follow, speedbar-tag-find)
1068 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1069 (speedbar-buffers-line-directory, speedbar-buffer-click):
1070 Mark unused parameters.
1071 (speedbar-tag-file): Remove unused variable `mode'.
1072 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1074 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1076 * talk.el (talk): Remove unused variable `display'.
1078 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1079 (tar-write-region-annotate): Mark unused parameter.
1081 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1082 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1083 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1086 * time-stamp.el (time-stamp-string-preprocess):
1087 Remove unused variable `require-padding'.
1089 * tree-widget.el (widget-glyph-enable): Declare.
1090 (tree-widget-action): Mark unused parameter.
1092 * w32-fns.el (x-get-selection): Mark unused parameter.
1093 (autoload-make-program, generated-autoload-file): Declare.
1095 * wdired.el (wdired-revert): Mark unused parameters.
1096 (wdired-xcase-word): Remove unused variable `err'.
1098 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1099 (whitespace-help-scroll): Remove unused variable `data-help'.
1101 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1102 (widget-image-insert, widget-after-change, default)
1103 (widget-default-format-handler, widget-default-notify)
1104 (widget-default-prompt-value, widget-info-link-action)
1105 (widget-url-link-action, widget-function-link-action)
1106 (widget-variable-link-action, widget-file-link-action)
1107 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1108 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1109 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1110 (widget-insert-button-action, widget-delete-button-action, visibility)
1111 (widget-documentation-link-action, widget-documentation-string-action)
1112 (widget-const-prompt-value, widget-regexp-match, symbol)
1113 (widget-coding-system-prompt-value)
1114 (widget-key-sequence-value-to-external, sexp)
1115 (widget-sexp-value-to-internal, character, vector, cons)
1116 (widget-choice-prompt-value, widget-boolean-prompt-value)
1117 (widget-color--choose-action): Mark unused parameters.
1118 (widget-item-match-inline, widget-choice-match-inline)
1119 (widget-checklist-match, widget-checklist-match-inline)
1120 (widget-group-match): Rename parameter VALUES to VALS.
1121 (widget-field-value-set): Remove unused variable `size'.
1122 (widget-color-action): Remove unused variables `value' and `start'.
1124 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1125 variable `dir'. Doc fix.
1126 (windmove-find-other-window): Don't pass it.
1128 * window.el (count-windows): Mark unused parameter.
1129 (bw-adjust-window): Remove unused variable `err'.
1131 * woman.el (woman-file-name): Remove unused variable `default'.
1132 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1133 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1134 (global-font-lock-mode): Declare.
1135 (woman-decode-region): Mark unused parameter.
1136 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1138 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1139 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1140 (x-dnd-handle-moz-url): Remove unused variable `title'.
1141 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1143 * xml.el (xml-parse-tag, xml-parse-attlist):
1144 Remove unused variable `pos'.
1146 2011-04-19 Glenn Morris <rgm@gnu.org>
1148 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1149 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1150 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1151 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1152 * calendar/cal-html.el (cal-html-insert-minical):
1153 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1154 (calendar-mark-date-pattern):
1155 Prefix "unused" locals.
1157 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1158 optional argument `style'.
1160 * calendar/appt.el (appt-make-list):
1161 * calendar/cal-china.el (calendar-chinese-date-string):
1162 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1163 (diary-hebrew-yahrzeit):
1164 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1165 * calendar/calendar.el (calendar-generate-window):
1166 * calendar/time-date.el (time-to-days):
1167 Remove unused local variables.
1169 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1171 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1172 glyphless-char-display table.
1173 (tabulated-list-glyphless-char-display): New var.
1175 2011-04-18 Sam Steingold <sds@gnu.org>
1177 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1180 2011-04-17 Glenn Morris <rgm@gnu.org>
1182 * calendar/diary-lib.el (diary-sexp-entry):
1183 * calendar/holidays.el (holiday-sexp):
1184 Set debug-on-error rather than the removed stack-trace-on-error.
1186 2011-04-16 Glenn Morris <rgm@gnu.org>
1188 * progmodes/f90.el: Use lexical-binding.
1189 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1191 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1194 (mail-mode): Setup mailalias completion here instead.
1195 * mail/mailalias.el: Use lexical-binding.
1196 (pattern, mailalias-done): Declare dynamic.
1197 (mail-completion-at-point-function): New function, from mail-complete.
1198 (mail-complete): Use it.
1199 (mail-completion-expand): New function.
1200 (mail-get-names): Use it.
1201 (mail-directory, mail-directory-process, mail-directory-stream):
1202 Don't use `pattern' for lexically bound arg.
1204 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1206 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1207 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1208 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1210 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1211 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1212 (byte-interactive-p): Define them again, for use when inlining
1215 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1217 * loadup.el: Use `string-to-number', not `string-to-int'.
1219 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1222 gud-gdb-complete-command.
1223 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1224 (gud-gdb-completion-at-point): New function.
1225 (gud-gdb-completions): Remove.
1227 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1229 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1230 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1231 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1232 whether `executable-find' is bound.
1234 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1236 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * minibuffer.el (completion-in-region-mode-predicate)
1239 (completion-in-region-mode--predicate): New vars.
1240 (completion-in-region, completion-in-region--postch)
1241 (completion-in-region-mode): Use them.
1242 (completion--capf-wrapper): Also return the hook function.
1243 (completion-at-point, completion-help-at-point):
1244 Adjust and provide a predicate.
1246 Preserve arg names for advice of subr and lexical functions (bug#8457).
1247 * help-fns.el (help-function-arglist): Consolidate the subr and
1248 new-byte-code cases. Add argument `preserve-names' to extract names
1249 from the docstring when needed.
1250 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1251 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1252 (ad-arglist): Use help-function-arglist's new arg.
1253 (ad-definition-type): Use cond.
1255 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1257 * autorevert.el (auto-revert-handler):
1258 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1259 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1262 * image-mode.el (image-transform-set-scale):
1263 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1265 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1267 * net/network-stream.el (network-stream-open-starttls): Only do
1268 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1269 Upgrades via gnutls-cli are too slow to be done opportunistically.
1271 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1273 * dframe.el (dframe-current-frame): Remove spurious quote.
1275 2011-04-12 Glenn Morris <rgm@gnu.org>
1277 * calendar/cal-tex.el (cal-tex-end-document):
1278 Try to automatically use latin1 input if needed.
1280 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1281 Don't try to cons a mark onto an empty element.
1283 2011-04-11 Leo Liu <sdl.web@gmail.com>
1285 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1287 (ido-kill-buffer-at-head): Support killing virtual buffers.
1289 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1291 * minibuffer.el (completion-show-inline-help): New var.
1292 (completion--do-completion, minibuffer-complete)
1293 (minibuffer-force-complete, minibuffer-complete-word):
1294 Inhibit minibuffer messages if completion-show-inline-help is nil.
1296 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1297 to avoid interference from inline help (Bug#5849).
1299 2011-04-10 Leo Liu <sdl.web@gmail.com>
1301 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1304 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1306 * image-mode.el (image-toggle-display-image): Signal an error if
1308 (image-transform-mode, image-transform-resize)
1309 (image-transform-set-rotation): Doc fix.
1310 (image-transform-set-resize): Delete.
1311 (image-transform-set-scale, image-transform-fit-to-height)
1312 (image-transform-fit-to-width): Handle image-toggle-display-image
1313 and image-transform-resize directly.
1315 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1317 * doc-view.el (doc-view-fit-width-to-window)
1318 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1319 New functions for fitting the shown image to the Emacs window size.
1320 (doc-view-mode-map): Add bindings for the new functions.
1322 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1324 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1325 Fix typo in docstring.
1327 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1329 * files.el (file-size-human-readable): Produce one digit after
1330 decimal, like "ls -lh" does.
1332 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1333 the file size representation.
1335 * simple.el (list-processes): If async subprocesses are not
1336 available, error out with a clear error message.
1338 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1340 * help.el (help-form-show): New function, to be called from C.
1341 Put help-form output in a buffer named differently than *Help*.
1343 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1345 * files.el (file-size-human-readable): New function.
1347 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1348 computing the representation inline. Don't require `cl'.
1350 2011-04-08 Glenn Morris <rgm@gnu.org>
1352 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1354 * net/browse-url.el (browse-url-firefox):
1355 Test system-type, not system-configuration.
1357 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1358 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1359 Use log-edit-empty-buffer-p. (Bug#7598)
1361 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1362 (rlogin-mode-map): Initialize in the defvar.
1363 (rlogin): Use ignore-errors.
1365 * replace.el (occur-mode-map): Some fixes for menu items.
1367 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1369 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1371 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1373 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1374 issuing unused warnings.
1376 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1379 * simple.el: Lisp reimplement of list-processes. Based on an
1380 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1381 (process-menu-mode): New major mode.
1382 (list-processes--refresh, list-processes):
1383 (process-menu-visit-buffer): New functions.
1385 * files.el (save-buffers-kill-emacs): Don't assume any return
1386 value of list-processes, which is undocumented anyway.
1388 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1390 * emacs-lisp/tabulated-list.el: New file.
1392 * emacs-lisp/package.el: Use Tabulated List mode.
1393 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1394 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1395 table format using Tabulated List mode variables.
1396 (package--push): New macro, replacing package-list-maybe-add.
1397 (package-menu--generate): Use package--push. Renamed from
1398 package--generate-package-list.
1399 (package-menu-refresh, list-packages): Use it.
1400 (package-menu--print-info): Rename from package-print-package.
1401 Return insertion data instead of inserting it directly.
1402 (package-menu-describe-package, package-menu-execute):
1403 Use tabulated-list-get-id.
1404 (package-menu-mark-delete, package-menu-mark-install)
1405 (package-menu-mark-unmark, package-menu-backup-unmark)
1406 (package-menu-mark-obsolete-for-deletion):
1407 Use tabulated-list-put-tag.
1408 (package--list-packages, package-menu-revert)
1409 (package-menu-get-package, package-menu-get-version)
1410 (package-menu-sort-by-column): Functions deleted.
1411 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1412 (package-menu--status-predicate, package-menu--version-predicate)
1413 (package-menu--name-predicate)
1414 (package-menu--description-predicate): Handle arguments in the
1415 Tabulated List format.
1416 (package-list-packages-no-fetch): Call list-packages.
1418 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1420 * files.el (after-find-file-from-revert-buffer): Remove variable.
1421 (after-find-file): Don't bind it.
1422 (revert-buffer-in-progress-p): New variable.
1423 (revert-buffer): Bind it.
1424 Pass nil for `after-find-file-from-revert-buffer'.
1426 * saveplace.el (save-place-find-file-hook): Use new variable
1427 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1429 2011-04-06 Glenn Morris <rgm@gnu.org>
1431 * Makefile.in (AUTOGEN_VCS): New variable.
1432 (autoloads): Use $AUTOGEN_VCS.
1434 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1435 * calendar/calendar.el (calendar-mode-map):
1436 Check for toolkit scroll bars. (Bug#8305)
1438 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1440 * minibuffer.el (completion-in-region--postch)
1441 (completion-in-region-mode): Remove unnecessary messages.
1443 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1445 * font-lock.el (font-lock-refresh-defaults):
1446 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1447 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1449 * info.el (Info-directory-list, Info-read-node-name-2)
1450 (Info-split-parameter-string): Doc fixes.
1451 (Info-virtual-nodes): Reflow docstring.
1452 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1453 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1454 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1455 Fix typos in docstrings.
1456 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1457 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1458 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1459 (Info-restore-desktop-buffer): Mark unused parameters.
1460 (Info-directory-find-file, Info-directory-find-node)
1461 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1462 (Info-virtual-index-find-node, Info-apropos-find-file)
1463 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1464 Mark unused parameters; fix typos in docstrings.
1465 (Info-virtual-index): Remove unused local variable `nodename'.
1467 2011-04-05 Deniz Dogan <deniz@dogan.se>
1469 * net/rcirc.el: Update my e-mail address.
1470 (rcirc-mode-map): Remove M-o binding.
1472 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1474 * startup.el (command-line): Save the cursor's theme-face
1475 directly, instead of using face-override-spec.
1477 * custom.el (load-theme): Minor optimization in assigning faces.
1479 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1481 * help-fns.el (describe-variable): Complete all variables having
1482 documentation, including keywords.
1483 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1485 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1487 Convert to lexical-binding.
1489 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1490 (bs--get-marked-string, bs--get-modified-string)
1491 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1492 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1493 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1495 * ehelp.el (electric-help-execute-extended)
1496 (electric-help-ctrl-x-prefix):
1497 * hexl.el (hexl-revert-buffer-function):
1498 * linum.el (linum-after-change, linum-after-scroll):
1499 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1501 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1503 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1510 * epg.el: Use lexical binding.
1512 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1514 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1516 * textmodes/flyspell.el (flyspell-word): Recognize default
1517 dictionary case for flyspell-mark-duplications-exceptions.
1518 Use regexp matching for languages.
1519 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1520 default dictionary (Bug#7926).
1522 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1524 * emacs-lisp/package.el (package--with-work-buffer):
1525 Recognize https URLs.
1527 * net/network-stream.el: Move from gnus/proto-stream.el.
1528 Change prefix to network-stream throughout.
1529 (open-protocol-stream): Merge into open-network-stream, leaving
1530 open-protocol-stream as an alias. Handle nil BUFFER args.
1532 * subr.el (open-network-stream): Move to net/network-stream.el.
1534 2011-04-02 Glenn Morris <rgm@gnu.org>
1536 * find-dired.el (find-exec-terminator): New option.
1537 (find-ls-option): Test for -ls support.
1538 (find-ls-subdir-switches): Test for -b in find-ls-option.
1539 (find-dired, find-grep-dired): Doc fixes.
1540 (find-dired): Use find-exec-terminator.
1542 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1543 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1544 (find-name-arg): Remove purecopy.
1546 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1547 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1548 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1549 accordingly. Don't add the null-device if not needed.
1551 * files.el (save-some-buffers): Doc fix.
1553 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1555 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1557 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1559 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1560 Use `dolist' rather than `mapcar'.
1562 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1564 Add lexical binding.
1566 * subr.el (apply-partially): Use new closures rather than CL.
1567 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1568 (dolist, dotimes): Use slightly different expansion for lexical code.
1569 (functionp): Move to C.
1570 (letrec): New macro.
1571 (with-wrapper-hook): Use it and apply-partially instead of CL.
1572 (eval-after-load): Preserve lexical-binding.
1573 (save-window-excursion, with-output-to-temp-buffer): Turn them
1576 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1578 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1580 (help-add-fundoc-usage): Don't add `Not documented'.
1581 (help-function-arglist): Handle closures, subroutines, and new
1582 byte-code-functions.
1583 (help-make-usage): Remove leading underscores.
1584 (describe-function-1): Handle closures.
1585 (describe-variable): Use special-variable-p for completion.
1587 * files.el (lexical-binding): Declare safe.
1589 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1590 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1591 (pcase): Add `let' pattern.
1592 Change memoization so it actually works.
1593 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1594 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1597 * emacs-lisp/macroexp.el: Use lexical binding.
1598 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1599 Don't convert ' to #' without checking that it's indeed quoting
1602 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1603 Use eval-sexp-add-defvars.
1604 (eval-sexp-add-defvars): New fun.
1606 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1608 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1610 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1611 than the internal `byte-compile-lambda'.
1612 (defmethod): Don't hide code under quotes.
1613 (eieio-defmethod): New `code' argument.
1615 * emacs-lisp/eieio-comp.el: Remove.
1617 * emacs-lisp/edebug.el (edebug-eval-defun)
1618 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1619 (edebug-toggle): Avoid `eval'.
1621 * emacs-lisp/disass.el (disassemble-internal): Handle new
1623 (disassemble-1): Handle new byte codes.
1625 * emacs-lisp/cl.el (pushnew): Silence warning.
1627 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1628 (cl-byte-compile-throw): Remove.
1629 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1631 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1634 * emacs-lisp/cconv.el: New file.
1636 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1637 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1638 (byte-compile-initial-macro-environment):
1639 Handle declare-function here.
1640 (byte-compile--lexical-environment): New var.
1641 (byte-stack-ref, byte-stack-set, byte-discardN)
1642 (byte-discardN-preserve-tos): New lap codes.
1643 (byte-interactive-p): Don't use any more.
1644 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1646 (byte-compile-lapcode): Use them and handle new lap codes.
1647 (byte-compile-obsolete): Remove.
1648 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1649 (byte-compile-arglist-warn): Check late def of inlinable funs.
1650 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1651 since they should have been expanded by now.
1652 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1653 (byte-compile-from-buffer): Remove unused second arg.
1654 (byte-compile-preprocess): New function.
1655 (byte-compile-toplevel-file-form): New function to distinguish
1656 file-form calls from outside from file-form calls from hunk-handlers.
1657 (byte-compile-file-form): Simplify.
1658 (byte-compile-file-form-defsubst): Remove.
1659 (byte-compile-file-form-defmumble): Simplify now that
1660 byte-compile-lambda always returns a byte-code-function.
1661 (byte-compile): Preprocess.
1662 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1663 Remove, not used any more.
1664 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1665 (byte-compile-make-args-desc): New funs.
1666 (byte-compile-lambda): Handle lexical functions. Always return
1667 a byte-code-function.
1668 (byte-compile-reserved-constants): New var, to make up room for
1669 closed-over variables.
1670 (byte-compile-constants-vector): Obey it.
1671 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1672 (byte-compile-macroexpand-declare-function): New function.
1673 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1674 byte-code-functions.
1675 (byte-compile-form): Check obsolescence here.
1676 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1677 (byte-compile-variable-ref): Remove.
1678 (byte-compile-dynamic-variable-op): New fun.
1679 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1680 (byte-compile-variable-set): New funs.
1681 (byte-compile-discard): Add 2 args.
1682 (byte-compile-stack-ref, byte-compile-stack-set)
1683 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1684 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1685 macroexpand-all instead.
1686 (byte-compile-quote-form): Remove.
1687 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1688 (byte-compile-bind, byte-compile-unbind): New funs.
1689 (byte-compile-let): Handle let* and lexical binding.
1690 (byte-compile-let*): Remove.
1691 (byte-compile-catch, byte-compile-unwind-protect)
1692 (byte-compile-track-mouse, byte-compile-condition-case):
1693 Handle a new :fun-body form, used for lexical scoping.
1694 (byte-compile-save-window-excursion)
1695 (byte-compile-with-output-to-temp-buffer): Remove.
1696 (byte-compile-defun): Simplify.
1697 (byte-compile-stack-adjustment): New fun.
1698 (byte-compile-out): Use it.
1699 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1701 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1704 * emacs-lisp/byte-opt.el: Use lexical binding.
1705 (byte-inline-lapcode): Remove (to bytecomp).
1706 (byte-compile-inline-expand): Pay attention to inlining to/from
1707 lexically bound code.
1708 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1710 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1711 any more and don't call compiler-macros.
1712 (byte-compile-splice-in-already-compiled-code): Remove.
1713 (byte-code): Don't inline any more.
1714 (disassemble-offset): Receive `bytes' as argument rather than via
1716 (byte-compile-tag-number): Declare before first use.
1717 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1718 `return' even if make-spliceable.
1719 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1720 obsolete interactive-p.
1721 (byte-optimize-lapcode): Optimize new lap-codes.
1722 Don't trip up on new form of `byte-constant' lap code.
1724 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1726 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1728 * custom.el (custom-initialize-default, custom-declare-variable):
1731 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1733 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1734 (COMPILE_FIRST): Add macroexp and cconv.
1735 * makefile.w32-in: Mirror changes in Makefile.in.
1741 * vc/smerge-mode.el:
1742 * textmodes/bibtex-style.el:
1751 * emacs-lisp/smie.el:
1754 * abbrev.el: Use lexical binding.
1756 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1758 * info.el (info-display-manual): New function.
1760 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1764 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1766 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1767 an entry for that server in rcirc-authinfo. (Bug#8385)
1769 2011-03-31 Glenn Morris <rgm@gnu.org>
1771 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1773 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1775 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1777 * progmodes/python.el (python-default-interpreter)
1778 (python-python-command-args, python-jython-command-args)
1779 (python-which-shell, python-which-args, python-which-bufname)
1780 (python-file-queue, python-comint-output-filter-function)
1781 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1782 variables and functions.
1784 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1787 (completion-in-region-mode): New minor mode.
1788 (completion-in-region): Use it.
1789 (completion-in-region--data, completion-in-region-mode-map): New vars.
1790 (completion-in-region--postch): New function.
1791 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1793 (completion--capf-wrapper): New function.
1794 (completion-at-point): Use it to track well-behavedness of
1796 (completion-help-at-point): New command.
1798 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1800 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1801 syntax class to search for whitespace on a single line
1802 (Message-ID: <4D938140.4030905@redhat.com>).
1804 2011-03-30 Leo Liu <sdl.web@gmail.com>
1806 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1808 (edit-abbrevs-map): Bind them here.
1809 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1811 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1813 * allout.el (allout-hide-by-annotation, allout-flag-region):
1814 Reduce possibility of overlay leakage by making them volatile.
1816 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1817 hash is not shared between buffers. Mode initialization is
1818 responsible for giving it a useful starting value.
1819 (allout-item-span): Reduce possibility of overlay leakage by
1820 making them volatile.
1821 (allout-widgets-count-buttons-in-region): Add diagnostic function
1822 for tracking down button overlay leaks.
1824 2011-03-29 Leo Liu <sdl.web@gmail.com>
1826 * ido.el (ido-read-internal): Use the default history var
1827 minibuffer-history if no HISTORY is specified.
1829 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1831 * net/imap.el (imap-shell-open, imap-process-connection-type):
1832 Use imap-process-connection-type for 'shell' streams as well as
1833 Kerberos, SSL, other subprocesses.
1835 2011-03-28 Leo Liu <sdl.web@gmail.com>
1837 * abbrev.el (abbrev-table-empty-p): New function.
1838 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1839 nonempty ones. (Bug#5937)
1841 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1843 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1845 2011-03-27 Leo Liu <sdl.web@gmail.com>
1847 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1848 for foreground and background colors.
1849 (ansi-color-make-color-map): Adapt.
1851 2011-03-25 Leo Liu <sdl.web@gmail.com>
1853 * midnight.el (midnight-time-float): Remove. Note it calculates
1854 the microsecond component incorrectly and seconds-to-time does the
1856 Remove redundant (require 'timer).
1858 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1859 (ido-completions): Remove unused arguments. (Bug#8329)
1861 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * minibuffer.el (completion--flush-all-sorted-completions):
1864 Remove itself from hook.
1865 (completion-at-point): Let the functions perform the completion
1866 immediately and return nil or t.
1867 * comint.el (comint-dynamic-complete-functions): Now identical to
1868 completion-at-point-functions.
1869 (comint-dynamic-list-input-ring): Remove unused var `index'.
1870 (comint--match-partial-filename, comint--unquote&expand-filename):
1871 New funs, split from comint-match-partial-filename.
1872 (comint-dynamic-complete): Use completion-at-point.
1873 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1875 2011-03-24 Drew Adams <drew.adams@oracle.com>
1877 * thingatpt.el: Support `defun'.
1879 2011-03-23 Leo Liu <sdl.web@gmail.com>
1881 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1883 * help-mode.el (help-mode-finish): Tweak regexp.
1885 2011-03-23 Glenn Morris <rgm@gnu.org>
1887 * eshell/esh-opt.el (eshell-eval-using-options):
1888 Do not bind unused local variable `eshell-option-stub'.
1890 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1892 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1894 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1895 keymap variable in `with-no-warnings' to avoid a warning when the
1896 keymap has been already `defconst'ed.
1898 2011-03-22 Leo Liu <sdl.web@gmail.com>
1900 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1901 encode all chars in abbrevs; otherwise use emacs-mule or
1902 utf-8-emacs. (Bug#8308)
1904 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1906 * simple.el (backward-delete-char-untabify):
1907 Avoid warning about using `delete-backward-char'.
1909 * image.el (image-type-file-name-regexps): Make it variable.
1910 `imagemagick-register-types' modifies it, and the user may want
1911 to add new extensions for known image types.
1912 (imagemagick-register-types): Throw error if not using ImageMagick.
1914 2011-03-22 Leo Liu <sdl.web@gmail.com>
1916 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1917 located before rcirc-prompt-end-marker.
1918 (rcirc-complete): Error if point is not after rcirc prompt.
1919 Handle the case when table is nil.
1920 (rcirc-user-authenticated): Define to fix compiler warning.
1922 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1924 * custom.el (custom--inhibit-theme-enable): Make it affect only
1925 custom-theme-set-variables and custom-theme-set-faces.
1926 (provide-theme): Ignore custom--inhibit-theme-enable.
1927 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1928 (custom-enabling-themes): Delete variable.
1929 (enable-theme): Accept only loaded themes as arguments.
1930 Ignore the special custom-enabled-themes variable.
1931 (custom-enabled-themes): Forbid themes from setting this.
1932 Eliminate use of custom-enabling-themes.
1933 (custom-push-theme): Quote "changed" custom var entry.
1935 2011-03-21 Leo Liu <sdl.web@gmail.com>
1937 * ido.el (ido-read-internal): Add ido-selected to history instead
1940 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1942 * subr.el (deferred-action-list, deferred-action-function):
1945 2011-03-21 Leo Liu <sdl.web@gmail.com>
1947 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1948 change on 2011-02-13 (bug#8309).
1950 * minibuffer.el (read-file-name-function): Change default value.
1951 (read-file-name--defaults): Rename from read-file-name-defaults.
1952 (read-file-name-default): Rename from read-file-name.
1953 (read-file-name): Call read-file-name-function.
1955 2011-03-21 Glenn Morris <rgm@gnu.org>
1957 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1960 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1962 * cus-theme.el: Add missing provide statement.
1963 (customize-create-theme): Extract theme value correctly.
1964 (custom-theme-visit-theme): Autoload.
1965 (customize-create-theme): Prompt before inserting default faces.
1967 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1969 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1970 units and musical notes.
1972 2011-03-20 Leo <sdl.web@gmail.com>
1974 * ido.el (ido-read-internal): Use completing-read-default.
1975 (ido-completing-read): Fix compatibility with completing-read.
1977 2011-03-20 Christian Ohler <ohler@gnu.org>
1979 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1980 (ert-delete-all-tests): Use `called-interactively-p' rather than
1982 (ert--make-xrefs-region): Respect END.
1984 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1986 * dired-aux.el (dired-create-directory): Signal an error if the
1987 directory already exists (Bug#8246).
1989 * facemenu.el (list-colors-display): Call list-faces-display
1990 inside with-help-window.
1991 (list-colors-print): Use display property to align the final
1992 column, instead of checking window-width.
1994 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1996 * emerge.el (emerge-metachars): Separate value for ms-dos and
1998 (emerge-protect-metachars): Quote correctly for ms-dos and
2001 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2003 * info.el (info-initialize): Replace all uses of `:' with
2004 path-separator for compatibility with non-Unix systems.
2005 Cache quoting of path-separator. (Bug#8258)
2007 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2009 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2010 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2011 (mouse-avoidance-mode): Fix typos in docstrings.
2013 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2015 * startup.el (package-subdirectory-regexp): Move from package.el.
2016 Omit \\` and \\', and let callers add them.
2018 * emacs-lisp/package.el (package-strip-version)
2019 (package-load-all-descriptors): Add \\` and \\' to
2020 package-subdirectory-regexp before using it.
2021 (package-untar-buffer): New arg DIR; ensure that file untars only
2022 into this expected directory. Remove superfluous delete-region.
2023 (package-unpack): Caller changed.
2024 (package-tar-file-info): Use package-subdirectory-regexp.
2026 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2029 diff-mode-shared-map (bug#8284).
2030 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2032 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2034 * calendar/time-date.el (format-seconds): Use assoc instead of
2035 assoc-string, since assoc-string doesn't exist in XEmacs.
2037 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2039 * custom.el (custom-known-themes): Reflow docstring.
2040 (custom-theme-load-path): Fix typo in docstring.
2041 (load-theme): Fix typo in error message.
2042 (custom-available-themes, custom-variable-theme-value):
2043 Use `let', not `let*'.
2045 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2047 * calc/README: Mention inclusion of musical notes.
2049 * calc/calc-units.el (calc-lu-quant): Rename from
2050 `calc-logunits-quantity'.
2051 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2052 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2053 (calc-db): Rename from `calc-dblevel'.
2054 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2055 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2056 (calc-np): Rename from `calc-nplevel'.
2057 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2058 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2059 (calc-lu-plus): Rename from `calc-logunits-add'.
2060 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2061 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2062 (calc-lu-minus): Rename from `calc-logunits-sub'.
2063 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2064 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2065 (calc-lu-times): Rename from `calc-logunits-mul'.
2066 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2067 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2068 (calc-lu-divide): Rename from `calc-logunits-div'.
2069 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2070 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2072 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2073 functions being autoloaded.
2075 * calc/calc.el (calc-lu-power-reference): Rename from
2076 `calc-logunits-power-reference'.
2077 (calc-lu-field-reference): Rename from
2078 `calc-logunits-field-reference'.
2080 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2082 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2084 * minibuffer.el (completion-all-sorted-completions):
2085 Use :completion-cycle-penalty text property if present.
2087 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2089 * allout.el (allout-yank-processing): Adjust for new rebulleting
2090 regime so bullet being yanked is used without prompting the user
2093 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2095 * startup.el (command-line): Warn the user that _emacs is deprecated.
2097 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2099 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2100 (delphi-verbose, delphi-comment-face, delphi-string-face)
2101 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2102 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2103 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2104 (delphi-new-comment-line, delphi-font-lock-defaults)
2105 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2106 Fix typos in docstrings.
2108 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2110 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2111 Invert the roles of character and string values for INSTEAD, so a
2112 string is used for the more common case of a defaulting prompt.
2114 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2116 * progmodes/ruby-mode.el (ruby-backward-sexp):
2117 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2118 * play/gamegrid.el (gamegrid-make-face):
2119 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2120 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2121 * notifications.el (notifications-notify):
2122 * net/xesam.el (xesam-search-engines):
2123 * net/quickurl.el (quickurl-list-insert):
2124 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2126 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2128 * startup.el (command-line): Update package subdirectory regexp.
2130 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * allout.el (allout-abbreviate-flattened-numbering)
2133 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2135 * subr.el (read-char-choice): Only show the cursor after the prompt,
2136 not after the answer.
2138 2011-03-15 Kevin Ryde <user42@zip.com.au>
2140 * help-fns.el (variable-at-point): Skip leading quotes, if any
2143 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2148 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2150 * shell.el (shell): When called interactively, offer to change the
2151 shell file name on remote hosts.
2153 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2155 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2156 integration for LDAP parameters. The host, base, user or binddn,
2157 and secret tokens can be specified in a netrc file, for instance.
2158 This is optional because an `auth-source' parameter must be
2159 specified in the search attributes.
2161 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2163 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2165 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2168 into declaration. Remove redundant and harmful binding.
2170 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2172 * files.el (file-ownership-preserved-p): Pass `integer' as an
2173 explicit 2nd argument to `file-attributes'. If the file's owner
2174 is the Administrators group on Windows, and the current user is
2175 Administrator, consider that a match.
2177 * server.el (server-ensure-safe-dir): Consider server directory
2178 safe on MS-Windows if its owner is the Administrators group while
2179 the current Emacs user is Administrator. Use `=' to compare
2180 numerical UIDs, since they could be integers or floats.
2182 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2184 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2186 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2188 Sync with Tramp 2.2.1.
2190 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2192 * net/trampver.el: Update release number.
2194 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2196 * progmodes/compile.el (compilation--previous-directory): Fix up
2197 various nil/dead-marker mismatches (bug#8014).
2198 (compilation-directory-properties, compilation-error-properties):
2199 Don't call it at a position past the one we're about to change.
2201 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2202 Disable obsolescence warnings in the file that declares it.
2204 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2206 * allout-widgets.el (allout-widgets-tally):
2207 Initialize allout-widgets-tally as a hash table rather than nil to
2208 prevent mode-line redisplay warnings. Also, clarify the module
2209 description and fix a comment typo.
2211 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2213 * help-fns.el (describe-variable): Don't complete keywords.
2214 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2216 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2218 * emacs-lisp/package.el (package-version-join): Impose a standard
2219 string representation for pre/alpha/beta version lists.
2220 (package-unpack-single): Standardize the directory name by passing
2221 it through package-version-join.
2222 (package-strip-rcs-id): Accept any version string that does not
2223 signal an error in version-to-list.
2225 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2227 * simple.el (delete-trailing-whitespace): Return nil for the
2228 benefit of `write-file-functions'.
2230 2011-03-10 Glenn Morris <rgm@gnu.org>
2232 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2234 * vc/vc-git.el (vc-git-program): New option.
2235 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2236 (vc-git--call): Use it.
2238 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2240 * cus-edit.el (Custom-newline): If no button at point, look
2241 for a subgroup button at start-of-line. (Bug#2298)
2243 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2245 2011-03-10 Julien Danjou <julien@danjou.info>
2247 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2248 `cursor-type' is nil.
2250 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2252 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2254 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2256 * allout.el Summary: Change so yank of distinctive-bullet items
2257 preserves the existing header prefix, rebulleting it if necessary,
2258 rather than replacing it. This is necessary for proper operation
2259 of cooperative addons like allout-widgets.
2260 (allout-make-topic-prefix, allout-rebullet-heading): Change
2261 SOLICIT arg to INSTEAD, and interpret additionally a string value
2262 as alternate bullet to be used, instead of prompting the user for
2265 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2268 Do not use `tramp-file-name-port', because this returns also
2269 `tramp-default-port'.
2271 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2273 * net/rcirc.el (rcirc-handler-001): Remove useless
2274 with-rcirc-process-buffer.
2275 (rcirc-check-auth-status): Swap arguments to string-match.
2277 2011-03-09 Glenn Morris <rgm@gnu.org>
2279 * shell.el (shell-mode):
2280 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2282 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2283 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2285 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2287 * emacs-lisp/package.el (package-refresh-contents)
2288 (package-menu-execute): Use condition-case-no-debug.
2290 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2292 * simple.el (shell-command-to-string): Use `process-file'.
2294 * emacs-lisp/package.el (package-tar-file-info): Handle also
2297 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2298 Use `equal' for upload base check.
2300 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2302 * textmodes/texinfo.el (texinfo-environments):
2303 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2305 2011-03-08 Glenn Morris <rgm@gnu.org>
2307 * cus-start.el (cursor-in-non-selected-windows):
2308 Fix :set quoting oddness. (Bug#8192)
2310 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2311 in some setf expressions. (Bug#2159)
2313 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2315 * custom.el (custom-available-themes): Return themes in
2318 See ChangeLog.15 for earlier changes.
2324 Copyright (C) 2011 Free Software Foundation, Inc.
2326 This file is part of GNU Emacs.
2328 GNU Emacs is free software: you can redistribute it and/or modify
2329 it under the terms of the GNU General Public License as published by
2330 the Free Software Foundation, either version 3 of the License, or
2331 (at your option) any later version.
2333 GNU Emacs is distributed in the hope that it will be useful,
2334 but WITHOUT ANY WARRANTY; without even the implied warranty of
2335 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2336 GNU General Public License for more details.
2338 You should have received a copy of the GNU General Public License
2339 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.