1 2011-05-10 Glenn Morris <rgm@gnu.org>
3 * calendar/diary-lib.el (diary-list-entries-hook)
4 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5 (diary-nongregorian-marking-hook, diary-list-entries)
6 (diary-include-other-diary-files, diary-mark-entries)
7 (diary-mark-included-diary-files): Doc fixes.
9 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
11 * misc.el: Require tabulated-list.el during compilation.
13 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15 * progmodes/compile.el (compilation-start): Run
16 compilation-filter-hook for the async case too.
17 (compilation-filter-hook): Doc fix.
19 2011-05-09 Deniz Dogan <deniz@dogan.se>
21 * wdired.el: Remove outdated installation comment. Fix usage
24 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
26 * misc.el: Implement new command `list-dynamic-libraries'.
27 (list-dynamic-libraries--loaded-only-p): New variable.
28 (list-dynamic-libraries--refresh): New function.
29 (list-dynamic-libraries): New command.
31 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
33 * progmodes/compile.el (compilation-error-regexp-alist-alist): Fix
34 the ant regexp to handle end-line and end-column info from jikes.
35 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
36 higher priority to avoid clobbering by gnu.
38 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
40 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
41 if the face has existing theme settings (Bug#8454).
43 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
45 * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
46 match variables declared via `my' or `our' (Bug#8261).
48 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
49 special file names `.' and `..' (Bug#8259).
51 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
53 * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
54 buffer-changing entries.
55 (grep-filter): New function.
56 (grep-mode): Add it to compilation-filter-hook.
58 * progmodes/compile.el (compilation-filter-hook)
59 (compilation-filter-start): New defvars.
60 (compilation-filter): Call compilation-filter-hook prior to
61 updating the process mark.
63 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
65 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
67 2011-05-07 Eli Zaretskii <eliz@gnu.org>
69 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
70 mailclient-send-it even if window-system is nil. (Bug#8595)
72 * term/w32console.el (terminal-init-w32console):
73 Call get-screen-color and use its output to set the frame
74 background-mode. (Bug#8597)
76 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
78 Make bytecomp.el understand that defmethod defines funs (bug#8631).
79 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
81 (defgeneric, eieio--defmethod): Use them.
82 (eieio-defgeneric): Remove.
83 (defmethod): Call defgeneric in a way visible to the byte-compiler.
85 2011-05-07 Glenn Morris <rgm@gnu.org>
87 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
88 Use let rather than let*.
89 (timeclock-find-discrep): Remove unused local.
91 * calendar/diary-lib.el (diary-comment-start): Doc fix.
93 * calendar/appt.el (appt-time-msg-list): Doc fix.
95 2011-05-06 Noah Friedman <friedman@splode.com>
97 * apropos.el (apropos-print-doc): Only use
98 emacs-lisp-docstring-fill-column when it is bound to an integer,
99 per that variable's documentation.
101 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
103 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
104 and warnings are not silently discarded (e.g. use -d instead of -P).
106 2011-05-06 Glenn Morris <rgm@gnu.org>
108 * calendar/appt.el (appt-message-warning-time): Doc fix.
109 (appt-warning-time-regexp): New option.
110 (appt-make-list): Respect appt-message-warning-time.
112 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
114 (diary-add-to-list): Strip comments from the displayed string.
115 (diary-mode): Set comment-start and comment-end.
117 * vc/diff-mode.el (smerge-refine-subst): Declare.
118 (diff-refine-hunk): Don't require smerge-mode when compiling.
120 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
122 * simple.el (list-processes): Return nil as the docstring says.
124 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
126 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
128 (ange-ftp-write-region, ange-ftp-insert-file-contents)
129 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
130 determining of binary transfer. (Bug#7383)
132 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
135 Fix port computation bug. (Bug#8618)
137 2011-05-05 Glenn Morris <rgm@gnu.org>
139 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
141 * simple.el (shell-dynamic-complete-functions)
142 (comint-dynamic-complete-functions): Declare.
144 * net/network-stream.el (gnutls-negotiate):
145 * simple.el (tabulated-list-print): Fix declarations.
147 * progmodes/gud.el (syntax-symbol, syntax-point):
148 Remove unnecessary and incorrect declarations.
150 * emacs-lisp/check-declare.el (check-declare-scan):
151 Handle byte-compile-initial-macro-environment in bytecomp.el
153 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
155 Fix earlier half-done eieio-defmethod change (bug#8338).
156 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
157 Streamline and change calling convention.
158 (defmethod): Adjust accordingly and simplify.
159 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
160 new eieio--defmethod.
161 (slot-boundp): Minor CSE simplification.
163 2011-05-05 Milan Zamazal <pdm@zamazal.org>
165 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
166 (glasses-make-readable): Use glasses-separate-capital-groups.
168 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
170 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
171 (warning-series): Doc fix.
172 (display-warning): Don't try to create the buffer if we just found it.
174 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
176 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
177 (autoload-find-generated-file): New function.
178 (generate-file-autoloads): Bind generated-autoload-file to
180 (update-file-autoloads, update-directory-autoloads):
181 Use autoload-find-generated-file. If called interactively, prompt for
182 output file (Bug#7989).
183 (batch-update-autoloads): Doc fix.
185 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
187 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
189 2011-05-04 Glenn Morris <rgm@gnu.org>
191 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
192 function, so it follows changes in calendar-date-style.
193 (diary-fancy-date-matcher): New function.
194 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
195 (diary-fancy-font-lock-fontify-region-function):
196 Use diary-fancy-date-pattern as a function.
198 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
199 non-numbers for `year' etc pseudo-variables. (Bug#8583)
201 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
203 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
204 instead of positional arguments. Allow :keylist and :crlfiles
206 (open-gnutls-stream): Call it.
208 * net/network-stream.el (network-stream-open-starttls): Adjust to
209 call `gnutls-negotiate' with :process and :hostname arguments.
211 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
213 * minibuffer.el (completion--message): New function.
214 (completion--do-completion, minibuffer-complete)
215 (minibuffer-force-complete, minibuffer-complete-word): Use it.
216 (completion--do-completion): Don't ignore completion-auto-help when in
219 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
220 internal encoding (e.g. tibetan zero is not whitespace).
221 (global-whitespace-mode): Prefer save-current-buffer.
222 (whitespace-trailing-regexp): Remove useless save-match-data.
223 (whitespace-empty-at-bob-regexp): Minor simplification.
225 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
227 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
229 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
231 * textmodes/ispell.el (ispell-add-per-file-word-list):
232 Use `concat' to create string for insertion.
234 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
236 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
237 Avoid open-line which runs post-self-insert-hook.
238 (bibtex-fill-entry): Remove unused `end' var.
240 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
242 * textmodes/ispell.el (ispell-add-per-file-word-list):
243 Protect against `nil' value of `comment-start' (Bug#8579).
245 2011-05-03 Leo Liu <sdl.web@gmail.com>
247 * isearch.el (isearch-yank-pop): New command.
248 (isearch-mode-map): Bind it to `M-y'.
249 (isearch-forward): Mention it.
251 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
253 * simple.el (minibuffer-complete-shell-command): Remove.
254 (minibuffer-local-shell-command-map): Use completion-at-point.
255 (read-shell-command): Setup completion vars here instead.
256 (read-expression-map): Bind TAB to symbol completion.
258 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
259 error directly rather via storing it into `results'.
261 2011-05-02 Leo Liu <sdl.web@gmail.com>
263 * vc/diff.el: Fix description.
265 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
267 * server.el (server-eval-at): New function.
269 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
271 * net/network-stream.el (open-network-stream): Take a :nowait
272 parameter and pass it on to `make-network-process'.
273 (network-stream-open-plain): Ditto.
275 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
277 * faces.el (face-spec-set-match-display): Don't match toolkit
278 options on terminal frames.
280 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
282 * progmodes/pascal.el: Use lexical binding.
283 (pascal-mode-map): Remove author preferences.
285 * pcomplete.el (pcomplete-std-complete): Don't abuse
288 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
290 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
291 removing code that has been dead since 1991 or so.
293 * startup.el (command-line): When warning about "_emacs", use a
294 delayed warning to allow the user to filter it out.
296 2011-04-28 Deniz Dogan <deniz@dogan.se>
298 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
301 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
303 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
304 aren't any completions at point.
306 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
308 * subr.el (display-delayed-warnings): New function.
309 (delayed-warnings-hook): New variable.
311 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
313 * minibuffer.el (completion-at-point, completion-help-at-point):
314 Don't presume that a given completion-at-point-function will always
315 use the same calling convention.
317 * pcomplete.el (pcomplete-completions-at-point):
318 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
319 pcomplete-seen is non-nil.
320 (pcomplete-comint-setup): Also recognize the new comint/shell
321 completion functions.
322 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
323 pcomplete-seen is non-nil.
325 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
327 * calendar/icalendar.el (diary-lib): Add require statement.
328 (icalendar--create-uid): Read out a uid from a text-property on
329 the first character in the entry. This allows for code to add its
330 own uid to the entry.
331 (icalendar--convert-float-to-ical): Add export of
332 `diary-float'-entries save for those with the optional DAY
335 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
337 * subr.el (shell-quote-argument): Use alternate escaping strategy
338 when we spot a variable reference in a string.
340 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
342 * cus-start.el (all): Define customization for debug-on-event.
344 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
346 * subr.el (shell-quote-argument): Escape correctly under Windows.
348 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
350 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
352 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
354 * net/tramp.el (tramp-process-actions): Add POS argument.
355 Delete region between POS and (pos).
357 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
358 Use `nil' position in `tramp-process-actions' call.
359 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
361 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
362 position in `tramp-process-actions' call.
364 * net/trampver.el: Update release number.
366 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
368 * custom.el (defcustom): Obey lexical-binding.
370 Fix octave-inf completion problems reported by Alexander Klimov.
371 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
372 Inherit from octave-mode-syntax-table.
373 (inferior-octave-mode): Set info-lookup-mode.
374 (inferior-octave-completion-at-point): New function.
375 (inferior-octave-complete): Use it and completion-in-region.
376 (inferior-octave-dynamic-complete-functions): Use it as well, and use
377 comint-filename-completion.
378 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
379 symbol elements which shouldn't be word elements.
380 (octave-font-lock-keywords, octave-beginning-of-defun)
381 (octave-function-header-regexp): Adjust regexps accordingly.
382 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
384 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
386 * net/gnutls.el (gnutls-errorp): Declare before first use.
388 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
390 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
391 verify-error, and verify-hostname-error parameters. Check whether
392 default trustfile exists before going to use it. Add missing
393 argument to gnutls-message-maybe call. Return return value.
394 Reported by Claudio Bley <claudio.bley@gmail.com>.
395 (open-gnutls-stream): Add usage example.
397 * net/network-stream.el (network-stream-open-starttls): Give host
398 parameter to `gnutls-negotiate'.
399 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
400 * subr.el (shell-quote-argument): Escape correctly under Windows.
402 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
404 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
405 Use correct match group (bug#8438).
407 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
409 * emacs-lisp/package.el (package-built-in-p): Fix typo.
410 (package-menu--generate): New arg specifying packages to show.
411 (package-menu-refresh, package-menu-execute, list-packages):
413 (package-show-package-list): New function, replacing deleted
414 package--list-packages (renamed because it is non-internal).
416 * finder.el (finder-list-matches): Use package-show-package-list
417 instead of deleted package--list-packages.
419 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
420 Based on a previous implementation by Juanma Barranquero (Bug#8366).
421 (vc-annotate-mode-map): Bind it to RET.
423 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
425 * progmodes/etags.el (next-file): Don't use set-buffer to change
428 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
430 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
432 * apropos.el (apropos-label-face): Avoid variable-pitch face.
433 (apropos-accumulator): Doc fix.
434 (apropos-function, apropos-macro, apropos-command)
435 (apropos-variable, apropos-face, apropos-group, apropos-widget)
436 (apropos-plist): Add face property.
437 (apropos-symbols-internal): Fix indentation.
438 (apropos-print): Simplify help, and recognize apropos-multi-type.
439 (apropos-print-doc): Use button-type-get to extract the button's
440 face property. Fill docstring (Bug#8352).
442 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
444 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
446 * play/mpuz.el (mpuz-silent): Doc fix.
447 (mpuz-mode-map): Use mapc.
448 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
449 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
450 Fix typos in docstrings.
452 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
453 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
455 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
457 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
459 * minibuffer.el (completion--do-completion): Avoid the "Next char
460 not unique" prompt if icomplete-mode is enabled (Bug#5849).
462 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
463 mouse-2 into unread-command-events, it is interpreted correctly.
465 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
466 (image-toggle-display): Doc fix.
468 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
470 * textmodes/page.el (what-page): Use line-number-at-pos to
471 calculate line number (Bug#6825).
473 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
475 * eshell/esh-mode.el (find-tag-interactive): Declare function.
476 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
477 Pass argument NO-DEFAULT to `find-tag-interactive'.
479 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
481 Lexical-binding cleanup.
483 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
484 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
485 * progmodes/ada-prj.el (ada-prj-initialize-values)
486 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
487 (ada-prj-show-value):
488 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
489 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
490 (antlr-invalidate-context-cache, antlr-options-menu-filter)
491 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
492 * progmodes/bug-reference.el (bug-reference-push-button):
493 * progmodes/fortran.el (fortran-line-length):
494 * progmodes/glasses.el (glasses-change):
495 * progmodes/octave-mod.el (octave-fill-paragraph):
496 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
497 (python-pdbtrack-grub-for-buffer, python-sentinel):
498 * progmodes/sql.el (sql-save-connection):
499 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
500 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
501 Mark unused parameters.
503 * progmodes/compile.el (compilation--flush-directory-cache)
504 (compilation--flush-parse, compile-internal): Mark unused parameters.
505 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
506 (compilation-next-error-function): Remove unused variable `timestamp'.
508 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
509 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
511 * progmodes/dcl-mode.el (dcl-end-of-command):
512 Remove unused variable `start'.
513 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
514 (dcl-option-value-basic, dcl-option-value-offset)
515 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
516 Mark unused parameters.
517 (dcl-save-local-variable): Remove unused variable `val'.
520 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
521 Mark unused parameters.
522 (delphi-ignore-changes): Move before first use.
523 (delphi-charset-token-at): Remove unused variable `start'.
524 (delphi-else-start): Remove unused variable `if-count'.
525 (delphi-comment-block-start, delphi-comment-block-end):
526 Remove unused variable `kind'.
527 (delphi-indent-line): Remove unused variable `new-point'.
529 * progmodes/ebrowse.el (ebrowse-files-list)
530 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
531 Mark unused parameters. Don't quote `lambda'.
532 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
533 Don't quote `lambda'.
534 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
535 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
536 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
537 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
539 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
540 (ebrowse-view/find-file-and-search-pattern)
541 (ebrowse-view/find-member-declaration/definition):
542 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
543 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
544 Rename parameter PREFIX-ARG to PREFIX.
545 (ebrowse-tags-read-name): Remove unused variables `start' and
547 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
550 * progmodes/etags.el (local-find-tag-hook): Declare.
551 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
552 Mark unused parameters.
554 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
555 (executable-interpret): Mark unused parameter.
557 * progmodes/flymake.el (flymake-process-sentinel)
558 (flymake-after-change-function)
559 (flymake-create-temp-with-folder-structure)
560 (flymake-get-include-dirs-dot): Mark unused parameters.
561 (flymake-safe-delete-directory): Remove unused variable `err'.
563 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
564 (speedbar-timer-fn, speedbar-line-text)
565 (speedbar-change-expand-button-char, speedbar-delete-subblock)
566 (speedbar-center-buffer-smartly): Declare functions.
567 (gdb-find-watch-expression): Remove unused variable `array'.
568 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
569 (gdb-starting): Mark unused parameters.
570 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
571 (gdb-table-string): Remove unused variable `res'.
572 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
573 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
574 (gdb-display-buffer): Remove unused variable `cur-size'.
576 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
577 allow lexical-binding compilation.
578 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
579 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
580 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
581 Mark unused parameters.
582 (gud-gdb-marker-filter): Remove unused variable `match'.
583 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
584 lambda expressions and funcall them, instead of using `fset'.
586 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
587 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
589 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
590 variable `header-beg'; use `let'.
592 * progmodes/icon.el (indent-icon-exp): Remove unused variables
593 `restart', `last-sexp' and `at-do'.
595 * progmodes/js.el (js--debug): Mark unused parameter.
596 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
597 (js--splice-into-items): Remove unused variable `item'.
598 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
600 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
601 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
602 (makefile-complete): Remove unused variable `try'.
603 (makefile-fill-paragraph, makefile-match-function-end):
604 Mark unused parameters.
606 * progmodes/octave-inf.el (inferior-octave-complete):
607 Remove unused variable `proc'.
608 (inferior-octave-output-digest): Mark unused parameter.
610 * progmodes/perl-mode.el (perl-calculate-indent):
611 Remove unused variable `err'.
613 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
614 (prolog-indent-line): Mark unused parameters.
615 (prolog-indent-line): Remove unused variable `beg'.
617 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
618 (reporter-dont-compact-list): Declare.
620 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
621 Remove unused variable `char'.
622 (sh-debug): Mark unused parameter.
623 (sh-get-indent-info): Remove unused variable `start'.
624 (sh-calculate-indent): Remove unused variable `var'.
626 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
627 (simula-electric-keyword): Remove unused variable `null'.
628 (simula-search-backward, simula-search-forward): Remove unused
629 variables `begin' and `end'.
631 * progmodes/vera-mode.el (vera-guess-basic-syntax):
632 Remove unused variable `pos'.
633 (vera-electric-tab, vera-comment-uncomment-region):
634 Mark unused parameters.
635 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
637 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
639 * emacs-lisp/package.el (package--builtins, package-alist)
640 (package-load-descriptor, package-built-in-p, package-activate)
641 (define-package, package-installed-p)
642 (package-compute-transaction, package-buffer-info)
643 (package--push): Doc fix. Distinguish more clearly between
644 version strings and version lists.
646 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
648 Lexical-binding cleanup.
650 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
651 (5x5-make-mutate-best):
652 * play/fortune.el (fortune-in-buffer):
653 * play/gomoku.el (gomoku-init-display):
654 * play/solitaire.el (solitaire, solitaire-do-check):
655 * play/tetris.el (tetris-default-update-speed-function):
656 Mark unused parameters.
658 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
659 (bubbles--shift): Remove unused variable `char-org'.
660 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
661 (bubbles--show-images): Remove unused variable `char'.
663 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
664 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
665 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
666 (decipher-analyze-buffer): Use ?\s.
667 (decipher-make-checkpoint): Remove unused variable `mapping'.
669 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
671 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
672 Remove unused variable `result'; use `let'.
674 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
675 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
676 (gametree-children-shown-p, gametree-compute-reduced-score):
679 * play/handwrite.el (ps-lpr-switches): Declare.
680 (handwrite): Remove unused variables `pmin' and `lastp'.
682 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
684 * play/landmark.el (landmark-init-display)
685 (landmark-update-naught-weights): Mark unused parameters.
686 (landmark-y): Remove unused variable `noise'. Simplify.
687 (landmark-human-plays): Remove unused variable `score'.
689 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
690 (mpuz-try-proposal): Remove unused variable `game'.
692 * play/zone.el (life-patterns): Declare.
694 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
696 * vc/vc.el (ediff-vc-internal): Declare function.
698 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
700 * shell.el: Use lexical-binding and std completion UI.
701 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
702 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
703 comint-preoutput-filter-functions rather than on
704 comint-output-filter-functions.
705 (shell-command-completion, shell--command-completion-data)
706 (shell-filename-completion, shell-environment-variable-completion)
707 (shell-c-a-p-replace-by-expanded-directory): New functions.
708 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
709 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
710 (shell-dynamic-complete-environment-variable): Use them.
711 (shell-dynamic-complete-as-environment-variable)
712 (shell-dynamic-complete-as-command): Remove.
713 (shell-match-partial-variable): Match past point.
714 * comint.el: Clean up use of completion-at-point-functions.
715 (comint-completion-at-point): New function.
716 (comint-mode): Use it completion-at-point-functions.
717 (comint-dynamic-complete): Make it obsolete.
718 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
719 (comint-c-a-p-replace-by-expanded-history): New function.
720 (comint-dynamic-complete-functions)
721 (comint-replace-by-expanded-history): Use it.
722 * minibuffer.el (completion-table-with-terminator): Allow dynamic
723 termination strings. Try harder to avoid second try-completion.
724 (completion-in-region-mode-map): Disable bindings that don't work yet.
726 * comint.el: Use lexical-binding. Require CL.
727 (comint-dynamic-complete-functions): Use comint-filename-completion.
728 (comint-completion-addsuffix): Tweak custom type.
729 (comint-filename-completion, comint--common-suffix)
730 (comint--common-quoted-suffix, comint--table-subvert)
731 (comint--complete-file-name-data): New functions.
732 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
733 (comint-dynamic-list-filename-completions): Use them.
734 (comint-dynamic-simple-complete): Make obsolete.
736 * minibuffer.el (completion-in-region-mode):
737 Keep completion-in-region-mode--predicate global.
738 (completion-in-region--postch):
739 Assume completion-in-region-mode--predicate is not null.
741 * progmodes/flymake.el (flymake-start-syntax-check-process):
742 Obey `dir'. Simplify.
744 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
745 we're in VC after all.
747 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
749 * vc/vc.el (vc-diff-build-argument-list-internal)
750 (vc-version-ediff, vc-ediff): New commands.
751 (vc-version-diff): Use vc-diff-build-argument-list-internal.
753 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
755 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
758 * obsolete/erc-hecomplete.el: Make obsolete.
759 * obsolete/: Standardize obsolescence info in the header.
761 2011-04-20 Glenn Morris <rgm@gnu.org>
763 * calendar/solar.el (solar-horizontal-coordinates):
764 Use the longitude argument rather than `calendar-longitude'.
765 (solar-date-next-longitude): Remove unused locals.
767 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
769 * whitespace.el: New version 13.2.1.
771 2011-04-20 felix <EmacsWiki> (tiny change)
773 * whitespace.el (global-whitespace-mode): keep highlight when
774 switching between major modes on a file.
776 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
778 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
779 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
780 multi-line comments as well.
782 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
784 Lexical-binding cleanup.
786 * arc-mode.el (archive-mode-revert):
787 * cmuscheme.el (scheme-interactively-start-process):
788 * custom.el (custom-initialize-delay):
789 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
790 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
791 * emacs-lock.el (emacs-lock-clear-sentinel):
792 * ezimage.el (defezimage):
793 * follow.el (follow-avoid-tail-recenter):
794 * fringe.el (set-fringe-mode-1):
795 * generic-x.el (bat-generic-mode-compile):
796 * help-mode.el (help-info-variable, help-do-xref)
797 (help-mode-revert-buffer):
798 * help.el (view-emacs-todo):
799 * iswitchb.el (iswitchb-completion-help):
800 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
801 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
802 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
803 * locate.el (locate-update):
804 * longlines.el (longlines-encode-region)
805 (longlines-after-change-function):
806 * outline.el (outline-isearch-open-invisible):
807 * ps-def.el (declare-function, charset-dimension, char-width)
809 * ps-mule.el (ps-mule-plot-string):
810 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
811 (recentf-edit-list-select, recentf-edit-list-validate)
812 (recentf-open-files-action):
813 * rect.el (delete-whitespace-rectangle-line)
814 (rectangle-number-line-callback):
815 * register.el (window-configuration-to-register)
816 (frame-configuration-to-register):
817 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
818 * select.el (xselect-convert-to-string, xselect-convert-to-length)
819 (xselect-convert-to-targets, xselect-convert-to-delete)
820 (xselect-convert-to-filename, xselect-convert-to-charpos)
821 (xselect-convert-to-lineno, xselect-convert-to-colno)
822 (xselect-convert-to-os, xselect-convert-to-host)
823 (xselect-convert-to-user, xselect-convert-to-class)
824 (xselect-convert-to-name, xselect-convert-to-integer)
825 (xselect-convert-to-atom, xselect-convert-to-identity):
826 * subr.el (declare, ignore, process-kill-without-query)
827 (text-clone-maintain):
828 * terminal.el (te-get-char, te-tic-sentinel):
829 * tool-bar.el (tool-bar-make-keymap):
830 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
831 * type-break.el (type-break-mode, type-break-noninteractive-query):
832 * view.el (View-back-to-mark):
833 * wid-browse.el (widget-browse-action, widget-browse-widget)
834 (widget-browse-widgets, widget-browse-sexp):
835 * widget.el (define-widget-keywords):
836 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
837 Mark unused parameters.
839 * align.el (align-adjust-col-for-rule): Mark unused parameter.
840 (align-areas): Remove unused variable `look'.
841 (align-region): Remove unused variables `real-end' and `pos-list'.
843 * apropos.el (apropos-score-doc): Remove unused variable `i'.
845 * bindings.el (mode-line-modified, mode-line-remote):
846 Mark unused parameters.
847 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
849 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
850 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
852 * comint.el (comint-history-isearch-pop-state)
853 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
854 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
855 (comint-substitute-in-file-name): Doc fix.
857 * completion.el (cmpl-statistics-block): Mark unused parameter.
858 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
859 (save-completions-to-file, load-completions-from-file):
860 Remove unused local variable `e'.
862 * composite.el (compose-chars): Remove unused variable `len'.
863 (lgstring-insert-glyph): Remove unused variable `g'.
864 (compose-glyph-string): Remove unused variables `ascent',
865 `descent', `lbearing' and `rbearing'.
866 (compose-glyph-string-relative): Remove unused variables
867 `lbearing', `rbearing' and `wadjust'.
868 (compose-gstring-for-graphic): Remove unused variables `header',
869 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
870 (compose-gstring-for-terminal): Remove unused variables `header'
871 and `nchars'. Use `let', not `let*'.
873 * cus-edit.el (Custom-set, Custom-save, custom-reset)
874 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
875 (Custom-buffer-done, custom-buffer-create-internal)
876 (custom-browse-visibility-action, custom-browse-group-tag-action)
877 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
878 (widget-magic-mouse-down-action, custom-toggle-parent)
879 (custom-add-parent-links, custom-toggle-hide-variable)
880 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
881 (custom-toggle-hide-face, face, hook, custom-group-link-action)
882 (custom-face-menu-create, custom-variable-menu-create, get)
883 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
884 (custom-reset-standard-save-and-update): Remove unused variable `value'.
885 (customize-apropos): Remove unused variable `tests'.
886 (custom-group-value-create): Remove unused variable `hidden-p'.
887 (sort-fold-case): Declare.
889 * cus-theme.el (custom-reset-standard-faces-list)
890 (custom-reset-standard-variables-list): Declare.
891 (customize-create-theme, custom-theme-revert, custom-theme-write)
892 (custom-theme-choose-mode, customize-themes, custom-theme-save):
893 Mark unused parameters.
895 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
897 * delim-col.el (delimit-columns-max): Move defvar before first use.
899 * descr-text.el (describe-char-categories): Don't quote `lambda'.
900 (describe-char): Don't quote `lambda'. Mark unused parameter.
902 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
903 (auto-insert): Declare.
904 (desktop-restore-file-buffer): Rename desktop-* parameters;
906 (desktop-create-buffer): Rename desktop-* parameters and bind them.
907 (desktop-buffer): Rename desktop-* parameters.
909 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
910 (dframe-reposition-frame-xemacs, dframe-help-echo)
911 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
912 Mark unused parameters.
914 * dired-aux.el (backup-extract-version-start, overwrite-query)
915 (overwrite-backup-query, rename-regexp-query)
916 (rename-non-directory-query): Declare.
917 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
918 (dired-add-entry): Remove unused variable `orig-file-name'.
919 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
920 Use parameter PRESERVE-TIME instead of accessing dynamic variable
921 `dired-copy-preserve-time' directly.
922 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
923 (dired-insert-subdir-newpos): Rename unused variable `pos'.
925 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
926 (dired-virtual-revert, dired-make-relative-symlink):
927 Mark unused parameters.
928 (manual-program): Declare.
929 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
930 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
931 wrapped in `with-no-warnings' to avoid replacing one warning by another.
933 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
935 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
937 * echistory.el (electric-history-in-progress, Helper-return-blurb):
940 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
942 * electric.el (Electric-command-loop): Rename parameter
943 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
945 * expand.el (expand-in-literal): Remove unused variable `here'.
947 * facemenu.el (facemenu-add-new-color):
948 Remove unused variable `docstring'.
950 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
951 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
952 (face-attr-construct): Mark unused parameter. Doc fix.
953 (read-color): Remove unused variable `hex-string'.
955 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
956 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
957 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
958 (display-buffer-other-frame): Remove unused variable `old-window'.
959 (kill-buffer-hook): Declare.
960 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
961 Mark unused parameters.
962 (after-find-file): Pass 1 to `auto-save-mode', not t.
964 * files-x.el (auto-insert): Declare.
965 (modify-file-local-variable-prop-line): Remove unused variable `val'.
967 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
968 variable `buf'. Mark unused parameter.
969 (find-lisp-insert-directory): Mark unused parameter.
971 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
972 (format-encode-region): Remove unused variables `cur-buf' and `result'.
973 (format-common-tail): Remove, unused.
974 (format-deannotate-region): Remove unused variable `loc'.
975 (format-annotate-region): Remove unused variable `p'.
976 (format-annotate-single-property-change): Remove unused variables
977 `default' and `tail'.
979 * forms.el (read-file-filter): Declare.
980 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
982 * frame.el (frame-creation-function-alist): Mark unused parameter.
983 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
985 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
986 Remove unused parameters.
987 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
988 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
990 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
991 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
992 (hfy-prepare-tag-map): Mark unused parameters.
993 (htmlfontify-buffer): Use `called-interactively-p'.
995 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
996 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
997 (ibuffer-do-occur): Mark unused parameters.
998 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
999 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1001 * ibuffer.el: Don't quote `lambda'.
1002 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1003 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1004 Mark unused parameters.
1006 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1007 (ido-completing-read): Mark unused parameters.
1008 (ido-copy-current-word): Mark unused parameters;
1009 remove unused variable `name'.
1010 (ido-sort-merged-list): Remove unused parameter `dirs'.
1012 * ielm.el (ielm-input-sender): Mark unused parameter.
1013 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1014 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1015 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1016 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1017 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1019 * image-dired.el (image-dired-display-thumbs): Remove unused
1020 variables `curr-file' and `count'.
1021 (image-dired-remove-tag): Remove unused variable `start'.
1022 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1023 variable `curr-file'
1024 (image-dired-rotate-original): Remove unused variable `temp-file'.
1025 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1026 Remove unused variable `file'.
1027 (image-dired-gallery-generate): Remove unused variable `curr'.
1028 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1030 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1032 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1034 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1036 * isearch.el (minibuffer-history-symbol): Declare.
1037 (isearch-edit-string): Remove unused variable `err'.
1038 (isearch-message-prefix, isearch-message-suffix):
1039 Mark unused parameters.
1041 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1043 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1045 * makesum.el (double-column): Remove unused variable `cnt'.
1047 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1048 (ido-ignore-item-temp-list): Declare.
1050 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1051 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1052 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1053 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1056 * mouse-sel.el (mouse-extend-internal):
1057 Remove unused variable `orig-window-frame'.
1059 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1060 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1061 Move declarations before first use.
1062 (pcomplete-opt): Mark unused parameters; doc fix.
1064 * proced.el (proced-revert): Mark unused parameter.
1065 (proced-send-signal): Remove unused variable `err'.
1067 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1068 Rename parameter PREFIX-ARG to ARG.
1069 (ps-basic-plot-string, ps-basic-plot-whitespace):
1070 Mark unused parameters.
1072 * replace.el (replace-count): Define.
1073 (occur-revert-function): Mark unused parameters.
1074 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1075 (isearch-case-fold-search, isearch-string): Declare.
1076 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1077 bind `case-fold-search'. Remove unused variables `beg' and `end',
1079 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1080 COUNT and bind `replace-count'.
1081 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1084 * savehist.el (print-readably, print-string-length): Declare.
1086 * shadowfile.el (shadow-expand-cluster-in-file-name):
1087 Remove unused variable `cluster'.
1088 (shadow-copy-file): Remove unused variable `i'.
1089 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1090 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1091 (shadow-define-literal-group, shadow-define-regexp-group)
1092 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1094 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1095 (shell): Use `called-interactively-p'.
1096 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1098 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1099 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1100 (delete-backward-char): Remove unused variable `ocol'.
1101 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1102 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1103 (event-apply-hyper-modifier, event-apply-shift-modifier)
1104 (event-apply-control-modifier, event-apply-meta-modifier):
1105 Mark unused parameters.
1106 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1107 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1109 * speedbar.el (speedbar-ignored-directory-expressions)
1110 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1111 (speedbar-find-file, speedbar-dir-follow)
1112 (speedbar-directory-buttons-follow, speedbar-tag-find)
1113 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1114 (speedbar-buffers-line-directory, speedbar-buffer-click):
1115 Mark unused parameters.
1116 (speedbar-tag-file): Remove unused variable `mode'.
1117 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1119 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1121 * talk.el (talk): Remove unused variable `display'.
1123 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1124 (tar-write-region-annotate): Mark unused parameter.
1126 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1127 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1128 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1131 * time-stamp.el (time-stamp-string-preprocess):
1132 Remove unused variable `require-padding'.
1134 * tree-widget.el (widget-glyph-enable): Declare.
1135 (tree-widget-action): Mark unused parameter.
1137 * w32-fns.el (x-get-selection): Mark unused parameter.
1138 (autoload-make-program, generated-autoload-file): Declare.
1140 * wdired.el (wdired-revert): Mark unused parameters.
1141 (wdired-xcase-word): Remove unused variable `err'.
1143 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1144 (whitespace-help-scroll): Remove unused variable `data-help'.
1146 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1147 (widget-image-insert, widget-after-change, default)
1148 (widget-default-format-handler, widget-default-notify)
1149 (widget-default-prompt-value, widget-info-link-action)
1150 (widget-url-link-action, widget-function-link-action)
1151 (widget-variable-link-action, widget-file-link-action)
1152 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1153 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1154 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1155 (widget-insert-button-action, widget-delete-button-action, visibility)
1156 (widget-documentation-link-action, widget-documentation-string-action)
1157 (widget-const-prompt-value, widget-regexp-match, symbol)
1158 (widget-coding-system-prompt-value)
1159 (widget-key-sequence-value-to-external, sexp)
1160 (widget-sexp-value-to-internal, character, vector, cons)
1161 (widget-choice-prompt-value, widget-boolean-prompt-value)
1162 (widget-color--choose-action): Mark unused parameters.
1163 (widget-item-match-inline, widget-choice-match-inline)
1164 (widget-checklist-match, widget-checklist-match-inline)
1165 (widget-group-match): Rename parameter VALUES to VALS.
1166 (widget-field-value-set): Remove unused variable `size'.
1167 (widget-color-action): Remove unused variables `value' and `start'.
1169 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1170 variable `dir'. Doc fix.
1171 (windmove-find-other-window): Don't pass it.
1173 * window.el (count-windows): Mark unused parameter.
1174 (bw-adjust-window): Remove unused variable `err'.
1176 * woman.el (woman-file-name): Remove unused variable `default'.
1177 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1178 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1179 (global-font-lock-mode): Declare.
1180 (woman-decode-region): Mark unused parameter.
1181 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1183 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1184 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1185 (x-dnd-handle-moz-url): Remove unused variable `title'.
1186 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1188 * xml.el (xml-parse-tag, xml-parse-attlist):
1189 Remove unused variable `pos'.
1191 2011-04-19 Glenn Morris <rgm@gnu.org>
1193 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1194 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1195 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1196 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1197 * calendar/cal-html.el (cal-html-insert-minical):
1198 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1199 (calendar-mark-date-pattern):
1200 Prefix "unused" locals.
1202 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1203 optional argument `style'.
1205 * calendar/appt.el (appt-make-list):
1206 * calendar/cal-china.el (calendar-chinese-date-string):
1207 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1208 (diary-hebrew-yahrzeit):
1209 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1210 * calendar/calendar.el (calendar-generate-window):
1211 * calendar/time-date.el (time-to-days):
1212 Remove unused local variables.
1214 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1216 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1217 glyphless-char-display table.
1218 (tabulated-list-glyphless-char-display): New var.
1220 2011-04-18 Sam Steingold <sds@gnu.org>
1222 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1225 2011-04-17 Glenn Morris <rgm@gnu.org>
1227 * calendar/diary-lib.el (diary-sexp-entry):
1228 * calendar/holidays.el (holiday-sexp):
1229 Set debug-on-error rather than the removed stack-trace-on-error.
1231 2011-04-16 Glenn Morris <rgm@gnu.org>
1233 * progmodes/f90.el: Use lexical-binding.
1234 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1236 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1239 (mail-mode): Setup mailalias completion here instead.
1240 * mail/mailalias.el: Use lexical-binding.
1241 (pattern, mailalias-done): Declare dynamic.
1242 (mail-completion-at-point-function): New function, from mail-complete.
1243 (mail-complete): Use it.
1244 (mail-completion-expand): New function.
1245 (mail-get-names): Use it.
1246 (mail-directory, mail-directory-process, mail-directory-stream):
1247 Don't use `pattern' for lexically bound arg.
1249 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1251 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1252 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1253 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1255 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1256 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1257 (byte-interactive-p): Define them again, for use when inlining
1260 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1262 * loadup.el: Use `string-to-number', not `string-to-int'.
1264 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1267 gud-gdb-complete-command.
1268 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1269 (gud-gdb-completion-at-point): New function.
1270 (gud-gdb-completions): Remove.
1272 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1274 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1275 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1276 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1277 whether `executable-find' is bound.
1279 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1281 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * minibuffer.el (completion-in-region-mode-predicate)
1284 (completion-in-region-mode--predicate): New vars.
1285 (completion-in-region, completion-in-region--postch)
1286 (completion-in-region-mode): Use them.
1287 (completion--capf-wrapper): Also return the hook function.
1288 (completion-at-point, completion-help-at-point):
1289 Adjust and provide a predicate.
1291 Preserve arg names for advice of subr and lexical functions (bug#8457).
1292 * help-fns.el (help-function-arglist): Consolidate the subr and
1293 new-byte-code cases. Add argument `preserve-names' to extract names
1294 from the docstring when needed.
1295 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1296 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1297 (ad-arglist): Use help-function-arglist's new arg.
1298 (ad-definition-type): Use cond.
1300 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1302 * autorevert.el (auto-revert-handler):
1303 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1304 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1307 * image-mode.el (image-transform-set-scale):
1308 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1310 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1312 * net/network-stream.el (network-stream-open-starttls): Only do
1313 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1314 Upgrades via gnutls-cli are too slow to be done opportunistically.
1316 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1318 * dframe.el (dframe-current-frame): Remove spurious quote.
1320 2011-04-12 Glenn Morris <rgm@gnu.org>
1322 * calendar/cal-tex.el (cal-tex-end-document):
1323 Try to automatically use latin1 input if needed.
1325 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1326 Don't try to cons a mark onto an empty element.
1328 2011-04-11 Leo Liu <sdl.web@gmail.com>
1330 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1332 (ido-kill-buffer-at-head): Support killing virtual buffers.
1334 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1336 * minibuffer.el (completion-show-inline-help): New var.
1337 (completion--do-completion, minibuffer-complete)
1338 (minibuffer-force-complete, minibuffer-complete-word):
1339 Inhibit minibuffer messages if completion-show-inline-help is nil.
1341 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1342 to avoid interference from inline help (Bug#5849).
1344 2011-04-10 Leo Liu <sdl.web@gmail.com>
1346 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1349 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1351 * image-mode.el (image-toggle-display-image): Signal an error if
1353 (image-transform-mode, image-transform-resize)
1354 (image-transform-set-rotation): Doc fix.
1355 (image-transform-set-resize): Delete.
1356 (image-transform-set-scale, image-transform-fit-to-height)
1357 (image-transform-fit-to-width): Handle image-toggle-display-image
1358 and image-transform-resize directly.
1360 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1362 * doc-view.el (doc-view-fit-width-to-window)
1363 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1364 New functions for fitting the shown image to the Emacs window size.
1365 (doc-view-mode-map): Add bindings for the new functions.
1367 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1369 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1370 Fix typo in docstring.
1372 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1374 * files.el (file-size-human-readable): Produce one digit after
1375 decimal, like "ls -lh" does.
1377 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1378 the file size representation.
1380 * simple.el (list-processes): If async subprocesses are not
1381 available, error out with a clear error message.
1383 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1385 * help.el (help-form-show): New function, to be called from C.
1386 Put help-form output in a buffer named differently than *Help*.
1388 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1390 * files.el (file-size-human-readable): New function.
1392 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1393 computing the representation inline. Don't require `cl'.
1395 2011-04-08 Glenn Morris <rgm@gnu.org>
1397 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1399 * net/browse-url.el (browse-url-firefox):
1400 Test system-type, not system-configuration.
1402 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1403 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1404 Use log-edit-empty-buffer-p. (Bug#7598)
1406 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1407 (rlogin-mode-map): Initialize in the defvar.
1408 (rlogin): Use ignore-errors.
1410 * replace.el (occur-mode-map): Some fixes for menu items.
1412 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1414 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1416 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1418 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1419 issuing unused warnings.
1421 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1424 * simple.el: Lisp reimplement of list-processes. Based on an
1425 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1426 (process-menu-mode): New major mode.
1427 (list-processes--refresh, list-processes):
1428 (process-menu-visit-buffer): New functions.
1430 * files.el (save-buffers-kill-emacs): Don't assume any return
1431 value of list-processes, which is undocumented anyway.
1433 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1435 * emacs-lisp/tabulated-list.el: New file.
1437 * emacs-lisp/package.el: Use Tabulated List mode.
1438 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1439 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1440 table format using Tabulated List mode variables.
1441 (package--push): New macro, replacing package-list-maybe-add.
1442 (package-menu--generate): Use package--push. Renamed from
1443 package--generate-package-list.
1444 (package-menu-refresh, list-packages): Use it.
1445 (package-menu--print-info): Rename from package-print-package.
1446 Return insertion data instead of inserting it directly.
1447 (package-menu-describe-package, package-menu-execute):
1448 Use tabulated-list-get-id.
1449 (package-menu-mark-delete, package-menu-mark-install)
1450 (package-menu-mark-unmark, package-menu-backup-unmark)
1451 (package-menu-mark-obsolete-for-deletion):
1452 Use tabulated-list-put-tag.
1453 (package--list-packages, package-menu-revert)
1454 (package-menu-get-package, package-menu-get-version)
1455 (package-menu-sort-by-column): Functions deleted.
1456 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1457 (package-menu--status-predicate, package-menu--version-predicate)
1458 (package-menu--name-predicate)
1459 (package-menu--description-predicate): Handle arguments in the
1460 Tabulated List format.
1461 (package-list-packages-no-fetch): Call list-packages.
1463 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1465 * files.el (after-find-file-from-revert-buffer): Remove variable.
1466 (after-find-file): Don't bind it.
1467 (revert-buffer-in-progress-p): New variable.
1468 (revert-buffer): Bind it.
1469 Pass nil for `after-find-file-from-revert-buffer'.
1471 * saveplace.el (save-place-find-file-hook): Use new variable
1472 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1474 2011-04-06 Glenn Morris <rgm@gnu.org>
1476 * Makefile.in (AUTOGEN_VCS): New variable.
1477 (autoloads): Use $AUTOGEN_VCS.
1479 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1480 * calendar/calendar.el (calendar-mode-map):
1481 Check for toolkit scroll bars. (Bug#8305)
1483 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1485 * minibuffer.el (completion-in-region--postch)
1486 (completion-in-region-mode): Remove unnecessary messages.
1488 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1490 * font-lock.el (font-lock-refresh-defaults):
1491 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1492 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1494 * info.el (Info-directory-list, Info-read-node-name-2)
1495 (Info-split-parameter-string): Doc fixes.
1496 (Info-virtual-nodes): Reflow docstring.
1497 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1498 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1499 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1500 Fix typos in docstrings.
1501 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1502 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1503 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1504 (Info-restore-desktop-buffer): Mark unused parameters.
1505 (Info-directory-find-file, Info-directory-find-node)
1506 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1507 (Info-virtual-index-find-node, Info-apropos-find-file)
1508 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1509 Mark unused parameters; fix typos in docstrings.
1510 (Info-virtual-index): Remove unused local variable `nodename'.
1512 2011-04-05 Deniz Dogan <deniz@dogan.se>
1514 * net/rcirc.el: Update my e-mail address.
1515 (rcirc-mode-map): Remove M-o binding.
1517 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1519 * startup.el (command-line): Save the cursor's theme-face
1520 directly, instead of using face-override-spec.
1522 * custom.el (load-theme): Minor optimization in assigning faces.
1524 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1526 * help-fns.el (describe-variable): Complete all variables having
1527 documentation, including keywords.
1528 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1530 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1532 Convert to lexical-binding.
1534 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1535 (bs--get-marked-string, bs--get-modified-string)
1536 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1537 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1538 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1540 * ehelp.el (electric-help-execute-extended)
1541 (electric-help-ctrl-x-prefix):
1542 * hexl.el (hexl-revert-buffer-function):
1543 * linum.el (linum-after-change, linum-after-scroll):
1544 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1546 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1548 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1555 * epg.el: Use lexical binding.
1557 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1559 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1561 * textmodes/flyspell.el (flyspell-word): Recognize default
1562 dictionary case for flyspell-mark-duplications-exceptions.
1563 Use regexp matching for languages.
1564 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1565 default dictionary (Bug#7926).
1567 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1569 * emacs-lisp/package.el (package--with-work-buffer):
1570 Recognize https URLs.
1572 * net/network-stream.el: Move from gnus/proto-stream.el.
1573 Change prefix to network-stream throughout.
1574 (open-protocol-stream): Merge into open-network-stream, leaving
1575 open-protocol-stream as an alias. Handle nil BUFFER args.
1577 * subr.el (open-network-stream): Move to net/network-stream.el.
1579 2011-04-02 Glenn Morris <rgm@gnu.org>
1581 * find-dired.el (find-exec-terminator): New option.
1582 (find-ls-option): Test for -ls support.
1583 (find-ls-subdir-switches): Test for -b in find-ls-option.
1584 (find-dired, find-grep-dired): Doc fixes.
1585 (find-dired): Use find-exec-terminator.
1587 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1588 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1589 (find-name-arg): Remove purecopy.
1591 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1592 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1593 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1594 accordingly. Don't add the null-device if not needed.
1596 * files.el (save-some-buffers): Doc fix.
1598 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1600 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1602 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1604 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1605 Use `dolist' rather than `mapcar'.
1607 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1609 Add lexical binding.
1611 * subr.el (apply-partially): Use new closures rather than CL.
1612 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1613 (dolist, dotimes): Use slightly different expansion for lexical code.
1614 (functionp): Move to C.
1615 (letrec): New macro.
1616 (with-wrapper-hook): Use it and apply-partially instead of CL.
1617 (eval-after-load): Preserve lexical-binding.
1618 (save-window-excursion, with-output-to-temp-buffer): Turn them
1621 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1623 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1625 (help-add-fundoc-usage): Don't add `Not documented'.
1626 (help-function-arglist): Handle closures, subroutines, and new
1627 byte-code-functions.
1628 (help-make-usage): Remove leading underscores.
1629 (describe-function-1): Handle closures.
1630 (describe-variable): Use special-variable-p for completion.
1632 * files.el (lexical-binding): Declare safe.
1634 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1635 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1636 (pcase): Add `let' pattern.
1637 Change memoization so it actually works.
1638 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1639 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1642 * emacs-lisp/macroexp.el: Use lexical binding.
1643 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1644 Don't convert ' to #' without checking that it's indeed quoting
1647 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1648 Use eval-sexp-add-defvars.
1649 (eval-sexp-add-defvars): New fun.
1651 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1653 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1655 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1656 than the internal `byte-compile-lambda'.
1657 (defmethod): Don't hide code under quotes.
1658 (eieio-defmethod): New `code' argument.
1660 * emacs-lisp/eieio-comp.el: Remove.
1662 * emacs-lisp/edebug.el (edebug-eval-defun)
1663 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1664 (edebug-toggle): Avoid `eval'.
1666 * emacs-lisp/disass.el (disassemble-internal): Handle new
1668 (disassemble-1): Handle new byte codes.
1670 * emacs-lisp/cl.el (pushnew): Silence warning.
1672 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1673 (cl-byte-compile-throw): Remove.
1674 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1676 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1679 * emacs-lisp/cconv.el: New file.
1681 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1682 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1683 (byte-compile-initial-macro-environment):
1684 Handle declare-function here.
1685 (byte-compile--lexical-environment): New var.
1686 (byte-stack-ref, byte-stack-set, byte-discardN)
1687 (byte-discardN-preserve-tos): New lap codes.
1688 (byte-interactive-p): Don't use any more.
1689 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1691 (byte-compile-lapcode): Use them and handle new lap codes.
1692 (byte-compile-obsolete): Remove.
1693 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1694 (byte-compile-arglist-warn): Check late def of inlinable funs.
1695 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1696 since they should have been expanded by now.
1697 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1698 (byte-compile-from-buffer): Remove unused second arg.
1699 (byte-compile-preprocess): New function.
1700 (byte-compile-toplevel-file-form): New function to distinguish
1701 file-form calls from outside from file-form calls from hunk-handlers.
1702 (byte-compile-file-form): Simplify.
1703 (byte-compile-file-form-defsubst): Remove.
1704 (byte-compile-file-form-defmumble): Simplify now that
1705 byte-compile-lambda always returns a byte-code-function.
1706 (byte-compile): Preprocess.
1707 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1708 Remove, not used any more.
1709 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1710 (byte-compile-make-args-desc): New funs.
1711 (byte-compile-lambda): Handle lexical functions. Always return
1712 a byte-code-function.
1713 (byte-compile-reserved-constants): New var, to make up room for
1714 closed-over variables.
1715 (byte-compile-constants-vector): Obey it.
1716 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1717 (byte-compile-macroexpand-declare-function): New function.
1718 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1719 byte-code-functions.
1720 (byte-compile-form): Check obsolescence here.
1721 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1722 (byte-compile-variable-ref): Remove.
1723 (byte-compile-dynamic-variable-op): New fun.
1724 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1725 (byte-compile-variable-set): New funs.
1726 (byte-compile-discard): Add 2 args.
1727 (byte-compile-stack-ref, byte-compile-stack-set)
1728 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1729 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1730 macroexpand-all instead.
1731 (byte-compile-quote-form): Remove.
1732 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1733 (byte-compile-bind, byte-compile-unbind): New funs.
1734 (byte-compile-let): Handle let* and lexical binding.
1735 (byte-compile-let*): Remove.
1736 (byte-compile-catch, byte-compile-unwind-protect)
1737 (byte-compile-track-mouse, byte-compile-condition-case):
1738 Handle a new :fun-body form, used for lexical scoping.
1739 (byte-compile-save-window-excursion)
1740 (byte-compile-with-output-to-temp-buffer): Remove.
1741 (byte-compile-defun): Simplify.
1742 (byte-compile-stack-adjustment): New fun.
1743 (byte-compile-out): Use it.
1744 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1746 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1749 * emacs-lisp/byte-opt.el: Use lexical binding.
1750 (byte-inline-lapcode): Remove (to bytecomp).
1751 (byte-compile-inline-expand): Pay attention to inlining to/from
1752 lexically bound code.
1753 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1755 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1756 any more and don't call compiler-macros.
1757 (byte-compile-splice-in-already-compiled-code): Remove.
1758 (byte-code): Don't inline any more.
1759 (disassemble-offset): Receive `bytes' as argument rather than via
1761 (byte-compile-tag-number): Declare before first use.
1762 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1763 `return' even if make-spliceable.
1764 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1765 obsolete interactive-p.
1766 (byte-optimize-lapcode): Optimize new lap-codes.
1767 Don't trip up on new form of `byte-constant' lap code.
1769 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1771 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1773 * custom.el (custom-initialize-default, custom-declare-variable):
1776 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1778 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1779 (COMPILE_FIRST): Add macroexp and cconv.
1780 * makefile.w32-in: Mirror changes in Makefile.in.
1786 * vc/smerge-mode.el:
1787 * textmodes/bibtex-style.el:
1796 * emacs-lisp/smie.el:
1799 * abbrev.el: Use lexical binding.
1801 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1803 * info.el (info-display-manual): New function.
1805 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1809 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1811 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1812 an entry for that server in rcirc-authinfo. (Bug#8385)
1814 2011-03-31 Glenn Morris <rgm@gnu.org>
1816 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1818 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1820 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1822 * progmodes/python.el (python-default-interpreter)
1823 (python-python-command-args, python-jython-command-args)
1824 (python-which-shell, python-which-args, python-which-bufname)
1825 (python-file-queue, python-comint-output-filter-function)
1826 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1827 variables and functions.
1829 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1831 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1832 (completion-in-region-mode): New minor mode.
1833 (completion-in-region): Use it.
1834 (completion-in-region--data, completion-in-region-mode-map): New vars.
1835 (completion-in-region--postch): New function.
1836 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1838 (completion--capf-wrapper): New function.
1839 (completion-at-point): Use it to track well-behavedness of
1841 (completion-help-at-point): New command.
1843 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1845 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1846 syntax class to search for whitespace on a single line
1847 (Message-ID: <4D938140.4030905@redhat.com>).
1849 2011-03-30 Leo Liu <sdl.web@gmail.com>
1851 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1853 (edit-abbrevs-map): Bind them here.
1854 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1856 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1858 * allout.el (allout-hide-by-annotation, allout-flag-region):
1859 Reduce possibility of overlay leakage by making them volatile.
1861 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1862 hash is not shared between buffers. Mode initialization is
1863 responsible for giving it a useful starting value.
1864 (allout-item-span): Reduce possibility of overlay leakage by
1865 making them volatile.
1866 (allout-widgets-count-buttons-in-region): Add diagnostic function
1867 for tracking down button overlay leaks.
1869 2011-03-29 Leo Liu <sdl.web@gmail.com>
1871 * ido.el (ido-read-internal): Use the default history var
1872 minibuffer-history if no HISTORY is specified.
1874 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1876 * net/imap.el (imap-shell-open, imap-process-connection-type):
1877 Use imap-process-connection-type for 'shell' streams as well as
1878 Kerberos, SSL, other subprocesses.
1880 2011-03-28 Leo Liu <sdl.web@gmail.com>
1882 * abbrev.el (abbrev-table-empty-p): New function.
1883 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1884 nonempty ones. (Bug#5937)
1886 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1888 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1890 2011-03-27 Leo Liu <sdl.web@gmail.com>
1892 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1893 for foreground and background colors.
1894 (ansi-color-make-color-map): Adapt.
1896 2011-03-25 Leo Liu <sdl.web@gmail.com>
1898 * midnight.el (midnight-time-float): Remove. Note it calculates
1899 the microsecond component incorrectly and seconds-to-time does the
1901 Remove redundant (require 'timer).
1903 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1904 (ido-completions): Remove unused arguments. (Bug#8329)
1906 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * minibuffer.el (completion--flush-all-sorted-completions):
1909 Remove itself from hook.
1910 (completion-at-point): Let the functions perform the completion
1911 immediately and return nil or t.
1912 * comint.el (comint-dynamic-complete-functions): Now identical to
1913 completion-at-point-functions.
1914 (comint-dynamic-list-input-ring): Remove unused var `index'.
1915 (comint--match-partial-filename, comint--unquote&expand-filename):
1916 New funs, split from comint-match-partial-filename.
1917 (comint-dynamic-complete): Use completion-at-point.
1918 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1920 2011-03-24 Drew Adams <drew.adams@oracle.com>
1922 * thingatpt.el: Support `defun'.
1924 2011-03-23 Leo Liu <sdl.web@gmail.com>
1926 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1928 * help-mode.el (help-mode-finish): Tweak regexp.
1930 2011-03-23 Glenn Morris <rgm@gnu.org>
1932 * eshell/esh-opt.el (eshell-eval-using-options):
1933 Do not bind unused local variable `eshell-option-stub'.
1935 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1937 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1939 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1940 keymap variable in `with-no-warnings' to avoid a warning when the
1941 keymap has been already `defconst'ed.
1943 2011-03-22 Leo Liu <sdl.web@gmail.com>
1945 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1946 encode all chars in abbrevs; otherwise use emacs-mule or
1947 utf-8-emacs. (Bug#8308)
1949 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1951 * simple.el (backward-delete-char-untabify):
1952 Avoid warning about using `delete-backward-char'.
1954 * image.el (image-type-file-name-regexps): Make it variable.
1955 `imagemagick-register-types' modifies it, and the user may want
1956 to add new extensions for known image types.
1957 (imagemagick-register-types): Throw error if not using ImageMagick.
1959 2011-03-22 Leo Liu <sdl.web@gmail.com>
1961 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1962 located before rcirc-prompt-end-marker.
1963 (rcirc-complete): Error if point is not after rcirc prompt.
1964 Handle the case when table is nil.
1965 (rcirc-user-authenticated): Define to fix compiler warning.
1967 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1969 * custom.el (custom--inhibit-theme-enable): Make it affect only
1970 custom-theme-set-variables and custom-theme-set-faces.
1971 (provide-theme): Ignore custom--inhibit-theme-enable.
1972 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1973 (custom-enabling-themes): Delete variable.
1974 (enable-theme): Accept only loaded themes as arguments.
1975 Ignore the special custom-enabled-themes variable.
1976 (custom-enabled-themes): Forbid themes from setting this.
1977 Eliminate use of custom-enabling-themes.
1978 (custom-push-theme): Quote "changed" custom var entry.
1980 2011-03-21 Leo Liu <sdl.web@gmail.com>
1982 * ido.el (ido-read-internal): Add ido-selected to history instead
1985 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * subr.el (deferred-action-list, deferred-action-function):
1990 2011-03-21 Leo Liu <sdl.web@gmail.com>
1992 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1993 change on 2011-02-13 (bug#8309).
1995 * minibuffer.el (read-file-name-function): Change default value.
1996 (read-file-name--defaults): Rename from read-file-name-defaults.
1997 (read-file-name-default): Rename from read-file-name.
1998 (read-file-name): Call read-file-name-function.
2000 2011-03-21 Glenn Morris <rgm@gnu.org>
2002 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2005 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2007 * cus-theme.el: Add missing provide statement.
2008 (customize-create-theme): Extract theme value correctly.
2009 (custom-theme-visit-theme): Autoload.
2010 (customize-create-theme): Prompt before inserting default faces.
2012 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2014 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2015 units and musical notes.
2017 2011-03-20 Leo <sdl.web@gmail.com>
2019 * ido.el (ido-read-internal): Use completing-read-default.
2020 (ido-completing-read): Fix compatibility with completing-read.
2022 2011-03-20 Christian Ohler <ohler@gnu.org>
2024 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2025 (ert-delete-all-tests): Use `called-interactively-p' rather than
2027 (ert--make-xrefs-region): Respect END.
2029 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2031 * dired-aux.el (dired-create-directory): Signal an error if the
2032 directory already exists (Bug#8246).
2034 * facemenu.el (list-colors-display): Call list-faces-display
2035 inside with-help-window.
2036 (list-colors-print): Use display property to align the final
2037 column, instead of checking window-width.
2039 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2041 * emerge.el (emerge-metachars): Separate value for ms-dos and
2043 (emerge-protect-metachars): Quote correctly for ms-dos and
2046 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2048 * info.el (info-initialize): Replace all uses of `:' with
2049 path-separator for compatibility with non-Unix systems.
2050 Cache quoting of path-separator. (Bug#8258)
2052 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2054 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2055 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2056 (mouse-avoidance-mode): Fix typos in docstrings.
2058 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2060 * startup.el (package-subdirectory-regexp): Move from package.el.
2061 Omit \\` and \\', and let callers add them.
2063 * emacs-lisp/package.el (package-strip-version)
2064 (package-load-all-descriptors): Add \\` and \\' to
2065 package-subdirectory-regexp before using it.
2066 (package-untar-buffer): New arg DIR; ensure that file untars only
2067 into this expected directory. Remove superfluous delete-region.
2068 (package-unpack): Caller changed.
2069 (package-tar-file-info): Use package-subdirectory-regexp.
2071 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2074 diff-mode-shared-map (bug#8284).
2075 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2077 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2079 * calendar/time-date.el (format-seconds): Use assoc instead of
2080 assoc-string, since assoc-string doesn't exist in XEmacs.
2082 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2084 * custom.el (custom-known-themes): Reflow docstring.
2085 (custom-theme-load-path): Fix typo in docstring.
2086 (load-theme): Fix typo in error message.
2087 (custom-available-themes, custom-variable-theme-value):
2088 Use `let', not `let*'.
2090 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2092 * calc/README: Mention inclusion of musical notes.
2094 * calc/calc-units.el (calc-lu-quant): Rename from
2095 `calc-logunits-quantity'.
2096 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2097 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2098 (calc-db): Rename from `calc-dblevel'.
2099 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2100 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2101 (calc-np): Rename from `calc-nplevel'.
2102 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2103 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2104 (calc-lu-plus): Rename from `calc-logunits-add'.
2105 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2106 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2107 (calc-lu-minus): Rename from `calc-logunits-sub'.
2108 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2109 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2110 (calc-lu-times): Rename from `calc-logunits-mul'.
2111 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2112 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2113 (calc-lu-divide): Rename from `calc-logunits-div'.
2114 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2115 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2117 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2118 functions being autoloaded.
2120 * calc/calc.el (calc-lu-power-reference): Rename from
2121 `calc-logunits-power-reference'.
2122 (calc-lu-field-reference): Rename from
2123 `calc-logunits-field-reference'.
2125 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2127 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * minibuffer.el (completion-all-sorted-completions):
2130 Use :completion-cycle-penalty text property if present.
2132 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2134 * allout.el (allout-yank-processing): Adjust for new rebulleting
2135 regime so bullet being yanked is used without prompting the user
2138 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2140 * startup.el (command-line): Warn the user that _emacs is deprecated.
2142 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2144 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2145 (delphi-verbose, delphi-comment-face, delphi-string-face)
2146 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2147 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2148 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2149 (delphi-new-comment-line, delphi-font-lock-defaults)
2150 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2151 Fix typos in docstrings.
2153 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2155 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2156 Invert the roles of character and string values for INSTEAD, so a
2157 string is used for the more common case of a defaulting prompt.
2159 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * progmodes/ruby-mode.el (ruby-backward-sexp):
2162 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2163 * play/gamegrid.el (gamegrid-make-face):
2164 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2165 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2166 * notifications.el (notifications-notify):
2167 * net/xesam.el (xesam-search-engines):
2168 * net/quickurl.el (quickurl-list-insert):
2169 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2171 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2173 * startup.el (command-line): Update package subdirectory regexp.
2175 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * allout.el (allout-abbreviate-flattened-numbering)
2178 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2180 * subr.el (read-char-choice): Only show the cursor after the prompt,
2181 not after the answer.
2183 2011-03-15 Kevin Ryde <user42@zip.com.au>
2185 * help-fns.el (variable-at-point): Skip leading quotes, if any
2188 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2190 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2193 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2195 * shell.el (shell): When called interactively, offer to change the
2196 shell file name on remote hosts.
2198 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2200 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2201 integration for LDAP parameters. The host, base, user or binddn,
2202 and secret tokens can be specified in a netrc file, for instance.
2203 This is optional because an `auth-source' parameter must be
2204 specified in the search attributes.
2206 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2208 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2210 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2212 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2213 into declaration. Remove redundant and harmful binding.
2215 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2217 * files.el (file-ownership-preserved-p): Pass `integer' as an
2218 explicit 2nd argument to `file-attributes'. If the file's owner
2219 is the Administrators group on Windows, and the current user is
2220 Administrator, consider that a match.
2222 * server.el (server-ensure-safe-dir): Consider server directory
2223 safe on MS-Windows if its owner is the Administrators group while
2224 the current Emacs user is Administrator. Use `=' to compare
2225 numerical UIDs, since they could be integers or floats.
2227 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2229 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2231 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2233 Sync with Tramp 2.2.1.
2235 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2237 * net/trampver.el: Update release number.
2239 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * progmodes/compile.el (compilation--previous-directory): Fix up
2242 various nil/dead-marker mismatches (bug#8014).
2243 (compilation-directory-properties, compilation-error-properties):
2244 Don't call it at a position past the one we're about to change.
2246 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2247 Disable obsolescence warnings in the file that declares it.
2249 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2251 * allout-widgets.el (allout-widgets-tally):
2252 Initialize allout-widgets-tally as a hash table rather than nil to
2253 prevent mode-line redisplay warnings. Also, clarify the module
2254 description and fix a comment typo.
2256 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2258 * help-fns.el (describe-variable): Don't complete keywords.
2259 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2261 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2263 * emacs-lisp/package.el (package-version-join): Impose a standard
2264 string representation for pre/alpha/beta version lists.
2265 (package-unpack-single): Standardize the directory name by passing
2266 it through package-version-join.
2267 (package-strip-rcs-id): Accept any version string that does not
2268 signal an error in version-to-list.
2270 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2272 * simple.el (delete-trailing-whitespace): Return nil for the
2273 benefit of `write-file-functions'.
2275 2011-03-10 Glenn Morris <rgm@gnu.org>
2277 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2279 * vc/vc-git.el (vc-git-program): New option.
2280 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2281 (vc-git--call): Use it.
2283 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2285 * cus-edit.el (Custom-newline): If no button at point, look
2286 for a subgroup button at start-of-line. (Bug#2298)
2288 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2290 2011-03-10 Julien Danjou <julien@danjou.info>
2292 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2293 `cursor-type' is nil.
2295 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2297 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2299 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2301 * allout.el Summary: Change so yank of distinctive-bullet items
2302 preserves the existing header prefix, rebulleting it if necessary,
2303 rather than replacing it. This is necessary for proper operation
2304 of cooperative addons like allout-widgets.
2305 (allout-make-topic-prefix, allout-rebullet-heading): Change
2306 SOLICIT arg to INSTEAD, and interpret additionally a string value
2307 as alternate bullet to be used, instead of prompting the user for
2310 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2312 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2313 Do not use `tramp-file-name-port', because this returns also
2314 `tramp-default-port'.
2316 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2318 * net/rcirc.el (rcirc-handler-001): Remove useless
2319 with-rcirc-process-buffer.
2320 (rcirc-check-auth-status): Swap arguments to string-match.
2322 2011-03-09 Glenn Morris <rgm@gnu.org>
2324 * shell.el (shell-mode):
2325 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2327 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2328 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2330 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2332 * emacs-lisp/package.el (package-refresh-contents)
2333 (package-menu-execute): Use condition-case-no-debug.
2335 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2337 * simple.el (shell-command-to-string): Use `process-file'.
2339 * emacs-lisp/package.el (package-tar-file-info): Handle also
2342 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2343 Use `equal' for upload base check.
2345 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2347 * textmodes/texinfo.el (texinfo-environments):
2348 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2350 2011-03-08 Glenn Morris <rgm@gnu.org>
2352 * cus-start.el (cursor-in-non-selected-windows):
2353 Fix :set quoting oddness. (Bug#8192)
2355 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2356 in some setf expressions. (Bug#2159)
2358 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2360 * custom.el (custom-available-themes): Return themes in
2363 See ChangeLog.15 for earlier changes.
2369 Copyright (C) 2011 Free Software Foundation, Inc.
2371 This file is part of GNU Emacs.
2373 GNU Emacs is free software: you can redistribute it and/or modify
2374 it under the terms of the GNU General Public License as published by
2375 the Free Software Foundation, either version 3 of the License, or
2376 (at your option) any later version.
2378 GNU Emacs is distributed in the hope that it will be useful,
2379 but WITHOUT ANY WARRANTY; without even the implied warranty of
2380 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2381 GNU General Public License for more details.
2383 You should have received a copy of the GNU General Public License
2384 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.