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