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