1 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3 Fix octave-inf completion problems reported by Alexander Klimov.
4 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5 Inherit from octave-mode-syntax-table.
6 (inferior-octave-mode): Set info-lookup-mode.
7 (inferior-octave-completion-at-point): New function.
8 (inferior-octave-complete): Use it and completion-in-region.
9 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10 comint-filename-completion.
11 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12 symbol elements which shouldn't be word elements.
13 (octave-font-lock-keywords, octave-beginning-of-defun)
14 (octave-function-header-regexp): Adjust regexps accordingly.
15 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19 * net/gnutls.el (gnutls-errorp): Declare before first use.
21 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24 verify-error, and verify-hostname-error parameters. Check whether
25 default trustfile exists before going to use it. Add missing
26 argument to gnutls-message-maybe call. Return return value.
27 Reported by Claudio Bley <claudio.bley@gmail.com>.
28 (open-gnutls-stream): Add usage example.
30 * net/network-stream.el (network-stream-open-starttls): Give host
31 parameter to `gnutls-negotiate'.
32 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
34 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
36 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
37 Use correct match group (bug#8438).
39 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
41 * emacs-lisp/package.el (package-built-in-p): Fix typo.
42 (package-menu--generate): New arg specifying packages to show.
43 (package-menu-refresh, package-menu-execute, list-packages):
45 (package-show-package-list): New function, replacing deleted
46 package--list-packages (renamed because it is non-internal).
48 * finder.el (finder-list-matches): Use package-show-package-list
49 instead of deleted package--list-packages.
51 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
52 Based on a previous implementation by Juanma Barranquero (Bug#8366).
53 (vc-annotate-mode-map): Bind it to RET.
55 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
57 * progmodes/etags.el (next-file): Don't use set-buffer to change
60 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
62 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
64 * apropos.el (apropos-label-face): Avoid variable-pitch face.
65 (apropos-accumulator): Doc fix.
66 (apropos-function, apropos-macro, apropos-command)
67 (apropos-variable, apropos-face, apropos-group, apropos-widget)
68 (apropos-plist): Add face property.
69 (apropos-symbols-internal): Fix indentation.
70 (apropos-print): Simplify help, and recognize apropos-multi-type.
71 (apropos-print-doc): Use button-type-get to extract the button's
72 face property. Fill docstring (Bug#8352).
74 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
76 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
78 * play/mpuz.el (mpuz-silent): Doc fix.
79 (mpuz-mode-map): Use mapc.
80 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
81 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
82 Fix typos in docstrings.
84 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
85 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
87 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
89 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
91 * minibuffer.el (completion--do-completion): Avoid the "Next char
92 not unique" prompt if icomplete-mode is enabled (Bug#5849).
94 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
95 mouse-2 into unread-command-events, it is interpreted correctly.
97 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
98 (image-toggle-display): Doc fix.
100 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
102 * textmodes/page.el (what-page): Use line-number-at-pos to
103 calculate line number (Bug#6825).
105 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
107 * eshell/esh-mode.el (find-tag-interactive): Declare function.
108 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
109 Pass argument NO-DEFAULT to `find-tag-interactive'.
111 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
113 Lexical-binding cleanup.
115 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
116 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
117 * progmodes/ada-prj.el (ada-prj-initialize-values)
118 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
119 (ada-prj-show-value):
120 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
121 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
122 (antlr-invalidate-context-cache, antlr-options-menu-filter)
123 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
124 * progmodes/bug-reference.el (bug-reference-push-button):
125 * progmodes/fortran.el (fortran-line-length):
126 * progmodes/glasses.el (glasses-change):
127 * progmodes/octave-mod.el (octave-fill-paragraph):
128 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
129 (python-pdbtrack-grub-for-buffer, python-sentinel):
130 * progmodes/sql.el (sql-save-connection):
131 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
132 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
133 Mark unused parameters.
135 * progmodes/compile.el (compilation--flush-directory-cache)
136 (compilation--flush-parse, compile-internal): Mark unused parameters.
137 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
138 (compilation-next-error-function): Remove unused variable `timestamp'.
140 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
141 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
143 * progmodes/dcl-mode.el (dcl-end-of-command):
144 Remove unused variable `start'.
145 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
146 (dcl-option-value-basic, dcl-option-value-offset)
147 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
148 Mark unused parameters.
149 (dcl-save-local-variable): Remove unused variable `val'.
152 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
153 Mark unused parameters.
154 (delphi-ignore-changes): Move before first use.
155 (delphi-charset-token-at): Remove unused variable `start'.
156 (delphi-else-start): Remove unused variable `if-count'.
157 (delphi-comment-block-start, delphi-comment-block-end):
158 Remove unused variable `kind'.
159 (delphi-indent-line): Remove unused variable `new-point'.
161 * progmodes/ebrowse.el (ebrowse-files-list)
162 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
163 Mark unused parameters. Don't quote `lambda'.
164 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
165 Don't quote `lambda'.
166 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
167 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
168 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
169 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
171 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
172 (ebrowse-view/find-file-and-search-pattern)
173 (ebrowse-view/find-member-declaration/definition):
174 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
175 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
176 Rename parameter PREFIX-ARG to PREFIX.
177 (ebrowse-tags-read-name): Remove unused variables `start' and
179 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
182 * progmodes/etags.el (local-find-tag-hook): Declare.
183 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
184 Mark unused parameters.
186 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
187 (executable-interpret): Mark unused parameter.
189 * progmodes/flymake.el (flymake-process-sentinel)
190 (flymake-after-change-function)
191 (flymake-create-temp-with-folder-structure)
192 (flymake-get-include-dirs-dot): Mark unused parameters.
193 (flymake-safe-delete-directory): Remove unused variable `err'.
195 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
196 (speedbar-timer-fn, speedbar-line-text)
197 (speedbar-change-expand-button-char, speedbar-delete-subblock)
198 (speedbar-center-buffer-smartly): Declare functions.
199 (gdb-find-watch-expression): Remove unused variable `array'.
200 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
201 (gdb-starting): Mark unused parameters.
202 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
203 (gdb-table-string): Remove unused variable `res'.
204 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
205 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
206 (gdb-display-buffer): Remove unused variable `cur-size'.
208 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
209 allow lexical-binding compilation.
210 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
211 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
212 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
213 Mark unused parameters.
214 (gud-gdb-marker-filter): Remove unused variable `match'.
215 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
216 lambda expressions and funcall them, instead of using `fset'.
218 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
219 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
221 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
222 variable `header-beg'; use `let'.
224 * progmodes/icon.el (indent-icon-exp): Remove unused variables
225 `restart', `last-sexp' and `at-do'.
227 * progmodes/js.el (js--debug): Mark unused parameter.
228 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
229 (js--splice-into-items): Remove unused variable `item'.
230 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
232 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
233 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
234 (makefile-complete): Remove unused variable `try'.
235 (makefile-fill-paragraph, makefile-match-function-end):
236 Mark unused parameters.
238 * progmodes/octave-inf.el (inferior-octave-complete):
239 Remove unused variable `proc'.
240 (inferior-octave-output-digest): Mark unused parameter.
242 * progmodes/perl-mode.el (perl-calculate-indent):
243 Remove unused variable `err'.
245 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
246 (prolog-indent-line): Mark unused parameters.
247 (prolog-indent-line): Remove unused variable `beg'.
249 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
250 (reporter-dont-compact-list): Declare.
252 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
253 Remove unused variable `char'.
254 (sh-debug): Mark unused parameter.
255 (sh-get-indent-info): Remove unused variable `start'.
256 (sh-calculate-indent): Remove unused variable `var'.
258 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
259 (simula-electric-keyword): Remove unused variable `null'.
260 (simula-search-backward, simula-search-forward): Remove unused
261 variables `begin' and `end'.
263 * progmodes/vera-mode.el (vera-guess-basic-syntax):
264 Remove unused variable `pos'.
265 (vera-electric-tab, vera-comment-uncomment-region):
266 Mark unused parameters.
267 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
269 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
271 * emacs-lisp/package.el (package--builtins, package-alist)
272 (package-load-descriptor, package-built-in-p, package-activate)
273 (define-package, package-installed-p)
274 (package-compute-transaction, package-buffer-info)
275 (package--push): Doc fix. Distinguish more clearly between
276 version strings and version lists.
278 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
280 Lexical-binding cleanup.
282 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
283 (5x5-make-mutate-best):
284 * play/fortune.el (fortune-in-buffer):
285 * play/gomoku.el (gomoku-init-display):
286 * play/solitaire.el (solitaire, solitaire-do-check):
287 * play/tetris.el (tetris-default-update-speed-function):
288 Mark unused parameters.
290 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
291 (bubbles--shift): Remove unused variable `char-org'.
292 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
293 (bubbles--show-images): Remove unused variable `char'.
295 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
296 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
297 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
298 (decipher-analyze-buffer): Use ?\s.
299 (decipher-make-checkpoint): Remove unused variable `mapping'.
301 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
303 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
304 Remove unused variable `result'; use `let'.
306 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
307 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
308 (gametree-children-shown-p, gametree-compute-reduced-score):
311 * play/handwrite.el (ps-lpr-switches): Declare.
312 (handwrite): Remove unused variables `pmin' and `lastp'.
314 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
316 * play/landmark.el (landmark-init-display)
317 (landmark-update-naught-weights): Mark unused parameters.
318 (landmark-y): Remove unused variable `noise'. Simplify.
319 (landmark-human-plays): Remove unused variable `score'.
321 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
322 (mpuz-try-proposal): Remove unused variable `game'.
324 * play/zone.el (life-patterns): Declare.
326 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
328 * vc/vc.el (ediff-vc-internal): Declare function.
330 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
332 * shell.el: Use lexical-binding and std completion UI.
333 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
334 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
335 comint-preoutput-filter-functions rather than on
336 comint-output-filter-functions.
337 (shell-command-completion, shell--command-completion-data)
338 (shell-filename-completion, shell-environment-variable-completion)
339 (shell-c-a-p-replace-by-expanded-directory): New functions.
340 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
341 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
342 (shell-dynamic-complete-environment-variable): Use them.
343 (shell-dynamic-complete-as-environment-variable)
344 (shell-dynamic-complete-as-command): Remove.
345 (shell-match-partial-variable): Match past point.
346 * comint.el: Clean up use of completion-at-point-functions.
347 (comint-completion-at-point): New function.
348 (comint-mode): Use it completion-at-point-functions.
349 (comint-dynamic-complete): Make it obsolete.
350 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
351 (comint-c-a-p-replace-by-expanded-history): New function.
352 (comint-dynamic-complete-functions)
353 (comint-replace-by-expanded-history): Use it.
354 * minibuffer.el (completion-table-with-terminator): Allow dynamic
355 termination strings. Try harder to avoid second try-completion.
356 (completion-in-region-mode-map): Disable bindings that don't work yet.
358 * comint.el: Use lexical-binding. Require CL.
359 (comint-dynamic-complete-functions): Use comint-filename-completion.
360 (comint-completion-addsuffix): Tweak custom type.
361 (comint-filename-completion, comint--common-suffix)
362 (comint--common-quoted-suffix, comint--table-subvert)
363 (comint--complete-file-name-data): New functions.
364 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
365 (comint-dynamic-list-filename-completions): Use them.
366 (comint-dynamic-simple-complete): Make obsolete.
368 * minibuffer.el (completion-in-region-mode):
369 Keep completion-in-region-mode--predicate global.
370 (completion-in-region--postch):
371 Assume completion-in-region-mode--predicate is not null.
373 * progmodes/flymake.el (flymake-start-syntax-check-process):
374 Obey `dir'. Simplify.
376 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
377 we're in VC after all.
379 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
381 * vc/vc.el (vc-diff-build-argument-list-internal)
382 (vc-version-ediff, vc-ediff): New commands.
383 (vc-version-diff): Use vc-diff-build-argument-list-internal.
385 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
387 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
390 * obsolete/erc-hecomplete.el: Make obsolete.
391 * obsolete/: Standardize obsolescence info in the header.
393 2011-04-20 Glenn Morris <rgm@gnu.org>
395 * calendar/solar.el (solar-horizontal-coordinates):
396 Use the longitude argument rather than `calendar-longitude'.
397 (solar-date-next-longitude): Remove unused locals.
399 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
401 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
402 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
403 multi-line comments as well.
405 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
407 Lexical-binding cleanup.
409 * arc-mode.el (archive-mode-revert):
410 * cmuscheme.el (scheme-interactively-start-process):
411 * custom.el (custom-initialize-delay):
412 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
413 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
414 * emacs-lock.el (emacs-lock-clear-sentinel):
415 * ezimage.el (defezimage):
416 * follow.el (follow-avoid-tail-recenter):
417 * fringe.el (set-fringe-mode-1):
418 * generic-x.el (bat-generic-mode-compile):
419 * help-mode.el (help-info-variable, help-do-xref)
420 (help-mode-revert-buffer):
421 * help.el (view-emacs-todo):
422 * iswitchb.el (iswitchb-completion-help):
423 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
424 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
425 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
426 * locate.el (locate-update):
427 * longlines.el (longlines-encode-region)
428 (longlines-after-change-function):
429 * outline.el (outline-isearch-open-invisible):
430 * ps-def.el (declare-function, charset-dimension, char-width)
432 * ps-mule.el (ps-mule-plot-string):
433 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
434 (recentf-edit-list-select, recentf-edit-list-validate)
435 (recentf-open-files-action):
436 * rect.el (delete-whitespace-rectangle-line)
437 (rectangle-number-line-callback):
438 * register.el (window-configuration-to-register)
439 (frame-configuration-to-register):
440 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
441 * select.el (xselect-convert-to-string, xselect-convert-to-length)
442 (xselect-convert-to-targets, xselect-convert-to-delete)
443 (xselect-convert-to-filename, xselect-convert-to-charpos)
444 (xselect-convert-to-lineno, xselect-convert-to-colno)
445 (xselect-convert-to-os, xselect-convert-to-host)
446 (xselect-convert-to-user, xselect-convert-to-class)
447 (xselect-convert-to-name, xselect-convert-to-integer)
448 (xselect-convert-to-atom, xselect-convert-to-identity):
449 * subr.el (declare, ignore, process-kill-without-query)
450 (text-clone-maintain):
451 * terminal.el (te-get-char, te-tic-sentinel):
452 * tool-bar.el (tool-bar-make-keymap):
453 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
454 * type-break.el (type-break-mode, type-break-noninteractive-query):
455 * view.el (View-back-to-mark):
456 * wid-browse.el (widget-browse-action, widget-browse-widget)
457 (widget-browse-widgets, widget-browse-sexp):
458 * widget.el (define-widget-keywords):
459 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
460 Mark unused parameters.
462 * align.el (align-adjust-col-for-rule): Mark unused parameter.
463 (align-areas): Remove unused variable `look'.
464 (align-region): Remove unused variables `real-end' and `pos-list'.
466 * apropos.el (apropos-score-doc): Remove unused variable `i'.
468 * bindings.el (mode-line-modified, mode-line-remote):
469 Mark unused parameters.
470 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
472 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
473 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
475 * comint.el (comint-history-isearch-pop-state)
476 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
477 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
478 (comint-substitute-in-file-name): Doc fix.
480 * completion.el (cmpl-statistics-block): Mark unused parameter.
481 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
482 (save-completions-to-file, load-completions-from-file):
483 Remove unused local variable `e'.
485 * composite.el (compose-chars): Remove unused variable `len'.
486 (lgstring-insert-glyph): Remove unused variable `g'.
487 (compose-glyph-string): Remove unused variables `ascent',
488 `descent', `lbearing' and `rbearing'.
489 (compose-glyph-string-relative): Remove unused variables
490 `lbearing', `rbearing' and `wadjust'.
491 (compose-gstring-for-graphic): Remove unused variables `header',
492 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
493 (compose-gstring-for-terminal): Remove unused variables `header'
494 and `nchars'. Use `let', not `let*'.
496 * cus-edit.el (Custom-set, Custom-save, custom-reset)
497 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
498 (Custom-buffer-done, custom-buffer-create-internal)
499 (custom-browse-visibility-action, custom-browse-group-tag-action)
500 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
501 (widget-magic-mouse-down-action, custom-toggle-parent)
502 (custom-add-parent-links, custom-toggle-hide-variable)
503 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
504 (custom-toggle-hide-face, face, hook, custom-group-link-action)
505 (custom-face-menu-create, custom-variable-menu-create, get)
506 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
507 (custom-reset-standard-save-and-update): Remove unused variable `value'.
508 (customize-apropos): Remove unused variable `tests'.
509 (custom-group-value-create): Remove unused variable `hidden-p'.
510 (sort-fold-case): Declare.
512 * cus-theme.el (custom-reset-standard-faces-list)
513 (custom-reset-standard-variables-list): Declare.
514 (customize-create-theme, custom-theme-revert, custom-theme-write)
515 (custom-theme-choose-mode, customize-themes, custom-theme-save):
516 Mark unused parameters.
518 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
520 * delim-col.el (delimit-columns-max): Move defvar before first use.
522 * descr-text.el (describe-char-categories): Don't quote `lambda'.
523 (describe-char): Don't quote `lambda'. Mark unused parameter.
525 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
526 (auto-insert): Declare.
527 (desktop-restore-file-buffer): Rename desktop-* parameters;
529 (desktop-create-buffer): Rename desktop-* parameters and bind them.
530 (desktop-buffer): Rename desktop-* parameters.
532 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
533 (dframe-reposition-frame-xemacs, dframe-help-echo)
534 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
535 Mark unused parameters.
537 * dired-aux.el (backup-extract-version-start, overwrite-query)
538 (overwrite-backup-query, rename-regexp-query)
539 (rename-non-directory-query): Declare.
540 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
541 (dired-add-entry): Remove unused variable `orig-file-name'.
542 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
543 Use parameter PRESERVE-TIME instead of accessing dynamic variable
544 `dired-copy-preserve-time' directly.
545 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
546 (dired-insert-subdir-newpos): Rename unused variable `pos'.
548 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
549 (dired-virtual-revert, dired-make-relative-symlink):
550 Mark unused parameters.
551 (manual-program): Declare.
552 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
553 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
554 wrapped in `with-no-warnings' to avoid replacing one warning by another.
556 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
558 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
560 * echistory.el (electric-history-in-progress, Helper-return-blurb):
563 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
565 * electric.el (Electric-command-loop): Rename parameter
566 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
568 * expand.el (expand-in-literal): Remove unused variable `here'.
570 * facemenu.el (facemenu-add-new-color):
571 Remove unused variable `docstring'.
573 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
574 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
575 (face-attr-construct): Mark unused parameter. Doc fix.
576 (read-color): Remove unused variable `hex-string'.
578 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
579 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
580 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
581 (display-buffer-other-frame): Remove unused variable `old-window'.
582 (kill-buffer-hook): Declare.
583 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
584 Mark unused parameters.
585 (after-find-file): Pass 1 to `auto-save-mode', not t.
587 * files-x.el (auto-insert): Declare.
588 (modify-file-local-variable-prop-line): Remove unused variable `val'.
590 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
591 variable `buf'. Mark unused parameter.
592 (find-lisp-insert-directory): Mark unused parameter.
594 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
595 (format-encode-region): Remove unused variables `cur-buf' and `result'.
596 (format-common-tail): Remove, unused.
597 (format-deannotate-region): Remove unused variable `loc'.
598 (format-annotate-region): Remove unused variable `p'.
599 (format-annotate-single-property-change): Remove unused variables
600 `default' and `tail'.
602 * forms.el (read-file-filter): Declare.
603 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
605 * frame.el (frame-creation-function-alist): Mark unused parameter.
606 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
608 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
609 Remove unused parameters.
610 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
611 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
613 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
614 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
615 (hfy-prepare-tag-map): Mark unused parameters.
616 (htmlfontify-buffer): Use `called-interactively-p'.
618 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
619 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
620 (ibuffer-do-occur): Mark unused parameters.
621 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
622 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
624 * ibuffer.el: Don't quote `lambda'.
625 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
626 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
627 Mark unused parameters.
629 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
630 (ido-completing-read): Mark unused parameters.
631 (ido-copy-current-word): Mark unused parameters;
632 remove unused variable `name'.
633 (ido-sort-merged-list): Remove unused parameter `dirs'.
635 * ielm.el (ielm-input-sender): Mark unused parameter.
636 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
637 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
638 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
639 `ielm-string' as a dynamic variable accessible from the IELM prompt.
640 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
642 * image-dired.el (image-dired-display-thumbs): Remove unused
643 variables `curr-file' and `count'.
644 (image-dired-remove-tag): Remove unused variable `start'.
645 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
647 (image-dired-rotate-original): Remove unused variable `temp-file'.
648 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
649 Remove unused variable `file'.
650 (image-dired-gallery-generate): Remove unused variable `curr'.
651 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
653 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
655 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
657 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
659 * isearch.el (minibuffer-history-symbol): Declare.
660 (isearch-edit-string): Remove unused variable `err'.
661 (isearch-message-prefix, isearch-message-suffix):
662 Mark unused parameters.
664 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
666 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
668 * makesum.el (double-column): Remove unused variable `cnt'.
670 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
671 (ido-ignore-item-temp-list): Declare.
673 * mouse-drag.el (mouse-drag-throw): Remove unused variables
674 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
675 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
676 (mouse-drag-drag): Remove unused variables `mouse-delta' and
679 * mouse-sel.el (mouse-extend-internal):
680 Remove unused variable `orig-window-frame'.
682 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
683 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
684 Move declarations before first use.
685 (pcomplete-opt): Mark unused parameters; doc fix.
687 * proced.el (proced-revert): Mark unused parameter.
688 (proced-send-signal): Remove unused variable `err'.
690 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
691 Rename parameter PREFIX-ARG to ARG.
692 (ps-basic-plot-string, ps-basic-plot-whitespace):
693 Mark unused parameters.
695 * replace.el (replace-count): Define.
696 (occur-revert-function): Mark unused parameters.
697 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
698 (isearch-case-fold-search, isearch-string): Declare.
699 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
700 bind `case-fold-search'. Remove unused variables `beg' and `end',
702 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
703 COUNT and bind `replace-count'.
704 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
707 * savehist.el (print-readably, print-string-length): Declare.
709 * shadowfile.el (shadow-expand-cluster-in-file-name):
710 Remove unused variable `cluster'.
711 (shadow-copy-file): Remove unused variable `i'.
712 (shadow-noquery, shadow-clusters, shadow-site-cluster)
713 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
714 (shadow-define-literal-group, shadow-define-regexp-group)
715 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
717 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
718 (shell): Use `called-interactively-p'.
719 (shell-directory-tracker): Remove unused variable `chdir-failure'.
721 * simple.el (compilation-context-lines, comint-file-name-quote-list)
722 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
723 (delete-backward-char): Remove unused variable `ocol'.
724 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
725 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
726 (event-apply-hyper-modifier, event-apply-shift-modifier)
727 (event-apply-control-modifier, event-apply-meta-modifier):
728 Mark unused parameters.
729 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
730 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
732 * speedbar.el (speedbar-ignored-directory-expressions)
733 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
734 (speedbar-find-file, speedbar-dir-follow)
735 (speedbar-directory-buttons-follow, speedbar-tag-find)
736 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
737 (speedbar-buffers-line-directory, speedbar-buffer-click):
738 Mark unused parameters.
739 (speedbar-tag-file): Remove unused variable `mode'.
740 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
742 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
744 * talk.el (talk): Remove unused variable `display'.
746 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
747 (tar-write-region-annotate): Mark unused parameter.
749 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
750 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
751 Declare them, wrapped in `with-no-warnings' to avoid replacing one
754 * time-stamp.el (time-stamp-string-preprocess):
755 Remove unused variable `require-padding'.
757 * tree-widget.el (widget-glyph-enable): Declare.
758 (tree-widget-action): Mark unused parameter.
760 * w32-fns.el (x-get-selection): Mark unused parameter.
761 (autoload-make-program, generated-autoload-file): Declare.
763 * wdired.el (wdired-revert): Mark unused parameters.
764 (wdired-xcase-word): Remove unused variable `err'.
766 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
767 (whitespace-help-scroll): Remove unused variable `data-help'.
769 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
770 (widget-image-insert, widget-after-change, default)
771 (widget-default-format-handler, widget-default-notify)
772 (widget-default-prompt-value, widget-info-link-action)
773 (widget-url-link-action, widget-function-link-action)
774 (widget-variable-link-action, widget-file-link-action)
775 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
776 (widget-field-prompt-internal, widget-field-action, widget-field-match)
777 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
778 (widget-insert-button-action, widget-delete-button-action, visibility)
779 (widget-documentation-link-action, widget-documentation-string-action)
780 (widget-const-prompt-value, widget-regexp-match, symbol)
781 (widget-coding-system-prompt-value)
782 (widget-key-sequence-value-to-external, sexp)
783 (widget-sexp-value-to-internal, character, vector, cons)
784 (widget-choice-prompt-value, widget-boolean-prompt-value)
785 (widget-color--choose-action): Mark unused parameters.
786 (widget-item-match-inline, widget-choice-match-inline)
787 (widget-checklist-match, widget-checklist-match-inline)
788 (widget-group-match): Rename parameter VALUES to VALS.
789 (widget-field-value-set): Remove unused variable `size'.
790 (widget-color-action): Remove unused variables `value' and `start'.
792 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
793 variable `dir'. Doc fix.
794 (windmove-find-other-window): Don't pass it.
796 * window.el (count-windows): Mark unused parameter.
797 (bw-adjust-window): Remove unused variable `err'.
799 * woman.el (woman-file-name): Remove unused variable `default'.
800 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
801 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
802 (global-font-lock-mode): Declare.
803 (woman-decode-region): Mark unused parameter.
804 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
806 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
807 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
808 (x-dnd-handle-moz-url): Remove unused variable `title'.
809 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
811 * xml.el (xml-parse-tag, xml-parse-attlist):
812 Remove unused variable `pos'.
814 2011-04-19 Glenn Morris <rgm@gnu.org>
816 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
817 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
818 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
819 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
820 * calendar/cal-html.el (cal-html-insert-minical):
821 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
822 (calendar-mark-date-pattern):
823 Prefix "unused" locals.
825 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
826 optional argument `style'.
828 * calendar/appt.el (appt-make-list):
829 * calendar/cal-china.el (calendar-chinese-date-string):
830 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
831 (diary-hebrew-yahrzeit):
832 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
833 * calendar/calendar.el (calendar-generate-window):
834 * calendar/time-date.el (time-to-days):
835 Remove unused local variables.
837 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
839 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
840 glyphless-char-display table.
841 (tabulated-list-glyphless-char-display): New var.
843 2011-04-18 Sam Steingold <sds@gnu.org>
845 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
848 2011-04-17 Glenn Morris <rgm@gnu.org>
850 * calendar/diary-lib.el (diary-sexp-entry):
851 * calendar/holidays.el (holiday-sexp):
852 Set debug-on-error rather than the removed stack-trace-on-error.
854 2011-04-16 Glenn Morris <rgm@gnu.org>
856 * progmodes/f90.el: Use lexical-binding.
857 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
859 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
861 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
862 (mail-mode): Setup mailalias completion here instead.
863 * mail/mailalias.el: Use lexical-binding.
864 (pattern, mailalias-done): Declare dynamic.
865 (mail-completion-at-point-function): New function, from mail-complete.
866 (mail-complete): Use it.
867 (mail-completion-expand): New function.
868 (mail-get-names): Use it.
869 (mail-directory, mail-directory-process, mail-directory-stream):
870 Don't use `pattern' for lexically bound arg.
872 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
874 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
875 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
876 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
878 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
879 (byte-save-window-excursion, byte-temp-output-buffer-setup)
880 (byte-interactive-p): Define them again, for use when inlining
883 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
885 * loadup.el: Use `string-to-number', not `string-to-int'.
887 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
889 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
890 gud-gdb-complete-command.
891 (gud-gdb-completions): New function, from gud-gdb-complete-command.
892 (gud-gdb-completion-at-point): New function.
893 (gud-gdb-completions): Remove.
895 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
898 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
899 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
900 whether `executable-find' is bound.
902 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
904 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
906 * minibuffer.el (completion-in-region-mode-predicate)
907 (completion-in-region-mode--predicate): New vars.
908 (completion-in-region, completion-in-region--postch)
909 (completion-in-region-mode): Use them.
910 (completion--capf-wrapper): Also return the hook function.
911 (completion-at-point, completion-help-at-point):
912 Adjust and provide a predicate.
914 Preserve arg names for advice of subr and lexical functions (bug#8457).
915 * help-fns.el (help-function-arglist): Consolidate the subr and
916 new-byte-code cases. Add argument `preserve-names' to extract names
917 from the docstring when needed.
918 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
919 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
920 (ad-arglist): Use help-function-arglist's new arg.
921 (ad-definition-type): Use cond.
923 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
925 * autorevert.el (auto-revert-handler):
926 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
927 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
930 * image-mode.el (image-transform-set-scale):
931 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
933 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
935 * net/network-stream.el (network-stream-open-starttls): Only do
936 opportunistic STARTTLS upgrades if we have built-in gnutls support.
937 Upgrades via gnutls-cli are too slow to be done opportunistically.
939 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
941 * dframe.el (dframe-current-frame): Remove spurious quote.
943 2011-04-12 Glenn Morris <rgm@gnu.org>
945 * calendar/cal-tex.el (cal-tex-end-document):
946 Try to automatically use latin1 input if needed.
948 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
949 Don't try to cons a mark onto an empty element.
951 2011-04-11 Leo Liu <sdl.web@gmail.com>
953 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
955 (ido-kill-buffer-at-head): Support killing virtual buffers.
957 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
959 * minibuffer.el (completion-show-inline-help): New var.
960 (completion--do-completion, minibuffer-complete)
961 (minibuffer-force-complete, minibuffer-complete-word):
962 Inhibit minibuffer messages if completion-show-inline-help is nil.
964 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
965 to avoid interference from inline help (Bug#5849).
967 2011-04-10 Leo Liu <sdl.web@gmail.com>
969 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
972 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
974 * image-mode.el (image-toggle-display-image): Signal an error if
976 (image-transform-mode, image-transform-resize)
977 (image-transform-set-rotation): Doc fix.
978 (image-transform-set-resize): Delete.
979 (image-transform-set-scale, image-transform-fit-to-height)
980 (image-transform-fit-to-width): Handle image-toggle-display-image
981 and image-transform-resize directly.
983 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
985 * doc-view.el (doc-view-fit-width-to-window)
986 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
987 New functions for fitting the shown image to the Emacs window size.
988 (doc-view-mode-map): Add bindings for the new functions.
990 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
992 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
993 Fix typo in docstring.
995 2011-04-08 Eli Zaretskii <eliz@gnu.org>
997 * files.el (file-size-human-readable): Produce one digit after
998 decimal, like "ls -lh" does.
1000 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1001 the file size representation.
1003 * simple.el (list-processes): If async subprocesses are not
1004 available, error out with a clear error message.
1006 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1008 * help.el (help-form-show): New function, to be called from C.
1009 Put help-form output in a buffer named differently than *Help*.
1011 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1013 * files.el (file-size-human-readable): New function.
1015 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1016 computing the representation inline. Don't require `cl'.
1018 2011-04-08 Glenn Morris <rgm@gnu.org>
1020 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1022 * net/browse-url.el (browse-url-firefox):
1023 Test system-type, not system-configuration.
1025 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1026 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1027 Use log-edit-empty-buffer-p. (Bug#7598)
1029 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1030 (rlogin-mode-map): Initialize in the defvar.
1031 (rlogin): Use ignore-errors.
1033 * replace.el (occur-mode-map): Some fixes for menu items.
1035 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1037 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1039 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1041 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1042 issuing unused warnings.
1044 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1047 * simple.el: Lisp reimplement of list-processes. Based on an
1048 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1049 (process-menu-mode): New major mode.
1050 (list-processes--refresh, list-processes):
1051 (process-menu-visit-buffer): New functions.
1053 * files.el (save-buffers-kill-emacs): Don't assume any return
1054 value of list-processes, which is undocumented anyway.
1056 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1058 * emacs-lisp/tabulated-list.el: New file.
1060 * emacs-lisp/package.el: Use Tabulated List mode.
1061 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1062 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1063 table format using Tabulated List mode variables.
1064 (package--push): New macro, replacing package-list-maybe-add.
1065 (package-menu--generate): Use package--push. Renamed from
1066 package--generate-package-list.
1067 (package-menu-refresh, list-packages): Use it.
1068 (package-menu--print-info): Rename from package-print-package.
1069 Return insertion data instead of inserting it directly.
1070 (package-menu-describe-package, package-menu-execute):
1071 Use tabulated-list-get-id.
1072 (package-menu-mark-delete, package-menu-mark-install)
1073 (package-menu-mark-unmark, package-menu-backup-unmark)
1074 (package-menu-mark-obsolete-for-deletion):
1075 Use tabulated-list-put-tag.
1076 (package--list-packages, package-menu-revert)
1077 (package-menu-get-package, package-menu-get-version)
1078 (package-menu-sort-by-column): Functions deleted.
1079 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1080 (package-menu--status-predicate, package-menu--version-predicate)
1081 (package-menu--name-predicate)
1082 (package-menu--description-predicate): Handle arguments in the
1083 Tabulated List format.
1084 (package-list-packages-no-fetch): Call list-packages.
1086 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1088 * files.el (after-find-file-from-revert-buffer): Remove variable.
1089 (after-find-file): Don't bind it.
1090 (revert-buffer-in-progress-p): New variable.
1091 (revert-buffer): Bind it.
1092 Pass nil for `after-find-file-from-revert-buffer'.
1094 * saveplace.el (save-place-find-file-hook): Use new variable
1095 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1097 2011-04-06 Glenn Morris <rgm@gnu.org>
1099 * Makefile.in (AUTOGEN_VCS): New variable.
1100 (autoloads): Use $AUTOGEN_VCS.
1102 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1103 * calendar/calendar.el (calendar-mode-map):
1104 Check for toolkit scroll bars. (Bug#8305)
1106 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1108 * minibuffer.el (completion-in-region--postch)
1109 (completion-in-region-mode): Remove unnecessary messages.
1111 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1113 * font-lock.el (font-lock-refresh-defaults):
1114 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1115 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1117 * info.el (Info-directory-list, Info-read-node-name-2)
1118 (Info-split-parameter-string): Doc fixes.
1119 (Info-virtual-nodes): Reflow docstring.
1120 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1121 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1122 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1123 Fix typos in docstrings.
1124 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1125 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1126 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1127 (Info-restore-desktop-buffer): Mark unused parameters.
1128 (Info-directory-find-file, Info-directory-find-node)
1129 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1130 (Info-virtual-index-find-node, Info-apropos-find-file)
1131 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1132 Mark unused parameters; fix typos in docstrings.
1133 (Info-virtual-index): Remove unused local variable `nodename'.
1135 2011-04-05 Deniz Dogan <deniz@dogan.se>
1137 * net/rcirc.el: Update my e-mail address.
1138 (rcirc-mode-map): Remove M-o binding.
1140 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1142 * startup.el (command-line): Save the cursor's theme-face
1143 directly, instead of using face-override-spec.
1145 * custom.el (load-theme): Minor optimization in assigning faces.
1147 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1149 * help-fns.el (describe-variable): Complete all variables having
1150 documentation, including keywords.
1151 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1153 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1155 Convert to lexical-binding.
1157 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1158 (bs--get-marked-string, bs--get-modified-string)
1159 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1160 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1161 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1163 * ehelp.el (electric-help-execute-extended)
1164 (electric-help-ctrl-x-prefix):
1165 * hexl.el (hexl-revert-buffer-function):
1166 * linum.el (linum-after-change, linum-after-scroll):
1167 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1169 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1171 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1178 * epg.el: Use lexical binding.
1180 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1182 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1184 * textmodes/flyspell.el (flyspell-word): Recognize default
1185 dictionary case for flyspell-mark-duplications-exceptions.
1186 Use regexp matching for languages.
1187 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1188 default dictionary (Bug#7926).
1190 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1192 * emacs-lisp/package.el (package--with-work-buffer):
1193 Recognize https URLs.
1195 * net/network-stream.el: Move from gnus/proto-stream.el.
1196 Change prefix to network-stream throughout.
1197 (open-protocol-stream): Merge into open-network-stream, leaving
1198 open-protocol-stream as an alias. Handle nil BUFFER args.
1200 * subr.el (open-network-stream): Move to net/network-stream.el.
1202 2011-04-02 Glenn Morris <rgm@gnu.org>
1204 * find-dired.el (find-exec-terminator): New option.
1205 (find-ls-option): Test for -ls support.
1206 (find-ls-subdir-switches): Test for -b in find-ls-option.
1207 (find-dired, find-grep-dired): Doc fixes.
1208 (find-dired): Use find-exec-terminator.
1210 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1211 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1212 (find-name-arg): Remove purecopy.
1214 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1215 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1216 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1217 accordingly. Don't add the null-device if not needed.
1219 * files.el (save-some-buffers): Doc fix.
1221 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1223 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1225 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1227 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1228 Use `dolist' rather than `mapcar'.
1230 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1232 Add lexical binding.
1234 * subr.el (apply-partially): Use new closures rather than CL.
1235 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1236 (dolist, dotimes): Use slightly different expansion for lexical code.
1237 (functionp): Move to C.
1238 (letrec): New macro.
1239 (with-wrapper-hook): Use it and apply-partially instead of CL.
1240 (eval-after-load): Preserve lexical-binding.
1241 (save-window-excursion, with-output-to-temp-buffer): Turn them
1244 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1246 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1248 (help-add-fundoc-usage): Don't add `Not documented'.
1249 (help-function-arglist): Handle closures, subroutines, and new
1250 byte-code-functions.
1251 (help-make-usage): Remove leading underscores.
1252 (describe-function-1): Handle closures.
1253 (describe-variable): Use special-variable-p for completion.
1255 * files.el (lexical-binding): Declare safe.
1257 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1258 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1259 (pcase): Add `let' pattern.
1260 Change memoization so it actually works.
1261 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1262 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1265 * emacs-lisp/macroexp.el: Use lexical binding.
1266 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1267 Don't convert ' to #' without checking that it's indeed quoting
1270 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1271 Use eval-sexp-add-defvars.
1272 (eval-sexp-add-defvars): New fun.
1274 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1276 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1278 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1279 than the internal `byte-compile-lambda'.
1280 (defmethod): Don't hide code under quotes.
1281 (eieio-defmethod): New `code' argument.
1283 * emacs-lisp/eieio-comp.el: Remove.
1285 * emacs-lisp/edebug.el (edebug-eval-defun)
1286 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1287 (edebug-toggle): Avoid `eval'.
1289 * emacs-lisp/disass.el (disassemble-internal): Handle new
1291 (disassemble-1): Handle new byte codes.
1293 * emacs-lisp/cl.el (pushnew): Silence warning.
1295 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1296 (cl-byte-compile-throw): Remove.
1297 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1299 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1302 * emacs-lisp/cconv.el: New file.
1304 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1305 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1306 (byte-compile-initial-macro-environment):
1307 Handle declare-function here.
1308 (byte-compile--lexical-environment): New var.
1309 (byte-stack-ref, byte-stack-set, byte-discardN)
1310 (byte-discardN-preserve-tos): New lap codes.
1311 (byte-interactive-p): Don't use any more.
1312 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1314 (byte-compile-lapcode): Use them and handle new lap codes.
1315 (byte-compile-obsolete): Remove.
1316 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1317 (byte-compile-arglist-warn): Check late def of inlinable funs.
1318 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1319 since they should have been expanded by now.
1320 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1321 (byte-compile-from-buffer): Remove unused second arg.
1322 (byte-compile-preprocess): New function.
1323 (byte-compile-toplevel-file-form): New function to distinguish
1324 file-form calls from outside from file-form calls from hunk-handlers.
1325 (byte-compile-file-form): Simplify.
1326 (byte-compile-file-form-defsubst): Remove.
1327 (byte-compile-file-form-defmumble): Simplify now that
1328 byte-compile-lambda always returns a byte-code-function.
1329 (byte-compile): Preprocess.
1330 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1331 Remove, not used any more.
1332 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1333 (byte-compile-make-args-desc): New funs.
1334 (byte-compile-lambda): Handle lexical functions. Always return
1335 a byte-code-function.
1336 (byte-compile-reserved-constants): New var, to make up room for
1337 closed-over variables.
1338 (byte-compile-constants-vector): Obey it.
1339 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1340 (byte-compile-macroexpand-declare-function): New function.
1341 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1342 byte-code-functions.
1343 (byte-compile-form): Check obsolescence here.
1344 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1345 (byte-compile-variable-ref): Remove.
1346 (byte-compile-dynamic-variable-op): New fun.
1347 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1348 (byte-compile-variable-set): New funs.
1349 (byte-compile-discard): Add 2 args.
1350 (byte-compile-stack-ref, byte-compile-stack-set)
1351 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1352 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1353 macroexpand-all instead.
1354 (byte-compile-quote-form): Remove.
1355 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1356 (byte-compile-bind, byte-compile-unbind): New funs.
1357 (byte-compile-let): Handle let* and lexical binding.
1358 (byte-compile-let*): Remove.
1359 (byte-compile-catch, byte-compile-unwind-protect)
1360 (byte-compile-track-mouse, byte-compile-condition-case):
1361 Handle a new :fun-body form, used for lexical scoping.
1362 (byte-compile-save-window-excursion)
1363 (byte-compile-with-output-to-temp-buffer): Remove.
1364 (byte-compile-defun): Simplify.
1365 (byte-compile-stack-adjustment): New fun.
1366 (byte-compile-out): Use it.
1367 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1369 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1372 * emacs-lisp/byte-opt.el: Use lexical binding.
1373 (byte-inline-lapcode): Remove (to bytecomp).
1374 (byte-compile-inline-expand): Pay attention to inlining to/from
1375 lexically bound code.
1376 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1378 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1379 any more and don't call compiler-macros.
1380 (byte-compile-splice-in-already-compiled-code): Remove.
1381 (byte-code): Don't inline any more.
1382 (disassemble-offset): Receive `bytes' as argument rather than via
1384 (byte-compile-tag-number): Declare before first use.
1385 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1386 `return' even if make-spliceable.
1387 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1388 obsolete interactive-p.
1389 (byte-optimize-lapcode): Optimize new lap-codes.
1390 Don't trip up on new form of `byte-constant' lap code.
1392 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1394 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1396 * custom.el (custom-initialize-default, custom-declare-variable):
1399 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1401 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1402 (COMPILE_FIRST): Add macroexp and cconv.
1403 * makefile.w32-in: Mirror changes in Makefile.in.
1409 * vc/smerge-mode.el:
1410 * textmodes/bibtex-style.el:
1419 * emacs-lisp/smie.el:
1422 * abbrev.el: Use lexical binding.
1424 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1426 * info.el (info-display-manual): New function.
1428 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1432 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1434 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1435 an entry for that server in rcirc-authinfo. (Bug#8385)
1437 2011-03-31 Glenn Morris <rgm@gnu.org>
1439 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1441 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1443 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1445 * progmodes/python.el (python-default-interpreter)
1446 (python-python-command-args, python-jython-command-args)
1447 (python-which-shell, python-which-args, python-which-bufname)
1448 (python-file-queue, python-comint-output-filter-function)
1449 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1450 variables and functions.
1452 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1455 (completion-in-region-mode): New minor mode.
1456 (completion-in-region): Use it.
1457 (completion-in-region--data, completion-in-region-mode-map): New vars.
1458 (completion-in-region--postch): New function.
1459 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1461 (completion--capf-wrapper): New function.
1462 (completion-at-point): Use it to track well-behavedness of
1464 (completion-help-at-point): New command.
1466 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1468 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1469 syntax class to search for whitespace on a single line
1470 (Message-ID: <4D938140.4030905@redhat.com>).
1472 2011-03-30 Leo Liu <sdl.web@gmail.com>
1474 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1476 (edit-abbrevs-map): Bind them here.
1477 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1479 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1481 * allout.el (allout-hide-by-annotation, allout-flag-region):
1482 Reduce possibility of overlay leakage by making them volatile.
1484 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1485 hash is not shared between buffers. Mode initialization is
1486 responsible for giving it a useful starting value.
1487 (allout-item-span): Reduce possibility of overlay leakage by
1488 making them volatile.
1489 (allout-widgets-count-buttons-in-region): Add diagnostic function
1490 for tracking down button overlay leaks.
1492 2011-03-29 Leo Liu <sdl.web@gmail.com>
1494 * ido.el (ido-read-internal): Use the default history var
1495 minibuffer-history if no HISTORY is specified.
1497 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1499 * net/imap.el (imap-shell-open, imap-process-connection-type):
1500 Use imap-process-connection-type for 'shell' streams as well as
1501 Kerberos, SSL, other subprocesses.
1503 2011-03-28 Leo Liu <sdl.web@gmail.com>
1505 * abbrev.el (abbrev-table-empty-p): New function.
1506 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1507 nonempty ones. (Bug#5937)
1509 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1511 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1513 2011-03-27 Leo Liu <sdl.web@gmail.com>
1515 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1516 for foreground and background colors.
1517 (ansi-color-make-color-map): Adapt.
1519 2011-03-25 Leo Liu <sdl.web@gmail.com>
1521 * midnight.el (midnight-time-float): Remove. Note it calculates
1522 the microsecond component incorrectly and seconds-to-time does the
1524 Remove redundant (require 'timer).
1526 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1527 (ido-completions): Remove unused arguments. (Bug#8329)
1529 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * minibuffer.el (completion--flush-all-sorted-completions):
1532 Remove itself from hook.
1533 (completion-at-point): Let the functions perform the completion
1534 immediately and return nil or t.
1535 * comint.el (comint-dynamic-complete-functions): Now identical to
1536 completion-at-point-functions.
1537 (comint-dynamic-list-input-ring): Remove unused var `index'.
1538 (comint--match-partial-filename, comint--unquote&expand-filename):
1539 New funs, split from comint-match-partial-filename.
1540 (comint-dynamic-complete): Use completion-at-point.
1541 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1543 2011-03-24 Drew Adams <drew.adams@oracle.com>
1545 * thingatpt.el: Support `defun'.
1547 2011-03-23 Leo Liu <sdl.web@gmail.com>
1549 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1551 * help-mode.el (help-mode-finish): Tweak regexp.
1553 2011-03-23 Glenn Morris <rgm@gnu.org>
1555 * eshell/esh-opt.el (eshell-eval-using-options):
1556 Do not bind unused local variable `eshell-option-stub'.
1558 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1560 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1562 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1563 keymap variable in `with-no-warnings' to avoid a warning when the
1564 keymap has been already `defconst'ed.
1566 2011-03-22 Leo Liu <sdl.web@gmail.com>
1568 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1569 encode all chars in abbrevs; otherwise use emacs-mule or
1570 utf-8-emacs. (Bug#8308)
1572 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1574 * simple.el (backward-delete-char-untabify):
1575 Avoid warning about using `delete-backward-char'.
1577 * image.el (image-type-file-name-regexps): Make it variable.
1578 `imagemagick-register-types' modifies it, and the user may want
1579 to add new extensions for known image types.
1580 (imagemagick-register-types): Throw error if not using ImageMagick.
1582 2011-03-22 Leo Liu <sdl.web@gmail.com>
1584 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1585 located before rcirc-prompt-end-marker.
1586 (rcirc-complete): Error if point is not after rcirc prompt.
1587 Handle the case when table is nil.
1588 (rcirc-user-authenticated): Define to fix compiler warning.
1590 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1592 * custom.el (custom--inhibit-theme-enable): Make it affect only
1593 custom-theme-set-variables and custom-theme-set-faces.
1594 (provide-theme): Ignore custom--inhibit-theme-enable.
1595 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1596 (custom-enabling-themes): Delete variable.
1597 (enable-theme): Accept only loaded themes as arguments.
1598 Ignore the special custom-enabled-themes variable.
1599 (custom-enabled-themes): Forbid themes from setting this.
1600 Eliminate use of custom-enabling-themes.
1601 (custom-push-theme): Quote "changed" custom var entry.
1603 2011-03-21 Leo Liu <sdl.web@gmail.com>
1605 * ido.el (ido-read-internal): Add ido-selected to history instead
1608 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * subr.el (deferred-action-list, deferred-action-function):
1613 2011-03-21 Leo Liu <sdl.web@gmail.com>
1615 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1616 change on 2011-02-13 (bug#8309).
1618 * minibuffer.el (read-file-name-function): Change default value.
1619 (read-file-name--defaults): Rename from read-file-name-defaults.
1620 (read-file-name-default): Rename from read-file-name.
1621 (read-file-name): Call read-file-name-function.
1623 2011-03-21 Glenn Morris <rgm@gnu.org>
1625 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1628 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1630 * cus-theme.el: Add missing provide statement.
1631 (customize-create-theme): Extract theme value correctly.
1632 (custom-theme-visit-theme): Autoload.
1633 (customize-create-theme): Prompt before inserting default faces.
1635 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1637 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1638 units and musical notes.
1640 2011-03-20 Leo <sdl.web@gmail.com>
1642 * ido.el (ido-read-internal): Use completing-read-default.
1643 (ido-completing-read): Fix compatibility with completing-read.
1645 2011-03-20 Christian Ohler <ohler@gnu.org>
1647 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1648 (ert-delete-all-tests): Use `called-interactively-p' rather than
1650 (ert--make-xrefs-region): Respect END.
1652 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1654 * dired-aux.el (dired-create-directory): Signal an error if the
1655 directory already exists (Bug#8246).
1657 * facemenu.el (list-colors-display): Call list-faces-display
1658 inside with-help-window.
1659 (list-colors-print): Use display property to align the final
1660 column, instead of checking window-width.
1662 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1664 * emerge.el (emerge-metachars): Separate value for ms-dos and
1666 (emerge-protect-metachars): Quote correctly for ms-dos and
1669 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1671 * info.el (info-initialize): Replace all uses of `:' with
1672 path-separator for compatibility with non-Unix systems.
1673 Cache quoting of path-separator. (Bug#8258)
1675 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1677 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1678 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1679 (mouse-avoidance-mode): Fix typos in docstrings.
1681 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1683 * startup.el (package-subdirectory-regexp): Move from package.el.
1684 Omit \\` and \\', and let callers add them.
1686 * emacs-lisp/package.el (package-strip-version)
1687 (package-load-all-descriptors): Add \\` and \\' to
1688 package-subdirectory-regexp before using it.
1689 (package-untar-buffer): New arg DIR; ensure that file untars only
1690 into this expected directory. Remove superfluous delete-region.
1691 (package-unpack): Caller changed.
1692 (package-tar-file-info): Use package-subdirectory-regexp.
1694 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1697 diff-mode-shared-map (bug#8284).
1698 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1700 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1702 * calendar/time-date.el (format-seconds): Use assoc instead of
1703 assoc-string, since assoc-string doesn't exist in XEmacs.
1705 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1707 * custom.el (custom-known-themes): Reflow docstring.
1708 (custom-theme-load-path): Fix typo in docstring.
1709 (load-theme): Fix typo in error message.
1710 (custom-available-themes, custom-variable-theme-value):
1711 Use `let', not `let*'.
1713 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1715 * calc/README: Mention inclusion of musical notes.
1717 * calc/calc-units.el (calc-lu-quant): Rename from
1718 `calc-logunits-quantity'.
1719 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1720 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1721 (calc-db): Rename from `calc-dblevel'.
1722 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1723 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1724 (calc-np): Rename from `calc-nplevel'.
1725 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1726 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1727 (calc-lu-plus): Rename from `calc-logunits-add'.
1728 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1729 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1730 (calc-lu-minus): Rename from `calc-logunits-sub'.
1731 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
1732 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
1733 (calc-lu-times): Rename from `calc-logunits-mul'.
1734 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
1735 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
1736 (calc-lu-divide): Rename from `calc-logunits-div'.
1737 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
1738 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
1740 * calc/calc-ext.el (calc-init-extensions): Update the names of the
1741 functions being autoloaded.
1743 * calc/calc.el (calc-lu-power-reference): Rename from
1744 `calc-logunits-power-reference'.
1745 (calc-lu-field-reference): Rename from
1746 `calc-logunits-field-reference'.
1748 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
1750 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * minibuffer.el (completion-all-sorted-completions):
1753 Use :completion-cycle-penalty text property if present.
1755 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
1757 * allout.el (allout-yank-processing): Adjust for new rebulleting
1758 regime so bullet being yanked is used without prompting the user
1761 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1763 * startup.el (command-line): Warn the user that _emacs is deprecated.
1765 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
1767 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
1768 (delphi-verbose, delphi-comment-face, delphi-string-face)
1769 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
1770 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
1771 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
1772 (delphi-new-comment-line, delphi-font-lock-defaults)
1773 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
1774 Fix typos in docstrings.
1776 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
1778 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
1779 Invert the roles of character and string values for INSTEAD, so a
1780 string is used for the more common case of a defaulting prompt.
1782 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1784 * progmodes/ruby-mode.el (ruby-backward-sexp):
1785 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
1786 * play/gamegrid.el (gamegrid-make-face):
1787 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
1788 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
1789 * notifications.el (notifications-notify):
1790 * net/xesam.el (xesam-search-engines):
1791 * net/quickurl.el (quickurl-list-insert):
1792 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
1794 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
1796 * startup.el (command-line): Update package subdirectory regexp.
1798 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * allout.el (allout-abbreviate-flattened-numbering)
1801 (allout-mode-deactivate-hook): Fix up obsolescence "date".
1803 * subr.el (read-char-choice): Only show the cursor after the prompt,
1804 not after the answer.
1806 2011-03-15 Kevin Ryde <user42@zip.com.au>
1808 * help-fns.el (variable-at-point): Skip leading quotes, if any
1811 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
1816 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
1818 * shell.el (shell): When called interactively, offer to change the
1819 shell file name on remote hosts.
1821 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
1823 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
1824 integration for LDAP parameters. The host, base, user or binddn,
1825 and secret tokens can be specified in a netrc file, for instance.
1826 This is optional because an `auth-source' parameter must be
1827 specified in the search attributes.
1829 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
1831 * help.el (describe-mode): Link to the mode's definition (bug#8185).
1833 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1835 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
1836 into declaration. Remove redundant and harmful binding.
1838 2011-03-12 Eli Zaretskii <eliz@gnu.org>
1840 * files.el (file-ownership-preserved-p): Pass `integer' as an
1841 explicit 2nd argument to `file-attributes'. If the file's owner
1842 is the Administrators group on Windows, and the current user is
1843 Administrator, consider that a match.
1845 * server.el (server-ensure-safe-dir): Consider server directory
1846 safe on MS-Windows if its owner is the Administrators group while
1847 the current Emacs user is Administrator. Use `=' to compare
1848 numerical UIDs, since they could be integers or floats.
1850 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
1852 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
1854 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
1856 Sync with Tramp 2.2.1.
1858 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
1860 * net/trampver.el: Update release number.
1862 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * progmodes/compile.el (compilation--previous-directory): Fix up
1865 various nil/dead-marker mismatches (bug#8014).
1866 (compilation-directory-properties, compilation-error-properties):
1867 Don't call it at a position past the one we're about to change.
1869 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
1870 Disable obsolescence warnings in the file that declares it.
1872 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
1874 * allout-widgets.el (allout-widgets-tally):
1875 Initialize allout-widgets-tally as a hash table rather than nil to
1876 prevent mode-line redisplay warnings. Also, clarify the module
1877 description and fix a comment typo.
1879 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
1881 * help-fns.el (describe-variable): Don't complete keywords.
1882 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
1884 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
1886 * emacs-lisp/package.el (package-version-join): Impose a standard
1887 string representation for pre/alpha/beta version lists.
1888 (package-unpack-single): Standardize the directory name by passing
1889 it through package-version-join.
1890 (package-strip-rcs-id): Accept any version string that does not
1891 signal an error in version-to-list.
1893 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
1895 * simple.el (delete-trailing-whitespace): Return nil for the
1896 benefit of `write-file-functions'.
1898 2011-03-10 Glenn Morris <rgm@gnu.org>
1900 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
1902 * vc/vc-git.el (vc-git-program): New option.
1903 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
1904 (vc-git--call): Use it.
1906 * eshell/esh-util.el (eshell-condition-case): Doc fix.
1908 * cus-edit.el (Custom-newline): If no button at point, look
1909 for a subgroup button at start-of-line. (Bug#2298)
1911 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
1913 2011-03-10 Julien Danjou <julien@danjou.info>
1915 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
1916 `cursor-type' is nil.
1918 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
1920 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1922 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1924 * allout.el Summary: Change so yank of distinctive-bullet items
1925 preserves the existing header prefix, rebulleting it if necessary,
1926 rather than replacing it. This is necessary for proper operation
1927 of cooperative addons like allout-widgets.
1928 (allout-make-topic-prefix, allout-rebullet-heading): Change
1929 SOLICIT arg to INSTEAD, and interpret additionally a string value
1930 as alternate bullet to be used, instead of prompting the user for
1933 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1936 Do not use `tramp-file-name-port', because this returns also
1937 `tramp-default-port'.
1939 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1941 * net/rcirc.el (rcirc-handler-001): Remove useless
1942 with-rcirc-process-buffer.
1943 (rcirc-check-auth-status): Swap arguments to string-match.
1945 2011-03-09 Glenn Morris <rgm@gnu.org>
1947 * shell.el (shell-mode):
1948 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1950 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1951 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1953 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1955 * emacs-lisp/package.el (package-refresh-contents)
1956 (package-menu-execute): Use condition-case-no-debug.
1958 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
1960 * simple.el (shell-command-to-string): Use `process-file'.
1962 * emacs-lisp/package.el (package-tar-file-info): Handle also
1965 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1966 Use `equal' for upload base check.
1968 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1970 * textmodes/texinfo.el (texinfo-environments):
1971 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1973 2011-03-08 Glenn Morris <rgm@gnu.org>
1975 * cus-start.el (cursor-in-non-selected-windows):
1976 Fix :set quoting oddness. (Bug#8192)
1978 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1979 in some setf expressions. (Bug#2159)
1981 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1983 * custom.el (custom-available-themes): Return themes in
1986 See ChangeLog.15 for earlier changes.
1992 Copyright (C) 2011 Free Software Foundation, Inc.
1994 This file is part of GNU Emacs.
1996 GNU Emacs is free software: you can redistribute it and/or modify
1997 it under the terms of the GNU General Public License as published by
1998 the Free Software Foundation, either version 3 of the License, or
1999 (at your option) any later version.
2001 GNU Emacs is distributed in the hope that it will be useful,
2002 but WITHOUT ANY WARRANTY; without even the implied warranty of
2003 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2004 GNU General Public License for more details.
2006 You should have received a copy of the GNU General Public License
2007 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.