1 2011-05-10 Glenn Morris <rgm@gnu.org>
2 Stefan Monnier <monnier@iro.umontreal.ca>
4 * files.el (hack-one-local-variable-eval-safep):
5 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
7 2011-05-10 Glenn Morris <rgm@gnu.org>
9 * calendar/diary-lib.el (diary-list-entries-hook)
10 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11 (diary-nongregorian-marking-hook, diary-list-entries)
12 (diary-include-other-diary-files, diary-mark-entries)
13 (diary-mark-included-diary-files): Doc fixes.
15 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17 * misc.el: Require tabulated-list.el during compilation.
19 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
21 * progmodes/compile.el (compilation-start): Run
22 compilation-filter-hook for the async case too.
23 (compilation-filter-hook): Doc fix.
25 2011-05-09 Deniz Dogan <deniz@dogan.se>
27 * wdired.el: Remove outdated installation comment. Fix usage
30 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
32 * misc.el: Implement new command `list-dynamic-libraries'.
33 (list-dynamic-libraries--loaded-only-p): New variable.
34 (list-dynamic-libraries--refresh): New function.
35 (list-dynamic-libraries): New command.
37 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
39 * progmodes/compile.el (compilation-error-regexp-alist-alist): Fix
40 the ant regexp to handle end-line and end-column info from jikes.
41 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
42 higher priority to avoid clobbering by gnu.
44 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
46 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
47 if the face has existing theme settings (Bug#8454).
49 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
51 * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
52 match variables declared via `my' or `our' (Bug#8261).
54 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
55 special file names `.' and `..' (Bug#8259).
57 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
59 * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
60 buffer-changing entries.
61 (grep-filter): New function.
62 (grep-mode): Add it to compilation-filter-hook.
64 * progmodes/compile.el (compilation-filter-hook)
65 (compilation-filter-start): New defvars.
66 (compilation-filter): Call compilation-filter-hook prior to
67 updating the process mark.
69 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
71 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
73 2011-05-07 Eli Zaretskii <eliz@gnu.org>
75 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
76 mailclient-send-it even if window-system is nil. (Bug#8595)
78 * term/w32console.el (terminal-init-w32console):
79 Call get-screen-color and use its output to set the frame
80 background-mode. (Bug#8597)
82 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
84 Make bytecomp.el understand that defmethod defines funs (bug#8631).
85 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
87 (defgeneric, eieio--defmethod): Use them.
88 (eieio-defgeneric): Remove.
89 (defmethod): Call defgeneric in a way visible to the byte-compiler.
91 2011-05-07 Glenn Morris <rgm@gnu.org>
93 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
94 Use let rather than let*.
95 (timeclock-find-discrep): Remove unused local.
97 * calendar/diary-lib.el (diary-comment-start): Doc fix.
99 * calendar/appt.el (appt-time-msg-list): Doc fix.
101 2011-05-06 Noah Friedman <friedman@splode.com>
103 * apropos.el (apropos-print-doc): Only use
104 emacs-lisp-docstring-fill-column when it is bound to an integer,
105 per that variable's documentation.
107 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
109 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
110 and warnings are not silently discarded (e.g. use -d instead of -P).
112 2011-05-06 Glenn Morris <rgm@gnu.org>
114 * calendar/appt.el (appt-message-warning-time): Doc fix.
115 (appt-warning-time-regexp): New option.
116 (appt-make-list): Respect appt-message-warning-time.
118 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
120 (diary-add-to-list): Strip comments from the displayed string.
121 (diary-mode): Set comment-start and comment-end.
123 * vc/diff-mode.el (smerge-refine-subst): Declare.
124 (diff-refine-hunk): Don't require smerge-mode when compiling.
126 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
128 * simple.el (list-processes): Return nil as the docstring says.
130 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
132 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
134 (ange-ftp-write-region, ange-ftp-insert-file-contents)
135 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
136 determining of binary transfer. (Bug#7383)
138 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
140 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
141 Fix port computation bug. (Bug#8618)
143 2011-05-05 Glenn Morris <rgm@gnu.org>
145 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
147 * simple.el (shell-dynamic-complete-functions)
148 (comint-dynamic-complete-functions): Declare.
150 * net/network-stream.el (gnutls-negotiate):
151 * simple.el (tabulated-list-print): Fix declarations.
153 * progmodes/gud.el (syntax-symbol, syntax-point):
154 Remove unnecessary and incorrect declarations.
156 * emacs-lisp/check-declare.el (check-declare-scan):
157 Handle byte-compile-initial-macro-environment in bytecomp.el
159 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
161 Fix earlier half-done eieio-defmethod change (bug#8338).
162 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
163 Streamline and change calling convention.
164 (defmethod): Adjust accordingly and simplify.
165 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
166 new eieio--defmethod.
167 (slot-boundp): Minor CSE simplification.
169 2011-05-05 Milan Zamazal <pdm@zamazal.org>
171 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
172 (glasses-make-readable): Use glasses-separate-capital-groups.
174 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
176 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
177 (warning-series): Doc fix.
178 (display-warning): Don't try to create the buffer if we just found it.
180 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
182 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
183 (autoload-find-generated-file): New function.
184 (generate-file-autoloads): Bind generated-autoload-file to
186 (update-file-autoloads, update-directory-autoloads):
187 Use autoload-find-generated-file. If called interactively, prompt for
188 output file (Bug#7989).
189 (batch-update-autoloads): Doc fix.
191 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
193 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
195 2011-05-04 Glenn Morris <rgm@gnu.org>
197 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
198 function, so it follows changes in calendar-date-style.
199 (diary-fancy-date-matcher): New function.
200 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
201 (diary-fancy-font-lock-fontify-region-function):
202 Use diary-fancy-date-pattern as a function.
204 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
205 non-numbers for `year' etc pseudo-variables. (Bug#8583)
207 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
209 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
210 instead of positional arguments. Allow :keylist and :crlfiles
212 (open-gnutls-stream): Call it.
214 * net/network-stream.el (network-stream-open-starttls): Adjust to
215 call `gnutls-negotiate' with :process and :hostname arguments.
217 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
219 * minibuffer.el (completion--message): New function.
220 (completion--do-completion, minibuffer-complete)
221 (minibuffer-force-complete, minibuffer-complete-word): Use it.
222 (completion--do-completion): Don't ignore completion-auto-help when in
225 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
226 internal encoding (e.g. tibetan zero is not whitespace).
227 (global-whitespace-mode): Prefer save-current-buffer.
228 (whitespace-trailing-regexp): Remove useless save-match-data.
229 (whitespace-empty-at-bob-regexp): Minor simplification.
231 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
233 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
235 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
237 * textmodes/ispell.el (ispell-add-per-file-word-list):
238 Use `concat' to create string for insertion.
240 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
242 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
243 Avoid open-line which runs post-self-insert-hook.
244 (bibtex-fill-entry): Remove unused `end' var.
246 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
248 * textmodes/ispell.el (ispell-add-per-file-word-list):
249 Protect against `nil' value of `comment-start' (Bug#8579).
251 2011-05-03 Leo Liu <sdl.web@gmail.com>
253 * isearch.el (isearch-yank-pop): New command.
254 (isearch-mode-map): Bind it to `M-y'.
255 (isearch-forward): Mention it.
257 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
259 * simple.el (minibuffer-complete-shell-command): Remove.
260 (minibuffer-local-shell-command-map): Use completion-at-point.
261 (read-shell-command): Setup completion vars here instead.
262 (read-expression-map): Bind TAB to symbol completion.
264 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
265 error directly rather via storing it into `results'.
267 2011-05-02 Leo Liu <sdl.web@gmail.com>
269 * vc/diff.el: Fix description.
271 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
273 * server.el (server-eval-at): New function.
275 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
277 * net/network-stream.el (open-network-stream): Take a :nowait
278 parameter and pass it on to `make-network-process'.
279 (network-stream-open-plain): Ditto.
281 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
283 * faces.el (face-spec-set-match-display): Don't match toolkit
284 options on terminal frames.
286 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
288 * progmodes/pascal.el: Use lexical binding.
289 (pascal-mode-map): Remove author preferences.
291 * pcomplete.el (pcomplete-std-complete): Don't abuse
294 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
296 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
297 removing code that has been dead since 1991 or so.
299 * startup.el (command-line): When warning about "_emacs", use a
300 delayed warning to allow the user to filter it out.
302 2011-04-28 Deniz Dogan <deniz@dogan.se>
304 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
307 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
309 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
310 aren't any completions at point.
312 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
314 * subr.el (display-delayed-warnings): New function.
315 (delayed-warnings-hook): New variable.
317 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
319 * minibuffer.el (completion-at-point, completion-help-at-point):
320 Don't presume that a given completion-at-point-function will always
321 use the same calling convention.
323 * pcomplete.el (pcomplete-completions-at-point):
324 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
325 pcomplete-seen is non-nil.
326 (pcomplete-comint-setup): Also recognize the new comint/shell
327 completion functions.
328 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
329 pcomplete-seen is non-nil.
331 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
333 * calendar/icalendar.el (diary-lib): Add require statement.
334 (icalendar--create-uid): Read out a uid from a text-property on
335 the first character in the entry. This allows for code to add its
336 own uid to the entry.
337 (icalendar--convert-float-to-ical): Add export of
338 `diary-float'-entries save for those with the optional DAY
341 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
343 * subr.el (shell-quote-argument): Use alternate escaping strategy
344 when we spot a variable reference in a string.
346 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
348 * cus-start.el (all): Define customization for debug-on-event.
350 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
352 * subr.el (shell-quote-argument): Escape correctly under Windows.
354 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
356 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
358 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
360 * net/tramp.el (tramp-process-actions): Add POS argument.
361 Delete region between POS and (pos).
363 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
364 Use `nil' position in `tramp-process-actions' call.
365 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
367 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
368 position in `tramp-process-actions' call.
370 * net/trampver.el: Update release number.
372 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
374 * custom.el (defcustom): Obey lexical-binding.
376 Fix octave-inf completion problems reported by Alexander Klimov.
377 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
378 Inherit from octave-mode-syntax-table.
379 (inferior-octave-mode): Set info-lookup-mode.
380 (inferior-octave-completion-at-point): New function.
381 (inferior-octave-complete): Use it and completion-in-region.
382 (inferior-octave-dynamic-complete-functions): Use it as well, and use
383 comint-filename-completion.
384 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
385 symbol elements which shouldn't be word elements.
386 (octave-font-lock-keywords, octave-beginning-of-defun)
387 (octave-function-header-regexp): Adjust regexps accordingly.
388 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
390 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
392 * net/gnutls.el (gnutls-errorp): Declare before first use.
394 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
396 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
397 verify-error, and verify-hostname-error parameters. Check whether
398 default trustfile exists before going to use it. Add missing
399 argument to gnutls-message-maybe call. Return return value.
400 Reported by Claudio Bley <claudio.bley@gmail.com>.
401 (open-gnutls-stream): Add usage example.
403 * net/network-stream.el (network-stream-open-starttls): Give host
404 parameter to `gnutls-negotiate'.
405 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
406 * subr.el (shell-quote-argument): Escape correctly under Windows.
408 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
411 Use correct match group (bug#8438).
413 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
415 * emacs-lisp/package.el (package-built-in-p): Fix typo.
416 (package-menu--generate): New arg specifying packages to show.
417 (package-menu-refresh, package-menu-execute, list-packages):
419 (package-show-package-list): New function, replacing deleted
420 package--list-packages (renamed because it is non-internal).
422 * finder.el (finder-list-matches): Use package-show-package-list
423 instead of deleted package--list-packages.
425 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
426 Based on a previous implementation by Juanma Barranquero (Bug#8366).
427 (vc-annotate-mode-map): Bind it to RET.
429 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
431 * progmodes/etags.el (next-file): Don't use set-buffer to change
434 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
436 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
438 * apropos.el (apropos-label-face): Avoid variable-pitch face.
439 (apropos-accumulator): Doc fix.
440 (apropos-function, apropos-macro, apropos-command)
441 (apropos-variable, apropos-face, apropos-group, apropos-widget)
442 (apropos-plist): Add face property.
443 (apropos-symbols-internal): Fix indentation.
444 (apropos-print): Simplify help, and recognize apropos-multi-type.
445 (apropos-print-doc): Use button-type-get to extract the button's
446 face property. Fill docstring (Bug#8352).
448 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
450 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
452 * play/mpuz.el (mpuz-silent): Doc fix.
453 (mpuz-mode-map): Use mapc.
454 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
455 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
456 Fix typos in docstrings.
458 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
459 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
461 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
463 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
465 * minibuffer.el (completion--do-completion): Avoid the "Next char
466 not unique" prompt if icomplete-mode is enabled (Bug#5849).
468 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
469 mouse-2 into unread-command-events, it is interpreted correctly.
471 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
472 (image-toggle-display): Doc fix.
474 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
476 * textmodes/page.el (what-page): Use line-number-at-pos to
477 calculate line number (Bug#6825).
479 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
481 * eshell/esh-mode.el (find-tag-interactive): Declare function.
482 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
483 Pass argument NO-DEFAULT to `find-tag-interactive'.
485 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
487 Lexical-binding cleanup.
489 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
490 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
491 * progmodes/ada-prj.el (ada-prj-initialize-values)
492 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
493 (ada-prj-show-value):
494 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
495 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
496 (antlr-invalidate-context-cache, antlr-options-menu-filter)
497 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
498 * progmodes/bug-reference.el (bug-reference-push-button):
499 * progmodes/fortran.el (fortran-line-length):
500 * progmodes/glasses.el (glasses-change):
501 * progmodes/octave-mod.el (octave-fill-paragraph):
502 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
503 (python-pdbtrack-grub-for-buffer, python-sentinel):
504 * progmodes/sql.el (sql-save-connection):
505 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
506 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
507 Mark unused parameters.
509 * progmodes/compile.el (compilation--flush-directory-cache)
510 (compilation--flush-parse, compile-internal): Mark unused parameters.
511 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
512 (compilation-next-error-function): Remove unused variable `timestamp'.
514 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
515 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
517 * progmodes/dcl-mode.el (dcl-end-of-command):
518 Remove unused variable `start'.
519 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
520 (dcl-option-value-basic, dcl-option-value-offset)
521 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
522 Mark unused parameters.
523 (dcl-save-local-variable): Remove unused variable `val'.
526 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
527 Mark unused parameters.
528 (delphi-ignore-changes): Move before first use.
529 (delphi-charset-token-at): Remove unused variable `start'.
530 (delphi-else-start): Remove unused variable `if-count'.
531 (delphi-comment-block-start, delphi-comment-block-end):
532 Remove unused variable `kind'.
533 (delphi-indent-line): Remove unused variable `new-point'.
535 * progmodes/ebrowse.el (ebrowse-files-list)
536 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
537 Mark unused parameters. Don't quote `lambda'.
538 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
539 Don't quote `lambda'.
540 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
541 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
542 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
543 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
545 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
546 (ebrowse-view/find-file-and-search-pattern)
547 (ebrowse-view/find-member-declaration/definition):
548 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
549 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
550 Rename parameter PREFIX-ARG to PREFIX.
551 (ebrowse-tags-read-name): Remove unused variables `start' and
553 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
556 * progmodes/etags.el (local-find-tag-hook): Declare.
557 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
558 Mark unused parameters.
560 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
561 (executable-interpret): Mark unused parameter.
563 * progmodes/flymake.el (flymake-process-sentinel)
564 (flymake-after-change-function)
565 (flymake-create-temp-with-folder-structure)
566 (flymake-get-include-dirs-dot): Mark unused parameters.
567 (flymake-safe-delete-directory): Remove unused variable `err'.
569 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
570 (speedbar-timer-fn, speedbar-line-text)
571 (speedbar-change-expand-button-char, speedbar-delete-subblock)
572 (speedbar-center-buffer-smartly): Declare functions.
573 (gdb-find-watch-expression): Remove unused variable `array'.
574 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
575 (gdb-starting): Mark unused parameters.
576 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
577 (gdb-table-string): Remove unused variable `res'.
578 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
579 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
580 (gdb-display-buffer): Remove unused variable `cur-size'.
582 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
583 allow lexical-binding compilation.
584 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
585 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
586 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
587 Mark unused parameters.
588 (gud-gdb-marker-filter): Remove unused variable `match'.
589 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
590 lambda expressions and funcall them, instead of using `fset'.
592 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
593 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
595 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
596 variable `header-beg'; use `let'.
598 * progmodes/icon.el (indent-icon-exp): Remove unused variables
599 `restart', `last-sexp' and `at-do'.
601 * progmodes/js.el (js--debug): Mark unused parameter.
602 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
603 (js--splice-into-items): Remove unused variable `item'.
604 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
606 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
607 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
608 (makefile-complete): Remove unused variable `try'.
609 (makefile-fill-paragraph, makefile-match-function-end):
610 Mark unused parameters.
612 * progmodes/octave-inf.el (inferior-octave-complete):
613 Remove unused variable `proc'.
614 (inferior-octave-output-digest): Mark unused parameter.
616 * progmodes/perl-mode.el (perl-calculate-indent):
617 Remove unused variable `err'.
619 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
620 (prolog-indent-line): Mark unused parameters.
621 (prolog-indent-line): Remove unused variable `beg'.
623 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
624 (reporter-dont-compact-list): Declare.
626 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
627 Remove unused variable `char'.
628 (sh-debug): Mark unused parameter.
629 (sh-get-indent-info): Remove unused variable `start'.
630 (sh-calculate-indent): Remove unused variable `var'.
632 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
633 (simula-electric-keyword): Remove unused variable `null'.
634 (simula-search-backward, simula-search-forward): Remove unused
635 variables `begin' and `end'.
637 * progmodes/vera-mode.el (vera-guess-basic-syntax):
638 Remove unused variable `pos'.
639 (vera-electric-tab, vera-comment-uncomment-region):
640 Mark unused parameters.
641 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
643 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
645 * emacs-lisp/package.el (package--builtins, package-alist)
646 (package-load-descriptor, package-built-in-p, package-activate)
647 (define-package, package-installed-p)
648 (package-compute-transaction, package-buffer-info)
649 (package--push): Doc fix. Distinguish more clearly between
650 version strings and version lists.
652 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
654 Lexical-binding cleanup.
656 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
657 (5x5-make-mutate-best):
658 * play/fortune.el (fortune-in-buffer):
659 * play/gomoku.el (gomoku-init-display):
660 * play/solitaire.el (solitaire, solitaire-do-check):
661 * play/tetris.el (tetris-default-update-speed-function):
662 Mark unused parameters.
664 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
665 (bubbles--shift): Remove unused variable `char-org'.
666 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
667 (bubbles--show-images): Remove unused variable `char'.
669 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
670 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
671 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
672 (decipher-analyze-buffer): Use ?\s.
673 (decipher-make-checkpoint): Remove unused variable `mapping'.
675 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
677 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
678 Remove unused variable `result'; use `let'.
680 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
681 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
682 (gametree-children-shown-p, gametree-compute-reduced-score):
685 * play/handwrite.el (ps-lpr-switches): Declare.
686 (handwrite): Remove unused variables `pmin' and `lastp'.
688 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
690 * play/landmark.el (landmark-init-display)
691 (landmark-update-naught-weights): Mark unused parameters.
692 (landmark-y): Remove unused variable `noise'. Simplify.
693 (landmark-human-plays): Remove unused variable `score'.
695 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
696 (mpuz-try-proposal): Remove unused variable `game'.
698 * play/zone.el (life-patterns): Declare.
700 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
702 * vc/vc.el (ediff-vc-internal): Declare function.
704 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
706 * shell.el: Use lexical-binding and std completion UI.
707 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
708 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
709 comint-preoutput-filter-functions rather than on
710 comint-output-filter-functions.
711 (shell-command-completion, shell--command-completion-data)
712 (shell-filename-completion, shell-environment-variable-completion)
713 (shell-c-a-p-replace-by-expanded-directory): New functions.
714 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
715 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
716 (shell-dynamic-complete-environment-variable): Use them.
717 (shell-dynamic-complete-as-environment-variable)
718 (shell-dynamic-complete-as-command): Remove.
719 (shell-match-partial-variable): Match past point.
720 * comint.el: Clean up use of completion-at-point-functions.
721 (comint-completion-at-point): New function.
722 (comint-mode): Use it completion-at-point-functions.
723 (comint-dynamic-complete): Make it obsolete.
724 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
725 (comint-c-a-p-replace-by-expanded-history): New function.
726 (comint-dynamic-complete-functions)
727 (comint-replace-by-expanded-history): Use it.
728 * minibuffer.el (completion-table-with-terminator): Allow dynamic
729 termination strings. Try harder to avoid second try-completion.
730 (completion-in-region-mode-map): Disable bindings that don't work yet.
732 * comint.el: Use lexical-binding. Require CL.
733 (comint-dynamic-complete-functions): Use comint-filename-completion.
734 (comint-completion-addsuffix): Tweak custom type.
735 (comint-filename-completion, comint--common-suffix)
736 (comint--common-quoted-suffix, comint--table-subvert)
737 (comint--complete-file-name-data): New functions.
738 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
739 (comint-dynamic-list-filename-completions): Use them.
740 (comint-dynamic-simple-complete): Make obsolete.
742 * minibuffer.el (completion-in-region-mode):
743 Keep completion-in-region-mode--predicate global.
744 (completion-in-region--postch):
745 Assume completion-in-region-mode--predicate is not null.
747 * progmodes/flymake.el (flymake-start-syntax-check-process):
748 Obey `dir'. Simplify.
750 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
751 we're in VC after all.
753 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
755 * vc/vc.el (vc-diff-build-argument-list-internal)
756 (vc-version-ediff, vc-ediff): New commands.
757 (vc-version-diff): Use vc-diff-build-argument-list-internal.
759 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
761 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
764 * obsolete/erc-hecomplete.el: Make obsolete.
765 * obsolete/: Standardize obsolescence info in the header.
767 2011-04-20 Glenn Morris <rgm@gnu.org>
769 * calendar/solar.el (solar-horizontal-coordinates):
770 Use the longitude argument rather than `calendar-longitude'.
771 (solar-date-next-longitude): Remove unused locals.
773 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
775 * whitespace.el: New version 13.2.1.
777 2011-04-20 felix <EmacsWiki> (tiny change)
779 * whitespace.el (global-whitespace-mode): keep highlight when
780 switching between major modes on a file.
782 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
784 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
785 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
786 multi-line comments as well.
788 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
790 Lexical-binding cleanup.
792 * arc-mode.el (archive-mode-revert):
793 * cmuscheme.el (scheme-interactively-start-process):
794 * custom.el (custom-initialize-delay):
795 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
796 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
797 * emacs-lock.el (emacs-lock-clear-sentinel):
798 * ezimage.el (defezimage):
799 * follow.el (follow-avoid-tail-recenter):
800 * fringe.el (set-fringe-mode-1):
801 * generic-x.el (bat-generic-mode-compile):
802 * help-mode.el (help-info-variable, help-do-xref)
803 (help-mode-revert-buffer):
804 * help.el (view-emacs-todo):
805 * iswitchb.el (iswitchb-completion-help):
806 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
807 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
808 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
809 * locate.el (locate-update):
810 * longlines.el (longlines-encode-region)
811 (longlines-after-change-function):
812 * outline.el (outline-isearch-open-invisible):
813 * ps-def.el (declare-function, charset-dimension, char-width)
815 * ps-mule.el (ps-mule-plot-string):
816 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
817 (recentf-edit-list-select, recentf-edit-list-validate)
818 (recentf-open-files-action):
819 * rect.el (delete-whitespace-rectangle-line)
820 (rectangle-number-line-callback):
821 * register.el (window-configuration-to-register)
822 (frame-configuration-to-register):
823 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
824 * select.el (xselect-convert-to-string, xselect-convert-to-length)
825 (xselect-convert-to-targets, xselect-convert-to-delete)
826 (xselect-convert-to-filename, xselect-convert-to-charpos)
827 (xselect-convert-to-lineno, xselect-convert-to-colno)
828 (xselect-convert-to-os, xselect-convert-to-host)
829 (xselect-convert-to-user, xselect-convert-to-class)
830 (xselect-convert-to-name, xselect-convert-to-integer)
831 (xselect-convert-to-atom, xselect-convert-to-identity):
832 * subr.el (declare, ignore, process-kill-without-query)
833 (text-clone-maintain):
834 * terminal.el (te-get-char, te-tic-sentinel):
835 * tool-bar.el (tool-bar-make-keymap):
836 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
837 * type-break.el (type-break-mode, type-break-noninteractive-query):
838 * view.el (View-back-to-mark):
839 * wid-browse.el (widget-browse-action, widget-browse-widget)
840 (widget-browse-widgets, widget-browse-sexp):
841 * widget.el (define-widget-keywords):
842 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
843 Mark unused parameters.
845 * align.el (align-adjust-col-for-rule): Mark unused parameter.
846 (align-areas): Remove unused variable `look'.
847 (align-region): Remove unused variables `real-end' and `pos-list'.
849 * apropos.el (apropos-score-doc): Remove unused variable `i'.
851 * bindings.el (mode-line-modified, mode-line-remote):
852 Mark unused parameters.
853 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
855 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
856 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
858 * comint.el (comint-history-isearch-pop-state)
859 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
860 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
861 (comint-substitute-in-file-name): Doc fix.
863 * completion.el (cmpl-statistics-block): Mark unused parameter.
864 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
865 (save-completions-to-file, load-completions-from-file):
866 Remove unused local variable `e'.
868 * composite.el (compose-chars): Remove unused variable `len'.
869 (lgstring-insert-glyph): Remove unused variable `g'.
870 (compose-glyph-string): Remove unused variables `ascent',
871 `descent', `lbearing' and `rbearing'.
872 (compose-glyph-string-relative): Remove unused variables
873 `lbearing', `rbearing' and `wadjust'.
874 (compose-gstring-for-graphic): Remove unused variables `header',
875 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
876 (compose-gstring-for-terminal): Remove unused variables `header'
877 and `nchars'. Use `let', not `let*'.
879 * cus-edit.el (Custom-set, Custom-save, custom-reset)
880 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
881 (Custom-buffer-done, custom-buffer-create-internal)
882 (custom-browse-visibility-action, custom-browse-group-tag-action)
883 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
884 (widget-magic-mouse-down-action, custom-toggle-parent)
885 (custom-add-parent-links, custom-toggle-hide-variable)
886 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
887 (custom-toggle-hide-face, face, hook, custom-group-link-action)
888 (custom-face-menu-create, custom-variable-menu-create, get)
889 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
890 (custom-reset-standard-save-and-update): Remove unused variable `value'.
891 (customize-apropos): Remove unused variable `tests'.
892 (custom-group-value-create): Remove unused variable `hidden-p'.
893 (sort-fold-case): Declare.
895 * cus-theme.el (custom-reset-standard-faces-list)
896 (custom-reset-standard-variables-list): Declare.
897 (customize-create-theme, custom-theme-revert, custom-theme-write)
898 (custom-theme-choose-mode, customize-themes, custom-theme-save):
899 Mark unused parameters.
901 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
903 * delim-col.el (delimit-columns-max): Move defvar before first use.
905 * descr-text.el (describe-char-categories): Don't quote `lambda'.
906 (describe-char): Don't quote `lambda'. Mark unused parameter.
908 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
909 (auto-insert): Declare.
910 (desktop-restore-file-buffer): Rename desktop-* parameters;
912 (desktop-create-buffer): Rename desktop-* parameters and bind them.
913 (desktop-buffer): Rename desktop-* parameters.
915 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
916 (dframe-reposition-frame-xemacs, dframe-help-echo)
917 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
918 Mark unused parameters.
920 * dired-aux.el (backup-extract-version-start, overwrite-query)
921 (overwrite-backup-query, rename-regexp-query)
922 (rename-non-directory-query): Declare.
923 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
924 (dired-add-entry): Remove unused variable `orig-file-name'.
925 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
926 Use parameter PRESERVE-TIME instead of accessing dynamic variable
927 `dired-copy-preserve-time' directly.
928 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
929 (dired-insert-subdir-newpos): Rename unused variable `pos'.
931 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
932 (dired-virtual-revert, dired-make-relative-symlink):
933 Mark unused parameters.
934 (manual-program): Declare.
935 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
936 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
937 wrapped in `with-no-warnings' to avoid replacing one warning by another.
939 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
941 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
943 * echistory.el (electric-history-in-progress, Helper-return-blurb):
946 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
948 * electric.el (Electric-command-loop): Rename parameter
949 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
951 * expand.el (expand-in-literal): Remove unused variable `here'.
953 * facemenu.el (facemenu-add-new-color):
954 Remove unused variable `docstring'.
956 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
957 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
958 (face-attr-construct): Mark unused parameter. Doc fix.
959 (read-color): Remove unused variable `hex-string'.
961 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
962 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
963 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
964 (display-buffer-other-frame): Remove unused variable `old-window'.
965 (kill-buffer-hook): Declare.
966 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
967 Mark unused parameters.
968 (after-find-file): Pass 1 to `auto-save-mode', not t.
970 * files-x.el (auto-insert): Declare.
971 (modify-file-local-variable-prop-line): Remove unused variable `val'.
973 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
974 variable `buf'. Mark unused parameter.
975 (find-lisp-insert-directory): Mark unused parameter.
977 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
978 (format-encode-region): Remove unused variables `cur-buf' and `result'.
979 (format-common-tail): Remove, unused.
980 (format-deannotate-region): Remove unused variable `loc'.
981 (format-annotate-region): Remove unused variable `p'.
982 (format-annotate-single-property-change): Remove unused variables
983 `default' and `tail'.
985 * forms.el (read-file-filter): Declare.
986 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
988 * frame.el (frame-creation-function-alist): Mark unused parameter.
989 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
991 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
992 Remove unused parameters.
993 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
994 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
996 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
997 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
998 (hfy-prepare-tag-map): Mark unused parameters.
999 (htmlfontify-buffer): Use `called-interactively-p'.
1001 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1002 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1003 (ibuffer-do-occur): Mark unused parameters.
1004 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1005 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1007 * ibuffer.el: Don't quote `lambda'.
1008 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1009 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1010 Mark unused parameters.
1012 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1013 (ido-completing-read): Mark unused parameters.
1014 (ido-copy-current-word): Mark unused parameters;
1015 remove unused variable `name'.
1016 (ido-sort-merged-list): Remove unused parameter `dirs'.
1018 * ielm.el (ielm-input-sender): Mark unused parameter.
1019 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1020 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1021 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1022 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1023 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1025 * image-dired.el (image-dired-display-thumbs): Remove unused
1026 variables `curr-file' and `count'.
1027 (image-dired-remove-tag): Remove unused variable `start'.
1028 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1029 variable `curr-file'
1030 (image-dired-rotate-original): Remove unused variable `temp-file'.
1031 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1032 Remove unused variable `file'.
1033 (image-dired-gallery-generate): Remove unused variable `curr'.
1034 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1036 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1038 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1040 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1042 * isearch.el (minibuffer-history-symbol): Declare.
1043 (isearch-edit-string): Remove unused variable `err'.
1044 (isearch-message-prefix, isearch-message-suffix):
1045 Mark unused parameters.
1047 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1049 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1051 * makesum.el (double-column): Remove unused variable `cnt'.
1053 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1054 (ido-ignore-item-temp-list): Declare.
1056 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1057 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1058 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1059 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1062 * mouse-sel.el (mouse-extend-internal):
1063 Remove unused variable `orig-window-frame'.
1065 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1066 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1067 Move declarations before first use.
1068 (pcomplete-opt): Mark unused parameters; doc fix.
1070 * proced.el (proced-revert): Mark unused parameter.
1071 (proced-send-signal): Remove unused variable `err'.
1073 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1074 Rename parameter PREFIX-ARG to ARG.
1075 (ps-basic-plot-string, ps-basic-plot-whitespace):
1076 Mark unused parameters.
1078 * replace.el (replace-count): Define.
1079 (occur-revert-function): Mark unused parameters.
1080 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1081 (isearch-case-fold-search, isearch-string): Declare.
1082 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1083 bind `case-fold-search'. Remove unused variables `beg' and `end',
1085 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1086 COUNT and bind `replace-count'.
1087 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1090 * savehist.el (print-readably, print-string-length): Declare.
1092 * shadowfile.el (shadow-expand-cluster-in-file-name):
1093 Remove unused variable `cluster'.
1094 (shadow-copy-file): Remove unused variable `i'.
1095 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1096 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1097 (shadow-define-literal-group, shadow-define-regexp-group)
1098 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1100 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1101 (shell): Use `called-interactively-p'.
1102 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1104 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1105 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1106 (delete-backward-char): Remove unused variable `ocol'.
1107 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1108 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1109 (event-apply-hyper-modifier, event-apply-shift-modifier)
1110 (event-apply-control-modifier, event-apply-meta-modifier):
1111 Mark unused parameters.
1112 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1113 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1115 * speedbar.el (speedbar-ignored-directory-expressions)
1116 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1117 (speedbar-find-file, speedbar-dir-follow)
1118 (speedbar-directory-buttons-follow, speedbar-tag-find)
1119 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1120 (speedbar-buffers-line-directory, speedbar-buffer-click):
1121 Mark unused parameters.
1122 (speedbar-tag-file): Remove unused variable `mode'.
1123 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1125 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1127 * talk.el (talk): Remove unused variable `display'.
1129 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1130 (tar-write-region-annotate): Mark unused parameter.
1132 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1133 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1134 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1137 * time-stamp.el (time-stamp-string-preprocess):
1138 Remove unused variable `require-padding'.
1140 * tree-widget.el (widget-glyph-enable): Declare.
1141 (tree-widget-action): Mark unused parameter.
1143 * w32-fns.el (x-get-selection): Mark unused parameter.
1144 (autoload-make-program, generated-autoload-file): Declare.
1146 * wdired.el (wdired-revert): Mark unused parameters.
1147 (wdired-xcase-word): Remove unused variable `err'.
1149 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1150 (whitespace-help-scroll): Remove unused variable `data-help'.
1152 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1153 (widget-image-insert, widget-after-change, default)
1154 (widget-default-format-handler, widget-default-notify)
1155 (widget-default-prompt-value, widget-info-link-action)
1156 (widget-url-link-action, widget-function-link-action)
1157 (widget-variable-link-action, widget-file-link-action)
1158 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1159 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1160 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1161 (widget-insert-button-action, widget-delete-button-action, visibility)
1162 (widget-documentation-link-action, widget-documentation-string-action)
1163 (widget-const-prompt-value, widget-regexp-match, symbol)
1164 (widget-coding-system-prompt-value)
1165 (widget-key-sequence-value-to-external, sexp)
1166 (widget-sexp-value-to-internal, character, vector, cons)
1167 (widget-choice-prompt-value, widget-boolean-prompt-value)
1168 (widget-color--choose-action): Mark unused parameters.
1169 (widget-item-match-inline, widget-choice-match-inline)
1170 (widget-checklist-match, widget-checklist-match-inline)
1171 (widget-group-match): Rename parameter VALUES to VALS.
1172 (widget-field-value-set): Remove unused variable `size'.
1173 (widget-color-action): Remove unused variables `value' and `start'.
1175 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1176 variable `dir'. Doc fix.
1177 (windmove-find-other-window): Don't pass it.
1179 * window.el (count-windows): Mark unused parameter.
1180 (bw-adjust-window): Remove unused variable `err'.
1182 * woman.el (woman-file-name): Remove unused variable `default'.
1183 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1184 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1185 (global-font-lock-mode): Declare.
1186 (woman-decode-region): Mark unused parameter.
1187 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1189 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1190 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1191 (x-dnd-handle-moz-url): Remove unused variable `title'.
1192 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1194 * xml.el (xml-parse-tag, xml-parse-attlist):
1195 Remove unused variable `pos'.
1197 2011-04-19 Glenn Morris <rgm@gnu.org>
1199 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1200 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1201 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1202 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1203 * calendar/cal-html.el (cal-html-insert-minical):
1204 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1205 (calendar-mark-date-pattern):
1206 Prefix "unused" locals.
1208 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1209 optional argument `style'.
1211 * calendar/appt.el (appt-make-list):
1212 * calendar/cal-china.el (calendar-chinese-date-string):
1213 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1214 (diary-hebrew-yahrzeit):
1215 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1216 * calendar/calendar.el (calendar-generate-window):
1217 * calendar/time-date.el (time-to-days):
1218 Remove unused local variables.
1220 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1222 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1223 glyphless-char-display table.
1224 (tabulated-list-glyphless-char-display): New var.
1226 2011-04-18 Sam Steingold <sds@gnu.org>
1228 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1231 2011-04-17 Glenn Morris <rgm@gnu.org>
1233 * calendar/diary-lib.el (diary-sexp-entry):
1234 * calendar/holidays.el (holiday-sexp):
1235 Set debug-on-error rather than the removed stack-trace-on-error.
1237 2011-04-16 Glenn Morris <rgm@gnu.org>
1239 * progmodes/f90.el: Use lexical-binding.
1240 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1242 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1245 (mail-mode): Setup mailalias completion here instead.
1246 * mail/mailalias.el: Use lexical-binding.
1247 (pattern, mailalias-done): Declare dynamic.
1248 (mail-completion-at-point-function): New function, from mail-complete.
1249 (mail-complete): Use it.
1250 (mail-completion-expand): New function.
1251 (mail-get-names): Use it.
1252 (mail-directory, mail-directory-process, mail-directory-stream):
1253 Don't use `pattern' for lexically bound arg.
1255 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1257 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1258 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1259 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1261 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1262 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1263 (byte-interactive-p): Define them again, for use when inlining
1266 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1268 * loadup.el: Use `string-to-number', not `string-to-int'.
1270 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1272 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1273 gud-gdb-complete-command.
1274 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1275 (gud-gdb-completion-at-point): New function.
1276 (gud-gdb-completions): Remove.
1278 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1280 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1281 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1282 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1283 whether `executable-find' is bound.
1285 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1287 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * minibuffer.el (completion-in-region-mode-predicate)
1290 (completion-in-region-mode--predicate): New vars.
1291 (completion-in-region, completion-in-region--postch)
1292 (completion-in-region-mode): Use them.
1293 (completion--capf-wrapper): Also return the hook function.
1294 (completion-at-point, completion-help-at-point):
1295 Adjust and provide a predicate.
1297 Preserve arg names for advice of subr and lexical functions (bug#8457).
1298 * help-fns.el (help-function-arglist): Consolidate the subr and
1299 new-byte-code cases. Add argument `preserve-names' to extract names
1300 from the docstring when needed.
1301 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1302 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1303 (ad-arglist): Use help-function-arglist's new arg.
1304 (ad-definition-type): Use cond.
1306 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1308 * autorevert.el (auto-revert-handler):
1309 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1310 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1313 * image-mode.el (image-transform-set-scale):
1314 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1316 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1318 * net/network-stream.el (network-stream-open-starttls): Only do
1319 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1320 Upgrades via gnutls-cli are too slow to be done opportunistically.
1322 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1324 * dframe.el (dframe-current-frame): Remove spurious quote.
1326 2011-04-12 Glenn Morris <rgm@gnu.org>
1328 * calendar/cal-tex.el (cal-tex-end-document):
1329 Try to automatically use latin1 input if needed.
1331 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1332 Don't try to cons a mark onto an empty element.
1334 2011-04-11 Leo Liu <sdl.web@gmail.com>
1336 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1338 (ido-kill-buffer-at-head): Support killing virtual buffers.
1340 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1342 * minibuffer.el (completion-show-inline-help): New var.
1343 (completion--do-completion, minibuffer-complete)
1344 (minibuffer-force-complete, minibuffer-complete-word):
1345 Inhibit minibuffer messages if completion-show-inline-help is nil.
1347 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1348 to avoid interference from inline help (Bug#5849).
1350 2011-04-10 Leo Liu <sdl.web@gmail.com>
1352 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1355 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1357 * image-mode.el (image-toggle-display-image): Signal an error if
1359 (image-transform-mode, image-transform-resize)
1360 (image-transform-set-rotation): Doc fix.
1361 (image-transform-set-resize): Delete.
1362 (image-transform-set-scale, image-transform-fit-to-height)
1363 (image-transform-fit-to-width): Handle image-toggle-display-image
1364 and image-transform-resize directly.
1366 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1368 * doc-view.el (doc-view-fit-width-to-window)
1369 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1370 New functions for fitting the shown image to the Emacs window size.
1371 (doc-view-mode-map): Add bindings for the new functions.
1373 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1375 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1376 Fix typo in docstring.
1378 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1380 * files.el (file-size-human-readable): Produce one digit after
1381 decimal, like "ls -lh" does.
1383 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1384 the file size representation.
1386 * simple.el (list-processes): If async subprocesses are not
1387 available, error out with a clear error message.
1389 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1391 * help.el (help-form-show): New function, to be called from C.
1392 Put help-form output in a buffer named differently than *Help*.
1394 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1396 * files.el (file-size-human-readable): New function.
1398 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1399 computing the representation inline. Don't require `cl'.
1401 2011-04-08 Glenn Morris <rgm@gnu.org>
1403 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1405 * net/browse-url.el (browse-url-firefox):
1406 Test system-type, not system-configuration.
1408 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1409 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1410 Use log-edit-empty-buffer-p. (Bug#7598)
1412 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1413 (rlogin-mode-map): Initialize in the defvar.
1414 (rlogin): Use ignore-errors.
1416 * replace.el (occur-mode-map): Some fixes for menu items.
1418 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1420 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1422 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1424 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1425 issuing unused warnings.
1427 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1430 * simple.el: Lisp reimplement of list-processes. Based on an
1431 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1432 (process-menu-mode): New major mode.
1433 (list-processes--refresh, list-processes):
1434 (process-menu-visit-buffer): New functions.
1436 * files.el (save-buffers-kill-emacs): Don't assume any return
1437 value of list-processes, which is undocumented anyway.
1439 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1441 * emacs-lisp/tabulated-list.el: New file.
1443 * emacs-lisp/package.el: Use Tabulated List mode.
1444 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1445 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1446 table format using Tabulated List mode variables.
1447 (package--push): New macro, replacing package-list-maybe-add.
1448 (package-menu--generate): Use package--push. Renamed from
1449 package--generate-package-list.
1450 (package-menu-refresh, list-packages): Use it.
1451 (package-menu--print-info): Rename from package-print-package.
1452 Return insertion data instead of inserting it directly.
1453 (package-menu-describe-package, package-menu-execute):
1454 Use tabulated-list-get-id.
1455 (package-menu-mark-delete, package-menu-mark-install)
1456 (package-menu-mark-unmark, package-menu-backup-unmark)
1457 (package-menu-mark-obsolete-for-deletion):
1458 Use tabulated-list-put-tag.
1459 (package--list-packages, package-menu-revert)
1460 (package-menu-get-package, package-menu-get-version)
1461 (package-menu-sort-by-column): Functions deleted.
1462 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1463 (package-menu--status-predicate, package-menu--version-predicate)
1464 (package-menu--name-predicate)
1465 (package-menu--description-predicate): Handle arguments in the
1466 Tabulated List format.
1467 (package-list-packages-no-fetch): Call list-packages.
1469 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1471 * files.el (after-find-file-from-revert-buffer): Remove variable.
1472 (after-find-file): Don't bind it.
1473 (revert-buffer-in-progress-p): New variable.
1474 (revert-buffer): Bind it.
1475 Pass nil for `after-find-file-from-revert-buffer'.
1477 * saveplace.el (save-place-find-file-hook): Use new variable
1478 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1480 2011-04-06 Glenn Morris <rgm@gnu.org>
1482 * Makefile.in (AUTOGEN_VCS): New variable.
1483 (autoloads): Use $AUTOGEN_VCS.
1485 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1486 * calendar/calendar.el (calendar-mode-map):
1487 Check for toolkit scroll bars. (Bug#8305)
1489 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1491 * minibuffer.el (completion-in-region--postch)
1492 (completion-in-region-mode): Remove unnecessary messages.
1494 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1496 * font-lock.el (font-lock-refresh-defaults):
1497 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1498 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1500 * info.el (Info-directory-list, Info-read-node-name-2)
1501 (Info-split-parameter-string): Doc fixes.
1502 (Info-virtual-nodes): Reflow docstring.
1503 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1504 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1505 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1506 Fix typos in docstrings.
1507 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1508 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1509 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1510 (Info-restore-desktop-buffer): Mark unused parameters.
1511 (Info-directory-find-file, Info-directory-find-node)
1512 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1513 (Info-virtual-index-find-node, Info-apropos-find-file)
1514 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1515 Mark unused parameters; fix typos in docstrings.
1516 (Info-virtual-index): Remove unused local variable `nodename'.
1518 2011-04-05 Deniz Dogan <deniz@dogan.se>
1520 * net/rcirc.el: Update my e-mail address.
1521 (rcirc-mode-map): Remove M-o binding.
1523 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1525 * startup.el (command-line): Save the cursor's theme-face
1526 directly, instead of using face-override-spec.
1528 * custom.el (load-theme): Minor optimization in assigning faces.
1530 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1532 * help-fns.el (describe-variable): Complete all variables having
1533 documentation, including keywords.
1534 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1536 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1538 Convert to lexical-binding.
1540 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1541 (bs--get-marked-string, bs--get-modified-string)
1542 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1543 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1544 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1546 * ehelp.el (electric-help-execute-extended)
1547 (electric-help-ctrl-x-prefix):
1548 * hexl.el (hexl-revert-buffer-function):
1549 * linum.el (linum-after-change, linum-after-scroll):
1550 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1552 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1554 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1561 * epg.el: Use lexical binding.
1563 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1565 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1567 * textmodes/flyspell.el (flyspell-word): Recognize default
1568 dictionary case for flyspell-mark-duplications-exceptions.
1569 Use regexp matching for languages.
1570 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1571 default dictionary (Bug#7926).
1573 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1575 * emacs-lisp/package.el (package--with-work-buffer):
1576 Recognize https URLs.
1578 * net/network-stream.el: Move from gnus/proto-stream.el.
1579 Change prefix to network-stream throughout.
1580 (open-protocol-stream): Merge into open-network-stream, leaving
1581 open-protocol-stream as an alias. Handle nil BUFFER args.
1583 * subr.el (open-network-stream): Move to net/network-stream.el.
1585 2011-04-02 Glenn Morris <rgm@gnu.org>
1587 * find-dired.el (find-exec-terminator): New option.
1588 (find-ls-option): Test for -ls support.
1589 (find-ls-subdir-switches): Test for -b in find-ls-option.
1590 (find-dired, find-grep-dired): Doc fixes.
1591 (find-dired): Use find-exec-terminator.
1593 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1594 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1595 (find-name-arg): Remove purecopy.
1597 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1598 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1599 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1600 accordingly. Don't add the null-device if not needed.
1602 * files.el (save-some-buffers): Doc fix.
1604 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1606 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1608 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1610 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1611 Use `dolist' rather than `mapcar'.
1613 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1615 Add lexical binding.
1617 * subr.el (apply-partially): Use new closures rather than CL.
1618 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1619 (dolist, dotimes): Use slightly different expansion for lexical code.
1620 (functionp): Move to C.
1621 (letrec): New macro.
1622 (with-wrapper-hook): Use it and apply-partially instead of CL.
1623 (eval-after-load): Preserve lexical-binding.
1624 (save-window-excursion, with-output-to-temp-buffer): Turn them
1627 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1629 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1631 (help-add-fundoc-usage): Don't add `Not documented'.
1632 (help-function-arglist): Handle closures, subroutines, and new
1633 byte-code-functions.
1634 (help-make-usage): Remove leading underscores.
1635 (describe-function-1): Handle closures.
1636 (describe-variable): Use special-variable-p for completion.
1638 * files.el (lexical-binding): Declare safe.
1640 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1641 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1642 (pcase): Add `let' pattern.
1643 Change memoization so it actually works.
1644 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1645 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1648 * emacs-lisp/macroexp.el: Use lexical binding.
1649 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1650 Don't convert ' to #' without checking that it's indeed quoting
1653 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1654 Use eval-sexp-add-defvars.
1655 (eval-sexp-add-defvars): New fun.
1657 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1659 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1661 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1662 than the internal `byte-compile-lambda'.
1663 (defmethod): Don't hide code under quotes.
1664 (eieio-defmethod): New `code' argument.
1666 * emacs-lisp/eieio-comp.el: Remove.
1668 * emacs-lisp/edebug.el (edebug-eval-defun)
1669 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1670 (edebug-toggle): Avoid `eval'.
1672 * emacs-lisp/disass.el (disassemble-internal): Handle new
1674 (disassemble-1): Handle new byte codes.
1676 * emacs-lisp/cl.el (pushnew): Silence warning.
1678 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1679 (cl-byte-compile-throw): Remove.
1680 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1682 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1685 * emacs-lisp/cconv.el: New file.
1687 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1688 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1689 (byte-compile-initial-macro-environment):
1690 Handle declare-function here.
1691 (byte-compile--lexical-environment): New var.
1692 (byte-stack-ref, byte-stack-set, byte-discardN)
1693 (byte-discardN-preserve-tos): New lap codes.
1694 (byte-interactive-p): Don't use any more.
1695 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1697 (byte-compile-lapcode): Use them and handle new lap codes.
1698 (byte-compile-obsolete): Remove.
1699 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1700 (byte-compile-arglist-warn): Check late def of inlinable funs.
1701 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1702 since they should have been expanded by now.
1703 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1704 (byte-compile-from-buffer): Remove unused second arg.
1705 (byte-compile-preprocess): New function.
1706 (byte-compile-toplevel-file-form): New function to distinguish
1707 file-form calls from outside from file-form calls from hunk-handlers.
1708 (byte-compile-file-form): Simplify.
1709 (byte-compile-file-form-defsubst): Remove.
1710 (byte-compile-file-form-defmumble): Simplify now that
1711 byte-compile-lambda always returns a byte-code-function.
1712 (byte-compile): Preprocess.
1713 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1714 Remove, not used any more.
1715 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1716 (byte-compile-make-args-desc): New funs.
1717 (byte-compile-lambda): Handle lexical functions. Always return
1718 a byte-code-function.
1719 (byte-compile-reserved-constants): New var, to make up room for
1720 closed-over variables.
1721 (byte-compile-constants-vector): Obey it.
1722 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1723 (byte-compile-macroexpand-declare-function): New function.
1724 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1725 byte-code-functions.
1726 (byte-compile-form): Check obsolescence here.
1727 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1728 (byte-compile-variable-ref): Remove.
1729 (byte-compile-dynamic-variable-op): New fun.
1730 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1731 (byte-compile-variable-set): New funs.
1732 (byte-compile-discard): Add 2 args.
1733 (byte-compile-stack-ref, byte-compile-stack-set)
1734 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1735 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1736 macroexpand-all instead.
1737 (byte-compile-quote-form): Remove.
1738 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1739 (byte-compile-bind, byte-compile-unbind): New funs.
1740 (byte-compile-let): Handle let* and lexical binding.
1741 (byte-compile-let*): Remove.
1742 (byte-compile-catch, byte-compile-unwind-protect)
1743 (byte-compile-track-mouse, byte-compile-condition-case):
1744 Handle a new :fun-body form, used for lexical scoping.
1745 (byte-compile-save-window-excursion)
1746 (byte-compile-with-output-to-temp-buffer): Remove.
1747 (byte-compile-defun): Simplify.
1748 (byte-compile-stack-adjustment): New fun.
1749 (byte-compile-out): Use it.
1750 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1752 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1755 * emacs-lisp/byte-opt.el: Use lexical binding.
1756 (byte-inline-lapcode): Remove (to bytecomp).
1757 (byte-compile-inline-expand): Pay attention to inlining to/from
1758 lexically bound code.
1759 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1761 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1762 any more and don't call compiler-macros.
1763 (byte-compile-splice-in-already-compiled-code): Remove.
1764 (byte-code): Don't inline any more.
1765 (disassemble-offset): Receive `bytes' as argument rather than via
1767 (byte-compile-tag-number): Declare before first use.
1768 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1769 `return' even if make-spliceable.
1770 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1771 obsolete interactive-p.
1772 (byte-optimize-lapcode): Optimize new lap-codes.
1773 Don't trip up on new form of `byte-constant' lap code.
1775 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1777 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1779 * custom.el (custom-initialize-default, custom-declare-variable):
1782 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1784 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1785 (COMPILE_FIRST): Add macroexp and cconv.
1786 * makefile.w32-in: Mirror changes in Makefile.in.
1792 * vc/smerge-mode.el:
1793 * textmodes/bibtex-style.el:
1802 * emacs-lisp/smie.el:
1805 * abbrev.el: Use lexical binding.
1807 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1809 * info.el (info-display-manual): New function.
1811 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1815 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1817 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1818 an entry for that server in rcirc-authinfo. (Bug#8385)
1820 2011-03-31 Glenn Morris <rgm@gnu.org>
1822 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1824 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1826 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1828 * progmodes/python.el (python-default-interpreter)
1829 (python-python-command-args, python-jython-command-args)
1830 (python-which-shell, python-which-args, python-which-bufname)
1831 (python-file-queue, python-comint-output-filter-function)
1832 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1833 variables and functions.
1835 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1838 (completion-in-region-mode): New minor mode.
1839 (completion-in-region): Use it.
1840 (completion-in-region--data, completion-in-region-mode-map): New vars.
1841 (completion-in-region--postch): New function.
1842 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1844 (completion--capf-wrapper): New function.
1845 (completion-at-point): Use it to track well-behavedness of
1847 (completion-help-at-point): New command.
1849 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1851 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1852 syntax class to search for whitespace on a single line
1853 (Message-ID: <4D938140.4030905@redhat.com>).
1855 2011-03-30 Leo Liu <sdl.web@gmail.com>
1857 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1859 (edit-abbrevs-map): Bind them here.
1860 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1862 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1864 * allout.el (allout-hide-by-annotation, allout-flag-region):
1865 Reduce possibility of overlay leakage by making them volatile.
1867 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1868 hash is not shared between buffers. Mode initialization is
1869 responsible for giving it a useful starting value.
1870 (allout-item-span): Reduce possibility of overlay leakage by
1871 making them volatile.
1872 (allout-widgets-count-buttons-in-region): Add diagnostic function
1873 for tracking down button overlay leaks.
1875 2011-03-29 Leo Liu <sdl.web@gmail.com>
1877 * ido.el (ido-read-internal): Use the default history var
1878 minibuffer-history if no HISTORY is specified.
1880 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1882 * net/imap.el (imap-shell-open, imap-process-connection-type):
1883 Use imap-process-connection-type for 'shell' streams as well as
1884 Kerberos, SSL, other subprocesses.
1886 2011-03-28 Leo Liu <sdl.web@gmail.com>
1888 * abbrev.el (abbrev-table-empty-p): New function.
1889 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1890 nonempty ones. (Bug#5937)
1892 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1894 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1896 2011-03-27 Leo Liu <sdl.web@gmail.com>
1898 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1899 for foreground and background colors.
1900 (ansi-color-make-color-map): Adapt.
1902 2011-03-25 Leo Liu <sdl.web@gmail.com>
1904 * midnight.el (midnight-time-float): Remove. Note it calculates
1905 the microsecond component incorrectly and seconds-to-time does the
1907 Remove redundant (require 'timer).
1909 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1910 (ido-completions): Remove unused arguments. (Bug#8329)
1912 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1914 * minibuffer.el (completion--flush-all-sorted-completions):
1915 Remove itself from hook.
1916 (completion-at-point): Let the functions perform the completion
1917 immediately and return nil or t.
1918 * comint.el (comint-dynamic-complete-functions): Now identical to
1919 completion-at-point-functions.
1920 (comint-dynamic-list-input-ring): Remove unused var `index'.
1921 (comint--match-partial-filename, comint--unquote&expand-filename):
1922 New funs, split from comint-match-partial-filename.
1923 (comint-dynamic-complete): Use completion-at-point.
1924 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1926 2011-03-24 Drew Adams <drew.adams@oracle.com>
1928 * thingatpt.el: Support `defun'.
1930 2011-03-23 Leo Liu <sdl.web@gmail.com>
1932 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1934 * help-mode.el (help-mode-finish): Tweak regexp.
1936 2011-03-23 Glenn Morris <rgm@gnu.org>
1938 * eshell/esh-opt.el (eshell-eval-using-options):
1939 Do not bind unused local variable `eshell-option-stub'.
1941 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1943 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1945 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1946 keymap variable in `with-no-warnings' to avoid a warning when the
1947 keymap has been already `defconst'ed.
1949 2011-03-22 Leo Liu <sdl.web@gmail.com>
1951 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1952 encode all chars in abbrevs; otherwise use emacs-mule or
1953 utf-8-emacs. (Bug#8308)
1955 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1957 * simple.el (backward-delete-char-untabify):
1958 Avoid warning about using `delete-backward-char'.
1960 * image.el (image-type-file-name-regexps): Make it variable.
1961 `imagemagick-register-types' modifies it, and the user may want
1962 to add new extensions for known image types.
1963 (imagemagick-register-types): Throw error if not using ImageMagick.
1965 2011-03-22 Leo Liu <sdl.web@gmail.com>
1967 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1968 located before rcirc-prompt-end-marker.
1969 (rcirc-complete): Error if point is not after rcirc prompt.
1970 Handle the case when table is nil.
1971 (rcirc-user-authenticated): Define to fix compiler warning.
1973 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1975 * custom.el (custom--inhibit-theme-enable): Make it affect only
1976 custom-theme-set-variables and custom-theme-set-faces.
1977 (provide-theme): Ignore custom--inhibit-theme-enable.
1978 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1979 (custom-enabling-themes): Delete variable.
1980 (enable-theme): Accept only loaded themes as arguments.
1981 Ignore the special custom-enabled-themes variable.
1982 (custom-enabled-themes): Forbid themes from setting this.
1983 Eliminate use of custom-enabling-themes.
1984 (custom-push-theme): Quote "changed" custom var entry.
1986 2011-03-21 Leo Liu <sdl.web@gmail.com>
1988 * ido.el (ido-read-internal): Add ido-selected to history instead
1991 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1993 * subr.el (deferred-action-list, deferred-action-function):
1996 2011-03-21 Leo Liu <sdl.web@gmail.com>
1998 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1999 change on 2011-02-13 (bug#8309).
2001 * minibuffer.el (read-file-name-function): Change default value.
2002 (read-file-name--defaults): Rename from read-file-name-defaults.
2003 (read-file-name-default): Rename from read-file-name.
2004 (read-file-name): Call read-file-name-function.
2006 2011-03-21 Glenn Morris <rgm@gnu.org>
2008 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2011 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2013 * cus-theme.el: Add missing provide statement.
2014 (customize-create-theme): Extract theme value correctly.
2015 (custom-theme-visit-theme): Autoload.
2016 (customize-create-theme): Prompt before inserting default faces.
2018 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2020 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2021 units and musical notes.
2023 2011-03-20 Leo <sdl.web@gmail.com>
2025 * ido.el (ido-read-internal): Use completing-read-default.
2026 (ido-completing-read): Fix compatibility with completing-read.
2028 2011-03-20 Christian Ohler <ohler@gnu.org>
2030 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2031 (ert-delete-all-tests): Use `called-interactively-p' rather than
2033 (ert--make-xrefs-region): Respect END.
2035 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2037 * dired-aux.el (dired-create-directory): Signal an error if the
2038 directory already exists (Bug#8246).
2040 * facemenu.el (list-colors-display): Call list-faces-display
2041 inside with-help-window.
2042 (list-colors-print): Use display property to align the final
2043 column, instead of checking window-width.
2045 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2047 * emerge.el (emerge-metachars): Separate value for ms-dos and
2049 (emerge-protect-metachars): Quote correctly for ms-dos and
2052 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2054 * info.el (info-initialize): Replace all uses of `:' with
2055 path-separator for compatibility with non-Unix systems.
2056 Cache quoting of path-separator. (Bug#8258)
2058 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2060 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2061 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2062 (mouse-avoidance-mode): Fix typos in docstrings.
2064 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2066 * startup.el (package-subdirectory-regexp): Move from package.el.
2067 Omit \\` and \\', and let callers add them.
2069 * emacs-lisp/package.el (package-strip-version)
2070 (package-load-all-descriptors): Add \\` and \\' to
2071 package-subdirectory-regexp before using it.
2072 (package-untar-buffer): New arg DIR; ensure that file untars only
2073 into this expected directory. Remove superfluous delete-region.
2074 (package-unpack): Caller changed.
2075 (package-tar-file-info): Use package-subdirectory-regexp.
2077 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2080 diff-mode-shared-map (bug#8284).
2081 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2083 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2085 * calendar/time-date.el (format-seconds): Use assoc instead of
2086 assoc-string, since assoc-string doesn't exist in XEmacs.
2088 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2090 * custom.el (custom-known-themes): Reflow docstring.
2091 (custom-theme-load-path): Fix typo in docstring.
2092 (load-theme): Fix typo in error message.
2093 (custom-available-themes, custom-variable-theme-value):
2094 Use `let', not `let*'.
2096 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2098 * calc/README: Mention inclusion of musical notes.
2100 * calc/calc-units.el (calc-lu-quant): Rename from
2101 `calc-logunits-quantity'.
2102 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2103 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2104 (calc-db): Rename from `calc-dblevel'.
2105 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2106 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2107 (calc-np): Rename from `calc-nplevel'.
2108 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2109 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2110 (calc-lu-plus): Rename from `calc-logunits-add'.
2111 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2112 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2113 (calc-lu-minus): Rename from `calc-logunits-sub'.
2114 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2115 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2116 (calc-lu-times): Rename from `calc-logunits-mul'.
2117 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2118 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2119 (calc-lu-divide): Rename from `calc-logunits-div'.
2120 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2121 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2123 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2124 functions being autoloaded.
2126 * calc/calc.el (calc-lu-power-reference): Rename from
2127 `calc-logunits-power-reference'.
2128 (calc-lu-field-reference): Rename from
2129 `calc-logunits-field-reference'.
2131 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2133 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * minibuffer.el (completion-all-sorted-completions):
2136 Use :completion-cycle-penalty text property if present.
2138 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2140 * allout.el (allout-yank-processing): Adjust for new rebulleting
2141 regime so bullet being yanked is used without prompting the user
2144 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2146 * startup.el (command-line): Warn the user that _emacs is deprecated.
2148 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2150 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2151 (delphi-verbose, delphi-comment-face, delphi-string-face)
2152 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2153 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2154 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2155 (delphi-new-comment-line, delphi-font-lock-defaults)
2156 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2157 Fix typos in docstrings.
2159 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2161 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2162 Invert the roles of character and string values for INSTEAD, so a
2163 string is used for the more common case of a defaulting prompt.
2165 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * progmodes/ruby-mode.el (ruby-backward-sexp):
2168 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2169 * play/gamegrid.el (gamegrid-make-face):
2170 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2171 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2172 * notifications.el (notifications-notify):
2173 * net/xesam.el (xesam-search-engines):
2174 * net/quickurl.el (quickurl-list-insert):
2175 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2177 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2179 * startup.el (command-line): Update package subdirectory regexp.
2181 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2183 * allout.el (allout-abbreviate-flattened-numbering)
2184 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2186 * subr.el (read-char-choice): Only show the cursor after the prompt,
2187 not after the answer.
2189 2011-03-15 Kevin Ryde <user42@zip.com.au>
2191 * help-fns.el (variable-at-point): Skip leading quotes, if any
2194 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2196 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2199 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2201 * shell.el (shell): When called interactively, offer to change the
2202 shell file name on remote hosts.
2204 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2206 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2207 integration for LDAP parameters. The host, base, user or binddn,
2208 and secret tokens can be specified in a netrc file, for instance.
2209 This is optional because an `auth-source' parameter must be
2210 specified in the search attributes.
2212 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2214 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2216 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2219 into declaration. Remove redundant and harmful binding.
2221 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2223 * files.el (file-ownership-preserved-p): Pass `integer' as an
2224 explicit 2nd argument to `file-attributes'. If the file's owner
2225 is the Administrators group on Windows, and the current user is
2226 Administrator, consider that a match.
2228 * server.el (server-ensure-safe-dir): Consider server directory
2229 safe on MS-Windows if its owner is the Administrators group while
2230 the current Emacs user is Administrator. Use `=' to compare
2231 numerical UIDs, since they could be integers or floats.
2233 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2235 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2237 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2239 Sync with Tramp 2.2.1.
2241 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2243 * net/trampver.el: Update release number.
2245 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * progmodes/compile.el (compilation--previous-directory): Fix up
2248 various nil/dead-marker mismatches (bug#8014).
2249 (compilation-directory-properties, compilation-error-properties):
2250 Don't call it at a position past the one we're about to change.
2252 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2253 Disable obsolescence warnings in the file that declares it.
2255 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2257 * allout-widgets.el (allout-widgets-tally):
2258 Initialize allout-widgets-tally as a hash table rather than nil to
2259 prevent mode-line redisplay warnings. Also, clarify the module
2260 description and fix a comment typo.
2262 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2264 * help-fns.el (describe-variable): Don't complete keywords.
2265 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2267 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2269 * emacs-lisp/package.el (package-version-join): Impose a standard
2270 string representation for pre/alpha/beta version lists.
2271 (package-unpack-single): Standardize the directory name by passing
2272 it through package-version-join.
2273 (package-strip-rcs-id): Accept any version string that does not
2274 signal an error in version-to-list.
2276 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2278 * simple.el (delete-trailing-whitespace): Return nil for the
2279 benefit of `write-file-functions'.
2281 2011-03-10 Glenn Morris <rgm@gnu.org>
2283 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2285 * vc/vc-git.el (vc-git-program): New option.
2286 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2287 (vc-git--call): Use it.
2289 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2291 * cus-edit.el (Custom-newline): If no button at point, look
2292 for a subgroup button at start-of-line. (Bug#2298)
2294 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2296 2011-03-10 Julien Danjou <julien@danjou.info>
2298 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2299 `cursor-type' is nil.
2301 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2303 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2305 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2307 * allout.el Summary: Change so yank of distinctive-bullet items
2308 preserves the existing header prefix, rebulleting it if necessary,
2309 rather than replacing it. This is necessary for proper operation
2310 of cooperative addons like allout-widgets.
2311 (allout-make-topic-prefix, allout-rebullet-heading): Change
2312 SOLICIT arg to INSTEAD, and interpret additionally a string value
2313 as alternate bullet to be used, instead of prompting the user for
2316 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2319 Do not use `tramp-file-name-port', because this returns also
2320 `tramp-default-port'.
2322 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2324 * net/rcirc.el (rcirc-handler-001): Remove useless
2325 with-rcirc-process-buffer.
2326 (rcirc-check-auth-status): Swap arguments to string-match.
2328 2011-03-09 Glenn Morris <rgm@gnu.org>
2330 * shell.el (shell-mode):
2331 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2333 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2334 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2336 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2338 * emacs-lisp/package.el (package-refresh-contents)
2339 (package-menu-execute): Use condition-case-no-debug.
2341 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2343 * simple.el (shell-command-to-string): Use `process-file'.
2345 * emacs-lisp/package.el (package-tar-file-info): Handle also
2348 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2349 Use `equal' for upload base check.
2351 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2353 * textmodes/texinfo.el (texinfo-environments):
2354 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2356 2011-03-08 Glenn Morris <rgm@gnu.org>
2358 * cus-start.el (cursor-in-non-selected-windows):
2359 Fix :set quoting oddness. (Bug#8192)
2361 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2362 in some setf expressions. (Bug#2159)
2364 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2366 * custom.el (custom-available-themes): Return themes in
2369 See ChangeLog.15 for earlier changes.
2375 Copyright (C) 2011 Free Software Foundation, Inc.
2377 This file is part of GNU Emacs.
2379 GNU Emacs is free software: you can redistribute it and/or modify
2380 it under the terms of the GNU General Public License as published by
2381 the Free Software Foundation, either version 3 of the License, or
2382 (at your option) any later version.
2384 GNU Emacs is distributed in the hope that it will be useful,
2385 but WITHOUT ANY WARRANTY; without even the implied warranty of
2386 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2387 GNU General Public License for more details.
2389 You should have received a copy of the GNU General Public License
2390 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.