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