1 2011-05-06 Glenn Morris <rgm@gnu.org>
3 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5 (diary-add-to-list): Strip comments from the displayed string.
6 (diary-mode): Set comment-start and comment-end.
8 * vc/diff-mode.el (smerge-refine-subst): Declare.
9 (diff-refine-hunk): Don't require smerge-mode when compiling.
11 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13 * simple.el (list-processes): Return nil as the docstring says.
15 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
17 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
21 determining of binary transfer. (Bug#7383)
23 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Fix
26 port computation bug. (Bug#8618)
28 2011-05-05 Glenn Morris <rgm@gnu.org>
30 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
32 * simple.el (shell-dynamic-complete-functions)
33 (comint-dynamic-complete-functions): Declare.
35 * net/network-stream.el (gnutls-negotiate):
36 * simple.el (tabulated-list-print): Fix declarations.
38 * progmodes/gud.el (syntax-symbol, syntax-point):
39 Remove unnecessary and incorrect declarations.
41 * emacs-lisp/check-declare.el (check-declare-scan):
42 Handle byte-compile-initial-macro-environment in bytecomp.el
44 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
46 Fix earlier half-done eieio-defmethod change (bug#8338).
47 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
48 Streamline and change calling convention.
49 (defmethod): Adjust accordingly and simplify.
50 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
52 (slot-boundp): Minor CSE simplification.
54 2011-05-05 Milan Zamazal <pdm@zamazal.org>
56 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
57 (glasses-make-readable): Use glasses-separate-capital-groups.
59 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
61 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
62 (warning-series): Doc fix.
63 (display-warning): Don't try to create the buffer if we just found it.
65 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
67 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
68 (autoload-find-generated-file): New function.
69 (generate-file-autoloads): Bind generated-autoload-file to
71 (update-file-autoloads, update-directory-autoloads):
72 Use autoload-find-generated-file. If called interactively, prompt for
73 output file (Bug#7989).
74 (batch-update-autoloads): Doc fix.
76 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
78 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
80 2011-05-04 Glenn Morris <rgm@gnu.org>
82 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
83 function, so it follows changes in calendar-date-style.
84 (diary-fancy-date-matcher): New function.
85 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
86 (diary-fancy-font-lock-fontify-region-function):
87 Use diary-fancy-date-pattern as a function.
89 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
90 non-numbers for `year' etc pseudo-variables. (Bug#8583)
92 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
94 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
95 instead of positional arguments. Allow :keylist and :crlfiles
97 (open-gnutls-stream): Call it.
99 * net/network-stream.el (network-stream-open-starttls): Adjust to
100 call `gnutls-negotiate' with :process and :hostname arguments.
102 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
104 * minibuffer.el (completion--message): New function.
105 (completion--do-completion, minibuffer-complete)
106 (minibuffer-force-complete, minibuffer-complete-word): Use it.
107 (completion--do-completion): Don't ignore completion-auto-help when in
110 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
111 internal encoding (e.g. tibetan zero is not whitespace).
112 (global-whitespace-mode): Prefer save-current-buffer.
113 (whitespace-trailing-regexp): Remove useless save-match-data.
114 (whitespace-empty-at-bob-regexp): Minor simplification.
116 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
118 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
120 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
122 * textmodes/ispell.el (ispell-add-per-file-word-list):
123 Use `concat' to create string for insertion.
125 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
127 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
128 Avoid open-line which runs post-self-insert-hook.
129 (bibtex-fill-entry): Remove unused `end' var.
131 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
133 * textmodes/ispell.el (ispell-add-per-file-word-list):
134 Protect against `nil' value of `comment-start' (Bug#8579).
136 2011-05-03 Leo Liu <sdl.web@gmail.com>
138 * isearch.el (isearch-yank-pop): New command.
139 (isearch-mode-map): Bind it to `M-y'.
140 (isearch-forward): Mention it.
142 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
144 * simple.el (minibuffer-complete-shell-command): Remove.
145 (minibuffer-local-shell-command-map): Use completion-at-point.
146 (read-shell-command): Setup completion vars here instead.
147 (read-expression-map): Bind TAB to symbol completion.
149 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
150 error directly rather via storing it into `results'.
152 2011-05-02 Leo Liu <sdl.web@gmail.com>
154 * vc/diff.el: Fix description.
156 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
158 * server.el (server-eval-at): New function.
160 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
162 * net/network-stream.el (open-network-stream): Take a :nowait
163 parameter and pass it on to `make-network-process'.
164 (network-stream-open-plain): Ditto.
166 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
168 * faces.el (face-spec-set-match-display): Don't match toolkit
169 options on terminal frames.
171 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/pascal.el: Use lexical binding.
174 (pascal-mode-map): Remove author preferences.
176 * pcomplete.el (pcomplete-std-complete): Don't abuse
179 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
181 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
182 removing code that has been dead since 1991 or so.
184 * startup.el (command-line): When warning about "_emacs", use a
185 delayed warning to allow the user to filter it out.
187 2011-04-28 Deniz Dogan <deniz@dogan.se>
189 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
192 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
194 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
195 aren't any completions at point.
197 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
199 * subr.el (display-delayed-warnings): New function.
200 (delayed-warnings-hook): New variable.
202 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
204 * minibuffer.el (completion-at-point, completion-help-at-point):
205 Don't presume that a given completion-at-point-function will always
206 use the same calling convention.
208 * pcomplete.el (pcomplete-completions-at-point):
209 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
210 pcomplete-seen is non-nil.
211 (pcomplete-comint-setup): Also recognize the new comint/shell
212 completion functions.
213 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
214 pcomplete-seen is non-nil.
216 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
218 * calendar/icalendar.el (diary-lib): Add require statement.
219 (icalendar--create-uid): Read out a uid from a text-property on
220 the first character in the entry. This allows for code to add its
221 own uid to the entry.
222 (icalendar--convert-float-to-ical): Add export of
223 `diary-float'-entries save for those with the optional DAY
226 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
228 * subr.el (shell-quote-argument): Use alternate escaping strategy
229 when we spot a variable reference in a string.
231 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
233 * cus-start.el (all): Define customization for debug-on-event.
235 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
237 * subr.el (shell-quote-argument): Escape correctly under Windows.
239 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
241 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
243 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
245 * net/tramp.el (tramp-process-actions): Add POS argument.
246 Delete region between POS and (pos).
248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
249 Use `nil' position in `tramp-process-actions' call.
250 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
252 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
253 position in `tramp-process-actions' call.
255 * net/trampver.el: Update release number.
257 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
259 * custom.el (defcustom): Obey lexical-binding.
261 Fix octave-inf completion problems reported by Alexander Klimov.
262 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
263 Inherit from octave-mode-syntax-table.
264 (inferior-octave-mode): Set info-lookup-mode.
265 (inferior-octave-completion-at-point): New function.
266 (inferior-octave-complete): Use it and completion-in-region.
267 (inferior-octave-dynamic-complete-functions): Use it as well, and use
268 comint-filename-completion.
269 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
270 symbol elements which shouldn't be word elements.
271 (octave-font-lock-keywords, octave-beginning-of-defun)
272 (octave-function-header-regexp): Adjust regexps accordingly.
273 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
275 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
277 * net/gnutls.el (gnutls-errorp): Declare before first use.
279 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
281 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
282 verify-error, and verify-hostname-error parameters. Check whether
283 default trustfile exists before going to use it. Add missing
284 argument to gnutls-message-maybe call. Return return value.
285 Reported by Claudio Bley <claudio.bley@gmail.com>.
286 (open-gnutls-stream): Add usage example.
288 * net/network-stream.el (network-stream-open-starttls): Give host
289 parameter to `gnutls-negotiate'.
290 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
291 * subr.el (shell-quote-argument): Escape correctly under Windows.
293 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
295 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
296 Use correct match group (bug#8438).
298 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
300 * emacs-lisp/package.el (package-built-in-p): Fix typo.
301 (package-menu--generate): New arg specifying packages to show.
302 (package-menu-refresh, package-menu-execute, list-packages):
304 (package-show-package-list): New function, replacing deleted
305 package--list-packages (renamed because it is non-internal).
307 * finder.el (finder-list-matches): Use package-show-package-list
308 instead of deleted package--list-packages.
310 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
311 Based on a previous implementation by Juanma Barranquero (Bug#8366).
312 (vc-annotate-mode-map): Bind it to RET.
314 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
316 * progmodes/etags.el (next-file): Don't use set-buffer to change
319 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
321 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
323 * apropos.el (apropos-label-face): Avoid variable-pitch face.
324 (apropos-accumulator): Doc fix.
325 (apropos-function, apropos-macro, apropos-command)
326 (apropos-variable, apropos-face, apropos-group, apropos-widget)
327 (apropos-plist): Add face property.
328 (apropos-symbols-internal): Fix indentation.
329 (apropos-print): Simplify help, and recognize apropos-multi-type.
330 (apropos-print-doc): Use button-type-get to extract the button's
331 face property. Fill docstring (Bug#8352).
333 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
335 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
337 * play/mpuz.el (mpuz-silent): Doc fix.
338 (mpuz-mode-map): Use mapc.
339 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
340 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
341 Fix typos in docstrings.
343 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
344 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
346 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
348 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
350 * minibuffer.el (completion--do-completion): Avoid the "Next char
351 not unique" prompt if icomplete-mode is enabled (Bug#5849).
353 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
354 mouse-2 into unread-command-events, it is interpreted correctly.
356 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
357 (image-toggle-display): Doc fix.
359 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
361 * textmodes/page.el (what-page): Use line-number-at-pos to
362 calculate line number (Bug#6825).
364 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
366 * eshell/esh-mode.el (find-tag-interactive): Declare function.
367 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
368 Pass argument NO-DEFAULT to `find-tag-interactive'.
370 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
372 Lexical-binding cleanup.
374 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
375 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
376 * progmodes/ada-prj.el (ada-prj-initialize-values)
377 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
378 (ada-prj-show-value):
379 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
380 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
381 (antlr-invalidate-context-cache, antlr-options-menu-filter)
382 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
383 * progmodes/bug-reference.el (bug-reference-push-button):
384 * progmodes/fortran.el (fortran-line-length):
385 * progmodes/glasses.el (glasses-change):
386 * progmodes/octave-mod.el (octave-fill-paragraph):
387 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
388 (python-pdbtrack-grub-for-buffer, python-sentinel):
389 * progmodes/sql.el (sql-save-connection):
390 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
391 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
392 Mark unused parameters.
394 * progmodes/compile.el (compilation--flush-directory-cache)
395 (compilation--flush-parse, compile-internal): Mark unused parameters.
396 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
397 (compilation-next-error-function): Remove unused variable `timestamp'.
399 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
400 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
402 * progmodes/dcl-mode.el (dcl-end-of-command):
403 Remove unused variable `start'.
404 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
405 (dcl-option-value-basic, dcl-option-value-offset)
406 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
407 Mark unused parameters.
408 (dcl-save-local-variable): Remove unused variable `val'.
411 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
412 Mark unused parameters.
413 (delphi-ignore-changes): Move before first use.
414 (delphi-charset-token-at): Remove unused variable `start'.
415 (delphi-else-start): Remove unused variable `if-count'.
416 (delphi-comment-block-start, delphi-comment-block-end):
417 Remove unused variable `kind'.
418 (delphi-indent-line): Remove unused variable `new-point'.
420 * progmodes/ebrowse.el (ebrowse-files-list)
421 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
422 Mark unused parameters. Don't quote `lambda'.
423 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
424 Don't quote `lambda'.
425 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
426 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
427 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
428 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
430 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
431 (ebrowse-view/find-file-and-search-pattern)
432 (ebrowse-view/find-member-declaration/definition):
433 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
434 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
435 Rename parameter PREFIX-ARG to PREFIX.
436 (ebrowse-tags-read-name): Remove unused variables `start' and
438 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
441 * progmodes/etags.el (local-find-tag-hook): Declare.
442 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
443 Mark unused parameters.
445 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
446 (executable-interpret): Mark unused parameter.
448 * progmodes/flymake.el (flymake-process-sentinel)
449 (flymake-after-change-function)
450 (flymake-create-temp-with-folder-structure)
451 (flymake-get-include-dirs-dot): Mark unused parameters.
452 (flymake-safe-delete-directory): Remove unused variable `err'.
454 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
455 (speedbar-timer-fn, speedbar-line-text)
456 (speedbar-change-expand-button-char, speedbar-delete-subblock)
457 (speedbar-center-buffer-smartly): Declare functions.
458 (gdb-find-watch-expression): Remove unused variable `array'.
459 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
460 (gdb-starting): Mark unused parameters.
461 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
462 (gdb-table-string): Remove unused variable `res'.
463 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
464 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
465 (gdb-display-buffer): Remove unused variable `cur-size'.
467 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
468 allow lexical-binding compilation.
469 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
470 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
471 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
472 Mark unused parameters.
473 (gud-gdb-marker-filter): Remove unused variable `match'.
474 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
475 lambda expressions and funcall them, instead of using `fset'.
477 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
478 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
480 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
481 variable `header-beg'; use `let'.
483 * progmodes/icon.el (indent-icon-exp): Remove unused variables
484 `restart', `last-sexp' and `at-do'.
486 * progmodes/js.el (js--debug): Mark unused parameter.
487 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
488 (js--splice-into-items): Remove unused variable `item'.
489 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
491 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
492 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
493 (makefile-complete): Remove unused variable `try'.
494 (makefile-fill-paragraph, makefile-match-function-end):
495 Mark unused parameters.
497 * progmodes/octave-inf.el (inferior-octave-complete):
498 Remove unused variable `proc'.
499 (inferior-octave-output-digest): Mark unused parameter.
501 * progmodes/perl-mode.el (perl-calculate-indent):
502 Remove unused variable `err'.
504 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
505 (prolog-indent-line): Mark unused parameters.
506 (prolog-indent-line): Remove unused variable `beg'.
508 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
509 (reporter-dont-compact-list): Declare.
511 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
512 Remove unused variable `char'.
513 (sh-debug): Mark unused parameter.
514 (sh-get-indent-info): Remove unused variable `start'.
515 (sh-calculate-indent): Remove unused variable `var'.
517 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
518 (simula-electric-keyword): Remove unused variable `null'.
519 (simula-search-backward, simula-search-forward): Remove unused
520 variables `begin' and `end'.
522 * progmodes/vera-mode.el (vera-guess-basic-syntax):
523 Remove unused variable `pos'.
524 (vera-electric-tab, vera-comment-uncomment-region):
525 Mark unused parameters.
526 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
528 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
530 * emacs-lisp/package.el (package--builtins, package-alist)
531 (package-load-descriptor, package-built-in-p, package-activate)
532 (define-package, package-installed-p)
533 (package-compute-transaction, package-buffer-info)
534 (package--push): Doc fix. Distinguish more clearly between
535 version strings and version lists.
537 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
539 Lexical-binding cleanup.
541 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
542 (5x5-make-mutate-best):
543 * play/fortune.el (fortune-in-buffer):
544 * play/gomoku.el (gomoku-init-display):
545 * play/solitaire.el (solitaire, solitaire-do-check):
546 * play/tetris.el (tetris-default-update-speed-function):
547 Mark unused parameters.
549 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
550 (bubbles--shift): Remove unused variable `char-org'.
551 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
552 (bubbles--show-images): Remove unused variable `char'.
554 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
555 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
556 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
557 (decipher-analyze-buffer): Use ?\s.
558 (decipher-make-checkpoint): Remove unused variable `mapping'.
560 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
562 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
563 Remove unused variable `result'; use `let'.
565 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
566 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
567 (gametree-children-shown-p, gametree-compute-reduced-score):
570 * play/handwrite.el (ps-lpr-switches): Declare.
571 (handwrite): Remove unused variables `pmin' and `lastp'.
573 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
575 * play/landmark.el (landmark-init-display)
576 (landmark-update-naught-weights): Mark unused parameters.
577 (landmark-y): Remove unused variable `noise'. Simplify.
578 (landmark-human-plays): Remove unused variable `score'.
580 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
581 (mpuz-try-proposal): Remove unused variable `game'.
583 * play/zone.el (life-patterns): Declare.
585 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
587 * vc/vc.el (ediff-vc-internal): Declare function.
589 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
591 * shell.el: Use lexical-binding and std completion UI.
592 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
593 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
594 comint-preoutput-filter-functions rather than on
595 comint-output-filter-functions.
596 (shell-command-completion, shell--command-completion-data)
597 (shell-filename-completion, shell-environment-variable-completion)
598 (shell-c-a-p-replace-by-expanded-directory): New functions.
599 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
600 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
601 (shell-dynamic-complete-environment-variable): Use them.
602 (shell-dynamic-complete-as-environment-variable)
603 (shell-dynamic-complete-as-command): Remove.
604 (shell-match-partial-variable): Match past point.
605 * comint.el: Clean up use of completion-at-point-functions.
606 (comint-completion-at-point): New function.
607 (comint-mode): Use it completion-at-point-functions.
608 (comint-dynamic-complete): Make it obsolete.
609 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
610 (comint-c-a-p-replace-by-expanded-history): New function.
611 (comint-dynamic-complete-functions)
612 (comint-replace-by-expanded-history): Use it.
613 * minibuffer.el (completion-table-with-terminator): Allow dynamic
614 termination strings. Try harder to avoid second try-completion.
615 (completion-in-region-mode-map): Disable bindings that don't work yet.
617 * comint.el: Use lexical-binding. Require CL.
618 (comint-dynamic-complete-functions): Use comint-filename-completion.
619 (comint-completion-addsuffix): Tweak custom type.
620 (comint-filename-completion, comint--common-suffix)
621 (comint--common-quoted-suffix, comint--table-subvert)
622 (comint--complete-file-name-data): New functions.
623 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
624 (comint-dynamic-list-filename-completions): Use them.
625 (comint-dynamic-simple-complete): Make obsolete.
627 * minibuffer.el (completion-in-region-mode):
628 Keep completion-in-region-mode--predicate global.
629 (completion-in-region--postch):
630 Assume completion-in-region-mode--predicate is not null.
632 * progmodes/flymake.el (flymake-start-syntax-check-process):
633 Obey `dir'. Simplify.
635 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
636 we're in VC after all.
638 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
640 * vc/vc.el (vc-diff-build-argument-list-internal)
641 (vc-version-ediff, vc-ediff): New commands.
642 (vc-version-diff): Use vc-diff-build-argument-list-internal.
644 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
649 * obsolete/erc-hecomplete.el: Make obsolete.
650 * obsolete/: Standardize obsolescence info in the header.
652 2011-04-20 Glenn Morris <rgm@gnu.org>
654 * calendar/solar.el (solar-horizontal-coordinates):
655 Use the longitude argument rather than `calendar-longitude'.
656 (solar-date-next-longitude): Remove unused locals.
658 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
660 * whitespace.el: New version 13.2.1.
662 2011-04-20 felix <EmacsWiki> (tiny change)
664 * whitespace.el (global-whitespace-mode): keep highlight when
665 switching between major modes on a file.
667 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
669 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
670 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
671 multi-line comments as well.
673 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
675 Lexical-binding cleanup.
677 * arc-mode.el (archive-mode-revert):
678 * cmuscheme.el (scheme-interactively-start-process):
679 * custom.el (custom-initialize-delay):
680 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
681 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
682 * emacs-lock.el (emacs-lock-clear-sentinel):
683 * ezimage.el (defezimage):
684 * follow.el (follow-avoid-tail-recenter):
685 * fringe.el (set-fringe-mode-1):
686 * generic-x.el (bat-generic-mode-compile):
687 * help-mode.el (help-info-variable, help-do-xref)
688 (help-mode-revert-buffer):
689 * help.el (view-emacs-todo):
690 * iswitchb.el (iswitchb-completion-help):
691 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
692 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
693 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
694 * locate.el (locate-update):
695 * longlines.el (longlines-encode-region)
696 (longlines-after-change-function):
697 * outline.el (outline-isearch-open-invisible):
698 * ps-def.el (declare-function, charset-dimension, char-width)
700 * ps-mule.el (ps-mule-plot-string):
701 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
702 (recentf-edit-list-select, recentf-edit-list-validate)
703 (recentf-open-files-action):
704 * rect.el (delete-whitespace-rectangle-line)
705 (rectangle-number-line-callback):
706 * register.el (window-configuration-to-register)
707 (frame-configuration-to-register):
708 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
709 * select.el (xselect-convert-to-string, xselect-convert-to-length)
710 (xselect-convert-to-targets, xselect-convert-to-delete)
711 (xselect-convert-to-filename, xselect-convert-to-charpos)
712 (xselect-convert-to-lineno, xselect-convert-to-colno)
713 (xselect-convert-to-os, xselect-convert-to-host)
714 (xselect-convert-to-user, xselect-convert-to-class)
715 (xselect-convert-to-name, xselect-convert-to-integer)
716 (xselect-convert-to-atom, xselect-convert-to-identity):
717 * subr.el (declare, ignore, process-kill-without-query)
718 (text-clone-maintain):
719 * terminal.el (te-get-char, te-tic-sentinel):
720 * tool-bar.el (tool-bar-make-keymap):
721 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
722 * type-break.el (type-break-mode, type-break-noninteractive-query):
723 * view.el (View-back-to-mark):
724 * wid-browse.el (widget-browse-action, widget-browse-widget)
725 (widget-browse-widgets, widget-browse-sexp):
726 * widget.el (define-widget-keywords):
727 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
728 Mark unused parameters.
730 * align.el (align-adjust-col-for-rule): Mark unused parameter.
731 (align-areas): Remove unused variable `look'.
732 (align-region): Remove unused variables `real-end' and `pos-list'.
734 * apropos.el (apropos-score-doc): Remove unused variable `i'.
736 * bindings.el (mode-line-modified, mode-line-remote):
737 Mark unused parameters.
738 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
740 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
741 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
743 * comint.el (comint-history-isearch-pop-state)
744 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
745 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
746 (comint-substitute-in-file-name): Doc fix.
748 * completion.el (cmpl-statistics-block): Mark unused parameter.
749 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
750 (save-completions-to-file, load-completions-from-file):
751 Remove unused local variable `e'.
753 * composite.el (compose-chars): Remove unused variable `len'.
754 (lgstring-insert-glyph): Remove unused variable `g'.
755 (compose-glyph-string): Remove unused variables `ascent',
756 `descent', `lbearing' and `rbearing'.
757 (compose-glyph-string-relative): Remove unused variables
758 `lbearing', `rbearing' and `wadjust'.
759 (compose-gstring-for-graphic): Remove unused variables `header',
760 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
761 (compose-gstring-for-terminal): Remove unused variables `header'
762 and `nchars'. Use `let', not `let*'.
764 * cus-edit.el (Custom-set, Custom-save, custom-reset)
765 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
766 (Custom-buffer-done, custom-buffer-create-internal)
767 (custom-browse-visibility-action, custom-browse-group-tag-action)
768 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
769 (widget-magic-mouse-down-action, custom-toggle-parent)
770 (custom-add-parent-links, custom-toggle-hide-variable)
771 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
772 (custom-toggle-hide-face, face, hook, custom-group-link-action)
773 (custom-face-menu-create, custom-variable-menu-create, get)
774 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
775 (custom-reset-standard-save-and-update): Remove unused variable `value'.
776 (customize-apropos): Remove unused variable `tests'.
777 (custom-group-value-create): Remove unused variable `hidden-p'.
778 (sort-fold-case): Declare.
780 * cus-theme.el (custom-reset-standard-faces-list)
781 (custom-reset-standard-variables-list): Declare.
782 (customize-create-theme, custom-theme-revert, custom-theme-write)
783 (custom-theme-choose-mode, customize-themes, custom-theme-save):
784 Mark unused parameters.
786 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
788 * delim-col.el (delimit-columns-max): Move defvar before first use.
790 * descr-text.el (describe-char-categories): Don't quote `lambda'.
791 (describe-char): Don't quote `lambda'. Mark unused parameter.
793 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
794 (auto-insert): Declare.
795 (desktop-restore-file-buffer): Rename desktop-* parameters;
797 (desktop-create-buffer): Rename desktop-* parameters and bind them.
798 (desktop-buffer): Rename desktop-* parameters.
800 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
801 (dframe-reposition-frame-xemacs, dframe-help-echo)
802 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
803 Mark unused parameters.
805 * dired-aux.el (backup-extract-version-start, overwrite-query)
806 (overwrite-backup-query, rename-regexp-query)
807 (rename-non-directory-query): Declare.
808 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
809 (dired-add-entry): Remove unused variable `orig-file-name'.
810 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
811 Use parameter PRESERVE-TIME instead of accessing dynamic variable
812 `dired-copy-preserve-time' directly.
813 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
814 (dired-insert-subdir-newpos): Rename unused variable `pos'.
816 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
817 (dired-virtual-revert, dired-make-relative-symlink):
818 Mark unused parameters.
819 (manual-program): Declare.
820 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
821 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
822 wrapped in `with-no-warnings' to avoid replacing one warning by another.
824 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
826 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
828 * echistory.el (electric-history-in-progress, Helper-return-blurb):
831 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
833 * electric.el (Electric-command-loop): Rename parameter
834 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
836 * expand.el (expand-in-literal): Remove unused variable `here'.
838 * facemenu.el (facemenu-add-new-color):
839 Remove unused variable `docstring'.
841 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
842 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
843 (face-attr-construct): Mark unused parameter. Doc fix.
844 (read-color): Remove unused variable `hex-string'.
846 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
847 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
848 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
849 (display-buffer-other-frame): Remove unused variable `old-window'.
850 (kill-buffer-hook): Declare.
851 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
852 Mark unused parameters.
853 (after-find-file): Pass 1 to `auto-save-mode', not t.
855 * files-x.el (auto-insert): Declare.
856 (modify-file-local-variable-prop-line): Remove unused variable `val'.
858 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
859 variable `buf'. Mark unused parameter.
860 (find-lisp-insert-directory): Mark unused parameter.
862 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
863 (format-encode-region): Remove unused variables `cur-buf' and `result'.
864 (format-common-tail): Remove, unused.
865 (format-deannotate-region): Remove unused variable `loc'.
866 (format-annotate-region): Remove unused variable `p'.
867 (format-annotate-single-property-change): Remove unused variables
868 `default' and `tail'.
870 * forms.el (read-file-filter): Declare.
871 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
873 * frame.el (frame-creation-function-alist): Mark unused parameter.
874 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
876 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
877 Remove unused parameters.
878 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
879 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
881 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
882 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
883 (hfy-prepare-tag-map): Mark unused parameters.
884 (htmlfontify-buffer): Use `called-interactively-p'.
886 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
887 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
888 (ibuffer-do-occur): Mark unused parameters.
889 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
890 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
892 * ibuffer.el: Don't quote `lambda'.
893 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
894 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
895 Mark unused parameters.
897 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
898 (ido-completing-read): Mark unused parameters.
899 (ido-copy-current-word): Mark unused parameters;
900 remove unused variable `name'.
901 (ido-sort-merged-list): Remove unused parameter `dirs'.
903 * ielm.el (ielm-input-sender): Mark unused parameter.
904 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
905 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
906 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
907 `ielm-string' as a dynamic variable accessible from the IELM prompt.
908 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
910 * image-dired.el (image-dired-display-thumbs): Remove unused
911 variables `curr-file' and `count'.
912 (image-dired-remove-tag): Remove unused variable `start'.
913 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
915 (image-dired-rotate-original): Remove unused variable `temp-file'.
916 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
917 Remove unused variable `file'.
918 (image-dired-gallery-generate): Remove unused variable `curr'.
919 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
921 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
923 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
925 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
927 * isearch.el (minibuffer-history-symbol): Declare.
928 (isearch-edit-string): Remove unused variable `err'.
929 (isearch-message-prefix, isearch-message-suffix):
930 Mark unused parameters.
932 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
934 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
936 * makesum.el (double-column): Remove unused variable `cnt'.
938 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
939 (ido-ignore-item-temp-list): Declare.
941 * mouse-drag.el (mouse-drag-throw): Remove unused variables
942 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
943 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
944 (mouse-drag-drag): Remove unused variables `mouse-delta' and
947 * mouse-sel.el (mouse-extend-internal):
948 Remove unused variable `orig-window-frame'.
950 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
951 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
952 Move declarations before first use.
953 (pcomplete-opt): Mark unused parameters; doc fix.
955 * proced.el (proced-revert): Mark unused parameter.
956 (proced-send-signal): Remove unused variable `err'.
958 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
959 Rename parameter PREFIX-ARG to ARG.
960 (ps-basic-plot-string, ps-basic-plot-whitespace):
961 Mark unused parameters.
963 * replace.el (replace-count): Define.
964 (occur-revert-function): Mark unused parameters.
965 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
966 (isearch-case-fold-search, isearch-string): Declare.
967 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
968 bind `case-fold-search'. Remove unused variables `beg' and `end',
970 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
971 COUNT and bind `replace-count'.
972 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
975 * savehist.el (print-readably, print-string-length): Declare.
977 * shadowfile.el (shadow-expand-cluster-in-file-name):
978 Remove unused variable `cluster'.
979 (shadow-copy-file): Remove unused variable `i'.
980 (shadow-noquery, shadow-clusters, shadow-site-cluster)
981 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
982 (shadow-define-literal-group, shadow-define-regexp-group)
983 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
985 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
986 (shell): Use `called-interactively-p'.
987 (shell-directory-tracker): Remove unused variable `chdir-failure'.
989 * simple.el (compilation-context-lines, comint-file-name-quote-list)
990 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
991 (delete-backward-char): Remove unused variable `ocol'.
992 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
993 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
994 (event-apply-hyper-modifier, event-apply-shift-modifier)
995 (event-apply-control-modifier, event-apply-meta-modifier):
996 Mark unused parameters.
997 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
998 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1000 * speedbar.el (speedbar-ignored-directory-expressions)
1001 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1002 (speedbar-find-file, speedbar-dir-follow)
1003 (speedbar-directory-buttons-follow, speedbar-tag-find)
1004 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1005 (speedbar-buffers-line-directory, speedbar-buffer-click):
1006 Mark unused parameters.
1007 (speedbar-tag-file): Remove unused variable `mode'.
1008 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1010 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1012 * talk.el (talk): Remove unused variable `display'.
1014 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1015 (tar-write-region-annotate): Mark unused parameter.
1017 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1018 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1019 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1022 * time-stamp.el (time-stamp-string-preprocess):
1023 Remove unused variable `require-padding'.
1025 * tree-widget.el (widget-glyph-enable): Declare.
1026 (tree-widget-action): Mark unused parameter.
1028 * w32-fns.el (x-get-selection): Mark unused parameter.
1029 (autoload-make-program, generated-autoload-file): Declare.
1031 * wdired.el (wdired-revert): Mark unused parameters.
1032 (wdired-xcase-word): Remove unused variable `err'.
1034 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1035 (whitespace-help-scroll): Remove unused variable `data-help'.
1037 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1038 (widget-image-insert, widget-after-change, default)
1039 (widget-default-format-handler, widget-default-notify)
1040 (widget-default-prompt-value, widget-info-link-action)
1041 (widget-url-link-action, widget-function-link-action)
1042 (widget-variable-link-action, widget-file-link-action)
1043 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1044 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1045 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1046 (widget-insert-button-action, widget-delete-button-action, visibility)
1047 (widget-documentation-link-action, widget-documentation-string-action)
1048 (widget-const-prompt-value, widget-regexp-match, symbol)
1049 (widget-coding-system-prompt-value)
1050 (widget-key-sequence-value-to-external, sexp)
1051 (widget-sexp-value-to-internal, character, vector, cons)
1052 (widget-choice-prompt-value, widget-boolean-prompt-value)
1053 (widget-color--choose-action): Mark unused parameters.
1054 (widget-item-match-inline, widget-choice-match-inline)
1055 (widget-checklist-match, widget-checklist-match-inline)
1056 (widget-group-match): Rename parameter VALUES to VALS.
1057 (widget-field-value-set): Remove unused variable `size'.
1058 (widget-color-action): Remove unused variables `value' and `start'.
1060 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1061 variable `dir'. Doc fix.
1062 (windmove-find-other-window): Don't pass it.
1064 * window.el (count-windows): Mark unused parameter.
1065 (bw-adjust-window): Remove unused variable `err'.
1067 * woman.el (woman-file-name): Remove unused variable `default'.
1068 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1069 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1070 (global-font-lock-mode): Declare.
1071 (woman-decode-region): Mark unused parameter.
1072 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1074 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1075 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1076 (x-dnd-handle-moz-url): Remove unused variable `title'.
1077 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1079 * xml.el (xml-parse-tag, xml-parse-attlist):
1080 Remove unused variable `pos'.
1082 2011-04-19 Glenn Morris <rgm@gnu.org>
1084 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1085 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1086 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1087 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1088 * calendar/cal-html.el (cal-html-insert-minical):
1089 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1090 (calendar-mark-date-pattern):
1091 Prefix "unused" locals.
1093 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1094 optional argument `style'.
1096 * calendar/appt.el (appt-make-list):
1097 * calendar/cal-china.el (calendar-chinese-date-string):
1098 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1099 (diary-hebrew-yahrzeit):
1100 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1101 * calendar/calendar.el (calendar-generate-window):
1102 * calendar/time-date.el (time-to-days):
1103 Remove unused local variables.
1105 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1107 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1108 glyphless-char-display table.
1109 (tabulated-list-glyphless-char-display): New var.
1111 2011-04-18 Sam Steingold <sds@gnu.org>
1113 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1116 2011-04-17 Glenn Morris <rgm@gnu.org>
1118 * calendar/diary-lib.el (diary-sexp-entry):
1119 * calendar/holidays.el (holiday-sexp):
1120 Set debug-on-error rather than the removed stack-trace-on-error.
1122 2011-04-16 Glenn Morris <rgm@gnu.org>
1124 * progmodes/f90.el: Use lexical-binding.
1125 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1127 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1130 (mail-mode): Setup mailalias completion here instead.
1131 * mail/mailalias.el: Use lexical-binding.
1132 (pattern, mailalias-done): Declare dynamic.
1133 (mail-completion-at-point-function): New function, from mail-complete.
1134 (mail-complete): Use it.
1135 (mail-completion-expand): New function.
1136 (mail-get-names): Use it.
1137 (mail-directory, mail-directory-process, mail-directory-stream):
1138 Don't use `pattern' for lexically bound arg.
1140 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1142 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1143 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1144 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1146 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1147 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1148 (byte-interactive-p): Define them again, for use when inlining
1151 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1153 * loadup.el: Use `string-to-number', not `string-to-int'.
1155 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1157 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1158 gud-gdb-complete-command.
1159 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1160 (gud-gdb-completion-at-point): New function.
1161 (gud-gdb-completions): Remove.
1163 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1165 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1166 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1167 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1168 whether `executable-find' is bound.
1170 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1172 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * minibuffer.el (completion-in-region-mode-predicate)
1175 (completion-in-region-mode--predicate): New vars.
1176 (completion-in-region, completion-in-region--postch)
1177 (completion-in-region-mode): Use them.
1178 (completion--capf-wrapper): Also return the hook function.
1179 (completion-at-point, completion-help-at-point):
1180 Adjust and provide a predicate.
1182 Preserve arg names for advice of subr and lexical functions (bug#8457).
1183 * help-fns.el (help-function-arglist): Consolidate the subr and
1184 new-byte-code cases. Add argument `preserve-names' to extract names
1185 from the docstring when needed.
1186 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1187 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1188 (ad-arglist): Use help-function-arglist's new arg.
1189 (ad-definition-type): Use cond.
1191 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1193 * autorevert.el (auto-revert-handler):
1194 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1195 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1198 * image-mode.el (image-transform-set-scale):
1199 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1201 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1203 * net/network-stream.el (network-stream-open-starttls): Only do
1204 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1205 Upgrades via gnutls-cli are too slow to be done opportunistically.
1207 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1209 * dframe.el (dframe-current-frame): Remove spurious quote.
1211 2011-04-12 Glenn Morris <rgm@gnu.org>
1213 * calendar/cal-tex.el (cal-tex-end-document):
1214 Try to automatically use latin1 input if needed.
1216 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1217 Don't try to cons a mark onto an empty element.
1219 2011-04-11 Leo Liu <sdl.web@gmail.com>
1221 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1223 (ido-kill-buffer-at-head): Support killing virtual buffers.
1225 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1227 * minibuffer.el (completion-show-inline-help): New var.
1228 (completion--do-completion, minibuffer-complete)
1229 (minibuffer-force-complete, minibuffer-complete-word):
1230 Inhibit minibuffer messages if completion-show-inline-help is nil.
1232 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1233 to avoid interference from inline help (Bug#5849).
1235 2011-04-10 Leo Liu <sdl.web@gmail.com>
1237 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1240 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1242 * image-mode.el (image-toggle-display-image): Signal an error if
1244 (image-transform-mode, image-transform-resize)
1245 (image-transform-set-rotation): Doc fix.
1246 (image-transform-set-resize): Delete.
1247 (image-transform-set-scale, image-transform-fit-to-height)
1248 (image-transform-fit-to-width): Handle image-toggle-display-image
1249 and image-transform-resize directly.
1251 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1253 * doc-view.el (doc-view-fit-width-to-window)
1254 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1255 New functions for fitting the shown image to the Emacs window size.
1256 (doc-view-mode-map): Add bindings for the new functions.
1258 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1260 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1261 Fix typo in docstring.
1263 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1265 * files.el (file-size-human-readable): Produce one digit after
1266 decimal, like "ls -lh" does.
1268 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1269 the file size representation.
1271 * simple.el (list-processes): If async subprocesses are not
1272 available, error out with a clear error message.
1274 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1276 * help.el (help-form-show): New function, to be called from C.
1277 Put help-form output in a buffer named differently than *Help*.
1279 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1281 * files.el (file-size-human-readable): New function.
1283 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1284 computing the representation inline. Don't require `cl'.
1286 2011-04-08 Glenn Morris <rgm@gnu.org>
1288 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1290 * net/browse-url.el (browse-url-firefox):
1291 Test system-type, not system-configuration.
1293 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1294 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1295 Use log-edit-empty-buffer-p. (Bug#7598)
1297 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1298 (rlogin-mode-map): Initialize in the defvar.
1299 (rlogin): Use ignore-errors.
1301 * replace.el (occur-mode-map): Some fixes for menu items.
1303 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1305 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1307 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1309 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1310 issuing unused warnings.
1312 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1315 * simple.el: Lisp reimplement of list-processes. Based on an
1316 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1317 (process-menu-mode): New major mode.
1318 (list-processes--refresh, list-processes):
1319 (process-menu-visit-buffer): New functions.
1321 * files.el (save-buffers-kill-emacs): Don't assume any return
1322 value of list-processes, which is undocumented anyway.
1324 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1326 * emacs-lisp/tabulated-list.el: New file.
1328 * emacs-lisp/package.el: Use Tabulated List mode.
1329 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1330 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1331 table format using Tabulated List mode variables.
1332 (package--push): New macro, replacing package-list-maybe-add.
1333 (package-menu--generate): Use package--push. Renamed from
1334 package--generate-package-list.
1335 (package-menu-refresh, list-packages): Use it.
1336 (package-menu--print-info): Rename from package-print-package.
1337 Return insertion data instead of inserting it directly.
1338 (package-menu-describe-package, package-menu-execute):
1339 Use tabulated-list-get-id.
1340 (package-menu-mark-delete, package-menu-mark-install)
1341 (package-menu-mark-unmark, package-menu-backup-unmark)
1342 (package-menu-mark-obsolete-for-deletion):
1343 Use tabulated-list-put-tag.
1344 (package--list-packages, package-menu-revert)
1345 (package-menu-get-package, package-menu-get-version)
1346 (package-menu-sort-by-column): Functions deleted.
1347 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1348 (package-menu--status-predicate, package-menu--version-predicate)
1349 (package-menu--name-predicate)
1350 (package-menu--description-predicate): Handle arguments in the
1351 Tabulated List format.
1352 (package-list-packages-no-fetch): Call list-packages.
1354 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1356 * files.el (after-find-file-from-revert-buffer): Remove variable.
1357 (after-find-file): Don't bind it.
1358 (revert-buffer-in-progress-p): New variable.
1359 (revert-buffer): Bind it.
1360 Pass nil for `after-find-file-from-revert-buffer'.
1362 * saveplace.el (save-place-find-file-hook): Use new variable
1363 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1365 2011-04-06 Glenn Morris <rgm@gnu.org>
1367 * Makefile.in (AUTOGEN_VCS): New variable.
1368 (autoloads): Use $AUTOGEN_VCS.
1370 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1371 * calendar/calendar.el (calendar-mode-map):
1372 Check for toolkit scroll bars. (Bug#8305)
1374 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1376 * minibuffer.el (completion-in-region--postch)
1377 (completion-in-region-mode): Remove unnecessary messages.
1379 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1381 * font-lock.el (font-lock-refresh-defaults):
1382 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1383 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1385 * info.el (Info-directory-list, Info-read-node-name-2)
1386 (Info-split-parameter-string): Doc fixes.
1387 (Info-virtual-nodes): Reflow docstring.
1388 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1389 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1390 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1391 Fix typos in docstrings.
1392 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1393 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1394 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1395 (Info-restore-desktop-buffer): Mark unused parameters.
1396 (Info-directory-find-file, Info-directory-find-node)
1397 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1398 (Info-virtual-index-find-node, Info-apropos-find-file)
1399 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1400 Mark unused parameters; fix typos in docstrings.
1401 (Info-virtual-index): Remove unused local variable `nodename'.
1403 2011-04-05 Deniz Dogan <deniz@dogan.se>
1405 * net/rcirc.el: Update my e-mail address.
1406 (rcirc-mode-map): Remove M-o binding.
1408 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1410 * startup.el (command-line): Save the cursor's theme-face
1411 directly, instead of using face-override-spec.
1413 * custom.el (load-theme): Minor optimization in assigning faces.
1415 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1417 * help-fns.el (describe-variable): Complete all variables having
1418 documentation, including keywords.
1419 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1421 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1423 Convert to lexical-binding.
1425 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1426 (bs--get-marked-string, bs--get-modified-string)
1427 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1428 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1429 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1431 * ehelp.el (electric-help-execute-extended)
1432 (electric-help-ctrl-x-prefix):
1433 * hexl.el (hexl-revert-buffer-function):
1434 * linum.el (linum-after-change, linum-after-scroll):
1435 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1437 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1439 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1446 * epg.el: Use lexical binding.
1448 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1450 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1452 * textmodes/flyspell.el (flyspell-word): Recognize default
1453 dictionary case for flyspell-mark-duplications-exceptions.
1454 Use regexp matching for languages.
1455 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1456 default dictionary (Bug#7926).
1458 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1460 * emacs-lisp/package.el (package--with-work-buffer):
1461 Recognize https URLs.
1463 * net/network-stream.el: Move from gnus/proto-stream.el.
1464 Change prefix to network-stream throughout.
1465 (open-protocol-stream): Merge into open-network-stream, leaving
1466 open-protocol-stream as an alias. Handle nil BUFFER args.
1468 * subr.el (open-network-stream): Move to net/network-stream.el.
1470 2011-04-02 Glenn Morris <rgm@gnu.org>
1472 * find-dired.el (find-exec-terminator): New option.
1473 (find-ls-option): Test for -ls support.
1474 (find-ls-subdir-switches): Test for -b in find-ls-option.
1475 (find-dired, find-grep-dired): Doc fixes.
1476 (find-dired): Use find-exec-terminator.
1478 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1479 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1480 (find-name-arg): Remove purecopy.
1482 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1483 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1484 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1485 accordingly. Don't add the null-device if not needed.
1487 * files.el (save-some-buffers): Doc fix.
1489 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1491 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1493 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1495 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1496 Use `dolist' rather than `mapcar'.
1498 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1500 Add lexical binding.
1502 * subr.el (apply-partially): Use new closures rather than CL.
1503 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1504 (dolist, dotimes): Use slightly different expansion for lexical code.
1505 (functionp): Move to C.
1506 (letrec): New macro.
1507 (with-wrapper-hook): Use it and apply-partially instead of CL.
1508 (eval-after-load): Preserve lexical-binding.
1509 (save-window-excursion, with-output-to-temp-buffer): Turn them
1512 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1514 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1516 (help-add-fundoc-usage): Don't add `Not documented'.
1517 (help-function-arglist): Handle closures, subroutines, and new
1518 byte-code-functions.
1519 (help-make-usage): Remove leading underscores.
1520 (describe-function-1): Handle closures.
1521 (describe-variable): Use special-variable-p for completion.
1523 * files.el (lexical-binding): Declare safe.
1525 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1526 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1527 (pcase): Add `let' pattern.
1528 Change memoization so it actually works.
1529 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1530 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1533 * emacs-lisp/macroexp.el: Use lexical binding.
1534 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1535 Don't convert ' to #' without checking that it's indeed quoting
1538 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1539 Use eval-sexp-add-defvars.
1540 (eval-sexp-add-defvars): New fun.
1542 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1544 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1546 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1547 than the internal `byte-compile-lambda'.
1548 (defmethod): Don't hide code under quotes.
1549 (eieio-defmethod): New `code' argument.
1551 * emacs-lisp/eieio-comp.el: Remove.
1553 * emacs-lisp/edebug.el (edebug-eval-defun)
1554 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1555 (edebug-toggle): Avoid `eval'.
1557 * emacs-lisp/disass.el (disassemble-internal): Handle new
1559 (disassemble-1): Handle new byte codes.
1561 * emacs-lisp/cl.el (pushnew): Silence warning.
1563 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1564 (cl-byte-compile-throw): Remove.
1565 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1567 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1570 * emacs-lisp/cconv.el: New file.
1572 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1573 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1574 (byte-compile-initial-macro-environment):
1575 Handle declare-function here.
1576 (byte-compile--lexical-environment): New var.
1577 (byte-stack-ref, byte-stack-set, byte-discardN)
1578 (byte-discardN-preserve-tos): New lap codes.
1579 (byte-interactive-p): Don't use any more.
1580 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1582 (byte-compile-lapcode): Use them and handle new lap codes.
1583 (byte-compile-obsolete): Remove.
1584 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1585 (byte-compile-arglist-warn): Check late def of inlinable funs.
1586 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1587 since they should have been expanded by now.
1588 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1589 (byte-compile-from-buffer): Remove unused second arg.
1590 (byte-compile-preprocess): New function.
1591 (byte-compile-toplevel-file-form): New function to distinguish
1592 file-form calls from outside from file-form calls from hunk-handlers.
1593 (byte-compile-file-form): Simplify.
1594 (byte-compile-file-form-defsubst): Remove.
1595 (byte-compile-file-form-defmumble): Simplify now that
1596 byte-compile-lambda always returns a byte-code-function.
1597 (byte-compile): Preprocess.
1598 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1599 Remove, not used any more.
1600 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1601 (byte-compile-make-args-desc): New funs.
1602 (byte-compile-lambda): Handle lexical functions. Always return
1603 a byte-code-function.
1604 (byte-compile-reserved-constants): New var, to make up room for
1605 closed-over variables.
1606 (byte-compile-constants-vector): Obey it.
1607 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1608 (byte-compile-macroexpand-declare-function): New function.
1609 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1610 byte-code-functions.
1611 (byte-compile-form): Check obsolescence here.
1612 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1613 (byte-compile-variable-ref): Remove.
1614 (byte-compile-dynamic-variable-op): New fun.
1615 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1616 (byte-compile-variable-set): New funs.
1617 (byte-compile-discard): Add 2 args.
1618 (byte-compile-stack-ref, byte-compile-stack-set)
1619 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1620 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1621 macroexpand-all instead.
1622 (byte-compile-quote-form): Remove.
1623 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1624 (byte-compile-bind, byte-compile-unbind): New funs.
1625 (byte-compile-let): Handle let* and lexical binding.
1626 (byte-compile-let*): Remove.
1627 (byte-compile-catch, byte-compile-unwind-protect)
1628 (byte-compile-track-mouse, byte-compile-condition-case):
1629 Handle a new :fun-body form, used for lexical scoping.
1630 (byte-compile-save-window-excursion)
1631 (byte-compile-with-output-to-temp-buffer): Remove.
1632 (byte-compile-defun): Simplify.
1633 (byte-compile-stack-adjustment): New fun.
1634 (byte-compile-out): Use it.
1635 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1637 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1640 * emacs-lisp/byte-opt.el: Use lexical binding.
1641 (byte-inline-lapcode): Remove (to bytecomp).
1642 (byte-compile-inline-expand): Pay attention to inlining to/from
1643 lexically bound code.
1644 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1646 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1647 any more and don't call compiler-macros.
1648 (byte-compile-splice-in-already-compiled-code): Remove.
1649 (byte-code): Don't inline any more.
1650 (disassemble-offset): Receive `bytes' as argument rather than via
1652 (byte-compile-tag-number): Declare before first use.
1653 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1654 `return' even if make-spliceable.
1655 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1656 obsolete interactive-p.
1657 (byte-optimize-lapcode): Optimize new lap-codes.
1658 Don't trip up on new form of `byte-constant' lap code.
1660 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1662 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1664 * custom.el (custom-initialize-default, custom-declare-variable):
1667 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1669 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1670 (COMPILE_FIRST): Add macroexp and cconv.
1671 * makefile.w32-in: Mirror changes in Makefile.in.
1677 * vc/smerge-mode.el:
1678 * textmodes/bibtex-style.el:
1687 * emacs-lisp/smie.el:
1690 * abbrev.el: Use lexical binding.
1692 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1694 * info.el (info-display-manual): New function.
1696 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1700 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1702 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1703 an entry for that server in rcirc-authinfo. (Bug#8385)
1705 2011-03-31 Glenn Morris <rgm@gnu.org>
1707 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1709 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1711 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1713 * progmodes/python.el (python-default-interpreter)
1714 (python-python-command-args, python-jython-command-args)
1715 (python-which-shell, python-which-args, python-which-bufname)
1716 (python-file-queue, python-comint-output-filter-function)
1717 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1718 variables and functions.
1720 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1723 (completion-in-region-mode): New minor mode.
1724 (completion-in-region): Use it.
1725 (completion-in-region--data, completion-in-region-mode-map): New vars.
1726 (completion-in-region--postch): New function.
1727 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1729 (completion--capf-wrapper): New function.
1730 (completion-at-point): Use it to track well-behavedness of
1732 (completion-help-at-point): New command.
1734 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1736 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1737 syntax class to search for whitespace on a single line
1738 (Message-ID: <4D938140.4030905@redhat.com>).
1740 2011-03-30 Leo Liu <sdl.web@gmail.com>
1742 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1744 (edit-abbrevs-map): Bind them here.
1745 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1747 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1749 * allout.el (allout-hide-by-annotation, allout-flag-region):
1750 Reduce possibility of overlay leakage by making them volatile.
1752 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1753 hash is not shared between buffers. Mode initialization is
1754 responsible for giving it a useful starting value.
1755 (allout-item-span): Reduce possibility of overlay leakage by
1756 making them volatile.
1757 (allout-widgets-count-buttons-in-region): Add diagnostic function
1758 for tracking down button overlay leaks.
1760 2011-03-29 Leo Liu <sdl.web@gmail.com>
1762 * ido.el (ido-read-internal): Use the default history var
1763 minibuffer-history if no HISTORY is specified.
1765 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1767 * net/imap.el (imap-shell-open, imap-process-connection-type):
1768 Use imap-process-connection-type for 'shell' streams as well as
1769 Kerberos, SSL, other subprocesses.
1771 2011-03-28 Leo Liu <sdl.web@gmail.com>
1773 * abbrev.el (abbrev-table-empty-p): New function.
1774 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1775 nonempty ones. (Bug#5937)
1777 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1779 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1781 2011-03-27 Leo Liu <sdl.web@gmail.com>
1783 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1784 for foreground and background colors.
1785 (ansi-color-make-color-map): Adapt.
1787 2011-03-25 Leo Liu <sdl.web@gmail.com>
1789 * midnight.el (midnight-time-float): Remove. Note it calculates
1790 the microsecond component incorrectly and seconds-to-time does the
1792 Remove redundant (require 'timer).
1794 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1795 (ido-completions): Remove unused arguments. (Bug#8329)
1797 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * minibuffer.el (completion--flush-all-sorted-completions):
1800 Remove itself from hook.
1801 (completion-at-point): Let the functions perform the completion
1802 immediately and return nil or t.
1803 * comint.el (comint-dynamic-complete-functions): Now identical to
1804 completion-at-point-functions.
1805 (comint-dynamic-list-input-ring): Remove unused var `index'.
1806 (comint--match-partial-filename, comint--unquote&expand-filename):
1807 New funs, split from comint-match-partial-filename.
1808 (comint-dynamic-complete): Use completion-at-point.
1809 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1811 2011-03-24 Drew Adams <drew.adams@oracle.com>
1813 * thingatpt.el: Support `defun'.
1815 2011-03-23 Leo Liu <sdl.web@gmail.com>
1817 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1819 * help-mode.el (help-mode-finish): Tweak regexp.
1821 2011-03-23 Glenn Morris <rgm@gnu.org>
1823 * eshell/esh-opt.el (eshell-eval-using-options):
1824 Do not bind unused local variable `eshell-option-stub'.
1826 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1828 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1830 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1831 keymap variable in `with-no-warnings' to avoid a warning when the
1832 keymap has been already `defconst'ed.
1834 2011-03-22 Leo Liu <sdl.web@gmail.com>
1836 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1837 encode all chars in abbrevs; otherwise use emacs-mule or
1838 utf-8-emacs. (Bug#8308)
1840 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1842 * simple.el (backward-delete-char-untabify):
1843 Avoid warning about using `delete-backward-char'.
1845 * image.el (image-type-file-name-regexps): Make it variable.
1846 `imagemagick-register-types' modifies it, and the user may want
1847 to add new extensions for known image types.
1848 (imagemagick-register-types): Throw error if not using ImageMagick.
1850 2011-03-22 Leo Liu <sdl.web@gmail.com>
1852 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1853 located before rcirc-prompt-end-marker.
1854 (rcirc-complete): Error if point is not after rcirc prompt.
1855 Handle the case when table is nil.
1856 (rcirc-user-authenticated): Define to fix compiler warning.
1858 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1860 * custom.el (custom--inhibit-theme-enable): Make it affect only
1861 custom-theme-set-variables and custom-theme-set-faces.
1862 (provide-theme): Ignore custom--inhibit-theme-enable.
1863 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1864 (custom-enabling-themes): Delete variable.
1865 (enable-theme): Accept only loaded themes as arguments.
1866 Ignore the special custom-enabled-themes variable.
1867 (custom-enabled-themes): Forbid themes from setting this.
1868 Eliminate use of custom-enabling-themes.
1869 (custom-push-theme): Quote "changed" custom var entry.
1871 2011-03-21 Leo Liu <sdl.web@gmail.com>
1873 * ido.el (ido-read-internal): Add ido-selected to history instead
1876 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * subr.el (deferred-action-list, deferred-action-function):
1881 2011-03-21 Leo Liu <sdl.web@gmail.com>
1883 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1884 change on 2011-02-13 (bug#8309).
1886 * minibuffer.el (read-file-name-function): Change default value.
1887 (read-file-name--defaults): Rename from read-file-name-defaults.
1888 (read-file-name-default): Rename from read-file-name.
1889 (read-file-name): Call read-file-name-function.
1891 2011-03-21 Glenn Morris <rgm@gnu.org>
1893 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1896 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1898 * cus-theme.el: Add missing provide statement.
1899 (customize-create-theme): Extract theme value correctly.
1900 (custom-theme-visit-theme): Autoload.
1901 (customize-create-theme): Prompt before inserting default faces.
1903 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
1905 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
1906 units and musical notes.
1908 2011-03-20 Leo <sdl.web@gmail.com>
1910 * ido.el (ido-read-internal): Use completing-read-default.
1911 (ido-completing-read): Fix compatibility with completing-read.
1913 2011-03-20 Christian Ohler <ohler@gnu.org>
1915 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
1916 (ert-delete-all-tests): Use `called-interactively-p' rather than
1918 (ert--make-xrefs-region): Respect END.
1920 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1922 * dired-aux.el (dired-create-directory): Signal an error if the
1923 directory already exists (Bug#8246).
1925 * facemenu.el (list-colors-display): Call list-faces-display
1926 inside with-help-window.
1927 (list-colors-print): Use display property to align the final
1928 column, instead of checking window-width.
1930 2011-03-19 Eli Zaretskii <eliz@gnu.org>
1932 * emerge.el (emerge-metachars): Separate value for ms-dos and
1934 (emerge-protect-metachars): Quote correctly for ms-dos and
1937 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
1939 * info.el (info-initialize): Replace all uses of `:' with
1940 path-separator for compatibility with non-Unix systems.
1941 Cache quoting of path-separator. (Bug#8258)
1943 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
1945 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
1946 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
1947 (mouse-avoidance-mode): Fix typos in docstrings.
1949 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
1951 * startup.el (package-subdirectory-regexp): Move from package.el.
1952 Omit \\` and \\', and let callers add them.
1954 * emacs-lisp/package.el (package-strip-version)
1955 (package-load-all-descriptors): Add \\` and \\' to
1956 package-subdirectory-regexp before using it.
1957 (package-untar-buffer): New arg DIR; ensure that file untars only
1958 into this expected directory. Remove superfluous delete-region.
1959 (package-unpack): Caller changed.
1960 (package-tar-file-info): Use package-subdirectory-regexp.
1962 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1964 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
1965 diff-mode-shared-map (bug#8284).
1966 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1968 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1970 * calendar/time-date.el (format-seconds): Use assoc instead of
1971 assoc-string, since assoc-string doesn't exist in XEmacs.
1973 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
1975 * custom.el (custom-known-themes): Reflow docstring.
1976 (custom-theme-load-path): Fix typo in docstring.
1977 (load-theme): Fix typo in error message.
1978 (custom-available-themes, custom-variable-theme-value):
1979 Use `let', not `let*'.
1981 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1983 * calc/README: Mention inclusion of musical notes.
1985 * calc/calc-units.el (calc-lu-quant): Rename from
1986 `calc-logunits-quantity'.
1987 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
1988 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
1989 (calc-db): Rename from `calc-dblevel'.
1990 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
1991 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
1992 (calc-np): Rename from `calc-nplevel'.
1993 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
1994 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
1995 (calc-lu-plus): Rename from `calc-logunits-add'.
1996 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
1997 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
1998 (calc-lu-minus): Rename from `calc-logunits-sub'.
1999 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2000 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2001 (calc-lu-times): Rename from `calc-logunits-mul'.
2002 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2003 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2004 (calc-lu-divide): Rename from `calc-logunits-div'.
2005 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2006 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2008 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2009 functions being autoloaded.
2011 * calc/calc.el (calc-lu-power-reference): Rename from
2012 `calc-logunits-power-reference'.
2013 (calc-lu-field-reference): Rename from
2014 `calc-logunits-field-reference'.
2016 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2018 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2020 * minibuffer.el (completion-all-sorted-completions):
2021 Use :completion-cycle-penalty text property if present.
2023 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2025 * allout.el (allout-yank-processing): Adjust for new rebulleting
2026 regime so bullet being yanked is used without prompting the user
2029 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2031 * startup.el (command-line): Warn the user that _emacs is deprecated.
2033 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2035 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2036 (delphi-verbose, delphi-comment-face, delphi-string-face)
2037 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2038 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2039 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2040 (delphi-new-comment-line, delphi-font-lock-defaults)
2041 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2042 Fix typos in docstrings.
2044 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2046 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2047 Invert the roles of character and string values for INSTEAD, so a
2048 string is used for the more common case of a defaulting prompt.
2050 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * progmodes/ruby-mode.el (ruby-backward-sexp):
2053 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2054 * play/gamegrid.el (gamegrid-make-face):
2055 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2056 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2057 * notifications.el (notifications-notify):
2058 * net/xesam.el (xesam-search-engines):
2059 * net/quickurl.el (quickurl-list-insert):
2060 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2062 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2064 * startup.el (command-line): Update package subdirectory regexp.
2066 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * allout.el (allout-abbreviate-flattened-numbering)
2069 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2071 * subr.el (read-char-choice): Only show the cursor after the prompt,
2072 not after the answer.
2074 2011-03-15 Kevin Ryde <user42@zip.com.au>
2076 * help-fns.el (variable-at-point): Skip leading quotes, if any
2079 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2081 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2084 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2086 * shell.el (shell): When called interactively, offer to change the
2087 shell file name on remote hosts.
2089 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2091 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2092 integration for LDAP parameters. The host, base, user or binddn,
2093 and secret tokens can be specified in a netrc file, for instance.
2094 This is optional because an `auth-source' parameter must be
2095 specified in the search attributes.
2097 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2099 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2101 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2104 into declaration. Remove redundant and harmful binding.
2106 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2108 * files.el (file-ownership-preserved-p): Pass `integer' as an
2109 explicit 2nd argument to `file-attributes'. If the file's owner
2110 is the Administrators group on Windows, and the current user is
2111 Administrator, consider that a match.
2113 * server.el (server-ensure-safe-dir): Consider server directory
2114 safe on MS-Windows if its owner is the Administrators group while
2115 the current Emacs user is Administrator. Use `=' to compare
2116 numerical UIDs, since they could be integers or floats.
2118 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2120 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2122 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2124 Sync with Tramp 2.2.1.
2126 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2128 * net/trampver.el: Update release number.
2130 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2132 * progmodes/compile.el (compilation--previous-directory): Fix up
2133 various nil/dead-marker mismatches (bug#8014).
2134 (compilation-directory-properties, compilation-error-properties):
2135 Don't call it at a position past the one we're about to change.
2137 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2138 Disable obsolescence warnings in the file that declares it.
2140 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2142 * allout-widgets.el (allout-widgets-tally):
2143 Initialize allout-widgets-tally as a hash table rather than nil to
2144 prevent mode-line redisplay warnings. Also, clarify the module
2145 description and fix a comment typo.
2147 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2149 * help-fns.el (describe-variable): Don't complete keywords.
2150 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2152 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2154 * emacs-lisp/package.el (package-version-join): Impose a standard
2155 string representation for pre/alpha/beta version lists.
2156 (package-unpack-single): Standardize the directory name by passing
2157 it through package-version-join.
2158 (package-strip-rcs-id): Accept any version string that does not
2159 signal an error in version-to-list.
2161 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2163 * simple.el (delete-trailing-whitespace): Return nil for the
2164 benefit of `write-file-functions'.
2166 2011-03-10 Glenn Morris <rgm@gnu.org>
2168 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2170 * vc/vc-git.el (vc-git-program): New option.
2171 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2172 (vc-git--call): Use it.
2174 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2176 * cus-edit.el (Custom-newline): If no button at point, look
2177 for a subgroup button at start-of-line. (Bug#2298)
2179 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2181 2011-03-10 Julien Danjou <julien@danjou.info>
2183 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2184 `cursor-type' is nil.
2186 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2188 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2190 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2192 * allout.el Summary: Change so yank of distinctive-bullet items
2193 preserves the existing header prefix, rebulleting it if necessary,
2194 rather than replacing it. This is necessary for proper operation
2195 of cooperative addons like allout-widgets.
2196 (allout-make-topic-prefix, allout-rebullet-heading): Change
2197 SOLICIT arg to INSTEAD, and interpret additionally a string value
2198 as alternate bullet to be used, instead of prompting the user for
2201 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2203 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2204 Do not use `tramp-file-name-port', because this returns also
2205 `tramp-default-port'.
2207 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2209 * net/rcirc.el (rcirc-handler-001): Remove useless
2210 with-rcirc-process-buffer.
2211 (rcirc-check-auth-status): Swap arguments to string-match.
2213 2011-03-09 Glenn Morris <rgm@gnu.org>
2215 * shell.el (shell-mode):
2216 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2218 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2219 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2221 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2223 * emacs-lisp/package.el (package-refresh-contents)
2224 (package-menu-execute): Use condition-case-no-debug.
2226 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2228 * simple.el (shell-command-to-string): Use `process-file'.
2230 * emacs-lisp/package.el (package-tar-file-info): Handle also
2233 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2234 Use `equal' for upload base check.
2236 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2238 * textmodes/texinfo.el (texinfo-environments):
2239 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2241 2011-03-08 Glenn Morris <rgm@gnu.org>
2243 * cus-start.el (cursor-in-non-selected-windows):
2244 Fix :set quoting oddness. (Bug#8192)
2246 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2247 in some setf expressions. (Bug#2159)
2249 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2251 * custom.el (custom-available-themes): Return themes in
2254 See ChangeLog.15 for earlier changes.
2260 Copyright (C) 2011 Free Software Foundation, Inc.
2262 This file is part of GNU Emacs.
2264 GNU Emacs is free software: you can redistribute it and/or modify
2265 it under the terms of the GNU General Public License as published by
2266 the Free Software Foundation, either version 3 of the License, or
2267 (at your option) any later version.
2269 GNU Emacs is distributed in the hope that it will be useful,
2270 but WITHOUT ANY WARRANTY; without even the implied warranty of
2271 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2272 GNU General Public License for more details.
2274 You should have received a copy of the GNU General Public License
2275 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.