1 2011-05-02 Leo Liu <sdl.web@gmail.com>
3 * vc/diff.el: Fix description.
5 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7 * server.el (server-eval-at): New function.
9 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11 * net/network-stream.el (open-network-stream): Take a :nowait
12 parameter and pass it on to `make-network-process'.
13 (network-stream-open-plain): Ditto.
15 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17 * faces.el (face-spec-set-match-display): Don't match toolkit
18 options on terminal frames.
20 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22 * progmodes/pascal.el: Use lexical binding.
23 (pascal-mode-map): Remove author preferences.
25 * pcomplete.el (pcomplete-std-complete): Don't abuse
28 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
30 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
31 removing code that has been dead since 1991 or so.
33 * startup.el (command-line): When warning about "_emacs", use a
34 delayed warning to allow the user to filter it out.
36 2011-04-28 Deniz Dogan <deniz@dogan.se>
38 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
41 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
43 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
44 aren't any completions at point.
46 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
48 * subr.el (display-delayed-warnings): New function.
49 (delayed-warnings-hook): New variable.
51 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
53 * minibuffer.el (completion-at-point, completion-help-at-point):
54 Don't presume that a given completion-at-point-function will always
55 use the same calling convention.
57 * pcomplete.el (pcomplete-completions-at-point):
58 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
59 pcomplete-seen is non-nil.
60 (pcomplete-comint-setup): Also recognize the new comint/shell
62 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
63 pcomplete-seen is non-nil.
65 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
67 * calendar/icalendar.el (diary-lib): Add require statement.
68 (icalendar--create-uid): Read out a uid from a text-property on
69 the first character in the entry. This allows for code to add its
71 (icalendar--convert-float-to-ical): Add export of
72 `diary-float'-entries save for those with the optional DAY
75 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
77 * subr.el (shell-quote-argument): Use alternate escaping strategy
78 when we spot a variable reference in a string.
80 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
82 * cus-start.el (all): Define customization for debug-on-event.
84 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
86 * subr.el (shell-quote-argument): Escape correctly under Windows.
88 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
90 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
92 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
94 * net/tramp.el (tramp-process-actions): Add POS argument.
95 Delete region between POS and (pos).
97 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
98 Use `nil' position in `tramp-process-actions' call.
99 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
101 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
102 position in `tramp-process-actions' call.
104 * net/trampver.el: Update release number.
106 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
108 * custom.el (defcustom): Obey lexical-binding.
110 Fix octave-inf completion problems reported by Alexander Klimov.
111 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
112 Inherit from octave-mode-syntax-table.
113 (inferior-octave-mode): Set info-lookup-mode.
114 (inferior-octave-completion-at-point): New function.
115 (inferior-octave-complete): Use it and completion-in-region.
116 (inferior-octave-dynamic-complete-functions): Use it as well, and use
117 comint-filename-completion.
118 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
119 symbol elements which shouldn't be word elements.
120 (octave-font-lock-keywords, octave-beginning-of-defun)
121 (octave-function-header-regexp): Adjust regexps accordingly.
122 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
124 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
126 * net/gnutls.el (gnutls-errorp): Declare before first use.
128 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
130 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
131 verify-error, and verify-hostname-error parameters. Check whether
132 default trustfile exists before going to use it. Add missing
133 argument to gnutls-message-maybe call. Return return value.
134 Reported by Claudio Bley <claudio.bley@gmail.com>.
135 (open-gnutls-stream): Add usage example.
137 * net/network-stream.el (network-stream-open-starttls): Give host
138 parameter to `gnutls-negotiate'.
139 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
140 * subr.el (shell-quote-argument): Escape correctly under Windows.
142 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
144 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
145 Use correct match group (bug#8438).
147 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
149 * emacs-lisp/package.el (package-built-in-p): Fix typo.
150 (package-menu--generate): New arg specifying packages to show.
151 (package-menu-refresh, package-menu-execute, list-packages):
153 (package-show-package-list): New function, replacing deleted
154 package--list-packages (renamed because it is non-internal).
156 * finder.el (finder-list-matches): Use package-show-package-list
157 instead of deleted package--list-packages.
159 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
160 Based on a previous implementation by Juanma Barranquero (Bug#8366).
161 (vc-annotate-mode-map): Bind it to RET.
163 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
165 * progmodes/etags.el (next-file): Don't use set-buffer to change
168 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
170 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
172 * apropos.el (apropos-label-face): Avoid variable-pitch face.
173 (apropos-accumulator): Doc fix.
174 (apropos-function, apropos-macro, apropos-command)
175 (apropos-variable, apropos-face, apropos-group, apropos-widget)
176 (apropos-plist): Add face property.
177 (apropos-symbols-internal): Fix indentation.
178 (apropos-print): Simplify help, and recognize apropos-multi-type.
179 (apropos-print-doc): Use button-type-get to extract the button's
180 face property. Fill docstring (Bug#8352).
182 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
184 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
186 * play/mpuz.el (mpuz-silent): Doc fix.
187 (mpuz-mode-map): Use mapc.
188 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
189 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
190 Fix typos in docstrings.
192 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
193 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
195 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
197 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
199 * minibuffer.el (completion--do-completion): Avoid the "Next char
200 not unique" prompt if icomplete-mode is enabled (Bug#5849).
202 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
203 mouse-2 into unread-command-events, it is interpreted correctly.
205 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
206 (image-toggle-display): Doc fix.
208 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
210 * textmodes/page.el (what-page): Use line-number-at-pos to
211 calculate line number (Bug#6825).
213 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
215 * eshell/esh-mode.el (find-tag-interactive): Declare function.
216 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
217 Pass argument NO-DEFAULT to `find-tag-interactive'.
219 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
221 Lexical-binding cleanup.
223 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
224 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
225 * progmodes/ada-prj.el (ada-prj-initialize-values)
226 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
227 (ada-prj-show-value):
228 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
229 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
230 (antlr-invalidate-context-cache, antlr-options-menu-filter)
231 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
232 * progmodes/bug-reference.el (bug-reference-push-button):
233 * progmodes/fortran.el (fortran-line-length):
234 * progmodes/glasses.el (glasses-change):
235 * progmodes/octave-mod.el (octave-fill-paragraph):
236 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
237 (python-pdbtrack-grub-for-buffer, python-sentinel):
238 * progmodes/sql.el (sql-save-connection):
239 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
240 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
241 Mark unused parameters.
243 * progmodes/compile.el (compilation--flush-directory-cache)
244 (compilation--flush-parse, compile-internal): Mark unused parameters.
245 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
246 (compilation-next-error-function): Remove unused variable `timestamp'.
248 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
249 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
251 * progmodes/dcl-mode.el (dcl-end-of-command):
252 Remove unused variable `start'.
253 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
254 (dcl-option-value-basic, dcl-option-value-offset)
255 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
256 Mark unused parameters.
257 (dcl-save-local-variable): Remove unused variable `val'.
260 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
261 Mark unused parameters.
262 (delphi-ignore-changes): Move before first use.
263 (delphi-charset-token-at): Remove unused variable `start'.
264 (delphi-else-start): Remove unused variable `if-count'.
265 (delphi-comment-block-start, delphi-comment-block-end):
266 Remove unused variable `kind'.
267 (delphi-indent-line): Remove unused variable `new-point'.
269 * progmodes/ebrowse.el (ebrowse-files-list)
270 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
271 Mark unused parameters. Don't quote `lambda'.
272 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
273 Don't quote `lambda'.
274 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
275 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
276 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
277 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
279 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
280 (ebrowse-view/find-file-and-search-pattern)
281 (ebrowse-view/find-member-declaration/definition):
282 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
283 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
284 Rename parameter PREFIX-ARG to PREFIX.
285 (ebrowse-tags-read-name): Remove unused variables `start' and
287 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
290 * progmodes/etags.el (local-find-tag-hook): Declare.
291 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
292 Mark unused parameters.
294 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
295 (executable-interpret): Mark unused parameter.
297 * progmodes/flymake.el (flymake-process-sentinel)
298 (flymake-after-change-function)
299 (flymake-create-temp-with-folder-structure)
300 (flymake-get-include-dirs-dot): Mark unused parameters.
301 (flymake-safe-delete-directory): Remove unused variable `err'.
303 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
304 (speedbar-timer-fn, speedbar-line-text)
305 (speedbar-change-expand-button-char, speedbar-delete-subblock)
306 (speedbar-center-buffer-smartly): Declare functions.
307 (gdb-find-watch-expression): Remove unused variable `array'.
308 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
309 (gdb-starting): Mark unused parameters.
310 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
311 (gdb-table-string): Remove unused variable `res'.
312 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
313 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
314 (gdb-display-buffer): Remove unused variable `cur-size'.
316 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
317 allow lexical-binding compilation.
318 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
319 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
320 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
321 Mark unused parameters.
322 (gud-gdb-marker-filter): Remove unused variable `match'.
323 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
324 lambda expressions and funcall them, instead of using `fset'.
326 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
327 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
329 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
330 variable `header-beg'; use `let'.
332 * progmodes/icon.el (indent-icon-exp): Remove unused variables
333 `restart', `last-sexp' and `at-do'.
335 * progmodes/js.el (js--debug): Mark unused parameter.
336 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
337 (js--splice-into-items): Remove unused variable `item'.
338 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
340 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
341 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
342 (makefile-complete): Remove unused variable `try'.
343 (makefile-fill-paragraph, makefile-match-function-end):
344 Mark unused parameters.
346 * progmodes/octave-inf.el (inferior-octave-complete):
347 Remove unused variable `proc'.
348 (inferior-octave-output-digest): Mark unused parameter.
350 * progmodes/perl-mode.el (perl-calculate-indent):
351 Remove unused variable `err'.
353 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
354 (prolog-indent-line): Mark unused parameters.
355 (prolog-indent-line): Remove unused variable `beg'.
357 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
358 (reporter-dont-compact-list): Declare.
360 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
361 Remove unused variable `char'.
362 (sh-debug): Mark unused parameter.
363 (sh-get-indent-info): Remove unused variable `start'.
364 (sh-calculate-indent): Remove unused variable `var'.
366 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
367 (simula-electric-keyword): Remove unused variable `null'.
368 (simula-search-backward, simula-search-forward): Remove unused
369 variables `begin' and `end'.
371 * progmodes/vera-mode.el (vera-guess-basic-syntax):
372 Remove unused variable `pos'.
373 (vera-electric-tab, vera-comment-uncomment-region):
374 Mark unused parameters.
375 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
377 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
379 * emacs-lisp/package.el (package--builtins, package-alist)
380 (package-load-descriptor, package-built-in-p, package-activate)
381 (define-package, package-installed-p)
382 (package-compute-transaction, package-buffer-info)
383 (package--push): Doc fix. Distinguish more clearly between
384 version strings and version lists.
386 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
388 Lexical-binding cleanup.
390 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
391 (5x5-make-mutate-best):
392 * play/fortune.el (fortune-in-buffer):
393 * play/gomoku.el (gomoku-init-display):
394 * play/solitaire.el (solitaire, solitaire-do-check):
395 * play/tetris.el (tetris-default-update-speed-function):
396 Mark unused parameters.
398 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
399 (bubbles--shift): Remove unused variable `char-org'.
400 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
401 (bubbles--show-images): Remove unused variable `char'.
403 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
404 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
405 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
406 (decipher-analyze-buffer): Use ?\s.
407 (decipher-make-checkpoint): Remove unused variable `mapping'.
409 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
411 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
412 Remove unused variable `result'; use `let'.
414 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
415 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
416 (gametree-children-shown-p, gametree-compute-reduced-score):
419 * play/handwrite.el (ps-lpr-switches): Declare.
420 (handwrite): Remove unused variables `pmin' and `lastp'.
422 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
424 * play/landmark.el (landmark-init-display)
425 (landmark-update-naught-weights): Mark unused parameters.
426 (landmark-y): Remove unused variable `noise'. Simplify.
427 (landmark-human-plays): Remove unused variable `score'.
429 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
430 (mpuz-try-proposal): Remove unused variable `game'.
432 * play/zone.el (life-patterns): Declare.
434 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
436 * vc/vc.el (ediff-vc-internal): Declare function.
438 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
440 * shell.el: Use lexical-binding and std completion UI.
441 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
442 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
443 comint-preoutput-filter-functions rather than on
444 comint-output-filter-functions.
445 (shell-command-completion, shell--command-completion-data)
446 (shell-filename-completion, shell-environment-variable-completion)
447 (shell-c-a-p-replace-by-expanded-directory): New functions.
448 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
449 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
450 (shell-dynamic-complete-environment-variable): Use them.
451 (shell-dynamic-complete-as-environment-variable)
452 (shell-dynamic-complete-as-command): Remove.
453 (shell-match-partial-variable): Match past point.
454 * comint.el: Clean up use of completion-at-point-functions.
455 (comint-completion-at-point): New function.
456 (comint-mode): Use it completion-at-point-functions.
457 (comint-dynamic-complete): Make it obsolete.
458 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
459 (comint-c-a-p-replace-by-expanded-history): New function.
460 (comint-dynamic-complete-functions)
461 (comint-replace-by-expanded-history): Use it.
462 * minibuffer.el (completion-table-with-terminator): Allow dynamic
463 termination strings. Try harder to avoid second try-completion.
464 (completion-in-region-mode-map): Disable bindings that don't work yet.
466 * comint.el: Use lexical-binding. Require CL.
467 (comint-dynamic-complete-functions): Use comint-filename-completion.
468 (comint-completion-addsuffix): Tweak custom type.
469 (comint-filename-completion, comint--common-suffix)
470 (comint--common-quoted-suffix, comint--table-subvert)
471 (comint--complete-file-name-data): New functions.
472 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
473 (comint-dynamic-list-filename-completions): Use them.
474 (comint-dynamic-simple-complete): Make obsolete.
476 * minibuffer.el (completion-in-region-mode):
477 Keep completion-in-region-mode--predicate global.
478 (completion-in-region--postch):
479 Assume completion-in-region-mode--predicate is not null.
481 * progmodes/flymake.el (flymake-start-syntax-check-process):
482 Obey `dir'. Simplify.
484 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
485 we're in VC after all.
487 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
489 * vc/vc.el (vc-diff-build-argument-list-internal)
490 (vc-version-ediff, vc-ediff): New commands.
491 (vc-version-diff): Use vc-diff-build-argument-list-internal.
493 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
495 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
498 * obsolete/erc-hecomplete.el: Make obsolete.
499 * obsolete/: Standardize obsolescence info in the header.
501 2011-04-20 Glenn Morris <rgm@gnu.org>
503 * calendar/solar.el (solar-horizontal-coordinates):
504 Use the longitude argument rather than `calendar-longitude'.
505 (solar-date-next-longitude): Remove unused locals.
507 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
509 * whitespace.el: New version 13.2.1.
511 2011-04-20 felix <EmacsWiki> (tiny change)
513 * whitespace.el (global-whitespace-mode): keep highlight when
514 switching between major modes on a file.
516 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
518 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
519 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
520 multi-line comments as well.
522 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
524 Lexical-binding cleanup.
526 * arc-mode.el (archive-mode-revert):
527 * cmuscheme.el (scheme-interactively-start-process):
528 * custom.el (custom-initialize-delay):
529 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
530 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
531 * emacs-lock.el (emacs-lock-clear-sentinel):
532 * ezimage.el (defezimage):
533 * follow.el (follow-avoid-tail-recenter):
534 * fringe.el (set-fringe-mode-1):
535 * generic-x.el (bat-generic-mode-compile):
536 * help-mode.el (help-info-variable, help-do-xref)
537 (help-mode-revert-buffer):
538 * help.el (view-emacs-todo):
539 * iswitchb.el (iswitchb-completion-help):
540 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
541 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
542 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
543 * locate.el (locate-update):
544 * longlines.el (longlines-encode-region)
545 (longlines-after-change-function):
546 * outline.el (outline-isearch-open-invisible):
547 * ps-def.el (declare-function, charset-dimension, char-width)
549 * ps-mule.el (ps-mule-plot-string):
550 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
551 (recentf-edit-list-select, recentf-edit-list-validate)
552 (recentf-open-files-action):
553 * rect.el (delete-whitespace-rectangle-line)
554 (rectangle-number-line-callback):
555 * register.el (window-configuration-to-register)
556 (frame-configuration-to-register):
557 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
558 * select.el (xselect-convert-to-string, xselect-convert-to-length)
559 (xselect-convert-to-targets, xselect-convert-to-delete)
560 (xselect-convert-to-filename, xselect-convert-to-charpos)
561 (xselect-convert-to-lineno, xselect-convert-to-colno)
562 (xselect-convert-to-os, xselect-convert-to-host)
563 (xselect-convert-to-user, xselect-convert-to-class)
564 (xselect-convert-to-name, xselect-convert-to-integer)
565 (xselect-convert-to-atom, xselect-convert-to-identity):
566 * subr.el (declare, ignore, process-kill-without-query)
567 (text-clone-maintain):
568 * terminal.el (te-get-char, te-tic-sentinel):
569 * tool-bar.el (tool-bar-make-keymap):
570 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
571 * type-break.el (type-break-mode, type-break-noninteractive-query):
572 * view.el (View-back-to-mark):
573 * wid-browse.el (widget-browse-action, widget-browse-widget)
574 (widget-browse-widgets, widget-browse-sexp):
575 * widget.el (define-widget-keywords):
576 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
577 Mark unused parameters.
579 * align.el (align-adjust-col-for-rule): Mark unused parameter.
580 (align-areas): Remove unused variable `look'.
581 (align-region): Remove unused variables `real-end' and `pos-list'.
583 * apropos.el (apropos-score-doc): Remove unused variable `i'.
585 * bindings.el (mode-line-modified, mode-line-remote):
586 Mark unused parameters.
587 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
589 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
590 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
592 * comint.el (comint-history-isearch-pop-state)
593 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
594 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
595 (comint-substitute-in-file-name): Doc fix.
597 * completion.el (cmpl-statistics-block): Mark unused parameter.
598 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
599 (save-completions-to-file, load-completions-from-file):
600 Remove unused local variable `e'.
602 * composite.el (compose-chars): Remove unused variable `len'.
603 (lgstring-insert-glyph): Remove unused variable `g'.
604 (compose-glyph-string): Remove unused variables `ascent',
605 `descent', `lbearing' and `rbearing'.
606 (compose-glyph-string-relative): Remove unused variables
607 `lbearing', `rbearing' and `wadjust'.
608 (compose-gstring-for-graphic): Remove unused variables `header',
609 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
610 (compose-gstring-for-terminal): Remove unused variables `header'
611 and `nchars'. Use `let', not `let*'.
613 * cus-edit.el (Custom-set, Custom-save, custom-reset)
614 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
615 (Custom-buffer-done, custom-buffer-create-internal)
616 (custom-browse-visibility-action, custom-browse-group-tag-action)
617 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
618 (widget-magic-mouse-down-action, custom-toggle-parent)
619 (custom-add-parent-links, custom-toggle-hide-variable)
620 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
621 (custom-toggle-hide-face, face, hook, custom-group-link-action)
622 (custom-face-menu-create, custom-variable-menu-create, get)
623 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
624 (custom-reset-standard-save-and-update): Remove unused variable `value'.
625 (customize-apropos): Remove unused variable `tests'.
626 (custom-group-value-create): Remove unused variable `hidden-p'.
627 (sort-fold-case): Declare.
629 * cus-theme.el (custom-reset-standard-faces-list)
630 (custom-reset-standard-variables-list): Declare.
631 (customize-create-theme, custom-theme-revert, custom-theme-write)
632 (custom-theme-choose-mode, customize-themes, custom-theme-save):
633 Mark unused parameters.
635 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
637 * delim-col.el (delimit-columns-max): Move defvar before first use.
639 * descr-text.el (describe-char-categories): Don't quote `lambda'.
640 (describe-char): Don't quote `lambda'. Mark unused parameter.
642 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
643 (auto-insert): Declare.
644 (desktop-restore-file-buffer): Rename desktop-* parameters;
646 (desktop-create-buffer): Rename desktop-* parameters and bind them.
647 (desktop-buffer): Rename desktop-* parameters.
649 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
650 (dframe-reposition-frame-xemacs, dframe-help-echo)
651 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
652 Mark unused parameters.
654 * dired-aux.el (backup-extract-version-start, overwrite-query)
655 (overwrite-backup-query, rename-regexp-query)
656 (rename-non-directory-query): Declare.
657 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
658 (dired-add-entry): Remove unused variable `orig-file-name'.
659 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
660 Use parameter PRESERVE-TIME instead of accessing dynamic variable
661 `dired-copy-preserve-time' directly.
662 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
663 (dired-insert-subdir-newpos): Rename unused variable `pos'.
665 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
666 (dired-virtual-revert, dired-make-relative-symlink):
667 Mark unused parameters.
668 (manual-program): Declare.
669 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
670 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
671 wrapped in `with-no-warnings' to avoid replacing one warning by another.
673 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
675 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
677 * echistory.el (electric-history-in-progress, Helper-return-blurb):
680 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
682 * electric.el (Electric-command-loop): Rename parameter
683 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
685 * expand.el (expand-in-literal): Remove unused variable `here'.
687 * facemenu.el (facemenu-add-new-color):
688 Remove unused variable `docstring'.
690 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
691 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
692 (face-attr-construct): Mark unused parameter. Doc fix.
693 (read-color): Remove unused variable `hex-string'.
695 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
696 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
697 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
698 (display-buffer-other-frame): Remove unused variable `old-window'.
699 (kill-buffer-hook): Declare.
700 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
701 Mark unused parameters.
702 (after-find-file): Pass 1 to `auto-save-mode', not t.
704 * files-x.el (auto-insert): Declare.
705 (modify-file-local-variable-prop-line): Remove unused variable `val'.
707 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
708 variable `buf'. Mark unused parameter.
709 (find-lisp-insert-directory): Mark unused parameter.
711 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
712 (format-encode-region): Remove unused variables `cur-buf' and `result'.
713 (format-common-tail): Remove, unused.
714 (format-deannotate-region): Remove unused variable `loc'.
715 (format-annotate-region): Remove unused variable `p'.
716 (format-annotate-single-property-change): Remove unused variables
717 `default' and `tail'.
719 * forms.el (read-file-filter): Declare.
720 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
722 * frame.el (frame-creation-function-alist): Mark unused parameter.
723 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
725 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
726 Remove unused parameters.
727 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
728 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
730 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
731 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
732 (hfy-prepare-tag-map): Mark unused parameters.
733 (htmlfontify-buffer): Use `called-interactively-p'.
735 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
736 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
737 (ibuffer-do-occur): Mark unused parameters.
738 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
739 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
741 * ibuffer.el: Don't quote `lambda'.
742 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
743 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
744 Mark unused parameters.
746 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
747 (ido-completing-read): Mark unused parameters.
748 (ido-copy-current-word): Mark unused parameters;
749 remove unused variable `name'.
750 (ido-sort-merged-list): Remove unused parameter `dirs'.
752 * ielm.el (ielm-input-sender): Mark unused parameter.
753 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
754 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
755 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
756 `ielm-string' as a dynamic variable accessible from the IELM prompt.
757 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
759 * image-dired.el (image-dired-display-thumbs): Remove unused
760 variables `curr-file' and `count'.
761 (image-dired-remove-tag): Remove unused variable `start'.
762 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
764 (image-dired-rotate-original): Remove unused variable `temp-file'.
765 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
766 Remove unused variable `file'.
767 (image-dired-gallery-generate): Remove unused variable `curr'.
768 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
770 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
772 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
774 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
776 * isearch.el (minibuffer-history-symbol): Declare.
777 (isearch-edit-string): Remove unused variable `err'.
778 (isearch-message-prefix, isearch-message-suffix):
779 Mark unused parameters.
781 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
783 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
785 * makesum.el (double-column): Remove unused variable `cnt'.
787 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
788 (ido-ignore-item-temp-list): Declare.
790 * mouse-drag.el (mouse-drag-throw): Remove unused variables
791 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
792 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
793 (mouse-drag-drag): Remove unused variables `mouse-delta' and
796 * mouse-sel.el (mouse-extend-internal):
797 Remove unused variable `orig-window-frame'.
799 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
800 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
801 Move declarations before first use.
802 (pcomplete-opt): Mark unused parameters; doc fix.
804 * proced.el (proced-revert): Mark unused parameter.
805 (proced-send-signal): Remove unused variable `err'.
807 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
808 Rename parameter PREFIX-ARG to ARG.
809 (ps-basic-plot-string, ps-basic-plot-whitespace):
810 Mark unused parameters.
812 * replace.el (replace-count): Define.
813 (occur-revert-function): Mark unused parameters.
814 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
815 (isearch-case-fold-search, isearch-string): Declare.
816 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
817 bind `case-fold-search'. Remove unused variables `beg' and `end',
819 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
820 COUNT and bind `replace-count'.
821 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
824 * savehist.el (print-readably, print-string-length): Declare.
826 * shadowfile.el (shadow-expand-cluster-in-file-name):
827 Remove unused variable `cluster'.
828 (shadow-copy-file): Remove unused variable `i'.
829 (shadow-noquery, shadow-clusters, shadow-site-cluster)
830 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
831 (shadow-define-literal-group, shadow-define-regexp-group)
832 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
834 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
835 (shell): Use `called-interactively-p'.
836 (shell-directory-tracker): Remove unused variable `chdir-failure'.
838 * simple.el (compilation-context-lines, comint-file-name-quote-list)
839 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
840 (delete-backward-char): Remove unused variable `ocol'.
841 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
842 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
843 (event-apply-hyper-modifier, event-apply-shift-modifier)
844 (event-apply-control-modifier, event-apply-meta-modifier):
845 Mark unused parameters.
846 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
847 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
849 * speedbar.el (speedbar-ignored-directory-expressions)
850 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
851 (speedbar-find-file, speedbar-dir-follow)
852 (speedbar-directory-buttons-follow, speedbar-tag-find)
853 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
854 (speedbar-buffers-line-directory, speedbar-buffer-click):
855 Mark unused parameters.
856 (speedbar-tag-file): Remove unused variable `mode'.
857 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
859 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
861 * talk.el (talk): Remove unused variable `display'.
863 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
864 (tar-write-region-annotate): Mark unused parameter.
866 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
867 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
868 Declare them, wrapped in `with-no-warnings' to avoid replacing one
871 * time-stamp.el (time-stamp-string-preprocess):
872 Remove unused variable `require-padding'.
874 * tree-widget.el (widget-glyph-enable): Declare.
875 (tree-widget-action): Mark unused parameter.
877 * w32-fns.el (x-get-selection): Mark unused parameter.
878 (autoload-make-program, generated-autoload-file): Declare.
880 * wdired.el (wdired-revert): Mark unused parameters.
881 (wdired-xcase-word): Remove unused variable `err'.
883 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
884 (whitespace-help-scroll): Remove unused variable `data-help'.
886 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
887 (widget-image-insert, widget-after-change, default)
888 (widget-default-format-handler, widget-default-notify)
889 (widget-default-prompt-value, widget-info-link-action)
890 (widget-url-link-action, widget-function-link-action)
891 (widget-variable-link-action, widget-file-link-action)
892 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
893 (widget-field-prompt-internal, widget-field-action, widget-field-match)
894 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
895 (widget-insert-button-action, widget-delete-button-action, visibility)
896 (widget-documentation-link-action, widget-documentation-string-action)
897 (widget-const-prompt-value, widget-regexp-match, symbol)
898 (widget-coding-system-prompt-value)
899 (widget-key-sequence-value-to-external, sexp)
900 (widget-sexp-value-to-internal, character, vector, cons)
901 (widget-choice-prompt-value, widget-boolean-prompt-value)
902 (widget-color--choose-action): Mark unused parameters.
903 (widget-item-match-inline, widget-choice-match-inline)
904 (widget-checklist-match, widget-checklist-match-inline)
905 (widget-group-match): Rename parameter VALUES to VALS.
906 (widget-field-value-set): Remove unused variable `size'.
907 (widget-color-action): Remove unused variables `value' and `start'.
909 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
910 variable `dir'. Doc fix.
911 (windmove-find-other-window): Don't pass it.
913 * window.el (count-windows): Mark unused parameter.
914 (bw-adjust-window): Remove unused variable `err'.
916 * woman.el (woman-file-name): Remove unused variable `default'.
917 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
918 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
919 (global-font-lock-mode): Declare.
920 (woman-decode-region): Mark unused parameter.
921 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
923 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
924 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
925 (x-dnd-handle-moz-url): Remove unused variable `title'.
926 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
928 * xml.el (xml-parse-tag, xml-parse-attlist):
929 Remove unused variable `pos'.
931 2011-04-19 Glenn Morris <rgm@gnu.org>
933 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
934 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
935 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
936 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
937 * calendar/cal-html.el (cal-html-insert-minical):
938 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
939 (calendar-mark-date-pattern):
940 Prefix "unused" locals.
942 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
943 optional argument `style'.
945 * calendar/appt.el (appt-make-list):
946 * calendar/cal-china.el (calendar-chinese-date-string):
947 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
948 (diary-hebrew-yahrzeit):
949 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
950 * calendar/calendar.el (calendar-generate-window):
951 * calendar/time-date.el (time-to-days):
952 Remove unused local variables.
954 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
956 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
957 glyphless-char-display table.
958 (tabulated-list-glyphless-char-display): New var.
960 2011-04-18 Sam Steingold <sds@gnu.org>
962 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
965 2011-04-17 Glenn Morris <rgm@gnu.org>
967 * calendar/diary-lib.el (diary-sexp-entry):
968 * calendar/holidays.el (holiday-sexp):
969 Set debug-on-error rather than the removed stack-trace-on-error.
971 2011-04-16 Glenn Morris <rgm@gnu.org>
973 * progmodes/f90.el: Use lexical-binding.
974 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
976 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
978 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
979 (mail-mode): Setup mailalias completion here instead.
980 * mail/mailalias.el: Use lexical-binding.
981 (pattern, mailalias-done): Declare dynamic.
982 (mail-completion-at-point-function): New function, from mail-complete.
983 (mail-complete): Use it.
984 (mail-completion-expand): New function.
985 (mail-get-names): Use it.
986 (mail-directory, mail-directory-process, mail-directory-stream):
987 Don't use `pattern' for lexically bound arg.
989 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
991 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
992 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
993 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
995 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
996 (byte-save-window-excursion, byte-temp-output-buffer-setup)
997 (byte-interactive-p): Define them again, for use when inlining
1000 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1002 * loadup.el: Use `string-to-number', not `string-to-int'.
1004 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1007 gud-gdb-complete-command.
1008 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1009 (gud-gdb-completion-at-point): New function.
1010 (gud-gdb-completions): Remove.
1012 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1014 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1015 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1016 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1017 whether `executable-find' is bound.
1019 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1021 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * minibuffer.el (completion-in-region-mode-predicate)
1024 (completion-in-region-mode--predicate): New vars.
1025 (completion-in-region, completion-in-region--postch)
1026 (completion-in-region-mode): Use them.
1027 (completion--capf-wrapper): Also return the hook function.
1028 (completion-at-point, completion-help-at-point):
1029 Adjust and provide a predicate.
1031 Preserve arg names for advice of subr and lexical functions (bug#8457).
1032 * help-fns.el (help-function-arglist): Consolidate the subr and
1033 new-byte-code cases. Add argument `preserve-names' to extract names
1034 from the docstring when needed.
1035 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1036 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1037 (ad-arglist): Use help-function-arglist's new arg.
1038 (ad-definition-type): Use cond.
1040 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1042 * autorevert.el (auto-revert-handler):
1043 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1044 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1047 * image-mode.el (image-transform-set-scale):
1048 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1050 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1052 * net/network-stream.el (network-stream-open-starttls): Only do
1053 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1054 Upgrades via gnutls-cli are too slow to be done opportunistically.
1056 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1058 * dframe.el (dframe-current-frame): Remove spurious quote.
1060 2011-04-12 Glenn Morris <rgm@gnu.org>
1062 * calendar/cal-tex.el (cal-tex-end-document):
1063 Try to automatically use latin1 input if needed.
1065 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1066 Don't try to cons a mark onto an empty element.
1068 2011-04-11 Leo Liu <sdl.web@gmail.com>
1070 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1072 (ido-kill-buffer-at-head): Support killing virtual buffers.
1074 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1076 * minibuffer.el (completion-show-inline-help): New var.
1077 (completion--do-completion, minibuffer-complete)
1078 (minibuffer-force-complete, minibuffer-complete-word):
1079 Inhibit minibuffer messages if completion-show-inline-help is nil.
1081 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1082 to avoid interference from inline help (Bug#5849).
1084 2011-04-10 Leo Liu <sdl.web@gmail.com>
1086 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1089 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1091 * image-mode.el (image-toggle-display-image): Signal an error if
1093 (image-transform-mode, image-transform-resize)
1094 (image-transform-set-rotation): Doc fix.
1095 (image-transform-set-resize): Delete.
1096 (image-transform-set-scale, image-transform-fit-to-height)
1097 (image-transform-fit-to-width): Handle image-toggle-display-image
1098 and image-transform-resize directly.
1100 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1102 * doc-view.el (doc-view-fit-width-to-window)
1103 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1104 New functions for fitting the shown image to the Emacs window size.
1105 (doc-view-mode-map): Add bindings for the new functions.
1107 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1109 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1110 Fix typo in docstring.
1112 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1114 * files.el (file-size-human-readable): Produce one digit after
1115 decimal, like "ls -lh" does.
1117 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1118 the file size representation.
1120 * simple.el (list-processes): If async subprocesses are not
1121 available, error out with a clear error message.
1123 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1125 * help.el (help-form-show): New function, to be called from C.
1126 Put help-form output in a buffer named differently than *Help*.
1128 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1130 * files.el (file-size-human-readable): New function.
1132 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1133 computing the representation inline. Don't require `cl'.
1135 2011-04-08 Glenn Morris <rgm@gnu.org>
1137 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1139 * net/browse-url.el (browse-url-firefox):
1140 Test system-type, not system-configuration.
1142 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1143 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1144 Use log-edit-empty-buffer-p. (Bug#7598)
1146 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1147 (rlogin-mode-map): Initialize in the defvar.
1148 (rlogin): Use ignore-errors.
1150 * replace.el (occur-mode-map): Some fixes for menu items.
1152 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1154 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1156 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1158 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1159 issuing unused warnings.
1161 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1164 * simple.el: Lisp reimplement of list-processes. Based on an
1165 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1166 (process-menu-mode): New major mode.
1167 (list-processes--refresh, list-processes):
1168 (process-menu-visit-buffer): New functions.
1170 * files.el (save-buffers-kill-emacs): Don't assume any return
1171 value of list-processes, which is undocumented anyway.
1173 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1175 * emacs-lisp/tabulated-list.el: New file.
1177 * emacs-lisp/package.el: Use Tabulated List mode.
1178 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1179 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1180 table format using Tabulated List mode variables.
1181 (package--push): New macro, replacing package-list-maybe-add.
1182 (package-menu--generate): Use package--push. Renamed from
1183 package--generate-package-list.
1184 (package-menu-refresh, list-packages): Use it.
1185 (package-menu--print-info): Rename from package-print-package.
1186 Return insertion data instead of inserting it directly.
1187 (package-menu-describe-package, package-menu-execute):
1188 Use tabulated-list-get-id.
1189 (package-menu-mark-delete, package-menu-mark-install)
1190 (package-menu-mark-unmark, package-menu-backup-unmark)
1191 (package-menu-mark-obsolete-for-deletion):
1192 Use tabulated-list-put-tag.
1193 (package--list-packages, package-menu-revert)
1194 (package-menu-get-package, package-menu-get-version)
1195 (package-menu-sort-by-column): Functions deleted.
1196 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1197 (package-menu--status-predicate, package-menu--version-predicate)
1198 (package-menu--name-predicate)
1199 (package-menu--description-predicate): Handle arguments in the
1200 Tabulated List format.
1201 (package-list-packages-no-fetch): Call list-packages.
1203 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1205 * files.el (after-find-file-from-revert-buffer): Remove variable.
1206 (after-find-file): Don't bind it.
1207 (revert-buffer-in-progress-p): New variable.
1208 (revert-buffer): Bind it.
1209 Pass nil for `after-find-file-from-revert-buffer'.
1211 * saveplace.el (save-place-find-file-hook): Use new variable
1212 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1214 2011-04-06 Glenn Morris <rgm@gnu.org>
1216 * Makefile.in (AUTOGEN_VCS): New variable.
1217 (autoloads): Use $AUTOGEN_VCS.
1219 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1220 * calendar/calendar.el (calendar-mode-map):
1221 Check for toolkit scroll bars. (Bug#8305)
1223 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1225 * minibuffer.el (completion-in-region--postch)
1226 (completion-in-region-mode): Remove unnecessary messages.
1228 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1230 * font-lock.el (font-lock-refresh-defaults):
1231 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1232 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1234 * info.el (Info-directory-list, Info-read-node-name-2)
1235 (Info-split-parameter-string): Doc fixes.
1236 (Info-virtual-nodes): Reflow docstring.
1237 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1238 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1239 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1240 Fix typos in docstrings.
1241 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1242 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1243 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1244 (Info-restore-desktop-buffer): Mark unused parameters.
1245 (Info-directory-find-file, Info-directory-find-node)
1246 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1247 (Info-virtual-index-find-node, Info-apropos-find-file)
1248 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1249 Mark unused parameters; fix typos in docstrings.
1250 (Info-virtual-index): Remove unused local variable `nodename'.
1252 2011-04-05 Deniz Dogan <deniz@dogan.se>
1254 * net/rcirc.el: Update my e-mail address.
1255 (rcirc-mode-map): Remove M-o binding.
1257 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1259 * startup.el (command-line): Save the cursor's theme-face
1260 directly, instead of using face-override-spec.
1262 * custom.el (load-theme): Minor optimization in assigning faces.
1264 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1266 * help-fns.el (describe-variable): Complete all variables having
1267 documentation, including keywords.
1268 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1270 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1272 Convert to lexical-binding.
1274 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1275 (bs--get-marked-string, bs--get-modified-string)
1276 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1277 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1278 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1280 * ehelp.el (electric-help-execute-extended)
1281 (electric-help-ctrl-x-prefix):
1282 * hexl.el (hexl-revert-buffer-function):
1283 * linum.el (linum-after-change, linum-after-scroll):
1284 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1286 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1288 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1295 * epg.el: Use lexical binding.
1297 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1299 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1301 * textmodes/flyspell.el (flyspell-word): Recognize default
1302 dictionary case for flyspell-mark-duplications-exceptions.
1303 Use regexp matching for languages.
1304 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1305 default dictionary (Bug#7926).
1307 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1309 * emacs-lisp/package.el (package--with-work-buffer):
1310 Recognize https URLs.
1312 * net/network-stream.el: Move from gnus/proto-stream.el.
1313 Change prefix to network-stream throughout.
1314 (open-protocol-stream): Merge into open-network-stream, leaving
1315 open-protocol-stream as an alias. Handle nil BUFFER args.
1317 * subr.el (open-network-stream): Move to net/network-stream.el.
1319 2011-04-02 Glenn Morris <rgm@gnu.org>
1321 * find-dired.el (find-exec-terminator): New option.
1322 (find-ls-option): Test for -ls support.
1323 (find-ls-subdir-switches): Test for -b in find-ls-option.
1324 (find-dired, find-grep-dired): Doc fixes.
1325 (find-dired): Use find-exec-terminator.
1327 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1328 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1329 (find-name-arg): Remove purecopy.
1331 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1332 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1333 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1334 accordingly. Don't add the null-device if not needed.
1336 * files.el (save-some-buffers): Doc fix.
1338 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1340 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1342 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1344 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1345 Use `dolist' rather than `mapcar'.
1347 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1349 Add lexical binding.
1351 * subr.el (apply-partially): Use new closures rather than CL.
1352 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1353 (dolist, dotimes): Use slightly different expansion for lexical code.
1354 (functionp): Move to C.
1355 (letrec): New macro.
1356 (with-wrapper-hook): Use it and apply-partially instead of CL.
1357 (eval-after-load): Preserve lexical-binding.
1358 (save-window-excursion, with-output-to-temp-buffer): Turn them
1361 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1363 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1365 (help-add-fundoc-usage): Don't add `Not documented'.
1366 (help-function-arglist): Handle closures, subroutines, and new
1367 byte-code-functions.
1368 (help-make-usage): Remove leading underscores.
1369 (describe-function-1): Handle closures.
1370 (describe-variable): Use special-variable-p for completion.
1372 * files.el (lexical-binding): Declare safe.
1374 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1375 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1376 (pcase): Add `let' pattern.
1377 Change memoization so it actually works.
1378 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1379 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1382 * emacs-lisp/macroexp.el: Use lexical binding.
1383 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1384 Don't convert ' to #' without checking that it's indeed quoting
1387 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1388 Use eval-sexp-add-defvars.
1389 (eval-sexp-add-defvars): New fun.
1391 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1393 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1395 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1396 than the internal `byte-compile-lambda'.
1397 (defmethod): Don't hide code under quotes.
1398 (eieio-defmethod): New `code' argument.
1400 * emacs-lisp/eieio-comp.el: Remove.
1402 * emacs-lisp/edebug.el (edebug-eval-defun)
1403 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1404 (edebug-toggle): Avoid `eval'.
1406 * emacs-lisp/disass.el (disassemble-internal): Handle new
1408 (disassemble-1): Handle new byte codes.
1410 * emacs-lisp/cl.el (pushnew): Silence warning.
1412 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1413 (cl-byte-compile-throw): Remove.
1414 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1416 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1419 * emacs-lisp/cconv.el: New file.
1421 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1422 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1423 (byte-compile-initial-macro-environment):
1424 Handle declare-function here.
1425 (byte-compile--lexical-environment): New var.
1426 (byte-stack-ref, byte-stack-set, byte-discardN)
1427 (byte-discardN-preserve-tos): New lap codes.
1428 (byte-interactive-p): Don't use any more.
1429 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1431 (byte-compile-lapcode): Use them and handle new lap codes.
1432 (byte-compile-obsolete): Remove.
1433 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1434 (byte-compile-arglist-warn): Check late def of inlinable funs.
1435 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1436 since they should have been expanded by now.
1437 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1438 (byte-compile-from-buffer): Remove unused second arg.
1439 (byte-compile-preprocess): New function.
1440 (byte-compile-toplevel-file-form): New function to distinguish
1441 file-form calls from outside from file-form calls from hunk-handlers.
1442 (byte-compile-file-form): Simplify.
1443 (byte-compile-file-form-defsubst): Remove.
1444 (byte-compile-file-form-defmumble): Simplify now that
1445 byte-compile-lambda always returns a byte-code-function.
1446 (byte-compile): Preprocess.
1447 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1448 Remove, not used any more.
1449 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1450 (byte-compile-make-args-desc): New funs.
1451 (byte-compile-lambda): Handle lexical functions. Always return
1452 a byte-code-function.
1453 (byte-compile-reserved-constants): New var, to make up room for
1454 closed-over variables.
1455 (byte-compile-constants-vector): Obey it.
1456 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1457 (byte-compile-macroexpand-declare-function): New function.
1458 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1459 byte-code-functions.
1460 (byte-compile-form): Check obsolescence here.
1461 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1462 (byte-compile-variable-ref): Remove.
1463 (byte-compile-dynamic-variable-op): New fun.
1464 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1465 (byte-compile-variable-set): New funs.
1466 (byte-compile-discard): Add 2 args.
1467 (byte-compile-stack-ref, byte-compile-stack-set)
1468 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1469 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1470 macroexpand-all instead.
1471 (byte-compile-quote-form): Remove.
1472 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1473 (byte-compile-bind, byte-compile-unbind): New funs.
1474 (byte-compile-let): Handle let* and lexical binding.
1475 (byte-compile-let*): Remove.
1476 (byte-compile-catch, byte-compile-unwind-protect)
1477 (byte-compile-track-mouse, byte-compile-condition-case):
1478 Handle a new :fun-body form, used for lexical scoping.
1479 (byte-compile-save-window-excursion)
1480 (byte-compile-with-output-to-temp-buffer): Remove.
1481 (byte-compile-defun): Simplify.
1482 (byte-compile-stack-adjustment): New fun.
1483 (byte-compile-out): Use it.
1484 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1486 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1489 * emacs-lisp/byte-opt.el: Use lexical binding.
1490 (byte-inline-lapcode): Remove (to bytecomp).
1491 (byte-compile-inline-expand): Pay attention to inlining to/from
1492 lexically bound code.
1493 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1495 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1496 any more and don't call compiler-macros.
1497 (byte-compile-splice-in-already-compiled-code): Remove.
1498 (byte-code): Don't inline any more.
1499 (disassemble-offset): Receive `bytes' as argument rather than via
1501 (byte-compile-tag-number): Declare before first use.
1502 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1503 `return' even if make-spliceable.
1504 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1505 obsolete interactive-p.
1506 (byte-optimize-lapcode): Optimize new lap-codes.
1507 Don't trip up on new form of `byte-constant' lap code.
1509 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1511 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1513 * custom.el (custom-initialize-default, custom-declare-variable):
1516 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1518 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1519 (COMPILE_FIRST): Add macroexp and cconv.
1520 * makefile.w32-in: Mirror changes in Makefile.in.
1526 * vc/smerge-mode.el:
1527 * textmodes/bibtex-style.el:
1536 * emacs-lisp/smie.el:
1539 * abbrev.el: Use lexical binding.
1541 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1543 * info.el (info-display-manual): New function.
1545 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1549 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1551 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1552 an entry for that server in rcirc-authinfo. (Bug#8385)
1554 2011-03-31 Glenn Morris <rgm@gnu.org>
1556 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1558 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1560 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1562 * progmodes/python.el (python-default-interpreter)
1563 (python-python-command-args, python-jython-command-args)
1564 (python-which-shell, python-which-args, python-which-bufname)
1565 (python-file-queue, python-comint-output-filter-function)
1566 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1567 variables and functions.
1569 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1572 (completion-in-region-mode): New minor mode.
1573 (completion-in-region): Use it.
1574 (completion-in-region--data, completion-in-region-mode-map): New vars.
1575 (completion-in-region--postch): New function.
1576 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1578 (completion--capf-wrapper): New function.
1579 (completion-at-point): Use it to track well-behavedness of
1581 (completion-help-at-point): New command.
1583 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1585 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1586 syntax class to search for whitespace on a single line
1587 (Message-ID: <4D938140.4030905@redhat.com>).
1589 2011-03-30 Leo Liu <sdl.web@gmail.com>
1591 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1593 (edit-abbrevs-map): Bind them here.
1594 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1596 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1598 * allout.el (allout-hide-by-annotation, allout-flag-region):
1599 Reduce possibility of overlay leakage by making them volatile.
1601 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1602 hash is not shared between buffers. Mode initialization is
1603 responsible for giving it a useful starting value.
1604 (allout-item-span): Reduce possibility of overlay leakage by
1605 making them volatile.
1606 (allout-widgets-count-buttons-in-region): Add diagnostic function
1607 for tracking down button overlay leaks.
1609 2011-03-29 Leo Liu <sdl.web@gmail.com>
1611 * ido.el (ido-read-internal): Use the default history var
1612 minibuffer-history if no HISTORY is specified.
1614 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1616 * net/imap.el (imap-shell-open, imap-process-connection-type):
1617 Use imap-process-connection-type for 'shell' streams as well as
1618 Kerberos, SSL, other subprocesses.
1620 2011-03-28 Leo Liu <sdl.web@gmail.com>
1622 * abbrev.el (abbrev-table-empty-p): New function.
1623 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1624 nonempty ones. (Bug#5937)
1626 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1628 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1630 2011-03-27 Leo Liu <sdl.web@gmail.com>
1632 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1633 for foreground and background colors.
1634 (ansi-color-make-color-map): Adapt.
1636 2011-03-25 Leo Liu <sdl.web@gmail.com>
1638 * midnight.el (midnight-time-float): Remove. Note it calculates
1639 the microsecond component incorrectly and seconds-to-time does the
1641 Remove redundant (require 'timer).
1643 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1644 (ido-completions): Remove unused arguments. (Bug#8329)
1646 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1648 * minibuffer.el (completion--flush-all-sorted-completions):
1649 Remove itself from hook.
1650 (completion-at-point): Let the functions perform the completion
1651 immediately and return nil or t.
1652 * comint.el (comint-dynamic-complete-functions): Now identical to
1653 completion-at-point-functions.
1654 (comint-dynamic-list-input-ring): Remove unused var `index'.
1655 (comint--match-partial-filename, comint--unquote&expand-filename):
1656 New funs, split from comint-match-partial-filename.
1657 (comint-dynamic-complete): Use completion-at-point.
1658 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1660 2011-03-24 Drew Adams <drew.adams@oracle.com>
1662 * thingatpt.el: Support `defun'.
1664 2011-03-23 Leo Liu <sdl.web@gmail.com>
1666 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1668 * help-mode.el (help-mode-finish): Tweak regexp.
1670 2011-03-23 Glenn Morris <rgm@gnu.org>
1672 * eshell/esh-opt.el (eshell-eval-using-options):
1673 Do not bind unused local variable `eshell-option-stub'.
1675 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1677 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1679 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1680 keymap variable in `with-no-warnings' to avoid a warning when the
1681 keymap has been already `defconst'ed.
1683 2011-03-22 Leo Liu <sdl.web@gmail.com>
1685 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1686 encode all chars in abbrevs; otherwise use emacs-mule or
1687 utf-8-emacs. (Bug#8308)
1689 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1691 * simple.el (backward-delete-char-untabify):
1692 Avoid warning about using `delete-backward-char'.
1694 * image.el (image-type-file-name-regexps): Make it variable.
1695 `imagemagick-register-types' modifies it, and the user may want
1696 to add new extensions for known image types.
1697 (imagemagick-register-types): Throw error if not using ImageMagick.
1699 2011-03-22 Leo Liu <sdl.web@gmail.com>
1701 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1702 located before rcirc-prompt-end-marker.
1703 (rcirc-complete): Error if point is not after rcirc prompt.
1704 Handle the case when table is nil.
1705 (rcirc-user-authenticated): Define to fix compiler warning.
1707 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1709 * custom.el (custom--inhibit-theme-enable): Make it affect only
1710 custom-theme-set-variables and custom-theme-set-faces.
1711 (provide-theme): Ignore custom--inhibit-theme-enable.
1712 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1713 (custom-enabling-themes): Delete variable.
1714 (enable-theme): Accept only loaded themes as arguments.
1715 Ignore the special custom-enabled-themes variable.
1716 (custom-enabled-themes): Forbid themes from setting this.
1717 Eliminate use of custom-enabling-themes.
1718 (custom-push-theme): Quote "changed" custom var entry.
1720 2011-03-21 Leo Liu <sdl.web@gmail.com>
1722 * ido.el (ido-read-internal): Add ido-selected to history instead
1725 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * subr.el (deferred-action-list, deferred-action-function):
1730 2011-03-21 Leo Liu <sdl.web@gmail.com>
1732 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1733 change on 2011-02-13 (bug#8309).
1735 * minibuffer.el (read-file-name-function): Change default value.
1736 (read-file-name--defaults): Rename from read-file-name-defaults.
1737 (read-file-name-default): Rename from read-file-name.
1738 (read-file-name): Call read-file-name-function.
1740 2011-03-21 Glenn Morris <rgm@gnu.org>
1742 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1745 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1747 * cus-theme.el: Add missing provide statement.
1748 (customize-create-theme): Extract theme value correctly.
1749 (custom-theme-visit-theme): Autoload.
1750 (customize-create-theme): Prompt before inserting default faces.
1752 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1754 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1755 units and musical notes.
1757 2011-03-20 Leo <sdl.web@gmail.com>
1759 * ido.el (ido-read-internal): Use completing-read-default.
1760 (ido-completing-read): Fix compatibility with completing-read.
1762 2011-03-20 Christian Ohler <ohler@gnu.org>
1764 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1765 (ert-delete-all-tests): Use `called-interactively-p' rather than
1767 (ert--make-xrefs-region): Respect END.
1769 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1771 * dired-aux.el (dired-create-directory): Signal an error if the
1772 directory already exists (Bug#8246).
1774 * facemenu.el (list-colors-display): Call list-faces-display
1775 inside with-help-window.
1776 (list-colors-print): Use display property to align the final
1777 column, instead of checking window-width.
1779 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1781 * emerge.el (emerge-metachars): Separate value for ms-dos and
1783 (emerge-protect-metachars): Quote correctly for ms-dos and
1786 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1788 * info.el (info-initialize): Replace all uses of `:' with
1789 path-separator for compatibility with non-Unix systems.
1790 Cache quoting of path-separator. (Bug#8258)
1792 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1794 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1795 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1796 (mouse-avoidance-mode): Fix typos in docstrings.
1798 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1800 * startup.el (package-subdirectory-regexp): Move from package.el.
1801 Omit \\` and \\', and let callers add them.
1803 * emacs-lisp/package.el (package-strip-version)
1804 (package-load-all-descriptors): Add \\` and \\' to
1805 package-subdirectory-regexp before using it.
1806 (package-untar-buffer): New arg DIR; ensure that file untars only
1807 into this expected directory. Remove superfluous delete-region.
1808 (package-unpack): Caller changed.
1809 (package-tar-file-info): Use package-subdirectory-regexp.
1811 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1814 diff-mode-shared-map (bug#8284).
1815 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1817 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1819 * calendar/time-date.el (format-seconds): Use assoc instead of
1820 assoc-string, since assoc-string doesn't exist in XEmacs.
1822 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1824 * custom.el (custom-known-themes): Reflow docstring.
1825 (custom-theme-load-path): Fix typo in docstring.
1826 (load-theme): Fix typo in error message.
1827 (custom-available-themes, custom-variable-theme-value):
1828 Use `let', not `let*'.
1830 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1832 * calc/README: Mention inclusion of musical notes.
1834 * calc/calc-units.el (calc-lu-quant): Rename from
1835 `calc-logunits-quantity'.
1836 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1837 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1838 (calc-db): Rename from `calc-dblevel'.
1839 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1840 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1841 (calc-np): Rename from `calc-nplevel'.
1842 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1843 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1844 (calc-lu-plus): Rename from `calc-logunits-add'.
1845 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1846 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1847 (calc-lu-minus): Rename from `calc-logunits-sub'.
1848 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1849 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1850 (calc-lu-times): Rename from `calc-logunits-mul'.
1851 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1852 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1853 (calc-lu-divide): Rename from `calc-logunits-div'.
1854 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1855 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1857 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1858 functions being autoloaded.
1860 * calc/calc.el (calc-lu-power-reference): Rename from
1861 `calc-logunits-power-reference'.
1862 (calc-lu-field-reference): Rename from
1863 `calc-logunits-field-reference'.
1865 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1867 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * minibuffer.el (completion-all-sorted-completions):
1870 Use :completion-cycle-penalty text property if present.
1872 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1874 * allout.el (allout-yank-processing): Adjust for new rebulleting
1875 regime so bullet being yanked is used without prompting the user
1878 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1880 * startup.el (command-line): Warn the user that _emacs is deprecated.
1882 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1884 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1885 (delphi-verbose, delphi-comment-face, delphi-string-face)
1886 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1887 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1888 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1889 (delphi-new-comment-line, delphi-font-lock-defaults)
1890 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1891 Fix typos in docstrings.
1893 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1895 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1896 Invert the roles of character and string values for INSTEAD, so a
1897 string is used for the more common case of a defaulting prompt.
1899 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1901 * progmodes/ruby-mode.el (ruby-backward-sexp):
1902 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1903 * play/gamegrid.el (gamegrid-make-face):
1904 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1905 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1906 * notifications.el (notifications-notify):
1907 * net/xesam.el (xesam-search-engines):
1908 * net/quickurl.el (quickurl-list-insert):
1909 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1911 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1913 * startup.el (command-line): Update package subdirectory regexp.
1915 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * allout.el (allout-abbreviate-flattened-numbering)
1918 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1920 * subr.el (read-char-choice): Only show the cursor after the prompt,
1921 not after the answer.
1923 2011-03-15 Kevin Ryde <user42@zip.com.au>
1925 * help-fns.el (variable-at-point): Skip leading quotes, if any
1928 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1933 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1935 * shell.el (shell): When called interactively, offer to change the
1936 shell file name on remote hosts.
1938 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1940 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1941 integration for LDAP parameters. The host, base, user or binddn,
1942 and secret tokens can be specified in a netrc file, for instance.
1943 This is optional because an `auth-source' parameter must be
1944 specified in the search attributes.
1946 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1948 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1950 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1953 into declaration. Remove redundant and harmful binding.
1955 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1957 * files.el (file-ownership-preserved-p): Pass `integer' as an
1958 explicit 2nd argument to `file-attributes'. If the file's owner
1959 is the Administrators group on Windows, and the current user is
1960 Administrator, consider that a match.
1962 * server.el (server-ensure-safe-dir): Consider server directory
1963 safe on MS-Windows if its owner is the Administrators group while
1964 the current Emacs user is Administrator. Use `=' to compare
1965 numerical UIDs, since they could be integers or floats.
1967 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1969 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1971 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1973 Sync with Tramp 2.2.1.
1975 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1977 * net/trampver.el: Update release number.
1979 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * progmodes/compile.el (compilation--previous-directory): Fix up
1982 various nil/dead-marker mismatches (bug#8014).
1983 (compilation-directory-properties, compilation-error-properties):
1984 Don't call it at a position past the one we're about to change.
1986 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1987 Disable obsolescence warnings in the file that declares it.
1989 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1991 * allout-widgets.el (allout-widgets-tally):
1992 Initialize allout-widgets-tally as a hash table rather than nil to
1993 prevent mode-line redisplay warnings. Also, clarify the module
1994 description and fix a comment typo.
1996 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1998 * help-fns.el (describe-variable): Don't complete keywords.
1999 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2001 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2003 * emacs-lisp/package.el (package-version-join): Impose a standard
2004 string representation for pre/alpha/beta version lists.
2005 (package-unpack-single): Standardize the directory name by passing
2006 it through package-version-join.
2007 (package-strip-rcs-id): Accept any version string that does not
2008 signal an error in version-to-list.
2010 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2012 * simple.el (delete-trailing-whitespace): Return nil for the
2013 benefit of `write-file-functions'.
2015 2011-03-10 Glenn Morris <rgm@gnu.org>
2017 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2019 * vc/vc-git.el (vc-git-program): New option.
2020 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2021 (vc-git--call): Use it.
2023 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2025 * cus-edit.el (Custom-newline): If no button at point, look
2026 for a subgroup button at start-of-line. (Bug#2298)
2028 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2030 2011-03-10 Julien Danjou <julien@danjou.info>
2032 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2033 `cursor-type' is nil.
2035 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2037 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2039 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2041 * allout.el Summary: Change so yank of distinctive-bullet items
2042 preserves the existing header prefix, rebulleting it if necessary,
2043 rather than replacing it. This is necessary for proper operation
2044 of cooperative addons like allout-widgets.
2045 (allout-make-topic-prefix, allout-rebullet-heading): Change
2046 SOLICIT arg to INSTEAD, and interpret additionally a string value
2047 as alternate bullet to be used, instead of prompting the user for
2050 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2052 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2053 Do not use `tramp-file-name-port', because this returns also
2054 `tramp-default-port'.
2056 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2058 * net/rcirc.el (rcirc-handler-001): Remove useless
2059 with-rcirc-process-buffer.
2060 (rcirc-check-auth-status): Swap arguments to string-match.
2062 2011-03-09 Glenn Morris <rgm@gnu.org>
2064 * shell.el (shell-mode):
2065 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2067 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2068 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2070 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2072 * emacs-lisp/package.el (package-refresh-contents)
2073 (package-menu-execute): Use condition-case-no-debug.
2075 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2077 * simple.el (shell-command-to-string): Use `process-file'.
2079 * emacs-lisp/package.el (package-tar-file-info): Handle also
2082 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2083 Use `equal' for upload base check.
2085 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2087 * textmodes/texinfo.el (texinfo-environments):
2088 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2090 2011-03-08 Glenn Morris <rgm@gnu.org>
2092 * cus-start.el (cursor-in-non-selected-windows):
2093 Fix :set quoting oddness. (Bug#8192)
2095 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2096 in some setf expressions. (Bug#2159)
2098 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2100 * custom.el (custom-available-themes): Return themes in
2103 See ChangeLog.15 for earlier changes.
2109 Copyright (C) 2011 Free Software Foundation, Inc.
2111 This file is part of GNU Emacs.
2113 GNU Emacs is free software: you can redistribute it and/or modify
2114 it under the terms of the GNU General Public License as published by
2115 the Free Software Foundation, either version 3 of the License, or
2116 (at your option) any later version.
2118 GNU Emacs is distributed in the hope that it will be useful,
2119 but WITHOUT ANY WARRANTY; without even the implied warranty of
2120 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2121 GNU General Public License for more details.
2123 You should have received a copy of the GNU General Public License
2124 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.