1 2011-05-13 Glenn Morris <rgm@gnu.org>
3 * calendar/appt.el (appt-make-list): Simplify.
4 (appt-time-msg-list): Doc fix.
5 (appt-check): Change mode-line message at the time of the appointment.
7 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
9 * progmodes/ld-script.el (ld-script-keywords)
10 (ld-script-builtins): Update keywords list.
12 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16 * shell.el (shell-completion-vars): New function.
18 * simple.el (read-shell-command): Use it.
19 (blink-matching-open): No need for " [...]" in minibuffer-message.
21 2011-05-12 Glenn Morris <rgm@gnu.org>
23 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24 (appt-check): Simplify.
26 2011-05-12 Eli Zaretskii <eliz@gnu.org>
28 * smerge-mode.el (smerge-resolve): Use null-device rather than a
31 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
33 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
36 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
38 * progmodes/which-func.el (which-function):
39 Use add-log-current-defun instead of add-log-current-defun-function,
40 which might not be defined (Bug#8260).
42 2011-05-12 Glenn Morris <rgm@gnu.org>
44 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
45 Let byte-compile-initial-macro-environment always take precedence.
47 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
49 * net/rcirc.el: Add support for SSL/TLS connections.
50 (rcirc-server-alist): New field `encryption'.
51 (rcirc): Check `encryption' settings.
52 (rcirc-connect): New arg `encryption'. Use open-network-stream.
53 Merge make-local-variable into `set'.
54 (rcirc--connection-open-p): New function.
55 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
56 the process is not a network process (e.g. running gnutls-cli).
57 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
58 Make rcirc-(en|de)code-coding-system local here.
59 (rcirc-mode): Merge make-local-variable into `set'.
60 (rcirc-parent-buffer): Make permanent buffer-local.
61 (rcirc-multiline-minor-mode): Don't do it here.
62 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
63 there's no server buffer.
65 2011-05-11 Glenn Morris <rgm@gnu.org>
67 * newcomment.el (comment-kill): Prefix "unused" local.
69 * term/w32console.el (get-screen-color): Declare.
71 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
72 Handle symbol elements of byte-compile-initial-macro-environment.
74 2011-05-10 Leo Liu <sdl.web@gmail.com>
76 * bookmark.el (bookmark-bmenu-mode-map):
77 Bind bookmark-bmenu-search to `/'.
79 * mail/footnote.el: Convert to utf-8 encoding.
80 (footnote-unicode-string, footnote-unicode-regexp): New variable.
81 (Footnote-unicode): New function.
82 (footnote-style-alist): Add unicode style to the list.
83 (footnote-style): Doc fix.
85 2011-05-10 Jim Meyering <meyering@redhat.com>
87 Fix doubled-word typos.
88 * international/quail.el (quail-insert-kbd-layout): and and -> and
89 * kermit.el: and and -> and
90 * net/ldap.el (ldap-search-internal): to to -> to
91 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
92 * progmodes/js.el (js-mode): and and -> and
93 * textmodes/artist.el (artist-move-to-xy): at at -> at
94 (artist-draw-region-trim-line-endings): if if -> if
95 And Safetyc -> Safety.
96 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
98 2011-05-10 Glenn Morris <rgm@gnu.org>
99 Stefan Monnier <monnier@iro.umontreal.ca>
101 * files.el (hack-one-local-variable-eval-safep):
102 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
104 2011-05-10 Glenn Morris <rgm@gnu.org>
106 * calendar/diary-lib.el (diary-list-entries-hook)
107 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
108 (diary-nongregorian-marking-hook, diary-list-entries)
109 (diary-include-other-diary-files, diary-mark-entries)
110 (diary-mark-included-diary-files): Doc fixes.
112 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
114 * misc.el: Require tabulated-list.el during compilation.
116 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
118 * progmodes/compile.el (compilation-start):
119 Run compilation-filter-hook for the async case too.
120 (compilation-filter-hook): Doc fix.
122 2011-05-09 Deniz Dogan <deniz@dogan.se>
124 * wdired.el: Remove outdated installation comment. Fix usage
127 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
129 * misc.el: Implement new command `list-dynamic-libraries'.
130 (list-dynamic-libraries--loaded-only-p): New variable.
131 (list-dynamic-libraries--refresh): New function.
132 (list-dynamic-libraries): New command.
134 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
136 * progmodes/compile.el (compilation-error-regexp-alist-alist):
137 Fix the ant regexp to handle end-line and end-column info from jikes.
138 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
139 higher priority to avoid clobbering by gnu.
141 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
143 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
144 if the face has existing theme settings (Bug#8454).
146 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
148 * progmodes/perl-mode.el (perl-imenu-generic-expression):
149 Only match variables declared via `my' or `our' (Bug#8261).
151 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
152 special file names `.' and `..' (Bug#8259).
154 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
156 * progmodes/grep.el (grep-mode-font-lock-keywords):
157 Remove buffer-changing entries.
158 (grep-filter): New function.
159 (grep-mode): Add it to compilation-filter-hook.
161 * progmodes/compile.el (compilation-filter-hook)
162 (compilation-filter-start): New defvars.
163 (compilation-filter): Call compilation-filter-hook prior to
164 updating the process mark.
166 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
168 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
170 2011-05-07 Eli Zaretskii <eliz@gnu.org>
172 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
173 mailclient-send-it even if window-system is nil. (Bug#8595)
175 * term/w32console.el (terminal-init-w32console):
176 Call get-screen-color and use its output to set the frame
177 background-mode. (Bug#8597)
179 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
181 Make bytecomp.el understand that defmethod defines funs (bug#8631).
182 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
184 (defgeneric, eieio--defmethod): Use them.
185 (eieio-defgeneric): Remove.
186 (defmethod): Call defgeneric in a way visible to the byte-compiler.
188 2011-05-07 Glenn Morris <rgm@gnu.org>
190 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
191 Use let rather than let*.
192 (timeclock-find-discrep): Remove unused local.
194 * calendar/diary-lib.el (diary-comment-start): Doc fix.
196 * calendar/appt.el (appt-time-msg-list): Doc fix.
198 2011-05-06 Noah Friedman <friedman@splode.com>
200 * apropos.el (apropos-print-doc): Only use
201 emacs-lisp-docstring-fill-column when it is bound to an integer,
202 per that variable's documentation.
204 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
206 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
207 and warnings are not silently discarded (e.g. use -d instead of -P).
209 2011-05-06 Glenn Morris <rgm@gnu.org>
211 * calendar/appt.el (appt-message-warning-time): Doc fix.
212 (appt-warning-time-regexp): New option.
213 (appt-make-list): Respect appt-message-warning-time.
215 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
217 (diary-add-to-list): Strip comments from the displayed string.
218 (diary-mode): Set comment-start and comment-end.
220 * vc/diff-mode.el (smerge-refine-subst): Declare.
221 (diff-refine-hunk): Don't require smerge-mode when compiling.
223 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
225 * simple.el (list-processes): Return nil as the docstring says.
227 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
229 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
231 (ange-ftp-write-region, ange-ftp-insert-file-contents)
232 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
233 determining of binary transfer. (Bug#7383)
235 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
238 Fix port computation bug. (Bug#8618)
240 2011-05-05 Glenn Morris <rgm@gnu.org>
242 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
244 * simple.el (shell-dynamic-complete-functions)
245 (comint-dynamic-complete-functions): Declare.
247 * net/network-stream.el (gnutls-negotiate):
248 * simple.el (tabulated-list-print): Fix declarations.
250 * progmodes/gud.el (syntax-symbol, syntax-point):
251 Remove unnecessary and incorrect declarations.
253 * emacs-lisp/check-declare.el (check-declare-scan):
254 Handle byte-compile-initial-macro-environment in bytecomp.el
256 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
258 Fix earlier half-done eieio-defmethod change (bug#8338).
259 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
260 Streamline and change calling convention.
261 (defmethod): Adjust accordingly and simplify.
262 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
263 new eieio--defmethod.
264 (slot-boundp): Minor CSE simplification.
266 2011-05-05 Milan Zamazal <pdm@zamazal.org>
268 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
269 (glasses-make-readable): Use glasses-separate-capital-groups.
271 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
273 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
274 (warning-series): Doc fix.
275 (display-warning): Don't try to create the buffer if we just found it.
277 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
279 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
280 (autoload-find-generated-file): New function.
281 (generate-file-autoloads): Bind generated-autoload-file to
283 (update-file-autoloads, update-directory-autoloads):
284 Use autoload-find-generated-file. If called interactively, prompt for
285 output file (Bug#7989).
286 (batch-update-autoloads): Doc fix.
288 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
290 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
292 2011-05-04 Glenn Morris <rgm@gnu.org>
294 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
295 function, so it follows changes in calendar-date-style.
296 (diary-fancy-date-matcher): New function.
297 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
298 (diary-fancy-font-lock-fontify-region-function):
299 Use diary-fancy-date-pattern as a function.
301 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
302 non-numbers for `year' etc pseudo-variables. (Bug#8583)
304 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
306 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
307 instead of positional arguments. Allow :keylist and :crlfiles
309 (open-gnutls-stream): Call it.
311 * net/network-stream.el (network-stream-open-starttls): Adjust to
312 call `gnutls-negotiate' with :process and :hostname arguments.
314 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
316 * minibuffer.el (completion--message): New function.
317 (completion--do-completion, minibuffer-complete)
318 (minibuffer-force-complete, minibuffer-complete-word): Use it.
319 (completion--do-completion): Don't ignore completion-auto-help when in
322 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
323 internal encoding (e.g. tibetan zero is not whitespace).
324 (global-whitespace-mode): Prefer save-current-buffer.
325 (whitespace-trailing-regexp): Remove useless save-match-data.
326 (whitespace-empty-at-bob-regexp): Minor simplification.
328 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
330 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
332 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
334 * textmodes/ispell.el (ispell-add-per-file-word-list):
335 Use `concat' to create string for insertion.
337 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
339 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
340 Avoid open-line which runs post-self-insert-hook.
341 (bibtex-fill-entry): Remove unused `end' var.
343 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
345 * textmodes/ispell.el (ispell-add-per-file-word-list):
346 Protect against `nil' value of `comment-start' (Bug#8579).
348 2011-05-03 Leo Liu <sdl.web@gmail.com>
350 * isearch.el (isearch-yank-pop): New command.
351 (isearch-mode-map): Bind it to `M-y'.
352 (isearch-forward): Mention it.
354 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
356 * simple.el (minibuffer-complete-shell-command): Remove.
357 (minibuffer-local-shell-command-map): Use completion-at-point.
358 (read-shell-command): Setup completion vars here instead.
359 (read-expression-map): Bind TAB to symbol completion.
361 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
362 error directly rather via storing it into `results'.
364 2011-05-02 Leo Liu <sdl.web@gmail.com>
366 * vc/diff.el: Fix description.
368 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
370 * server.el (server-eval-at): New function.
372 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
374 * net/network-stream.el (open-network-stream): Take a :nowait
375 parameter and pass it on to `make-network-process'.
376 (network-stream-open-plain): Ditto.
378 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
380 * faces.el (face-spec-set-match-display): Don't match toolkit
381 options on terminal frames.
383 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
385 * progmodes/pascal.el: Use lexical binding.
386 (pascal-mode-map): Remove author preferences.
388 * pcomplete.el (pcomplete-std-complete): Don't abuse
391 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
393 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
394 removing code that has been dead since 1991 or so.
396 * startup.el (command-line): When warning about "_emacs", use a
397 delayed warning to allow the user to filter it out.
399 2011-04-28 Deniz Dogan <deniz@dogan.se>
401 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
404 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
406 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
407 aren't any completions at point.
409 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
411 * subr.el (display-delayed-warnings): New function.
412 (delayed-warnings-hook): New variable.
414 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
416 * minibuffer.el (completion-at-point, completion-help-at-point):
417 Don't presume that a given completion-at-point-function will always
418 use the same calling convention.
420 * pcomplete.el (pcomplete-completions-at-point):
421 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
422 pcomplete-seen is non-nil.
423 (pcomplete-comint-setup): Also recognize the new comint/shell
424 completion functions.
425 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
426 pcomplete-seen is non-nil.
428 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
430 * calendar/icalendar.el (diary-lib): Add require statement.
431 (icalendar--create-uid): Read out a uid from a text-property on
432 the first character in the entry. This allows for code to add its
433 own uid to the entry.
434 (icalendar--convert-float-to-ical): Add export of
435 `diary-float'-entries save for those with the optional DAY
438 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
440 * subr.el (shell-quote-argument): Use alternate escaping strategy
441 when we spot a variable reference in a string.
443 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
445 * cus-start.el (all): Define customization for debug-on-event.
447 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
449 * subr.el (shell-quote-argument): Escape correctly under Windows.
451 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
453 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
455 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
457 * net/tramp.el (tramp-process-actions): Add POS argument.
458 Delete region between POS and (pos).
460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
461 Use `nil' position in `tramp-process-actions' call.
462 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
464 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
465 position in `tramp-process-actions' call.
467 * net/trampver.el: Update release number.
469 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
471 * custom.el (defcustom): Obey lexical-binding.
473 Fix octave-inf completion problems reported by Alexander Klimov.
474 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
475 Inherit from octave-mode-syntax-table.
476 (inferior-octave-mode): Set info-lookup-mode.
477 (inferior-octave-completion-at-point): New function.
478 (inferior-octave-complete): Use it and completion-in-region.
479 (inferior-octave-dynamic-complete-functions): Use it as well, and use
480 comint-filename-completion.
481 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
482 symbol elements which shouldn't be word elements.
483 (octave-font-lock-keywords, octave-beginning-of-defun)
484 (octave-function-header-regexp): Adjust regexps accordingly.
485 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
487 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
489 * net/gnutls.el (gnutls-errorp): Declare before first use.
491 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
493 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
494 verify-error, and verify-hostname-error parameters. Check whether
495 default trustfile exists before going to use it. Add missing
496 argument to gnutls-message-maybe call. Return return value.
497 Reported by Claudio Bley <claudio.bley@gmail.com>.
498 (open-gnutls-stream): Add usage example.
500 * net/network-stream.el (network-stream-open-starttls): Give host
501 parameter to `gnutls-negotiate'.
502 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
503 * subr.el (shell-quote-argument): Escape correctly under Windows.
505 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
507 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
508 Use correct match group (bug#8438).
510 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
512 * emacs-lisp/package.el (package-built-in-p): Fix typo.
513 (package-menu--generate): New arg specifying packages to show.
514 (package-menu-refresh, package-menu-execute, list-packages):
516 (package-show-package-list): New function, replacing deleted
517 package--list-packages (renamed because it is non-internal).
519 * finder.el (finder-list-matches): Use package-show-package-list
520 instead of deleted package--list-packages.
522 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
523 Based on a previous implementation by Juanma Barranquero (Bug#8366).
524 (vc-annotate-mode-map): Bind it to RET.
526 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
528 * progmodes/etags.el (next-file): Don't use set-buffer to change
531 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
533 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
535 * apropos.el (apropos-label-face): Avoid variable-pitch face.
536 (apropos-accumulator): Doc fix.
537 (apropos-function, apropos-macro, apropos-command)
538 (apropos-variable, apropos-face, apropos-group, apropos-widget)
539 (apropos-plist): Add face property.
540 (apropos-symbols-internal): Fix indentation.
541 (apropos-print): Simplify help, and recognize apropos-multi-type.
542 (apropos-print-doc): Use button-type-get to extract the button's
543 face property. Fill docstring (Bug#8352).
545 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
547 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
549 * play/mpuz.el (mpuz-silent): Doc fix.
550 (mpuz-mode-map): Use mapc.
551 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
552 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
553 Fix typos in docstrings.
555 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
556 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
558 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
560 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
562 * minibuffer.el (completion--do-completion): Avoid the "Next char
563 not unique" prompt if icomplete-mode is enabled (Bug#5849).
565 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
566 mouse-2 into unread-command-events, it is interpreted correctly.
568 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
569 (image-toggle-display): Doc fix.
571 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
573 * textmodes/page.el (what-page): Use line-number-at-pos to
574 calculate line number (Bug#6825).
576 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
578 * eshell/esh-mode.el (find-tag-interactive): Declare function.
579 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
580 Pass argument NO-DEFAULT to `find-tag-interactive'.
582 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
584 Lexical-binding cleanup.
586 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
587 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
588 * progmodes/ada-prj.el (ada-prj-initialize-values)
589 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
590 (ada-prj-show-value):
591 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
592 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
593 (antlr-invalidate-context-cache, antlr-options-menu-filter)
594 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
595 * progmodes/bug-reference.el (bug-reference-push-button):
596 * progmodes/fortran.el (fortran-line-length):
597 * progmodes/glasses.el (glasses-change):
598 * progmodes/octave-mod.el (octave-fill-paragraph):
599 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
600 (python-pdbtrack-grub-for-buffer, python-sentinel):
601 * progmodes/sql.el (sql-save-connection):
602 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
603 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
604 Mark unused parameters.
606 * progmodes/compile.el (compilation--flush-directory-cache)
607 (compilation--flush-parse, compile-internal): Mark unused parameters.
608 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
609 (compilation-next-error-function): Remove unused variable `timestamp'.
611 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
612 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
614 * progmodes/dcl-mode.el (dcl-end-of-command):
615 Remove unused variable `start'.
616 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
617 (dcl-option-value-basic, dcl-option-value-offset)
618 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
619 Mark unused parameters.
620 (dcl-save-local-variable): Remove unused variable `val'.
623 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
624 Mark unused parameters.
625 (delphi-ignore-changes): Move before first use.
626 (delphi-charset-token-at): Remove unused variable `start'.
627 (delphi-else-start): Remove unused variable `if-count'.
628 (delphi-comment-block-start, delphi-comment-block-end):
629 Remove unused variable `kind'.
630 (delphi-indent-line): Remove unused variable `new-point'.
632 * progmodes/ebrowse.el (ebrowse-files-list)
633 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
634 Mark unused parameters. Don't quote `lambda'.
635 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
636 Don't quote `lambda'.
637 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
638 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
639 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
640 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
642 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
643 (ebrowse-view/find-file-and-search-pattern)
644 (ebrowse-view/find-member-declaration/definition):
645 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
646 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
647 Rename parameter PREFIX-ARG to PREFIX.
648 (ebrowse-tags-read-name): Remove unused variables `start' and
650 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
653 * progmodes/etags.el (local-find-tag-hook): Declare.
654 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
655 Mark unused parameters.
657 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
658 (executable-interpret): Mark unused parameter.
660 * progmodes/flymake.el (flymake-process-sentinel)
661 (flymake-after-change-function)
662 (flymake-create-temp-with-folder-structure)
663 (flymake-get-include-dirs-dot): Mark unused parameters.
664 (flymake-safe-delete-directory): Remove unused variable `err'.
666 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
667 (speedbar-timer-fn, speedbar-line-text)
668 (speedbar-change-expand-button-char, speedbar-delete-subblock)
669 (speedbar-center-buffer-smartly): Declare functions.
670 (gdb-find-watch-expression): Remove unused variable `array'.
671 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
672 (gdb-starting): Mark unused parameters.
673 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
674 (gdb-table-string): Remove unused variable `res'.
675 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
676 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
677 (gdb-display-buffer): Remove unused variable `cur-size'.
679 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
680 allow lexical-binding compilation.
681 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
682 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
683 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
684 Mark unused parameters.
685 (gud-gdb-marker-filter): Remove unused variable `match'.
686 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
687 lambda expressions and funcall them, instead of using `fset'.
689 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
690 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
692 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
693 variable `header-beg'; use `let'.
695 * progmodes/icon.el (indent-icon-exp): Remove unused variables
696 `restart', `last-sexp' and `at-do'.
698 * progmodes/js.el (js--debug): Mark unused parameter.
699 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
700 (js--splice-into-items): Remove unused variable `item'.
701 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
703 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
704 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
705 (makefile-complete): Remove unused variable `try'.
706 (makefile-fill-paragraph, makefile-match-function-end):
707 Mark unused parameters.
709 * progmodes/octave-inf.el (inferior-octave-complete):
710 Remove unused variable `proc'.
711 (inferior-octave-output-digest): Mark unused parameter.
713 * progmodes/perl-mode.el (perl-calculate-indent):
714 Remove unused variable `err'.
716 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
717 (prolog-indent-line): Mark unused parameters.
718 (prolog-indent-line): Remove unused variable `beg'.
720 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
721 (reporter-dont-compact-list): Declare.
723 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
724 Remove unused variable `char'.
725 (sh-debug): Mark unused parameter.
726 (sh-get-indent-info): Remove unused variable `start'.
727 (sh-calculate-indent): Remove unused variable `var'.
729 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
730 (simula-electric-keyword): Remove unused variable `null'.
731 (simula-search-backward, simula-search-forward): Remove unused
732 variables `begin' and `end'.
734 * progmodes/vera-mode.el (vera-guess-basic-syntax):
735 Remove unused variable `pos'.
736 (vera-electric-tab, vera-comment-uncomment-region):
737 Mark unused parameters.
738 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
740 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
742 * emacs-lisp/package.el (package--builtins, package-alist)
743 (package-load-descriptor, package-built-in-p, package-activate)
744 (define-package, package-installed-p)
745 (package-compute-transaction, package-buffer-info)
746 (package--push): Doc fix. Distinguish more clearly between
747 version strings and version lists.
749 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
751 Lexical-binding cleanup.
753 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
754 (5x5-make-mutate-best):
755 * play/fortune.el (fortune-in-buffer):
756 * play/gomoku.el (gomoku-init-display):
757 * play/solitaire.el (solitaire, solitaire-do-check):
758 * play/tetris.el (tetris-default-update-speed-function):
759 Mark unused parameters.
761 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
762 (bubbles--shift): Remove unused variable `char-org'.
763 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
764 (bubbles--show-images): Remove unused variable `char'.
766 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
767 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
768 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
769 (decipher-analyze-buffer): Use ?\s.
770 (decipher-make-checkpoint): Remove unused variable `mapping'.
772 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
774 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
775 Remove unused variable `result'; use `let'.
777 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
778 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
779 (gametree-children-shown-p, gametree-compute-reduced-score):
782 * play/handwrite.el (ps-lpr-switches): Declare.
783 (handwrite): Remove unused variables `pmin' and `lastp'.
785 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
787 * play/landmark.el (landmark-init-display)
788 (landmark-update-naught-weights): Mark unused parameters.
789 (landmark-y): Remove unused variable `noise'. Simplify.
790 (landmark-human-plays): Remove unused variable `score'.
792 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
793 (mpuz-try-proposal): Remove unused variable `game'.
795 * play/zone.el (life-patterns): Declare.
797 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
799 * vc/vc.el (ediff-vc-internal): Declare function.
801 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
803 * shell.el: Use lexical-binding and std completion UI.
804 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
805 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
806 comint-preoutput-filter-functions rather than on
807 comint-output-filter-functions.
808 (shell-command-completion, shell--command-completion-data)
809 (shell-filename-completion, shell-environment-variable-completion)
810 (shell-c-a-p-replace-by-expanded-directory): New functions.
811 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
812 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
813 (shell-dynamic-complete-environment-variable): Use them.
814 (shell-dynamic-complete-as-environment-variable)
815 (shell-dynamic-complete-as-command): Remove.
816 (shell-match-partial-variable): Match past point.
817 * comint.el: Clean up use of completion-at-point-functions.
818 (comint-completion-at-point): New function.
819 (comint-mode): Use it completion-at-point-functions.
820 (comint-dynamic-complete): Make it obsolete.
821 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
822 (comint-c-a-p-replace-by-expanded-history): New function.
823 (comint-dynamic-complete-functions)
824 (comint-replace-by-expanded-history): Use it.
825 * minibuffer.el (completion-table-with-terminator): Allow dynamic
826 termination strings. Try harder to avoid second try-completion.
827 (completion-in-region-mode-map): Disable bindings that don't work yet.
829 * comint.el: Use lexical-binding. Require CL.
830 (comint-dynamic-complete-functions): Use comint-filename-completion.
831 (comint-completion-addsuffix): Tweak custom type.
832 (comint-filename-completion, comint--common-suffix)
833 (comint--common-quoted-suffix, comint--table-subvert)
834 (comint--complete-file-name-data): New functions.
835 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
836 (comint-dynamic-list-filename-completions): Use them.
837 (comint-dynamic-simple-complete): Make obsolete.
839 * minibuffer.el (completion-in-region-mode):
840 Keep completion-in-region-mode--predicate global.
841 (completion-in-region--postch):
842 Assume completion-in-region-mode--predicate is not null.
844 * progmodes/flymake.el (flymake-start-syntax-check-process):
845 Obey `dir'. Simplify.
847 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
848 we're in VC after all.
850 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
852 * vc/vc.el (vc-diff-build-argument-list-internal)
853 (vc-version-ediff, vc-ediff): New commands.
854 (vc-version-diff): Use vc-diff-build-argument-list-internal.
856 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
858 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
861 * obsolete/erc-hecomplete.el: Make obsolete.
862 * obsolete/: Standardize obsolescence info in the header.
864 2011-04-20 Glenn Morris <rgm@gnu.org>
866 * calendar/solar.el (solar-horizontal-coordinates):
867 Use the longitude argument rather than `calendar-longitude'.
868 (solar-date-next-longitude): Remove unused locals.
870 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
872 * whitespace.el: New version 13.2.1.
874 2011-04-20 felix <EmacsWiki> (tiny change)
876 * whitespace.el (global-whitespace-mode): keep highlight when
877 switching between major modes on a file.
879 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
881 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
882 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
883 multi-line comments as well.
885 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
887 Lexical-binding cleanup.
889 * arc-mode.el (archive-mode-revert):
890 * cmuscheme.el (scheme-interactively-start-process):
891 * custom.el (custom-initialize-delay):
892 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
893 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
894 * emacs-lock.el (emacs-lock-clear-sentinel):
895 * ezimage.el (defezimage):
896 * follow.el (follow-avoid-tail-recenter):
897 * fringe.el (set-fringe-mode-1):
898 * generic-x.el (bat-generic-mode-compile):
899 * help-mode.el (help-info-variable, help-do-xref)
900 (help-mode-revert-buffer):
901 * help.el (view-emacs-todo):
902 * iswitchb.el (iswitchb-completion-help):
903 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
904 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
905 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
906 * locate.el (locate-update):
907 * longlines.el (longlines-encode-region)
908 (longlines-after-change-function):
909 * outline.el (outline-isearch-open-invisible):
910 * ps-def.el (declare-function, charset-dimension, char-width)
912 * ps-mule.el (ps-mule-plot-string):
913 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
914 (recentf-edit-list-select, recentf-edit-list-validate)
915 (recentf-open-files-action):
916 * rect.el (delete-whitespace-rectangle-line)
917 (rectangle-number-line-callback):
918 * register.el (window-configuration-to-register)
919 (frame-configuration-to-register):
920 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
921 * select.el (xselect-convert-to-string, xselect-convert-to-length)
922 (xselect-convert-to-targets, xselect-convert-to-delete)
923 (xselect-convert-to-filename, xselect-convert-to-charpos)
924 (xselect-convert-to-lineno, xselect-convert-to-colno)
925 (xselect-convert-to-os, xselect-convert-to-host)
926 (xselect-convert-to-user, xselect-convert-to-class)
927 (xselect-convert-to-name, xselect-convert-to-integer)
928 (xselect-convert-to-atom, xselect-convert-to-identity):
929 * subr.el (declare, ignore, process-kill-without-query)
930 (text-clone-maintain):
931 * terminal.el (te-get-char, te-tic-sentinel):
932 * tool-bar.el (tool-bar-make-keymap):
933 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
934 * type-break.el (type-break-mode, type-break-noninteractive-query):
935 * view.el (View-back-to-mark):
936 * wid-browse.el (widget-browse-action, widget-browse-widget)
937 (widget-browse-widgets, widget-browse-sexp):
938 * widget.el (define-widget-keywords):
939 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
940 Mark unused parameters.
942 * align.el (align-adjust-col-for-rule): Mark unused parameter.
943 (align-areas): Remove unused variable `look'.
944 (align-region): Remove unused variables `real-end' and `pos-list'.
946 * apropos.el (apropos-score-doc): Remove unused variable `i'.
948 * bindings.el (mode-line-modified, mode-line-remote):
949 Mark unused parameters.
950 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
952 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
953 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
955 * comint.el (comint-history-isearch-pop-state)
956 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
957 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
958 (comint-substitute-in-file-name): Doc fix.
960 * completion.el (cmpl-statistics-block): Mark unused parameter.
961 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
962 (save-completions-to-file, load-completions-from-file):
963 Remove unused local variable `e'.
965 * composite.el (compose-chars): Remove unused variable `len'.
966 (lgstring-insert-glyph): Remove unused variable `g'.
967 (compose-glyph-string): Remove unused variables `ascent',
968 `descent', `lbearing' and `rbearing'.
969 (compose-glyph-string-relative): Remove unused variables
970 `lbearing', `rbearing' and `wadjust'.
971 (compose-gstring-for-graphic): Remove unused variables `header',
972 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
973 (compose-gstring-for-terminal): Remove unused variables `header'
974 and `nchars'. Use `let', not `let*'.
976 * cus-edit.el (Custom-set, Custom-save, custom-reset)
977 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
978 (Custom-buffer-done, custom-buffer-create-internal)
979 (custom-browse-visibility-action, custom-browse-group-tag-action)
980 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
981 (widget-magic-mouse-down-action, custom-toggle-parent)
982 (custom-add-parent-links, custom-toggle-hide-variable)
983 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
984 (custom-toggle-hide-face, face, hook, custom-group-link-action)
985 (custom-face-menu-create, custom-variable-menu-create, get)
986 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
987 (custom-reset-standard-save-and-update): Remove unused variable `value'.
988 (customize-apropos): Remove unused variable `tests'.
989 (custom-group-value-create): Remove unused variable `hidden-p'.
990 (sort-fold-case): Declare.
992 * cus-theme.el (custom-reset-standard-faces-list)
993 (custom-reset-standard-variables-list): Declare.
994 (customize-create-theme, custom-theme-revert, custom-theme-write)
995 (custom-theme-choose-mode, customize-themes, custom-theme-save):
996 Mark unused parameters.
998 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1000 * delim-col.el (delimit-columns-max): Move defvar before first use.
1002 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1003 (describe-char): Don't quote `lambda'. Mark unused parameter.
1005 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1006 (auto-insert): Declare.
1007 (desktop-restore-file-buffer): Rename desktop-* parameters;
1009 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1010 (desktop-buffer): Rename desktop-* parameters.
1012 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1013 (dframe-reposition-frame-xemacs, dframe-help-echo)
1014 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1015 Mark unused parameters.
1017 * dired-aux.el (backup-extract-version-start, overwrite-query)
1018 (overwrite-backup-query, rename-regexp-query)
1019 (rename-non-directory-query): Declare.
1020 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1021 (dired-add-entry): Remove unused variable `orig-file-name'.
1022 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1023 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1024 `dired-copy-preserve-time' directly.
1025 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1026 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1028 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1029 (dired-virtual-revert, dired-make-relative-symlink):
1030 Mark unused parameters.
1031 (manual-program): Declare.
1032 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1033 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1034 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1036 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1038 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1040 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1043 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1045 * electric.el (Electric-command-loop): Rename parameter
1046 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1048 * expand.el (expand-in-literal): Remove unused variable `here'.
1050 * facemenu.el (facemenu-add-new-color):
1051 Remove unused variable `docstring'.
1053 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1054 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1055 (face-attr-construct): Mark unused parameter. Doc fix.
1056 (read-color): Remove unused variable `hex-string'.
1058 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1059 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1060 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1061 (display-buffer-other-frame): Remove unused variable `old-window'.
1062 (kill-buffer-hook): Declare.
1063 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1064 Mark unused parameters.
1065 (after-find-file): Pass 1 to `auto-save-mode', not t.
1067 * files-x.el (auto-insert): Declare.
1068 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1070 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1071 variable `buf'. Mark unused parameter.
1072 (find-lisp-insert-directory): Mark unused parameter.
1074 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1075 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1076 (format-common-tail): Remove, unused.
1077 (format-deannotate-region): Remove unused variable `loc'.
1078 (format-annotate-region): Remove unused variable `p'.
1079 (format-annotate-single-property-change): Remove unused variables
1080 `default' and `tail'.
1082 * forms.el (read-file-filter): Declare.
1083 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1085 * frame.el (frame-creation-function-alist): Mark unused parameter.
1086 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1088 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1089 Remove unused parameters.
1090 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1091 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1093 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1094 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1095 (hfy-prepare-tag-map): Mark unused parameters.
1096 (htmlfontify-buffer): Use `called-interactively-p'.
1098 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1099 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1100 (ibuffer-do-occur): Mark unused parameters.
1101 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1102 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1104 * ibuffer.el: Don't quote `lambda'.
1105 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1106 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1107 Mark unused parameters.
1109 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1110 (ido-completing-read): Mark unused parameters.
1111 (ido-copy-current-word): Mark unused parameters;
1112 remove unused variable `name'.
1113 (ido-sort-merged-list): Remove unused parameter `dirs'.
1115 * ielm.el (ielm-input-sender): Mark unused parameter.
1116 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1117 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1118 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1119 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1120 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1122 * image-dired.el (image-dired-display-thumbs): Remove unused
1123 variables `curr-file' and `count'.
1124 (image-dired-remove-tag): Remove unused variable `start'.
1125 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1126 variable `curr-file'
1127 (image-dired-rotate-original): Remove unused variable `temp-file'.
1128 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1129 Remove unused variable `file'.
1130 (image-dired-gallery-generate): Remove unused variable `curr'.
1131 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1133 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1135 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1137 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1139 * isearch.el (minibuffer-history-symbol): Declare.
1140 (isearch-edit-string): Remove unused variable `err'.
1141 (isearch-message-prefix, isearch-message-suffix):
1142 Mark unused parameters.
1144 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1146 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1148 * makesum.el (double-column): Remove unused variable `cnt'.
1150 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1151 (ido-ignore-item-temp-list): Declare.
1153 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1154 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1155 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1156 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1159 * mouse-sel.el (mouse-extend-internal):
1160 Remove unused variable `orig-window-frame'.
1162 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1163 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1164 Move declarations before first use.
1165 (pcomplete-opt): Mark unused parameters; doc fix.
1167 * proced.el (proced-revert): Mark unused parameter.
1168 (proced-send-signal): Remove unused variable `err'.
1170 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1171 Rename parameter PREFIX-ARG to ARG.
1172 (ps-basic-plot-string, ps-basic-plot-whitespace):
1173 Mark unused parameters.
1175 * replace.el (replace-count): Define.
1176 (occur-revert-function): Mark unused parameters.
1177 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1178 (isearch-case-fold-search, isearch-string): Declare.
1179 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1180 bind `case-fold-search'. Remove unused variables `beg' and `end',
1182 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1183 COUNT and bind `replace-count'.
1184 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1187 * savehist.el (print-readably, print-string-length): Declare.
1189 * shadowfile.el (shadow-expand-cluster-in-file-name):
1190 Remove unused variable `cluster'.
1191 (shadow-copy-file): Remove unused variable `i'.
1192 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1193 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1194 (shadow-define-literal-group, shadow-define-regexp-group)
1195 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1197 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1198 (shell): Use `called-interactively-p'.
1199 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1201 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1202 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1203 (delete-backward-char): Remove unused variable `ocol'.
1204 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1205 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1206 (event-apply-hyper-modifier, event-apply-shift-modifier)
1207 (event-apply-control-modifier, event-apply-meta-modifier):
1208 Mark unused parameters.
1209 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1210 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1212 * speedbar.el (speedbar-ignored-directory-expressions)
1213 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1214 (speedbar-find-file, speedbar-dir-follow)
1215 (speedbar-directory-buttons-follow, speedbar-tag-find)
1216 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1217 (speedbar-buffers-line-directory, speedbar-buffer-click):
1218 Mark unused parameters.
1219 (speedbar-tag-file): Remove unused variable `mode'.
1220 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1222 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1224 * talk.el (talk): Remove unused variable `display'.
1226 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1227 (tar-write-region-annotate): Mark unused parameter.
1229 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1230 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1231 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1234 * time-stamp.el (time-stamp-string-preprocess):
1235 Remove unused variable `require-padding'.
1237 * tree-widget.el (widget-glyph-enable): Declare.
1238 (tree-widget-action): Mark unused parameter.
1240 * w32-fns.el (x-get-selection): Mark unused parameter.
1241 (autoload-make-program, generated-autoload-file): Declare.
1243 * wdired.el (wdired-revert): Mark unused parameters.
1244 (wdired-xcase-word): Remove unused variable `err'.
1246 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1247 (whitespace-help-scroll): Remove unused variable `data-help'.
1249 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1250 (widget-image-insert, widget-after-change, default)
1251 (widget-default-format-handler, widget-default-notify)
1252 (widget-default-prompt-value, widget-info-link-action)
1253 (widget-url-link-action, widget-function-link-action)
1254 (widget-variable-link-action, widget-file-link-action)
1255 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1256 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1257 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1258 (widget-insert-button-action, widget-delete-button-action, visibility)
1259 (widget-documentation-link-action, widget-documentation-string-action)
1260 (widget-const-prompt-value, widget-regexp-match, symbol)
1261 (widget-coding-system-prompt-value)
1262 (widget-key-sequence-value-to-external, sexp)
1263 (widget-sexp-value-to-internal, character, vector, cons)
1264 (widget-choice-prompt-value, widget-boolean-prompt-value)
1265 (widget-color--choose-action): Mark unused parameters.
1266 (widget-item-match-inline, widget-choice-match-inline)
1267 (widget-checklist-match, widget-checklist-match-inline)
1268 (widget-group-match): Rename parameter VALUES to VALS.
1269 (widget-field-value-set): Remove unused variable `size'.
1270 (widget-color-action): Remove unused variables `value' and `start'.
1272 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1273 variable `dir'. Doc fix.
1274 (windmove-find-other-window): Don't pass it.
1276 * window.el (count-windows): Mark unused parameter.
1277 (bw-adjust-window): Remove unused variable `err'.
1279 * woman.el (woman-file-name): Remove unused variable `default'.
1280 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1281 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1282 (global-font-lock-mode): Declare.
1283 (woman-decode-region): Mark unused parameter.
1284 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1286 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1287 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1288 (x-dnd-handle-moz-url): Remove unused variable `title'.
1289 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1291 * xml.el (xml-parse-tag, xml-parse-attlist):
1292 Remove unused variable `pos'.
1294 2011-04-19 Glenn Morris <rgm@gnu.org>
1296 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1297 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1298 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1299 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1300 * calendar/cal-html.el (cal-html-insert-minical):
1301 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1302 (calendar-mark-date-pattern):
1303 Prefix "unused" locals.
1305 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1306 optional argument `style'.
1308 * calendar/appt.el (appt-make-list):
1309 * calendar/cal-china.el (calendar-chinese-date-string):
1310 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1311 (diary-hebrew-yahrzeit):
1312 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1313 * calendar/calendar.el (calendar-generate-window):
1314 * calendar/time-date.el (time-to-days):
1315 Remove unused local variables.
1317 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1319 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1320 glyphless-char-display table.
1321 (tabulated-list-glyphless-char-display): New var.
1323 2011-04-18 Sam Steingold <sds@gnu.org>
1325 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1328 2011-04-17 Glenn Morris <rgm@gnu.org>
1330 * calendar/diary-lib.el (diary-sexp-entry):
1331 * calendar/holidays.el (holiday-sexp):
1332 Set debug-on-error rather than the removed stack-trace-on-error.
1334 2011-04-16 Glenn Morris <rgm@gnu.org>
1336 * progmodes/f90.el: Use lexical-binding.
1337 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1339 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1342 (mail-mode): Setup mailalias completion here instead.
1343 * mail/mailalias.el: Use lexical-binding.
1344 (pattern, mailalias-done): Declare dynamic.
1345 (mail-completion-at-point-function): New function, from mail-complete.
1346 (mail-complete): Use it.
1347 (mail-completion-expand): New function.
1348 (mail-get-names): Use it.
1349 (mail-directory, mail-directory-process, mail-directory-stream):
1350 Don't use `pattern' for lexically bound arg.
1352 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1354 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1355 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1356 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1358 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1359 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1360 (byte-interactive-p): Define them again, for use when inlining
1363 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1365 * loadup.el: Use `string-to-number', not `string-to-int'.
1367 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1370 gud-gdb-complete-command.
1371 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1372 (gud-gdb-completion-at-point): New function.
1373 (gud-gdb-completions): Remove.
1375 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1377 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1378 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1379 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1380 whether `executable-find' is bound.
1382 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1384 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * minibuffer.el (completion-in-region-mode-predicate)
1387 (completion-in-region-mode--predicate): New vars.
1388 (completion-in-region, completion-in-region--postch)
1389 (completion-in-region-mode): Use them.
1390 (completion--capf-wrapper): Also return the hook function.
1391 (completion-at-point, completion-help-at-point):
1392 Adjust and provide a predicate.
1394 Preserve arg names for advice of subr and lexical functions (bug#8457).
1395 * help-fns.el (help-function-arglist): Consolidate the subr and
1396 new-byte-code cases. Add argument `preserve-names' to extract names
1397 from the docstring when needed.
1398 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1399 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1400 (ad-arglist): Use help-function-arglist's new arg.
1401 (ad-definition-type): Use cond.
1403 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1405 * autorevert.el (auto-revert-handler):
1406 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1407 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1410 * image-mode.el (image-transform-set-scale):
1411 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1413 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1415 * net/network-stream.el (network-stream-open-starttls): Only do
1416 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1417 Upgrades via gnutls-cli are too slow to be done opportunistically.
1419 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1421 * dframe.el (dframe-current-frame): Remove spurious quote.
1423 2011-04-12 Glenn Morris <rgm@gnu.org>
1425 * calendar/cal-tex.el (cal-tex-end-document):
1426 Try to automatically use latin1 input if needed.
1428 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1429 Don't try to cons a mark onto an empty element.
1431 2011-04-11 Leo Liu <sdl.web@gmail.com>
1433 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1435 (ido-kill-buffer-at-head): Support killing virtual buffers.
1437 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1439 * minibuffer.el (completion-show-inline-help): New var.
1440 (completion--do-completion, minibuffer-complete)
1441 (minibuffer-force-complete, minibuffer-complete-word):
1442 Inhibit minibuffer messages if completion-show-inline-help is nil.
1444 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1445 to avoid interference from inline help (Bug#5849).
1447 2011-04-10 Leo Liu <sdl.web@gmail.com>
1449 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1452 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1454 * image-mode.el (image-toggle-display-image): Signal an error if
1456 (image-transform-mode, image-transform-resize)
1457 (image-transform-set-rotation): Doc fix.
1458 (image-transform-set-resize): Delete.
1459 (image-transform-set-scale, image-transform-fit-to-height)
1460 (image-transform-fit-to-width): Handle image-toggle-display-image
1461 and image-transform-resize directly.
1463 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1465 * doc-view.el (doc-view-fit-width-to-window)
1466 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1467 New functions for fitting the shown image to the Emacs window size.
1468 (doc-view-mode-map): Add bindings for the new functions.
1470 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1472 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1473 Fix typo in docstring.
1475 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1477 * files.el (file-size-human-readable): Produce one digit after
1478 decimal, like "ls -lh" does.
1480 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1481 the file size representation.
1483 * simple.el (list-processes): If async subprocesses are not
1484 available, error out with a clear error message.
1486 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1488 * help.el (help-form-show): New function, to be called from C.
1489 Put help-form output in a buffer named differently than *Help*.
1491 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1493 * files.el (file-size-human-readable): New function.
1495 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1496 computing the representation inline. Don't require `cl'.
1498 2011-04-08 Glenn Morris <rgm@gnu.org>
1500 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1502 * net/browse-url.el (browse-url-firefox):
1503 Test system-type, not system-configuration.
1505 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1506 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1507 Use log-edit-empty-buffer-p. (Bug#7598)
1509 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1510 (rlogin-mode-map): Initialize in the defvar.
1511 (rlogin): Use ignore-errors.
1513 * replace.el (occur-mode-map): Some fixes for menu items.
1515 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1517 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1519 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1521 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1522 issuing unused warnings.
1524 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1527 * simple.el: Lisp reimplement of list-processes. Based on an
1528 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1529 (process-menu-mode): New major mode.
1530 (list-processes--refresh, list-processes):
1531 (process-menu-visit-buffer): New functions.
1533 * files.el (save-buffers-kill-emacs): Don't assume any return
1534 value of list-processes, which is undocumented anyway.
1536 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1538 * emacs-lisp/tabulated-list.el: New file.
1540 * emacs-lisp/package.el: Use Tabulated List mode.
1541 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1542 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1543 table format using Tabulated List mode variables.
1544 (package--push): New macro, replacing package-list-maybe-add.
1545 (package-menu--generate): Use package--push. Renamed from
1546 package--generate-package-list.
1547 (package-menu-refresh, list-packages): Use it.
1548 (package-menu--print-info): Rename from package-print-package.
1549 Return insertion data instead of inserting it directly.
1550 (package-menu-describe-package, package-menu-execute):
1551 Use tabulated-list-get-id.
1552 (package-menu-mark-delete, package-menu-mark-install)
1553 (package-menu-mark-unmark, package-menu-backup-unmark)
1554 (package-menu-mark-obsolete-for-deletion):
1555 Use tabulated-list-put-tag.
1556 (package--list-packages, package-menu-revert)
1557 (package-menu-get-package, package-menu-get-version)
1558 (package-menu-sort-by-column): Functions deleted.
1559 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1560 (package-menu--status-predicate, package-menu--version-predicate)
1561 (package-menu--name-predicate)
1562 (package-menu--description-predicate): Handle arguments in the
1563 Tabulated List format.
1564 (package-list-packages-no-fetch): Call list-packages.
1566 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1568 * files.el (after-find-file-from-revert-buffer): Remove variable.
1569 (after-find-file): Don't bind it.
1570 (revert-buffer-in-progress-p): New variable.
1571 (revert-buffer): Bind it.
1572 Pass nil for `after-find-file-from-revert-buffer'.
1574 * saveplace.el (save-place-find-file-hook): Use new variable
1575 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1577 2011-04-06 Glenn Morris <rgm@gnu.org>
1579 * Makefile.in (AUTOGEN_VCS): New variable.
1580 (autoloads): Use $AUTOGEN_VCS.
1582 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1583 * calendar/calendar.el (calendar-mode-map):
1584 Check for toolkit scroll bars. (Bug#8305)
1586 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1588 * minibuffer.el (completion-in-region--postch)
1589 (completion-in-region-mode): Remove unnecessary messages.
1591 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1593 * font-lock.el (font-lock-refresh-defaults):
1594 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1595 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1597 * info.el (Info-directory-list, Info-read-node-name-2)
1598 (Info-split-parameter-string): Doc fixes.
1599 (Info-virtual-nodes): Reflow docstring.
1600 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1601 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1602 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1603 Fix typos in docstrings.
1604 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1605 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1606 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1607 (Info-restore-desktop-buffer): Mark unused parameters.
1608 (Info-directory-find-file, Info-directory-find-node)
1609 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1610 (Info-virtual-index-find-node, Info-apropos-find-file)
1611 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1612 Mark unused parameters; fix typos in docstrings.
1613 (Info-virtual-index): Remove unused local variable `nodename'.
1615 2011-04-05 Deniz Dogan <deniz@dogan.se>
1617 * net/rcirc.el: Update my e-mail address.
1618 (rcirc-mode-map): Remove M-o binding.
1620 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1622 * startup.el (command-line): Save the cursor's theme-face
1623 directly, instead of using face-override-spec.
1625 * custom.el (load-theme): Minor optimization in assigning faces.
1627 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1629 * help-fns.el (describe-variable): Complete all variables having
1630 documentation, including keywords.
1631 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1633 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1635 Convert to lexical-binding.
1637 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1638 (bs--get-marked-string, bs--get-modified-string)
1639 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1640 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1641 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1643 * ehelp.el (electric-help-execute-extended)
1644 (electric-help-ctrl-x-prefix):
1645 * hexl.el (hexl-revert-buffer-function):
1646 * linum.el (linum-after-change, linum-after-scroll):
1647 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1649 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1651 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1658 * epg.el: Use lexical binding.
1660 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1662 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1664 * textmodes/flyspell.el (flyspell-word): Recognize default
1665 dictionary case for flyspell-mark-duplications-exceptions.
1666 Use regexp matching for languages.
1667 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1668 default dictionary (Bug#7926).
1670 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1672 * emacs-lisp/package.el (package--with-work-buffer):
1673 Recognize https URLs.
1675 * net/network-stream.el: Move from gnus/proto-stream.el.
1676 Change prefix to network-stream throughout.
1677 (open-protocol-stream): Merge into open-network-stream, leaving
1678 open-protocol-stream as an alias. Handle nil BUFFER args.
1680 * subr.el (open-network-stream): Move to net/network-stream.el.
1682 2011-04-02 Glenn Morris <rgm@gnu.org>
1684 * find-dired.el (find-exec-terminator): New option.
1685 (find-ls-option): Test for -ls support.
1686 (find-ls-subdir-switches): Test for -b in find-ls-option.
1687 (find-dired, find-grep-dired): Doc fixes.
1688 (find-dired): Use find-exec-terminator.
1690 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1691 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1692 (find-name-arg): Remove purecopy.
1694 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1695 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1696 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1697 accordingly. Don't add the null-device if not needed.
1699 * files.el (save-some-buffers): Doc fix.
1701 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1703 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1705 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1707 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1708 Use `dolist' rather than `mapcar'.
1710 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1712 Add lexical binding.
1714 * subr.el (apply-partially): Use new closures rather than CL.
1715 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1716 (dolist, dotimes): Use slightly different expansion for lexical code.
1717 (functionp): Move to C.
1718 (letrec): New macro.
1719 (with-wrapper-hook): Use it and apply-partially instead of CL.
1720 (eval-after-load): Preserve lexical-binding.
1721 (save-window-excursion, with-output-to-temp-buffer): Turn them
1724 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1726 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1728 (help-add-fundoc-usage): Don't add `Not documented'.
1729 (help-function-arglist): Handle closures, subroutines, and new
1730 byte-code-functions.
1731 (help-make-usage): Remove leading underscores.
1732 (describe-function-1): Handle closures.
1733 (describe-variable): Use special-variable-p for completion.
1735 * files.el (lexical-binding): Declare safe.
1737 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1738 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1739 (pcase): Add `let' pattern.
1740 Change memoization so it actually works.
1741 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1742 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1745 * emacs-lisp/macroexp.el: Use lexical binding.
1746 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1747 Don't convert ' to #' without checking that it's indeed quoting
1750 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1751 Use eval-sexp-add-defvars.
1752 (eval-sexp-add-defvars): New fun.
1754 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1756 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1758 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1759 than the internal `byte-compile-lambda'.
1760 (defmethod): Don't hide code under quotes.
1761 (eieio-defmethod): New `code' argument.
1763 * emacs-lisp/eieio-comp.el: Remove.
1765 * emacs-lisp/edebug.el (edebug-eval-defun)
1766 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1767 (edebug-toggle): Avoid `eval'.
1769 * emacs-lisp/disass.el (disassemble-internal): Handle new
1771 (disassemble-1): Handle new byte codes.
1773 * emacs-lisp/cl.el (pushnew): Silence warning.
1775 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1776 (cl-byte-compile-throw): Remove.
1777 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1779 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1782 * emacs-lisp/cconv.el: New file.
1784 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1785 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1786 (byte-compile-initial-macro-environment):
1787 Handle declare-function here.
1788 (byte-compile--lexical-environment): New var.
1789 (byte-stack-ref, byte-stack-set, byte-discardN)
1790 (byte-discardN-preserve-tos): New lap codes.
1791 (byte-interactive-p): Don't use any more.
1792 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1794 (byte-compile-lapcode): Use them and handle new lap codes.
1795 (byte-compile-obsolete): Remove.
1796 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1797 (byte-compile-arglist-warn): Check late def of inlinable funs.
1798 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1799 since they should have been expanded by now.
1800 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1801 (byte-compile-from-buffer): Remove unused second arg.
1802 (byte-compile-preprocess): New function.
1803 (byte-compile-toplevel-file-form): New function to distinguish
1804 file-form calls from outside from file-form calls from hunk-handlers.
1805 (byte-compile-file-form): Simplify.
1806 (byte-compile-file-form-defsubst): Remove.
1807 (byte-compile-file-form-defmumble): Simplify now that
1808 byte-compile-lambda always returns a byte-code-function.
1809 (byte-compile): Preprocess.
1810 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1811 Remove, not used any more.
1812 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1813 (byte-compile-make-args-desc): New funs.
1814 (byte-compile-lambda): Handle lexical functions. Always return
1815 a byte-code-function.
1816 (byte-compile-reserved-constants): New var, to make up room for
1817 closed-over variables.
1818 (byte-compile-constants-vector): Obey it.
1819 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1820 (byte-compile-macroexpand-declare-function): New function.
1821 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1822 byte-code-functions.
1823 (byte-compile-form): Check obsolescence here.
1824 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1825 (byte-compile-variable-ref): Remove.
1826 (byte-compile-dynamic-variable-op): New fun.
1827 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1828 (byte-compile-variable-set): New funs.
1829 (byte-compile-discard): Add 2 args.
1830 (byte-compile-stack-ref, byte-compile-stack-set)
1831 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1832 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1833 macroexpand-all instead.
1834 (byte-compile-quote-form): Remove.
1835 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1836 (byte-compile-bind, byte-compile-unbind): New funs.
1837 (byte-compile-let): Handle let* and lexical binding.
1838 (byte-compile-let*): Remove.
1839 (byte-compile-catch, byte-compile-unwind-protect)
1840 (byte-compile-track-mouse, byte-compile-condition-case):
1841 Handle a new :fun-body form, used for lexical scoping.
1842 (byte-compile-save-window-excursion)
1843 (byte-compile-with-output-to-temp-buffer): Remove.
1844 (byte-compile-defun): Simplify.
1845 (byte-compile-stack-adjustment): New fun.
1846 (byte-compile-out): Use it.
1847 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1849 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1852 * emacs-lisp/byte-opt.el: Use lexical binding.
1853 (byte-inline-lapcode): Remove (to bytecomp).
1854 (byte-compile-inline-expand): Pay attention to inlining to/from
1855 lexically bound code.
1856 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1858 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1859 any more and don't call compiler-macros.
1860 (byte-compile-splice-in-already-compiled-code): Remove.
1861 (byte-code): Don't inline any more.
1862 (disassemble-offset): Receive `bytes' as argument rather than via
1864 (byte-compile-tag-number): Declare before first use.
1865 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1866 `return' even if make-spliceable.
1867 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1868 obsolete interactive-p.
1869 (byte-optimize-lapcode): Optimize new lap-codes.
1870 Don't trip up on new form of `byte-constant' lap code.
1872 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1874 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1876 * custom.el (custom-initialize-default, custom-declare-variable):
1879 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1881 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1882 (COMPILE_FIRST): Add macroexp and cconv.
1883 * makefile.w32-in: Mirror changes in Makefile.in.
1889 * vc/smerge-mode.el:
1890 * textmodes/bibtex-style.el:
1899 * emacs-lisp/smie.el:
1902 * abbrev.el: Use lexical binding.
1904 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1906 * info.el (info-display-manual): New function.
1908 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1910 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1912 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1914 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1915 an entry for that server in rcirc-authinfo. (Bug#8385)
1917 2011-03-31 Glenn Morris <rgm@gnu.org>
1919 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1921 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1923 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1925 * progmodes/python.el (python-default-interpreter)
1926 (python-python-command-args, python-jython-command-args)
1927 (python-which-shell, python-which-args, python-which-bufname)
1928 (python-file-queue, python-comint-output-filter-function)
1929 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1930 variables and functions.
1932 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1935 (completion-in-region-mode): New minor mode.
1936 (completion-in-region): Use it.
1937 (completion-in-region--data, completion-in-region-mode-map): New vars.
1938 (completion-in-region--postch): New function.
1939 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1941 (completion--capf-wrapper): New function.
1942 (completion-at-point): Use it to track well-behavedness of
1944 (completion-help-at-point): New command.
1946 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1948 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1949 syntax class to search for whitespace on a single line
1950 (Message-ID: <4D938140.4030905@redhat.com>).
1952 2011-03-30 Leo Liu <sdl.web@gmail.com>
1954 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1956 (edit-abbrevs-map): Bind them here.
1957 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1959 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1961 * allout.el (allout-hide-by-annotation, allout-flag-region):
1962 Reduce possibility of overlay leakage by making them volatile.
1964 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1965 hash is not shared between buffers. Mode initialization is
1966 responsible for giving it a useful starting value.
1967 (allout-item-span): Reduce possibility of overlay leakage by
1968 making them volatile.
1969 (allout-widgets-count-buttons-in-region): Add diagnostic function
1970 for tracking down button overlay leaks.
1972 2011-03-29 Leo Liu <sdl.web@gmail.com>
1974 * ido.el (ido-read-internal): Use the default history var
1975 minibuffer-history if no HISTORY is specified.
1977 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1979 * net/imap.el (imap-shell-open, imap-process-connection-type):
1980 Use imap-process-connection-type for 'shell' streams as well as
1981 Kerberos, SSL, other subprocesses.
1983 2011-03-28 Leo Liu <sdl.web@gmail.com>
1985 * abbrev.el (abbrev-table-empty-p): New function.
1986 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1987 nonempty ones. (Bug#5937)
1989 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1991 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1993 2011-03-27 Leo Liu <sdl.web@gmail.com>
1995 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1996 for foreground and background colors.
1997 (ansi-color-make-color-map): Adapt.
1999 2011-03-25 Leo Liu <sdl.web@gmail.com>
2001 * midnight.el (midnight-time-float): Remove. Note it calculates
2002 the microsecond component incorrectly and seconds-to-time does the
2004 Remove redundant (require 'timer).
2006 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2007 (ido-completions): Remove unused arguments. (Bug#8329)
2009 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * minibuffer.el (completion--flush-all-sorted-completions):
2012 Remove itself from hook.
2013 (completion-at-point): Let the functions perform the completion
2014 immediately and return nil or t.
2015 * comint.el (comint-dynamic-complete-functions): Now identical to
2016 completion-at-point-functions.
2017 (comint-dynamic-list-input-ring): Remove unused var `index'.
2018 (comint--match-partial-filename, comint--unquote&expand-filename):
2019 New funs, split from comint-match-partial-filename.
2020 (comint-dynamic-complete): Use completion-at-point.
2021 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2023 2011-03-24 Drew Adams <drew.adams@oracle.com>
2025 * thingatpt.el: Support `defun'.
2027 2011-03-23 Leo Liu <sdl.web@gmail.com>
2029 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2031 * help-mode.el (help-mode-finish): Tweak regexp.
2033 2011-03-23 Glenn Morris <rgm@gnu.org>
2035 * eshell/esh-opt.el (eshell-eval-using-options):
2036 Do not bind unused local variable `eshell-option-stub'.
2038 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2040 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2042 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2043 keymap variable in `with-no-warnings' to avoid a warning when the
2044 keymap has been already `defconst'ed.
2046 2011-03-22 Leo Liu <sdl.web@gmail.com>
2048 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2049 encode all chars in abbrevs; otherwise use emacs-mule or
2050 utf-8-emacs. (Bug#8308)
2052 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2054 * simple.el (backward-delete-char-untabify):
2055 Avoid warning about using `delete-backward-char'.
2057 * image.el (image-type-file-name-regexps): Make it variable.
2058 `imagemagick-register-types' modifies it, and the user may want
2059 to add new extensions for known image types.
2060 (imagemagick-register-types): Throw error if not using ImageMagick.
2062 2011-03-22 Leo Liu <sdl.web@gmail.com>
2064 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2065 located before rcirc-prompt-end-marker.
2066 (rcirc-complete): Error if point is not after rcirc prompt.
2067 Handle the case when table is nil.
2068 (rcirc-user-authenticated): Define to fix compiler warning.
2070 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2072 * custom.el (custom--inhibit-theme-enable): Make it affect only
2073 custom-theme-set-variables and custom-theme-set-faces.
2074 (provide-theme): Ignore custom--inhibit-theme-enable.
2075 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2076 (custom-enabling-themes): Delete variable.
2077 (enable-theme): Accept only loaded themes as arguments.
2078 Ignore the special custom-enabled-themes variable.
2079 (custom-enabled-themes): Forbid themes from setting this.
2080 Eliminate use of custom-enabling-themes.
2081 (custom-push-theme): Quote "changed" custom var entry.
2083 2011-03-21 Leo Liu <sdl.web@gmail.com>
2085 * ido.el (ido-read-internal): Add ido-selected to history instead
2088 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * subr.el (deferred-action-list, deferred-action-function):
2093 2011-03-21 Leo Liu <sdl.web@gmail.com>
2095 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2096 change on 2011-02-13 (bug#8309).
2098 * minibuffer.el (read-file-name-function): Change default value.
2099 (read-file-name--defaults): Rename from read-file-name-defaults.
2100 (read-file-name-default): Rename from read-file-name.
2101 (read-file-name): Call read-file-name-function.
2103 2011-03-21 Glenn Morris <rgm@gnu.org>
2105 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2108 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2110 * cus-theme.el: Add missing provide statement.
2111 (customize-create-theme): Extract theme value correctly.
2112 (custom-theme-visit-theme): Autoload.
2113 (customize-create-theme): Prompt before inserting default faces.
2115 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2117 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2118 units and musical notes.
2120 2011-03-20 Leo <sdl.web@gmail.com>
2122 * ido.el (ido-read-internal): Use completing-read-default.
2123 (ido-completing-read): Fix compatibility with completing-read.
2125 2011-03-20 Christian Ohler <ohler@gnu.org>
2127 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2128 (ert-delete-all-tests): Use `called-interactively-p' rather than
2130 (ert--make-xrefs-region): Respect END.
2132 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2134 * dired-aux.el (dired-create-directory): Signal an error if the
2135 directory already exists (Bug#8246).
2137 * facemenu.el (list-colors-display): Call list-faces-display
2138 inside with-help-window.
2139 (list-colors-print): Use display property to align the final
2140 column, instead of checking window-width.
2142 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2144 * emerge.el (emerge-metachars): Separate value for ms-dos and
2146 (emerge-protect-metachars): Quote correctly for ms-dos and
2149 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2151 * info.el (info-initialize): Replace all uses of `:' with
2152 path-separator for compatibility with non-Unix systems.
2153 Cache quoting of path-separator. (Bug#8258)
2155 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2157 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2158 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2159 (mouse-avoidance-mode): Fix typos in docstrings.
2161 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2163 * startup.el (package-subdirectory-regexp): Move from package.el.
2164 Omit \\` and \\', and let callers add them.
2166 * emacs-lisp/package.el (package-strip-version)
2167 (package-load-all-descriptors): Add \\` and \\' to
2168 package-subdirectory-regexp before using it.
2169 (package-untar-buffer): New arg DIR; ensure that file untars only
2170 into this expected directory. Remove superfluous delete-region.
2171 (package-unpack): Caller changed.
2172 (package-tar-file-info): Use package-subdirectory-regexp.
2174 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2177 diff-mode-shared-map (bug#8284).
2178 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2180 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2182 * calendar/time-date.el (format-seconds): Use assoc instead of
2183 assoc-string, since assoc-string doesn't exist in XEmacs.
2185 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2187 * custom.el (custom-known-themes): Reflow docstring.
2188 (custom-theme-load-path): Fix typo in docstring.
2189 (load-theme): Fix typo in error message.
2190 (custom-available-themes, custom-variable-theme-value):
2191 Use `let', not `let*'.
2193 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2195 * calc/README: Mention inclusion of musical notes.
2197 * calc/calc-units.el (calc-lu-quant): Rename from
2198 `calc-logunits-quantity'.
2199 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2200 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2201 (calc-db): Rename from `calc-dblevel'.
2202 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2203 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2204 (calc-np): Rename from `calc-nplevel'.
2205 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2206 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2207 (calc-lu-plus): Rename from `calc-logunits-add'.
2208 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2209 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2210 (calc-lu-minus): Rename from `calc-logunits-sub'.
2211 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2212 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2213 (calc-lu-times): Rename from `calc-logunits-mul'.
2214 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2215 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2216 (calc-lu-divide): Rename from `calc-logunits-div'.
2217 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2218 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2220 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2221 functions being autoloaded.
2223 * calc/calc.el (calc-lu-power-reference): Rename from
2224 `calc-logunits-power-reference'.
2225 (calc-lu-field-reference): Rename from
2226 `calc-logunits-field-reference'.
2228 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2230 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2232 * minibuffer.el (completion-all-sorted-completions):
2233 Use :completion-cycle-penalty text property if present.
2235 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2237 * allout.el (allout-yank-processing): Adjust for new rebulleting
2238 regime so bullet being yanked is used without prompting the user
2241 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2243 * startup.el (command-line): Warn the user that _emacs is deprecated.
2245 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2247 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2248 (delphi-verbose, delphi-comment-face, delphi-string-face)
2249 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2250 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2251 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2252 (delphi-new-comment-line, delphi-font-lock-defaults)
2253 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2254 Fix typos in docstrings.
2256 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2258 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2259 Invert the roles of character and string values for INSTEAD, so a
2260 string is used for the more common case of a defaulting prompt.
2262 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2264 * progmodes/ruby-mode.el (ruby-backward-sexp):
2265 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2266 * play/gamegrid.el (gamegrid-make-face):
2267 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2268 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2269 * notifications.el (notifications-notify):
2270 * net/xesam.el (xesam-search-engines):
2271 * net/quickurl.el (quickurl-list-insert):
2272 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2274 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2276 * startup.el (command-line): Update package subdirectory regexp.
2278 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * allout.el (allout-abbreviate-flattened-numbering)
2281 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2283 * subr.el (read-char-choice): Only show the cursor after the prompt,
2284 not after the answer.
2286 2011-03-15 Kevin Ryde <user42@zip.com.au>
2288 * help-fns.el (variable-at-point): Skip leading quotes, if any
2291 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2296 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2298 * shell.el (shell): When called interactively, offer to change the
2299 shell file name on remote hosts.
2301 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2303 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2304 integration for LDAP parameters. The host, base, user or binddn,
2305 and secret tokens can be specified in a netrc file, for instance.
2306 This is optional because an `auth-source' parameter must be
2307 specified in the search attributes.
2309 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2311 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2313 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2316 into declaration. Remove redundant and harmful binding.
2318 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2320 * files.el (file-ownership-preserved-p): Pass `integer' as an
2321 explicit 2nd argument to `file-attributes'. If the file's owner
2322 is the Administrators group on Windows, and the current user is
2323 Administrator, consider that a match.
2325 * server.el (server-ensure-safe-dir): Consider server directory
2326 safe on MS-Windows if its owner is the Administrators group while
2327 the current Emacs user is Administrator. Use `=' to compare
2328 numerical UIDs, since they could be integers or floats.
2330 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2332 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2334 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2336 Sync with Tramp 2.2.1.
2338 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2340 * net/trampver.el: Update release number.
2342 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * progmodes/compile.el (compilation--previous-directory): Fix up
2345 various nil/dead-marker mismatches (bug#8014).
2346 (compilation-directory-properties, compilation-error-properties):
2347 Don't call it at a position past the one we're about to change.
2349 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2350 Disable obsolescence warnings in the file that declares it.
2352 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2354 * allout-widgets.el (allout-widgets-tally):
2355 Initialize allout-widgets-tally as a hash table rather than nil to
2356 prevent mode-line redisplay warnings. Also, clarify the module
2357 description and fix a comment typo.
2359 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2361 * help-fns.el (describe-variable): Don't complete keywords.
2362 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2364 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2366 * emacs-lisp/package.el (package-version-join): Impose a standard
2367 string representation for pre/alpha/beta version lists.
2368 (package-unpack-single): Standardize the directory name by passing
2369 it through package-version-join.
2370 (package-strip-rcs-id): Accept any version string that does not
2371 signal an error in version-to-list.
2373 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2375 * simple.el (delete-trailing-whitespace): Return nil for the
2376 benefit of `write-file-functions'.
2378 2011-03-10 Glenn Morris <rgm@gnu.org>
2380 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2382 * vc/vc-git.el (vc-git-program): New option.
2383 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2384 (vc-git--call): Use it.
2386 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2388 * cus-edit.el (Custom-newline): If no button at point, look
2389 for a subgroup button at start-of-line. (Bug#2298)
2391 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2393 2011-03-10 Julien Danjou <julien@danjou.info>
2395 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2396 `cursor-type' is nil.
2398 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2400 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2402 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2404 * allout.el Summary: Change so yank of distinctive-bullet items
2405 preserves the existing header prefix, rebulleting it if necessary,
2406 rather than replacing it. This is necessary for proper operation
2407 of cooperative addons like allout-widgets.
2408 (allout-make-topic-prefix, allout-rebullet-heading): Change
2409 SOLICIT arg to INSTEAD, and interpret additionally a string value
2410 as alternate bullet to be used, instead of prompting the user for
2413 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2415 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2416 Do not use `tramp-file-name-port', because this returns also
2417 `tramp-default-port'.
2419 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2421 * net/rcirc.el (rcirc-handler-001): Remove useless
2422 with-rcirc-process-buffer.
2423 (rcirc-check-auth-status): Swap arguments to string-match.
2425 2011-03-09 Glenn Morris <rgm@gnu.org>
2427 * shell.el (shell-mode):
2428 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2430 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2431 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2433 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2435 * emacs-lisp/package.el (package-refresh-contents)
2436 (package-menu-execute): Use condition-case-no-debug.
2438 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2440 * simple.el (shell-command-to-string): Use `process-file'.
2442 * emacs-lisp/package.el (package-tar-file-info): Handle also
2445 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2446 Use `equal' for upload base check.
2448 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2450 * textmodes/texinfo.el (texinfo-environments):
2451 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2453 2011-03-08 Glenn Morris <rgm@gnu.org>
2455 * cus-start.el (cursor-in-non-selected-windows):
2456 Fix :set quoting oddness. (Bug#8192)
2458 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2459 in some setf expressions. (Bug#2159)
2461 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2463 * custom.el (custom-available-themes): Return themes in
2466 See ChangeLog.15 for earlier changes.
2472 Copyright (C) 2011 Free Software Foundation, Inc.
2474 This file is part of GNU Emacs.
2476 GNU Emacs is free software: you can redistribute it and/or modify
2477 it under the terms of the GNU General Public License as published by
2478 the Free Software Foundation, either version 3 of the License, or
2479 (at your option) any later version.
2481 GNU Emacs is distributed in the hope that it will be useful,
2482 but WITHOUT ANY WARRANTY; without even the implied warranty of
2483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2484 GNU General Public License for more details.
2486 You should have received a copy of the GNU General Public License
2487 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.