1 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5 2011-05-07 Eli Zaretskii <eliz@gnu.org>
7 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
8 mailclient-send-it even if window-system is nil. (Bug#8595)
10 * term/w32console.el (terminal-init-w32console):
11 Call get-screen-color and use its output to set the frame
12 background-mode. (Bug#8597)
14 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19 (defgeneric, eieio--defmethod): Use them.
20 (eieio-defgeneric): Remove.
21 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23 2011-05-07 Glenn Morris <rgm@gnu.org>
25 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
26 Use let rather than let*.
27 (timeclock-find-discrep): Remove unused local.
29 * calendar/diary-lib.el (diary-comment-start): Doc fix.
31 * calendar/appt.el (appt-time-msg-list): Doc fix.
33 2011-05-06 Noah Friedman <friedman@splode.com>
35 * apropos.el (apropos-print-doc): Only use
36 emacs-lisp-docstring-fill-column when it is bound to an integer,
37 per that variable's documentation.
39 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
41 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
42 and warnings are not silently discarded (e.g. use -d instead of -P).
44 2011-05-06 Glenn Morris <rgm@gnu.org>
46 * calendar/appt.el (appt-message-warning-time): Doc fix.
47 (appt-warning-time-regexp): New option.
48 (appt-make-list): Respect appt-message-warning-time.
50 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
52 (diary-add-to-list): Strip comments from the displayed string.
53 (diary-mode): Set comment-start and comment-end.
55 * vc/diff-mode.el (smerge-refine-subst): Declare.
56 (diff-refine-hunk): Don't require smerge-mode when compiling.
58 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
60 * simple.el (list-processes): Return nil as the docstring says.
62 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
64 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
66 (ange-ftp-write-region, ange-ftp-insert-file-contents)
67 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
68 determining of binary transfer. (Bug#7383)
70 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
72 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
73 Fix port computation bug. (Bug#8618)
75 2011-05-05 Glenn Morris <rgm@gnu.org>
77 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
79 * simple.el (shell-dynamic-complete-functions)
80 (comint-dynamic-complete-functions): Declare.
82 * net/network-stream.el (gnutls-negotiate):
83 * simple.el (tabulated-list-print): Fix declarations.
85 * progmodes/gud.el (syntax-symbol, syntax-point):
86 Remove unnecessary and incorrect declarations.
88 * emacs-lisp/check-declare.el (check-declare-scan):
89 Handle byte-compile-initial-macro-environment in bytecomp.el
91 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
93 Fix earlier half-done eieio-defmethod change (bug#8338).
94 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
95 Streamline and change calling convention.
96 (defmethod): Adjust accordingly and simplify.
97 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
99 (slot-boundp): Minor CSE simplification.
101 2011-05-05 Milan Zamazal <pdm@zamazal.org>
103 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
104 (glasses-make-readable): Use glasses-separate-capital-groups.
106 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
108 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
109 (warning-series): Doc fix.
110 (display-warning): Don't try to create the buffer if we just found it.
112 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
114 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
115 (autoload-find-generated-file): New function.
116 (generate-file-autoloads): Bind generated-autoload-file to
118 (update-file-autoloads, update-directory-autoloads):
119 Use autoload-find-generated-file. If called interactively, prompt for
120 output file (Bug#7989).
121 (batch-update-autoloads): Doc fix.
123 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
125 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
127 2011-05-04 Glenn Morris <rgm@gnu.org>
129 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
130 function, so it follows changes in calendar-date-style.
131 (diary-fancy-date-matcher): New function.
132 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
133 (diary-fancy-font-lock-fontify-region-function):
134 Use diary-fancy-date-pattern as a function.
136 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
137 non-numbers for `year' etc pseudo-variables. (Bug#8583)
139 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
141 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
142 instead of positional arguments. Allow :keylist and :crlfiles
144 (open-gnutls-stream): Call it.
146 * net/network-stream.el (network-stream-open-starttls): Adjust to
147 call `gnutls-negotiate' with :process and :hostname arguments.
149 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
151 * minibuffer.el (completion--message): New function.
152 (completion--do-completion, minibuffer-complete)
153 (minibuffer-force-complete, minibuffer-complete-word): Use it.
154 (completion--do-completion): Don't ignore completion-auto-help when in
157 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
158 internal encoding (e.g. tibetan zero is not whitespace).
159 (global-whitespace-mode): Prefer save-current-buffer.
160 (whitespace-trailing-regexp): Remove useless save-match-data.
161 (whitespace-empty-at-bob-regexp): Minor simplification.
163 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
165 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
167 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
169 * textmodes/ispell.el (ispell-add-per-file-word-list):
170 Use `concat' to create string for insertion.
172 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
174 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
175 Avoid open-line which runs post-self-insert-hook.
176 (bibtex-fill-entry): Remove unused `end' var.
178 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
180 * textmodes/ispell.el (ispell-add-per-file-word-list):
181 Protect against `nil' value of `comment-start' (Bug#8579).
183 2011-05-03 Leo Liu <sdl.web@gmail.com>
185 * isearch.el (isearch-yank-pop): New command.
186 (isearch-mode-map): Bind it to `M-y'.
187 (isearch-forward): Mention it.
189 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
191 * simple.el (minibuffer-complete-shell-command): Remove.
192 (minibuffer-local-shell-command-map): Use completion-at-point.
193 (read-shell-command): Setup completion vars here instead.
194 (read-expression-map): Bind TAB to symbol completion.
196 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
197 error directly rather via storing it into `results'.
199 2011-05-02 Leo Liu <sdl.web@gmail.com>
201 * vc/diff.el: Fix description.
203 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
205 * server.el (server-eval-at): New function.
207 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
209 * net/network-stream.el (open-network-stream): Take a :nowait
210 parameter and pass it on to `make-network-process'.
211 (network-stream-open-plain): Ditto.
213 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
215 * faces.el (face-spec-set-match-display): Don't match toolkit
216 options on terminal frames.
218 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
220 * progmodes/pascal.el: Use lexical binding.
221 (pascal-mode-map): Remove author preferences.
223 * pcomplete.el (pcomplete-std-complete): Don't abuse
226 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
228 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
229 removing code that has been dead since 1991 or so.
231 * startup.el (command-line): When warning about "_emacs", use a
232 delayed warning to allow the user to filter it out.
234 2011-04-28 Deniz Dogan <deniz@dogan.se>
236 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
239 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
241 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
242 aren't any completions at point.
244 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
246 * subr.el (display-delayed-warnings): New function.
247 (delayed-warnings-hook): New variable.
249 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
251 * minibuffer.el (completion-at-point, completion-help-at-point):
252 Don't presume that a given completion-at-point-function will always
253 use the same calling convention.
255 * pcomplete.el (pcomplete-completions-at-point):
256 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
257 pcomplete-seen is non-nil.
258 (pcomplete-comint-setup): Also recognize the new comint/shell
259 completion functions.
260 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
261 pcomplete-seen is non-nil.
263 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
265 * calendar/icalendar.el (diary-lib): Add require statement.
266 (icalendar--create-uid): Read out a uid from a text-property on
267 the first character in the entry. This allows for code to add its
268 own uid to the entry.
269 (icalendar--convert-float-to-ical): Add export of
270 `diary-float'-entries save for those with the optional DAY
273 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
275 * subr.el (shell-quote-argument): Use alternate escaping strategy
276 when we spot a variable reference in a string.
278 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
280 * cus-start.el (all): Define customization for debug-on-event.
282 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
284 * subr.el (shell-quote-argument): Escape correctly under Windows.
286 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
288 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
290 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
292 * net/tramp.el (tramp-process-actions): Add POS argument.
293 Delete region between POS and (pos).
295 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
296 Use `nil' position in `tramp-process-actions' call.
297 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
299 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
300 position in `tramp-process-actions' call.
302 * net/trampver.el: Update release number.
304 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
306 * custom.el (defcustom): Obey lexical-binding.
308 Fix octave-inf completion problems reported by Alexander Klimov.
309 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
310 Inherit from octave-mode-syntax-table.
311 (inferior-octave-mode): Set info-lookup-mode.
312 (inferior-octave-completion-at-point): New function.
313 (inferior-octave-complete): Use it and completion-in-region.
314 (inferior-octave-dynamic-complete-functions): Use it as well, and use
315 comint-filename-completion.
316 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
317 symbol elements which shouldn't be word elements.
318 (octave-font-lock-keywords, octave-beginning-of-defun)
319 (octave-function-header-regexp): Adjust regexps accordingly.
320 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
322 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
324 * net/gnutls.el (gnutls-errorp): Declare before first use.
326 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
328 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
329 verify-error, and verify-hostname-error parameters. Check whether
330 default trustfile exists before going to use it. Add missing
331 argument to gnutls-message-maybe call. Return return value.
332 Reported by Claudio Bley <claudio.bley@gmail.com>.
333 (open-gnutls-stream): Add usage example.
335 * net/network-stream.el (network-stream-open-starttls): Give host
336 parameter to `gnutls-negotiate'.
337 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
338 * subr.el (shell-quote-argument): Escape correctly under Windows.
340 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
342 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
343 Use correct match group (bug#8438).
345 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
347 * emacs-lisp/package.el (package-built-in-p): Fix typo.
348 (package-menu--generate): New arg specifying packages to show.
349 (package-menu-refresh, package-menu-execute, list-packages):
351 (package-show-package-list): New function, replacing deleted
352 package--list-packages (renamed because it is non-internal).
354 * finder.el (finder-list-matches): Use package-show-package-list
355 instead of deleted package--list-packages.
357 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
358 Based on a previous implementation by Juanma Barranquero (Bug#8366).
359 (vc-annotate-mode-map): Bind it to RET.
361 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
363 * progmodes/etags.el (next-file): Don't use set-buffer to change
366 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
368 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
370 * apropos.el (apropos-label-face): Avoid variable-pitch face.
371 (apropos-accumulator): Doc fix.
372 (apropos-function, apropos-macro, apropos-command)
373 (apropos-variable, apropos-face, apropos-group, apropos-widget)
374 (apropos-plist): Add face property.
375 (apropos-symbols-internal): Fix indentation.
376 (apropos-print): Simplify help, and recognize apropos-multi-type.
377 (apropos-print-doc): Use button-type-get to extract the button's
378 face property. Fill docstring (Bug#8352).
380 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
382 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
384 * play/mpuz.el (mpuz-silent): Doc fix.
385 (mpuz-mode-map): Use mapc.
386 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
387 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
388 Fix typos in docstrings.
390 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
391 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
393 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
395 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
397 * minibuffer.el (completion--do-completion): Avoid the "Next char
398 not unique" prompt if icomplete-mode is enabled (Bug#5849).
400 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
401 mouse-2 into unread-command-events, it is interpreted correctly.
403 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
404 (image-toggle-display): Doc fix.
406 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
408 * textmodes/page.el (what-page): Use line-number-at-pos to
409 calculate line number (Bug#6825).
411 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
413 * eshell/esh-mode.el (find-tag-interactive): Declare function.
414 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
415 Pass argument NO-DEFAULT to `find-tag-interactive'.
417 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
419 Lexical-binding cleanup.
421 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
422 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
423 * progmodes/ada-prj.el (ada-prj-initialize-values)
424 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
425 (ada-prj-show-value):
426 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
427 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
428 (antlr-invalidate-context-cache, antlr-options-menu-filter)
429 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
430 * progmodes/bug-reference.el (bug-reference-push-button):
431 * progmodes/fortran.el (fortran-line-length):
432 * progmodes/glasses.el (glasses-change):
433 * progmodes/octave-mod.el (octave-fill-paragraph):
434 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
435 (python-pdbtrack-grub-for-buffer, python-sentinel):
436 * progmodes/sql.el (sql-save-connection):
437 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
438 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
439 Mark unused parameters.
441 * progmodes/compile.el (compilation--flush-directory-cache)
442 (compilation--flush-parse, compile-internal): Mark unused parameters.
443 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
444 (compilation-next-error-function): Remove unused variable `timestamp'.
446 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
447 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
449 * progmodes/dcl-mode.el (dcl-end-of-command):
450 Remove unused variable `start'.
451 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
452 (dcl-option-value-basic, dcl-option-value-offset)
453 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
454 Mark unused parameters.
455 (dcl-save-local-variable): Remove unused variable `val'.
458 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
459 Mark unused parameters.
460 (delphi-ignore-changes): Move before first use.
461 (delphi-charset-token-at): Remove unused variable `start'.
462 (delphi-else-start): Remove unused variable `if-count'.
463 (delphi-comment-block-start, delphi-comment-block-end):
464 Remove unused variable `kind'.
465 (delphi-indent-line): Remove unused variable `new-point'.
467 * progmodes/ebrowse.el (ebrowse-files-list)
468 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
469 Mark unused parameters. Don't quote `lambda'.
470 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
471 Don't quote `lambda'.
472 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
473 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
474 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
475 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
477 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
478 (ebrowse-view/find-file-and-search-pattern)
479 (ebrowse-view/find-member-declaration/definition):
480 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
481 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
482 Rename parameter PREFIX-ARG to PREFIX.
483 (ebrowse-tags-read-name): Remove unused variables `start' and
485 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
488 * progmodes/etags.el (local-find-tag-hook): Declare.
489 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
490 Mark unused parameters.
492 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
493 (executable-interpret): Mark unused parameter.
495 * progmodes/flymake.el (flymake-process-sentinel)
496 (flymake-after-change-function)
497 (flymake-create-temp-with-folder-structure)
498 (flymake-get-include-dirs-dot): Mark unused parameters.
499 (flymake-safe-delete-directory): Remove unused variable `err'.
501 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
502 (speedbar-timer-fn, speedbar-line-text)
503 (speedbar-change-expand-button-char, speedbar-delete-subblock)
504 (speedbar-center-buffer-smartly): Declare functions.
505 (gdb-find-watch-expression): Remove unused variable `array'.
506 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
507 (gdb-starting): Mark unused parameters.
508 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
509 (gdb-table-string): Remove unused variable `res'.
510 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
511 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
512 (gdb-display-buffer): Remove unused variable `cur-size'.
514 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
515 allow lexical-binding compilation.
516 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
517 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
518 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
519 Mark unused parameters.
520 (gud-gdb-marker-filter): Remove unused variable `match'.
521 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
522 lambda expressions and funcall them, instead of using `fset'.
524 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
525 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
527 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
528 variable `header-beg'; use `let'.
530 * progmodes/icon.el (indent-icon-exp): Remove unused variables
531 `restart', `last-sexp' and `at-do'.
533 * progmodes/js.el (js--debug): Mark unused parameter.
534 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
535 (js--splice-into-items): Remove unused variable `item'.
536 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
538 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
539 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
540 (makefile-complete): Remove unused variable `try'.
541 (makefile-fill-paragraph, makefile-match-function-end):
542 Mark unused parameters.
544 * progmodes/octave-inf.el (inferior-octave-complete):
545 Remove unused variable `proc'.
546 (inferior-octave-output-digest): Mark unused parameter.
548 * progmodes/perl-mode.el (perl-calculate-indent):
549 Remove unused variable `err'.
551 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
552 (prolog-indent-line): Mark unused parameters.
553 (prolog-indent-line): Remove unused variable `beg'.
555 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
556 (reporter-dont-compact-list): Declare.
558 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
559 Remove unused variable `char'.
560 (sh-debug): Mark unused parameter.
561 (sh-get-indent-info): Remove unused variable `start'.
562 (sh-calculate-indent): Remove unused variable `var'.
564 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
565 (simula-electric-keyword): Remove unused variable `null'.
566 (simula-search-backward, simula-search-forward): Remove unused
567 variables `begin' and `end'.
569 * progmodes/vera-mode.el (vera-guess-basic-syntax):
570 Remove unused variable `pos'.
571 (vera-electric-tab, vera-comment-uncomment-region):
572 Mark unused parameters.
573 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
575 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
577 * emacs-lisp/package.el (package--builtins, package-alist)
578 (package-load-descriptor, package-built-in-p, package-activate)
579 (define-package, package-installed-p)
580 (package-compute-transaction, package-buffer-info)
581 (package--push): Doc fix. Distinguish more clearly between
582 version strings and version lists.
584 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
586 Lexical-binding cleanup.
588 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
589 (5x5-make-mutate-best):
590 * play/fortune.el (fortune-in-buffer):
591 * play/gomoku.el (gomoku-init-display):
592 * play/solitaire.el (solitaire, solitaire-do-check):
593 * play/tetris.el (tetris-default-update-speed-function):
594 Mark unused parameters.
596 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
597 (bubbles--shift): Remove unused variable `char-org'.
598 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
599 (bubbles--show-images): Remove unused variable `char'.
601 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
602 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
603 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
604 (decipher-analyze-buffer): Use ?\s.
605 (decipher-make-checkpoint): Remove unused variable `mapping'.
607 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
609 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
610 Remove unused variable `result'; use `let'.
612 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
613 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
614 (gametree-children-shown-p, gametree-compute-reduced-score):
617 * play/handwrite.el (ps-lpr-switches): Declare.
618 (handwrite): Remove unused variables `pmin' and `lastp'.
620 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
622 * play/landmark.el (landmark-init-display)
623 (landmark-update-naught-weights): Mark unused parameters.
624 (landmark-y): Remove unused variable `noise'. Simplify.
625 (landmark-human-plays): Remove unused variable `score'.
627 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
628 (mpuz-try-proposal): Remove unused variable `game'.
630 * play/zone.el (life-patterns): Declare.
632 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
634 * vc/vc.el (ediff-vc-internal): Declare function.
636 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
638 * shell.el: Use lexical-binding and std completion UI.
639 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
640 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
641 comint-preoutput-filter-functions rather than on
642 comint-output-filter-functions.
643 (shell-command-completion, shell--command-completion-data)
644 (shell-filename-completion, shell-environment-variable-completion)
645 (shell-c-a-p-replace-by-expanded-directory): New functions.
646 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
647 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
648 (shell-dynamic-complete-environment-variable): Use them.
649 (shell-dynamic-complete-as-environment-variable)
650 (shell-dynamic-complete-as-command): Remove.
651 (shell-match-partial-variable): Match past point.
652 * comint.el: Clean up use of completion-at-point-functions.
653 (comint-completion-at-point): New function.
654 (comint-mode): Use it completion-at-point-functions.
655 (comint-dynamic-complete): Make it obsolete.
656 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
657 (comint-c-a-p-replace-by-expanded-history): New function.
658 (comint-dynamic-complete-functions)
659 (comint-replace-by-expanded-history): Use it.
660 * minibuffer.el (completion-table-with-terminator): Allow dynamic
661 termination strings. Try harder to avoid second try-completion.
662 (completion-in-region-mode-map): Disable bindings that don't work yet.
664 * comint.el: Use lexical-binding. Require CL.
665 (comint-dynamic-complete-functions): Use comint-filename-completion.
666 (comint-completion-addsuffix): Tweak custom type.
667 (comint-filename-completion, comint--common-suffix)
668 (comint--common-quoted-suffix, comint--table-subvert)
669 (comint--complete-file-name-data): New functions.
670 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
671 (comint-dynamic-list-filename-completions): Use them.
672 (comint-dynamic-simple-complete): Make obsolete.
674 * minibuffer.el (completion-in-region-mode):
675 Keep completion-in-region-mode--predicate global.
676 (completion-in-region--postch):
677 Assume completion-in-region-mode--predicate is not null.
679 * progmodes/flymake.el (flymake-start-syntax-check-process):
680 Obey `dir'. Simplify.
682 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
683 we're in VC after all.
685 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
687 * vc/vc.el (vc-diff-build-argument-list-internal)
688 (vc-version-ediff, vc-ediff): New commands.
689 (vc-version-diff): Use vc-diff-build-argument-list-internal.
691 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
693 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
696 * obsolete/erc-hecomplete.el: Make obsolete.
697 * obsolete/: Standardize obsolescence info in the header.
699 2011-04-20 Glenn Morris <rgm@gnu.org>
701 * calendar/solar.el (solar-horizontal-coordinates):
702 Use the longitude argument rather than `calendar-longitude'.
703 (solar-date-next-longitude): Remove unused locals.
705 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
707 * whitespace.el: New version 13.2.1.
709 2011-04-20 felix <EmacsWiki> (tiny change)
711 * whitespace.el (global-whitespace-mode): keep highlight when
712 switching between major modes on a file.
714 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
716 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
717 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
718 multi-line comments as well.
720 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
722 Lexical-binding cleanup.
724 * arc-mode.el (archive-mode-revert):
725 * cmuscheme.el (scheme-interactively-start-process):
726 * custom.el (custom-initialize-delay):
727 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
728 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
729 * emacs-lock.el (emacs-lock-clear-sentinel):
730 * ezimage.el (defezimage):
731 * follow.el (follow-avoid-tail-recenter):
732 * fringe.el (set-fringe-mode-1):
733 * generic-x.el (bat-generic-mode-compile):
734 * help-mode.el (help-info-variable, help-do-xref)
735 (help-mode-revert-buffer):
736 * help.el (view-emacs-todo):
737 * iswitchb.el (iswitchb-completion-help):
738 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
739 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
740 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
741 * locate.el (locate-update):
742 * longlines.el (longlines-encode-region)
743 (longlines-after-change-function):
744 * outline.el (outline-isearch-open-invisible):
745 * ps-def.el (declare-function, charset-dimension, char-width)
747 * ps-mule.el (ps-mule-plot-string):
748 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
749 (recentf-edit-list-select, recentf-edit-list-validate)
750 (recentf-open-files-action):
751 * rect.el (delete-whitespace-rectangle-line)
752 (rectangle-number-line-callback):
753 * register.el (window-configuration-to-register)
754 (frame-configuration-to-register):
755 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
756 * select.el (xselect-convert-to-string, xselect-convert-to-length)
757 (xselect-convert-to-targets, xselect-convert-to-delete)
758 (xselect-convert-to-filename, xselect-convert-to-charpos)
759 (xselect-convert-to-lineno, xselect-convert-to-colno)
760 (xselect-convert-to-os, xselect-convert-to-host)
761 (xselect-convert-to-user, xselect-convert-to-class)
762 (xselect-convert-to-name, xselect-convert-to-integer)
763 (xselect-convert-to-atom, xselect-convert-to-identity):
764 * subr.el (declare, ignore, process-kill-without-query)
765 (text-clone-maintain):
766 * terminal.el (te-get-char, te-tic-sentinel):
767 * tool-bar.el (tool-bar-make-keymap):
768 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
769 * type-break.el (type-break-mode, type-break-noninteractive-query):
770 * view.el (View-back-to-mark):
771 * wid-browse.el (widget-browse-action, widget-browse-widget)
772 (widget-browse-widgets, widget-browse-sexp):
773 * widget.el (define-widget-keywords):
774 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
775 Mark unused parameters.
777 * align.el (align-adjust-col-for-rule): Mark unused parameter.
778 (align-areas): Remove unused variable `look'.
779 (align-region): Remove unused variables `real-end' and `pos-list'.
781 * apropos.el (apropos-score-doc): Remove unused variable `i'.
783 * bindings.el (mode-line-modified, mode-line-remote):
784 Mark unused parameters.
785 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
787 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
788 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
790 * comint.el (comint-history-isearch-pop-state)
791 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
792 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
793 (comint-substitute-in-file-name): Doc fix.
795 * completion.el (cmpl-statistics-block): Mark unused parameter.
796 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
797 (save-completions-to-file, load-completions-from-file):
798 Remove unused local variable `e'.
800 * composite.el (compose-chars): Remove unused variable `len'.
801 (lgstring-insert-glyph): Remove unused variable `g'.
802 (compose-glyph-string): Remove unused variables `ascent',
803 `descent', `lbearing' and `rbearing'.
804 (compose-glyph-string-relative): Remove unused variables
805 `lbearing', `rbearing' and `wadjust'.
806 (compose-gstring-for-graphic): Remove unused variables `header',
807 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
808 (compose-gstring-for-terminal): Remove unused variables `header'
809 and `nchars'. Use `let', not `let*'.
811 * cus-edit.el (Custom-set, Custom-save, custom-reset)
812 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
813 (Custom-buffer-done, custom-buffer-create-internal)
814 (custom-browse-visibility-action, custom-browse-group-tag-action)
815 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
816 (widget-magic-mouse-down-action, custom-toggle-parent)
817 (custom-add-parent-links, custom-toggle-hide-variable)
818 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
819 (custom-toggle-hide-face, face, hook, custom-group-link-action)
820 (custom-face-menu-create, custom-variable-menu-create, get)
821 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
822 (custom-reset-standard-save-and-update): Remove unused variable `value'.
823 (customize-apropos): Remove unused variable `tests'.
824 (custom-group-value-create): Remove unused variable `hidden-p'.
825 (sort-fold-case): Declare.
827 * cus-theme.el (custom-reset-standard-faces-list)
828 (custom-reset-standard-variables-list): Declare.
829 (customize-create-theme, custom-theme-revert, custom-theme-write)
830 (custom-theme-choose-mode, customize-themes, custom-theme-save):
831 Mark unused parameters.
833 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
835 * delim-col.el (delimit-columns-max): Move defvar before first use.
837 * descr-text.el (describe-char-categories): Don't quote `lambda'.
838 (describe-char): Don't quote `lambda'. Mark unused parameter.
840 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
841 (auto-insert): Declare.
842 (desktop-restore-file-buffer): Rename desktop-* parameters;
844 (desktop-create-buffer): Rename desktop-* parameters and bind them.
845 (desktop-buffer): Rename desktop-* parameters.
847 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
848 (dframe-reposition-frame-xemacs, dframe-help-echo)
849 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
850 Mark unused parameters.
852 * dired-aux.el (backup-extract-version-start, overwrite-query)
853 (overwrite-backup-query, rename-regexp-query)
854 (rename-non-directory-query): Declare.
855 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
856 (dired-add-entry): Remove unused variable `orig-file-name'.
857 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
858 Use parameter PRESERVE-TIME instead of accessing dynamic variable
859 `dired-copy-preserve-time' directly.
860 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
861 (dired-insert-subdir-newpos): Rename unused variable `pos'.
863 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
864 (dired-virtual-revert, dired-make-relative-symlink):
865 Mark unused parameters.
866 (manual-program): Declare.
867 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
868 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
869 wrapped in `with-no-warnings' to avoid replacing one warning by another.
871 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
873 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
875 * echistory.el (electric-history-in-progress, Helper-return-blurb):
878 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
880 * electric.el (Electric-command-loop): Rename parameter
881 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
883 * expand.el (expand-in-literal): Remove unused variable `here'.
885 * facemenu.el (facemenu-add-new-color):
886 Remove unused variable `docstring'.
888 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
889 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
890 (face-attr-construct): Mark unused parameter. Doc fix.
891 (read-color): Remove unused variable `hex-string'.
893 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
894 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
895 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
896 (display-buffer-other-frame): Remove unused variable `old-window'.
897 (kill-buffer-hook): Declare.
898 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
899 Mark unused parameters.
900 (after-find-file): Pass 1 to `auto-save-mode', not t.
902 * files-x.el (auto-insert): Declare.
903 (modify-file-local-variable-prop-line): Remove unused variable `val'.
905 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
906 variable `buf'. Mark unused parameter.
907 (find-lisp-insert-directory): Mark unused parameter.
909 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
910 (format-encode-region): Remove unused variables `cur-buf' and `result'.
911 (format-common-tail): Remove, unused.
912 (format-deannotate-region): Remove unused variable `loc'.
913 (format-annotate-region): Remove unused variable `p'.
914 (format-annotate-single-property-change): Remove unused variables
915 `default' and `tail'.
917 * forms.el (read-file-filter): Declare.
918 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
920 * frame.el (frame-creation-function-alist): Mark unused parameter.
921 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
923 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
924 Remove unused parameters.
925 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
926 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
928 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
929 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
930 (hfy-prepare-tag-map): Mark unused parameters.
931 (htmlfontify-buffer): Use `called-interactively-p'.
933 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
934 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
935 (ibuffer-do-occur): Mark unused parameters.
936 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
937 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
939 * ibuffer.el: Don't quote `lambda'.
940 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
941 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
942 Mark unused parameters.
944 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
945 (ido-completing-read): Mark unused parameters.
946 (ido-copy-current-word): Mark unused parameters;
947 remove unused variable `name'.
948 (ido-sort-merged-list): Remove unused parameter `dirs'.
950 * ielm.el (ielm-input-sender): Mark unused parameter.
951 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
952 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
953 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
954 `ielm-string' as a dynamic variable accessible from the IELM prompt.
955 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
957 * image-dired.el (image-dired-display-thumbs): Remove unused
958 variables `curr-file' and `count'.
959 (image-dired-remove-tag): Remove unused variable `start'.
960 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
962 (image-dired-rotate-original): Remove unused variable `temp-file'.
963 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
964 Remove unused variable `file'.
965 (image-dired-gallery-generate): Remove unused variable `curr'.
966 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
968 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
970 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
972 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
974 * isearch.el (minibuffer-history-symbol): Declare.
975 (isearch-edit-string): Remove unused variable `err'.
976 (isearch-message-prefix, isearch-message-suffix):
977 Mark unused parameters.
979 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
981 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
983 * makesum.el (double-column): Remove unused variable `cnt'.
985 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
986 (ido-ignore-item-temp-list): Declare.
988 * mouse-drag.el (mouse-drag-throw): Remove unused variables
989 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
990 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
991 (mouse-drag-drag): Remove unused variables `mouse-delta' and
994 * mouse-sel.el (mouse-extend-internal):
995 Remove unused variable `orig-window-frame'.
997 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
998 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
999 Move declarations before first use.
1000 (pcomplete-opt): Mark unused parameters; doc fix.
1002 * proced.el (proced-revert): Mark unused parameter.
1003 (proced-send-signal): Remove unused variable `err'.
1005 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1006 Rename parameter PREFIX-ARG to ARG.
1007 (ps-basic-plot-string, ps-basic-plot-whitespace):
1008 Mark unused parameters.
1010 * replace.el (replace-count): Define.
1011 (occur-revert-function): Mark unused parameters.
1012 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1013 (isearch-case-fold-search, isearch-string): Declare.
1014 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1015 bind `case-fold-search'. Remove unused variables `beg' and `end',
1017 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1018 COUNT and bind `replace-count'.
1019 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1022 * savehist.el (print-readably, print-string-length): Declare.
1024 * shadowfile.el (shadow-expand-cluster-in-file-name):
1025 Remove unused variable `cluster'.
1026 (shadow-copy-file): Remove unused variable `i'.
1027 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1028 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1029 (shadow-define-literal-group, shadow-define-regexp-group)
1030 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1032 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1033 (shell): Use `called-interactively-p'.
1034 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1036 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1037 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1038 (delete-backward-char): Remove unused variable `ocol'.
1039 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1040 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1041 (event-apply-hyper-modifier, event-apply-shift-modifier)
1042 (event-apply-control-modifier, event-apply-meta-modifier):
1043 Mark unused parameters.
1044 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1045 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1047 * speedbar.el (speedbar-ignored-directory-expressions)
1048 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1049 (speedbar-find-file, speedbar-dir-follow)
1050 (speedbar-directory-buttons-follow, speedbar-tag-find)
1051 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1052 (speedbar-buffers-line-directory, speedbar-buffer-click):
1053 Mark unused parameters.
1054 (speedbar-tag-file): Remove unused variable `mode'.
1055 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1057 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1059 * talk.el (talk): Remove unused variable `display'.
1061 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1062 (tar-write-region-annotate): Mark unused parameter.
1064 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1065 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1066 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1069 * time-stamp.el (time-stamp-string-preprocess):
1070 Remove unused variable `require-padding'.
1072 * tree-widget.el (widget-glyph-enable): Declare.
1073 (tree-widget-action): Mark unused parameter.
1075 * w32-fns.el (x-get-selection): Mark unused parameter.
1076 (autoload-make-program, generated-autoload-file): Declare.
1078 * wdired.el (wdired-revert): Mark unused parameters.
1079 (wdired-xcase-word): Remove unused variable `err'.
1081 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1082 (whitespace-help-scroll): Remove unused variable `data-help'.
1084 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1085 (widget-image-insert, widget-after-change, default)
1086 (widget-default-format-handler, widget-default-notify)
1087 (widget-default-prompt-value, widget-info-link-action)
1088 (widget-url-link-action, widget-function-link-action)
1089 (widget-variable-link-action, widget-file-link-action)
1090 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1091 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1092 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1093 (widget-insert-button-action, widget-delete-button-action, visibility)
1094 (widget-documentation-link-action, widget-documentation-string-action)
1095 (widget-const-prompt-value, widget-regexp-match, symbol)
1096 (widget-coding-system-prompt-value)
1097 (widget-key-sequence-value-to-external, sexp)
1098 (widget-sexp-value-to-internal, character, vector, cons)
1099 (widget-choice-prompt-value, widget-boolean-prompt-value)
1100 (widget-color--choose-action): Mark unused parameters.
1101 (widget-item-match-inline, widget-choice-match-inline)
1102 (widget-checklist-match, widget-checklist-match-inline)
1103 (widget-group-match): Rename parameter VALUES to VALS.
1104 (widget-field-value-set): Remove unused variable `size'.
1105 (widget-color-action): Remove unused variables `value' and `start'.
1107 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1108 variable `dir'. Doc fix.
1109 (windmove-find-other-window): Don't pass it.
1111 * window.el (count-windows): Mark unused parameter.
1112 (bw-adjust-window): Remove unused variable `err'.
1114 * woman.el (woman-file-name): Remove unused variable `default'.
1115 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1116 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1117 (global-font-lock-mode): Declare.
1118 (woman-decode-region): Mark unused parameter.
1119 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1121 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1122 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1123 (x-dnd-handle-moz-url): Remove unused variable `title'.
1124 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1126 * xml.el (xml-parse-tag, xml-parse-attlist):
1127 Remove unused variable `pos'.
1129 2011-04-19 Glenn Morris <rgm@gnu.org>
1131 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1132 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1133 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1134 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1135 * calendar/cal-html.el (cal-html-insert-minical):
1136 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1137 (calendar-mark-date-pattern):
1138 Prefix "unused" locals.
1140 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1141 optional argument `style'.
1143 * calendar/appt.el (appt-make-list):
1144 * calendar/cal-china.el (calendar-chinese-date-string):
1145 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1146 (diary-hebrew-yahrzeit):
1147 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1148 * calendar/calendar.el (calendar-generate-window):
1149 * calendar/time-date.el (time-to-days):
1150 Remove unused local variables.
1152 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1154 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1155 glyphless-char-display table.
1156 (tabulated-list-glyphless-char-display): New var.
1158 2011-04-18 Sam Steingold <sds@gnu.org>
1160 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1163 2011-04-17 Glenn Morris <rgm@gnu.org>
1165 * calendar/diary-lib.el (diary-sexp-entry):
1166 * calendar/holidays.el (holiday-sexp):
1167 Set debug-on-error rather than the removed stack-trace-on-error.
1169 2011-04-16 Glenn Morris <rgm@gnu.org>
1171 * progmodes/f90.el: Use lexical-binding.
1172 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1174 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1177 (mail-mode): Setup mailalias completion here instead.
1178 * mail/mailalias.el: Use lexical-binding.
1179 (pattern, mailalias-done): Declare dynamic.
1180 (mail-completion-at-point-function): New function, from mail-complete.
1181 (mail-complete): Use it.
1182 (mail-completion-expand): New function.
1183 (mail-get-names): Use it.
1184 (mail-directory, mail-directory-process, mail-directory-stream):
1185 Don't use `pattern' for lexically bound arg.
1187 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1189 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1190 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1191 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1193 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1194 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1195 (byte-interactive-p): Define them again, for use when inlining
1198 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1200 * loadup.el: Use `string-to-number', not `string-to-int'.
1202 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1205 gud-gdb-complete-command.
1206 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1207 (gud-gdb-completion-at-point): New function.
1208 (gud-gdb-completions): Remove.
1210 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1212 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1213 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1214 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1215 whether `executable-find' is bound.
1217 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1219 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * minibuffer.el (completion-in-region-mode-predicate)
1222 (completion-in-region-mode--predicate): New vars.
1223 (completion-in-region, completion-in-region--postch)
1224 (completion-in-region-mode): Use them.
1225 (completion--capf-wrapper): Also return the hook function.
1226 (completion-at-point, completion-help-at-point):
1227 Adjust and provide a predicate.
1229 Preserve arg names for advice of subr and lexical functions (bug#8457).
1230 * help-fns.el (help-function-arglist): Consolidate the subr and
1231 new-byte-code cases. Add argument `preserve-names' to extract names
1232 from the docstring when needed.
1233 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1234 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1235 (ad-arglist): Use help-function-arglist's new arg.
1236 (ad-definition-type): Use cond.
1238 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1240 * autorevert.el (auto-revert-handler):
1241 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1242 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1245 * image-mode.el (image-transform-set-scale):
1246 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1248 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1250 * net/network-stream.el (network-stream-open-starttls): Only do
1251 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1252 Upgrades via gnutls-cli are too slow to be done opportunistically.
1254 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1256 * dframe.el (dframe-current-frame): Remove spurious quote.
1258 2011-04-12 Glenn Morris <rgm@gnu.org>
1260 * calendar/cal-tex.el (cal-tex-end-document):
1261 Try to automatically use latin1 input if needed.
1263 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1264 Don't try to cons a mark onto an empty element.
1266 2011-04-11 Leo Liu <sdl.web@gmail.com>
1268 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1270 (ido-kill-buffer-at-head): Support killing virtual buffers.
1272 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1274 * minibuffer.el (completion-show-inline-help): New var.
1275 (completion--do-completion, minibuffer-complete)
1276 (minibuffer-force-complete, minibuffer-complete-word):
1277 Inhibit minibuffer messages if completion-show-inline-help is nil.
1279 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1280 to avoid interference from inline help (Bug#5849).
1282 2011-04-10 Leo Liu <sdl.web@gmail.com>
1284 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1287 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1289 * image-mode.el (image-toggle-display-image): Signal an error if
1291 (image-transform-mode, image-transform-resize)
1292 (image-transform-set-rotation): Doc fix.
1293 (image-transform-set-resize): Delete.
1294 (image-transform-set-scale, image-transform-fit-to-height)
1295 (image-transform-fit-to-width): Handle image-toggle-display-image
1296 and image-transform-resize directly.
1298 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1300 * doc-view.el (doc-view-fit-width-to-window)
1301 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1302 New functions for fitting the shown image to the Emacs window size.
1303 (doc-view-mode-map): Add bindings for the new functions.
1305 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1307 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1308 Fix typo in docstring.
1310 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1312 * files.el (file-size-human-readable): Produce one digit after
1313 decimal, like "ls -lh" does.
1315 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1316 the file size representation.
1318 * simple.el (list-processes): If async subprocesses are not
1319 available, error out with a clear error message.
1321 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1323 * help.el (help-form-show): New function, to be called from C.
1324 Put help-form output in a buffer named differently than *Help*.
1326 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1328 * files.el (file-size-human-readable): New function.
1330 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1331 computing the representation inline. Don't require `cl'.
1333 2011-04-08 Glenn Morris <rgm@gnu.org>
1335 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1337 * net/browse-url.el (browse-url-firefox):
1338 Test system-type, not system-configuration.
1340 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1341 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1342 Use log-edit-empty-buffer-p. (Bug#7598)
1344 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1345 (rlogin-mode-map): Initialize in the defvar.
1346 (rlogin): Use ignore-errors.
1348 * replace.el (occur-mode-map): Some fixes for menu items.
1350 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1352 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1354 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1356 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1357 issuing unused warnings.
1359 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1362 * simple.el: Lisp reimplement of list-processes. Based on an
1363 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1364 (process-menu-mode): New major mode.
1365 (list-processes--refresh, list-processes):
1366 (process-menu-visit-buffer): New functions.
1368 * files.el (save-buffers-kill-emacs): Don't assume any return
1369 value of list-processes, which is undocumented anyway.
1371 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1373 * emacs-lisp/tabulated-list.el: New file.
1375 * emacs-lisp/package.el: Use Tabulated List mode.
1376 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1377 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1378 table format using Tabulated List mode variables.
1379 (package--push): New macro, replacing package-list-maybe-add.
1380 (package-menu--generate): Use package--push. Renamed from
1381 package--generate-package-list.
1382 (package-menu-refresh, list-packages): Use it.
1383 (package-menu--print-info): Rename from package-print-package.
1384 Return insertion data instead of inserting it directly.
1385 (package-menu-describe-package, package-menu-execute):
1386 Use tabulated-list-get-id.
1387 (package-menu-mark-delete, package-menu-mark-install)
1388 (package-menu-mark-unmark, package-menu-backup-unmark)
1389 (package-menu-mark-obsolete-for-deletion):
1390 Use tabulated-list-put-tag.
1391 (package--list-packages, package-menu-revert)
1392 (package-menu-get-package, package-menu-get-version)
1393 (package-menu-sort-by-column): Functions deleted.
1394 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1395 (package-menu--status-predicate, package-menu--version-predicate)
1396 (package-menu--name-predicate)
1397 (package-menu--description-predicate): Handle arguments in the
1398 Tabulated List format.
1399 (package-list-packages-no-fetch): Call list-packages.
1401 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1403 * files.el (after-find-file-from-revert-buffer): Remove variable.
1404 (after-find-file): Don't bind it.
1405 (revert-buffer-in-progress-p): New variable.
1406 (revert-buffer): Bind it.
1407 Pass nil for `after-find-file-from-revert-buffer'.
1409 * saveplace.el (save-place-find-file-hook): Use new variable
1410 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1412 2011-04-06 Glenn Morris <rgm@gnu.org>
1414 * Makefile.in (AUTOGEN_VCS): New variable.
1415 (autoloads): Use $AUTOGEN_VCS.
1417 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1418 * calendar/calendar.el (calendar-mode-map):
1419 Check for toolkit scroll bars. (Bug#8305)
1421 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1423 * minibuffer.el (completion-in-region--postch)
1424 (completion-in-region-mode): Remove unnecessary messages.
1426 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1428 * font-lock.el (font-lock-refresh-defaults):
1429 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1430 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1432 * info.el (Info-directory-list, Info-read-node-name-2)
1433 (Info-split-parameter-string): Doc fixes.
1434 (Info-virtual-nodes): Reflow docstring.
1435 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1436 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1437 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1438 Fix typos in docstrings.
1439 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1440 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1441 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1442 (Info-restore-desktop-buffer): Mark unused parameters.
1443 (Info-directory-find-file, Info-directory-find-node)
1444 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1445 (Info-virtual-index-find-node, Info-apropos-find-file)
1446 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1447 Mark unused parameters; fix typos in docstrings.
1448 (Info-virtual-index): Remove unused local variable `nodename'.
1450 2011-04-05 Deniz Dogan <deniz@dogan.se>
1452 * net/rcirc.el: Update my e-mail address.
1453 (rcirc-mode-map): Remove M-o binding.
1455 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1457 * startup.el (command-line): Save the cursor's theme-face
1458 directly, instead of using face-override-spec.
1460 * custom.el (load-theme): Minor optimization in assigning faces.
1462 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1464 * help-fns.el (describe-variable): Complete all variables having
1465 documentation, including keywords.
1466 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1468 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1470 Convert to lexical-binding.
1472 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1473 (bs--get-marked-string, bs--get-modified-string)
1474 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1475 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1476 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1478 * ehelp.el (electric-help-execute-extended)
1479 (electric-help-ctrl-x-prefix):
1480 * hexl.el (hexl-revert-buffer-function):
1481 * linum.el (linum-after-change, linum-after-scroll):
1482 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1484 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1486 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1493 * epg.el: Use lexical binding.
1495 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1497 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1499 * textmodes/flyspell.el (flyspell-word): Recognize default
1500 dictionary case for flyspell-mark-duplications-exceptions.
1501 Use regexp matching for languages.
1502 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1503 default dictionary (Bug#7926).
1505 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1507 * emacs-lisp/package.el (package--with-work-buffer):
1508 Recognize https URLs.
1510 * net/network-stream.el: Move from gnus/proto-stream.el.
1511 Change prefix to network-stream throughout.
1512 (open-protocol-stream): Merge into open-network-stream, leaving
1513 open-protocol-stream as an alias. Handle nil BUFFER args.
1515 * subr.el (open-network-stream): Move to net/network-stream.el.
1517 2011-04-02 Glenn Morris <rgm@gnu.org>
1519 * find-dired.el (find-exec-terminator): New option.
1520 (find-ls-option): Test for -ls support.
1521 (find-ls-subdir-switches): Test for -b in find-ls-option.
1522 (find-dired, find-grep-dired): Doc fixes.
1523 (find-dired): Use find-exec-terminator.
1525 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1526 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1527 (find-name-arg): Remove purecopy.
1529 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1530 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1531 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1532 accordingly. Don't add the null-device if not needed.
1534 * files.el (save-some-buffers): Doc fix.
1536 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1538 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1540 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1542 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1543 Use `dolist' rather than `mapcar'.
1545 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1547 Add lexical binding.
1549 * subr.el (apply-partially): Use new closures rather than CL.
1550 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1551 (dolist, dotimes): Use slightly different expansion for lexical code.
1552 (functionp): Move to C.
1553 (letrec): New macro.
1554 (with-wrapper-hook): Use it and apply-partially instead of CL.
1555 (eval-after-load): Preserve lexical-binding.
1556 (save-window-excursion, with-output-to-temp-buffer): Turn them
1559 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1561 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1563 (help-add-fundoc-usage): Don't add `Not documented'.
1564 (help-function-arglist): Handle closures, subroutines, and new
1565 byte-code-functions.
1566 (help-make-usage): Remove leading underscores.
1567 (describe-function-1): Handle closures.
1568 (describe-variable): Use special-variable-p for completion.
1570 * files.el (lexical-binding): Declare safe.
1572 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1573 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1574 (pcase): Add `let' pattern.
1575 Change memoization so it actually works.
1576 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1577 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1580 * emacs-lisp/macroexp.el: Use lexical binding.
1581 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1582 Don't convert ' to #' without checking that it's indeed quoting
1585 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1586 Use eval-sexp-add-defvars.
1587 (eval-sexp-add-defvars): New fun.
1589 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1591 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1593 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1594 than the internal `byte-compile-lambda'.
1595 (defmethod): Don't hide code under quotes.
1596 (eieio-defmethod): New `code' argument.
1598 * emacs-lisp/eieio-comp.el: Remove.
1600 * emacs-lisp/edebug.el (edebug-eval-defun)
1601 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1602 (edebug-toggle): Avoid `eval'.
1604 * emacs-lisp/disass.el (disassemble-internal): Handle new
1606 (disassemble-1): Handle new byte codes.
1608 * emacs-lisp/cl.el (pushnew): Silence warning.
1610 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1611 (cl-byte-compile-throw): Remove.
1612 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1614 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1617 * emacs-lisp/cconv.el: New file.
1619 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1620 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1621 (byte-compile-initial-macro-environment):
1622 Handle declare-function here.
1623 (byte-compile--lexical-environment): New var.
1624 (byte-stack-ref, byte-stack-set, byte-discardN)
1625 (byte-discardN-preserve-tos): New lap codes.
1626 (byte-interactive-p): Don't use any more.
1627 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1629 (byte-compile-lapcode): Use them and handle new lap codes.
1630 (byte-compile-obsolete): Remove.
1631 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1632 (byte-compile-arglist-warn): Check late def of inlinable funs.
1633 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1634 since they should have been expanded by now.
1635 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1636 (byte-compile-from-buffer): Remove unused second arg.
1637 (byte-compile-preprocess): New function.
1638 (byte-compile-toplevel-file-form): New function to distinguish
1639 file-form calls from outside from file-form calls from hunk-handlers.
1640 (byte-compile-file-form): Simplify.
1641 (byte-compile-file-form-defsubst): Remove.
1642 (byte-compile-file-form-defmumble): Simplify now that
1643 byte-compile-lambda always returns a byte-code-function.
1644 (byte-compile): Preprocess.
1645 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1646 Remove, not used any more.
1647 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1648 (byte-compile-make-args-desc): New funs.
1649 (byte-compile-lambda): Handle lexical functions. Always return
1650 a byte-code-function.
1651 (byte-compile-reserved-constants): New var, to make up room for
1652 closed-over variables.
1653 (byte-compile-constants-vector): Obey it.
1654 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1655 (byte-compile-macroexpand-declare-function): New function.
1656 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1657 byte-code-functions.
1658 (byte-compile-form): Check obsolescence here.
1659 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1660 (byte-compile-variable-ref): Remove.
1661 (byte-compile-dynamic-variable-op): New fun.
1662 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1663 (byte-compile-variable-set): New funs.
1664 (byte-compile-discard): Add 2 args.
1665 (byte-compile-stack-ref, byte-compile-stack-set)
1666 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1667 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1668 macroexpand-all instead.
1669 (byte-compile-quote-form): Remove.
1670 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1671 (byte-compile-bind, byte-compile-unbind): New funs.
1672 (byte-compile-let): Handle let* and lexical binding.
1673 (byte-compile-let*): Remove.
1674 (byte-compile-catch, byte-compile-unwind-protect)
1675 (byte-compile-track-mouse, byte-compile-condition-case):
1676 Handle a new :fun-body form, used for lexical scoping.
1677 (byte-compile-save-window-excursion)
1678 (byte-compile-with-output-to-temp-buffer): Remove.
1679 (byte-compile-defun): Simplify.
1680 (byte-compile-stack-adjustment): New fun.
1681 (byte-compile-out): Use it.
1682 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1684 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1687 * emacs-lisp/byte-opt.el: Use lexical binding.
1688 (byte-inline-lapcode): Remove (to bytecomp).
1689 (byte-compile-inline-expand): Pay attention to inlining to/from
1690 lexically bound code.
1691 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1693 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1694 any more and don't call compiler-macros.
1695 (byte-compile-splice-in-already-compiled-code): Remove.
1696 (byte-code): Don't inline any more.
1697 (disassemble-offset): Receive `bytes' as argument rather than via
1699 (byte-compile-tag-number): Declare before first use.
1700 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1701 `return' even if make-spliceable.
1702 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1703 obsolete interactive-p.
1704 (byte-optimize-lapcode): Optimize new lap-codes.
1705 Don't trip up on new form of `byte-constant' lap code.
1707 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1709 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1711 * custom.el (custom-initialize-default, custom-declare-variable):
1714 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1716 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1717 (COMPILE_FIRST): Add macroexp and cconv.
1718 * makefile.w32-in: Mirror changes in Makefile.in.
1724 * vc/smerge-mode.el:
1725 * textmodes/bibtex-style.el:
1734 * emacs-lisp/smie.el:
1737 * abbrev.el: Use lexical binding.
1739 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1741 * info.el (info-display-manual): New function.
1743 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1745 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1747 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1749 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1750 an entry for that server in rcirc-authinfo. (Bug#8385)
1752 2011-03-31 Glenn Morris <rgm@gnu.org>
1754 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1756 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1758 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1760 * progmodes/python.el (python-default-interpreter)
1761 (python-python-command-args, python-jython-command-args)
1762 (python-which-shell, python-which-args, python-which-bufname)
1763 (python-file-queue, python-comint-output-filter-function)
1764 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1765 variables and functions.
1767 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1770 (completion-in-region-mode): New minor mode.
1771 (completion-in-region): Use it.
1772 (completion-in-region--data, completion-in-region-mode-map): New vars.
1773 (completion-in-region--postch): New function.
1774 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1776 (completion--capf-wrapper): New function.
1777 (completion-at-point): Use it to track well-behavedness of
1779 (completion-help-at-point): New command.
1781 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1783 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1784 syntax class to search for whitespace on a single line
1785 (Message-ID: <4D938140.4030905@redhat.com>).
1787 2011-03-30 Leo Liu <sdl.web@gmail.com>
1789 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1791 (edit-abbrevs-map): Bind them here.
1792 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1794 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1796 * allout.el (allout-hide-by-annotation, allout-flag-region):
1797 Reduce possibility of overlay leakage by making them volatile.
1799 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1800 hash is not shared between buffers. Mode initialization is
1801 responsible for giving it a useful starting value.
1802 (allout-item-span): Reduce possibility of overlay leakage by
1803 making them volatile.
1804 (allout-widgets-count-buttons-in-region): Add diagnostic function
1805 for tracking down button overlay leaks.
1807 2011-03-29 Leo Liu <sdl.web@gmail.com>
1809 * ido.el (ido-read-internal): Use the default history var
1810 minibuffer-history if no HISTORY is specified.
1812 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1814 * net/imap.el (imap-shell-open, imap-process-connection-type):
1815 Use imap-process-connection-type for 'shell' streams as well as
1816 Kerberos, SSL, other subprocesses.
1818 2011-03-28 Leo Liu <sdl.web@gmail.com>
1820 * abbrev.el (abbrev-table-empty-p): New function.
1821 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1822 nonempty ones. (Bug#5937)
1824 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1826 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1828 2011-03-27 Leo Liu <sdl.web@gmail.com>
1830 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1831 for foreground and background colors.
1832 (ansi-color-make-color-map): Adapt.
1834 2011-03-25 Leo Liu <sdl.web@gmail.com>
1836 * midnight.el (midnight-time-float): Remove. Note it calculates
1837 the microsecond component incorrectly and seconds-to-time does the
1839 Remove redundant (require 'timer).
1841 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1842 (ido-completions): Remove unused arguments. (Bug#8329)
1844 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1846 * minibuffer.el (completion--flush-all-sorted-completions):
1847 Remove itself from hook.
1848 (completion-at-point): Let the functions perform the completion
1849 immediately and return nil or t.
1850 * comint.el (comint-dynamic-complete-functions): Now identical to
1851 completion-at-point-functions.
1852 (comint-dynamic-list-input-ring): Remove unused var `index'.
1853 (comint--match-partial-filename, comint--unquote&expand-filename):
1854 New funs, split from comint-match-partial-filename.
1855 (comint-dynamic-complete): Use completion-at-point.
1856 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1858 2011-03-24 Drew Adams <drew.adams@oracle.com>
1860 * thingatpt.el: Support `defun'.
1862 2011-03-23 Leo Liu <sdl.web@gmail.com>
1864 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1866 * help-mode.el (help-mode-finish): Tweak regexp.
1868 2011-03-23 Glenn Morris <rgm@gnu.org>
1870 * eshell/esh-opt.el (eshell-eval-using-options):
1871 Do not bind unused local variable `eshell-option-stub'.
1873 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1875 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1877 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1878 keymap variable in `with-no-warnings' to avoid a warning when the
1879 keymap has been already `defconst'ed.
1881 2011-03-22 Leo Liu <sdl.web@gmail.com>
1883 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1884 encode all chars in abbrevs; otherwise use emacs-mule or
1885 utf-8-emacs. (Bug#8308)
1887 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1889 * simple.el (backward-delete-char-untabify):
1890 Avoid warning about using `delete-backward-char'.
1892 * image.el (image-type-file-name-regexps): Make it variable.
1893 `imagemagick-register-types' modifies it, and the user may want
1894 to add new extensions for known image types.
1895 (imagemagick-register-types): Throw error if not using ImageMagick.
1897 2011-03-22 Leo Liu <sdl.web@gmail.com>
1899 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1900 located before rcirc-prompt-end-marker.
1901 (rcirc-complete): Error if point is not after rcirc prompt.
1902 Handle the case when table is nil.
1903 (rcirc-user-authenticated): Define to fix compiler warning.
1905 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1907 * custom.el (custom--inhibit-theme-enable): Make it affect only
1908 custom-theme-set-variables and custom-theme-set-faces.
1909 (provide-theme): Ignore custom--inhibit-theme-enable.
1910 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1911 (custom-enabling-themes): Delete variable.
1912 (enable-theme): Accept only loaded themes as arguments.
1913 Ignore the special custom-enabled-themes variable.
1914 (custom-enabled-themes): Forbid themes from setting this.
1915 Eliminate use of custom-enabling-themes.
1916 (custom-push-theme): Quote "changed" custom var entry.
1918 2011-03-21 Leo Liu <sdl.web@gmail.com>
1920 * ido.el (ido-read-internal): Add ido-selected to history instead
1923 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * subr.el (deferred-action-list, deferred-action-function):
1928 2011-03-21 Leo Liu <sdl.web@gmail.com>
1930 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1931 change on 2011-02-13 (bug#8309).
1933 * minibuffer.el (read-file-name-function): Change default value.
1934 (read-file-name--defaults): Rename from read-file-name-defaults.
1935 (read-file-name-default): Rename from read-file-name.
1936 (read-file-name): Call read-file-name-function.
1938 2011-03-21 Glenn Morris <rgm@gnu.org>
1940 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1943 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1945 * cus-theme.el: Add missing provide statement.
1946 (customize-create-theme): Extract theme value correctly.
1947 (custom-theme-visit-theme): Autoload.
1948 (customize-create-theme): Prompt before inserting default faces.
1950 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1952 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1953 units and musical notes.
1955 2011-03-20 Leo <sdl.web@gmail.com>
1957 * ido.el (ido-read-internal): Use completing-read-default.
1958 (ido-completing-read): Fix compatibility with completing-read.
1960 2011-03-20 Christian Ohler <ohler@gnu.org>
1962 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1963 (ert-delete-all-tests): Use `called-interactively-p' rather than
1965 (ert--make-xrefs-region): Respect END.
1967 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1969 * dired-aux.el (dired-create-directory): Signal an error if the
1970 directory already exists (Bug#8246).
1972 * facemenu.el (list-colors-display): Call list-faces-display
1973 inside with-help-window.
1974 (list-colors-print): Use display property to align the final
1975 column, instead of checking window-width.
1977 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1979 * emerge.el (emerge-metachars): Separate value for ms-dos and
1981 (emerge-protect-metachars): Quote correctly for ms-dos and
1984 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
1986 * info.el (info-initialize): Replace all uses of `:' with
1987 path-separator for compatibility with non-Unix systems.
1988 Cache quoting of path-separator. (Bug#8258)
1990 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1992 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1993 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1994 (mouse-avoidance-mode): Fix typos in docstrings.
1996 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1998 * startup.el (package-subdirectory-regexp): Move from package.el.
1999 Omit \\` and \\', and let callers add them.
2001 * emacs-lisp/package.el (package-strip-version)
2002 (package-load-all-descriptors): Add \\` and \\' to
2003 package-subdirectory-regexp before using it.
2004 (package-untar-buffer): New arg DIR; ensure that file untars only
2005 into this expected directory. Remove superfluous delete-region.
2006 (package-unpack): Caller changed.
2007 (package-tar-file-info): Use package-subdirectory-regexp.
2009 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2012 diff-mode-shared-map (bug#8284).
2013 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2015 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2017 * calendar/time-date.el (format-seconds): Use assoc instead of
2018 assoc-string, since assoc-string doesn't exist in XEmacs.
2020 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2022 * custom.el (custom-known-themes): Reflow docstring.
2023 (custom-theme-load-path): Fix typo in docstring.
2024 (load-theme): Fix typo in error message.
2025 (custom-available-themes, custom-variable-theme-value):
2026 Use `let', not `let*'.
2028 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2030 * calc/README: Mention inclusion of musical notes.
2032 * calc/calc-units.el (calc-lu-quant): Rename from
2033 `calc-logunits-quantity'.
2034 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2035 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2036 (calc-db): Rename from `calc-dblevel'.
2037 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2038 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2039 (calc-np): Rename from `calc-nplevel'.
2040 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2041 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2042 (calc-lu-plus): Rename from `calc-logunits-add'.
2043 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2044 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2045 (calc-lu-minus): Rename from `calc-logunits-sub'.
2046 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2047 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2048 (calc-lu-times): Rename from `calc-logunits-mul'.
2049 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2050 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2051 (calc-lu-divide): Rename from `calc-logunits-div'.
2052 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2053 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2055 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2056 functions being autoloaded.
2058 * calc/calc.el (calc-lu-power-reference): Rename from
2059 `calc-logunits-power-reference'.
2060 (calc-lu-field-reference): Rename from
2061 `calc-logunits-field-reference'.
2063 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2065 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * minibuffer.el (completion-all-sorted-completions):
2068 Use :completion-cycle-penalty text property if present.
2070 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2072 * allout.el (allout-yank-processing): Adjust for new rebulleting
2073 regime so bullet being yanked is used without prompting the user
2076 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2078 * startup.el (command-line): Warn the user that _emacs is deprecated.
2080 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2082 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2083 (delphi-verbose, delphi-comment-face, delphi-string-face)
2084 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2085 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2086 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2087 (delphi-new-comment-line, delphi-font-lock-defaults)
2088 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2089 Fix typos in docstrings.
2091 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2093 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2094 Invert the roles of character and string values for INSTEAD, so a
2095 string is used for the more common case of a defaulting prompt.
2097 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * progmodes/ruby-mode.el (ruby-backward-sexp):
2100 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2101 * play/gamegrid.el (gamegrid-make-face):
2102 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2103 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2104 * notifications.el (notifications-notify):
2105 * net/xesam.el (xesam-search-engines):
2106 * net/quickurl.el (quickurl-list-insert):
2107 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2109 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2111 * startup.el (command-line): Update package subdirectory regexp.
2113 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * allout.el (allout-abbreviate-flattened-numbering)
2116 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2118 * subr.el (read-char-choice): Only show the cursor after the prompt,
2119 not after the answer.
2121 2011-03-15 Kevin Ryde <user42@zip.com.au>
2123 * help-fns.el (variable-at-point): Skip leading quotes, if any
2126 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2131 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2133 * shell.el (shell): When called interactively, offer to change the
2134 shell file name on remote hosts.
2136 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2138 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2139 integration for LDAP parameters. The host, base, user or binddn,
2140 and secret tokens can be specified in a netrc file, for instance.
2141 This is optional because an `auth-source' parameter must be
2142 specified in the search attributes.
2144 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2146 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2148 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2151 into declaration. Remove redundant and harmful binding.
2153 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2155 * files.el (file-ownership-preserved-p): Pass `integer' as an
2156 explicit 2nd argument to `file-attributes'. If the file's owner
2157 is the Administrators group on Windows, and the current user is
2158 Administrator, consider that a match.
2160 * server.el (server-ensure-safe-dir): Consider server directory
2161 safe on MS-Windows if its owner is the Administrators group while
2162 the current Emacs user is Administrator. Use `=' to compare
2163 numerical UIDs, since they could be integers or floats.
2165 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2167 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2169 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2171 Sync with Tramp 2.2.1.
2173 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2175 * net/trampver.el: Update release number.
2177 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2179 * progmodes/compile.el (compilation--previous-directory): Fix up
2180 various nil/dead-marker mismatches (bug#8014).
2181 (compilation-directory-properties, compilation-error-properties):
2182 Don't call it at a position past the one we're about to change.
2184 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2185 Disable obsolescence warnings in the file that declares it.
2187 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2189 * allout-widgets.el (allout-widgets-tally):
2190 Initialize allout-widgets-tally as a hash table rather than nil to
2191 prevent mode-line redisplay warnings. Also, clarify the module
2192 description and fix a comment typo.
2194 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2196 * help-fns.el (describe-variable): Don't complete keywords.
2197 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2199 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2201 * emacs-lisp/package.el (package-version-join): Impose a standard
2202 string representation for pre/alpha/beta version lists.
2203 (package-unpack-single): Standardize the directory name by passing
2204 it through package-version-join.
2205 (package-strip-rcs-id): Accept any version string that does not
2206 signal an error in version-to-list.
2208 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2210 * simple.el (delete-trailing-whitespace): Return nil for the
2211 benefit of `write-file-functions'.
2213 2011-03-10 Glenn Morris <rgm@gnu.org>
2215 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2217 * vc/vc-git.el (vc-git-program): New option.
2218 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2219 (vc-git--call): Use it.
2221 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2223 * cus-edit.el (Custom-newline): If no button at point, look
2224 for a subgroup button at start-of-line. (Bug#2298)
2226 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2228 2011-03-10 Julien Danjou <julien@danjou.info>
2230 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2231 `cursor-type' is nil.
2233 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2235 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2237 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2239 * allout.el Summary: Change so yank of distinctive-bullet items
2240 preserves the existing header prefix, rebulleting it if necessary,
2241 rather than replacing it. This is necessary for proper operation
2242 of cooperative addons like allout-widgets.
2243 (allout-make-topic-prefix, allout-rebullet-heading): Change
2244 SOLICIT arg to INSTEAD, and interpret additionally a string value
2245 as alternate bullet to be used, instead of prompting the user for
2248 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2250 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2251 Do not use `tramp-file-name-port', because this returns also
2252 `tramp-default-port'.
2254 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2256 * net/rcirc.el (rcirc-handler-001): Remove useless
2257 with-rcirc-process-buffer.
2258 (rcirc-check-auth-status): Swap arguments to string-match.
2260 2011-03-09 Glenn Morris <rgm@gnu.org>
2262 * shell.el (shell-mode):
2263 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2265 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2266 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2268 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2270 * emacs-lisp/package.el (package-refresh-contents)
2271 (package-menu-execute): Use condition-case-no-debug.
2273 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2275 * simple.el (shell-command-to-string): Use `process-file'.
2277 * emacs-lisp/package.el (package-tar-file-info): Handle also
2280 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2281 Use `equal' for upload base check.
2283 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2285 * textmodes/texinfo.el (texinfo-environments):
2286 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2288 2011-03-08 Glenn Morris <rgm@gnu.org>
2290 * cus-start.el (cursor-in-non-selected-windows):
2291 Fix :set quoting oddness. (Bug#8192)
2293 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2294 in some setf expressions. (Bug#2159)
2296 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2298 * custom.el (custom-available-themes): Return themes in
2301 See ChangeLog.15 for earlier changes.
2307 Copyright (C) 2011 Free Software Foundation, Inc.
2309 This file is part of GNU Emacs.
2311 GNU Emacs is free software: you can redistribute it and/or modify
2312 it under the terms of the GNU General Public License as published by
2313 the Free Software Foundation, either version 3 of the License, or
2314 (at your option) any later version.
2316 GNU Emacs is distributed in the hope that it will be useful,
2317 but WITHOUT ANY WARRANTY; without even the implied warranty of
2318 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2319 GNU General Public License for more details.
2321 You should have received a copy of the GNU General Public License
2322 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.