1 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5 2011-05-30 Leo Liu <sdl.web@gmail.com>
7 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
8 (rcirc-print): Decode all incoming messages (bug#8744).
9 (rcirc-decode-coding-system): Allow value nil for automatic coding
12 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14 * image.el (image-animate-max-time): Allow nil and t values.
16 (create-animated-image): Doc fix.
17 (image-animate-start): Remove second arg; just use
18 image-animate-max-time.
19 (image-animate-timeout): Doc fix. Args changed.
21 * image-mode.el (image-toggle-display-image): Ensure that the
22 image spec passed to the animate timer is the same object as in
23 the the buffer's display property (Bug#6981).
24 (image-transform-properties): Doc fix.
26 * image.el (image-animate-max-time): Default to nil.
28 2011-05-29 Martin Rudalics <rudalics@gmx.at>
30 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
31 entire buffer list (Bug#8184).
33 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
35 * image.el (imagemagick-types-inhibit)
36 (imagemagick-register-types): Doc fix.
38 2011-05-29 Deniz Dogan <deniz@dogan.se>
40 * net/rcirc.el (rcirc): Use the user's stored encryption method by
43 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
45 * select.el: Don't perform clipboard-manager saving in hooks;
46 leave the hooks empty.
48 2011-05-28 Leo Liu <sdl.web@gmail.com>
50 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
51 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
52 (occur-edit-mode): New major mode (Bug#8463).
53 (occur-after-change-function): New function.
54 (occur-engine): Give Occur tags a read-only property.
56 2011-05-28 Kevin Ryde <user42@zip.com.au>
58 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
60 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
62 * bindings.el (help-echo): Make the initial non-indicator dash
63 empty on graphical terminals (Bug#7295).
65 * files.el (auto-mode-alist): Move config rule after the
66 in-stripping one (Bug#8547).
68 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
70 * startup.el (normal-splash-screen): Remove gratuitous mode-line
73 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
75 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
76 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
79 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
82 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
84 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
86 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
87 (hs-hide-block-at-point, hs-find-block-beginning)
88 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
91 2011-05-28 Glenn Morris <rgm@gnu.org>
93 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
95 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
97 * help-fns.el (describe-function-1): If the function is a derived
98 major mode, print the parent mode.
100 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
101 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
103 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
105 * minibuffer.el (completion--capf-wrapper): Check applicability before
106 retuning non-nil for non-exclusive completion data.
107 * progmodes/etags.el (tags-completion-at-point-function):
108 * info-look.el (info-lookup-completions-at-point): Mark as
110 (info-complete): Adjust accordingly.
112 * info-look.el: Convert to lexical-binding and completion-at-point.
113 (info-lookup-completions-at-point): New function.
114 (info-complete): Use it and completion-in-region.
116 2011-05-28 Drew Adams <drew.adams@oracle.com>
118 * isearch.el: Let M-e start with point at the first mismatched char.
119 (isearch-fail-pos): New function.
120 (isearch-edit-string): Use it.
122 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
124 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
126 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
128 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
129 traversal functions for avl-trees.
130 (avl-tree--stack): New struct.
131 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
132 (avl-tree-enter): Add optional `updatefun' arg.
133 (avl-tree--do-enter): Add optional `updatefun' arg.
135 (avl-tree-delete): Add optional `test' and `nilflag' args.
136 (avl-tree--do-delete): Add `test' and `nilflag' args.
138 (avl-tree-member): Add optional `nilflag'
139 (avl-tree-member-p): New function.
140 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
141 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
142 (avl-tree-stack-empty-p): New functions.
144 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
146 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
147 avl-tree--del-balance1 and make it work both ways.
148 (avl-tree--del-balance2): Remove.
149 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
150 make it work both ways.
151 (avl-tree--enter-balance2): Remove.
152 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
154 (avl-tree--mapc, avl-tree-map): Add direction argument.
156 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
158 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
160 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
162 * select.el: Support clipboard managers with built-in function
163 x-clipboard-manager-save, via delete-frame-functions and
165 (xselect-convert-to-targets): Add MULTIPLE target to list.
166 (xselect-convert-to-save-targets): New function.
168 2011-05-27 Kenichi Handa <handa@m17n.org>
170 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
171 let-binding rfc2047-encode-encoded-words to nil.
173 2011-05-27 Glenn Morris <rgm@gnu.org>
175 * mail/emacsbug.el: Don't require url-util.
177 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
179 * files.el (set-auto-mode):
180 Also respect mode: entries at the end of the file. (Bug#8586)
182 2011-05-26 Glenn Morris <rgm@gnu.org>
184 * files.el (hack-local-variables-prop-line, hack-local-variables):
185 Downcase mode names, as seems to be traditional.
186 (hack-local-variables, hack-local-variables-apply): Doc fixes.
188 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
189 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
191 2011-05-25 Julien Danjou <julien@danjou.info>
193 * textmodes/rst.el (rst-define-level-faces): Do not define face
194 symbol if it is already defined.
196 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
198 * play/5x5.el (5x5-new-game, 5x5-randomize):
199 Reset 5x5-solver-output to nil when a new grid is cast.
200 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
201 these debugging traces, as defmacro breaks the compiled code.
203 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
205 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
207 2011-05-24 Leo Liu <sdl.web@gmail.com>
209 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
210 (vc-bzr-sha1): Adapt.
212 * sha1.el: Remove. Function `sha1' is now builtin.
214 * bindings.el: Provide sha1 feature.
216 2011-05-24 Kenichi Handa <handa@m17n.org>
218 * mail/sendmail.el: Require `rfc2047'.
219 (mail-insert-from-field): Do not perform RFC2047 encoding.
220 (mail-encode-header): New function.
221 (sendmail-send-it): Set buffer-file-coding-system of the work
222 buffer to the return value of select-message-coding-system.
223 Call mail-encode-header.
225 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
227 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
229 * mail/supercite.el (sc-default-cite-frame):
230 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
232 2011-05-24 Glenn Morris <rgm@gnu.org>
234 * progmodes/python.el (brm-menu): Declare.
236 * emulation/viper.el (viper-set-hooks): Declare.
238 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
239 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
240 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
241 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
242 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
243 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
245 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
247 Add an :exit-function for completion-at-point.
249 * minibuffer.el (completion--done): New fun.
250 (completion--do-completion): Use it. New arg `expect-exact'.
251 (minibuffer-complete, minibuffer-complete-word): Don't output message,
252 since completion--do-completion does it for us now.
253 (minibuffer-force-complete): Use completion--done and
254 completion--replace. Handle sole-completion case with more care.
255 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
256 (completion-extra-properties): New var.
257 (completion-annotate-function): Make obsolete.
258 (minibuffer-completion-help): Adjust accordingly.
259 Use completion-list-insert-choice-function.
260 (completion-at-point, completion-help-at-point):
261 Bind completion-extra-properties.
262 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
263 * simple.el (completion-list-insert-choice-function): New var.
264 (completion-setup-function): Preserve it.
265 (choose-completion): Pay attention to it, shuffle the code a bit.
266 (choose-completion-string): New arg `insert-function'.
268 * textmodes/bibtex.el: Convert to lexical binding.
269 (bibtex-mode-map): Use completion-at-point.
270 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
271 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
272 (bibtex-complete): Define as obsolete alias.
273 (bibtex-complete-internal): Remove.
274 (bibtex-format-entry): Remove unused sub-group in regexp.
275 * shell.el (shell--command-completion-data)
276 (shell-environment-variable-completion):
277 * pcomplete.el (pcomplete-completions-at-point):
278 * comint.el (comint--complete-file-name-data): Use :exit-function
279 instead of completion-table-with-terminator so it also works for
282 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
284 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
286 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
289 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
291 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
293 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
294 customization variable and implement: If non-nil, auto-fill will
295 be inhibited while on topic's header line.
297 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
299 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
300 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
301 always have a solution in grid size = 5 cases.
302 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
303 (5x5-solver-output, 5x5-log-buffer): New vars.
304 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
305 Make these variables buffer local to achieve 5x5 multi-session-ness.
306 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
307 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
308 (5x5-solve-suggest): New funs.
309 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
310 randomize a grid so that we ensure that there is always a solution.
311 (5x5-make-random-grid): Allow other movement than flipping.
313 2011-05-23 Kevin Ryde <user42@zip.com.au>
315 * emacs-lisp/advice.el (ad-read-advised-function):
316 Use `function-called-at-point' as the default default, if it has
317 advice and passes PREDICATE.
319 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
321 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
322 byte-compile-lambda if it's actually a lambda.
324 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
325 Fix function quoting. Use backquote better.
327 2011-05-22 Yuanle Song <sylecn@gmail.com>
329 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
332 2011-01-22 Jari Aalto <jari.aalto@cante.net>
334 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
335 different face (Bug#8178).
337 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
339 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
342 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
344 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
345 funcall as well (bug#8712). Warn when performing those conversions.
346 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
348 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
350 2011-05-22 Glenn Morris <rgm@gnu.org>
352 * files.el (hack-local-variables-prop-line): Small simplifications.
353 (hack-local-variables, hack-local-variables-prop-line):
354 If MODE-ONLY, return the mode, rather than just `t'.
356 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
358 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
360 2011-05-21 Glenn Morris <rgm@gnu.org>
362 * files.el (hack-local-variables-prop-line, hack-local-variables):
363 If only interested in the mode, don't bother doing the other stuff.
365 * image-mode.el (image-after-revert-hook):
366 Redraw all frames on which the image is visible. (Bug#8567)
368 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
370 * wid-edit.el (widget-checklist-match-inline):
371 Fix 2011-04-19 change. (Bug#8649)
373 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
375 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
376 Also allow singlespace after single-letter capitals followed by a dot.
378 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
379 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
381 2011-05-20 Nix <nix@esperi.org.uk>
383 * files.el (basic-save-buffer-2):
384 Fix handling of break-hardlink-on-save with non-existent files.
386 2011-05-19 Deniz Dogan <deniz@dogan.se>
388 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
389 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
391 2011-05-19 Glenn Morris <rgm@gnu.org>
393 * progmodes/f90.el (f90-type-def-re):
394 Handle "type, bind(c)". (Bug#8691)
396 * emacs-lisp/autoload.el (batch-update-autoloads):
397 Set autoload-excludes by parsing loadup.el rather than Makefiles.
399 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
401 * net/tramp.el (tramp-process-actions): Set "first-password-request"
402 property for the correct connection in case of multihops.
404 2011-05-18 Glenn Morris <rgm@gnu.org>
406 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
407 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
409 Rationalize calendar handling of day and month abbrev-arrays.
410 * calendar/calendar.el (calendar-customized-p): New function.
411 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
412 (calendar-day-name-array, calendar-month-name-array): Doc fix.
414 (calendar-abbrev-length, calendar-day-abbrev-array)
415 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
416 (calendar-day-abbrev-array, calendar-month-abbrev-array):
417 Elements may no longer be nil.
418 (calendar-day-name, calendar-month-name):
419 Update for changed nature of abbrev arrays.
420 * calendar/diary-lib.el (diary-name-pattern):
421 Update for changed nature of abbrev arrays.
422 (diary-mark-entries-1): Update calendar-make-alist calls.
423 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
424 * calendar/cal-html.el (cal-html-day-abbrev-array):
425 Simply inherit from calendar-day-abbrev-array.
427 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
429 * progmodes/grep.el (grep-mode): Disable default
430 compilation-directory-matcher setting (bug#8684).
432 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
434 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
435 instead of "head" and "tail". There were problems with SunOS 5.9,
436 and it performs better.
438 2011-05-17 Glenn Morris <rgm@gnu.org>
440 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
442 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
443 Replace obsolete function.
445 * shell.el (pcomplete-parse-arguments-function): Declare.
447 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
448 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
449 (appt-check): Doc fixes.
450 (appt-disp-window-function, appt-delete-window-function):
451 Remove needless special case in custom :type.
452 (appt-display-count): Default to 0, not nil.
453 (appt-check): Reset appt-display-count to 0, not nil.
455 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
457 * progmodes/python.el (python-font-lock-keywords):
458 Add the Python 3.X keyword "nonlocal" (bug#8639).
460 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
462 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
464 2011-05-16 Kevin Ryde <user42@zip.com.au>
466 * info-look.el (makefile-automake-mode): New setups, looking in
467 automake manual, then makefile-mode.
468 (makefile-mode): Remove automake manual, have it just in
469 makefile-automake-mode since there's various things different or
470 not relevant to plain make.
471 (makefile-mode): Remove "other-modes" non-existent automake-mode,
472 believe a hypothetical automake-mode would go to makefile-mode,
473 not the other way around.
475 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
477 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
478 hunk-end tags (Bug#8672).
480 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
481 vc-annotate-show-diff-revision-at-line (Bug#8671).
483 2011-05-14 Glenn Morris <rgm@gnu.org>
485 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
486 in the middle of an existing one with multiple authors. (Bug#8645)
487 (change-log-font-lock-keywords): Also handle multiple author lines
488 with leading tabs. (Bug#8644)
490 * calendar/appt.el (appt-check): Rename some local variables.
491 Some simplification/reordering.
493 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
494 (feedmail-sendmail-f-doesnt-sell-me-out)
495 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
496 (feedmail-debug-sit-for, feedmail-queue-express-hook)
497 (feedmail-queue-runner-message-sender): Set :version.
498 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
499 (bbdb-dwim-net-address, vm-mail): Declare.
500 (feedmail-binmail-gnulinuxish-template):
501 Rename from feedmail-binmail-linuxish-template.
502 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
503 Use insert-buffer-substring.
505 2011-05-14 Bill Carpenter <bill@carpenter.org>
507 * mail/feedmail.el (feedmail-patch-level): Increase.
508 (feedmail-debug): New custom group.
509 (feedmail-confirm-outgoing-timeout)
510 (feedmail-sendmail-f-doesnt-sell-me-out)
511 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
512 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
513 (feedmail-sender-line, feedmail-from-line)
514 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
515 (feedmail-spray-this-address)
516 (feedmail-spray-address-fiddle-plex-list)
517 (feedmail-queue-use-send-time-for-date)
518 (feedmail-queue-use-send-time-for-message-id)
519 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
520 (feedmail-buffer-eating-function):
522 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
523 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
524 (feedmail-message-action-scroll-down): New functions.
525 (feedmail-queue-directory, feedmail-queue-draft-directory):
526 Use expand-file-name.
527 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
528 Remove C-v help entry.
529 (feedmail-queue-buffer-file-name): New variable.
530 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
531 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
532 (feedmail-message-action-send-strong, feedmail-message-action-edit)
533 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
534 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
535 (feedmail-message-action-toggle-spray)
536 (feedmail-run-the-queue-no-prompts)
537 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
538 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
539 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
540 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
541 (feedmail-envelope-deducer, feedmail-fiddle-from)
542 (feedmail-fiddle-sender, feedmail-default-date-generator)
543 (feedmail-fiddle-date, feedmail-fiddle-message-id)
544 (feedmail-fiddle-spray-address)
545 (feedmail-fiddle-list-of-spray-fiddle-plexes)
546 (feedmail-fiddle-list-of-fiddle-plexes)
547 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
548 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
549 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
550 Change default. Doc fix.
551 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
552 (feedmail-binmail-linuxish-template): New constant.
553 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
554 Respect feedmail-sendmail-f-doesnt-sell-me-out.
555 (feedmail-send-it): Add debug call.
556 Use feedmail-queue-buffer-file-name, and
557 feedmail-send-it-immediately-wrapper.
558 (feedmail-message-action-send): Add debug call.
559 Use feedmail-send-it-immediately-wrapper.
560 (feedmail-queue-express-to-queue): Add debug call.
561 Run feedmail-queue-express-hook.
562 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
563 (feedmail-message-action-help-blat):
564 Rename from feedmail-queue-send-edit-prompt-help-first.
565 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
566 Check line-endings. Handle errors better.
567 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
568 Doc fix. Add debug call.
569 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
570 Use feedmail-queue-send-edit-prompt-inner.
571 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
572 (feedmail-queue-send-edit-prompt-inner): New function, extracted
573 from feedmail-queue-send-edit-prompt.
574 (feedmail-queue-send-edit-prompt-help)
575 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
576 (feedmail-tidy-up-slug): Add debug call.
577 Respect feedmail-queue-slug-suspect-regexp.
578 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
579 (feedmail-dump-message-to-queue): Add debug call.
580 Expand queue-directory.
581 (feedmail-dump-message-to-queue): Change message slightly.
582 Use feedmail-say-chatter.
583 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
584 (feedmail-send-it-immediately-wrapper): New function.
585 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
586 Insert empty string rather than newline. Handle full-frame case.
587 Use catch/throw. Use feedmail-say-chatter.
588 (feedmail-fiddle-from): Try mail-host-address.
589 (feedmail-default-message-id-generator): Doc fix.
590 Bind system-time-locale. Handle missing end.
591 (feedmail-fiddle-x-mailer): Add debug call.
592 Handle feedmail-x-mailer-line being nil.
593 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
594 Add debug call. Use buffer-substring-no-properties.
595 (feedmail-say-debug, feedmail-say-chatter): New functions.
596 (feedmail-find-eoh): Give an explicit error.
598 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
600 * net/newst-treeview.el (newsticker-treeview-face): Change default
601 family from helvetica to sans.
602 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
603 etc/images/newsticker.
605 * net/newst-reader.el (newsticker-feed-face): Change default
606 family from helvetica to sans.
608 * net/newst-plainview.el (newsticker-new-item-face)
609 (newsticker-old-item-face, newsticker-immortal-item-face)
610 (newsticker-obsolete-item-face, newsticker-date-face)
611 (newsticker-statistics-face): Change default family from
613 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
614 etc/images/newsticker.
616 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
617 (newsticker--process-auto-mark-filter-match): : Tell user about
620 2011-05-13 Didier Verna <didier@xemacs.org>
622 Common Lisp indentation improvements on defmethod and lambda-lists.
623 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
624 (lisp-lambda-list-keyword-parameter-indentation)
625 (lisp-lambda-list-keyword-parameter-alignment)
626 (lisp-lambda-list-keyword-alignment): New customizable user options.
627 (lisp-indent-defun-method): Improve docstring.
628 (extended-loop-p): Fix comment.
629 (lisp-indent-lambda-list-keywords-regexp): New variable.
630 (lisp-indent-lambda-list): New function.
631 (lisp-indent-259): Use it.
632 (lisp-indent-defmethod): Support for more than one
633 method qualifier and properly indent methods lambda-lists.
634 (defgeneric): Provide a missing common-lisp-indent-function property.
636 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
638 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
639 bounds for the empty string (bug#8667).
641 2011-05-13 Glenn Morris <rgm@gnu.org>
643 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
645 * mail/sendmail.el (sendmail-program): Try executable-find first.
646 (sendmail-send-it): `sendmail-program' cannot be unbound.
648 * calendar/appt.el (appt-make-list): Simplify.
649 (appt-time-msg-list): Doc fix.
650 (appt-check): Change mode-line message at the time of the appointment.
652 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
654 * progmodes/ld-script.el (ld-script-keywords)
655 (ld-script-builtins): Update keywords list.
657 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
659 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
661 * shell.el (shell-completion-vars): New function.
663 * simple.el (read-shell-command): Use it.
664 (blink-matching-open): No need for " [...]" in minibuffer-message.
666 2011-05-12 Glenn Morris <rgm@gnu.org>
668 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
669 (appt-check): Simplify.
671 2011-05-12 Eli Zaretskii <eliz@gnu.org>
673 * smerge-mode.el (smerge-resolve): Use null-device rather than a
676 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
678 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
681 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
683 * progmodes/which-func.el (which-function):
684 Use add-log-current-defun instead of add-log-current-defun-function,
685 which might not be defined (Bug#8260).
687 2011-05-12 Glenn Morris <rgm@gnu.org>
689 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
690 Let byte-compile-initial-macro-environment always take precedence.
692 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
694 * net/rcirc.el: Add support for SSL/TLS connections.
695 (rcirc-server-alist): New field `encryption'.
696 (rcirc): Check `encryption' settings.
697 (rcirc-connect): New arg `encryption'. Use open-network-stream.
698 Merge make-local-variable into `set'.
699 (rcirc--connection-open-p): New function.
700 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
701 the process is not a network process (e.g. running gnutls-cli).
702 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
703 Make rcirc-(en|de)code-coding-system local here.
704 (rcirc-mode): Merge make-local-variable into `set'.
705 (rcirc-parent-buffer): Make permanent buffer-local.
706 (rcirc-multiline-minor-mode): Don't do it here.
707 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
708 there's no server buffer.
710 2011-05-11 Glenn Morris <rgm@gnu.org>
712 * newcomment.el (comment-kill): Prefix "unused" local.
714 * term/w32console.el (get-screen-color): Declare.
716 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
717 Handle symbol elements of byte-compile-initial-macro-environment.
719 2011-05-10 Leo Liu <sdl.web@gmail.com>
721 * bookmark.el (bookmark-bmenu-mode-map):
722 Bind bookmark-bmenu-search to `/'.
724 * mail/footnote.el: Convert to utf-8 encoding.
725 (footnote-unicode-string, footnote-unicode-regexp): New variable.
726 (Footnote-unicode): New function.
727 (footnote-style-alist): Add unicode style to the list.
728 (footnote-style): Doc fix.
730 2011-05-10 Jim Meyering <meyering@redhat.com>
732 Fix doubled-word typos.
733 * international/quail.el (quail-insert-kbd-layout): and and -> and
734 * kermit.el: and and -> and
735 * net/ldap.el (ldap-search-internal): to to -> to
736 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
737 * progmodes/js.el (js-mode): and and -> and
738 * textmodes/artist.el (artist-move-to-xy): at at -> at
739 (artist-draw-region-trim-line-endings): if if -> if
740 And Safetyc -> Safety.
741 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
743 2011-05-10 Glenn Morris <rgm@gnu.org>
744 Stefan Monnier <monnier@iro.umontreal.ca>
746 * files.el (hack-one-local-variable-eval-safep):
747 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
749 2011-05-10 Glenn Morris <rgm@gnu.org>
751 * calendar/diary-lib.el (diary-list-entries-hook)
752 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
753 (diary-nongregorian-marking-hook, diary-list-entries)
754 (diary-include-other-diary-files, diary-mark-entries)
755 (diary-mark-included-diary-files): Doc fixes.
757 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
759 * misc.el: Require tabulated-list.el during compilation.
761 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
763 * progmodes/compile.el (compilation-start):
764 Run compilation-filter-hook for the async case too.
765 (compilation-filter-hook): Doc fix.
767 2011-05-09 Deniz Dogan <deniz@dogan.se>
769 * wdired.el: Remove outdated installation comment. Fix usage
772 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
774 * misc.el: Implement new command `list-dynamic-libraries'.
775 (list-dynamic-libraries--loaded-only-p): New variable.
776 (list-dynamic-libraries--refresh): New function.
777 (list-dynamic-libraries): New command.
779 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
781 * progmodes/compile.el (compilation-error-regexp-alist-alist):
782 Fix the ant regexp to handle end-line and end-column info from jikes.
783 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
784 higher priority to avoid clobbering by gnu.
786 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
788 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
789 if the face has existing theme settings (Bug#8454).
791 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
793 * progmodes/perl-mode.el (perl-imenu-generic-expression):
794 Only match variables declared via `my' or `our' (Bug#8261).
796 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
797 special file names `.' and `..' (Bug#8259).
799 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
801 * progmodes/grep.el (grep-mode-font-lock-keywords):
802 Remove buffer-changing entries.
803 (grep-filter): New function.
804 (grep-mode): Add it to compilation-filter-hook.
806 * progmodes/compile.el (compilation-filter-hook)
807 (compilation-filter-start): New defvars.
808 (compilation-filter): Call compilation-filter-hook prior to
809 updating the process mark.
811 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
813 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
815 2011-05-07 Eli Zaretskii <eliz@gnu.org>
817 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
818 mailclient-send-it even if window-system is nil. (Bug#8595)
820 * term/w32console.el (terminal-init-w32console):
821 Call get-screen-color and use its output to set the frame
822 background-mode. (Bug#8597)
824 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
826 Make bytecomp.el understand that defmethod defines funs (bug#8631).
827 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
829 (defgeneric, eieio--defmethod): Use them.
830 (eieio-defgeneric): Remove.
831 (defmethod): Call defgeneric in a way visible to the byte-compiler.
833 2011-05-07 Glenn Morris <rgm@gnu.org>
835 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
836 Use let rather than let*.
837 (timeclock-find-discrep): Remove unused local.
839 * calendar/diary-lib.el (diary-comment-start): Doc fix.
841 * calendar/appt.el (appt-time-msg-list): Doc fix.
843 2011-05-06 Noah Friedman <friedman@splode.com>
845 * apropos.el (apropos-print-doc): Only use
846 emacs-lisp-docstring-fill-column when it is bound to an integer,
847 per that variable's documentation.
849 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
851 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
852 and warnings are not silently discarded (e.g. use -d instead of -P).
854 2011-05-06 Glenn Morris <rgm@gnu.org>
856 * calendar/appt.el (appt-message-warning-time): Doc fix.
857 (appt-warning-time-regexp): New option.
858 (appt-make-list): Respect appt-message-warning-time.
860 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
862 (diary-add-to-list): Strip comments from the displayed string.
863 (diary-mode): Set comment-start and comment-end.
865 * vc/diff-mode.el (smerge-refine-subst): Declare.
866 (diff-refine-hunk): Don't require smerge-mode when compiling.
868 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
870 * simple.el (list-processes): Return nil as the docstring says.
872 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
874 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
876 (ange-ftp-write-region, ange-ftp-insert-file-contents)
877 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
878 determining of binary transfer. (Bug#7383)
880 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
883 Fix port computation bug. (Bug#8618)
885 2011-05-05 Glenn Morris <rgm@gnu.org>
887 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
889 * simple.el (shell-dynamic-complete-functions)
890 (comint-dynamic-complete-functions): Declare.
892 * net/network-stream.el (gnutls-negotiate):
893 * simple.el (tabulated-list-print): Fix declarations.
895 * progmodes/gud.el (syntax-symbol, syntax-point):
896 Remove unnecessary and incorrect declarations.
898 * emacs-lisp/check-declare.el (check-declare-scan):
899 Handle byte-compile-initial-macro-environment in bytecomp.el
901 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
903 Fix earlier half-done eieio-defmethod change (bug#8338).
904 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
905 Streamline and change calling convention.
906 (defmethod): Adjust accordingly and simplify.
907 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
908 new eieio--defmethod.
909 (slot-boundp): Minor CSE simplification.
911 2011-05-05 Milan Zamazal <pdm@zamazal.org>
913 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
914 (glasses-make-readable): Use glasses-separate-capital-groups.
916 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
918 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
919 (warning-series): Doc fix.
920 (display-warning): Don't try to create the buffer if we just found it.
922 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
924 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
925 (autoload-find-generated-file): New function.
926 (generate-file-autoloads): Bind generated-autoload-file to
928 (update-file-autoloads, update-directory-autoloads):
929 Use autoload-find-generated-file. If called interactively, prompt for
930 output file (Bug#7989).
931 (batch-update-autoloads): Doc fix.
933 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
935 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
937 2011-05-04 Glenn Morris <rgm@gnu.org>
939 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
940 function, so it follows changes in calendar-date-style.
941 (diary-fancy-date-matcher): New function.
942 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
943 (diary-fancy-font-lock-fontify-region-function):
944 Use diary-fancy-date-pattern as a function.
946 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
947 non-numbers for `year' etc pseudo-variables. (Bug#8583)
949 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
951 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
952 instead of positional arguments. Allow :keylist and :crlfiles
954 (open-gnutls-stream): Call it.
956 * net/network-stream.el (network-stream-open-starttls): Adjust to
957 call `gnutls-negotiate' with :process and :hostname arguments.
959 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
961 * minibuffer.el (completion--message): New function.
962 (completion--do-completion, minibuffer-complete)
963 (minibuffer-force-complete, minibuffer-complete-word): Use it.
964 (completion--do-completion): Don't ignore completion-auto-help when in
967 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
968 internal encoding (e.g. tibetan zero is not whitespace).
969 (global-whitespace-mode): Prefer save-current-buffer.
970 (whitespace-trailing-regexp): Remove useless save-match-data.
971 (whitespace-empty-at-bob-regexp): Minor simplification.
973 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
975 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
977 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
979 * textmodes/ispell.el (ispell-add-per-file-word-list):
980 Use `concat' to create string for insertion.
982 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
984 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
985 Avoid open-line which runs post-self-insert-hook.
986 (bibtex-fill-entry): Remove unused `end' var.
988 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
990 * textmodes/ispell.el (ispell-add-per-file-word-list):
991 Protect against `nil' value of `comment-start' (Bug#8579).
993 2011-05-03 Leo Liu <sdl.web@gmail.com>
995 * isearch.el (isearch-yank-pop): New command.
996 (isearch-mode-map): Bind it to `M-y'.
997 (isearch-forward): Mention it.
999 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1001 * simple.el (minibuffer-complete-shell-command): Remove.
1002 (minibuffer-local-shell-command-map): Use completion-at-point.
1003 (read-shell-command): Setup completion vars here instead.
1004 (read-expression-map): Bind TAB to symbol completion.
1006 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
1007 error directly rather via storing it into `results'.
1009 2011-05-02 Leo Liu <sdl.web@gmail.com>
1011 * vc/diff.el: Fix description.
1013 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015 * server.el (server-eval-at): New function.
1017 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1019 * net/network-stream.el (open-network-stream): Take a :nowait
1020 parameter and pass it on to `make-network-process'.
1021 (network-stream-open-plain): Ditto.
1023 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
1025 * faces.el (face-spec-set-match-display): Don't match toolkit
1026 options on terminal frames.
1028 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1030 * progmodes/pascal.el: Use lexical binding.
1031 (pascal-mode-map): Remove author preferences.
1033 * pcomplete.el (pcomplete-std-complete): Don't abuse
1034 completion-at-point.
1036 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1038 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
1039 removing code that has been dead since 1991 or so.
1041 * startup.el (command-line): When warning about "_emacs", use a
1042 delayed warning to allow the user to filter it out.
1044 2011-04-28 Deniz Dogan <deniz@dogan.se>
1046 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
1047 user has not joined.
1049 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1051 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
1052 aren't any completions at point.
1054 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
1056 * subr.el (display-delayed-warnings): New function.
1057 (delayed-warnings-hook): New variable.
1059 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * minibuffer.el (completion-at-point, completion-help-at-point):
1062 Don't presume that a given completion-at-point-function will always
1063 use the same calling convention.
1065 * pcomplete.el (pcomplete-completions-at-point):
1066 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
1067 pcomplete-seen is non-nil.
1068 (pcomplete-comint-setup): Also recognize the new comint/shell
1069 completion functions.
1070 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
1071 pcomplete-seen is non-nil.
1073 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
1075 * calendar/icalendar.el (diary-lib): Add require statement.
1076 (icalendar--create-uid): Read out a uid from a text-property on
1077 the first character in the entry. This allows for code to add its
1078 own uid to the entry.
1079 (icalendar--convert-float-to-ical): Add export of
1080 `diary-float'-entries save for those with the optional DAY
1083 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1085 * subr.el (shell-quote-argument): Use alternate escaping strategy
1086 when we spot a variable reference in a string.
1088 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1090 * cus-start.el (all): Define customization for debug-on-event.
1092 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1094 * subr.el (shell-quote-argument): Escape correctly under Windows.
1096 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1100 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1102 * net/tramp.el (tramp-process-actions): Add POS argument.
1103 Delete region between POS and (pos).
1105 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1106 Use `nil' position in `tramp-process-actions' call.
1107 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1109 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1110 position in `tramp-process-actions' call.
1112 * net/trampver.el: Update release number.
1114 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * custom.el (defcustom): Obey lexical-binding.
1118 Fix octave-inf completion problems reported by Alexander Klimov.
1119 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1120 Inherit from octave-mode-syntax-table.
1121 (inferior-octave-mode): Set info-lookup-mode.
1122 (inferior-octave-completion-at-point): New function.
1123 (inferior-octave-complete): Use it and completion-in-region.
1124 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1125 comint-filename-completion.
1126 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1127 symbol elements which shouldn't be word elements.
1128 (octave-font-lock-keywords, octave-beginning-of-defun)
1129 (octave-function-header-regexp): Adjust regexps accordingly.
1130 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1132 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1134 * net/gnutls.el (gnutls-errorp): Declare before first use.
1136 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1138 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1139 verify-error, and verify-hostname-error parameters. Check whether
1140 default trustfile exists before going to use it. Add missing
1141 argument to gnutls-message-maybe call. Return return value.
1142 Reported by Claudio Bley <claudio.bley@gmail.com>.
1143 (open-gnutls-stream): Add usage example.
1145 * net/network-stream.el (network-stream-open-starttls): Give host
1146 parameter to `gnutls-negotiate'.
1147 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1148 * subr.el (shell-quote-argument): Escape correctly under Windows.
1150 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1153 Use correct match group (bug#8438).
1155 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1157 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1158 (package-menu--generate): New arg specifying packages to show.
1159 (package-menu-refresh, package-menu-execute, list-packages):
1161 (package-show-package-list): New function, replacing deleted
1162 package--list-packages (renamed because it is non-internal).
1164 * finder.el (finder-list-matches): Use package-show-package-list
1165 instead of deleted package--list-packages.
1167 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1168 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1169 (vc-annotate-mode-map): Bind it to RET.
1171 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1173 * progmodes/etags.el (next-file): Don't use set-buffer to change
1176 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1178 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1180 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1181 (apropos-accumulator): Doc fix.
1182 (apropos-function, apropos-macro, apropos-command)
1183 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1184 (apropos-plist): Add face property.
1185 (apropos-symbols-internal): Fix indentation.
1186 (apropos-print): Simplify help, and recognize apropos-multi-type.
1187 (apropos-print-doc): Use button-type-get to extract the button's
1188 face property. Fill docstring (Bug#8352).
1190 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1192 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1194 * play/mpuz.el (mpuz-silent): Doc fix.
1195 (mpuz-mode-map): Use mapc.
1196 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1197 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1198 Fix typos in docstrings.
1200 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1201 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1203 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1205 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
1207 * minibuffer.el (completion--do-completion): Avoid the "Next char
1208 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1210 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1211 mouse-2 into unread-command-events, it is interpreted correctly.
1213 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1214 (image-toggle-display): Doc fix.
1216 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
1218 * textmodes/page.el (what-page): Use line-number-at-pos to
1219 calculate line number (Bug#6825).
1221 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1223 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1224 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1225 Pass argument NO-DEFAULT to `find-tag-interactive'.
1227 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1229 Lexical-binding cleanup.
1231 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1232 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1233 * progmodes/ada-prj.el (ada-prj-initialize-values)
1234 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1235 (ada-prj-show-value):
1236 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1237 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1238 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1239 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1240 * progmodes/bug-reference.el (bug-reference-push-button):
1241 * progmodes/fortran.el (fortran-line-length):
1242 * progmodes/glasses.el (glasses-change):
1243 * progmodes/octave-mod.el (octave-fill-paragraph):
1244 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1245 (python-pdbtrack-grub-for-buffer, python-sentinel):
1246 * progmodes/sql.el (sql-save-connection):
1247 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1248 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1249 Mark unused parameters.
1251 * progmodes/compile.el (compilation--flush-directory-cache)
1252 (compilation--flush-parse, compile-internal): Mark unused parameters.
1253 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1254 (compilation-next-error-function): Remove unused variable `timestamp'.
1256 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1257 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1259 * progmodes/dcl-mode.el (dcl-end-of-command):
1260 Remove unused variable `start'.
1261 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1262 (dcl-option-value-basic, dcl-option-value-offset)
1263 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1264 Mark unused parameters.
1265 (dcl-save-local-variable): Remove unused variable `val'.
1268 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1269 Mark unused parameters.
1270 (delphi-ignore-changes): Move before first use.
1271 (delphi-charset-token-at): Remove unused variable `start'.
1272 (delphi-else-start): Remove unused variable `if-count'.
1273 (delphi-comment-block-start, delphi-comment-block-end):
1274 Remove unused variable `kind'.
1275 (delphi-indent-line): Remove unused variable `new-point'.
1277 * progmodes/ebrowse.el (ebrowse-files-list)
1278 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1279 Mark unused parameters. Don't quote `lambda'.
1280 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1281 Don't quote `lambda'.
1282 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1283 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1284 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1285 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1286 Use `ignore-errors'.
1287 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1288 (ebrowse-view/find-file-and-search-pattern)
1289 (ebrowse-view/find-member-declaration/definition):
1290 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1291 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1292 Rename parameter PREFIX-ARG to PREFIX.
1293 (ebrowse-tags-read-name): Remove unused variables `start' and
1295 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1298 * progmodes/etags.el (local-find-tag-hook): Declare.
1299 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1300 Mark unused parameters.
1302 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1303 (executable-interpret): Mark unused parameter.
1305 * progmodes/flymake.el (flymake-process-sentinel)
1306 (flymake-after-change-function)
1307 (flymake-create-temp-with-folder-structure)
1308 (flymake-get-include-dirs-dot): Mark unused parameters.
1309 (flymake-safe-delete-directory): Remove unused variable `err'.
1311 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1312 (speedbar-timer-fn, speedbar-line-text)
1313 (speedbar-change-expand-button-char, speedbar-delete-subblock)
1314 (speedbar-center-buffer-smartly): Declare functions.
1315 (gdb-find-watch-expression): Remove unused variable `array'.
1316 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1317 (gdb-starting): Mark unused parameters.
1318 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1319 (gdb-table-string): Remove unused variable `res'.
1320 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1321 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1322 (gdb-display-buffer): Remove unused variable `cur-size'.
1324 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1325 allow lexical-binding compilation.
1326 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1327 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1328 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1329 Mark unused parameters.
1330 (gud-gdb-marker-filter): Remove unused variable `match'.
1331 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1332 lambda expressions and funcall them, instead of using `fset'.
1334 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1335 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1337 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1338 variable `header-beg'; use `let'.
1340 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1341 `restart', `last-sexp' and `at-do'.
1343 * progmodes/js.el (js--debug): Mark unused parameter.
1344 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1345 (js--splice-into-items): Remove unused variable `item'.
1346 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1348 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1349 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1350 (makefile-complete): Remove unused variable `try'.
1351 (makefile-fill-paragraph, makefile-match-function-end):
1352 Mark unused parameters.
1354 * progmodes/octave-inf.el (inferior-octave-complete):
1355 Remove unused variable `proc'.
1356 (inferior-octave-output-digest): Mark unused parameter.
1358 * progmodes/perl-mode.el (perl-calculate-indent):
1359 Remove unused variable `err'.
1361 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1362 (prolog-indent-line): Mark unused parameters.
1363 (prolog-indent-line): Remove unused variable `beg'.
1365 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1366 (reporter-dont-compact-list): Declare.
1368 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1369 Remove unused variable `char'.
1370 (sh-debug): Mark unused parameter.
1371 (sh-get-indent-info): Remove unused variable `start'.
1372 (sh-calculate-indent): Remove unused variable `var'.
1374 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1375 (simula-electric-keyword): Remove unused variable `null'.
1376 (simula-search-backward, simula-search-forward): Remove unused
1377 variables `begin' and `end'.
1379 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1380 Remove unused variable `pos'.
1381 (vera-electric-tab, vera-comment-uncomment-region):
1382 Mark unused parameters.
1383 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1385 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
1387 * emacs-lisp/package.el (package--builtins, package-alist)
1388 (package-load-descriptor, package-built-in-p, package-activate)
1389 (define-package, package-installed-p)
1390 (package-compute-transaction, package-buffer-info)
1391 (package--push): Doc fix. Distinguish more clearly between
1392 version strings and version lists.
1394 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
1396 Lexical-binding cleanup.
1398 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1399 (5x5-make-mutate-best):
1400 * play/fortune.el (fortune-in-buffer):
1401 * play/gomoku.el (gomoku-init-display):
1402 * play/solitaire.el (solitaire, solitaire-do-check):
1403 * play/tetris.el (tetris-default-update-speed-function):
1404 Mark unused parameters.
1406 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1407 (bubbles--shift): Remove unused variable `char-org'.
1408 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1409 (bubbles--show-images): Remove unused variable `char'.
1411 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1412 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1413 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1414 (decipher-analyze-buffer): Use ?\s.
1415 (decipher-make-checkpoint): Remove unused variable `mapping'.
1417 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1419 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1420 Remove unused variable `result'; use `let'.
1422 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1423 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1424 (gametree-children-shown-p, gametree-compute-reduced-score):
1425 Use `ignore-errors'.
1427 * play/handwrite.el (ps-lpr-switches): Declare.
1428 (handwrite): Remove unused variables `pmin' and `lastp'.
1430 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1432 * play/landmark.el (landmark-init-display)
1433 (landmark-update-naught-weights): Mark unused parameters.
1434 (landmark-y): Remove unused variable `noise'. Simplify.
1435 (landmark-human-plays): Remove unused variable `score'.
1437 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1438 (mpuz-try-proposal): Remove unused variable `game'.
1440 * play/zone.el (life-patterns): Declare.
1442 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
1444 * vc/vc.el (ediff-vc-internal): Declare function.
1446 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1448 * shell.el: Use lexical-binding and std completion UI.
1449 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1450 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1451 comint-preoutput-filter-functions rather than on
1452 comint-output-filter-functions.
1453 (shell-command-completion, shell--command-completion-data)
1454 (shell-filename-completion, shell-environment-variable-completion)
1455 (shell-c-a-p-replace-by-expanded-directory): New functions.
1456 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1457 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1458 (shell-dynamic-complete-environment-variable): Use them.
1459 (shell-dynamic-complete-as-environment-variable)
1460 (shell-dynamic-complete-as-command): Remove.
1461 (shell-match-partial-variable): Match past point.
1462 * comint.el: Clean up use of completion-at-point-functions.
1463 (comint-completion-at-point): New function.
1464 (comint-mode): Use it completion-at-point-functions.
1465 (comint-dynamic-complete): Make it obsolete.
1466 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1467 (comint-c-a-p-replace-by-expanded-history): New function.
1468 (comint-dynamic-complete-functions)
1469 (comint-replace-by-expanded-history): Use it.
1470 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1471 termination strings. Try harder to avoid second try-completion.
1472 (completion-in-region-mode-map): Disable bindings that don't work yet.
1474 * comint.el: Use lexical-binding. Require CL.
1475 (comint-dynamic-complete-functions): Use comint-filename-completion.
1476 (comint-completion-addsuffix): Tweak custom type.
1477 (comint-filename-completion, comint--common-suffix)
1478 (comint--common-quoted-suffix, comint--table-subvert)
1479 (comint--complete-file-name-data): New functions.
1480 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1481 (comint-dynamic-list-filename-completions): Use them.
1482 (comint-dynamic-simple-complete): Make obsolete.
1484 * minibuffer.el (completion-in-region-mode):
1485 Keep completion-in-region-mode--predicate global.
1486 (completion-in-region--postch):
1487 Assume completion-in-region-mode--predicate is not null.
1489 * progmodes/flymake.el (flymake-start-syntax-check-process):
1490 Obey `dir'. Simplify.
1492 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1493 we're in VC after all.
1495 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1497 * vc/vc.el (vc-diff-build-argument-list-internal)
1498 (vc-version-ediff, vc-ediff): New commands.
1499 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1501 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1506 * obsolete/erc-hecomplete.el: Make obsolete.
1507 * obsolete/: Standardize obsolescence info in the header.
1509 2011-04-20 Glenn Morris <rgm@gnu.org>
1511 * calendar/solar.el (solar-horizontal-coordinates):
1512 Use the longitude argument rather than `calendar-longitude'.
1513 (solar-date-next-longitude): Remove unused locals.
1515 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1517 * whitespace.el: New version 13.2.1.
1519 2011-04-20 felix <EmacsWiki> (tiny change)
1521 * whitespace.el (global-whitespace-mode): keep highlight when
1522 switching between major modes on a file.
1524 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1526 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1527 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1528 multi-line comments as well.
1530 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
1532 Lexical-binding cleanup.
1534 * arc-mode.el (archive-mode-revert):
1535 * cmuscheme.el (scheme-interactively-start-process):
1536 * custom.el (custom-initialize-delay):
1537 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1538 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1539 * emacs-lock.el (emacs-lock-clear-sentinel):
1540 * ezimage.el (defezimage):
1541 * follow.el (follow-avoid-tail-recenter):
1542 * fringe.el (set-fringe-mode-1):
1543 * generic-x.el (bat-generic-mode-compile):
1544 * help-mode.el (help-info-variable, help-do-xref)
1545 (help-mode-revert-buffer):
1546 * help.el (view-emacs-todo):
1547 * iswitchb.el (iswitchb-completion-help):
1548 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1549 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1550 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1551 * locate.el (locate-update):
1552 * longlines.el (longlines-encode-region)
1553 (longlines-after-change-function):
1554 * outline.el (outline-isearch-open-invisible):
1555 * ps-def.el (declare-function, charset-dimension, char-width)
1557 * ps-mule.el (ps-mule-plot-string):
1558 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1559 (recentf-edit-list-select, recentf-edit-list-validate)
1560 (recentf-open-files-action):
1561 * rect.el (delete-whitespace-rectangle-line)
1562 (rectangle-number-line-callback):
1563 * register.el (window-configuration-to-register)
1564 (frame-configuration-to-register):
1565 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1566 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1567 (xselect-convert-to-targets, xselect-convert-to-delete)
1568 (xselect-convert-to-filename, xselect-convert-to-charpos)
1569 (xselect-convert-to-lineno, xselect-convert-to-colno)
1570 (xselect-convert-to-os, xselect-convert-to-host)
1571 (xselect-convert-to-user, xselect-convert-to-class)
1572 (xselect-convert-to-name, xselect-convert-to-integer)
1573 (xselect-convert-to-atom, xselect-convert-to-identity):
1574 * subr.el (declare, ignore, process-kill-without-query)
1575 (text-clone-maintain):
1576 * terminal.el (te-get-char, te-tic-sentinel):
1577 * tool-bar.el (tool-bar-make-keymap):
1578 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1579 * type-break.el (type-break-mode, type-break-noninteractive-query):
1580 * view.el (View-back-to-mark):
1581 * wid-browse.el (widget-browse-action, widget-browse-widget)
1582 (widget-browse-widgets, widget-browse-sexp):
1583 * widget.el (define-widget-keywords):
1584 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1585 Mark unused parameters.
1587 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1588 (align-areas): Remove unused variable `look'.
1589 (align-region): Remove unused variables `real-end' and `pos-list'.
1591 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1593 * bindings.el (mode-line-modified, mode-line-remote):
1594 Mark unused parameters.
1595 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1597 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1598 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1600 * comint.el (comint-history-isearch-pop-state)
1601 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1602 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1603 (comint-substitute-in-file-name): Doc fix.
1605 * completion.el (cmpl-statistics-block): Mark unused parameter.
1606 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1607 (save-completions-to-file, load-completions-from-file):
1608 Remove unused local variable `e'.
1610 * composite.el (compose-chars): Remove unused variable `len'.
1611 (lgstring-insert-glyph): Remove unused variable `g'.
1612 (compose-glyph-string): Remove unused variables `ascent',
1613 `descent', `lbearing' and `rbearing'.
1614 (compose-glyph-string-relative): Remove unused variables
1615 `lbearing', `rbearing' and `wadjust'.
1616 (compose-gstring-for-graphic): Remove unused variables `header',
1617 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
1618 (compose-gstring-for-terminal): Remove unused variables `header'
1619 and `nchars'. Use `let', not `let*'.
1621 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1622 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1623 (Custom-buffer-done, custom-buffer-create-internal)
1624 (custom-browse-visibility-action, custom-browse-group-tag-action)
1625 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1626 (widget-magic-mouse-down-action, custom-toggle-parent)
1627 (custom-add-parent-links, custom-toggle-hide-variable)
1628 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1629 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1630 (custom-face-menu-create, custom-variable-menu-create, get)
1631 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1632 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1633 (customize-apropos): Remove unused variable `tests'.
1634 (custom-group-value-create): Remove unused variable `hidden-p'.
1635 (sort-fold-case): Declare.
1637 * cus-theme.el (custom-reset-standard-faces-list)
1638 (custom-reset-standard-variables-list): Declare.
1639 (customize-create-theme, custom-theme-revert, custom-theme-write)
1640 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1641 Mark unused parameters.
1643 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1645 * delim-col.el (delimit-columns-max): Move defvar before first use.
1647 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1648 (describe-char): Don't quote `lambda'. Mark unused parameter.
1650 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1651 (auto-insert): Declare.
1652 (desktop-restore-file-buffer): Rename desktop-* parameters;
1654 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1655 (desktop-buffer): Rename desktop-* parameters.
1657 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1658 (dframe-reposition-frame-xemacs, dframe-help-echo)
1659 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1660 Mark unused parameters.
1662 * dired-aux.el (backup-extract-version-start, overwrite-query)
1663 (overwrite-backup-query, rename-regexp-query)
1664 (rename-non-directory-query): Declare.
1665 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1666 (dired-add-entry): Remove unused variable `orig-file-name'.
1667 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1668 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1669 `dired-copy-preserve-time' directly.
1670 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1671 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1673 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1674 (dired-virtual-revert, dired-make-relative-symlink):
1675 Mark unused parameters.
1676 (manual-program): Declare.
1677 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1678 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1679 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1681 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1683 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1685 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1688 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1690 * electric.el (Electric-command-loop): Rename parameter
1691 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1693 * expand.el (expand-in-literal): Remove unused variable `here'.
1695 * facemenu.el (facemenu-add-new-color):
1696 Remove unused variable `docstring'.
1698 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1699 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1700 (face-attr-construct): Mark unused parameter. Doc fix.
1701 (read-color): Remove unused variable `hex-string'.
1703 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1704 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1705 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1706 (display-buffer-other-frame): Remove unused variable `old-window'.
1707 (kill-buffer-hook): Declare.
1708 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1709 Mark unused parameters.
1710 (after-find-file): Pass 1 to `auto-save-mode', not t.
1712 * files-x.el (auto-insert): Declare.
1713 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1715 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1716 variable `buf'. Mark unused parameter.
1717 (find-lisp-insert-directory): Mark unused parameter.
1719 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1720 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1721 (format-common-tail): Remove, unused.
1722 (format-deannotate-region): Remove unused variable `loc'.
1723 (format-annotate-region): Remove unused variable `p'.
1724 (format-annotate-single-property-change): Remove unused variables
1725 `default' and `tail'.
1727 * forms.el (read-file-filter): Declare.
1728 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1730 * frame.el (frame-creation-function-alist): Mark unused parameter.
1731 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1733 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1734 Remove unused parameters.
1735 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1736 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1738 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1739 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1740 (hfy-prepare-tag-map): Mark unused parameters.
1741 (htmlfontify-buffer): Use `called-interactively-p'.
1743 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1744 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1745 (ibuffer-do-occur): Mark unused parameters.
1746 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1747 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1749 * ibuffer.el: Don't quote `lambda'.
1750 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1751 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1752 Mark unused parameters.
1754 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1755 (ido-completing-read): Mark unused parameters.
1756 (ido-copy-current-word): Mark unused parameters;
1757 remove unused variable `name'.
1758 (ido-sort-merged-list): Remove unused parameter `dirs'.
1760 * ielm.el (ielm-input-sender): Mark unused parameter.
1761 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1762 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1763 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1764 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1765 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1767 * image-dired.el (image-dired-display-thumbs): Remove unused
1768 variables `curr-file' and `count'.
1769 (image-dired-remove-tag): Remove unused variable `start'.
1770 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1771 variable `curr-file'
1772 (image-dired-rotate-original): Remove unused variable `temp-file'.
1773 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1774 Remove unused variable `file'.
1775 (image-dired-gallery-generate): Remove unused variable `curr'.
1776 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1778 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1780 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1782 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1784 * isearch.el (minibuffer-history-symbol): Declare.
1785 (isearch-edit-string): Remove unused variable `err'.
1786 (isearch-message-prefix, isearch-message-suffix):
1787 Mark unused parameters.
1789 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1791 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1793 * makesum.el (double-column): Remove unused variable `cnt'.
1795 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1796 (ido-ignore-item-temp-list): Declare.
1798 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1799 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1800 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1801 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1804 * mouse-sel.el (mouse-extend-internal):
1805 Remove unused variable `orig-window-frame'.
1807 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1808 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1809 Move declarations before first use.
1810 (pcomplete-opt): Mark unused parameters; doc fix.
1812 * proced.el (proced-revert): Mark unused parameter.
1813 (proced-send-signal): Remove unused variable `err'.
1815 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1816 Rename parameter PREFIX-ARG to ARG.
1817 (ps-basic-plot-string, ps-basic-plot-whitespace):
1818 Mark unused parameters.
1820 * replace.el (replace-count): Define.
1821 (occur-revert-function): Mark unused parameters.
1822 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1823 (isearch-case-fold-search, isearch-string): Declare.
1824 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1825 bind `case-fold-search'. Remove unused variables `beg' and `end',
1827 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1828 COUNT and bind `replace-count'.
1829 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1832 * savehist.el (print-readably, print-string-length): Declare.
1834 * shadowfile.el (shadow-expand-cluster-in-file-name):
1835 Remove unused variable `cluster'.
1836 (shadow-copy-file): Remove unused variable `i'.
1837 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1838 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1839 (shadow-define-literal-group, shadow-define-regexp-group)
1840 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1842 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1843 (shell): Use `called-interactively-p'.
1844 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1846 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1847 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1848 (delete-backward-char): Remove unused variable `ocol'.
1849 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1850 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1851 (event-apply-hyper-modifier, event-apply-shift-modifier)
1852 (event-apply-control-modifier, event-apply-meta-modifier):
1853 Mark unused parameters.
1854 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1855 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1857 * speedbar.el (speedbar-ignored-directory-expressions)
1858 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1859 (speedbar-find-file, speedbar-dir-follow)
1860 (speedbar-directory-buttons-follow, speedbar-tag-find)
1861 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1862 (speedbar-buffers-line-directory, speedbar-buffer-click):
1863 Mark unused parameters.
1864 (speedbar-tag-file): Remove unused variable `mode'.
1865 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1867 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1869 * talk.el (talk): Remove unused variable `display'.
1871 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1872 (tar-write-region-annotate): Mark unused parameter.
1874 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1875 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1876 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1879 * time-stamp.el (time-stamp-string-preprocess):
1880 Remove unused variable `require-padding'.
1882 * tree-widget.el (widget-glyph-enable): Declare.
1883 (tree-widget-action): Mark unused parameter.
1885 * w32-fns.el (x-get-selection): Mark unused parameter.
1886 (autoload-make-program, generated-autoload-file): Declare.
1888 * wdired.el (wdired-revert): Mark unused parameters.
1889 (wdired-xcase-word): Remove unused variable `err'.
1891 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1892 (whitespace-help-scroll): Remove unused variable `data-help'.
1894 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1895 (widget-image-insert, widget-after-change, default)
1896 (widget-default-format-handler, widget-default-notify)
1897 (widget-default-prompt-value, widget-info-link-action)
1898 (widget-url-link-action, widget-function-link-action)
1899 (widget-variable-link-action, widget-file-link-action)
1900 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1901 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1902 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1903 (widget-insert-button-action, widget-delete-button-action, visibility)
1904 (widget-documentation-link-action, widget-documentation-string-action)
1905 (widget-const-prompt-value, widget-regexp-match, symbol)
1906 (widget-coding-system-prompt-value)
1907 (widget-key-sequence-value-to-external, sexp)
1908 (widget-sexp-value-to-internal, character, vector, cons)
1909 (widget-choice-prompt-value, widget-boolean-prompt-value)
1910 (widget-color--choose-action): Mark unused parameters.
1911 (widget-item-match-inline, widget-choice-match-inline)
1912 (widget-checklist-match, widget-checklist-match-inline)
1913 (widget-group-match): Rename parameter VALUES to VALS.
1914 (widget-field-value-set): Remove unused variable `size'.
1915 (widget-color-action): Remove unused variables `value' and `start'.
1917 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1918 variable `dir'. Doc fix.
1919 (windmove-find-other-window): Don't pass it.
1921 * window.el (count-windows): Mark unused parameter.
1922 (bw-adjust-window): Remove unused variable `err'.
1924 * woman.el (woman-file-name): Remove unused variable `default'.
1925 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1926 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1927 (global-font-lock-mode): Declare.
1928 (woman-decode-region): Mark unused parameter.
1929 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1931 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1932 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1933 (x-dnd-handle-moz-url): Remove unused variable `title'.
1934 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1936 * xml.el (xml-parse-tag, xml-parse-attlist):
1937 Remove unused variable `pos'.
1939 2011-04-19 Glenn Morris <rgm@gnu.org>
1941 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1942 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1943 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1944 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1945 * calendar/cal-html.el (cal-html-insert-minical):
1946 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1947 (calendar-mark-date-pattern):
1948 Prefix "unused" locals.
1950 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1951 optional argument `style'.
1953 * calendar/appt.el (appt-make-list):
1954 * calendar/cal-china.el (calendar-chinese-date-string):
1955 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1956 (diary-hebrew-yahrzeit):
1957 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1958 * calendar/calendar.el (calendar-generate-window):
1959 * calendar/time-date.el (time-to-days):
1960 Remove unused local variables.
1962 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1964 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1965 glyphless-char-display table.
1966 (tabulated-list-glyphless-char-display): New var.
1968 2011-04-18 Sam Steingold <sds@gnu.org>
1970 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1973 2011-04-17 Glenn Morris <rgm@gnu.org>
1975 * calendar/diary-lib.el (diary-sexp-entry):
1976 * calendar/holidays.el (holiday-sexp):
1977 Set debug-on-error rather than the removed stack-trace-on-error.
1979 2011-04-16 Glenn Morris <rgm@gnu.org>
1981 * progmodes/f90.el: Use lexical-binding.
1982 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1984 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1986 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1987 (mail-mode): Setup mailalias completion here instead.
1988 * mail/mailalias.el: Use lexical-binding.
1989 (pattern, mailalias-done): Declare dynamic.
1990 (mail-completion-at-point-function): New function, from mail-complete.
1991 (mail-complete): Use it.
1992 (mail-completion-expand): New function.
1993 (mail-get-names): Use it.
1994 (mail-directory, mail-directory-process, mail-directory-stream):
1995 Don't use `pattern' for lexically bound arg.
1997 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1999 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
2000 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
2001 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
2003 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
2004 (byte-save-window-excursion, byte-temp-output-buffer-setup)
2005 (byte-interactive-p): Define them again, for use when inlining
2008 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
2010 * loadup.el: Use `string-to-number', not `string-to-int'.
2012 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
2015 gud-gdb-complete-command.
2016 (gud-gdb-completions): New function, from gud-gdb-complete-command.
2017 (gud-gdb-completion-at-point): New function.
2018 (gud-gdb-completions): Remove.
2020 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
2022 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
2023 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
2024 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
2025 whether `executable-find' is bound.
2027 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
2029 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * minibuffer.el (completion-in-region-mode-predicate)
2032 (completion-in-region-mode--predicate): New vars.
2033 (completion-in-region, completion-in-region--postch)
2034 (completion-in-region-mode): Use them.
2035 (completion--capf-wrapper): Also return the hook function.
2036 (completion-at-point, completion-help-at-point):
2037 Adjust and provide a predicate.
2039 Preserve arg names for advice of subr and lexical functions (bug#8457).
2040 * help-fns.el (help-function-arglist): Consolidate the subr and
2041 new-byte-code cases. Add argument `preserve-names' to extract names
2042 from the docstring when needed.
2043 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
2044 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
2045 (ad-arglist): Use help-function-arglist's new arg.
2046 (ad-definition-type): Use cond.
2048 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
2050 * autorevert.el (auto-revert-handler):
2051 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
2052 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
2055 * image-mode.el (image-transform-set-scale):
2056 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
2058 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2060 * net/network-stream.el (network-stream-open-starttls): Only do
2061 opportunistic STARTTLS upgrades if we have built-in gnutls support.
2062 Upgrades via gnutls-cli are too slow to be done opportunistically.
2064 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
2066 * dframe.el (dframe-current-frame): Remove spurious quote.
2068 2011-04-12 Glenn Morris <rgm@gnu.org>
2070 * calendar/cal-tex.el (cal-tex-end-document):
2071 Try to automatically use latin1 input if needed.
2073 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
2074 Don't try to cons a mark onto an empty element.
2076 2011-04-11 Leo Liu <sdl.web@gmail.com>
2078 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2080 (ido-kill-buffer-at-head): Support killing virtual buffers.
2082 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2084 * minibuffer.el (completion-show-inline-help): New var.
2085 (completion--do-completion, minibuffer-complete)
2086 (minibuffer-force-complete, minibuffer-complete-word):
2087 Inhibit minibuffer messages if completion-show-inline-help is nil.
2089 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2090 to avoid interference from inline help (Bug#5849).
2092 2011-04-10 Leo Liu <sdl.web@gmail.com>
2094 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2097 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2099 * image-mode.el (image-toggle-display-image): Signal an error if
2101 (image-transform-mode, image-transform-resize)
2102 (image-transform-set-rotation): Doc fix.
2103 (image-transform-set-resize): Delete.
2104 (image-transform-set-scale, image-transform-fit-to-height)
2105 (image-transform-fit-to-width): Handle image-toggle-display-image
2106 and image-transform-resize directly.
2108 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2110 * doc-view.el (doc-view-fit-width-to-window)
2111 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2112 New functions for fitting the shown image to the Emacs window size.
2113 (doc-view-mode-map): Add bindings for the new functions.
2115 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2117 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2118 Fix typo in docstring.
2120 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2122 * files.el (file-size-human-readable): Produce one digit after
2123 decimal, like "ls -lh" does.
2125 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2126 the file size representation.
2128 * simple.el (list-processes): If async subprocesses are not
2129 available, error out with a clear error message.
2131 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2133 * help.el (help-form-show): New function, to be called from C.
2134 Put help-form output in a buffer named differently than *Help*.
2136 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2138 * files.el (file-size-human-readable): New function.
2140 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2141 computing the representation inline. Don't require `cl'.
2143 2011-04-08 Glenn Morris <rgm@gnu.org>
2145 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2147 * net/browse-url.el (browse-url-firefox):
2148 Test system-type, not system-configuration.
2150 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2151 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2152 Use log-edit-empty-buffer-p. (Bug#7598)
2154 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2155 (rlogin-mode-map): Initialize in the defvar.
2156 (rlogin): Use ignore-errors.
2158 * replace.el (occur-mode-map): Some fixes for menu items.
2160 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2162 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2164 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2166 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2167 issuing unused warnings.
2169 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2172 * simple.el: Lisp reimplement of list-processes. Based on an
2173 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2174 (process-menu-mode): New major mode.
2175 (list-processes--refresh, list-processes):
2176 (process-menu-visit-buffer): New functions.
2178 * files.el (save-buffers-kill-emacs): Don't assume any return
2179 value of list-processes, which is undocumented anyway.
2181 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2183 * emacs-lisp/tabulated-list.el: New file.
2185 * emacs-lisp/package.el: Use Tabulated List mode.
2186 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2187 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2188 table format using Tabulated List mode variables.
2189 (package--push): New macro, replacing package-list-maybe-add.
2190 (package-menu--generate): Use package--push. Renamed from
2191 package--generate-package-list.
2192 (package-menu-refresh, list-packages): Use it.
2193 (package-menu--print-info): Rename from package-print-package.
2194 Return insertion data instead of inserting it directly.
2195 (package-menu-describe-package, package-menu-execute):
2196 Use tabulated-list-get-id.
2197 (package-menu-mark-delete, package-menu-mark-install)
2198 (package-menu-mark-unmark, package-menu-backup-unmark)
2199 (package-menu-mark-obsolete-for-deletion):
2200 Use tabulated-list-put-tag.
2201 (package--list-packages, package-menu-revert)
2202 (package-menu-get-package, package-menu-get-version)
2203 (package-menu-sort-by-column): Functions deleted.
2204 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2205 (package-menu--status-predicate, package-menu--version-predicate)
2206 (package-menu--name-predicate)
2207 (package-menu--description-predicate): Handle arguments in the
2208 Tabulated List format.
2209 (package-list-packages-no-fetch): Call list-packages.
2211 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
2213 * files.el (after-find-file-from-revert-buffer): Remove variable.
2214 (after-find-file): Don't bind it.
2215 (revert-buffer-in-progress-p): New variable.
2216 (revert-buffer): Bind it.
2217 Pass nil for `after-find-file-from-revert-buffer'.
2219 * saveplace.el (save-place-find-file-hook): Use new variable
2220 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2222 2011-04-06 Glenn Morris <rgm@gnu.org>
2224 * Makefile.in (AUTOGEN_VCS): New variable.
2225 (autoloads): Use $AUTOGEN_VCS.
2227 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2228 * calendar/calendar.el (calendar-mode-map):
2229 Check for toolkit scroll bars. (Bug#8305)
2231 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2233 * minibuffer.el (completion-in-region--postch)
2234 (completion-in-region-mode): Remove unnecessary messages.
2236 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
2238 * font-lock.el (font-lock-refresh-defaults):
2239 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2240 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2242 * info.el (Info-directory-list, Info-read-node-name-2)
2243 (Info-split-parameter-string): Doc fixes.
2244 (Info-virtual-nodes): Reflow docstring.
2245 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2246 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2247 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2248 Fix typos in docstrings.
2249 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2250 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2251 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2252 (Info-restore-desktop-buffer): Mark unused parameters.
2253 (Info-directory-find-file, Info-directory-find-node)
2254 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2255 (Info-virtual-index-find-node, Info-apropos-find-file)
2256 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2257 Mark unused parameters; fix typos in docstrings.
2258 (Info-virtual-index): Remove unused local variable `nodename'.
2260 2011-04-05 Deniz Dogan <deniz@dogan.se>
2262 * net/rcirc.el: Update my e-mail address.
2263 (rcirc-mode-map): Remove M-o binding.
2265 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2267 * startup.el (command-line): Save the cursor's theme-face
2268 directly, instead of using face-override-spec.
2270 * custom.el (load-theme): Minor optimization in assigning faces.
2272 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2274 * help-fns.el (describe-variable): Complete all variables having
2275 documentation, including keywords.
2276 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2278 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2280 Convert to lexical-binding.
2282 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2283 (bs--get-marked-string, bs--get-modified-string)
2284 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2285 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2286 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2288 * ehelp.el (electric-help-execute-extended)
2289 (electric-help-ctrl-x-prefix):
2290 * hexl.el (hexl-revert-buffer-function):
2291 * linum.el (linum-after-change, linum-after-scroll):
2292 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2294 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2296 2011-04-04 Daiki Ueno <ueno@unixuser.org>
2303 * epg.el: Use lexical binding.
2305 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
2307 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2309 * textmodes/flyspell.el (flyspell-word): Recognize default
2310 dictionary case for flyspell-mark-duplications-exceptions.
2311 Use regexp matching for languages.
2312 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2313 default dictionary (Bug#7926).
2315 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
2317 * emacs-lisp/package.el (package--with-work-buffer):
2318 Recognize https URLs.
2320 * net/network-stream.el: Move from gnus/proto-stream.el.
2321 Change prefix to network-stream throughout.
2322 (open-protocol-stream): Merge into open-network-stream, leaving
2323 open-protocol-stream as an alias. Handle nil BUFFER args.
2325 * subr.el (open-network-stream): Move to net/network-stream.el.
2327 2011-04-02 Glenn Morris <rgm@gnu.org>
2329 * find-dired.el (find-exec-terminator): New option.
2330 (find-ls-option): Test for -ls support.
2331 (find-ls-subdir-switches): Test for -b in find-ls-option.
2332 (find-dired, find-grep-dired): Doc fixes.
2333 (find-dired): Use find-exec-terminator.
2335 * find-dired.el (find-ls-option, find-ls-subdir-switches)
2336 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2337 (find-name-arg): Remove purecopy.
2339 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2340 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2341 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2342 accordingly. Don't add the null-device if not needed.
2344 * files.el (save-some-buffers): Doc fix.
2346 2011-04-02 Eli Zaretskii <eliz@gnu.org>
2348 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2350 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
2352 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2353 Use `dolist' rather than `mapcar'.
2355 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2357 Add lexical binding.
2359 * subr.el (apply-partially): Use new closures rather than CL.
2360 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2361 (dolist, dotimes): Use slightly different expansion for lexical code.
2362 (functionp): Move to C.
2363 (letrec): New macro.
2364 (with-wrapper-hook): Use it and apply-partially instead of CL.
2365 (eval-after-load): Preserve lexical-binding.
2366 (save-window-excursion, with-output-to-temp-buffer): Turn them
2369 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2371 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2373 (help-add-fundoc-usage): Don't add `Not documented'.
2374 (help-function-arglist): Handle closures, subroutines, and new
2375 byte-code-functions.
2376 (help-make-usage): Remove leading underscores.
2377 (describe-function-1): Handle closures.
2378 (describe-variable): Use special-variable-p for completion.
2380 * files.el (lexical-binding): Declare safe.
2382 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2383 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2384 (pcase): Add `let' pattern.
2385 Change memoization so it actually works.
2386 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2387 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2390 * emacs-lisp/macroexp.el: Use lexical binding.
2391 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2392 Don't convert ' to #' without checking that it's indeed quoting
2395 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2396 Use eval-sexp-add-defvars.
2397 (eval-sexp-add-defvars): New fun.
2399 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2401 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2403 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2404 than the internal `byte-compile-lambda'.
2405 (defmethod): Don't hide code under quotes.
2406 (eieio-defmethod): New `code' argument.
2408 * emacs-lisp/eieio-comp.el: Remove.
2410 * emacs-lisp/edebug.el (edebug-eval-defun)
2411 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2412 (edebug-toggle): Avoid `eval'.
2414 * emacs-lisp/disass.el (disassemble-internal): Handle new
2416 (disassemble-1): Handle new byte codes.
2418 * emacs-lisp/cl.el (pushnew): Silence warning.
2420 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2421 (cl-byte-compile-throw): Remove.
2422 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2424 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2427 * emacs-lisp/cconv.el: New file.
2429 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2430 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2431 (byte-compile-initial-macro-environment):
2432 Handle declare-function here.
2433 (byte-compile--lexical-environment): New var.
2434 (byte-stack-ref, byte-stack-set, byte-discardN)
2435 (byte-discardN-preserve-tos): New lap codes.
2436 (byte-interactive-p): Don't use any more.
2437 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2439 (byte-compile-lapcode): Use them and handle new lap codes.
2440 (byte-compile-obsolete): Remove.
2441 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2442 (byte-compile-arglist-warn): Check late def of inlinable funs.
2443 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2444 since they should have been expanded by now.
2445 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2446 (byte-compile-from-buffer): Remove unused second arg.
2447 (byte-compile-preprocess): New function.
2448 (byte-compile-toplevel-file-form): New function to distinguish
2449 file-form calls from outside from file-form calls from hunk-handlers.
2450 (byte-compile-file-form): Simplify.
2451 (byte-compile-file-form-defsubst): Remove.
2452 (byte-compile-file-form-defmumble): Simplify now that
2453 byte-compile-lambda always returns a byte-code-function.
2454 (byte-compile): Preprocess.
2455 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2456 Remove, not used any more.
2457 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2458 (byte-compile-make-args-desc): New funs.
2459 (byte-compile-lambda): Handle lexical functions. Always return
2460 a byte-code-function.
2461 (byte-compile-reserved-constants): New var, to make up room for
2462 closed-over variables.
2463 (byte-compile-constants-vector): Obey it.
2464 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2465 (byte-compile-macroexpand-declare-function): New function.
2466 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2467 byte-code-functions.
2468 (byte-compile-form): Check obsolescence here.
2469 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2470 (byte-compile-variable-ref): Remove.
2471 (byte-compile-dynamic-variable-op): New fun.
2472 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2473 (byte-compile-variable-set): New funs.
2474 (byte-compile-discard): Add 2 args.
2475 (byte-compile-stack-ref, byte-compile-stack-set)
2476 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2477 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2478 macroexpand-all instead.
2479 (byte-compile-quote-form): Remove.
2480 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2481 (byte-compile-bind, byte-compile-unbind): New funs.
2482 (byte-compile-let): Handle let* and lexical binding.
2483 (byte-compile-let*): Remove.
2484 (byte-compile-catch, byte-compile-unwind-protect)
2485 (byte-compile-track-mouse, byte-compile-condition-case):
2486 Handle a new :fun-body form, used for lexical scoping.
2487 (byte-compile-save-window-excursion)
2488 (byte-compile-with-output-to-temp-buffer): Remove.
2489 (byte-compile-defun): Simplify.
2490 (byte-compile-stack-adjustment): New fun.
2491 (byte-compile-out): Use it.
2492 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2494 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2497 * emacs-lisp/byte-opt.el: Use lexical binding.
2498 (byte-inline-lapcode): Remove (to bytecomp).
2499 (byte-compile-inline-expand): Pay attention to inlining to/from
2500 lexically bound code.
2501 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2503 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2504 any more and don't call compiler-macros.
2505 (byte-compile-splice-in-already-compiled-code): Remove.
2506 (byte-code): Don't inline any more.
2507 (disassemble-offset): Receive `bytes' as argument rather than via
2509 (byte-compile-tag-number): Declare before first use.
2510 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2511 `return' even if make-spliceable.
2512 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2513 obsolete interactive-p.
2514 (byte-optimize-lapcode): Optimize new lap-codes.
2515 Don't trip up on new form of `byte-constant' lap code.
2517 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2519 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2521 * custom.el (custom-initialize-default, custom-declare-variable):
2524 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2526 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2527 (COMPILE_FIRST): Add macroexp and cconv.
2528 * makefile.w32-in: Mirror changes in Makefile.in.
2534 * vc/smerge-mode.el:
2535 * textmodes/bibtex-style.el:
2544 * emacs-lisp/smie.el:
2547 * abbrev.el: Use lexical binding.
2549 2011-04-01 Eli Zaretskii <eliz@gnu.org>
2551 * info.el (info-display-manual): New function.
2553 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2557 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2559 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2560 an entry for that server in rcirc-authinfo. (Bug#8385)
2562 2011-03-31 Glenn Morris <rgm@gnu.org>
2564 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2566 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2568 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2570 * progmodes/python.el (python-default-interpreter)
2571 (python-python-command-args, python-jython-command-args)
2572 (python-which-shell, python-which-args, python-which-bufname)
2573 (python-file-queue, python-comint-output-filter-function)
2574 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2575 variables and functions.
2577 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2580 (completion-in-region-mode): New minor mode.
2581 (completion-in-region): Use it.
2582 (completion-in-region--data, completion-in-region-mode-map): New vars.
2583 (completion-in-region--postch): New function.
2584 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2586 (completion--capf-wrapper): New function.
2587 (completion-at-point): Use it to track well-behavedness of
2589 (completion-help-at-point): New command.
2591 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2593 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2594 syntax class to search for whitespace on a single line
2595 (Message-ID: <4D938140.4030905@redhat.com>).
2597 2011-03-30 Leo Liu <sdl.web@gmail.com>
2599 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2601 (edit-abbrevs-map): Bind them here.
2602 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2604 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2606 * allout.el (allout-hide-by-annotation, allout-flag-region):
2607 Reduce possibility of overlay leakage by making them volatile.
2609 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2610 hash is not shared between buffers. Mode initialization is
2611 responsible for giving it a useful starting value.
2612 (allout-item-span): Reduce possibility of overlay leakage by
2613 making them volatile.
2614 (allout-widgets-count-buttons-in-region): Add diagnostic function
2615 for tracking down button overlay leaks.
2617 2011-03-29 Leo Liu <sdl.web@gmail.com>
2619 * ido.el (ido-read-internal): Use the default history var
2620 minibuffer-history if no HISTORY is specified.
2622 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2624 * net/imap.el (imap-shell-open, imap-process-connection-type):
2625 Use imap-process-connection-type for 'shell' streams as well as
2626 Kerberos, SSL, other subprocesses.
2628 2011-03-28 Leo Liu <sdl.web@gmail.com>
2630 * abbrev.el (abbrev-table-empty-p): New function.
2631 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2632 nonempty ones. (Bug#5937)
2634 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2636 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2638 2011-03-27 Leo Liu <sdl.web@gmail.com>
2640 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2641 for foreground and background colors.
2642 (ansi-color-make-color-map): Adapt.
2644 2011-03-25 Leo Liu <sdl.web@gmail.com>
2646 * midnight.el (midnight-time-float): Remove. Note it calculates
2647 the microsecond component incorrectly and seconds-to-time does the
2649 Remove redundant (require 'timer).
2651 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2652 (ido-completions): Remove unused arguments. (Bug#8329)
2654 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * minibuffer.el (completion--flush-all-sorted-completions):
2657 Remove itself from hook.
2658 (completion-at-point): Let the functions perform the completion
2659 immediately and return nil or t.
2660 * comint.el (comint-dynamic-complete-functions): Now identical to
2661 completion-at-point-functions.
2662 (comint-dynamic-list-input-ring): Remove unused var `index'.
2663 (comint--match-partial-filename, comint--unquote&expand-filename):
2664 New funs, split from comint-match-partial-filename.
2665 (comint-dynamic-complete): Use completion-at-point.
2666 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2668 2011-03-24 Drew Adams <drew.adams@oracle.com>
2670 * thingatpt.el: Support `defun'.
2672 2011-03-23 Leo Liu <sdl.web@gmail.com>
2674 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2676 * help-mode.el (help-mode-finish): Tweak regexp.
2678 2011-03-23 Glenn Morris <rgm@gnu.org>
2680 * eshell/esh-opt.el (eshell-eval-using-options):
2681 Do not bind unused local variable `eshell-option-stub'.
2683 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2685 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2687 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2688 keymap variable in `with-no-warnings' to avoid a warning when the
2689 keymap has been already `defconst'ed.
2691 2011-03-22 Leo Liu <sdl.web@gmail.com>
2693 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2694 encode all chars in abbrevs; otherwise use emacs-mule or
2695 utf-8-emacs. (Bug#8308)
2697 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2699 * simple.el (backward-delete-char-untabify):
2700 Avoid warning about using `delete-backward-char'.
2702 * image.el (image-type-file-name-regexps): Make it variable.
2703 `imagemagick-register-types' modifies it, and the user may want
2704 to add new extensions for known image types.
2705 (imagemagick-register-types): Throw error if not using ImageMagick.
2707 2011-03-22 Leo Liu <sdl.web@gmail.com>
2709 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2710 located before rcirc-prompt-end-marker.
2711 (rcirc-complete): Error if point is not after rcirc prompt.
2712 Handle the case when table is nil.
2713 (rcirc-user-authenticated): Define to fix compiler warning.
2715 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2717 * custom.el (custom--inhibit-theme-enable): Make it affect only
2718 custom-theme-set-variables and custom-theme-set-faces.
2719 (provide-theme): Ignore custom--inhibit-theme-enable.
2720 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2721 (custom-enabling-themes): Delete variable.
2722 (enable-theme): Accept only loaded themes as arguments.
2723 Ignore the special custom-enabled-themes variable.
2724 (custom-enabled-themes): Forbid themes from setting this.
2725 Eliminate use of custom-enabling-themes.
2726 (custom-push-theme): Quote "changed" custom var entry.
2728 2011-03-21 Leo Liu <sdl.web@gmail.com>
2730 * ido.el (ido-read-internal): Add ido-selected to history instead
2733 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * subr.el (deferred-action-list, deferred-action-function):
2738 2011-03-21 Leo Liu <sdl.web@gmail.com>
2740 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2741 change on 2011-02-13 (bug#8309).
2743 * minibuffer.el (read-file-name-function): Change default value.
2744 (read-file-name--defaults): Rename from read-file-name-defaults.
2745 (read-file-name-default): Rename from read-file-name.
2746 (read-file-name): Call read-file-name-function.
2748 2011-03-21 Glenn Morris <rgm@gnu.org>
2750 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2753 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2755 * cus-theme.el: Add missing provide statement.
2756 (customize-create-theme): Extract theme value correctly.
2757 (custom-theme-visit-theme): Autoload.
2758 (customize-create-theme): Prompt before inserting default faces.
2760 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2762 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2763 units and musical notes.
2765 2011-03-20 Leo <sdl.web@gmail.com>
2767 * ido.el (ido-read-internal): Use completing-read-default.
2768 (ido-completing-read): Fix compatibility with completing-read.
2770 2011-03-20 Christian Ohler <ohler@gnu.org>
2772 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2773 (ert-delete-all-tests): Use `called-interactively-p' rather than
2775 (ert--make-xrefs-region): Respect END.
2777 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2779 * dired-aux.el (dired-create-directory): Signal an error if the
2780 directory already exists (Bug#8246).
2782 * facemenu.el (list-colors-display): Call list-faces-display
2783 inside with-help-window.
2784 (list-colors-print): Use display property to align the final
2785 column, instead of checking window-width.
2787 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2789 * emerge.el (emerge-metachars): Separate value for ms-dos and
2791 (emerge-protect-metachars): Quote correctly for ms-dos and
2794 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2796 * info.el (info-initialize): Replace all uses of `:' with
2797 path-separator for compatibility with non-Unix systems.
2798 Cache quoting of path-separator. (Bug#8258)
2800 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2802 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2803 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2804 (mouse-avoidance-mode): Fix typos in docstrings.
2806 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2808 * startup.el (package-subdirectory-regexp): Move from package.el.
2809 Omit \\` and \\', and let callers add them.
2811 * emacs-lisp/package.el (package-strip-version)
2812 (package-load-all-descriptors): Add \\` and \\' to
2813 package-subdirectory-regexp before using it.
2814 (package-untar-buffer): New arg DIR; ensure that file untars only
2815 into this expected directory. Remove superfluous delete-region.
2816 (package-unpack): Caller changed.
2817 (package-tar-file-info): Use package-subdirectory-regexp.
2819 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2821 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2822 diff-mode-shared-map (bug#8284).
2823 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2825 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2827 * calendar/time-date.el (format-seconds): Use assoc instead of
2828 assoc-string, since assoc-string doesn't exist in XEmacs.
2830 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2832 * custom.el (custom-known-themes): Reflow docstring.
2833 (custom-theme-load-path): Fix typo in docstring.
2834 (load-theme): Fix typo in error message.
2835 (custom-available-themes, custom-variable-theme-value):
2836 Use `let', not `let*'.
2838 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2840 * calc/README: Mention inclusion of musical notes.
2842 * calc/calc-units.el (calc-lu-quant): Rename from
2843 `calc-logunits-quantity'.
2844 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2845 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2846 (calc-db): Rename from `calc-dblevel'.
2847 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2848 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2849 (calc-np): Rename from `calc-nplevel'.
2850 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2851 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2852 (calc-lu-plus): Rename from `calc-logunits-add'.
2853 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2854 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2855 (calc-lu-minus): Rename from `calc-logunits-sub'.
2856 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2857 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2858 (calc-lu-times): Rename from `calc-logunits-mul'.
2859 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2860 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2861 (calc-lu-divide): Rename from `calc-logunits-div'.
2862 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2863 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2865 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2866 functions being autoloaded.
2868 * calc/calc.el (calc-lu-power-reference): Rename from
2869 `calc-logunits-power-reference'.
2870 (calc-lu-field-reference): Rename from
2871 `calc-logunits-field-reference'.
2873 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2875 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * minibuffer.el (completion-all-sorted-completions):
2878 Use :completion-cycle-penalty text property if present.
2880 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2882 * allout.el (allout-yank-processing): Adjust for new rebulleting
2883 regime so bullet being yanked is used without prompting the user
2886 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2888 * startup.el (command-line): Warn the user that _emacs is deprecated.
2890 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2892 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2893 (delphi-verbose, delphi-comment-face, delphi-string-face)
2894 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2895 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2896 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2897 (delphi-new-comment-line, delphi-font-lock-defaults)
2898 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2899 Fix typos in docstrings.
2901 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2903 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2904 Invert the roles of character and string values for INSTEAD, so a
2905 string is used for the more common case of a defaulting prompt.
2907 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2909 * progmodes/ruby-mode.el (ruby-backward-sexp):
2910 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2911 * play/gamegrid.el (gamegrid-make-face):
2912 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2913 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2914 * notifications.el (notifications-notify):
2915 * net/xesam.el (xesam-search-engines):
2916 * net/quickurl.el (quickurl-list-insert):
2917 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2919 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2921 * startup.el (command-line): Update package subdirectory regexp.
2923 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * allout.el (allout-abbreviate-flattened-numbering)
2926 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2928 * subr.el (read-char-choice): Only show the cursor after the prompt,
2929 not after the answer.
2931 2011-03-15 Kevin Ryde <user42@zip.com.au>
2933 * help-fns.el (variable-at-point): Skip leading quotes, if any
2936 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2938 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2941 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2943 * shell.el (shell): When called interactively, offer to change the
2944 shell file name on remote hosts.
2946 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2948 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2949 integration for LDAP parameters. The host, base, user or binddn,
2950 and secret tokens can be specified in a netrc file, for instance.
2951 This is optional because an `auth-source' parameter must be
2952 specified in the search attributes.
2954 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2956 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2958 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2961 into declaration. Remove redundant and harmful binding.
2963 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2965 * files.el (file-ownership-preserved-p): Pass `integer' as an
2966 explicit 2nd argument to `file-attributes'. If the file's owner
2967 is the Administrators group on Windows, and the current user is
2968 Administrator, consider that a match.
2970 * server.el (server-ensure-safe-dir): Consider server directory
2971 safe on MS-Windows if its owner is the Administrators group while
2972 the current Emacs user is Administrator. Use `=' to compare
2973 numerical UIDs, since they could be integers or floats.
2975 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2977 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2979 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2981 Sync with Tramp 2.2.1.
2983 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2985 * net/trampver.el: Update release number.
2987 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * progmodes/compile.el (compilation--previous-directory): Fix up
2990 various nil/dead-marker mismatches (bug#8014).
2991 (compilation-directory-properties, compilation-error-properties):
2992 Don't call it at a position past the one we're about to change.
2994 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2995 Disable obsolescence warnings in the file that declares it.
2997 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2999 * allout-widgets.el (allout-widgets-tally):
3000 Initialize allout-widgets-tally as a hash table rather than nil to
3001 prevent mode-line redisplay warnings. Also, clarify the module
3002 description and fix a comment typo.
3004 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
3006 * help-fns.el (describe-variable): Don't complete keywords.
3007 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
3009 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
3011 * emacs-lisp/package.el (package-version-join): Impose a standard
3012 string representation for pre/alpha/beta version lists.
3013 (package-unpack-single): Standardize the directory name by passing
3014 it through package-version-join.
3015 (package-strip-rcs-id): Accept any version string that does not
3016 signal an error in version-to-list.
3018 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
3020 * simple.el (delete-trailing-whitespace): Return nil for the
3021 benefit of `write-file-functions'.
3023 2011-03-10 Glenn Morris <rgm@gnu.org>
3025 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
3027 * vc/vc-git.el (vc-git-program): New option.
3028 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
3029 (vc-git--call): Use it.
3031 * eshell/esh-util.el (eshell-condition-case): Doc fix.
3033 * cus-edit.el (Custom-newline): If no button at point, look
3034 for a subgroup button at start-of-line. (Bug#2298)
3036 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
3038 2011-03-10 Julien Danjou <julien@danjou.info>
3040 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
3041 `cursor-type' is nil.
3043 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
3045 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
3047 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
3049 * allout.el Summary: Change so yank of distinctive-bullet items
3050 preserves the existing header prefix, rebulleting it if necessary,
3051 rather than replacing it. This is necessary for proper operation
3052 of cooperative addons like allout-widgets.
3053 (allout-make-topic-prefix, allout-rebullet-heading): Change
3054 SOLICIT arg to INSTEAD, and interpret additionally a string value
3055 as alternate bullet to be used, instead of prompting the user for
3058 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
3060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3061 Do not use `tramp-file-name-port', because this returns also
3062 `tramp-default-port'.
3064 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3066 * net/rcirc.el (rcirc-handler-001): Remove useless
3067 with-rcirc-process-buffer.
3068 (rcirc-check-auth-status): Swap arguments to string-match.
3070 2011-03-09 Glenn Morris <rgm@gnu.org>
3072 * shell.el (shell-mode):
3073 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
3075 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
3076 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
3078 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3080 * emacs-lisp/package.el (package-refresh-contents)
3081 (package-menu-execute): Use condition-case-no-debug.
3083 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3085 * simple.el (shell-command-to-string): Use `process-file'.
3087 * emacs-lisp/package.el (package-tar-file-info): Handle also
3090 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3091 Use `equal' for upload base check.
3093 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3095 * textmodes/texinfo.el (texinfo-environments):
3096 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3098 2011-03-08 Glenn Morris <rgm@gnu.org>
3100 * cus-start.el (cursor-in-non-selected-windows):
3101 Fix :set quoting oddness. (Bug#8192)
3103 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3104 in some setf expressions. (Bug#2159)
3106 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3108 * custom.el (custom-available-themes): Return themes in
3111 See ChangeLog.15 for earlier changes.
3117 Copyright (C) 2011 Free Software Foundation, Inc.
3119 This file is part of GNU Emacs.
3121 GNU Emacs is free software: you can redistribute it and/or modify
3122 it under the terms of the GNU General Public License as published by
3123 the Free Software Foundation, either version 3 of the License, or
3124 (at your option) any later version.
3126 GNU Emacs is distributed in the hope that it will be useful,
3127 but WITHOUT ANY WARRANTY; without even the implied warranty of
3128 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3129 GNU General Public License for more details.
3131 You should have received a copy of the GNU General Public License
3132 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.