1 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
7 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
8 (hs-hide-block-at-point, hs-find-block-beginning)
9 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12 2011-05-28 Glenn Morris <rgm@gnu.org>
14 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18 * help-fns.el (describe-function-1): If the function is a derived
19 major mode, print the parent mode.
21 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
26 * minibuffer.el (completion--capf-wrapper): Check applicability before
27 retuning non-nil for non-exclusive completion data.
28 * progmodes/etags.el (tags-completion-at-point-function):
29 * info-look.el (info-lookup-completions-at-point): Mark as
31 (info-complete): Adjust accordingly.
33 * info-look.el: Convert to lexical-binding and completion-at-point.
34 (info-lookup-completions-at-point): New function.
35 (info-complete): Use it and completion-in-region.
37 2011-05-28 Drew Adams <drew.adams@oracle.com>
39 * isearch.el: Let M-e start with point at the first mismatched char.
40 (isearch-fail-pos): New function.
41 (isearch-edit-string): Use it.
43 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
45 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
47 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
49 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
50 traversal functions for avl-trees.
51 (avl-tree--stack): New struct.
52 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
53 (avl-tree-enter): Add optional `updatefun' arg.
54 (avl-tree--do-enter): Add optional `updatefun' arg.
56 (avl-tree-delete): Add optional `test' and `nilflag' args.
57 (avl-tree--do-delete): Add `test' and `nilflag' args.
59 (avl-tree-member): Add optional `nilflag'
60 (avl-tree-member-p): New function.
61 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
62 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
63 (avl-tree-stack-empty-p): New functions.
65 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
67 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
68 avl-tree--del-balance1 and make it work both ways.
69 (avl-tree--del-balance2): Remove.
70 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
71 make it work both ways.
72 (avl-tree--enter-balance2): Remove.
73 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
75 (avl-tree--mapc, avl-tree-map): Add direction argument.
77 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
79 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
81 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
83 * select.el: Support clipboard managers with built-in function
84 x-clipboard-manager-save, via delete-frame-functions and
86 (xselect-convert-to-targets): Add MULTIPLE target to list.
87 (xselect-convert-to-save-targets): New function.
89 2011-05-27 Kenichi Handa <handa@m17n.org>
91 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
92 let-binding rfc2047-encode-encoded-words to nil.
94 2011-05-27 Glenn Morris <rgm@gnu.org>
96 * mail/emacsbug.el: Don't require url-util.
98 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
100 * files.el (set-auto-mode):
101 Also respect mode: entries at the end of the file. (Bug#8586)
103 2011-05-26 Glenn Morris <rgm@gnu.org>
105 * files.el (hack-local-variables-prop-line, hack-local-variables):
106 Downcase mode names, as seems to be traditional.
107 (hack-local-variables, hack-local-variables-apply): Doc fixes.
109 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
110 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
112 2011-05-25 Julien Danjou <julien@danjou.info>
114 * textmodes/rst.el (rst-define-level-faces): Do not define face
115 symbol if it is already defined.
117 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
119 * play/5x5.el (5x5-new-game, 5x5-randomize):
120 Reset 5x5-solver-output to nil when a new grid is cast.
121 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
122 these debugging traces, as defmacro breaks the compiled code.
124 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
126 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
128 2011-05-24 Leo Liu <sdl.web@gmail.com>
130 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
131 (vc-bzr-sha1): Adapt.
133 * sha1.el: Remove. Function `sha1' is now builtin.
135 * bindings.el: Provide sha1 feature.
137 2011-05-24 Kenichi Handa <handa@m17n.org>
139 * mail/sendmail.el: Require `rfc2047'.
140 (mail-insert-from-field): Do not perform RFC2047 encoding.
141 (mail-encode-header): New function.
142 (sendmail-send-it): Set buffer-file-coding-system of the work
143 buffer to the return value of select-message-coding-system.
144 Call mail-encode-header.
146 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
148 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
150 * mail/supercite.el (sc-default-cite-frame):
151 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
153 2011-05-24 Glenn Morris <rgm@gnu.org>
155 * progmodes/python.el (brm-menu): Declare.
157 * emulation/viper.el (viper-set-hooks): Declare.
159 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
160 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
161 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
162 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
163 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
164 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
166 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
168 Add an :exit-function for completion-at-point.
170 * minibuffer.el (completion--done): New fun.
171 (completion--do-completion): Use it. New arg `expect-exact'.
172 (minibuffer-complete, minibuffer-complete-word): Don't output message,
173 since completion--do-completion does it for us now.
174 (minibuffer-force-complete): Use completion--done and
175 completion--replace. Handle sole-completion case with more care.
176 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
177 (completion-extra-properties): New var.
178 (completion-annotate-function): Make obsolete.
179 (minibuffer-completion-help): Adjust accordingly.
180 Use completion-list-insert-choice-function.
181 (completion-at-point, completion-help-at-point):
182 Bind completion-extra-properties.
183 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
184 * simple.el (completion-list-insert-choice-function): New var.
185 (completion-setup-function): Preserve it.
186 (choose-completion): Pay attention to it, shuffle the code a bit.
187 (choose-completion-string): New arg `insert-function'.
189 * textmodes/bibtex.el: Convert to lexical binding.
190 (bibtex-mode-map): Use completion-at-point.
191 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
192 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
193 (bibtex-complete): Define as obsolete alias.
194 (bibtex-complete-internal): Remove.
195 (bibtex-format-entry): Remove unused sub-group in regexp.
196 * shell.el (shell--command-completion-data)
197 (shell-environment-variable-completion):
198 * pcomplete.el (pcomplete-completions-at-point):
199 * comint.el (comint--complete-file-name-data): Use :exit-function
200 instead of completion-table-with-terminator so it also works for
203 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
205 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
207 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
210 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
212 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
214 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
215 customization variable and implement: If non-nil, auto-fill will
216 be inhibited while on topic's header line.
218 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
220 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
221 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
222 always have a solution in grid size = 5 cases.
223 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
224 (5x5-solver-output, 5x5-log-buffer): New vars.
225 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
226 Make these variables buffer local to achieve 5x5 multi-session-ness.
227 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
228 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
229 (5x5-solve-suggest): New funs.
230 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
231 randomize a grid so that we ensure that there is always a solution.
232 (5x5-make-random-grid): Allow other movement than flipping.
234 2011-05-23 Kevin Ryde <user42@zip.com.au>
236 * emacs-lisp/advice.el (ad-read-advised-function):
237 Use `function-called-at-point' as the default default, if it has
238 advice and passes PREDICATE.
240 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
242 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
243 byte-compile-lambda if it's actually a lambda.
245 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
246 Fix function quoting. Use backquote better.
248 2011-05-22 Yuanle Song <sylecn@gmail.com>
250 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
253 2011-01-22 Jari Aalto <jari.aalto@cante.net>
255 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
256 different face (Bug#8178).
258 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
260 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
263 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
265 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
266 funcall as well (bug#8712). Warn when performing those conversions.
267 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
269 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
271 2011-05-22 Glenn Morris <rgm@gnu.org>
273 * files.el (hack-local-variables-prop-line): Small simplifications.
274 (hack-local-variables, hack-local-variables-prop-line):
275 If MODE-ONLY, return the mode, rather than just `t'.
277 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
279 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
281 2011-05-21 Glenn Morris <rgm@gnu.org>
283 * files.el (hack-local-variables-prop-line, hack-local-variables):
284 If only interested in the mode, don't bother doing the other stuff.
286 * image-mode.el (image-after-revert-hook):
287 Redraw all frames on which the image is visible. (Bug#8567)
289 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
291 * wid-edit.el (widget-checklist-match-inline):
292 Fix 2011-04-19 change. (Bug#8649)
294 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
296 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
297 Also allow singlespace after single-letter capitals followed by a dot.
299 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
300 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
302 2011-05-20 Nix <nix@esperi.org.uk>
304 * files.el (basic-save-buffer-2):
305 Fix handling of break-hardlink-on-save with non-existent files.
307 2011-05-19 Deniz Dogan <deniz@dogan.se>
309 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
310 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
312 2011-05-19 Glenn Morris <rgm@gnu.org>
314 * progmodes/f90.el (f90-type-def-re):
315 Handle "type, bind(c)". (Bug#8691)
317 * emacs-lisp/autoload.el (batch-update-autoloads):
318 Set autoload-excludes by parsing loadup.el rather than Makefiles.
320 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
322 * net/tramp.el (tramp-process-actions): Set "first-password-request"
323 property for the correct connection in case of multihops.
325 2011-05-18 Glenn Morris <rgm@gnu.org>
327 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
328 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
330 Rationalize calendar handling of day and month abbrev-arrays.
331 * calendar/calendar.el (calendar-customized-p): New function.
332 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
333 (calendar-day-name-array, calendar-month-name-array): Doc fix.
335 (calendar-abbrev-length, calendar-day-abbrev-array)
336 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
337 (calendar-day-abbrev-array, calendar-month-abbrev-array):
338 Elements may no longer be nil.
339 (calendar-day-name, calendar-month-name):
340 Update for changed nature of abbrev arrays.
341 * calendar/diary-lib.el (diary-name-pattern):
342 Update for changed nature of abbrev arrays.
343 (diary-mark-entries-1): Update calendar-make-alist calls.
344 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
345 * calendar/cal-html.el (cal-html-day-abbrev-array):
346 Simply inherit from calendar-day-abbrev-array.
348 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
350 * progmodes/grep.el (grep-mode): Disable default
351 compilation-directory-matcher setting (bug#8684).
353 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
355 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
356 instead of "head" and "tail". There were problems with SunOS 5.9,
357 and it performs better.
359 2011-05-17 Glenn Morris <rgm@gnu.org>
361 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
363 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
364 Replace obsolete function.
366 * shell.el (pcomplete-parse-arguments-function): Declare.
368 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
369 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
370 (appt-check): Doc fixes.
371 (appt-disp-window-function, appt-delete-window-function):
372 Remove needless special case in custom :type.
373 (appt-display-count): Default to 0, not nil.
374 (appt-check): Reset appt-display-count to 0, not nil.
376 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
378 * progmodes/python.el (python-font-lock-keywords):
379 Add the Python 3.X keyword "nonlocal" (bug#8639).
381 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
385 2011-05-16 Kevin Ryde <user42@zip.com.au>
387 * info-look.el (makefile-automake-mode): New setups, looking in
388 automake manual, then makefile-mode.
389 (makefile-mode): Remove automake manual, have it just in
390 makefile-automake-mode since there's various things different or
391 not relevant to plain make.
392 (makefile-mode): Remove "other-modes" non-existent automake-mode,
393 believe a hypothetical automake-mode would go to makefile-mode,
394 not the other way around.
396 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
398 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
399 hunk-end tags (Bug#8672).
401 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
402 vc-annotate-show-diff-revision-at-line (Bug#8671).
404 2011-05-14 Glenn Morris <rgm@gnu.org>
406 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
407 in the middle of an existing one with multiple authors. (Bug#8645)
408 (change-log-font-lock-keywords): Also handle multiple author lines
409 with leading tabs. (Bug#8644)
411 * calendar/appt.el (appt-check): Rename some local variables.
412 Some simplification/reordering.
414 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
415 (feedmail-sendmail-f-doesnt-sell-me-out)
416 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
417 (feedmail-debug-sit-for, feedmail-queue-express-hook)
418 (feedmail-queue-runner-message-sender): Set :version.
419 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
420 (bbdb-dwim-net-address, vm-mail): Declare.
421 (feedmail-binmail-gnulinuxish-template):
422 Rename from feedmail-binmail-linuxish-template.
423 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
424 Use insert-buffer-substring.
426 2011-05-14 Bill Carpenter <bill@carpenter.org>
428 * mail/feedmail.el (feedmail-patch-level): Increase.
429 (feedmail-debug): New custom group.
430 (feedmail-confirm-outgoing-timeout)
431 (feedmail-sendmail-f-doesnt-sell-me-out)
432 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
433 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
434 (feedmail-sender-line, feedmail-from-line)
435 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
436 (feedmail-spray-this-address)
437 (feedmail-spray-address-fiddle-plex-list)
438 (feedmail-queue-use-send-time-for-date)
439 (feedmail-queue-use-send-time-for-message-id)
440 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
441 (feedmail-buffer-eating-function):
443 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
444 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
445 (feedmail-message-action-scroll-down): New functions.
446 (feedmail-queue-directory, feedmail-queue-draft-directory):
447 Use expand-file-name.
448 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
449 Remove C-v help entry.
450 (feedmail-queue-buffer-file-name): New variable.
451 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
452 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
453 (feedmail-message-action-send-strong, feedmail-message-action-edit)
454 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
455 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
456 (feedmail-message-action-toggle-spray)
457 (feedmail-run-the-queue-no-prompts)
458 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
459 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
460 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
461 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
462 (feedmail-envelope-deducer, feedmail-fiddle-from)
463 (feedmail-fiddle-sender, feedmail-default-date-generator)
464 (feedmail-fiddle-date, feedmail-fiddle-message-id)
465 (feedmail-fiddle-spray-address)
466 (feedmail-fiddle-list-of-spray-fiddle-plexes)
467 (feedmail-fiddle-list-of-fiddle-plexes)
468 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
469 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
470 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
471 Change default. Doc fix.
472 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
473 (feedmail-binmail-linuxish-template): New constant.
474 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
475 Respect feedmail-sendmail-f-doesnt-sell-me-out.
476 (feedmail-send-it): Add debug call.
477 Use feedmail-queue-buffer-file-name, and
478 feedmail-send-it-immediately-wrapper.
479 (feedmail-message-action-send): Add debug call.
480 Use feedmail-send-it-immediately-wrapper.
481 (feedmail-queue-express-to-queue): Add debug call.
482 Run feedmail-queue-express-hook.
483 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
484 (feedmail-message-action-help-blat):
485 Rename from feedmail-queue-send-edit-prompt-help-first.
486 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
487 Check line-endings. Handle errors better.
488 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
489 Doc fix. Add debug call.
490 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
491 Use feedmail-queue-send-edit-prompt-inner.
492 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
493 (feedmail-queue-send-edit-prompt-inner): New function, extracted
494 from feedmail-queue-send-edit-prompt.
495 (feedmail-queue-send-edit-prompt-help)
496 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
497 (feedmail-tidy-up-slug): Add debug call.
498 Respect feedmail-queue-slug-suspect-regexp.
499 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
500 (feedmail-dump-message-to-queue): Add debug call.
501 Expand queue-directory.
502 (feedmail-dump-message-to-queue): Change message slightly.
503 Use feedmail-say-chatter.
504 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
505 (feedmail-send-it-immediately-wrapper): New function.
506 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
507 Insert empty string rather than newline. Handle full-frame case.
508 Use catch/throw. Use feedmail-say-chatter.
509 (feedmail-fiddle-from): Try mail-host-address.
510 (feedmail-default-message-id-generator): Doc fix.
511 Bind system-time-locale. Handle missing end.
512 (feedmail-fiddle-x-mailer): Add debug call.
513 Handle feedmail-x-mailer-line being nil.
514 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
515 Add debug call. Use buffer-substring-no-properties.
516 (feedmail-say-debug, feedmail-say-chatter): New functions.
517 (feedmail-find-eoh): Give an explicit error.
519 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
521 * net/newst-treeview.el (newsticker-treeview-face): Change default
522 family from helvetica to sans.
523 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
524 etc/images/newsticker.
526 * net/newst-reader.el (newsticker-feed-face): Change default
527 family from helvetica to sans.
529 * net/newst-plainview.el (newsticker-new-item-face)
530 (newsticker-old-item-face, newsticker-immortal-item-face)
531 (newsticker-obsolete-item-face, newsticker-date-face)
532 (newsticker-statistics-face): Change default family from
534 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
535 etc/images/newsticker.
537 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
538 (newsticker--process-auto-mark-filter-match): : Tell user about
541 2011-05-13 Didier Verna <didier@xemacs.org>
543 Common Lisp indentation improvements on defmethod and lambda-lists.
544 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
545 (lisp-lambda-list-keyword-parameter-indentation)
546 (lisp-lambda-list-keyword-parameter-alignment)
547 (lisp-lambda-list-keyword-alignment): New customizable user options.
548 (lisp-indent-defun-method): Improve docstring.
549 (extended-loop-p): Fix comment.
550 (lisp-indent-lambda-list-keywords-regexp): New variable.
551 (lisp-indent-lambda-list): New function.
552 (lisp-indent-259): Use it.
553 (lisp-indent-defmethod): Support for more than one
554 method qualifier and properly indent methods lambda-lists.
555 (defgeneric): Provide a missing common-lisp-indent-function property.
557 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
559 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
560 bounds for the empty string (bug#8667).
562 2011-05-13 Glenn Morris <rgm@gnu.org>
564 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
566 * mail/sendmail.el (sendmail-program): Try executable-find first.
567 (sendmail-send-it): `sendmail-program' cannot be unbound.
569 * calendar/appt.el (appt-make-list): Simplify.
570 (appt-time-msg-list): Doc fix.
571 (appt-check): Change mode-line message at the time of the appointment.
573 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
575 * progmodes/ld-script.el (ld-script-keywords)
576 (ld-script-builtins): Update keywords list.
578 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
580 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
582 * shell.el (shell-completion-vars): New function.
584 * simple.el (read-shell-command): Use it.
585 (blink-matching-open): No need for " [...]" in minibuffer-message.
587 2011-05-12 Glenn Morris <rgm@gnu.org>
589 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
590 (appt-check): Simplify.
592 2011-05-12 Eli Zaretskii <eliz@gnu.org>
594 * smerge-mode.el (smerge-resolve): Use null-device rather than a
597 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
599 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
602 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
604 * progmodes/which-func.el (which-function):
605 Use add-log-current-defun instead of add-log-current-defun-function,
606 which might not be defined (Bug#8260).
608 2011-05-12 Glenn Morris <rgm@gnu.org>
610 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
611 Let byte-compile-initial-macro-environment always take precedence.
613 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
615 * net/rcirc.el: Add support for SSL/TLS connections.
616 (rcirc-server-alist): New field `encryption'.
617 (rcirc): Check `encryption' settings.
618 (rcirc-connect): New arg `encryption'. Use open-network-stream.
619 Merge make-local-variable into `set'.
620 (rcirc--connection-open-p): New function.
621 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
622 the process is not a network process (e.g. running gnutls-cli).
623 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
624 Make rcirc-(en|de)code-coding-system local here.
625 (rcirc-mode): Merge make-local-variable into `set'.
626 (rcirc-parent-buffer): Make permanent buffer-local.
627 (rcirc-multiline-minor-mode): Don't do it here.
628 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
629 there's no server buffer.
631 2011-05-11 Glenn Morris <rgm@gnu.org>
633 * newcomment.el (comment-kill): Prefix "unused" local.
635 * term/w32console.el (get-screen-color): Declare.
637 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
638 Handle symbol elements of byte-compile-initial-macro-environment.
640 2011-05-10 Leo Liu <sdl.web@gmail.com>
642 * bookmark.el (bookmark-bmenu-mode-map):
643 Bind bookmark-bmenu-search to `/'.
645 * mail/footnote.el: Convert to utf-8 encoding.
646 (footnote-unicode-string, footnote-unicode-regexp): New variable.
647 (Footnote-unicode): New function.
648 (footnote-style-alist): Add unicode style to the list.
649 (footnote-style): Doc fix.
651 2011-05-10 Jim Meyering <meyering@redhat.com>
653 Fix doubled-word typos.
654 * international/quail.el (quail-insert-kbd-layout): and and -> and
655 * kermit.el: and and -> and
656 * net/ldap.el (ldap-search-internal): to to -> to
657 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
658 * progmodes/js.el (js-mode): and and -> and
659 * textmodes/artist.el (artist-move-to-xy): at at -> at
660 (artist-draw-region-trim-line-endings): if if -> if
661 And Safetyc -> Safety.
662 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
664 2011-05-10 Glenn Morris <rgm@gnu.org>
665 Stefan Monnier <monnier@iro.umontreal.ca>
667 * files.el (hack-one-local-variable-eval-safep):
668 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
670 2011-05-10 Glenn Morris <rgm@gnu.org>
672 * calendar/diary-lib.el (diary-list-entries-hook)
673 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
674 (diary-nongregorian-marking-hook, diary-list-entries)
675 (diary-include-other-diary-files, diary-mark-entries)
676 (diary-mark-included-diary-files): Doc fixes.
678 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
680 * misc.el: Require tabulated-list.el during compilation.
682 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
684 * progmodes/compile.el (compilation-start):
685 Run compilation-filter-hook for the async case too.
686 (compilation-filter-hook): Doc fix.
688 2011-05-09 Deniz Dogan <deniz@dogan.se>
690 * wdired.el: Remove outdated installation comment. Fix usage
693 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
695 * misc.el: Implement new command `list-dynamic-libraries'.
696 (list-dynamic-libraries--loaded-only-p): New variable.
697 (list-dynamic-libraries--refresh): New function.
698 (list-dynamic-libraries): New command.
700 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
703 Fix the ant regexp to handle end-line and end-column info from jikes.
704 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
705 higher priority to avoid clobbering by gnu.
707 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
709 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
710 if the face has existing theme settings (Bug#8454).
712 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
714 * progmodes/perl-mode.el (perl-imenu-generic-expression):
715 Only match variables declared via `my' or `our' (Bug#8261).
717 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
718 special file names `.' and `..' (Bug#8259).
720 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
722 * progmodes/grep.el (grep-mode-font-lock-keywords):
723 Remove buffer-changing entries.
724 (grep-filter): New function.
725 (grep-mode): Add it to compilation-filter-hook.
727 * progmodes/compile.el (compilation-filter-hook)
728 (compilation-filter-start): New defvars.
729 (compilation-filter): Call compilation-filter-hook prior to
730 updating the process mark.
732 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
734 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
736 2011-05-07 Eli Zaretskii <eliz@gnu.org>
738 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
739 mailclient-send-it even if window-system is nil. (Bug#8595)
741 * term/w32console.el (terminal-init-w32console):
742 Call get-screen-color and use its output to set the frame
743 background-mode. (Bug#8597)
745 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
747 Make bytecomp.el understand that defmethod defines funs (bug#8631).
748 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
750 (defgeneric, eieio--defmethod): Use them.
751 (eieio-defgeneric): Remove.
752 (defmethod): Call defgeneric in a way visible to the byte-compiler.
754 2011-05-07 Glenn Morris <rgm@gnu.org>
756 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
757 Use let rather than let*.
758 (timeclock-find-discrep): Remove unused local.
760 * calendar/diary-lib.el (diary-comment-start): Doc fix.
762 * calendar/appt.el (appt-time-msg-list): Doc fix.
764 2011-05-06 Noah Friedman <friedman@splode.com>
766 * apropos.el (apropos-print-doc): Only use
767 emacs-lisp-docstring-fill-column when it is bound to an integer,
768 per that variable's documentation.
770 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
772 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
773 and warnings are not silently discarded (e.g. use -d instead of -P).
775 2011-05-06 Glenn Morris <rgm@gnu.org>
777 * calendar/appt.el (appt-message-warning-time): Doc fix.
778 (appt-warning-time-regexp): New option.
779 (appt-make-list): Respect appt-message-warning-time.
781 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
783 (diary-add-to-list): Strip comments from the displayed string.
784 (diary-mode): Set comment-start and comment-end.
786 * vc/diff-mode.el (smerge-refine-subst): Declare.
787 (diff-refine-hunk): Don't require smerge-mode when compiling.
789 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
791 * simple.el (list-processes): Return nil as the docstring says.
793 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
795 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
797 (ange-ftp-write-region, ange-ftp-insert-file-contents)
798 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
799 determining of binary transfer. (Bug#7383)
801 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
803 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
804 Fix port computation bug. (Bug#8618)
806 2011-05-05 Glenn Morris <rgm@gnu.org>
808 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
810 * simple.el (shell-dynamic-complete-functions)
811 (comint-dynamic-complete-functions): Declare.
813 * net/network-stream.el (gnutls-negotiate):
814 * simple.el (tabulated-list-print): Fix declarations.
816 * progmodes/gud.el (syntax-symbol, syntax-point):
817 Remove unnecessary and incorrect declarations.
819 * emacs-lisp/check-declare.el (check-declare-scan):
820 Handle byte-compile-initial-macro-environment in bytecomp.el
822 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
824 Fix earlier half-done eieio-defmethod change (bug#8338).
825 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
826 Streamline and change calling convention.
827 (defmethod): Adjust accordingly and simplify.
828 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
829 new eieio--defmethod.
830 (slot-boundp): Minor CSE simplification.
832 2011-05-05 Milan Zamazal <pdm@zamazal.org>
834 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
835 (glasses-make-readable): Use glasses-separate-capital-groups.
837 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
839 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
840 (warning-series): Doc fix.
841 (display-warning): Don't try to create the buffer if we just found it.
843 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
845 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
846 (autoload-find-generated-file): New function.
847 (generate-file-autoloads): Bind generated-autoload-file to
849 (update-file-autoloads, update-directory-autoloads):
850 Use autoload-find-generated-file. If called interactively, prompt for
851 output file (Bug#7989).
852 (batch-update-autoloads): Doc fix.
854 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
856 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
858 2011-05-04 Glenn Morris <rgm@gnu.org>
860 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
861 function, so it follows changes in calendar-date-style.
862 (diary-fancy-date-matcher): New function.
863 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
864 (diary-fancy-font-lock-fontify-region-function):
865 Use diary-fancy-date-pattern as a function.
867 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
868 non-numbers for `year' etc pseudo-variables. (Bug#8583)
870 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
872 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
873 instead of positional arguments. Allow :keylist and :crlfiles
875 (open-gnutls-stream): Call it.
877 * net/network-stream.el (network-stream-open-starttls): Adjust to
878 call `gnutls-negotiate' with :process and :hostname arguments.
880 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
882 * minibuffer.el (completion--message): New function.
883 (completion--do-completion, minibuffer-complete)
884 (minibuffer-force-complete, minibuffer-complete-word): Use it.
885 (completion--do-completion): Don't ignore completion-auto-help when in
888 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
889 internal encoding (e.g. tibetan zero is not whitespace).
890 (global-whitespace-mode): Prefer save-current-buffer.
891 (whitespace-trailing-regexp): Remove useless save-match-data.
892 (whitespace-empty-at-bob-regexp): Minor simplification.
894 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
896 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
898 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
900 * textmodes/ispell.el (ispell-add-per-file-word-list):
901 Use `concat' to create string for insertion.
903 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
905 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
906 Avoid open-line which runs post-self-insert-hook.
907 (bibtex-fill-entry): Remove unused `end' var.
909 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
911 * textmodes/ispell.el (ispell-add-per-file-word-list):
912 Protect against `nil' value of `comment-start' (Bug#8579).
914 2011-05-03 Leo Liu <sdl.web@gmail.com>
916 * isearch.el (isearch-yank-pop): New command.
917 (isearch-mode-map): Bind it to `M-y'.
918 (isearch-forward): Mention it.
920 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
922 * simple.el (minibuffer-complete-shell-command): Remove.
923 (minibuffer-local-shell-command-map): Use completion-at-point.
924 (read-shell-command): Setup completion vars here instead.
925 (read-expression-map): Bind TAB to symbol completion.
927 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
928 error directly rather via storing it into `results'.
930 2011-05-02 Leo Liu <sdl.web@gmail.com>
932 * vc/diff.el: Fix description.
934 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
936 * server.el (server-eval-at): New function.
938 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
940 * net/network-stream.el (open-network-stream): Take a :nowait
941 parameter and pass it on to `make-network-process'.
942 (network-stream-open-plain): Ditto.
944 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
946 * faces.el (face-spec-set-match-display): Don't match toolkit
947 options on terminal frames.
949 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
951 * progmodes/pascal.el: Use lexical binding.
952 (pascal-mode-map): Remove author preferences.
954 * pcomplete.el (pcomplete-std-complete): Don't abuse
957 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
959 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
960 removing code that has been dead since 1991 or so.
962 * startup.el (command-line): When warning about "_emacs", use a
963 delayed warning to allow the user to filter it out.
965 2011-04-28 Deniz Dogan <deniz@dogan.se>
967 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
970 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
972 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
973 aren't any completions at point.
975 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
977 * subr.el (display-delayed-warnings): New function.
978 (delayed-warnings-hook): New variable.
980 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
982 * minibuffer.el (completion-at-point, completion-help-at-point):
983 Don't presume that a given completion-at-point-function will always
984 use the same calling convention.
986 * pcomplete.el (pcomplete-completions-at-point):
987 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
988 pcomplete-seen is non-nil.
989 (pcomplete-comint-setup): Also recognize the new comint/shell
990 completion functions.
991 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
992 pcomplete-seen is non-nil.
994 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
996 * calendar/icalendar.el (diary-lib): Add require statement.
997 (icalendar--create-uid): Read out a uid from a text-property on
998 the first character in the entry. This allows for code to add its
999 own uid to the entry.
1000 (icalendar--convert-float-to-ical): Add export of
1001 `diary-float'-entries save for those with the optional DAY
1004 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
1006 * subr.el (shell-quote-argument): Use alternate escaping strategy
1007 when we spot a variable reference in a string.
1009 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1011 * cus-start.el (all): Define customization for debug-on-event.
1013 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
1015 * subr.el (shell-quote-argument): Escape correctly under Windows.
1017 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1019 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
1021 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
1023 * net/tramp.el (tramp-process-actions): Add POS argument.
1024 Delete region between POS and (pos).
1026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1027 Use `nil' position in `tramp-process-actions' call.
1028 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
1030 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
1031 position in `tramp-process-actions' call.
1033 * net/trampver.el: Update release number.
1035 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1037 * custom.el (defcustom): Obey lexical-binding.
1039 Fix octave-inf completion problems reported by Alexander Klimov.
1040 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
1041 Inherit from octave-mode-syntax-table.
1042 (inferior-octave-mode): Set info-lookup-mode.
1043 (inferior-octave-completion-at-point): New function.
1044 (inferior-octave-complete): Use it and completion-in-region.
1045 (inferior-octave-dynamic-complete-functions): Use it as well, and use
1046 comint-filename-completion.
1047 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
1048 symbol elements which shouldn't be word elements.
1049 (octave-font-lock-keywords, octave-beginning-of-defun)
1050 (octave-function-header-regexp): Adjust regexps accordingly.
1051 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
1053 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
1055 * net/gnutls.el (gnutls-errorp): Declare before first use.
1057 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
1059 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
1060 verify-error, and verify-hostname-error parameters. Check whether
1061 default trustfile exists before going to use it. Add missing
1062 argument to gnutls-message-maybe call. Return return value.
1063 Reported by Claudio Bley <claudio.bley@gmail.com>.
1064 (open-gnutls-stream): Add usage example.
1066 * net/network-stream.el (network-stream-open-starttls): Give host
1067 parameter to `gnutls-negotiate'.
1068 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
1069 * subr.el (shell-quote-argument): Escape correctly under Windows.
1071 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
1073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1074 Use correct match group (bug#8438).
1076 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1078 * emacs-lisp/package.el (package-built-in-p): Fix typo.
1079 (package-menu--generate): New arg specifying packages to show.
1080 (package-menu-refresh, package-menu-execute, list-packages):
1082 (package-show-package-list): New function, replacing deleted
1083 package--list-packages (renamed because it is non-internal).
1085 * finder.el (finder-list-matches): Use package-show-package-list
1086 instead of deleted package--list-packages.
1088 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
1089 Based on a previous implementation by Juanma Barranquero (Bug#8366).
1090 (vc-annotate-mode-map): Bind it to RET.
1092 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
1094 * progmodes/etags.el (next-file): Don't use set-buffer to change
1097 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
1099 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
1101 * apropos.el (apropos-label-face): Avoid variable-pitch face.
1102 (apropos-accumulator): Doc fix.
1103 (apropos-function, apropos-macro, apropos-command)
1104 (apropos-variable, apropos-face, apropos-group, apropos-widget)
1105 (apropos-plist): Add face property.
1106 (apropos-symbols-internal): Fix indentation.
1107 (apropos-print): Simplify help, and recognize apropos-multi-type.
1108 (apropos-print-doc): Use button-type-get to extract the button's
1109 face property. Fill docstring (Bug#8352).
1111 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
1113 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
1115 * play/mpuz.el (mpuz-silent): Doc fix.
1116 (mpuz-mode-map): Use mapc.
1117 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
1118 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
1119 Fix typos in docstrings.
1121 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
1122 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
1124 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
1126 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
1128 * minibuffer.el (completion--do-completion): Avoid the "Next char
1129 not unique" prompt if icomplete-mode is enabled (Bug#5849).
1131 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
1132 mouse-2 into unread-command-events, it is interpreted correctly.
1134 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
1135 (image-toggle-display): Doc fix.
1137 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
1139 * textmodes/page.el (what-page): Use line-number-at-pos to
1140 calculate line number (Bug#6825).
1142 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1144 * eshell/esh-mode.el (find-tag-interactive): Declare function.
1145 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
1146 Pass argument NO-DEFAULT to `find-tag-interactive'.
1148 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
1150 Lexical-binding cleanup.
1152 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
1153 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
1154 * progmodes/ada-prj.el (ada-prj-initialize-values)
1155 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
1156 (ada-prj-show-value):
1157 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
1158 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
1159 (antlr-invalidate-context-cache, antlr-options-menu-filter)
1160 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
1161 * progmodes/bug-reference.el (bug-reference-push-button):
1162 * progmodes/fortran.el (fortran-line-length):
1163 * progmodes/glasses.el (glasses-change):
1164 * progmodes/octave-mod.el (octave-fill-paragraph):
1165 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
1166 (python-pdbtrack-grub-for-buffer, python-sentinel):
1167 * progmodes/sql.el (sql-save-connection):
1168 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
1169 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
1170 Mark unused parameters.
1172 * progmodes/compile.el (compilation--flush-directory-cache)
1173 (compilation--flush-parse, compile-internal): Mark unused parameters.
1174 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
1175 (compilation-next-error-function): Remove unused variable `timestamp'.
1177 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
1178 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
1180 * progmodes/dcl-mode.el (dcl-end-of-command):
1181 Remove unused variable `start'.
1182 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
1183 (dcl-option-value-basic, dcl-option-value-offset)
1184 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
1185 Mark unused parameters.
1186 (dcl-save-local-variable): Remove unused variable `val'.
1189 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
1190 Mark unused parameters.
1191 (delphi-ignore-changes): Move before first use.
1192 (delphi-charset-token-at): Remove unused variable `start'.
1193 (delphi-else-start): Remove unused variable `if-count'.
1194 (delphi-comment-block-start, delphi-comment-block-end):
1195 Remove unused variable `kind'.
1196 (delphi-indent-line): Remove unused variable `new-point'.
1198 * progmodes/ebrowse.el (ebrowse-files-list)
1199 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
1200 Mark unused parameters. Don't quote `lambda'.
1201 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
1202 Don't quote `lambda'.
1203 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
1204 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
1205 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
1206 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
1207 Use `ignore-errors'.
1208 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
1209 (ebrowse-view/find-file-and-search-pattern)
1210 (ebrowse-view/find-member-declaration/definition):
1211 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
1212 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
1213 Rename parameter PREFIX-ARG to PREFIX.
1214 (ebrowse-tags-read-name): Remove unused variables `start' and
1216 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
1219 * progmodes/etags.el (local-find-tag-hook): Declare.
1220 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
1221 Mark unused parameters.
1223 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
1224 (executable-interpret): Mark unused parameter.
1226 * progmodes/flymake.el (flymake-process-sentinel)
1227 (flymake-after-change-function)
1228 (flymake-create-temp-with-folder-structure)
1229 (flymake-get-include-dirs-dot): Mark unused parameters.
1230 (flymake-safe-delete-directory): Remove unused variable `err'.
1232 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
1233 (speedbar-timer-fn, speedbar-line-text)
1234 (speedbar-change-expand-button-char, speedbar-delete-subblock)
1235 (speedbar-center-buffer-smartly): Declare functions.
1236 (gdb-find-watch-expression): Remove unused variable `array'.
1237 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
1238 (gdb-starting): Mark unused parameters.
1239 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
1240 (gdb-table-string): Remove unused variable `res'.
1241 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1242 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1243 (gdb-display-buffer): Remove unused variable `cur-size'.
1245 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1246 allow lexical-binding compilation.
1247 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1248 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1249 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1250 Mark unused parameters.
1251 (gud-gdb-marker-filter): Remove unused variable `match'.
1252 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1253 lambda expressions and funcall them, instead of using `fset'.
1255 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1256 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1258 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1259 variable `header-beg'; use `let'.
1261 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1262 `restart', `last-sexp' and `at-do'.
1264 * progmodes/js.el (js--debug): Mark unused parameter.
1265 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1266 (js--splice-into-items): Remove unused variable `item'.
1267 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1269 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1270 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1271 (makefile-complete): Remove unused variable `try'.
1272 (makefile-fill-paragraph, makefile-match-function-end):
1273 Mark unused parameters.
1275 * progmodes/octave-inf.el (inferior-octave-complete):
1276 Remove unused variable `proc'.
1277 (inferior-octave-output-digest): Mark unused parameter.
1279 * progmodes/perl-mode.el (perl-calculate-indent):
1280 Remove unused variable `err'.
1282 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1283 (prolog-indent-line): Mark unused parameters.
1284 (prolog-indent-line): Remove unused variable `beg'.
1286 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1287 (reporter-dont-compact-list): Declare.
1289 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1290 Remove unused variable `char'.
1291 (sh-debug): Mark unused parameter.
1292 (sh-get-indent-info): Remove unused variable `start'.
1293 (sh-calculate-indent): Remove unused variable `var'.
1295 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1296 (simula-electric-keyword): Remove unused variable `null'.
1297 (simula-search-backward, simula-search-forward): Remove unused
1298 variables `begin' and `end'.
1300 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1301 Remove unused variable `pos'.
1302 (vera-electric-tab, vera-comment-uncomment-region):
1303 Mark unused parameters.
1304 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1306 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
1308 * emacs-lisp/package.el (package--builtins, package-alist)
1309 (package-load-descriptor, package-built-in-p, package-activate)
1310 (define-package, package-installed-p)
1311 (package-compute-transaction, package-buffer-info)
1312 (package--push): Doc fix. Distinguish more clearly between
1313 version strings and version lists.
1315 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
1317 Lexical-binding cleanup.
1319 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1320 (5x5-make-mutate-best):
1321 * play/fortune.el (fortune-in-buffer):
1322 * play/gomoku.el (gomoku-init-display):
1323 * play/solitaire.el (solitaire, solitaire-do-check):
1324 * play/tetris.el (tetris-default-update-speed-function):
1325 Mark unused parameters.
1327 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1328 (bubbles--shift): Remove unused variable `char-org'.
1329 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1330 (bubbles--show-images): Remove unused variable `char'.
1332 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1333 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1334 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1335 (decipher-analyze-buffer): Use ?\s.
1336 (decipher-make-checkpoint): Remove unused variable `mapping'.
1338 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1340 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1341 Remove unused variable `result'; use `let'.
1343 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1344 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1345 (gametree-children-shown-p, gametree-compute-reduced-score):
1346 Use `ignore-errors'.
1348 * play/handwrite.el (ps-lpr-switches): Declare.
1349 (handwrite): Remove unused variables `pmin' and `lastp'.
1351 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1353 * play/landmark.el (landmark-init-display)
1354 (landmark-update-naught-weights): Mark unused parameters.
1355 (landmark-y): Remove unused variable `noise'. Simplify.
1356 (landmark-human-plays): Remove unused variable `score'.
1358 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1359 (mpuz-try-proposal): Remove unused variable `game'.
1361 * play/zone.el (life-patterns): Declare.
1363 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
1365 * vc/vc.el (ediff-vc-internal): Declare function.
1367 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * shell.el: Use lexical-binding and std completion UI.
1370 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1371 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1372 comint-preoutput-filter-functions rather than on
1373 comint-output-filter-functions.
1374 (shell-command-completion, shell--command-completion-data)
1375 (shell-filename-completion, shell-environment-variable-completion)
1376 (shell-c-a-p-replace-by-expanded-directory): New functions.
1377 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1378 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1379 (shell-dynamic-complete-environment-variable): Use them.
1380 (shell-dynamic-complete-as-environment-variable)
1381 (shell-dynamic-complete-as-command): Remove.
1382 (shell-match-partial-variable): Match past point.
1383 * comint.el: Clean up use of completion-at-point-functions.
1384 (comint-completion-at-point): New function.
1385 (comint-mode): Use it completion-at-point-functions.
1386 (comint-dynamic-complete): Make it obsolete.
1387 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1388 (comint-c-a-p-replace-by-expanded-history): New function.
1389 (comint-dynamic-complete-functions)
1390 (comint-replace-by-expanded-history): Use it.
1391 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1392 termination strings. Try harder to avoid second try-completion.
1393 (completion-in-region-mode-map): Disable bindings that don't work yet.
1395 * comint.el: Use lexical-binding. Require CL.
1396 (comint-dynamic-complete-functions): Use comint-filename-completion.
1397 (comint-completion-addsuffix): Tweak custom type.
1398 (comint-filename-completion, comint--common-suffix)
1399 (comint--common-quoted-suffix, comint--table-subvert)
1400 (comint--complete-file-name-data): New functions.
1401 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1402 (comint-dynamic-list-filename-completions): Use them.
1403 (comint-dynamic-simple-complete): Make obsolete.
1405 * minibuffer.el (completion-in-region-mode):
1406 Keep completion-in-region-mode--predicate global.
1407 (completion-in-region--postch):
1408 Assume completion-in-region-mode--predicate is not null.
1410 * progmodes/flymake.el (flymake-start-syntax-check-process):
1411 Obey `dir'. Simplify.
1413 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1414 we're in VC after all.
1416 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1418 * vc/vc.el (vc-diff-build-argument-list-internal)
1419 (vc-version-ediff, vc-ediff): New commands.
1420 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1422 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1427 * obsolete/erc-hecomplete.el: Make obsolete.
1428 * obsolete/: Standardize obsolescence info in the header.
1430 2011-04-20 Glenn Morris <rgm@gnu.org>
1432 * calendar/solar.el (solar-horizontal-coordinates):
1433 Use the longitude argument rather than `calendar-longitude'.
1434 (solar-date-next-longitude): Remove unused locals.
1436 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1438 * whitespace.el: New version 13.2.1.
1440 2011-04-20 felix <EmacsWiki> (tiny change)
1442 * whitespace.el (global-whitespace-mode): keep highlight when
1443 switching between major modes on a file.
1445 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1448 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1449 multi-line comments as well.
1451 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
1453 Lexical-binding cleanup.
1455 * arc-mode.el (archive-mode-revert):
1456 * cmuscheme.el (scheme-interactively-start-process):
1457 * custom.el (custom-initialize-delay):
1458 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1459 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1460 * emacs-lock.el (emacs-lock-clear-sentinel):
1461 * ezimage.el (defezimage):
1462 * follow.el (follow-avoid-tail-recenter):
1463 * fringe.el (set-fringe-mode-1):
1464 * generic-x.el (bat-generic-mode-compile):
1465 * help-mode.el (help-info-variable, help-do-xref)
1466 (help-mode-revert-buffer):
1467 * help.el (view-emacs-todo):
1468 * iswitchb.el (iswitchb-completion-help):
1469 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1470 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1471 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1472 * locate.el (locate-update):
1473 * longlines.el (longlines-encode-region)
1474 (longlines-after-change-function):
1475 * outline.el (outline-isearch-open-invisible):
1476 * ps-def.el (declare-function, charset-dimension, char-width)
1478 * ps-mule.el (ps-mule-plot-string):
1479 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1480 (recentf-edit-list-select, recentf-edit-list-validate)
1481 (recentf-open-files-action):
1482 * rect.el (delete-whitespace-rectangle-line)
1483 (rectangle-number-line-callback):
1484 * register.el (window-configuration-to-register)
1485 (frame-configuration-to-register):
1486 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1487 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1488 (xselect-convert-to-targets, xselect-convert-to-delete)
1489 (xselect-convert-to-filename, xselect-convert-to-charpos)
1490 (xselect-convert-to-lineno, xselect-convert-to-colno)
1491 (xselect-convert-to-os, xselect-convert-to-host)
1492 (xselect-convert-to-user, xselect-convert-to-class)
1493 (xselect-convert-to-name, xselect-convert-to-integer)
1494 (xselect-convert-to-atom, xselect-convert-to-identity):
1495 * subr.el (declare, ignore, process-kill-without-query)
1496 (text-clone-maintain):
1497 * terminal.el (te-get-char, te-tic-sentinel):
1498 * tool-bar.el (tool-bar-make-keymap):
1499 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1500 * type-break.el (type-break-mode, type-break-noninteractive-query):
1501 * view.el (View-back-to-mark):
1502 * wid-browse.el (widget-browse-action, widget-browse-widget)
1503 (widget-browse-widgets, widget-browse-sexp):
1504 * widget.el (define-widget-keywords):
1505 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1506 Mark unused parameters.
1508 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1509 (align-areas): Remove unused variable `look'.
1510 (align-region): Remove unused variables `real-end' and `pos-list'.
1512 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1514 * bindings.el (mode-line-modified, mode-line-remote):
1515 Mark unused parameters.
1516 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1518 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1519 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1521 * comint.el (comint-history-isearch-pop-state)
1522 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1523 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1524 (comint-substitute-in-file-name): Doc fix.
1526 * completion.el (cmpl-statistics-block): Mark unused parameter.
1527 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1528 (save-completions-to-file, load-completions-from-file):
1529 Remove unused local variable `e'.
1531 * composite.el (compose-chars): Remove unused variable `len'.
1532 (lgstring-insert-glyph): Remove unused variable `g'.
1533 (compose-glyph-string): Remove unused variables `ascent',
1534 `descent', `lbearing' and `rbearing'.
1535 (compose-glyph-string-relative): Remove unused variables
1536 `lbearing', `rbearing' and `wadjust'.
1537 (compose-gstring-for-graphic): Remove unused variables `header',
1538 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
1539 (compose-gstring-for-terminal): Remove unused variables `header'
1540 and `nchars'. Use `let', not `let*'.
1542 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1543 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1544 (Custom-buffer-done, custom-buffer-create-internal)
1545 (custom-browse-visibility-action, custom-browse-group-tag-action)
1546 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1547 (widget-magic-mouse-down-action, custom-toggle-parent)
1548 (custom-add-parent-links, custom-toggle-hide-variable)
1549 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1550 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1551 (custom-face-menu-create, custom-variable-menu-create, get)
1552 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1553 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1554 (customize-apropos): Remove unused variable `tests'.
1555 (custom-group-value-create): Remove unused variable `hidden-p'.
1556 (sort-fold-case): Declare.
1558 * cus-theme.el (custom-reset-standard-faces-list)
1559 (custom-reset-standard-variables-list): Declare.
1560 (customize-create-theme, custom-theme-revert, custom-theme-write)
1561 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1562 Mark unused parameters.
1564 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1566 * delim-col.el (delimit-columns-max): Move defvar before first use.
1568 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1569 (describe-char): Don't quote `lambda'. Mark unused parameter.
1571 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1572 (auto-insert): Declare.
1573 (desktop-restore-file-buffer): Rename desktop-* parameters;
1575 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1576 (desktop-buffer): Rename desktop-* parameters.
1578 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1579 (dframe-reposition-frame-xemacs, dframe-help-echo)
1580 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1581 Mark unused parameters.
1583 * dired-aux.el (backup-extract-version-start, overwrite-query)
1584 (overwrite-backup-query, rename-regexp-query)
1585 (rename-non-directory-query): Declare.
1586 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1587 (dired-add-entry): Remove unused variable `orig-file-name'.
1588 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1589 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1590 `dired-copy-preserve-time' directly.
1591 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1592 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1594 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1595 (dired-virtual-revert, dired-make-relative-symlink):
1596 Mark unused parameters.
1597 (manual-program): Declare.
1598 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1599 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1600 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1602 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1604 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1606 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1609 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1611 * electric.el (Electric-command-loop): Rename parameter
1612 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1614 * expand.el (expand-in-literal): Remove unused variable `here'.
1616 * facemenu.el (facemenu-add-new-color):
1617 Remove unused variable `docstring'.
1619 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1620 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1621 (face-attr-construct): Mark unused parameter. Doc fix.
1622 (read-color): Remove unused variable `hex-string'.
1624 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1625 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1626 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1627 (display-buffer-other-frame): Remove unused variable `old-window'.
1628 (kill-buffer-hook): Declare.
1629 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1630 Mark unused parameters.
1631 (after-find-file): Pass 1 to `auto-save-mode', not t.
1633 * files-x.el (auto-insert): Declare.
1634 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1636 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1637 variable `buf'. Mark unused parameter.
1638 (find-lisp-insert-directory): Mark unused parameter.
1640 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1641 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1642 (format-common-tail): Remove, unused.
1643 (format-deannotate-region): Remove unused variable `loc'.
1644 (format-annotate-region): Remove unused variable `p'.
1645 (format-annotate-single-property-change): Remove unused variables
1646 `default' and `tail'.
1648 * forms.el (read-file-filter): Declare.
1649 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1651 * frame.el (frame-creation-function-alist): Mark unused parameter.
1652 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1654 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1655 Remove unused parameters.
1656 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1657 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1659 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1660 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1661 (hfy-prepare-tag-map): Mark unused parameters.
1662 (htmlfontify-buffer): Use `called-interactively-p'.
1664 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1665 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1666 (ibuffer-do-occur): Mark unused parameters.
1667 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1668 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1670 * ibuffer.el: Don't quote `lambda'.
1671 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1672 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1673 Mark unused parameters.
1675 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1676 (ido-completing-read): Mark unused parameters.
1677 (ido-copy-current-word): Mark unused parameters;
1678 remove unused variable `name'.
1679 (ido-sort-merged-list): Remove unused parameter `dirs'.
1681 * ielm.el (ielm-input-sender): Mark unused parameter.
1682 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1683 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1684 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1685 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1686 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1688 * image-dired.el (image-dired-display-thumbs): Remove unused
1689 variables `curr-file' and `count'.
1690 (image-dired-remove-tag): Remove unused variable `start'.
1691 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1692 variable `curr-file'
1693 (image-dired-rotate-original): Remove unused variable `temp-file'.
1694 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1695 Remove unused variable `file'.
1696 (image-dired-gallery-generate): Remove unused variable `curr'.
1697 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1699 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1701 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1703 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1705 * isearch.el (minibuffer-history-symbol): Declare.
1706 (isearch-edit-string): Remove unused variable `err'.
1707 (isearch-message-prefix, isearch-message-suffix):
1708 Mark unused parameters.
1710 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1712 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1714 * makesum.el (double-column): Remove unused variable `cnt'.
1716 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1717 (ido-ignore-item-temp-list): Declare.
1719 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1720 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1721 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1722 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1725 * mouse-sel.el (mouse-extend-internal):
1726 Remove unused variable `orig-window-frame'.
1728 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1729 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1730 Move declarations before first use.
1731 (pcomplete-opt): Mark unused parameters; doc fix.
1733 * proced.el (proced-revert): Mark unused parameter.
1734 (proced-send-signal): Remove unused variable `err'.
1736 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1737 Rename parameter PREFIX-ARG to ARG.
1738 (ps-basic-plot-string, ps-basic-plot-whitespace):
1739 Mark unused parameters.
1741 * replace.el (replace-count): Define.
1742 (occur-revert-function): Mark unused parameters.
1743 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1744 (isearch-case-fold-search, isearch-string): Declare.
1745 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1746 bind `case-fold-search'. Remove unused variables `beg' and `end',
1748 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1749 COUNT and bind `replace-count'.
1750 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1753 * savehist.el (print-readably, print-string-length): Declare.
1755 * shadowfile.el (shadow-expand-cluster-in-file-name):
1756 Remove unused variable `cluster'.
1757 (shadow-copy-file): Remove unused variable `i'.
1758 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1759 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1760 (shadow-define-literal-group, shadow-define-regexp-group)
1761 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1763 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1764 (shell): Use `called-interactively-p'.
1765 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1767 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1768 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1769 (delete-backward-char): Remove unused variable `ocol'.
1770 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1771 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1772 (event-apply-hyper-modifier, event-apply-shift-modifier)
1773 (event-apply-control-modifier, event-apply-meta-modifier):
1774 Mark unused parameters.
1775 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1776 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1778 * speedbar.el (speedbar-ignored-directory-expressions)
1779 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1780 (speedbar-find-file, speedbar-dir-follow)
1781 (speedbar-directory-buttons-follow, speedbar-tag-find)
1782 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1783 (speedbar-buffers-line-directory, speedbar-buffer-click):
1784 Mark unused parameters.
1785 (speedbar-tag-file): Remove unused variable `mode'.
1786 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1788 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1790 * talk.el (talk): Remove unused variable `display'.
1792 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1793 (tar-write-region-annotate): Mark unused parameter.
1795 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1796 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1797 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1800 * time-stamp.el (time-stamp-string-preprocess):
1801 Remove unused variable `require-padding'.
1803 * tree-widget.el (widget-glyph-enable): Declare.
1804 (tree-widget-action): Mark unused parameter.
1806 * w32-fns.el (x-get-selection): Mark unused parameter.
1807 (autoload-make-program, generated-autoload-file): Declare.
1809 * wdired.el (wdired-revert): Mark unused parameters.
1810 (wdired-xcase-word): Remove unused variable `err'.
1812 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1813 (whitespace-help-scroll): Remove unused variable `data-help'.
1815 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1816 (widget-image-insert, widget-after-change, default)
1817 (widget-default-format-handler, widget-default-notify)
1818 (widget-default-prompt-value, widget-info-link-action)
1819 (widget-url-link-action, widget-function-link-action)
1820 (widget-variable-link-action, widget-file-link-action)
1821 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1822 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1823 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1824 (widget-insert-button-action, widget-delete-button-action, visibility)
1825 (widget-documentation-link-action, widget-documentation-string-action)
1826 (widget-const-prompt-value, widget-regexp-match, symbol)
1827 (widget-coding-system-prompt-value)
1828 (widget-key-sequence-value-to-external, sexp)
1829 (widget-sexp-value-to-internal, character, vector, cons)
1830 (widget-choice-prompt-value, widget-boolean-prompt-value)
1831 (widget-color--choose-action): Mark unused parameters.
1832 (widget-item-match-inline, widget-choice-match-inline)
1833 (widget-checklist-match, widget-checklist-match-inline)
1834 (widget-group-match): Rename parameter VALUES to VALS.
1835 (widget-field-value-set): Remove unused variable `size'.
1836 (widget-color-action): Remove unused variables `value' and `start'.
1838 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1839 variable `dir'. Doc fix.
1840 (windmove-find-other-window): Don't pass it.
1842 * window.el (count-windows): Mark unused parameter.
1843 (bw-adjust-window): Remove unused variable `err'.
1845 * woman.el (woman-file-name): Remove unused variable `default'.
1846 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1847 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1848 (global-font-lock-mode): Declare.
1849 (woman-decode-region): Mark unused parameter.
1850 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1852 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1853 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1854 (x-dnd-handle-moz-url): Remove unused variable `title'.
1855 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1857 * xml.el (xml-parse-tag, xml-parse-attlist):
1858 Remove unused variable `pos'.
1860 2011-04-19 Glenn Morris <rgm@gnu.org>
1862 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1863 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1864 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1865 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1866 * calendar/cal-html.el (cal-html-insert-minical):
1867 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1868 (calendar-mark-date-pattern):
1869 Prefix "unused" locals.
1871 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1872 optional argument `style'.
1874 * calendar/appt.el (appt-make-list):
1875 * calendar/cal-china.el (calendar-chinese-date-string):
1876 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1877 (diary-hebrew-yahrzeit):
1878 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1879 * calendar/calendar.el (calendar-generate-window):
1880 * calendar/time-date.el (time-to-days):
1881 Remove unused local variables.
1883 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1885 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1886 glyphless-char-display table.
1887 (tabulated-list-glyphless-char-display): New var.
1889 2011-04-18 Sam Steingold <sds@gnu.org>
1891 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1894 2011-04-17 Glenn Morris <rgm@gnu.org>
1896 * calendar/diary-lib.el (diary-sexp-entry):
1897 * calendar/holidays.el (holiday-sexp):
1898 Set debug-on-error rather than the removed stack-trace-on-error.
1900 2011-04-16 Glenn Morris <rgm@gnu.org>
1902 * progmodes/f90.el: Use lexical-binding.
1903 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1905 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1908 (mail-mode): Setup mailalias completion here instead.
1909 * mail/mailalias.el: Use lexical-binding.
1910 (pattern, mailalias-done): Declare dynamic.
1911 (mail-completion-at-point-function): New function, from mail-complete.
1912 (mail-complete): Use it.
1913 (mail-completion-expand): New function.
1914 (mail-get-names): Use it.
1915 (mail-directory, mail-directory-process, mail-directory-stream):
1916 Don't use `pattern' for lexically bound arg.
1918 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1920 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1921 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1922 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1924 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1925 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1926 (byte-interactive-p): Define them again, for use when inlining
1929 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1931 * loadup.el: Use `string-to-number', not `string-to-int'.
1933 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1936 gud-gdb-complete-command.
1937 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1938 (gud-gdb-completion-at-point): New function.
1939 (gud-gdb-completions): Remove.
1941 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1943 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1944 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1945 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1946 whether `executable-find' is bound.
1948 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1950 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * minibuffer.el (completion-in-region-mode-predicate)
1953 (completion-in-region-mode--predicate): New vars.
1954 (completion-in-region, completion-in-region--postch)
1955 (completion-in-region-mode): Use them.
1956 (completion--capf-wrapper): Also return the hook function.
1957 (completion-at-point, completion-help-at-point):
1958 Adjust and provide a predicate.
1960 Preserve arg names for advice of subr and lexical functions (bug#8457).
1961 * help-fns.el (help-function-arglist): Consolidate the subr and
1962 new-byte-code cases. Add argument `preserve-names' to extract names
1963 from the docstring when needed.
1964 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1965 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1966 (ad-arglist): Use help-function-arglist's new arg.
1967 (ad-definition-type): Use cond.
1969 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1971 * autorevert.el (auto-revert-handler):
1972 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1973 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1976 * image-mode.el (image-transform-set-scale):
1977 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1979 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1981 * net/network-stream.el (network-stream-open-starttls): Only do
1982 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1983 Upgrades via gnutls-cli are too slow to be done opportunistically.
1985 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1987 * dframe.el (dframe-current-frame): Remove spurious quote.
1989 2011-04-12 Glenn Morris <rgm@gnu.org>
1991 * calendar/cal-tex.el (cal-tex-end-document):
1992 Try to automatically use latin1 input if needed.
1994 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1995 Don't try to cons a mark onto an empty element.
1997 2011-04-11 Leo Liu <sdl.web@gmail.com>
1999 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
2001 (ido-kill-buffer-at-head): Support killing virtual buffers.
2003 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
2005 * minibuffer.el (completion-show-inline-help): New var.
2006 (completion--do-completion, minibuffer-complete)
2007 (minibuffer-force-complete, minibuffer-complete-word):
2008 Inhibit minibuffer messages if completion-show-inline-help is nil.
2010 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
2011 to avoid interference from inline help (Bug#5849).
2013 2011-04-10 Leo Liu <sdl.web@gmail.com>
2015 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2018 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
2020 * image-mode.el (image-toggle-display-image): Signal an error if
2022 (image-transform-mode, image-transform-resize)
2023 (image-transform-set-rotation): Doc fix.
2024 (image-transform-set-resize): Delete.
2025 (image-transform-set-scale, image-transform-fit-to-height)
2026 (image-transform-fit-to-width): Handle image-toggle-display-image
2027 and image-transform-resize directly.
2029 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
2031 * doc-view.el (doc-view-fit-width-to-window)
2032 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
2033 New functions for fitting the shown image to the Emacs window size.
2034 (doc-view-mode-map): Add bindings for the new functions.
2036 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
2038 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
2039 Fix typo in docstring.
2041 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2043 * files.el (file-size-human-readable): Produce one digit after
2044 decimal, like "ls -lh" does.
2046 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
2047 the file size representation.
2049 * simple.el (list-processes): If async subprocesses are not
2050 available, error out with a clear error message.
2052 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
2054 * help.el (help-form-show): New function, to be called from C.
2055 Put help-form output in a buffer named differently than *Help*.
2057 2011-04-08 Eli Zaretskii <eliz@gnu.org>
2059 * files.el (file-size-human-readable): New function.
2061 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
2062 computing the representation inline. Don't require `cl'.
2064 2011-04-08 Glenn Morris <rgm@gnu.org>
2066 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
2068 * net/browse-url.el (browse-url-firefox):
2069 Test system-type, not system-configuration.
2071 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
2072 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
2073 Use log-edit-empty-buffer-p. (Bug#7598)
2075 * net/rlogin.el (rlogin-process-connection-type): Simplify.
2076 (rlogin-mode-map): Initialize in the defvar.
2077 (rlogin): Use ignore-errors.
2079 * replace.el (occur-mode-map): Some fixes for menu items.
2081 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2083 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
2085 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2087 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
2088 issuing unused warnings.
2090 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
2093 * simple.el: Lisp reimplement of list-processes. Based on an
2094 earlier reimplementation by Leo Liu, but using tabulated-list.el.
2095 (process-menu-mode): New major mode.
2096 (list-processes--refresh, list-processes):
2097 (process-menu-visit-buffer): New functions.
2099 * files.el (save-buffers-kill-emacs): Don't assume any return
2100 value of list-processes, which is undocumented anyway.
2102 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
2104 * emacs-lisp/tabulated-list.el: New file.
2106 * emacs-lisp/package.el: Use Tabulated List mode.
2107 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
2108 (package-menu-mode): Derive from tabulated-list-mode. Set up the
2109 table format using Tabulated List mode variables.
2110 (package--push): New macro, replacing package-list-maybe-add.
2111 (package-menu--generate): Use package--push. Renamed from
2112 package--generate-package-list.
2113 (package-menu-refresh, list-packages): Use it.
2114 (package-menu--print-info): Rename from package-print-package.
2115 Return insertion data instead of inserting it directly.
2116 (package-menu-describe-package, package-menu-execute):
2117 Use tabulated-list-get-id.
2118 (package-menu-mark-delete, package-menu-mark-install)
2119 (package-menu-mark-unmark, package-menu-backup-unmark)
2120 (package-menu-mark-obsolete-for-deletion):
2121 Use tabulated-list-put-tag.
2122 (package--list-packages, package-menu-revert)
2123 (package-menu-get-package, package-menu-get-version)
2124 (package-menu-sort-by-column): Functions deleted.
2125 (package-menu-package-list, package-menu-sort-key): Vars deleted.
2126 (package-menu--status-predicate, package-menu--version-predicate)
2127 (package-menu--name-predicate)
2128 (package-menu--description-predicate): Handle arguments in the
2129 Tabulated List format.
2130 (package-list-packages-no-fetch): Call list-packages.
2132 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
2134 * files.el (after-find-file-from-revert-buffer): Remove variable.
2135 (after-find-file): Don't bind it.
2136 (revert-buffer-in-progress-p): New variable.
2137 (revert-buffer): Bind it.
2138 Pass nil for `after-find-file-from-revert-buffer'.
2140 * saveplace.el (save-place-find-file-hook): Use new variable
2141 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
2143 2011-04-06 Glenn Morris <rgm@gnu.org>
2145 * Makefile.in (AUTOGEN_VCS): New variable.
2146 (autoloads): Use $AUTOGEN_VCS.
2148 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
2149 * calendar/calendar.el (calendar-mode-map):
2150 Check for toolkit scroll bars. (Bug#8305)
2152 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2154 * minibuffer.el (completion-in-region--postch)
2155 (completion-in-region-mode): Remove unnecessary messages.
2157 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
2159 * font-lock.el (font-lock-refresh-defaults):
2160 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
2161 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
2163 * info.el (Info-directory-list, Info-read-node-name-2)
2164 (Info-split-parameter-string): Doc fixes.
2165 (Info-virtual-nodes): Reflow docstring.
2166 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
2167 (Info-apropos-toc-nodes, info-finder, Info-get-token)
2168 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
2169 Fix typos in docstrings.
2170 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
2171 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
2172 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
2173 (Info-restore-desktop-buffer): Mark unused parameters.
2174 (Info-directory-find-file, Info-directory-find-node)
2175 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
2176 (Info-virtual-index-find-node, Info-apropos-find-file)
2177 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
2178 Mark unused parameters; fix typos in docstrings.
2179 (Info-virtual-index): Remove unused local variable `nodename'.
2181 2011-04-05 Deniz Dogan <deniz@dogan.se>
2183 * net/rcirc.el: Update my e-mail address.
2184 (rcirc-mode-map): Remove M-o binding.
2186 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
2188 * startup.el (command-line): Save the cursor's theme-face
2189 directly, instead of using face-override-spec.
2191 * custom.el (load-theme): Minor optimization in assigning faces.
2193 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2195 * help-fns.el (describe-variable): Complete all variables having
2196 documentation, including keywords.
2197 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2199 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
2201 Convert to lexical-binding.
2203 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
2204 (bs--get-marked-string, bs--get-modified-string)
2205 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
2206 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
2207 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
2209 * ehelp.el (electric-help-execute-extended)
2210 (electric-help-ctrl-x-prefix):
2211 * hexl.el (hexl-revert-buffer-function):
2212 * linum.el (linum-after-change, linum-after-scroll):
2213 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
2215 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
2217 2011-04-04 Daiki Ueno <ueno@unixuser.org>
2224 * epg.el: Use lexical binding.
2226 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
2228 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
2230 * textmodes/flyspell.el (flyspell-word): Recognize default
2231 dictionary case for flyspell-mark-duplications-exceptions.
2232 Use regexp matching for languages.
2233 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
2234 default dictionary (Bug#7926).
2236 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
2238 * emacs-lisp/package.el (package--with-work-buffer):
2239 Recognize https URLs.
2241 * net/network-stream.el: Move from gnus/proto-stream.el.
2242 Change prefix to network-stream throughout.
2243 (open-protocol-stream): Merge into open-network-stream, leaving
2244 open-protocol-stream as an alias. Handle nil BUFFER args.
2246 * subr.el (open-network-stream): Move to net/network-stream.el.
2248 2011-04-02 Glenn Morris <rgm@gnu.org>
2250 * find-dired.el (find-exec-terminator): New option.
2251 (find-ls-option): Test for -ls support.
2252 (find-ls-subdir-switches): Test for -b in find-ls-option.
2253 (find-dired, find-grep-dired): Doc fixes.
2254 (find-dired): Use find-exec-terminator.
2256 * find-dired.el (find-ls-option, find-ls-subdir-switches)
2257 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2258 (find-name-arg): Remove purecopy.
2260 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2261 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2262 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2263 accordingly. Don't add the null-device if not needed.
2265 * files.el (save-some-buffers): Doc fix.
2267 2011-04-02 Eli Zaretskii <eliz@gnu.org>
2269 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2271 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
2273 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2274 Use `dolist' rather than `mapcar'.
2276 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2278 Add lexical binding.
2280 * subr.el (apply-partially): Use new closures rather than CL.
2281 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2282 (dolist, dotimes): Use slightly different expansion for lexical code.
2283 (functionp): Move to C.
2284 (letrec): New macro.
2285 (with-wrapper-hook): Use it and apply-partially instead of CL.
2286 (eval-after-load): Preserve lexical-binding.
2287 (save-window-excursion, with-output-to-temp-buffer): Turn them
2290 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2292 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2294 (help-add-fundoc-usage): Don't add `Not documented'.
2295 (help-function-arglist): Handle closures, subroutines, and new
2296 byte-code-functions.
2297 (help-make-usage): Remove leading underscores.
2298 (describe-function-1): Handle closures.
2299 (describe-variable): Use special-variable-p for completion.
2301 * files.el (lexical-binding): Declare safe.
2303 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2304 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2305 (pcase): Add `let' pattern.
2306 Change memoization so it actually works.
2307 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2308 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2311 * emacs-lisp/macroexp.el: Use lexical binding.
2312 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2313 Don't convert ' to #' without checking that it's indeed quoting
2316 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
2317 Use eval-sexp-add-defvars.
2318 (eval-sexp-add-defvars): New fun.
2320 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2322 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2324 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2325 than the internal `byte-compile-lambda'.
2326 (defmethod): Don't hide code under quotes.
2327 (eieio-defmethod): New `code' argument.
2329 * emacs-lisp/eieio-comp.el: Remove.
2331 * emacs-lisp/edebug.el (edebug-eval-defun)
2332 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2333 (edebug-toggle): Avoid `eval'.
2335 * emacs-lisp/disass.el (disassemble-internal): Handle new
2337 (disassemble-1): Handle new byte codes.
2339 * emacs-lisp/cl.el (pushnew): Silence warning.
2341 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2342 (cl-byte-compile-throw): Remove.
2343 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2345 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2348 * emacs-lisp/cconv.el: New file.
2350 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2351 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2352 (byte-compile-initial-macro-environment):
2353 Handle declare-function here.
2354 (byte-compile--lexical-environment): New var.
2355 (byte-stack-ref, byte-stack-set, byte-discardN)
2356 (byte-discardN-preserve-tos): New lap codes.
2357 (byte-interactive-p): Don't use any more.
2358 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2360 (byte-compile-lapcode): Use them and handle new lap codes.
2361 (byte-compile-obsolete): Remove.
2362 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2363 (byte-compile-arglist-warn): Check late def of inlinable funs.
2364 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2365 since they should have been expanded by now.
2366 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2367 (byte-compile-from-buffer): Remove unused second arg.
2368 (byte-compile-preprocess): New function.
2369 (byte-compile-toplevel-file-form): New function to distinguish
2370 file-form calls from outside from file-form calls from hunk-handlers.
2371 (byte-compile-file-form): Simplify.
2372 (byte-compile-file-form-defsubst): Remove.
2373 (byte-compile-file-form-defmumble): Simplify now that
2374 byte-compile-lambda always returns a byte-code-function.
2375 (byte-compile): Preprocess.
2376 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2377 Remove, not used any more.
2378 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2379 (byte-compile-make-args-desc): New funs.
2380 (byte-compile-lambda): Handle lexical functions. Always return
2381 a byte-code-function.
2382 (byte-compile-reserved-constants): New var, to make up room for
2383 closed-over variables.
2384 (byte-compile-constants-vector): Obey it.
2385 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2386 (byte-compile-macroexpand-declare-function): New function.
2387 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2388 byte-code-functions.
2389 (byte-compile-form): Check obsolescence here.
2390 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2391 (byte-compile-variable-ref): Remove.
2392 (byte-compile-dynamic-variable-op): New fun.
2393 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2394 (byte-compile-variable-set): New funs.
2395 (byte-compile-discard): Add 2 args.
2396 (byte-compile-stack-ref, byte-compile-stack-set)
2397 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2398 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2399 macroexpand-all instead.
2400 (byte-compile-quote-form): Remove.
2401 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2402 (byte-compile-bind, byte-compile-unbind): New funs.
2403 (byte-compile-let): Handle let* and lexical binding.
2404 (byte-compile-let*): Remove.
2405 (byte-compile-catch, byte-compile-unwind-protect)
2406 (byte-compile-track-mouse, byte-compile-condition-case):
2407 Handle a new :fun-body form, used for lexical scoping.
2408 (byte-compile-save-window-excursion)
2409 (byte-compile-with-output-to-temp-buffer): Remove.
2410 (byte-compile-defun): Simplify.
2411 (byte-compile-stack-adjustment): New fun.
2412 (byte-compile-out): Use it.
2413 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2415 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2418 * emacs-lisp/byte-opt.el: Use lexical binding.
2419 (byte-inline-lapcode): Remove (to bytecomp).
2420 (byte-compile-inline-expand): Pay attention to inlining to/from
2421 lexically bound code.
2422 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2424 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2425 any more and don't call compiler-macros.
2426 (byte-compile-splice-in-already-compiled-code): Remove.
2427 (byte-code): Don't inline any more.
2428 (disassemble-offset): Receive `bytes' as argument rather than via
2430 (byte-compile-tag-number): Declare before first use.
2431 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2432 `return' even if make-spliceable.
2433 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2434 obsolete interactive-p.
2435 (byte-optimize-lapcode): Optimize new lap-codes.
2436 Don't trip up on new form of `byte-constant' lap code.
2438 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2440 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2442 * custom.el (custom-initialize-default, custom-declare-variable):
2445 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2447 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2448 (COMPILE_FIRST): Add macroexp and cconv.
2449 * makefile.w32-in: Mirror changes in Makefile.in.
2455 * vc/smerge-mode.el:
2456 * textmodes/bibtex-style.el:
2465 * emacs-lisp/smie.el:
2468 * abbrev.el: Use lexical binding.
2470 2011-04-01 Eli Zaretskii <eliz@gnu.org>
2472 * info.el (info-display-manual): New function.
2474 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2478 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2480 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2481 an entry for that server in rcirc-authinfo. (Bug#8385)
2483 2011-03-31 Glenn Morris <rgm@gnu.org>
2485 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2487 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2489 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2491 * progmodes/python.el (python-default-interpreter)
2492 (python-python-command-args, python-jython-command-args)
2493 (python-which-shell, python-which-args, python-which-bufname)
2494 (python-file-queue, python-comint-output-filter-function)
2495 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2496 variables and functions.
2498 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2501 (completion-in-region-mode): New minor mode.
2502 (completion-in-region): Use it.
2503 (completion-in-region--data, completion-in-region-mode-map): New vars.
2504 (completion-in-region--postch): New function.
2505 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2507 (completion--capf-wrapper): New function.
2508 (completion-at-point): Use it to track well-behavedness of
2510 (completion-help-at-point): New command.
2512 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2514 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2515 syntax class to search for whitespace on a single line
2516 (Message-ID: <4D938140.4030905@redhat.com>).
2518 2011-03-30 Leo Liu <sdl.web@gmail.com>
2520 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2522 (edit-abbrevs-map): Bind them here.
2523 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2525 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2527 * allout.el (allout-hide-by-annotation, allout-flag-region):
2528 Reduce possibility of overlay leakage by making them volatile.
2530 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2531 hash is not shared between buffers. Mode initialization is
2532 responsible for giving it a useful starting value.
2533 (allout-item-span): Reduce possibility of overlay leakage by
2534 making them volatile.
2535 (allout-widgets-count-buttons-in-region): Add diagnostic function
2536 for tracking down button overlay leaks.
2538 2011-03-29 Leo Liu <sdl.web@gmail.com>
2540 * ido.el (ido-read-internal): Use the default history var
2541 minibuffer-history if no HISTORY is specified.
2543 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2545 * net/imap.el (imap-shell-open, imap-process-connection-type):
2546 Use imap-process-connection-type for 'shell' streams as well as
2547 Kerberos, SSL, other subprocesses.
2549 2011-03-28 Leo Liu <sdl.web@gmail.com>
2551 * abbrev.el (abbrev-table-empty-p): New function.
2552 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2553 nonempty ones. (Bug#5937)
2555 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2557 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2559 2011-03-27 Leo Liu <sdl.web@gmail.com>
2561 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2562 for foreground and background colors.
2563 (ansi-color-make-color-map): Adapt.
2565 2011-03-25 Leo Liu <sdl.web@gmail.com>
2567 * midnight.el (midnight-time-float): Remove. Note it calculates
2568 the microsecond component incorrectly and seconds-to-time does the
2570 Remove redundant (require 'timer).
2572 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2573 (ido-completions): Remove unused arguments. (Bug#8329)
2575 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * minibuffer.el (completion--flush-all-sorted-completions):
2578 Remove itself from hook.
2579 (completion-at-point): Let the functions perform the completion
2580 immediately and return nil or t.
2581 * comint.el (comint-dynamic-complete-functions): Now identical to
2582 completion-at-point-functions.
2583 (comint-dynamic-list-input-ring): Remove unused var `index'.
2584 (comint--match-partial-filename, comint--unquote&expand-filename):
2585 New funs, split from comint-match-partial-filename.
2586 (comint-dynamic-complete): Use completion-at-point.
2587 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2589 2011-03-24 Drew Adams <drew.adams@oracle.com>
2591 * thingatpt.el: Support `defun'.
2593 2011-03-23 Leo Liu <sdl.web@gmail.com>
2595 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2597 * help-mode.el (help-mode-finish): Tweak regexp.
2599 2011-03-23 Glenn Morris <rgm@gnu.org>
2601 * eshell/esh-opt.el (eshell-eval-using-options):
2602 Do not bind unused local variable `eshell-option-stub'.
2604 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2606 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2608 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2609 keymap variable in `with-no-warnings' to avoid a warning when the
2610 keymap has been already `defconst'ed.
2612 2011-03-22 Leo Liu <sdl.web@gmail.com>
2614 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2615 encode all chars in abbrevs; otherwise use emacs-mule or
2616 utf-8-emacs. (Bug#8308)
2618 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2620 * simple.el (backward-delete-char-untabify):
2621 Avoid warning about using `delete-backward-char'.
2623 * image.el (image-type-file-name-regexps): Make it variable.
2624 `imagemagick-register-types' modifies it, and the user may want
2625 to add new extensions for known image types.
2626 (imagemagick-register-types): Throw error if not using ImageMagick.
2628 2011-03-22 Leo Liu <sdl.web@gmail.com>
2630 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2631 located before rcirc-prompt-end-marker.
2632 (rcirc-complete): Error if point is not after rcirc prompt.
2633 Handle the case when table is nil.
2634 (rcirc-user-authenticated): Define to fix compiler warning.
2636 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2638 * custom.el (custom--inhibit-theme-enable): Make it affect only
2639 custom-theme-set-variables and custom-theme-set-faces.
2640 (provide-theme): Ignore custom--inhibit-theme-enable.
2641 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2642 (custom-enabling-themes): Delete variable.
2643 (enable-theme): Accept only loaded themes as arguments.
2644 Ignore the special custom-enabled-themes variable.
2645 (custom-enabled-themes): Forbid themes from setting this.
2646 Eliminate use of custom-enabling-themes.
2647 (custom-push-theme): Quote "changed" custom var entry.
2649 2011-03-21 Leo Liu <sdl.web@gmail.com>
2651 * ido.el (ido-read-internal): Add ido-selected to history instead
2654 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * subr.el (deferred-action-list, deferred-action-function):
2659 2011-03-21 Leo Liu <sdl.web@gmail.com>
2661 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2662 change on 2011-02-13 (bug#8309).
2664 * minibuffer.el (read-file-name-function): Change default value.
2665 (read-file-name--defaults): Rename from read-file-name-defaults.
2666 (read-file-name-default): Rename from read-file-name.
2667 (read-file-name): Call read-file-name-function.
2669 2011-03-21 Glenn Morris <rgm@gnu.org>
2671 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2674 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2676 * cus-theme.el: Add missing provide statement.
2677 (customize-create-theme): Extract theme value correctly.
2678 (custom-theme-visit-theme): Autoload.
2679 (customize-create-theme): Prompt before inserting default faces.
2681 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2683 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2684 units and musical notes.
2686 2011-03-20 Leo <sdl.web@gmail.com>
2688 * ido.el (ido-read-internal): Use completing-read-default.
2689 (ido-completing-read): Fix compatibility with completing-read.
2691 2011-03-20 Christian Ohler <ohler@gnu.org>
2693 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2694 (ert-delete-all-tests): Use `called-interactively-p' rather than
2696 (ert--make-xrefs-region): Respect END.
2698 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2700 * dired-aux.el (dired-create-directory): Signal an error if the
2701 directory already exists (Bug#8246).
2703 * facemenu.el (list-colors-display): Call list-faces-display
2704 inside with-help-window.
2705 (list-colors-print): Use display property to align the final
2706 column, instead of checking window-width.
2708 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2710 * emerge.el (emerge-metachars): Separate value for ms-dos and
2712 (emerge-protect-metachars): Quote correctly for ms-dos and
2715 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2717 * info.el (info-initialize): Replace all uses of `:' with
2718 path-separator for compatibility with non-Unix systems.
2719 Cache quoting of path-separator. (Bug#8258)
2721 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2723 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2724 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2725 (mouse-avoidance-mode): Fix typos in docstrings.
2727 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2729 * startup.el (package-subdirectory-regexp): Move from package.el.
2730 Omit \\` and \\', and let callers add them.
2732 * emacs-lisp/package.el (package-strip-version)
2733 (package-load-all-descriptors): Add \\` and \\' to
2734 package-subdirectory-regexp before using it.
2735 (package-untar-buffer): New arg DIR; ensure that file untars only
2736 into this expected directory. Remove superfluous delete-region.
2737 (package-unpack): Caller changed.
2738 (package-tar-file-info): Use package-subdirectory-regexp.
2740 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2742 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2743 diff-mode-shared-map (bug#8284).
2744 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2746 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2748 * calendar/time-date.el (format-seconds): Use assoc instead of
2749 assoc-string, since assoc-string doesn't exist in XEmacs.
2751 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2753 * custom.el (custom-known-themes): Reflow docstring.
2754 (custom-theme-load-path): Fix typo in docstring.
2755 (load-theme): Fix typo in error message.
2756 (custom-available-themes, custom-variable-theme-value):
2757 Use `let', not `let*'.
2759 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2761 * calc/README: Mention inclusion of musical notes.
2763 * calc/calc-units.el (calc-lu-quant): Rename from
2764 `calc-logunits-quantity'.
2765 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2766 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2767 (calc-db): Rename from `calc-dblevel'.
2768 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2769 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2770 (calc-np): Rename from `calc-nplevel'.
2771 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2772 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2773 (calc-lu-plus): Rename from `calc-logunits-add'.
2774 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2775 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2776 (calc-lu-minus): Rename from `calc-logunits-sub'.
2777 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2778 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2779 (calc-lu-times): Rename from `calc-logunits-mul'.
2780 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2781 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2782 (calc-lu-divide): Rename from `calc-logunits-div'.
2783 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2784 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2786 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2787 functions being autoloaded.
2789 * calc/calc.el (calc-lu-power-reference): Rename from
2790 `calc-logunits-power-reference'.
2791 (calc-lu-field-reference): Rename from
2792 `calc-logunits-field-reference'.
2794 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2796 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2798 * minibuffer.el (completion-all-sorted-completions):
2799 Use :completion-cycle-penalty text property if present.
2801 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2803 * allout.el (allout-yank-processing): Adjust for new rebulleting
2804 regime so bullet being yanked is used without prompting the user
2807 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2809 * startup.el (command-line): Warn the user that _emacs is deprecated.
2811 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2813 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2814 (delphi-verbose, delphi-comment-face, delphi-string-face)
2815 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2816 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2817 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2818 (delphi-new-comment-line, delphi-font-lock-defaults)
2819 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2820 Fix typos in docstrings.
2822 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2824 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2825 Invert the roles of character and string values for INSTEAD, so a
2826 string is used for the more common case of a defaulting prompt.
2828 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * progmodes/ruby-mode.el (ruby-backward-sexp):
2831 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2832 * play/gamegrid.el (gamegrid-make-face):
2833 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2834 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2835 * notifications.el (notifications-notify):
2836 * net/xesam.el (xesam-search-engines):
2837 * net/quickurl.el (quickurl-list-insert):
2838 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2840 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2842 * startup.el (command-line): Update package subdirectory regexp.
2844 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2846 * allout.el (allout-abbreviate-flattened-numbering)
2847 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2849 * subr.el (read-char-choice): Only show the cursor after the prompt,
2850 not after the answer.
2852 2011-03-15 Kevin Ryde <user42@zip.com.au>
2854 * help-fns.el (variable-at-point): Skip leading quotes, if any
2857 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2859 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2862 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2864 * shell.el (shell): When called interactively, offer to change the
2865 shell file name on remote hosts.
2867 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2869 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2870 integration for LDAP parameters. The host, base, user or binddn,
2871 and secret tokens can be specified in a netrc file, for instance.
2872 This is optional because an `auth-source' parameter must be
2873 specified in the search attributes.
2875 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2877 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2879 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2881 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2882 into declaration. Remove redundant and harmful binding.
2884 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2886 * files.el (file-ownership-preserved-p): Pass `integer' as an
2887 explicit 2nd argument to `file-attributes'. If the file's owner
2888 is the Administrators group on Windows, and the current user is
2889 Administrator, consider that a match.
2891 * server.el (server-ensure-safe-dir): Consider server directory
2892 safe on MS-Windows if its owner is the Administrators group while
2893 the current Emacs user is Administrator. Use `=' to compare
2894 numerical UIDs, since they could be integers or floats.
2896 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2898 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2900 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2902 Sync with Tramp 2.2.1.
2904 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2906 * net/trampver.el: Update release number.
2908 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * progmodes/compile.el (compilation--previous-directory): Fix up
2911 various nil/dead-marker mismatches (bug#8014).
2912 (compilation-directory-properties, compilation-error-properties):
2913 Don't call it at a position past the one we're about to change.
2915 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2916 Disable obsolescence warnings in the file that declares it.
2918 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2920 * allout-widgets.el (allout-widgets-tally):
2921 Initialize allout-widgets-tally as a hash table rather than nil to
2922 prevent mode-line redisplay warnings. Also, clarify the module
2923 description and fix a comment typo.
2925 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2927 * help-fns.el (describe-variable): Don't complete keywords.
2928 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2930 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2932 * emacs-lisp/package.el (package-version-join): Impose a standard
2933 string representation for pre/alpha/beta version lists.
2934 (package-unpack-single): Standardize the directory name by passing
2935 it through package-version-join.
2936 (package-strip-rcs-id): Accept any version string that does not
2937 signal an error in version-to-list.
2939 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2941 * simple.el (delete-trailing-whitespace): Return nil for the
2942 benefit of `write-file-functions'.
2944 2011-03-10 Glenn Morris <rgm@gnu.org>
2946 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2948 * vc/vc-git.el (vc-git-program): New option.
2949 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2950 (vc-git--call): Use it.
2952 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2954 * cus-edit.el (Custom-newline): If no button at point, look
2955 for a subgroup button at start-of-line. (Bug#2298)
2957 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2959 2011-03-10 Julien Danjou <julien@danjou.info>
2961 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2962 `cursor-type' is nil.
2964 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2966 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2968 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2970 * allout.el Summary: Change so yank of distinctive-bullet items
2971 preserves the existing header prefix, rebulleting it if necessary,
2972 rather than replacing it. This is necessary for proper operation
2973 of cooperative addons like allout-widgets.
2974 (allout-make-topic-prefix, allout-rebullet-heading): Change
2975 SOLICIT arg to INSTEAD, and interpret additionally a string value
2976 as alternate bullet to be used, instead of prompting the user for
2979 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2981 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2982 Do not use `tramp-file-name-port', because this returns also
2983 `tramp-default-port'.
2985 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2987 * net/rcirc.el (rcirc-handler-001): Remove useless
2988 with-rcirc-process-buffer.
2989 (rcirc-check-auth-status): Swap arguments to string-match.
2991 2011-03-09 Glenn Morris <rgm@gnu.org>
2993 * shell.el (shell-mode):
2994 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2996 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2997 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2999 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3001 * emacs-lisp/package.el (package-refresh-contents)
3002 (package-menu-execute): Use condition-case-no-debug.
3004 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
3006 * simple.el (shell-command-to-string): Use `process-file'.
3008 * emacs-lisp/package.el (package-tar-file-info): Handle also
3011 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3012 Use `equal' for upload base check.
3014 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
3016 * textmodes/texinfo.el (texinfo-environments):
3017 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
3019 2011-03-08 Glenn Morris <rgm@gnu.org>
3021 * cus-start.el (cursor-in-non-selected-windows):
3022 Fix :set quoting oddness. (Bug#8192)
3024 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
3025 in some setf expressions. (Bug#2159)
3027 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
3029 * custom.el (custom-available-themes): Return themes in
3032 See ChangeLog.15 for earlier changes.
3038 Copyright (C) 2011 Free Software Foundation, Inc.
3040 This file is part of GNU Emacs.
3042 GNU Emacs is free software: you can redistribute it and/or modify
3043 it under the terms of the GNU General Public License as published by
3044 the Free Software Foundation, either version 3 of the License, or
3045 (at your option) any later version.
3047 GNU Emacs is distributed in the hope that it will be useful,
3048 but WITHOUT ANY WARRANTY; without even the implied warranty of
3049 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3050 GNU General Public License for more details.
3052 You should have received a copy of the GNU General Public License
3053 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.