1 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
3 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
7 determining of binary transfer. (Bug#7383)
9 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
11 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
12 port computation bug. (Bug#8618)
14 2011-05-05 Glenn Morris <rgm@gnu.org>
16 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18 * simple.el (shell-dynamic-complete-functions)
19 (comint-dynamic-complete-functions): Declare.
21 * net/network-stream.el (gnutls-negotiate):
22 * simple.el (tabulated-list-print): Fix declarations.
24 * progmodes/gud.el (syntax-symbol, syntax-point):
25 Remove unnecessary and incorrect declarations.
27 * emacs-lisp/check-declare.el (check-declare-scan):
28 Handle byte-compile-initial-macro-environment in bytecomp.el
30 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
32 Fix earlier half-done eieio-defmethod change (bug#8338).
33 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
34 Streamline and change calling convention.
35 (defmethod): Adjust accordingly and simplify.
36 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
38 (slot-boundp): Minor CSE simplification.
40 2011-05-05 Milan Zamazal <pdm@zamazal.org>
42 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
43 (glasses-make-readable): Use glasses-separate-capital-groups.
45 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
47 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
48 (warning-series): Doc fix.
49 (display-warning): Don't try to create the buffer if we just found it.
51 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
53 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
54 (autoload-find-generated-file): New function.
55 (generate-file-autoloads): Bind generated-autoload-file to
57 (update-file-autoloads, update-directory-autoloads):
58 Use autoload-find-generated-file. If called interactively, prompt for
59 output file (Bug#7989).
60 (batch-update-autoloads): Doc fix.
62 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
64 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
66 2011-05-04 Glenn Morris <rgm@gnu.org>
68 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
69 function, so it follows changes in calendar-date-style.
70 (diary-fancy-date-matcher): New function.
71 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
72 (diary-fancy-font-lock-fontify-region-function):
73 Use diary-fancy-date-pattern as a function.
75 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
76 non-numbers for `year' etc pseudo-variables. (Bug#8583)
78 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
80 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
81 instead of positional arguments. Allow :keylist and :crlfiles
83 (open-gnutls-stream): Call it.
85 * net/network-stream.el (network-stream-open-starttls): Adjust to
86 call `gnutls-negotiate' with :process and :hostname arguments.
88 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
90 * minibuffer.el (completion--message): New function.
91 (completion--do-completion, minibuffer-complete)
92 (minibuffer-force-complete, minibuffer-complete-word): Use it.
93 (completion--do-completion): Don't ignore completion-auto-help when in
96 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
97 internal encoding (e.g. tibetan zero is not whitespace).
98 (global-whitespace-mode): Prefer save-current-buffer.
99 (whitespace-trailing-regexp): Remove useless save-match-data.
100 (whitespace-empty-at-bob-regexp): Minor simplification.
102 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
104 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
106 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
108 * textmodes/ispell.el (ispell-add-per-file-word-list):
109 Use `concat' to create string for insertion.
111 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
113 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
114 Avoid open-line which runs post-self-insert-hook.
115 (bibtex-fill-entry): Remove unused `end' var.
117 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
119 * textmodes/ispell.el (ispell-add-per-file-word-list):
120 Protect against `nil' value of `comment-start' (Bug#8579).
122 2011-05-03 Leo Liu <sdl.web@gmail.com>
124 * isearch.el (isearch-yank-pop): New command.
125 (isearch-mode-map): Bind it to `M-y'.
126 (isearch-forward): Mention it.
128 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
130 * simple.el (minibuffer-complete-shell-command): Remove.
131 (minibuffer-local-shell-command-map): Use completion-at-point.
132 (read-shell-command): Setup completion vars here instead.
133 (read-expression-map): Bind TAB to symbol completion.
135 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
136 error directly rather via storing it into `results'.
138 2011-05-02 Leo Liu <sdl.web@gmail.com>
140 * vc/diff.el: Fix description.
142 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
144 * server.el (server-eval-at): New function.
146 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
148 * net/network-stream.el (open-network-stream): Take a :nowait
149 parameter and pass it on to `make-network-process'.
150 (network-stream-open-plain): Ditto.
152 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
154 * faces.el (face-spec-set-match-display): Don't match toolkit
155 options on terminal frames.
157 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
159 * progmodes/pascal.el: Use lexical binding.
160 (pascal-mode-map): Remove author preferences.
162 * pcomplete.el (pcomplete-std-complete): Don't abuse
165 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
167 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
168 removing code that has been dead since 1991 or so.
170 * startup.el (command-line): When warning about "_emacs", use a
171 delayed warning to allow the user to filter it out.
173 2011-04-28 Deniz Dogan <deniz@dogan.se>
175 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
178 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
180 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
181 aren't any completions at point.
183 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
185 * subr.el (display-delayed-warnings): New function.
186 (delayed-warnings-hook): New variable.
188 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
190 * minibuffer.el (completion-at-point, completion-help-at-point):
191 Don't presume that a given completion-at-point-function will always
192 use the same calling convention.
194 * pcomplete.el (pcomplete-completions-at-point):
195 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
196 pcomplete-seen is non-nil.
197 (pcomplete-comint-setup): Also recognize the new comint/shell
198 completion functions.
199 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
200 pcomplete-seen is non-nil.
202 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
204 * calendar/icalendar.el (diary-lib): Add require statement.
205 (icalendar--create-uid): Read out a uid from a text-property on
206 the first character in the entry. This allows for code to add its
207 own uid to the entry.
208 (icalendar--convert-float-to-ical): Add export of
209 `diary-float'-entries save for those with the optional DAY
212 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
214 * subr.el (shell-quote-argument): Use alternate escaping strategy
215 when we spot a variable reference in a string.
217 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
219 * cus-start.el (all): Define customization for debug-on-event.
221 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
223 * subr.el (shell-quote-argument): Escape correctly under Windows.
225 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
227 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
229 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
231 * net/tramp.el (tramp-process-actions): Add POS argument.
232 Delete region between POS and (pos).
234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
235 Use `nil' position in `tramp-process-actions' call.
236 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
238 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
239 position in `tramp-process-actions' call.
241 * net/trampver.el: Update release number.
243 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
245 * custom.el (defcustom): Obey lexical-binding.
247 Fix octave-inf completion problems reported by Alexander Klimov.
248 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
249 Inherit from octave-mode-syntax-table.
250 (inferior-octave-mode): Set info-lookup-mode.
251 (inferior-octave-completion-at-point): New function.
252 (inferior-octave-complete): Use it and completion-in-region.
253 (inferior-octave-dynamic-complete-functions): Use it as well, and use
254 comint-filename-completion.
255 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
256 symbol elements which shouldn't be word elements.
257 (octave-font-lock-keywords, octave-beginning-of-defun)
258 (octave-function-header-regexp): Adjust regexps accordingly.
259 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
261 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
263 * net/gnutls.el (gnutls-errorp): Declare before first use.
265 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
267 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
268 verify-error, and verify-hostname-error parameters. Check whether
269 default trustfile exists before going to use it. Add missing
270 argument to gnutls-message-maybe call. Return return value.
271 Reported by Claudio Bley <claudio.bley@gmail.com>.
272 (open-gnutls-stream): Add usage example.
274 * net/network-stream.el (network-stream-open-starttls): Give host
275 parameter to `gnutls-negotiate'.
276 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
277 * subr.el (shell-quote-argument): Escape correctly under Windows.
279 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
281 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
282 Use correct match group (bug#8438).
284 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
286 * emacs-lisp/package.el (package-built-in-p): Fix typo.
287 (package-menu--generate): New arg specifying packages to show.
288 (package-menu-refresh, package-menu-execute, list-packages):
290 (package-show-package-list): New function, replacing deleted
291 package--list-packages (renamed because it is non-internal).
293 * finder.el (finder-list-matches): Use package-show-package-list
294 instead of deleted package--list-packages.
296 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
297 Based on a previous implementation by Juanma Barranquero (Bug#8366).
298 (vc-annotate-mode-map): Bind it to RET.
300 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
302 * progmodes/etags.el (next-file): Don't use set-buffer to change
305 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
307 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
309 * apropos.el (apropos-label-face): Avoid variable-pitch face.
310 (apropos-accumulator): Doc fix.
311 (apropos-function, apropos-macro, apropos-command)
312 (apropos-variable, apropos-face, apropos-group, apropos-widget)
313 (apropos-plist): Add face property.
314 (apropos-symbols-internal): Fix indentation.
315 (apropos-print): Simplify help, and recognize apropos-multi-type.
316 (apropos-print-doc): Use button-type-get to extract the button's
317 face property. Fill docstring (Bug#8352).
319 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
321 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
323 * play/mpuz.el (mpuz-silent): Doc fix.
324 (mpuz-mode-map): Use mapc.
325 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
326 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
327 Fix typos in docstrings.
329 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
330 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
332 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
334 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
336 * minibuffer.el (completion--do-completion): Avoid the "Next char
337 not unique" prompt if icomplete-mode is enabled (Bug#5849).
339 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
340 mouse-2 into unread-command-events, it is interpreted correctly.
342 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
343 (image-toggle-display): Doc fix.
345 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
347 * textmodes/page.el (what-page): Use line-number-at-pos to
348 calculate line number (Bug#6825).
350 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
352 * eshell/esh-mode.el (find-tag-interactive): Declare function.
353 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
354 Pass argument NO-DEFAULT to `find-tag-interactive'.
356 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
358 Lexical-binding cleanup.
360 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
361 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
362 * progmodes/ada-prj.el (ada-prj-initialize-values)
363 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
364 (ada-prj-show-value):
365 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
366 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
367 (antlr-invalidate-context-cache, antlr-options-menu-filter)
368 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
369 * progmodes/bug-reference.el (bug-reference-push-button):
370 * progmodes/fortran.el (fortran-line-length):
371 * progmodes/glasses.el (glasses-change):
372 * progmodes/octave-mod.el (octave-fill-paragraph):
373 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
374 (python-pdbtrack-grub-for-buffer, python-sentinel):
375 * progmodes/sql.el (sql-save-connection):
376 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
377 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
378 Mark unused parameters.
380 * progmodes/compile.el (compilation--flush-directory-cache)
381 (compilation--flush-parse, compile-internal): Mark unused parameters.
382 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
383 (compilation-next-error-function): Remove unused variable `timestamp'.
385 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
386 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
388 * progmodes/dcl-mode.el (dcl-end-of-command):
389 Remove unused variable `start'.
390 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
391 (dcl-option-value-basic, dcl-option-value-offset)
392 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
393 Mark unused parameters.
394 (dcl-save-local-variable): Remove unused variable `val'.
397 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
398 Mark unused parameters.
399 (delphi-ignore-changes): Move before first use.
400 (delphi-charset-token-at): Remove unused variable `start'.
401 (delphi-else-start): Remove unused variable `if-count'.
402 (delphi-comment-block-start, delphi-comment-block-end):
403 Remove unused variable `kind'.
404 (delphi-indent-line): Remove unused variable `new-point'.
406 * progmodes/ebrowse.el (ebrowse-files-list)
407 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
408 Mark unused parameters. Don't quote `lambda'.
409 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
410 Don't quote `lambda'.
411 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
412 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
413 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
414 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
416 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
417 (ebrowse-view/find-file-and-search-pattern)
418 (ebrowse-view/find-member-declaration/definition):
419 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
420 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
421 Rename parameter PREFIX-ARG to PREFIX.
422 (ebrowse-tags-read-name): Remove unused variables `start' and
424 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
427 * progmodes/etags.el (local-find-tag-hook): Declare.
428 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
429 Mark unused parameters.
431 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
432 (executable-interpret): Mark unused parameter.
434 * progmodes/flymake.el (flymake-process-sentinel)
435 (flymake-after-change-function)
436 (flymake-create-temp-with-folder-structure)
437 (flymake-get-include-dirs-dot): Mark unused parameters.
438 (flymake-safe-delete-directory): Remove unused variable `err'.
440 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
441 (speedbar-timer-fn, speedbar-line-text)
442 (speedbar-change-expand-button-char, speedbar-delete-subblock)
443 (speedbar-center-buffer-smartly): Declare functions.
444 (gdb-find-watch-expression): Remove unused variable `array'.
445 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
446 (gdb-starting): Mark unused parameters.
447 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
448 (gdb-table-string): Remove unused variable `res'.
449 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
450 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
451 (gdb-display-buffer): Remove unused variable `cur-size'.
453 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
454 allow lexical-binding compilation.
455 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
456 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
457 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
458 Mark unused parameters.
459 (gud-gdb-marker-filter): Remove unused variable `match'.
460 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
461 lambda expressions and funcall them, instead of using `fset'.
463 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
464 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
466 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
467 variable `header-beg'; use `let'.
469 * progmodes/icon.el (indent-icon-exp): Remove unused variables
470 `restart', `last-sexp' and `at-do'.
472 * progmodes/js.el (js--debug): Mark unused parameter.
473 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
474 (js--splice-into-items): Remove unused variable `item'.
475 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
477 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
478 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
479 (makefile-complete): Remove unused variable `try'.
480 (makefile-fill-paragraph, makefile-match-function-end):
481 Mark unused parameters.
483 * progmodes/octave-inf.el (inferior-octave-complete):
484 Remove unused variable `proc'.
485 (inferior-octave-output-digest): Mark unused parameter.
487 * progmodes/perl-mode.el (perl-calculate-indent):
488 Remove unused variable `err'.
490 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
491 (prolog-indent-line): Mark unused parameters.
492 (prolog-indent-line): Remove unused variable `beg'.
494 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
495 (reporter-dont-compact-list): Declare.
497 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
498 Remove unused variable `char'.
499 (sh-debug): Mark unused parameter.
500 (sh-get-indent-info): Remove unused variable `start'.
501 (sh-calculate-indent): Remove unused variable `var'.
503 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
504 (simula-electric-keyword): Remove unused variable `null'.
505 (simula-search-backward, simula-search-forward): Remove unused
506 variables `begin' and `end'.
508 * progmodes/vera-mode.el (vera-guess-basic-syntax):
509 Remove unused variable `pos'.
510 (vera-electric-tab, vera-comment-uncomment-region):
511 Mark unused parameters.
512 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
514 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
516 * emacs-lisp/package.el (package--builtins, package-alist)
517 (package-load-descriptor, package-built-in-p, package-activate)
518 (define-package, package-installed-p)
519 (package-compute-transaction, package-buffer-info)
520 (package--push): Doc fix. Distinguish more clearly between
521 version strings and version lists.
523 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
525 Lexical-binding cleanup.
527 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
528 (5x5-make-mutate-best):
529 * play/fortune.el (fortune-in-buffer):
530 * play/gomoku.el (gomoku-init-display):
531 * play/solitaire.el (solitaire, solitaire-do-check):
532 * play/tetris.el (tetris-default-update-speed-function):
533 Mark unused parameters.
535 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
536 (bubbles--shift): Remove unused variable `char-org'.
537 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
538 (bubbles--show-images): Remove unused variable `char'.
540 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
541 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
542 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
543 (decipher-analyze-buffer): Use ?\s.
544 (decipher-make-checkpoint): Remove unused variable `mapping'.
546 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
548 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
549 Remove unused variable `result'; use `let'.
551 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
552 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
553 (gametree-children-shown-p, gametree-compute-reduced-score):
556 * play/handwrite.el (ps-lpr-switches): Declare.
557 (handwrite): Remove unused variables `pmin' and `lastp'.
559 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
561 * play/landmark.el (landmark-init-display)
562 (landmark-update-naught-weights): Mark unused parameters.
563 (landmark-y): Remove unused variable `noise'. Simplify.
564 (landmark-human-plays): Remove unused variable `score'.
566 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
567 (mpuz-try-proposal): Remove unused variable `game'.
569 * play/zone.el (life-patterns): Declare.
571 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
573 * vc/vc.el (ediff-vc-internal): Declare function.
575 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
577 * shell.el: Use lexical-binding and std completion UI.
578 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
579 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
580 comint-preoutput-filter-functions rather than on
581 comint-output-filter-functions.
582 (shell-command-completion, shell--command-completion-data)
583 (shell-filename-completion, shell-environment-variable-completion)
584 (shell-c-a-p-replace-by-expanded-directory): New functions.
585 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
586 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
587 (shell-dynamic-complete-environment-variable): Use them.
588 (shell-dynamic-complete-as-environment-variable)
589 (shell-dynamic-complete-as-command): Remove.
590 (shell-match-partial-variable): Match past point.
591 * comint.el: Clean up use of completion-at-point-functions.
592 (comint-completion-at-point): New function.
593 (comint-mode): Use it completion-at-point-functions.
594 (comint-dynamic-complete): Make it obsolete.
595 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
596 (comint-c-a-p-replace-by-expanded-history): New function.
597 (comint-dynamic-complete-functions)
598 (comint-replace-by-expanded-history): Use it.
599 * minibuffer.el (completion-table-with-terminator): Allow dynamic
600 termination strings. Try harder to avoid second try-completion.
601 (completion-in-region-mode-map): Disable bindings that don't work yet.
603 * comint.el: Use lexical-binding. Require CL.
604 (comint-dynamic-complete-functions): Use comint-filename-completion.
605 (comint-completion-addsuffix): Tweak custom type.
606 (comint-filename-completion, comint--common-suffix)
607 (comint--common-quoted-suffix, comint--table-subvert)
608 (comint--complete-file-name-data): New functions.
609 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
610 (comint-dynamic-list-filename-completions): Use them.
611 (comint-dynamic-simple-complete): Make obsolete.
613 * minibuffer.el (completion-in-region-mode):
614 Keep completion-in-region-mode--predicate global.
615 (completion-in-region--postch):
616 Assume completion-in-region-mode--predicate is not null.
618 * progmodes/flymake.el (flymake-start-syntax-check-process):
619 Obey `dir'. Simplify.
621 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
622 we're in VC after all.
624 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
626 * vc/vc.el (vc-diff-build-argument-list-internal)
627 (vc-version-ediff, vc-ediff): New commands.
628 (vc-version-diff): Use vc-diff-build-argument-list-internal.
630 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
632 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
635 * obsolete/erc-hecomplete.el: Make obsolete.
636 * obsolete/: Standardize obsolescence info in the header.
638 2011-04-20 Glenn Morris <rgm@gnu.org>
640 * calendar/solar.el (solar-horizontal-coordinates):
641 Use the longitude argument rather than `calendar-longitude'.
642 (solar-date-next-longitude): Remove unused locals.
644 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
646 * whitespace.el: New version 13.2.1.
648 2011-04-20 felix <EmacsWiki> (tiny change)
650 * whitespace.el (global-whitespace-mode): keep highlight when
651 switching between major modes on a file.
653 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
655 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
656 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
657 multi-line comments as well.
659 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
661 Lexical-binding cleanup.
663 * arc-mode.el (archive-mode-revert):
664 * cmuscheme.el (scheme-interactively-start-process):
665 * custom.el (custom-initialize-delay):
666 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
667 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
668 * emacs-lock.el (emacs-lock-clear-sentinel):
669 * ezimage.el (defezimage):
670 * follow.el (follow-avoid-tail-recenter):
671 * fringe.el (set-fringe-mode-1):
672 * generic-x.el (bat-generic-mode-compile):
673 * help-mode.el (help-info-variable, help-do-xref)
674 (help-mode-revert-buffer):
675 * help.el (view-emacs-todo):
676 * iswitchb.el (iswitchb-completion-help):
677 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
678 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
679 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
680 * locate.el (locate-update):
681 * longlines.el (longlines-encode-region)
682 (longlines-after-change-function):
683 * outline.el (outline-isearch-open-invisible):
684 * ps-def.el (declare-function, charset-dimension, char-width)
686 * ps-mule.el (ps-mule-plot-string):
687 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
688 (recentf-edit-list-select, recentf-edit-list-validate)
689 (recentf-open-files-action):
690 * rect.el (delete-whitespace-rectangle-line)
691 (rectangle-number-line-callback):
692 * register.el (window-configuration-to-register)
693 (frame-configuration-to-register):
694 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
695 * select.el (xselect-convert-to-string, xselect-convert-to-length)
696 (xselect-convert-to-targets, xselect-convert-to-delete)
697 (xselect-convert-to-filename, xselect-convert-to-charpos)
698 (xselect-convert-to-lineno, xselect-convert-to-colno)
699 (xselect-convert-to-os, xselect-convert-to-host)
700 (xselect-convert-to-user, xselect-convert-to-class)
701 (xselect-convert-to-name, xselect-convert-to-integer)
702 (xselect-convert-to-atom, xselect-convert-to-identity):
703 * subr.el (declare, ignore, process-kill-without-query)
704 (text-clone-maintain):
705 * terminal.el (te-get-char, te-tic-sentinel):
706 * tool-bar.el (tool-bar-make-keymap):
707 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
708 * type-break.el (type-break-mode, type-break-noninteractive-query):
709 * view.el (View-back-to-mark):
710 * wid-browse.el (widget-browse-action, widget-browse-widget)
711 (widget-browse-widgets, widget-browse-sexp):
712 * widget.el (define-widget-keywords):
713 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
714 Mark unused parameters.
716 * align.el (align-adjust-col-for-rule): Mark unused parameter.
717 (align-areas): Remove unused variable `look'.
718 (align-region): Remove unused variables `real-end' and `pos-list'.
720 * apropos.el (apropos-score-doc): Remove unused variable `i'.
722 * bindings.el (mode-line-modified, mode-line-remote):
723 Mark unused parameters.
724 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
726 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
727 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
729 * comint.el (comint-history-isearch-pop-state)
730 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
731 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
732 (comint-substitute-in-file-name): Doc fix.
734 * completion.el (cmpl-statistics-block): Mark unused parameter.
735 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
736 (save-completions-to-file, load-completions-from-file):
737 Remove unused local variable `e'.
739 * composite.el (compose-chars): Remove unused variable `len'.
740 (lgstring-insert-glyph): Remove unused variable `g'.
741 (compose-glyph-string): Remove unused variables `ascent',
742 `descent', `lbearing' and `rbearing'.
743 (compose-glyph-string-relative): Remove unused variables
744 `lbearing', `rbearing' and `wadjust'.
745 (compose-gstring-for-graphic): Remove unused variables `header',
746 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
747 (compose-gstring-for-terminal): Remove unused variables `header'
748 and `nchars'. Use `let', not `let*'.
750 * cus-edit.el (Custom-set, Custom-save, custom-reset)
751 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
752 (Custom-buffer-done, custom-buffer-create-internal)
753 (custom-browse-visibility-action, custom-browse-group-tag-action)
754 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
755 (widget-magic-mouse-down-action, custom-toggle-parent)
756 (custom-add-parent-links, custom-toggle-hide-variable)
757 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
758 (custom-toggle-hide-face, face, hook, custom-group-link-action)
759 (custom-face-menu-create, custom-variable-menu-create, get)
760 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
761 (custom-reset-standard-save-and-update): Remove unused variable `value'.
762 (customize-apropos): Remove unused variable `tests'.
763 (custom-group-value-create): Remove unused variable `hidden-p'.
764 (sort-fold-case): Declare.
766 * cus-theme.el (custom-reset-standard-faces-list)
767 (custom-reset-standard-variables-list): Declare.
768 (customize-create-theme, custom-theme-revert, custom-theme-write)
769 (custom-theme-choose-mode, customize-themes, custom-theme-save):
770 Mark unused parameters.
772 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
774 * delim-col.el (delimit-columns-max): Move defvar before first use.
776 * descr-text.el (describe-char-categories): Don't quote `lambda'.
777 (describe-char): Don't quote `lambda'. Mark unused parameter.
779 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
780 (auto-insert): Declare.
781 (desktop-restore-file-buffer): Rename desktop-* parameters;
783 (desktop-create-buffer): Rename desktop-* parameters and bind them.
784 (desktop-buffer): Rename desktop-* parameters.
786 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
787 (dframe-reposition-frame-xemacs, dframe-help-echo)
788 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
789 Mark unused parameters.
791 * dired-aux.el (backup-extract-version-start, overwrite-query)
792 (overwrite-backup-query, rename-regexp-query)
793 (rename-non-directory-query): Declare.
794 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
795 (dired-add-entry): Remove unused variable `orig-file-name'.
796 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
797 Use parameter PRESERVE-TIME instead of accessing dynamic variable
798 `dired-copy-preserve-time' directly.
799 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
800 (dired-insert-subdir-newpos): Rename unused variable `pos'.
802 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
803 (dired-virtual-revert, dired-make-relative-symlink):
804 Mark unused parameters.
805 (manual-program): Declare.
806 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
807 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
808 wrapped in `with-no-warnings' to avoid replacing one warning by another.
810 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
812 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
814 * echistory.el (electric-history-in-progress, Helper-return-blurb):
817 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
819 * electric.el (Electric-command-loop): Rename parameter
820 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
822 * expand.el (expand-in-literal): Remove unused variable `here'.
824 * facemenu.el (facemenu-add-new-color):
825 Remove unused variable `docstring'.
827 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
828 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
829 (face-attr-construct): Mark unused parameter. Doc fix.
830 (read-color): Remove unused variable `hex-string'.
832 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
833 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
834 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
835 (display-buffer-other-frame): Remove unused variable `old-window'.
836 (kill-buffer-hook): Declare.
837 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
838 Mark unused parameters.
839 (after-find-file): Pass 1 to `auto-save-mode', not t.
841 * files-x.el (auto-insert): Declare.
842 (modify-file-local-variable-prop-line): Remove unused variable `val'.
844 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
845 variable `buf'. Mark unused parameter.
846 (find-lisp-insert-directory): Mark unused parameter.
848 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
849 (format-encode-region): Remove unused variables `cur-buf' and `result'.
850 (format-common-tail): Remove, unused.
851 (format-deannotate-region): Remove unused variable `loc'.
852 (format-annotate-region): Remove unused variable `p'.
853 (format-annotate-single-property-change): Remove unused variables
854 `default' and `tail'.
856 * forms.el (read-file-filter): Declare.
857 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
859 * frame.el (frame-creation-function-alist): Mark unused parameter.
860 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
862 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
863 Remove unused parameters.
864 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
865 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
867 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
868 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
869 (hfy-prepare-tag-map): Mark unused parameters.
870 (htmlfontify-buffer): Use `called-interactively-p'.
872 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
873 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
874 (ibuffer-do-occur): Mark unused parameters.
875 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
876 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
878 * ibuffer.el: Don't quote `lambda'.
879 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
880 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
881 Mark unused parameters.
883 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
884 (ido-completing-read): Mark unused parameters.
885 (ido-copy-current-word): Mark unused parameters;
886 remove unused variable `name'.
887 (ido-sort-merged-list): Remove unused parameter `dirs'.
889 * ielm.el (ielm-input-sender): Mark unused parameter.
890 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
891 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
892 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
893 `ielm-string' as a dynamic variable accessible from the IELM prompt.
894 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
896 * image-dired.el (image-dired-display-thumbs): Remove unused
897 variables `curr-file' and `count'.
898 (image-dired-remove-tag): Remove unused variable `start'.
899 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
901 (image-dired-rotate-original): Remove unused variable `temp-file'.
902 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
903 Remove unused variable `file'.
904 (image-dired-gallery-generate): Remove unused variable `curr'.
905 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
907 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
909 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
911 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
913 * isearch.el (minibuffer-history-symbol): Declare.
914 (isearch-edit-string): Remove unused variable `err'.
915 (isearch-message-prefix, isearch-message-suffix):
916 Mark unused parameters.
918 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
920 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
922 * makesum.el (double-column): Remove unused variable `cnt'.
924 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
925 (ido-ignore-item-temp-list): Declare.
927 * mouse-drag.el (mouse-drag-throw): Remove unused variables
928 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
929 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
930 (mouse-drag-drag): Remove unused variables `mouse-delta' and
933 * mouse-sel.el (mouse-extend-internal):
934 Remove unused variable `orig-window-frame'.
936 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
937 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
938 Move declarations before first use.
939 (pcomplete-opt): Mark unused parameters; doc fix.
941 * proced.el (proced-revert): Mark unused parameter.
942 (proced-send-signal): Remove unused variable `err'.
944 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
945 Rename parameter PREFIX-ARG to ARG.
946 (ps-basic-plot-string, ps-basic-plot-whitespace):
947 Mark unused parameters.
949 * replace.el (replace-count): Define.
950 (occur-revert-function): Mark unused parameters.
951 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
952 (isearch-case-fold-search, isearch-string): Declare.
953 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
954 bind `case-fold-search'. Remove unused variables `beg' and `end',
956 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
957 COUNT and bind `replace-count'.
958 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
961 * savehist.el (print-readably, print-string-length): Declare.
963 * shadowfile.el (shadow-expand-cluster-in-file-name):
964 Remove unused variable `cluster'.
965 (shadow-copy-file): Remove unused variable `i'.
966 (shadow-noquery, shadow-clusters, shadow-site-cluster)
967 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
968 (shadow-define-literal-group, shadow-define-regexp-group)
969 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
971 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
972 (shell): Use `called-interactively-p'.
973 (shell-directory-tracker): Remove unused variable `chdir-failure'.
975 * simple.el (compilation-context-lines, comint-file-name-quote-list)
976 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
977 (delete-backward-char): Remove unused variable `ocol'.
978 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
979 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
980 (event-apply-hyper-modifier, event-apply-shift-modifier)
981 (event-apply-control-modifier, event-apply-meta-modifier):
982 Mark unused parameters.
983 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
984 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
986 * speedbar.el (speedbar-ignored-directory-expressions)
987 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
988 (speedbar-find-file, speedbar-dir-follow)
989 (speedbar-directory-buttons-follow, speedbar-tag-find)
990 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
991 (speedbar-buffers-line-directory, speedbar-buffer-click):
992 Mark unused parameters.
993 (speedbar-tag-file): Remove unused variable `mode'.
994 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
996 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
998 * talk.el (talk): Remove unused variable `display'.
1000 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1001 (tar-write-region-annotate): Mark unused parameter.
1003 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1004 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1005 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1008 * time-stamp.el (time-stamp-string-preprocess):
1009 Remove unused variable `require-padding'.
1011 * tree-widget.el (widget-glyph-enable): Declare.
1012 (tree-widget-action): Mark unused parameter.
1014 * w32-fns.el (x-get-selection): Mark unused parameter.
1015 (autoload-make-program, generated-autoload-file): Declare.
1017 * wdired.el (wdired-revert): Mark unused parameters.
1018 (wdired-xcase-word): Remove unused variable `err'.
1020 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1021 (whitespace-help-scroll): Remove unused variable `data-help'.
1023 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1024 (widget-image-insert, widget-after-change, default)
1025 (widget-default-format-handler, widget-default-notify)
1026 (widget-default-prompt-value, widget-info-link-action)
1027 (widget-url-link-action, widget-function-link-action)
1028 (widget-variable-link-action, widget-file-link-action)
1029 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1030 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1031 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1032 (widget-insert-button-action, widget-delete-button-action, visibility)
1033 (widget-documentation-link-action, widget-documentation-string-action)
1034 (widget-const-prompt-value, widget-regexp-match, symbol)
1035 (widget-coding-system-prompt-value)
1036 (widget-key-sequence-value-to-external, sexp)
1037 (widget-sexp-value-to-internal, character, vector, cons)
1038 (widget-choice-prompt-value, widget-boolean-prompt-value)
1039 (widget-color--choose-action): Mark unused parameters.
1040 (widget-item-match-inline, widget-choice-match-inline)
1041 (widget-checklist-match, widget-checklist-match-inline)
1042 (widget-group-match): Rename parameter VALUES to VALS.
1043 (widget-field-value-set): Remove unused variable `size'.
1044 (widget-color-action): Remove unused variables `value' and `start'.
1046 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1047 variable `dir'. Doc fix.
1048 (windmove-find-other-window): Don't pass it.
1050 * window.el (count-windows): Mark unused parameter.
1051 (bw-adjust-window): Remove unused variable `err'.
1053 * woman.el (woman-file-name): Remove unused variable `default'.
1054 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1055 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1056 (global-font-lock-mode): Declare.
1057 (woman-decode-region): Mark unused parameter.
1058 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1060 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1061 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1062 (x-dnd-handle-moz-url): Remove unused variable `title'.
1063 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1065 * xml.el (xml-parse-tag, xml-parse-attlist):
1066 Remove unused variable `pos'.
1068 2011-04-19 Glenn Morris <rgm@gnu.org>
1070 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1071 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1072 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1073 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1074 * calendar/cal-html.el (cal-html-insert-minical):
1075 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1076 (calendar-mark-date-pattern):
1077 Prefix "unused" locals.
1079 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1080 optional argument `style'.
1082 * calendar/appt.el (appt-make-list):
1083 * calendar/cal-china.el (calendar-chinese-date-string):
1084 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1085 (diary-hebrew-yahrzeit):
1086 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1087 * calendar/calendar.el (calendar-generate-window):
1088 * calendar/time-date.el (time-to-days):
1089 Remove unused local variables.
1091 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1093 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1094 glyphless-char-display table.
1095 (tabulated-list-glyphless-char-display): New var.
1097 2011-04-18 Sam Steingold <sds@gnu.org>
1099 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1102 2011-04-17 Glenn Morris <rgm@gnu.org>
1104 * calendar/diary-lib.el (diary-sexp-entry):
1105 * calendar/holidays.el (holiday-sexp):
1106 Set debug-on-error rather than the removed stack-trace-on-error.
1108 2011-04-16 Glenn Morris <rgm@gnu.org>
1110 * progmodes/f90.el: Use lexical-binding.
1111 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1113 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1115 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1116 (mail-mode): Setup mailalias completion here instead.
1117 * mail/mailalias.el: Use lexical-binding.
1118 (pattern, mailalias-done): Declare dynamic.
1119 (mail-completion-at-point-function): New function, from mail-complete.
1120 (mail-complete): Use it.
1121 (mail-completion-expand): New function.
1122 (mail-get-names): Use it.
1123 (mail-directory, mail-directory-process, mail-directory-stream):
1124 Don't use `pattern' for lexically bound arg.
1126 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1128 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1129 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1130 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1132 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1133 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1134 (byte-interactive-p): Define them again, for use when inlining
1137 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1139 * loadup.el: Use `string-to-number', not `string-to-int'.
1141 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1144 gud-gdb-complete-command.
1145 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1146 (gud-gdb-completion-at-point): New function.
1147 (gud-gdb-completions): Remove.
1149 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1151 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1152 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1153 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1154 whether `executable-find' is bound.
1156 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1158 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * minibuffer.el (completion-in-region-mode-predicate)
1161 (completion-in-region-mode--predicate): New vars.
1162 (completion-in-region, completion-in-region--postch)
1163 (completion-in-region-mode): Use them.
1164 (completion--capf-wrapper): Also return the hook function.
1165 (completion-at-point, completion-help-at-point):
1166 Adjust and provide a predicate.
1168 Preserve arg names for advice of subr and lexical functions (bug#8457).
1169 * help-fns.el (help-function-arglist): Consolidate the subr and
1170 new-byte-code cases. Add argument `preserve-names' to extract names
1171 from the docstring when needed.
1172 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1173 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1174 (ad-arglist): Use help-function-arglist's new arg.
1175 (ad-definition-type): Use cond.
1177 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1179 * autorevert.el (auto-revert-handler):
1180 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1181 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1184 * image-mode.el (image-transform-set-scale):
1185 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1187 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1189 * net/network-stream.el (network-stream-open-starttls): Only do
1190 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1191 Upgrades via gnutls-cli are too slow to be done opportunistically.
1193 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1195 * dframe.el (dframe-current-frame): Remove spurious quote.
1197 2011-04-12 Glenn Morris <rgm@gnu.org>
1199 * calendar/cal-tex.el (cal-tex-end-document):
1200 Try to automatically use latin1 input if needed.
1202 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1203 Don't try to cons a mark onto an empty element.
1205 2011-04-11 Leo Liu <sdl.web@gmail.com>
1207 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1209 (ido-kill-buffer-at-head): Support killing virtual buffers.
1211 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1213 * minibuffer.el (completion-show-inline-help): New var.
1214 (completion--do-completion, minibuffer-complete)
1215 (minibuffer-force-complete, minibuffer-complete-word):
1216 Inhibit minibuffer messages if completion-show-inline-help is nil.
1218 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1219 to avoid interference from inline help (Bug#5849).
1221 2011-04-10 Leo Liu <sdl.web@gmail.com>
1223 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1226 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1228 * image-mode.el (image-toggle-display-image): Signal an error if
1230 (image-transform-mode, image-transform-resize)
1231 (image-transform-set-rotation): Doc fix.
1232 (image-transform-set-resize): Delete.
1233 (image-transform-set-scale, image-transform-fit-to-height)
1234 (image-transform-fit-to-width): Handle image-toggle-display-image
1235 and image-transform-resize directly.
1237 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1239 * doc-view.el (doc-view-fit-width-to-window)
1240 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1241 New functions for fitting the shown image to the Emacs window size.
1242 (doc-view-mode-map): Add bindings for the new functions.
1244 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1246 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1247 Fix typo in docstring.
1249 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1251 * files.el (file-size-human-readable): Produce one digit after
1252 decimal, like "ls -lh" does.
1254 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1255 the file size representation.
1257 * simple.el (list-processes): If async subprocesses are not
1258 available, error out with a clear error message.
1260 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1262 * help.el (help-form-show): New function, to be called from C.
1263 Put help-form output in a buffer named differently than *Help*.
1265 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1267 * files.el (file-size-human-readable): New function.
1269 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1270 computing the representation inline. Don't require `cl'.
1272 2011-04-08 Glenn Morris <rgm@gnu.org>
1274 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1276 * net/browse-url.el (browse-url-firefox):
1277 Test system-type, not system-configuration.
1279 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1280 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1281 Use log-edit-empty-buffer-p. (Bug#7598)
1283 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1284 (rlogin-mode-map): Initialize in the defvar.
1285 (rlogin): Use ignore-errors.
1287 * replace.el (occur-mode-map): Some fixes for menu items.
1289 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1291 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1293 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1295 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1296 issuing unused warnings.
1298 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1301 * simple.el: Lisp reimplement of list-processes. Based on an
1302 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1303 (process-menu-mode): New major mode.
1304 (list-processes--refresh, list-processes):
1305 (process-menu-visit-buffer): New functions.
1307 * files.el (save-buffers-kill-emacs): Don't assume any return
1308 value of list-processes, which is undocumented anyway.
1310 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1312 * emacs-lisp/tabulated-list.el: New file.
1314 * emacs-lisp/package.el: Use Tabulated List mode.
1315 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1316 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1317 table format using Tabulated List mode variables.
1318 (package--push): New macro, replacing package-list-maybe-add.
1319 (package-menu--generate): Use package--push. Renamed from
1320 package--generate-package-list.
1321 (package-menu-refresh, list-packages): Use it.
1322 (package-menu--print-info): Rename from package-print-package.
1323 Return insertion data instead of inserting it directly.
1324 (package-menu-describe-package, package-menu-execute):
1325 Use tabulated-list-get-id.
1326 (package-menu-mark-delete, package-menu-mark-install)
1327 (package-menu-mark-unmark, package-menu-backup-unmark)
1328 (package-menu-mark-obsolete-for-deletion):
1329 Use tabulated-list-put-tag.
1330 (package--list-packages, package-menu-revert)
1331 (package-menu-get-package, package-menu-get-version)
1332 (package-menu-sort-by-column): Functions deleted.
1333 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1334 (package-menu--status-predicate, package-menu--version-predicate)
1335 (package-menu--name-predicate)
1336 (package-menu--description-predicate): Handle arguments in the
1337 Tabulated List format.
1338 (package-list-packages-no-fetch): Call list-packages.
1340 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1342 * files.el (after-find-file-from-revert-buffer): Remove variable.
1343 (after-find-file): Don't bind it.
1344 (revert-buffer-in-progress-p): New variable.
1345 (revert-buffer): Bind it.
1346 Pass nil for `after-find-file-from-revert-buffer'.
1348 * saveplace.el (save-place-find-file-hook): Use new variable
1349 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1351 2011-04-06 Glenn Morris <rgm@gnu.org>
1353 * Makefile.in (AUTOGEN_VCS): New variable.
1354 (autoloads): Use $AUTOGEN_VCS.
1356 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1357 * calendar/calendar.el (calendar-mode-map):
1358 Check for toolkit scroll bars. (Bug#8305)
1360 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1362 * minibuffer.el (completion-in-region--postch)
1363 (completion-in-region-mode): Remove unnecessary messages.
1365 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1367 * font-lock.el (font-lock-refresh-defaults):
1368 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1369 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1371 * info.el (Info-directory-list, Info-read-node-name-2)
1372 (Info-split-parameter-string): Doc fixes.
1373 (Info-virtual-nodes): Reflow docstring.
1374 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1375 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1376 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1377 Fix typos in docstrings.
1378 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1379 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1380 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1381 (Info-restore-desktop-buffer): Mark unused parameters.
1382 (Info-directory-find-file, Info-directory-find-node)
1383 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1384 (Info-virtual-index-find-node, Info-apropos-find-file)
1385 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1386 Mark unused parameters; fix typos in docstrings.
1387 (Info-virtual-index): Remove unused local variable `nodename'.
1389 2011-04-05 Deniz Dogan <deniz@dogan.se>
1391 * net/rcirc.el: Update my e-mail address.
1392 (rcirc-mode-map): Remove M-o binding.
1394 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1396 * startup.el (command-line): Save the cursor's theme-face
1397 directly, instead of using face-override-spec.
1399 * custom.el (load-theme): Minor optimization in assigning faces.
1401 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1403 * help-fns.el (describe-variable): Complete all variables having
1404 documentation, including keywords.
1405 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1407 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1409 Convert to lexical-binding.
1411 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1412 (bs--get-marked-string, bs--get-modified-string)
1413 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1414 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1415 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1417 * ehelp.el (electric-help-execute-extended)
1418 (electric-help-ctrl-x-prefix):
1419 * hexl.el (hexl-revert-buffer-function):
1420 * linum.el (linum-after-change, linum-after-scroll):
1421 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1423 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1425 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1432 * epg.el: Use lexical binding.
1434 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1436 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1438 * textmodes/flyspell.el (flyspell-word): Recognize default
1439 dictionary case for flyspell-mark-duplications-exceptions.
1440 Use regexp matching for languages.
1441 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1442 default dictionary (Bug#7926).
1444 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1446 * emacs-lisp/package.el (package--with-work-buffer):
1447 Recognize https URLs.
1449 * net/network-stream.el: Move from gnus/proto-stream.el.
1450 Change prefix to network-stream throughout.
1451 (open-protocol-stream): Merge into open-network-stream, leaving
1452 open-protocol-stream as an alias. Handle nil BUFFER args.
1454 * subr.el (open-network-stream): Move to net/network-stream.el.
1456 2011-04-02 Glenn Morris <rgm@gnu.org>
1458 * find-dired.el (find-exec-terminator): New option.
1459 (find-ls-option): Test for -ls support.
1460 (find-ls-subdir-switches): Test for -b in find-ls-option.
1461 (find-dired, find-grep-dired): Doc fixes.
1462 (find-dired): Use find-exec-terminator.
1464 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1465 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1466 (find-name-arg): Remove purecopy.
1468 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1469 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1470 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1471 accordingly. Don't add the null-device if not needed.
1473 * files.el (save-some-buffers): Doc fix.
1475 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1477 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1479 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1481 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1482 Use `dolist' rather than `mapcar'.
1484 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1486 Add lexical binding.
1488 * subr.el (apply-partially): Use new closures rather than CL.
1489 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1490 (dolist, dotimes): Use slightly different expansion for lexical code.
1491 (functionp): Move to C.
1492 (letrec): New macro.
1493 (with-wrapper-hook): Use it and apply-partially instead of CL.
1494 (eval-after-load): Preserve lexical-binding.
1495 (save-window-excursion, with-output-to-temp-buffer): Turn them
1498 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1500 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1502 (help-add-fundoc-usage): Don't add `Not documented'.
1503 (help-function-arglist): Handle closures, subroutines, and new
1504 byte-code-functions.
1505 (help-make-usage): Remove leading underscores.
1506 (describe-function-1): Handle closures.
1507 (describe-variable): Use special-variable-p for completion.
1509 * files.el (lexical-binding): Declare safe.
1511 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1512 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1513 (pcase): Add `let' pattern.
1514 Change memoization so it actually works.
1515 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1516 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1519 * emacs-lisp/macroexp.el: Use lexical binding.
1520 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1521 Don't convert ' to #' without checking that it's indeed quoting
1524 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1525 Use eval-sexp-add-defvars.
1526 (eval-sexp-add-defvars): New fun.
1528 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1530 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1532 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1533 than the internal `byte-compile-lambda'.
1534 (defmethod): Don't hide code under quotes.
1535 (eieio-defmethod): New `code' argument.
1537 * emacs-lisp/eieio-comp.el: Remove.
1539 * emacs-lisp/edebug.el (edebug-eval-defun)
1540 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1541 (edebug-toggle): Avoid `eval'.
1543 * emacs-lisp/disass.el (disassemble-internal): Handle new
1545 (disassemble-1): Handle new byte codes.
1547 * emacs-lisp/cl.el (pushnew): Silence warning.
1549 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1550 (cl-byte-compile-throw): Remove.
1551 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1553 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1556 * emacs-lisp/cconv.el: New file.
1558 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1559 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1560 (byte-compile-initial-macro-environment):
1561 Handle declare-function here.
1562 (byte-compile--lexical-environment): New var.
1563 (byte-stack-ref, byte-stack-set, byte-discardN)
1564 (byte-discardN-preserve-tos): New lap codes.
1565 (byte-interactive-p): Don't use any more.
1566 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1568 (byte-compile-lapcode): Use them and handle new lap codes.
1569 (byte-compile-obsolete): Remove.
1570 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1571 (byte-compile-arglist-warn): Check late def of inlinable funs.
1572 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1573 since they should have been expanded by now.
1574 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1575 (byte-compile-from-buffer): Remove unused second arg.
1576 (byte-compile-preprocess): New function.
1577 (byte-compile-toplevel-file-form): New function to distinguish
1578 file-form calls from outside from file-form calls from hunk-handlers.
1579 (byte-compile-file-form): Simplify.
1580 (byte-compile-file-form-defsubst): Remove.
1581 (byte-compile-file-form-defmumble): Simplify now that
1582 byte-compile-lambda always returns a byte-code-function.
1583 (byte-compile): Preprocess.
1584 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1585 Remove, not used any more.
1586 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1587 (byte-compile-make-args-desc): New funs.
1588 (byte-compile-lambda): Handle lexical functions. Always return
1589 a byte-code-function.
1590 (byte-compile-reserved-constants): New var, to make up room for
1591 closed-over variables.
1592 (byte-compile-constants-vector): Obey it.
1593 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1594 (byte-compile-macroexpand-declare-function): New function.
1595 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1596 byte-code-functions.
1597 (byte-compile-form): Check obsolescence here.
1598 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1599 (byte-compile-variable-ref): Remove.
1600 (byte-compile-dynamic-variable-op): New fun.
1601 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1602 (byte-compile-variable-set): New funs.
1603 (byte-compile-discard): Add 2 args.
1604 (byte-compile-stack-ref, byte-compile-stack-set)
1605 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1606 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1607 macroexpand-all instead.
1608 (byte-compile-quote-form): Remove.
1609 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1610 (byte-compile-bind, byte-compile-unbind): New funs.
1611 (byte-compile-let): Handle let* and lexical binding.
1612 (byte-compile-let*): Remove.
1613 (byte-compile-catch, byte-compile-unwind-protect)
1614 (byte-compile-track-mouse, byte-compile-condition-case):
1615 Handle a new :fun-body form, used for lexical scoping.
1616 (byte-compile-save-window-excursion)
1617 (byte-compile-with-output-to-temp-buffer): Remove.
1618 (byte-compile-defun): Simplify.
1619 (byte-compile-stack-adjustment): New fun.
1620 (byte-compile-out): Use it.
1621 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1623 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1626 * emacs-lisp/byte-opt.el: Use lexical binding.
1627 (byte-inline-lapcode): Remove (to bytecomp).
1628 (byte-compile-inline-expand): Pay attention to inlining to/from
1629 lexically bound code.
1630 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1632 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1633 any more and don't call compiler-macros.
1634 (byte-compile-splice-in-already-compiled-code): Remove.
1635 (byte-code): Don't inline any more.
1636 (disassemble-offset): Receive `bytes' as argument rather than via
1638 (byte-compile-tag-number): Declare before first use.
1639 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1640 `return' even if make-spliceable.
1641 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1642 obsolete interactive-p.
1643 (byte-optimize-lapcode): Optimize new lap-codes.
1644 Don't trip up on new form of `byte-constant' lap code.
1646 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1648 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1650 * custom.el (custom-initialize-default, custom-declare-variable):
1653 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1655 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1656 (COMPILE_FIRST): Add macroexp and cconv.
1657 * makefile.w32-in: Mirror changes in Makefile.in.
1663 * vc/smerge-mode.el:
1664 * textmodes/bibtex-style.el:
1673 * emacs-lisp/smie.el:
1676 * abbrev.el: Use lexical binding.
1678 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1680 * info.el (info-display-manual): New function.
1682 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1686 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1688 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1689 an entry for that server in rcirc-authinfo. (Bug#8385)
1691 2011-03-31 Glenn Morris <rgm@gnu.org>
1693 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1695 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1697 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1699 * progmodes/python.el (python-default-interpreter)
1700 (python-python-command-args, python-jython-command-args)
1701 (python-which-shell, python-which-args, python-which-bufname)
1702 (python-file-queue, python-comint-output-filter-function)
1703 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1704 variables and functions.
1706 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1709 (completion-in-region-mode): New minor mode.
1710 (completion-in-region): Use it.
1711 (completion-in-region--data, completion-in-region-mode-map): New vars.
1712 (completion-in-region--postch): New function.
1713 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1715 (completion--capf-wrapper): New function.
1716 (completion-at-point): Use it to track well-behavedness of
1718 (completion-help-at-point): New command.
1720 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1722 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1723 syntax class to search for whitespace on a single line
1724 (Message-ID: <4D938140.4030905@redhat.com>).
1726 2011-03-30 Leo Liu <sdl.web@gmail.com>
1728 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1730 (edit-abbrevs-map): Bind them here.
1731 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1733 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1735 * allout.el (allout-hide-by-annotation, allout-flag-region):
1736 Reduce possibility of overlay leakage by making them volatile.
1738 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1739 hash is not shared between buffers. Mode initialization is
1740 responsible for giving it a useful starting value.
1741 (allout-item-span): Reduce possibility of overlay leakage by
1742 making them volatile.
1743 (allout-widgets-count-buttons-in-region): Add diagnostic function
1744 for tracking down button overlay leaks.
1746 2011-03-29 Leo Liu <sdl.web@gmail.com>
1748 * ido.el (ido-read-internal): Use the default history var
1749 minibuffer-history if no HISTORY is specified.
1751 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1753 * net/imap.el (imap-shell-open, imap-process-connection-type):
1754 Use imap-process-connection-type for 'shell' streams as well as
1755 Kerberos, SSL, other subprocesses.
1757 2011-03-28 Leo Liu <sdl.web@gmail.com>
1759 * abbrev.el (abbrev-table-empty-p): New function.
1760 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1761 nonempty ones. (Bug#5937)
1763 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1765 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1767 2011-03-27 Leo Liu <sdl.web@gmail.com>
1769 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1770 for foreground and background colors.
1771 (ansi-color-make-color-map): Adapt.
1773 2011-03-25 Leo Liu <sdl.web@gmail.com>
1775 * midnight.el (midnight-time-float): Remove. Note it calculates
1776 the microsecond component incorrectly and seconds-to-time does the
1778 Remove redundant (require 'timer).
1780 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1781 (ido-completions): Remove unused arguments. (Bug#8329)
1783 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * minibuffer.el (completion--flush-all-sorted-completions):
1786 Remove itself from hook.
1787 (completion-at-point): Let the functions perform the completion
1788 immediately and return nil or t.
1789 * comint.el (comint-dynamic-complete-functions): Now identical to
1790 completion-at-point-functions.
1791 (comint-dynamic-list-input-ring): Remove unused var `index'.
1792 (comint--match-partial-filename, comint--unquote&expand-filename):
1793 New funs, split from comint-match-partial-filename.
1794 (comint-dynamic-complete): Use completion-at-point.
1795 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1797 2011-03-24 Drew Adams <drew.adams@oracle.com>
1799 * thingatpt.el: Support `defun'.
1801 2011-03-23 Leo Liu <sdl.web@gmail.com>
1803 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1805 * help-mode.el (help-mode-finish): Tweak regexp.
1807 2011-03-23 Glenn Morris <rgm@gnu.org>
1809 * eshell/esh-opt.el (eshell-eval-using-options):
1810 Do not bind unused local variable `eshell-option-stub'.
1812 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1814 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1816 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1817 keymap variable in `with-no-warnings' to avoid a warning when the
1818 keymap has been already `defconst'ed.
1820 2011-03-22 Leo Liu <sdl.web@gmail.com>
1822 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1823 encode all chars in abbrevs; otherwise use emacs-mule or
1824 utf-8-emacs. (Bug#8308)
1826 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1828 * simple.el (backward-delete-char-untabify):
1829 Avoid warning about using `delete-backward-char'.
1831 * image.el (image-type-file-name-regexps): Make it variable.
1832 `imagemagick-register-types' modifies it, and the user may want
1833 to add new extensions for known image types.
1834 (imagemagick-register-types): Throw error if not using ImageMagick.
1836 2011-03-22 Leo Liu <sdl.web@gmail.com>
1838 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1839 located before rcirc-prompt-end-marker.
1840 (rcirc-complete): Error if point is not after rcirc prompt.
1841 Handle the case when table is nil.
1842 (rcirc-user-authenticated): Define to fix compiler warning.
1844 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1846 * custom.el (custom--inhibit-theme-enable): Make it affect only
1847 custom-theme-set-variables and custom-theme-set-faces.
1848 (provide-theme): Ignore custom--inhibit-theme-enable.
1849 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1850 (custom-enabling-themes): Delete variable.
1851 (enable-theme): Accept only loaded themes as arguments.
1852 Ignore the special custom-enabled-themes variable.
1853 (custom-enabled-themes): Forbid themes from setting this.
1854 Eliminate use of custom-enabling-themes.
1855 (custom-push-theme): Quote "changed" custom var entry.
1857 2011-03-21 Leo Liu <sdl.web@gmail.com>
1859 * ido.el (ido-read-internal): Add ido-selected to history instead
1862 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * subr.el (deferred-action-list, deferred-action-function):
1867 2011-03-21 Leo Liu <sdl.web@gmail.com>
1869 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1870 change on 2011-02-13 (bug#8309).
1872 * minibuffer.el (read-file-name-function): Change default value.
1873 (read-file-name--defaults): Rename from read-file-name-defaults.
1874 (read-file-name-default): Rename from read-file-name.
1875 (read-file-name): Call read-file-name-function.
1877 2011-03-21 Glenn Morris <rgm@gnu.org>
1879 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1882 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1884 * cus-theme.el: Add missing provide statement.
1885 (customize-create-theme): Extract theme value correctly.
1886 (custom-theme-visit-theme): Autoload.
1887 (customize-create-theme): Prompt before inserting default faces.
1889 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1891 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1892 units and musical notes.
1894 2011-03-20 Leo <sdl.web@gmail.com>
1896 * ido.el (ido-read-internal): Use completing-read-default.
1897 (ido-completing-read): Fix compatibility with completing-read.
1899 2011-03-20 Christian Ohler <ohler@gnu.org>
1901 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1902 (ert-delete-all-tests): Use `called-interactively-p' rather than
1904 (ert--make-xrefs-region): Respect END.
1906 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1908 * dired-aux.el (dired-create-directory): Signal an error if the
1909 directory already exists (Bug#8246).
1911 * facemenu.el (list-colors-display): Call list-faces-display
1912 inside with-help-window.
1913 (list-colors-print): Use display property to align the final
1914 column, instead of checking window-width.
1916 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1918 * emerge.el (emerge-metachars): Separate value for ms-dos and
1920 (emerge-protect-metachars): Quote correctly for ms-dos and
1923 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1925 * info.el (info-initialize): Replace all uses of `:' with
1926 path-separator for compatibility with non-Unix systems.
1927 Cache quoting of path-separator. (Bug#8258)
1929 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1931 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1932 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1933 (mouse-avoidance-mode): Fix typos in docstrings.
1935 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1937 * startup.el (package-subdirectory-regexp): Move from package.el.
1938 Omit \\` and \\', and let callers add them.
1940 * emacs-lisp/package.el (package-strip-version)
1941 (package-load-all-descriptors): Add \\` and \\' to
1942 package-subdirectory-regexp before using it.
1943 (package-untar-buffer): New arg DIR; ensure that file untars only
1944 into this expected directory. Remove superfluous delete-region.
1945 (package-unpack): Caller changed.
1946 (package-tar-file-info): Use package-subdirectory-regexp.
1948 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1951 diff-mode-shared-map (bug#8284).
1952 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1954 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1956 * calendar/time-date.el (format-seconds): Use assoc instead of
1957 assoc-string, since assoc-string doesn't exist in XEmacs.
1959 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1961 * custom.el (custom-known-themes): Reflow docstring.
1962 (custom-theme-load-path): Fix typo in docstring.
1963 (load-theme): Fix typo in error message.
1964 (custom-available-themes, custom-variable-theme-value):
1965 Use `let', not `let*'.
1967 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1969 * calc/README: Mention inclusion of musical notes.
1971 * calc/calc-units.el (calc-lu-quant): Rename from
1972 `calc-logunits-quantity'.
1973 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1974 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1975 (calc-db): Rename from `calc-dblevel'.
1976 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1977 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1978 (calc-np): Rename from `calc-nplevel'.
1979 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1980 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1981 (calc-lu-plus): Rename from `calc-logunits-add'.
1982 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1983 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1984 (calc-lu-minus): Rename from `calc-logunits-sub'.
1985 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1986 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1987 (calc-lu-times): Rename from `calc-logunits-mul'.
1988 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1989 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1990 (calc-lu-divide): Rename from `calc-logunits-div'.
1991 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1992 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1994 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1995 functions being autoloaded.
1997 * calc/calc.el (calc-lu-power-reference): Rename from
1998 `calc-logunits-power-reference'.
1999 (calc-lu-field-reference): Rename from
2000 `calc-logunits-field-reference'.
2002 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2004 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * minibuffer.el (completion-all-sorted-completions):
2007 Use :completion-cycle-penalty text property if present.
2009 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2011 * allout.el (allout-yank-processing): Adjust for new rebulleting
2012 regime so bullet being yanked is used without prompting the user
2015 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2017 * startup.el (command-line): Warn the user that _emacs is deprecated.
2019 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2021 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2022 (delphi-verbose, delphi-comment-face, delphi-string-face)
2023 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2024 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2025 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2026 (delphi-new-comment-line, delphi-font-lock-defaults)
2027 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2028 Fix typos in docstrings.
2030 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2032 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2033 Invert the roles of character and string values for INSTEAD, so a
2034 string is used for the more common case of a defaulting prompt.
2036 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * progmodes/ruby-mode.el (ruby-backward-sexp):
2039 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2040 * play/gamegrid.el (gamegrid-make-face):
2041 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2042 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2043 * notifications.el (notifications-notify):
2044 * net/xesam.el (xesam-search-engines):
2045 * net/quickurl.el (quickurl-list-insert):
2046 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2048 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2050 * startup.el (command-line): Update package subdirectory regexp.
2052 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * allout.el (allout-abbreviate-flattened-numbering)
2055 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2057 * subr.el (read-char-choice): Only show the cursor after the prompt,
2058 not after the answer.
2060 2011-03-15 Kevin Ryde <user42@zip.com.au>
2062 * help-fns.el (variable-at-point): Skip leading quotes, if any
2065 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2070 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2072 * shell.el (shell): When called interactively, offer to change the
2073 shell file name on remote hosts.
2075 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2077 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2078 integration for LDAP parameters. The host, base, user or binddn,
2079 and secret tokens can be specified in a netrc file, for instance.
2080 This is optional because an `auth-source' parameter must be
2081 specified in the search attributes.
2083 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2085 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2087 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2090 into declaration. Remove redundant and harmful binding.
2092 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2094 * files.el (file-ownership-preserved-p): Pass `integer' as an
2095 explicit 2nd argument to `file-attributes'. If the file's owner
2096 is the Administrators group on Windows, and the current user is
2097 Administrator, consider that a match.
2099 * server.el (server-ensure-safe-dir): Consider server directory
2100 safe on MS-Windows if its owner is the Administrators group while
2101 the current Emacs user is Administrator. Use `=' to compare
2102 numerical UIDs, since they could be integers or floats.
2104 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2106 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2108 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2110 Sync with Tramp 2.2.1.
2112 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2114 * net/trampver.el: Update release number.
2116 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * progmodes/compile.el (compilation--previous-directory): Fix up
2119 various nil/dead-marker mismatches (bug#8014).
2120 (compilation-directory-properties, compilation-error-properties):
2121 Don't call it at a position past the one we're about to change.
2123 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2124 Disable obsolescence warnings in the file that declares it.
2126 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2128 * allout-widgets.el (allout-widgets-tally):
2129 Initialize allout-widgets-tally as a hash table rather than nil to
2130 prevent mode-line redisplay warnings. Also, clarify the module
2131 description and fix a comment typo.
2133 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2135 * help-fns.el (describe-variable): Don't complete keywords.
2136 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2138 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2140 * emacs-lisp/package.el (package-version-join): Impose a standard
2141 string representation for pre/alpha/beta version lists.
2142 (package-unpack-single): Standardize the directory name by passing
2143 it through package-version-join.
2144 (package-strip-rcs-id): Accept any version string that does not
2145 signal an error in version-to-list.
2147 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2149 * simple.el (delete-trailing-whitespace): Return nil for the
2150 benefit of `write-file-functions'.
2152 2011-03-10 Glenn Morris <rgm@gnu.org>
2154 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2156 * vc/vc-git.el (vc-git-program): New option.
2157 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2158 (vc-git--call): Use it.
2160 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2162 * cus-edit.el (Custom-newline): If no button at point, look
2163 for a subgroup button at start-of-line. (Bug#2298)
2165 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2167 2011-03-10 Julien Danjou <julien@danjou.info>
2169 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2170 `cursor-type' is nil.
2172 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2174 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2176 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2178 * allout.el Summary: Change so yank of distinctive-bullet items
2179 preserves the existing header prefix, rebulleting it if necessary,
2180 rather than replacing it. This is necessary for proper operation
2181 of cooperative addons like allout-widgets.
2182 (allout-make-topic-prefix, allout-rebullet-heading): Change
2183 SOLICIT arg to INSTEAD, and interpret additionally a string value
2184 as alternate bullet to be used, instead of prompting the user for
2187 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2189 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2190 Do not use `tramp-file-name-port', because this returns also
2191 `tramp-default-port'.
2193 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2195 * net/rcirc.el (rcirc-handler-001): Remove useless
2196 with-rcirc-process-buffer.
2197 (rcirc-check-auth-status): Swap arguments to string-match.
2199 2011-03-09 Glenn Morris <rgm@gnu.org>
2201 * shell.el (shell-mode):
2202 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2204 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2205 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2207 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2209 * emacs-lisp/package.el (package-refresh-contents)
2210 (package-menu-execute): Use condition-case-no-debug.
2212 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2214 * simple.el (shell-command-to-string): Use `process-file'.
2216 * emacs-lisp/package.el (package-tar-file-info): Handle also
2219 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2220 Use `equal' for upload base check.
2222 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2224 * textmodes/texinfo.el (texinfo-environments):
2225 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2227 2011-03-08 Glenn Morris <rgm@gnu.org>
2229 * cus-start.el (cursor-in-non-selected-windows):
2230 Fix :set quoting oddness. (Bug#8192)
2232 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2233 in some setf expressions. (Bug#2159)
2235 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2237 * custom.el (custom-available-themes): Return themes in
2240 See ChangeLog.15 for earlier changes.
2246 Copyright (C) 2011 Free Software Foundation, Inc.
2248 This file is part of GNU Emacs.
2250 GNU Emacs is free software: you can redistribute it and/or modify
2251 it under the terms of the GNU General Public License as published by
2252 the Free Software Foundation, either version 3 of the License, or
2253 (at your option) any later version.
2255 GNU Emacs is distributed in the hope that it will be useful,
2256 but WITHOUT ANY WARRANTY; without even the implied warranty of
2257 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2258 GNU General Public License for more details.
2260 You should have received a copy of the GNU General Public License
2261 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.