1 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
3 * misc.el: Require tabulated-list.el during compilation.
5 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
7 * progmodes/compile.el (compilation-start): Run
8 compilation-filter-hook for the async case too.
9 (compilation-filter-hook): Doc fix.
11 2011-05-09 Deniz Dogan <deniz@dogan.se>
13 * wdired.el: Remove outdated installation comment. Fix usage
16 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18 * misc.el: Implement new command `list-dynamic-libraries'.
19 (list-dynamic-libraries--loaded-only-p): New variable.
20 (list-dynamic-libraries--refresh): New function.
21 (list-dynamic-libraries): New command.
23 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25 * progmodes/compile.el (compilation-error-regexp-alist-alist): Fix
26 the ant regexp to handle end-line and end-column info from jikes.
27 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
28 higher priority to avoid clobbering by gnu.
30 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
32 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
33 if the face has existing theme settings (Bug#8454).
35 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
37 * progmodes/perl-mode.el (perl-imenu-generic-expression): Only
38 match variables declared via `my' or `our' (Bug#8261).
40 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
41 special file names `.' and `..' (Bug#8259).
43 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
45 * progmodes/grep.el (grep-mode-font-lock-keywords): Remove
46 buffer-changing entries.
47 (grep-filter): New function.
48 (grep-mode): Add it to compilation-filter-hook.
50 * progmodes/compile.el (compilation-filter-hook)
51 (compilation-filter-start): New defvars.
52 (compilation-filter): Call compilation-filter-hook prior to
53 updating the process mark.
55 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
57 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
59 2011-05-07 Eli Zaretskii <eliz@gnu.org>
61 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
62 mailclient-send-it even if window-system is nil. (Bug#8595)
64 * term/w32console.el (terminal-init-w32console):
65 Call get-screen-color and use its output to set the frame
66 background-mode. (Bug#8597)
68 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
70 Make bytecomp.el understand that defmethod defines funs (bug#8631).
71 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
73 (defgeneric, eieio--defmethod): Use them.
74 (eieio-defgeneric): Remove.
75 (defmethod): Call defgeneric in a way visible to the byte-compiler.
77 2011-05-07 Glenn Morris <rgm@gnu.org>
79 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
80 Use let rather than let*.
81 (timeclock-find-discrep): Remove unused local.
83 * calendar/diary-lib.el (diary-comment-start): Doc fix.
85 * calendar/appt.el (appt-time-msg-list): Doc fix.
87 2011-05-06 Noah Friedman <friedman@splode.com>
89 * apropos.el (apropos-print-doc): Only use
90 emacs-lisp-docstring-fill-column when it is bound to an integer,
91 per that variable's documentation.
93 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
95 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
96 and warnings are not silently discarded (e.g. use -d instead of -P).
98 2011-05-06 Glenn Morris <rgm@gnu.org>
100 * calendar/appt.el (appt-message-warning-time): Doc fix.
101 (appt-warning-time-regexp): New option.
102 (appt-make-list): Respect appt-message-warning-time.
104 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
106 (diary-add-to-list): Strip comments from the displayed string.
107 (diary-mode): Set comment-start and comment-end.
109 * vc/diff-mode.el (smerge-refine-subst): Declare.
110 (diff-refine-hunk): Don't require smerge-mode when compiling.
112 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
114 * simple.el (list-processes): Return nil as the docstring says.
116 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
118 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
120 (ange-ftp-write-region, ange-ftp-insert-file-contents)
121 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
122 determining of binary transfer. (Bug#7383)
124 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
126 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
127 Fix port computation bug. (Bug#8618)
129 2011-05-05 Glenn Morris <rgm@gnu.org>
131 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
133 * simple.el (shell-dynamic-complete-functions)
134 (comint-dynamic-complete-functions): Declare.
136 * net/network-stream.el (gnutls-negotiate):
137 * simple.el (tabulated-list-print): Fix declarations.
139 * progmodes/gud.el (syntax-symbol, syntax-point):
140 Remove unnecessary and incorrect declarations.
142 * emacs-lisp/check-declare.el (check-declare-scan):
143 Handle byte-compile-initial-macro-environment in bytecomp.el
145 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
147 Fix earlier half-done eieio-defmethod change (bug#8338).
148 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
149 Streamline and change calling convention.
150 (defmethod): Adjust accordingly and simplify.
151 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
152 new eieio--defmethod.
153 (slot-boundp): Minor CSE simplification.
155 2011-05-05 Milan Zamazal <pdm@zamazal.org>
157 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
158 (glasses-make-readable): Use glasses-separate-capital-groups.
160 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
162 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
163 (warning-series): Doc fix.
164 (display-warning): Don't try to create the buffer if we just found it.
166 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
168 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
169 (autoload-find-generated-file): New function.
170 (generate-file-autoloads): Bind generated-autoload-file to
172 (update-file-autoloads, update-directory-autoloads):
173 Use autoload-find-generated-file. If called interactively, prompt for
174 output file (Bug#7989).
175 (batch-update-autoloads): Doc fix.
177 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
179 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
181 2011-05-04 Glenn Morris <rgm@gnu.org>
183 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
184 function, so it follows changes in calendar-date-style.
185 (diary-fancy-date-matcher): New function.
186 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
187 (diary-fancy-font-lock-fontify-region-function):
188 Use diary-fancy-date-pattern as a function.
190 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
191 non-numbers for `year' etc pseudo-variables. (Bug#8583)
193 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
195 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
196 instead of positional arguments. Allow :keylist and :crlfiles
198 (open-gnutls-stream): Call it.
200 * net/network-stream.el (network-stream-open-starttls): Adjust to
201 call `gnutls-negotiate' with :process and :hostname arguments.
203 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
205 * minibuffer.el (completion--message): New function.
206 (completion--do-completion, minibuffer-complete)
207 (minibuffer-force-complete, minibuffer-complete-word): Use it.
208 (completion--do-completion): Don't ignore completion-auto-help when in
211 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
212 internal encoding (e.g. tibetan zero is not whitespace).
213 (global-whitespace-mode): Prefer save-current-buffer.
214 (whitespace-trailing-regexp): Remove useless save-match-data.
215 (whitespace-empty-at-bob-regexp): Minor simplification.
217 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
219 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
221 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
223 * textmodes/ispell.el (ispell-add-per-file-word-list):
224 Use `concat' to create string for insertion.
226 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
228 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
229 Avoid open-line which runs post-self-insert-hook.
230 (bibtex-fill-entry): Remove unused `end' var.
232 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
234 * textmodes/ispell.el (ispell-add-per-file-word-list):
235 Protect against `nil' value of `comment-start' (Bug#8579).
237 2011-05-03 Leo Liu <sdl.web@gmail.com>
239 * isearch.el (isearch-yank-pop): New command.
240 (isearch-mode-map): Bind it to `M-y'.
241 (isearch-forward): Mention it.
243 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
245 * simple.el (minibuffer-complete-shell-command): Remove.
246 (minibuffer-local-shell-command-map): Use completion-at-point.
247 (read-shell-command): Setup completion vars here instead.
248 (read-expression-map): Bind TAB to symbol completion.
250 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
251 error directly rather via storing it into `results'.
253 2011-05-02 Leo Liu <sdl.web@gmail.com>
255 * vc/diff.el: Fix description.
257 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
259 * server.el (server-eval-at): New function.
261 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
263 * net/network-stream.el (open-network-stream): Take a :nowait
264 parameter and pass it on to `make-network-process'.
265 (network-stream-open-plain): Ditto.
267 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
269 * faces.el (face-spec-set-match-display): Don't match toolkit
270 options on terminal frames.
272 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
274 * progmodes/pascal.el: Use lexical binding.
275 (pascal-mode-map): Remove author preferences.
277 * pcomplete.el (pcomplete-std-complete): Don't abuse
280 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
282 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
283 removing code that has been dead since 1991 or so.
285 * startup.el (command-line): When warning about "_emacs", use a
286 delayed warning to allow the user to filter it out.
288 2011-04-28 Deniz Dogan <deniz@dogan.se>
290 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
293 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
295 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
296 aren't any completions at point.
298 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
300 * subr.el (display-delayed-warnings): New function.
301 (delayed-warnings-hook): New variable.
303 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
305 * minibuffer.el (completion-at-point, completion-help-at-point):
306 Don't presume that a given completion-at-point-function will always
307 use the same calling convention.
309 * pcomplete.el (pcomplete-completions-at-point):
310 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
311 pcomplete-seen is non-nil.
312 (pcomplete-comint-setup): Also recognize the new comint/shell
313 completion functions.
314 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
315 pcomplete-seen is non-nil.
317 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
319 * calendar/icalendar.el (diary-lib): Add require statement.
320 (icalendar--create-uid): Read out a uid from a text-property on
321 the first character in the entry. This allows for code to add its
322 own uid to the entry.
323 (icalendar--convert-float-to-ical): Add export of
324 `diary-float'-entries save for those with the optional DAY
327 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
329 * subr.el (shell-quote-argument): Use alternate escaping strategy
330 when we spot a variable reference in a string.
332 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
334 * cus-start.el (all): Define customization for debug-on-event.
336 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
338 * subr.el (shell-quote-argument): Escape correctly under Windows.
340 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
344 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
346 * net/tramp.el (tramp-process-actions): Add POS argument.
347 Delete region between POS and (pos).
349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
350 Use `nil' position in `tramp-process-actions' call.
351 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
353 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
354 position in `tramp-process-actions' call.
356 * net/trampver.el: Update release number.
358 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
360 * custom.el (defcustom): Obey lexical-binding.
362 Fix octave-inf completion problems reported by Alexander Klimov.
363 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
364 Inherit from octave-mode-syntax-table.
365 (inferior-octave-mode): Set info-lookup-mode.
366 (inferior-octave-completion-at-point): New function.
367 (inferior-octave-complete): Use it and completion-in-region.
368 (inferior-octave-dynamic-complete-functions): Use it as well, and use
369 comint-filename-completion.
370 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
371 symbol elements which shouldn't be word elements.
372 (octave-font-lock-keywords, octave-beginning-of-defun)
373 (octave-function-header-regexp): Adjust regexps accordingly.
374 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
376 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
378 * net/gnutls.el (gnutls-errorp): Declare before first use.
380 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
382 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
383 verify-error, and verify-hostname-error parameters. Check whether
384 default trustfile exists before going to use it. Add missing
385 argument to gnutls-message-maybe call. Return return value.
386 Reported by Claudio Bley <claudio.bley@gmail.com>.
387 (open-gnutls-stream): Add usage example.
389 * net/network-stream.el (network-stream-open-starttls): Give host
390 parameter to `gnutls-negotiate'.
391 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
392 * subr.el (shell-quote-argument): Escape correctly under Windows.
394 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
396 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
397 Use correct match group (bug#8438).
399 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
401 * emacs-lisp/package.el (package-built-in-p): Fix typo.
402 (package-menu--generate): New arg specifying packages to show.
403 (package-menu-refresh, package-menu-execute, list-packages):
405 (package-show-package-list): New function, replacing deleted
406 package--list-packages (renamed because it is non-internal).
408 * finder.el (finder-list-matches): Use package-show-package-list
409 instead of deleted package--list-packages.
411 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
412 Based on a previous implementation by Juanma Barranquero (Bug#8366).
413 (vc-annotate-mode-map): Bind it to RET.
415 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
417 * progmodes/etags.el (next-file): Don't use set-buffer to change
420 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
422 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
424 * apropos.el (apropos-label-face): Avoid variable-pitch face.
425 (apropos-accumulator): Doc fix.
426 (apropos-function, apropos-macro, apropos-command)
427 (apropos-variable, apropos-face, apropos-group, apropos-widget)
428 (apropos-plist): Add face property.
429 (apropos-symbols-internal): Fix indentation.
430 (apropos-print): Simplify help, and recognize apropos-multi-type.
431 (apropos-print-doc): Use button-type-get to extract the button's
432 face property. Fill docstring (Bug#8352).
434 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
436 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
438 * play/mpuz.el (mpuz-silent): Doc fix.
439 (mpuz-mode-map): Use mapc.
440 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
441 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
442 Fix typos in docstrings.
444 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
445 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
447 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
449 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
451 * minibuffer.el (completion--do-completion): Avoid the "Next char
452 not unique" prompt if icomplete-mode is enabled (Bug#5849).
454 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
455 mouse-2 into unread-command-events, it is interpreted correctly.
457 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
458 (image-toggle-display): Doc fix.
460 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
462 * textmodes/page.el (what-page): Use line-number-at-pos to
463 calculate line number (Bug#6825).
465 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
467 * eshell/esh-mode.el (find-tag-interactive): Declare function.
468 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
469 Pass argument NO-DEFAULT to `find-tag-interactive'.
471 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
473 Lexical-binding cleanup.
475 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
476 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
477 * progmodes/ada-prj.el (ada-prj-initialize-values)
478 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
479 (ada-prj-show-value):
480 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
481 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
482 (antlr-invalidate-context-cache, antlr-options-menu-filter)
483 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
484 * progmodes/bug-reference.el (bug-reference-push-button):
485 * progmodes/fortran.el (fortran-line-length):
486 * progmodes/glasses.el (glasses-change):
487 * progmodes/octave-mod.el (octave-fill-paragraph):
488 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
489 (python-pdbtrack-grub-for-buffer, python-sentinel):
490 * progmodes/sql.el (sql-save-connection):
491 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
492 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
493 Mark unused parameters.
495 * progmodes/compile.el (compilation--flush-directory-cache)
496 (compilation--flush-parse, compile-internal): Mark unused parameters.
497 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
498 (compilation-next-error-function): Remove unused variable `timestamp'.
500 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
501 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
503 * progmodes/dcl-mode.el (dcl-end-of-command):
504 Remove unused variable `start'.
505 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
506 (dcl-option-value-basic, dcl-option-value-offset)
507 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
508 Mark unused parameters.
509 (dcl-save-local-variable): Remove unused variable `val'.
512 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
513 Mark unused parameters.
514 (delphi-ignore-changes): Move before first use.
515 (delphi-charset-token-at): Remove unused variable `start'.
516 (delphi-else-start): Remove unused variable `if-count'.
517 (delphi-comment-block-start, delphi-comment-block-end):
518 Remove unused variable `kind'.
519 (delphi-indent-line): Remove unused variable `new-point'.
521 * progmodes/ebrowse.el (ebrowse-files-list)
522 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
523 Mark unused parameters. Don't quote `lambda'.
524 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
525 Don't quote `lambda'.
526 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
527 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
528 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
529 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
531 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
532 (ebrowse-view/find-file-and-search-pattern)
533 (ebrowse-view/find-member-declaration/definition):
534 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
535 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
536 Rename parameter PREFIX-ARG to PREFIX.
537 (ebrowse-tags-read-name): Remove unused variables `start' and
539 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
542 * progmodes/etags.el (local-find-tag-hook): Declare.
543 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
544 Mark unused parameters.
546 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
547 (executable-interpret): Mark unused parameter.
549 * progmodes/flymake.el (flymake-process-sentinel)
550 (flymake-after-change-function)
551 (flymake-create-temp-with-folder-structure)
552 (flymake-get-include-dirs-dot): Mark unused parameters.
553 (flymake-safe-delete-directory): Remove unused variable `err'.
555 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
556 (speedbar-timer-fn, speedbar-line-text)
557 (speedbar-change-expand-button-char, speedbar-delete-subblock)
558 (speedbar-center-buffer-smartly): Declare functions.
559 (gdb-find-watch-expression): Remove unused variable `array'.
560 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
561 (gdb-starting): Mark unused parameters.
562 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
563 (gdb-table-string): Remove unused variable `res'.
564 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
565 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
566 (gdb-display-buffer): Remove unused variable `cur-size'.
568 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
569 allow lexical-binding compilation.
570 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
571 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
572 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
573 Mark unused parameters.
574 (gud-gdb-marker-filter): Remove unused variable `match'.
575 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
576 lambda expressions and funcall them, instead of using `fset'.
578 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
579 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
581 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
582 variable `header-beg'; use `let'.
584 * progmodes/icon.el (indent-icon-exp): Remove unused variables
585 `restart', `last-sexp' and `at-do'.
587 * progmodes/js.el (js--debug): Mark unused parameter.
588 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
589 (js--splice-into-items): Remove unused variable `item'.
590 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
592 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
593 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
594 (makefile-complete): Remove unused variable `try'.
595 (makefile-fill-paragraph, makefile-match-function-end):
596 Mark unused parameters.
598 * progmodes/octave-inf.el (inferior-octave-complete):
599 Remove unused variable `proc'.
600 (inferior-octave-output-digest): Mark unused parameter.
602 * progmodes/perl-mode.el (perl-calculate-indent):
603 Remove unused variable `err'.
605 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
606 (prolog-indent-line): Mark unused parameters.
607 (prolog-indent-line): Remove unused variable `beg'.
609 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
610 (reporter-dont-compact-list): Declare.
612 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
613 Remove unused variable `char'.
614 (sh-debug): Mark unused parameter.
615 (sh-get-indent-info): Remove unused variable `start'.
616 (sh-calculate-indent): Remove unused variable `var'.
618 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
619 (simula-electric-keyword): Remove unused variable `null'.
620 (simula-search-backward, simula-search-forward): Remove unused
621 variables `begin' and `end'.
623 * progmodes/vera-mode.el (vera-guess-basic-syntax):
624 Remove unused variable `pos'.
625 (vera-electric-tab, vera-comment-uncomment-region):
626 Mark unused parameters.
627 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
629 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
631 * emacs-lisp/package.el (package--builtins, package-alist)
632 (package-load-descriptor, package-built-in-p, package-activate)
633 (define-package, package-installed-p)
634 (package-compute-transaction, package-buffer-info)
635 (package--push): Doc fix. Distinguish more clearly between
636 version strings and version lists.
638 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
640 Lexical-binding cleanup.
642 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
643 (5x5-make-mutate-best):
644 * play/fortune.el (fortune-in-buffer):
645 * play/gomoku.el (gomoku-init-display):
646 * play/solitaire.el (solitaire, solitaire-do-check):
647 * play/tetris.el (tetris-default-update-speed-function):
648 Mark unused parameters.
650 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
651 (bubbles--shift): Remove unused variable `char-org'.
652 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
653 (bubbles--show-images): Remove unused variable `char'.
655 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
656 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
657 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
658 (decipher-analyze-buffer): Use ?\s.
659 (decipher-make-checkpoint): Remove unused variable `mapping'.
661 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
663 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
664 Remove unused variable `result'; use `let'.
666 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
667 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
668 (gametree-children-shown-p, gametree-compute-reduced-score):
671 * play/handwrite.el (ps-lpr-switches): Declare.
672 (handwrite): Remove unused variables `pmin' and `lastp'.
674 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
676 * play/landmark.el (landmark-init-display)
677 (landmark-update-naught-weights): Mark unused parameters.
678 (landmark-y): Remove unused variable `noise'. Simplify.
679 (landmark-human-plays): Remove unused variable `score'.
681 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
682 (mpuz-try-proposal): Remove unused variable `game'.
684 * play/zone.el (life-patterns): Declare.
686 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
688 * vc/vc.el (ediff-vc-internal): Declare function.
690 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
692 * shell.el: Use lexical-binding and std completion UI.
693 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
694 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
695 comint-preoutput-filter-functions rather than on
696 comint-output-filter-functions.
697 (shell-command-completion, shell--command-completion-data)
698 (shell-filename-completion, shell-environment-variable-completion)
699 (shell-c-a-p-replace-by-expanded-directory): New functions.
700 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
701 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
702 (shell-dynamic-complete-environment-variable): Use them.
703 (shell-dynamic-complete-as-environment-variable)
704 (shell-dynamic-complete-as-command): Remove.
705 (shell-match-partial-variable): Match past point.
706 * comint.el: Clean up use of completion-at-point-functions.
707 (comint-completion-at-point): New function.
708 (comint-mode): Use it completion-at-point-functions.
709 (comint-dynamic-complete): Make it obsolete.
710 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
711 (comint-c-a-p-replace-by-expanded-history): New function.
712 (comint-dynamic-complete-functions)
713 (comint-replace-by-expanded-history): Use it.
714 * minibuffer.el (completion-table-with-terminator): Allow dynamic
715 termination strings. Try harder to avoid second try-completion.
716 (completion-in-region-mode-map): Disable bindings that don't work yet.
718 * comint.el: Use lexical-binding. Require CL.
719 (comint-dynamic-complete-functions): Use comint-filename-completion.
720 (comint-completion-addsuffix): Tweak custom type.
721 (comint-filename-completion, comint--common-suffix)
722 (comint--common-quoted-suffix, comint--table-subvert)
723 (comint--complete-file-name-data): New functions.
724 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
725 (comint-dynamic-list-filename-completions): Use them.
726 (comint-dynamic-simple-complete): Make obsolete.
728 * minibuffer.el (completion-in-region-mode):
729 Keep completion-in-region-mode--predicate global.
730 (completion-in-region--postch):
731 Assume completion-in-region-mode--predicate is not null.
733 * progmodes/flymake.el (flymake-start-syntax-check-process):
734 Obey `dir'. Simplify.
736 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
737 we're in VC after all.
739 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
741 * vc/vc.el (vc-diff-build-argument-list-internal)
742 (vc-version-ediff, vc-ediff): New commands.
743 (vc-version-diff): Use vc-diff-build-argument-list-internal.
745 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
747 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
750 * obsolete/erc-hecomplete.el: Make obsolete.
751 * obsolete/: Standardize obsolescence info in the header.
753 2011-04-20 Glenn Morris <rgm@gnu.org>
755 * calendar/solar.el (solar-horizontal-coordinates):
756 Use the longitude argument rather than `calendar-longitude'.
757 (solar-date-next-longitude): Remove unused locals.
759 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
761 * whitespace.el: New version 13.2.1.
763 2011-04-20 felix <EmacsWiki> (tiny change)
765 * whitespace.el (global-whitespace-mode): keep highlight when
766 switching between major modes on a file.
768 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
770 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
771 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
772 multi-line comments as well.
774 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
776 Lexical-binding cleanup.
778 * arc-mode.el (archive-mode-revert):
779 * cmuscheme.el (scheme-interactively-start-process):
780 * custom.el (custom-initialize-delay):
781 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
782 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
783 * emacs-lock.el (emacs-lock-clear-sentinel):
784 * ezimage.el (defezimage):
785 * follow.el (follow-avoid-tail-recenter):
786 * fringe.el (set-fringe-mode-1):
787 * generic-x.el (bat-generic-mode-compile):
788 * help-mode.el (help-info-variable, help-do-xref)
789 (help-mode-revert-buffer):
790 * help.el (view-emacs-todo):
791 * iswitchb.el (iswitchb-completion-help):
792 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
793 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
794 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
795 * locate.el (locate-update):
796 * longlines.el (longlines-encode-region)
797 (longlines-after-change-function):
798 * outline.el (outline-isearch-open-invisible):
799 * ps-def.el (declare-function, charset-dimension, char-width)
801 * ps-mule.el (ps-mule-plot-string):
802 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
803 (recentf-edit-list-select, recentf-edit-list-validate)
804 (recentf-open-files-action):
805 * rect.el (delete-whitespace-rectangle-line)
806 (rectangle-number-line-callback):
807 * register.el (window-configuration-to-register)
808 (frame-configuration-to-register):
809 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
810 * select.el (xselect-convert-to-string, xselect-convert-to-length)
811 (xselect-convert-to-targets, xselect-convert-to-delete)
812 (xselect-convert-to-filename, xselect-convert-to-charpos)
813 (xselect-convert-to-lineno, xselect-convert-to-colno)
814 (xselect-convert-to-os, xselect-convert-to-host)
815 (xselect-convert-to-user, xselect-convert-to-class)
816 (xselect-convert-to-name, xselect-convert-to-integer)
817 (xselect-convert-to-atom, xselect-convert-to-identity):
818 * subr.el (declare, ignore, process-kill-without-query)
819 (text-clone-maintain):
820 * terminal.el (te-get-char, te-tic-sentinel):
821 * tool-bar.el (tool-bar-make-keymap):
822 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
823 * type-break.el (type-break-mode, type-break-noninteractive-query):
824 * view.el (View-back-to-mark):
825 * wid-browse.el (widget-browse-action, widget-browse-widget)
826 (widget-browse-widgets, widget-browse-sexp):
827 * widget.el (define-widget-keywords):
828 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
829 Mark unused parameters.
831 * align.el (align-adjust-col-for-rule): Mark unused parameter.
832 (align-areas): Remove unused variable `look'.
833 (align-region): Remove unused variables `real-end' and `pos-list'.
835 * apropos.el (apropos-score-doc): Remove unused variable `i'.
837 * bindings.el (mode-line-modified, mode-line-remote):
838 Mark unused parameters.
839 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
841 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
842 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
844 * comint.el (comint-history-isearch-pop-state)
845 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
846 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
847 (comint-substitute-in-file-name): Doc fix.
849 * completion.el (cmpl-statistics-block): Mark unused parameter.
850 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
851 (save-completions-to-file, load-completions-from-file):
852 Remove unused local variable `e'.
854 * composite.el (compose-chars): Remove unused variable `len'.
855 (lgstring-insert-glyph): Remove unused variable `g'.
856 (compose-glyph-string): Remove unused variables `ascent',
857 `descent', `lbearing' and `rbearing'.
858 (compose-glyph-string-relative): Remove unused variables
859 `lbearing', `rbearing' and `wadjust'.
860 (compose-gstring-for-graphic): Remove unused variables `header',
861 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
862 (compose-gstring-for-terminal): Remove unused variables `header'
863 and `nchars'. Use `let', not `let*'.
865 * cus-edit.el (Custom-set, Custom-save, custom-reset)
866 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
867 (Custom-buffer-done, custom-buffer-create-internal)
868 (custom-browse-visibility-action, custom-browse-group-tag-action)
869 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
870 (widget-magic-mouse-down-action, custom-toggle-parent)
871 (custom-add-parent-links, custom-toggle-hide-variable)
872 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
873 (custom-toggle-hide-face, face, hook, custom-group-link-action)
874 (custom-face-menu-create, custom-variable-menu-create, get)
875 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
876 (custom-reset-standard-save-and-update): Remove unused variable `value'.
877 (customize-apropos): Remove unused variable `tests'.
878 (custom-group-value-create): Remove unused variable `hidden-p'.
879 (sort-fold-case): Declare.
881 * cus-theme.el (custom-reset-standard-faces-list)
882 (custom-reset-standard-variables-list): Declare.
883 (customize-create-theme, custom-theme-revert, custom-theme-write)
884 (custom-theme-choose-mode, customize-themes, custom-theme-save):
885 Mark unused parameters.
887 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
889 * delim-col.el (delimit-columns-max): Move defvar before first use.
891 * descr-text.el (describe-char-categories): Don't quote `lambda'.
892 (describe-char): Don't quote `lambda'. Mark unused parameter.
894 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
895 (auto-insert): Declare.
896 (desktop-restore-file-buffer): Rename desktop-* parameters;
898 (desktop-create-buffer): Rename desktop-* parameters and bind them.
899 (desktop-buffer): Rename desktop-* parameters.
901 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
902 (dframe-reposition-frame-xemacs, dframe-help-echo)
903 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
904 Mark unused parameters.
906 * dired-aux.el (backup-extract-version-start, overwrite-query)
907 (overwrite-backup-query, rename-regexp-query)
908 (rename-non-directory-query): Declare.
909 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
910 (dired-add-entry): Remove unused variable `orig-file-name'.
911 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
912 Use parameter PRESERVE-TIME instead of accessing dynamic variable
913 `dired-copy-preserve-time' directly.
914 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
915 (dired-insert-subdir-newpos): Rename unused variable `pos'.
917 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
918 (dired-virtual-revert, dired-make-relative-symlink):
919 Mark unused parameters.
920 (manual-program): Declare.
921 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
922 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
923 wrapped in `with-no-warnings' to avoid replacing one warning by another.
925 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
927 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
929 * echistory.el (electric-history-in-progress, Helper-return-blurb):
932 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
934 * electric.el (Electric-command-loop): Rename parameter
935 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
937 * expand.el (expand-in-literal): Remove unused variable `here'.
939 * facemenu.el (facemenu-add-new-color):
940 Remove unused variable `docstring'.
942 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
943 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
944 (face-attr-construct): Mark unused parameter. Doc fix.
945 (read-color): Remove unused variable `hex-string'.
947 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
948 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
949 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
950 (display-buffer-other-frame): Remove unused variable `old-window'.
951 (kill-buffer-hook): Declare.
952 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
953 Mark unused parameters.
954 (after-find-file): Pass 1 to `auto-save-mode', not t.
956 * files-x.el (auto-insert): Declare.
957 (modify-file-local-variable-prop-line): Remove unused variable `val'.
959 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
960 variable `buf'. Mark unused parameter.
961 (find-lisp-insert-directory): Mark unused parameter.
963 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
964 (format-encode-region): Remove unused variables `cur-buf' and `result'.
965 (format-common-tail): Remove, unused.
966 (format-deannotate-region): Remove unused variable `loc'.
967 (format-annotate-region): Remove unused variable `p'.
968 (format-annotate-single-property-change): Remove unused variables
969 `default' and `tail'.
971 * forms.el (read-file-filter): Declare.
972 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
974 * frame.el (frame-creation-function-alist): Mark unused parameter.
975 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
977 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
978 Remove unused parameters.
979 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
980 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
982 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
983 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
984 (hfy-prepare-tag-map): Mark unused parameters.
985 (htmlfontify-buffer): Use `called-interactively-p'.
987 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
988 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
989 (ibuffer-do-occur): Mark unused parameters.
990 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
991 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
993 * ibuffer.el: Don't quote `lambda'.
994 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
995 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
996 Mark unused parameters.
998 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
999 (ido-completing-read): Mark unused parameters.
1000 (ido-copy-current-word): Mark unused parameters;
1001 remove unused variable `name'.
1002 (ido-sort-merged-list): Remove unused parameter `dirs'.
1004 * ielm.el (ielm-input-sender): Mark unused parameter.
1005 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1006 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1007 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1008 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1009 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1011 * image-dired.el (image-dired-display-thumbs): Remove unused
1012 variables `curr-file' and `count'.
1013 (image-dired-remove-tag): Remove unused variable `start'.
1014 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1015 variable `curr-file'
1016 (image-dired-rotate-original): Remove unused variable `temp-file'.
1017 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1018 Remove unused variable `file'.
1019 (image-dired-gallery-generate): Remove unused variable `curr'.
1020 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1022 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1024 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1026 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1028 * isearch.el (minibuffer-history-symbol): Declare.
1029 (isearch-edit-string): Remove unused variable `err'.
1030 (isearch-message-prefix, isearch-message-suffix):
1031 Mark unused parameters.
1033 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1035 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1037 * makesum.el (double-column): Remove unused variable `cnt'.
1039 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1040 (ido-ignore-item-temp-list): Declare.
1042 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1043 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1044 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1045 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1048 * mouse-sel.el (mouse-extend-internal):
1049 Remove unused variable `orig-window-frame'.
1051 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1052 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1053 Move declarations before first use.
1054 (pcomplete-opt): Mark unused parameters; doc fix.
1056 * proced.el (proced-revert): Mark unused parameter.
1057 (proced-send-signal): Remove unused variable `err'.
1059 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1060 Rename parameter PREFIX-ARG to ARG.
1061 (ps-basic-plot-string, ps-basic-plot-whitespace):
1062 Mark unused parameters.
1064 * replace.el (replace-count): Define.
1065 (occur-revert-function): Mark unused parameters.
1066 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1067 (isearch-case-fold-search, isearch-string): Declare.
1068 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1069 bind `case-fold-search'. Remove unused variables `beg' and `end',
1071 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1072 COUNT and bind `replace-count'.
1073 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1076 * savehist.el (print-readably, print-string-length): Declare.
1078 * shadowfile.el (shadow-expand-cluster-in-file-name):
1079 Remove unused variable `cluster'.
1080 (shadow-copy-file): Remove unused variable `i'.
1081 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1082 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1083 (shadow-define-literal-group, shadow-define-regexp-group)
1084 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1086 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1087 (shell): Use `called-interactively-p'.
1088 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1090 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1091 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1092 (delete-backward-char): Remove unused variable `ocol'.
1093 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1094 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1095 (event-apply-hyper-modifier, event-apply-shift-modifier)
1096 (event-apply-control-modifier, event-apply-meta-modifier):
1097 Mark unused parameters.
1098 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1099 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1101 * speedbar.el (speedbar-ignored-directory-expressions)
1102 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1103 (speedbar-find-file, speedbar-dir-follow)
1104 (speedbar-directory-buttons-follow, speedbar-tag-find)
1105 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1106 (speedbar-buffers-line-directory, speedbar-buffer-click):
1107 Mark unused parameters.
1108 (speedbar-tag-file): Remove unused variable `mode'.
1109 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1111 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1113 * talk.el (talk): Remove unused variable `display'.
1115 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1116 (tar-write-region-annotate): Mark unused parameter.
1118 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1119 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1120 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1123 * time-stamp.el (time-stamp-string-preprocess):
1124 Remove unused variable `require-padding'.
1126 * tree-widget.el (widget-glyph-enable): Declare.
1127 (tree-widget-action): Mark unused parameter.
1129 * w32-fns.el (x-get-selection): Mark unused parameter.
1130 (autoload-make-program, generated-autoload-file): Declare.
1132 * wdired.el (wdired-revert): Mark unused parameters.
1133 (wdired-xcase-word): Remove unused variable `err'.
1135 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1136 (whitespace-help-scroll): Remove unused variable `data-help'.
1138 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1139 (widget-image-insert, widget-after-change, default)
1140 (widget-default-format-handler, widget-default-notify)
1141 (widget-default-prompt-value, widget-info-link-action)
1142 (widget-url-link-action, widget-function-link-action)
1143 (widget-variable-link-action, widget-file-link-action)
1144 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1145 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1146 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1147 (widget-insert-button-action, widget-delete-button-action, visibility)
1148 (widget-documentation-link-action, widget-documentation-string-action)
1149 (widget-const-prompt-value, widget-regexp-match, symbol)
1150 (widget-coding-system-prompt-value)
1151 (widget-key-sequence-value-to-external, sexp)
1152 (widget-sexp-value-to-internal, character, vector, cons)
1153 (widget-choice-prompt-value, widget-boolean-prompt-value)
1154 (widget-color--choose-action): Mark unused parameters.
1155 (widget-item-match-inline, widget-choice-match-inline)
1156 (widget-checklist-match, widget-checklist-match-inline)
1157 (widget-group-match): Rename parameter VALUES to VALS.
1158 (widget-field-value-set): Remove unused variable `size'.
1159 (widget-color-action): Remove unused variables `value' and `start'.
1161 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1162 variable `dir'. Doc fix.
1163 (windmove-find-other-window): Don't pass it.
1165 * window.el (count-windows): Mark unused parameter.
1166 (bw-adjust-window): Remove unused variable `err'.
1168 * woman.el (woman-file-name): Remove unused variable `default'.
1169 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1170 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1171 (global-font-lock-mode): Declare.
1172 (woman-decode-region): Mark unused parameter.
1173 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1175 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1176 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1177 (x-dnd-handle-moz-url): Remove unused variable `title'.
1178 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1180 * xml.el (xml-parse-tag, xml-parse-attlist):
1181 Remove unused variable `pos'.
1183 2011-04-19 Glenn Morris <rgm@gnu.org>
1185 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1186 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1187 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1188 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1189 * calendar/cal-html.el (cal-html-insert-minical):
1190 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1191 (calendar-mark-date-pattern):
1192 Prefix "unused" locals.
1194 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1195 optional argument `style'.
1197 * calendar/appt.el (appt-make-list):
1198 * calendar/cal-china.el (calendar-chinese-date-string):
1199 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1200 (diary-hebrew-yahrzeit):
1201 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1202 * calendar/calendar.el (calendar-generate-window):
1203 * calendar/time-date.el (time-to-days):
1204 Remove unused local variables.
1206 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1208 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1209 glyphless-char-display table.
1210 (tabulated-list-glyphless-char-display): New var.
1212 2011-04-18 Sam Steingold <sds@gnu.org>
1214 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1217 2011-04-17 Glenn Morris <rgm@gnu.org>
1219 * calendar/diary-lib.el (diary-sexp-entry):
1220 * calendar/holidays.el (holiday-sexp):
1221 Set debug-on-error rather than the removed stack-trace-on-error.
1223 2011-04-16 Glenn Morris <rgm@gnu.org>
1225 * progmodes/f90.el: Use lexical-binding.
1226 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1228 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1231 (mail-mode): Setup mailalias completion here instead.
1232 * mail/mailalias.el: Use lexical-binding.
1233 (pattern, mailalias-done): Declare dynamic.
1234 (mail-completion-at-point-function): New function, from mail-complete.
1235 (mail-complete): Use it.
1236 (mail-completion-expand): New function.
1237 (mail-get-names): Use it.
1238 (mail-directory, mail-directory-process, mail-directory-stream):
1239 Don't use `pattern' for lexically bound arg.
1241 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1243 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1244 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1245 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1247 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1248 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1249 (byte-interactive-p): Define them again, for use when inlining
1252 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1254 * loadup.el: Use `string-to-number', not `string-to-int'.
1256 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1259 gud-gdb-complete-command.
1260 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1261 (gud-gdb-completion-at-point): New function.
1262 (gud-gdb-completions): Remove.
1264 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1266 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1267 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1268 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1269 whether `executable-find' is bound.
1271 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1273 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * minibuffer.el (completion-in-region-mode-predicate)
1276 (completion-in-region-mode--predicate): New vars.
1277 (completion-in-region, completion-in-region--postch)
1278 (completion-in-region-mode): Use them.
1279 (completion--capf-wrapper): Also return the hook function.
1280 (completion-at-point, completion-help-at-point):
1281 Adjust and provide a predicate.
1283 Preserve arg names for advice of subr and lexical functions (bug#8457).
1284 * help-fns.el (help-function-arglist): Consolidate the subr and
1285 new-byte-code cases. Add argument `preserve-names' to extract names
1286 from the docstring when needed.
1287 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1288 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1289 (ad-arglist): Use help-function-arglist's new arg.
1290 (ad-definition-type): Use cond.
1292 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1294 * autorevert.el (auto-revert-handler):
1295 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1296 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1299 * image-mode.el (image-transform-set-scale):
1300 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1302 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1304 * net/network-stream.el (network-stream-open-starttls): Only do
1305 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1306 Upgrades via gnutls-cli are too slow to be done opportunistically.
1308 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1310 * dframe.el (dframe-current-frame): Remove spurious quote.
1312 2011-04-12 Glenn Morris <rgm@gnu.org>
1314 * calendar/cal-tex.el (cal-tex-end-document):
1315 Try to automatically use latin1 input if needed.
1317 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1318 Don't try to cons a mark onto an empty element.
1320 2011-04-11 Leo Liu <sdl.web@gmail.com>
1322 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1324 (ido-kill-buffer-at-head): Support killing virtual buffers.
1326 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1328 * minibuffer.el (completion-show-inline-help): New var.
1329 (completion--do-completion, minibuffer-complete)
1330 (minibuffer-force-complete, minibuffer-complete-word):
1331 Inhibit minibuffer messages if completion-show-inline-help is nil.
1333 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1334 to avoid interference from inline help (Bug#5849).
1336 2011-04-10 Leo Liu <sdl.web@gmail.com>
1338 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1341 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1343 * image-mode.el (image-toggle-display-image): Signal an error if
1345 (image-transform-mode, image-transform-resize)
1346 (image-transform-set-rotation): Doc fix.
1347 (image-transform-set-resize): Delete.
1348 (image-transform-set-scale, image-transform-fit-to-height)
1349 (image-transform-fit-to-width): Handle image-toggle-display-image
1350 and image-transform-resize directly.
1352 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1354 * doc-view.el (doc-view-fit-width-to-window)
1355 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1356 New functions for fitting the shown image to the Emacs window size.
1357 (doc-view-mode-map): Add bindings for the new functions.
1359 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1361 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1362 Fix typo in docstring.
1364 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1366 * files.el (file-size-human-readable): Produce one digit after
1367 decimal, like "ls -lh" does.
1369 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1370 the file size representation.
1372 * simple.el (list-processes): If async subprocesses are not
1373 available, error out with a clear error message.
1375 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1377 * help.el (help-form-show): New function, to be called from C.
1378 Put help-form output in a buffer named differently than *Help*.
1380 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1382 * files.el (file-size-human-readable): New function.
1384 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1385 computing the representation inline. Don't require `cl'.
1387 2011-04-08 Glenn Morris <rgm@gnu.org>
1389 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1391 * net/browse-url.el (browse-url-firefox):
1392 Test system-type, not system-configuration.
1394 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1395 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1396 Use log-edit-empty-buffer-p. (Bug#7598)
1398 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1399 (rlogin-mode-map): Initialize in the defvar.
1400 (rlogin): Use ignore-errors.
1402 * replace.el (occur-mode-map): Some fixes for menu items.
1404 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1406 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1408 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1410 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1411 issuing unused warnings.
1413 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1416 * simple.el: Lisp reimplement of list-processes. Based on an
1417 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1418 (process-menu-mode): New major mode.
1419 (list-processes--refresh, list-processes):
1420 (process-menu-visit-buffer): New functions.
1422 * files.el (save-buffers-kill-emacs): Don't assume any return
1423 value of list-processes, which is undocumented anyway.
1425 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1427 * emacs-lisp/tabulated-list.el: New file.
1429 * emacs-lisp/package.el: Use Tabulated List mode.
1430 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1431 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1432 table format using Tabulated List mode variables.
1433 (package--push): New macro, replacing package-list-maybe-add.
1434 (package-menu--generate): Use package--push. Renamed from
1435 package--generate-package-list.
1436 (package-menu-refresh, list-packages): Use it.
1437 (package-menu--print-info): Rename from package-print-package.
1438 Return insertion data instead of inserting it directly.
1439 (package-menu-describe-package, package-menu-execute):
1440 Use tabulated-list-get-id.
1441 (package-menu-mark-delete, package-menu-mark-install)
1442 (package-menu-mark-unmark, package-menu-backup-unmark)
1443 (package-menu-mark-obsolete-for-deletion):
1444 Use tabulated-list-put-tag.
1445 (package--list-packages, package-menu-revert)
1446 (package-menu-get-package, package-menu-get-version)
1447 (package-menu-sort-by-column): Functions deleted.
1448 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1449 (package-menu--status-predicate, package-menu--version-predicate)
1450 (package-menu--name-predicate)
1451 (package-menu--description-predicate): Handle arguments in the
1452 Tabulated List format.
1453 (package-list-packages-no-fetch): Call list-packages.
1455 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1457 * files.el (after-find-file-from-revert-buffer): Remove variable.
1458 (after-find-file): Don't bind it.
1459 (revert-buffer-in-progress-p): New variable.
1460 (revert-buffer): Bind it.
1461 Pass nil for `after-find-file-from-revert-buffer'.
1463 * saveplace.el (save-place-find-file-hook): Use new variable
1464 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1466 2011-04-06 Glenn Morris <rgm@gnu.org>
1468 * Makefile.in (AUTOGEN_VCS): New variable.
1469 (autoloads): Use $AUTOGEN_VCS.
1471 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1472 * calendar/calendar.el (calendar-mode-map):
1473 Check for toolkit scroll bars. (Bug#8305)
1475 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1477 * minibuffer.el (completion-in-region--postch)
1478 (completion-in-region-mode): Remove unnecessary messages.
1480 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1482 * font-lock.el (font-lock-refresh-defaults):
1483 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1484 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1486 * info.el (Info-directory-list, Info-read-node-name-2)
1487 (Info-split-parameter-string): Doc fixes.
1488 (Info-virtual-nodes): Reflow docstring.
1489 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1490 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1491 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1492 Fix typos in docstrings.
1493 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1494 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1495 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1496 (Info-restore-desktop-buffer): Mark unused parameters.
1497 (Info-directory-find-file, Info-directory-find-node)
1498 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1499 (Info-virtual-index-find-node, Info-apropos-find-file)
1500 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1501 Mark unused parameters; fix typos in docstrings.
1502 (Info-virtual-index): Remove unused local variable `nodename'.
1504 2011-04-05 Deniz Dogan <deniz@dogan.se>
1506 * net/rcirc.el: Update my e-mail address.
1507 (rcirc-mode-map): Remove M-o binding.
1509 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1511 * startup.el (command-line): Save the cursor's theme-face
1512 directly, instead of using face-override-spec.
1514 * custom.el (load-theme): Minor optimization in assigning faces.
1516 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1518 * help-fns.el (describe-variable): Complete all variables having
1519 documentation, including keywords.
1520 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1522 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1524 Convert to lexical-binding.
1526 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1527 (bs--get-marked-string, bs--get-modified-string)
1528 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1529 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1530 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1532 * ehelp.el (electric-help-execute-extended)
1533 (electric-help-ctrl-x-prefix):
1534 * hexl.el (hexl-revert-buffer-function):
1535 * linum.el (linum-after-change, linum-after-scroll):
1536 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1538 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1540 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1547 * epg.el: Use lexical binding.
1549 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1551 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1553 * textmodes/flyspell.el (flyspell-word): Recognize default
1554 dictionary case for flyspell-mark-duplications-exceptions.
1555 Use regexp matching for languages.
1556 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1557 default dictionary (Bug#7926).
1559 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1561 * emacs-lisp/package.el (package--with-work-buffer):
1562 Recognize https URLs.
1564 * net/network-stream.el: Move from gnus/proto-stream.el.
1565 Change prefix to network-stream throughout.
1566 (open-protocol-stream): Merge into open-network-stream, leaving
1567 open-protocol-stream as an alias. Handle nil BUFFER args.
1569 * subr.el (open-network-stream): Move to net/network-stream.el.
1571 2011-04-02 Glenn Morris <rgm@gnu.org>
1573 * find-dired.el (find-exec-terminator): New option.
1574 (find-ls-option): Test for -ls support.
1575 (find-ls-subdir-switches): Test for -b in find-ls-option.
1576 (find-dired, find-grep-dired): Doc fixes.
1577 (find-dired): Use find-exec-terminator.
1579 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1580 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1581 (find-name-arg): Remove purecopy.
1583 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1584 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1585 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1586 accordingly. Don't add the null-device if not needed.
1588 * files.el (save-some-buffers): Doc fix.
1590 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1592 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1594 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1596 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1597 Use `dolist' rather than `mapcar'.
1599 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1601 Add lexical binding.
1603 * subr.el (apply-partially): Use new closures rather than CL.
1604 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1605 (dolist, dotimes): Use slightly different expansion for lexical code.
1606 (functionp): Move to C.
1607 (letrec): New macro.
1608 (with-wrapper-hook): Use it and apply-partially instead of CL.
1609 (eval-after-load): Preserve lexical-binding.
1610 (save-window-excursion, with-output-to-temp-buffer): Turn them
1613 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1615 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1617 (help-add-fundoc-usage): Don't add `Not documented'.
1618 (help-function-arglist): Handle closures, subroutines, and new
1619 byte-code-functions.
1620 (help-make-usage): Remove leading underscores.
1621 (describe-function-1): Handle closures.
1622 (describe-variable): Use special-variable-p for completion.
1624 * files.el (lexical-binding): Declare safe.
1626 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1627 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1628 (pcase): Add `let' pattern.
1629 Change memoization so it actually works.
1630 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1631 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1634 * emacs-lisp/macroexp.el: Use lexical binding.
1635 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1636 Don't convert ' to #' without checking that it's indeed quoting
1639 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1640 Use eval-sexp-add-defvars.
1641 (eval-sexp-add-defvars): New fun.
1643 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1645 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1647 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
1648 than the internal `byte-compile-lambda'.
1649 (defmethod): Don't hide code under quotes.
1650 (eieio-defmethod): New `code' argument.
1652 * emacs-lisp/eieio-comp.el: Remove.
1654 * emacs-lisp/edebug.el (edebug-eval-defun)
1655 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
1656 (edebug-toggle): Avoid `eval'.
1658 * emacs-lisp/disass.el (disassemble-internal): Handle new
1660 (disassemble-1): Handle new byte codes.
1662 * emacs-lisp/cl.el (pushnew): Silence warning.
1664 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
1665 (cl-byte-compile-throw): Remove.
1666 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
1668 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
1671 * emacs-lisp/cconv.el: New file.
1673 * emacs-lisp/bytecomp.el: Use lexical binding instead of
1674 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
1675 (byte-compile-initial-macro-environment):
1676 Handle declare-function here.
1677 (byte-compile--lexical-environment): New var.
1678 (byte-stack-ref, byte-stack-set, byte-discardN)
1679 (byte-discardN-preserve-tos): New lap codes.
1680 (byte-interactive-p): Don't use any more.
1681 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
1683 (byte-compile-lapcode): Use them and handle new lap codes.
1684 (byte-compile-obsolete): Remove.
1685 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
1686 (byte-compile-arglist-warn): Check late def of inlinable funs.
1687 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
1688 since they should have been expanded by now.
1689 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
1690 (byte-compile-from-buffer): Remove unused second arg.
1691 (byte-compile-preprocess): New function.
1692 (byte-compile-toplevel-file-form): New function to distinguish
1693 file-form calls from outside from file-form calls from hunk-handlers.
1694 (byte-compile-file-form): Simplify.
1695 (byte-compile-file-form-defsubst): Remove.
1696 (byte-compile-file-form-defmumble): Simplify now that
1697 byte-compile-lambda always returns a byte-code-function.
1698 (byte-compile): Preprocess.
1699 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
1700 Remove, not used any more.
1701 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
1702 (byte-compile-make-args-desc): New funs.
1703 (byte-compile-lambda): Handle lexical functions. Always return
1704 a byte-code-function.
1705 (byte-compile-reserved-constants): New var, to make up room for
1706 closed-over variables.
1707 (byte-compile-constants-vector): Obey it.
1708 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
1709 (byte-compile-macroexpand-declare-function): New function.
1710 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
1711 byte-code-functions.
1712 (byte-compile-form): Check obsolescence here.
1713 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
1714 (byte-compile-variable-ref): Remove.
1715 (byte-compile-dynamic-variable-op): New fun.
1716 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1717 (byte-compile-variable-set): New funs.
1718 (byte-compile-discard): Add 2 args.
1719 (byte-compile-stack-ref, byte-compile-stack-set)
1720 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
1721 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
1722 macroexpand-all instead.
1723 (byte-compile-quote-form): Remove.
1724 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
1725 (byte-compile-bind, byte-compile-unbind): New funs.
1726 (byte-compile-let): Handle let* and lexical binding.
1727 (byte-compile-let*): Remove.
1728 (byte-compile-catch, byte-compile-unwind-protect)
1729 (byte-compile-track-mouse, byte-compile-condition-case):
1730 Handle a new :fun-body form, used for lexical scoping.
1731 (byte-compile-save-window-excursion)
1732 (byte-compile-with-output-to-temp-buffer): Remove.
1733 (byte-compile-defun): Simplify.
1734 (byte-compile-stack-adjustment): New fun.
1735 (byte-compile-out): Use it.
1736 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
1738 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
1741 * emacs-lisp/byte-opt.el: Use lexical binding.
1742 (byte-inline-lapcode): Remove (to bytecomp).
1743 (byte-compile-inline-expand): Pay attention to inlining to/from
1744 lexically bound code.
1745 (byte-compile-unfold-lambda): Don't handle byte-code-functions
1747 (byte-optimize-form-code-walker): Don't handle save-window-excursion
1748 any more and don't call compiler-macros.
1749 (byte-compile-splice-in-already-compiled-code): Remove.
1750 (byte-code): Don't inline any more.
1751 (disassemble-offset): Receive `bytes' as argument rather than via
1753 (byte-compile-tag-number): Declare before first use.
1754 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
1755 `return' even if make-spliceable.
1756 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
1757 obsolete interactive-p.
1758 (byte-optimize-lapcode): Optimize new lap-codes.
1759 Don't trip up on new form of `byte-constant' lap code.
1761 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
1763 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
1765 * custom.el (custom-initialize-default, custom-declare-variable):
1768 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
1770 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
1771 (COMPILE_FIRST): Add macroexp and cconv.
1772 * makefile.w32-in: Mirror changes in Makefile.in.
1778 * vc/smerge-mode.el:
1779 * textmodes/bibtex-style.el:
1788 * emacs-lisp/smie.el:
1791 * abbrev.el: Use lexical binding.
1793 2011-04-01 Eli Zaretskii <eliz@gnu.org>
1795 * info.el (info-display-manual): New function.
1797 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
1801 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
1803 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
1804 an entry for that server in rcirc-authinfo. (Bug#8385)
1806 2011-03-31 Glenn Morris <rgm@gnu.org>
1808 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
1810 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
1812 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
1814 * progmodes/python.el (python-default-interpreter)
1815 (python-python-command-args, python-jython-command-args)
1816 (python-which-shell, python-which-args, python-which-bufname)
1817 (python-file-queue, python-comint-output-filter-function)
1818 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
1819 variables and functions.
1821 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
1824 (completion-in-region-mode): New minor mode.
1825 (completion-in-region): Use it.
1826 (completion-in-region--data, completion-in-region-mode-map): New vars.
1827 (completion-in-region--postch): New function.
1828 (completion--capf-misbehave-funs, completion--capf-safe-funs):
1830 (completion--capf-wrapper): New function.
1831 (completion-at-point): Use it to track well-behavedness of
1833 (completion-help-at-point): New command.
1835 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
1837 * vc/add-log.el (add-change-log-entry): Don't use whitespace
1838 syntax class to search for whitespace on a single line
1839 (Message-ID: <4D938140.4030905@redhat.com>).
1841 2011-03-30 Leo Liu <sdl.web@gmail.com>
1843 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
1845 (edit-abbrevs-map): Bind them here.
1846 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
1848 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
1850 * allout.el (allout-hide-by-annotation, allout-flag-region):
1851 Reduce possibility of overlay leakage by making them volatile.
1853 * allout-widgets.el (allout-widgets-tally): Define as nil so the
1854 hash is not shared between buffers. Mode initialization is
1855 responsible for giving it a useful starting value.
1856 (allout-item-span): Reduce possibility of overlay leakage by
1857 making them volatile.
1858 (allout-widgets-count-buttons-in-region): Add diagnostic function
1859 for tracking down button overlay leaks.
1861 2011-03-29 Leo Liu <sdl.web@gmail.com>
1863 * ido.el (ido-read-internal): Use the default history var
1864 minibuffer-history if no HISTORY is specified.
1866 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
1868 * net/imap.el (imap-shell-open, imap-process-connection-type):
1869 Use imap-process-connection-type for 'shell' streams as well as
1870 Kerberos, SSL, other subprocesses.
1872 2011-03-28 Leo Liu <sdl.web@gmail.com>
1874 * abbrev.el (abbrev-table-empty-p): New function.
1875 (prepare-abbrev-list-buffer): Place empty abbrev tables after
1876 nonempty ones. (Bug#5937)
1878 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
1880 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
1882 2011-03-27 Leo Liu <sdl.web@gmail.com>
1884 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
1885 for foreground and background colors.
1886 (ansi-color-make-color-map): Adapt.
1888 2011-03-25 Leo Liu <sdl.web@gmail.com>
1890 * midnight.el (midnight-time-float): Remove. Note it calculates
1891 the microsecond component incorrectly and seconds-to-time does the
1893 Remove redundant (require 'timer).
1895 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
1896 (ido-completions): Remove unused arguments. (Bug#8329)
1898 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * minibuffer.el (completion--flush-all-sorted-completions):
1901 Remove itself from hook.
1902 (completion-at-point): Let the functions perform the completion
1903 immediately and return nil or t.
1904 * comint.el (comint-dynamic-complete-functions): Now identical to
1905 completion-at-point-functions.
1906 (comint-dynamic-list-input-ring): Remove unused var `index'.
1907 (comint--match-partial-filename, comint--unquote&expand-filename):
1908 New funs, split from comint-match-partial-filename.
1909 (comint-dynamic-complete): Use completion-at-point.
1910 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
1912 2011-03-24 Drew Adams <drew.adams@oracle.com>
1914 * thingatpt.el: Support `defun'.
1916 2011-03-23 Leo Liu <sdl.web@gmail.com>
1918 * abbrevlist.el: Move to obsolete/abbrevlist.el.
1920 * help-mode.el (help-mode-finish): Tweak regexp.
1922 2011-03-23 Glenn Morris <rgm@gnu.org>
1924 * eshell/esh-opt.el (eshell-eval-using-options):
1925 Do not bind unused local variable `eshell-option-stub'.
1927 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
1929 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1931 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
1932 keymap variable in `with-no-warnings' to avoid a warning when the
1933 keymap has been already `defconst'ed.
1935 2011-03-22 Leo Liu <sdl.web@gmail.com>
1937 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
1938 encode all chars in abbrevs; otherwise use emacs-mule or
1939 utf-8-emacs. (Bug#8308)
1941 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
1943 * simple.el (backward-delete-char-untabify):
1944 Avoid warning about using `delete-backward-char'.
1946 * image.el (image-type-file-name-regexps): Make it variable.
1947 `imagemagick-register-types' modifies it, and the user may want
1948 to add new extensions for known image types.
1949 (imagemagick-register-types): Throw error if not using ImageMagick.
1951 2011-03-22 Leo Liu <sdl.web@gmail.com>
1953 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
1954 located before rcirc-prompt-end-marker.
1955 (rcirc-complete): Error if point is not after rcirc prompt.
1956 Handle the case when table is nil.
1957 (rcirc-user-authenticated): Define to fix compiler warning.
1959 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
1961 * custom.el (custom--inhibit-theme-enable): Make it affect only
1962 custom-theme-set-variables and custom-theme-set-faces.
1963 (provide-theme): Ignore custom--inhibit-theme-enable.
1964 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
1965 (custom-enabling-themes): Delete variable.
1966 (enable-theme): Accept only loaded themes as arguments.
1967 Ignore the special custom-enabled-themes variable.
1968 (custom-enabled-themes): Forbid themes from setting this.
1969 Eliminate use of custom-enabling-themes.
1970 (custom-push-theme): Quote "changed" custom var entry.
1972 2011-03-21 Leo Liu <sdl.web@gmail.com>
1974 * ido.el (ido-read-internal): Add ido-selected to history instead
1977 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * subr.el (deferred-action-list, deferred-action-function):
1982 2011-03-21 Leo Liu <sdl.web@gmail.com>
1984 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
1985 change on 2011-02-13 (bug#8309).
1987 * minibuffer.el (read-file-name-function): Change default value.
1988 (read-file-name--defaults): Rename from read-file-name-defaults.
1989 (read-file-name-default): Rename from read-file-name.
1990 (read-file-name): Call read-file-name-function.
1992 2011-03-21 Glenn Morris <rgm@gnu.org>
1994 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
1997 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
1999 * cus-theme.el: Add missing provide statement.
2000 (customize-create-theme): Extract theme value correctly.
2001 (custom-theme-visit-theme): Autoload.
2002 (customize-create-theme): Prompt before inserting default faces.
2004 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2006 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2007 units and musical notes.
2009 2011-03-20 Leo <sdl.web@gmail.com>
2011 * ido.el (ido-read-internal): Use completing-read-default.
2012 (ido-completing-read): Fix compatibility with completing-read.
2014 2011-03-20 Christian Ohler <ohler@gnu.org>
2016 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2017 (ert-delete-all-tests): Use `called-interactively-p' rather than
2019 (ert--make-xrefs-region): Respect END.
2021 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2023 * dired-aux.el (dired-create-directory): Signal an error if the
2024 directory already exists (Bug#8246).
2026 * facemenu.el (list-colors-display): Call list-faces-display
2027 inside with-help-window.
2028 (list-colors-print): Use display property to align the final
2029 column, instead of checking window-width.
2031 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2033 * emerge.el (emerge-metachars): Separate value for ms-dos and
2035 (emerge-protect-metachars): Quote correctly for ms-dos and
2038 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2040 * info.el (info-initialize): Replace all uses of `:' with
2041 path-separator for compatibility with non-Unix systems.
2042 Cache quoting of path-separator. (Bug#8258)
2044 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2046 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2047 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2048 (mouse-avoidance-mode): Fix typos in docstrings.
2050 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2052 * startup.el (package-subdirectory-regexp): Move from package.el.
2053 Omit \\` and \\', and let callers add them.
2055 * emacs-lisp/package.el (package-strip-version)
2056 (package-load-all-descriptors): Add \\` and \\' to
2057 package-subdirectory-regexp before using it.
2058 (package-untar-buffer): New arg DIR; ensure that file untars only
2059 into this expected directory. Remove superfluous delete-region.
2060 (package-unpack): Caller changed.
2061 (package-tar-file-info): Use package-subdirectory-regexp.
2063 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2066 diff-mode-shared-map (bug#8284).
2067 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2069 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2071 * calendar/time-date.el (format-seconds): Use assoc instead of
2072 assoc-string, since assoc-string doesn't exist in XEmacs.
2074 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2076 * custom.el (custom-known-themes): Reflow docstring.
2077 (custom-theme-load-path): Fix typo in docstring.
2078 (load-theme): Fix typo in error message.
2079 (custom-available-themes, custom-variable-theme-value):
2080 Use `let', not `let*'.
2082 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2084 * calc/README: Mention inclusion of musical notes.
2086 * calc/calc-units.el (calc-lu-quant): Rename from
2087 `calc-logunits-quantity'.
2088 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2089 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2090 (calc-db): Rename from `calc-dblevel'.
2091 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2092 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2093 (calc-np): Rename from `calc-nplevel'.
2094 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2095 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2096 (calc-lu-plus): Rename from `calc-logunits-add'.
2097 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2098 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2099 (calc-lu-minus): Rename from `calc-logunits-sub'.
2100 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2101 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2102 (calc-lu-times): Rename from `calc-logunits-mul'.
2103 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2104 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2105 (calc-lu-divide): Rename from `calc-logunits-div'.
2106 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2107 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2109 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2110 functions being autoloaded.
2112 * calc/calc.el (calc-lu-power-reference): Rename from
2113 `calc-logunits-power-reference'.
2114 (calc-lu-field-reference): Rename from
2115 `calc-logunits-field-reference'.
2117 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2119 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2121 * minibuffer.el (completion-all-sorted-completions):
2122 Use :completion-cycle-penalty text property if present.
2124 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2126 * allout.el (allout-yank-processing): Adjust for new rebulleting
2127 regime so bullet being yanked is used without prompting the user
2130 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2132 * startup.el (command-line): Warn the user that _emacs is deprecated.
2134 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2136 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2137 (delphi-verbose, delphi-comment-face, delphi-string-face)
2138 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2139 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2140 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2141 (delphi-new-comment-line, delphi-font-lock-defaults)
2142 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2143 Fix typos in docstrings.
2145 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2147 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2148 Invert the roles of character and string values for INSTEAD, so a
2149 string is used for the more common case of a defaulting prompt.
2151 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * progmodes/ruby-mode.el (ruby-backward-sexp):
2154 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2155 * play/gamegrid.el (gamegrid-make-face):
2156 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2157 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2158 * notifications.el (notifications-notify):
2159 * net/xesam.el (xesam-search-engines):
2160 * net/quickurl.el (quickurl-list-insert):
2161 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2163 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2165 * startup.el (command-line): Update package subdirectory regexp.
2167 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * allout.el (allout-abbreviate-flattened-numbering)
2170 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2172 * subr.el (read-char-choice): Only show the cursor after the prompt,
2173 not after the answer.
2175 2011-03-15 Kevin Ryde <user42@zip.com.au>
2177 * help-fns.el (variable-at-point): Skip leading quotes, if any
2180 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2182 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2185 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2187 * shell.el (shell): When called interactively, offer to change the
2188 shell file name on remote hosts.
2190 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2192 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2193 integration for LDAP parameters. The host, base, user or binddn,
2194 and secret tokens can be specified in a netrc file, for instance.
2195 This is optional because an `auth-source' parameter must be
2196 specified in the search attributes.
2198 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2200 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2202 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2204 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2205 into declaration. Remove redundant and harmful binding.
2207 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2209 * files.el (file-ownership-preserved-p): Pass `integer' as an
2210 explicit 2nd argument to `file-attributes'. If the file's owner
2211 is the Administrators group on Windows, and the current user is
2212 Administrator, consider that a match.
2214 * server.el (server-ensure-safe-dir): Consider server directory
2215 safe on MS-Windows if its owner is the Administrators group while
2216 the current Emacs user is Administrator. Use `=' to compare
2217 numerical UIDs, since they could be integers or floats.
2219 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2221 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2223 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2225 Sync with Tramp 2.2.1.
2227 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2229 * net/trampver.el: Update release number.
2231 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * progmodes/compile.el (compilation--previous-directory): Fix up
2234 various nil/dead-marker mismatches (bug#8014).
2235 (compilation-directory-properties, compilation-error-properties):
2236 Don't call it at a position past the one we're about to change.
2238 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2239 Disable obsolescence warnings in the file that declares it.
2241 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2243 * allout-widgets.el (allout-widgets-tally):
2244 Initialize allout-widgets-tally as a hash table rather than nil to
2245 prevent mode-line redisplay warnings. Also, clarify the module
2246 description and fix a comment typo.
2248 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2250 * help-fns.el (describe-variable): Don't complete keywords.
2251 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2253 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2255 * emacs-lisp/package.el (package-version-join): Impose a standard
2256 string representation for pre/alpha/beta version lists.
2257 (package-unpack-single): Standardize the directory name by passing
2258 it through package-version-join.
2259 (package-strip-rcs-id): Accept any version string that does not
2260 signal an error in version-to-list.
2262 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2264 * simple.el (delete-trailing-whitespace): Return nil for the
2265 benefit of `write-file-functions'.
2267 2011-03-10 Glenn Morris <rgm@gnu.org>
2269 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2271 * vc/vc-git.el (vc-git-program): New option.
2272 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2273 (vc-git--call): Use it.
2275 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2277 * cus-edit.el (Custom-newline): If no button at point, look
2278 for a subgroup button at start-of-line. (Bug#2298)
2280 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2282 2011-03-10 Julien Danjou <julien@danjou.info>
2284 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2285 `cursor-type' is nil.
2287 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2289 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2291 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2293 * allout.el Summary: Change so yank of distinctive-bullet items
2294 preserves the existing header prefix, rebulleting it if necessary,
2295 rather than replacing it. This is necessary for proper operation
2296 of cooperative addons like allout-widgets.
2297 (allout-make-topic-prefix, allout-rebullet-heading): Change
2298 SOLICIT arg to INSTEAD, and interpret additionally a string value
2299 as alternate bullet to be used, instead of prompting the user for
2302 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2304 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2305 Do not use `tramp-file-name-port', because this returns also
2306 `tramp-default-port'.
2308 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2310 * net/rcirc.el (rcirc-handler-001): Remove useless
2311 with-rcirc-process-buffer.
2312 (rcirc-check-auth-status): Swap arguments to string-match.
2314 2011-03-09 Glenn Morris <rgm@gnu.org>
2316 * shell.el (shell-mode):
2317 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2319 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2320 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2322 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2324 * emacs-lisp/package.el (package-refresh-contents)
2325 (package-menu-execute): Use condition-case-no-debug.
2327 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2329 * simple.el (shell-command-to-string): Use `process-file'.
2331 * emacs-lisp/package.el (package-tar-file-info): Handle also
2334 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2335 Use `equal' for upload base check.
2337 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2339 * textmodes/texinfo.el (texinfo-environments):
2340 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2342 2011-03-08 Glenn Morris <rgm@gnu.org>
2344 * cus-start.el (cursor-in-non-selected-windows):
2345 Fix :set quoting oddness. (Bug#8192)
2347 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2348 in some setf expressions. (Bug#2159)
2350 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2352 * custom.el (custom-available-themes): Return themes in
2355 See ChangeLog.15 for earlier changes.
2361 Copyright (C) 2011 Free Software Foundation, Inc.
2363 This file is part of GNU Emacs.
2365 GNU Emacs is free software: you can redistribute it and/or modify
2366 it under the terms of the GNU General Public License as published by
2367 the Free Software Foundation, either version 3 of the License, or
2368 (at your option) any later version.
2370 GNU Emacs is distributed in the hope that it will be useful,
2371 but WITHOUT ANY WARRANTY; without even the implied warranty of
2372 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2373 GNU General Public License for more details.
2375 You should have received a copy of the GNU General Public License
2376 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.