1 2011-03-24 Juanma Barranquero <lekktu@gmail.com>
3 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
6 2011-04-08 Eli Zaretskii <eliz@gnu.org>
8 * simple.el (list-processes): If async subprocesses are not
9 available, error out with a clear error message.
11 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13 * help.el (help-form-show): New function, to be called from C.
14 Put help-form output in a buffer named differently than *Help*.
16 2011-04-08 Eli Zaretskii <eliz@gnu.org>
18 * files.el (file-size-human-readable): New function.
20 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21 computing the representation inline. Don't require `cl'.
23 2011-04-08 Glenn Morris <rgm@gnu.org>
25 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
27 * net/browse-url.el (browse-url-firefox):
28 Test system-type, not system-configuration.
30 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
31 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
32 Use log-edit-empty-buffer-p. (Bug#7598)
34 * net/rlogin.el (rlogin-process-connection-type): Simplify.
35 (rlogin-mode-map): Initialize in the defvar.
36 (rlogin): Use ignore-errors.
38 * replace.el (occur-mode-map): Some fixes for menu items.
40 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
42 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
44 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
46 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
47 issuing unused warnings.
49 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
52 * simple.el: Lisp reimplement of list-processes. Based on an
53 earlier reimplementation by Leo Liu, but using tabulated-list.el.
54 (process-menu-mode): New major mode.
55 (list-processes--refresh, list-processes):
56 (process-menu-visit-buffer): New functions.
58 * files.el (save-buffers-kill-emacs): Don't assume any return
59 value of list-processes, which is undocumented anyway.
61 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
63 * emacs-lisp/tabulated-list.el: New file.
65 * emacs-lisp/package.el: Use Tabulated List mode.
66 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
67 (package-menu-mode): Derive from tabulated-list-mode. Set up the
68 table format using Tabulated List mode variables.
69 (package--push): New macro, replacing package-list-maybe-add.
70 (package-menu--generate): Use package--push. Renamed from
71 package--generate-package-list.
72 (package-menu-refresh, list-packages): Use it.
73 (package-menu--print-info): Renamed from package-print-package.
74 Return insertion data instead of inserting it directly.
75 (package-menu-describe-package, package-menu-execute): Use
76 tabulated-list-get-id.
77 (package-menu-mark-delete, package-menu-mark-install)
78 (package-menu-mark-unmark, package-menu-backup-unmark)
79 (package-menu-mark-obsolete-for-deletion): Use
80 tabulated-list-put-tag.
81 (package--list-packages, package-menu-revert)
82 (package-menu-get-package, package-menu-get-version)
83 (package-menu-sort-by-column): Functions deleted.
84 (package-menu-package-list, package-menu-sort-key): Vars deleted.
85 (package-menu--status-predicate, package-menu--version-predicate)
86 (package-menu--name-predicate)
87 (package-menu--description-predicate): Handle arguments in the
88 Tabulated List format.
89 (package-list-packages-no-fetch): Call list-packages.
91 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
93 * files.el (after-find-file-from-revert-buffer): Remove variable.
94 (after-find-file): Dont' bind it.
95 (revert-buffer-in-progress-p): New variable.
96 (revert-buffer): Bind it.
97 Pass nil for `after-find-file-from-revert-buffer'.
99 * saveplace.el (save-place-find-file-hook): Use new variable
100 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
102 2011-04-06 Glenn Morris <rgm@gnu.org>
104 * Makefile.in (AUTOGEN_VCS): New variable.
105 (autoloads): Use $AUTOGEN_VCS.
107 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
108 * calendar/calendar.el (calendar-mode-map):
109 Check for toolkit scroll bars. (Bug#8305)
111 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
113 * minibuffer.el (completion-in-region--postch)
114 (completion-in-region-mode): Remove unnecessary messages.
116 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
118 * font-lock.el (font-lock-refresh-defaults):
119 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
120 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
122 * info.el (Info-directory-list, Info-read-node-name-2)
123 (Info-split-parameter-string): Doc fixes.
124 (Info-virtual-nodes): Reflow docstring.
125 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
126 (Info-apropos-toc-nodes, info-finder, Info-get-token)
127 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
128 Fix typos in docstrings.
129 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
130 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
131 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
132 (Info-restore-desktop-buffer): Mark unused parameters.
133 (Info-directory-find-file, Info-directory-find-node)
134 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
135 (Info-virtual-index-find-node, Info-apropos-find-file)
136 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
137 Mark unused parameters; fix typos in docstrings.
138 (Info-virtual-index): Remove unused local variable `nodename'.
140 2011-04-05 Deniz Dogan <deniz@dogan.se>
142 * net/rcirc.el: Update my e-mail address.
143 (rcirc-mode-map): Remove M-o binding.
145 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
147 * startup.el (command-line): Save the cursor's theme-face
148 directly, instead of using face-override-spec.
150 * custom.el (load-theme): Minor optimization in assigning faces.
152 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
154 * help-fns.el (describe-variable): Complete all variables having
155 documentation, including keywords.
156 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
158 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
160 Convert to lexical-binding.
162 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
163 (bs--get-marked-string, bs--get-modified-string)
164 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
165 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
166 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
168 * ehelp.el (electric-help-execute-extended)
169 (electric-help-ctrl-x-prefix):
170 * hexl.el (hexl-revert-buffer-function):
171 * linum.el (linum-after-change, linum-after-scroll):
172 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
174 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
176 2011-04-04 Daiki Ueno <ueno@unixuser.org>
183 * epg.el: Use lexical binding.
185 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
187 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
189 * textmodes/flyspell.el (flyspell-word): Recognize default
190 dictionary case for flyspell-mark-duplications-exceptions. Use
191 regexp matching for languages.
192 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
193 default dictionary (Bug#7926).
195 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
197 * emacs-lisp/package.el (package--with-work-buffer): Recognize
200 * net/network-stream.el: Move from gnus/proto-stream.el. Change
201 prefix to network-stream throughout.
202 (open-protocol-stream): Merge into open-network-stream, leaving
203 open-protocol-stream as an alias. Handle nil BUFFER args.
205 * subr.el (open-network-stream): Move to net/network-stream.el.
207 2011-04-02 Glenn Morris <rgm@gnu.org>
209 * find-dired.el (find-exec-terminator): New option.
210 (find-ls-option): Test for -ls support.
211 (find-ls-subdir-switches): Test for -b in find-ls-option.
212 (find-dired, find-grep-dired): Doc fixes.
213 (find-dired): Use find-exec-terminator.
215 * find-dired.el (find-ls-option, find-ls-subdir-switches)
216 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
217 (find-name-arg): Remove purecopy.
219 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
220 (grep-compute-defaults): Check for `-exec COMMAND +' support.
221 Set grep-find-use-xargs, grep-find-command, and grep-find-template
222 accordingly. Don't add the null-device if not needed.
224 * files.el (save-some-buffers): Doc fix.
226 2011-04-02 Eli Zaretskii <eliz@gnu.org>
228 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
230 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
232 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
233 Use `dolist' rather than `mapcar'.
235 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
239 * subr.el (apply-partially): Use new closures rather than CL.
240 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
241 (dolist, dotimes): Use slightly different expansion for lexical code.
242 (functionp): Move to C.
244 (with-wrapper-hook): Use it and apply-partially instead of CL.
245 (eval-after-load): Preserve lexical-binding.
246 (save-window-excursion, with-output-to-temp-buffer): Turn them
249 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
251 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
253 (help-add-fundoc-usage): Don't add `Not documented'.
254 (help-function-arglist): Handle closures, subroutines, and new
256 (help-make-usage): Remove leading underscores.
257 (describe-function-1): Handle closures.
258 (describe-variable): Use special-variable-p for completion.
260 * files.el (lexical-binding): Declare safe.
262 * emacs-lisp/pcase.el: Don't use destructuring-bind.
263 (pcase--memoize): Rename from pcase-memoize. Change weakness.
264 (pcase): Add `let' pattern.
265 Change memoization so it actually works.
266 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
267 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
270 * emacs-lisp/macroexp.el: Use lexical binding.
271 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
272 Don't convert ' to #' without checking that it's indeed quoting
275 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
276 Use eval-sexp-add-defvars.
277 (eval-sexp-add-defvars): New fun.
279 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
281 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
283 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
284 than the internal `byte-compile-lambda'.
285 (defmethod): Don't hide code under quotes.
286 (eieio-defmethod): New `code' argument.
288 * emacs-lisp/eieio-comp.el: Remove.
290 * emacs-lisp/edebug.el (edebug-eval-defun)
291 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
292 (edebug-toggle): Avoid `eval'.
294 * emacs-lisp/disass.el (disassemble-internal): Handle new
296 (disassemble-1): Handle new byte codes.
298 * emacs-lisp/cl.el (pushnew): Silence warning.
300 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
301 (cl-byte-compile-throw): Remove.
302 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
304 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
307 * emacs-lisp/cconv.el: New file.
309 * emacs-lisp/bytecomp.el: Use lexical binding instead of
310 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
311 (byte-compile-initial-macro-environment):
312 Handle declare-function here.
313 (byte-compile--lexical-environment): New var.
314 (byte-stack-ref, byte-stack-set, byte-discardN)
315 (byte-discardN-preserve-tos): New lap codes.
316 (byte-interactive-p): Don't use any more.
317 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
319 (byte-compile-lapcode): Use them and handle new lap codes.
320 (byte-compile-obsolete): Remove.
321 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
322 (byte-compile-arglist-warn): Check late def of inlinable funs.
323 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
324 since they should have been expanded by now.
325 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
326 (byte-compile-from-buffer): Remove unused second arg.
327 (byte-compile-preprocess): New function.
328 (byte-compile-toplevel-file-form): New function to distinguish
329 file-form calls from outside from file-form calls from hunk-handlers.
330 (byte-compile-file-form): Simplify.
331 (byte-compile-file-form-defsubst): Remove.
332 (byte-compile-file-form-defmumble): Simplify now that
333 byte-compile-lambda always returns a byte-code-function.
334 (byte-compile): Preprocess.
335 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
336 Remove, not used any more.
337 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
338 (byte-compile-make-args-desc): New funs.
339 (byte-compile-lambda): Handle lexical functions. Always return
340 a byte-code-function.
341 (byte-compile-reserved-constants): New var, to make up room for
342 closed-over variables.
343 (byte-compile-constants-vector): Obey it.
344 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
345 (byte-compile-macroexpand-declare-function): New function.
346 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
348 (byte-compile-form): Check obsolescence here.
349 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
350 (byte-compile-variable-ref): Remove.
351 (byte-compile-dynamic-variable-op): New fun.
352 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
353 (byte-compile-variable-set): New funs.
354 (byte-compile-discard): Add 2 args.
355 (byte-compile-stack-ref, byte-compile-stack-set)
356 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
357 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
358 macroexpand-all instead.
359 (byte-compile-quote-form): Remove.
360 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
361 (byte-compile-bind, byte-compile-unbind): New funs.
362 (byte-compile-let): Handle let* and lexical binding.
363 (byte-compile-let*): Remove.
364 (byte-compile-catch, byte-compile-unwind-protect)
365 (byte-compile-track-mouse, byte-compile-condition-case):
366 Handle a new :fun-body form, used for lexical scoping.
367 (byte-compile-save-window-excursion)
368 (byte-compile-with-output-to-temp-buffer): Remove.
369 (byte-compile-defun): Simplify.
370 (byte-compile-stack-adjustment): New fun.
371 (byte-compile-out): Use it.
372 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
374 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
377 * emacs-lisp/byte-opt.el: Use lexical binding.
378 (byte-inline-lapcode): Remove (to bytecomp).
379 (byte-compile-inline-expand): Pay attention to inlining to/from
380 lexically bound code.
381 (byte-compile-unfold-lambda): Don't handle byte-code-functions
383 (byte-optimize-form-code-walker): Don't handle save-window-excursion
384 any more and don't call compiler-macros.
385 (byte-compile-splice-in-already-compiled-code): Remove.
386 (byte-code): Don't inline any more.
387 (disassemble-offset): Receive `bytes' as argument rather than via
389 (byte-compile-tag-number): Declare before first use.
390 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
391 `return' even if make-spliceable.
392 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
393 obsolete interactive-p.
394 (byte-optimize-lapcode): Optimize new lap-codes.
395 Don't trip up on new form of `byte-constant' lap code.
397 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
399 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
401 * custom.el (custom-initialize-default, custom-declare-variable):
404 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
406 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
407 (COMPILE_FIRST): Add macroexp and cconv.
408 * makefile.w32-in: Mirror changes in Makefile.in.
415 * textmodes/bibtex-style.el:
424 * emacs-lisp/smie.el:
427 * abbrev.el: Use lexical binding.
429 2011-04-01 Eli Zaretskii <eliz@gnu.org>
431 * info.el (info-display-manual): New function.
433 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
435 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
437 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
439 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
440 an entry for that server in rcirc-authinfo. (Bug#8385)
442 2011-03-31 Glenn Morris <rgm@gnu.org>
444 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
446 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
448 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
450 * progmodes/python.el (python-default-interpreter)
451 (python-python-command-args, python-jython-command-args)
452 (python-which-shell, python-which-args, python-which-bufname)
453 (python-file-queue, python-comint-output-filter-function)
454 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
455 variables and functions.
457 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
459 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
460 (completion-in-region-mode): New minor mode.
461 (completion-in-region): Use it.
462 (completion-in-region--data, completion-in-region-mode-map): New vars.
463 (completion-in-region--postch): New function.
464 (completion--capf-misbehave-funs, completion--capf-safe-funs):
466 (completion--capf-wrapper): New function.
467 (completion-at-point): Use it to track well-behavedness of
469 (completion-help-at-point): New command.
471 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
473 * vc/add-log.el (add-change-log-entry): Don't use whitespace
474 syntax class to search for whitespace on a single line
475 (Message-ID: <4D938140.4030905@redhat.com>).
477 2011-03-30 Leo Liu <sdl.web@gmail.com>
479 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
481 (edit-abbrevs-map): Bind them here.
482 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
484 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
486 * allout.el (allout-hide-by-annotation, allout-flag-region):
487 Reduce possibility of overlay leakage by making them volatile.
489 * allout-widgets.el (allout-widgets-tally): Define as nil so the
490 hash is not shared between buffers. Mode initialization is
491 responsible for giving it a useful starting value.
492 (allout-item-span): Reduce possibility of overlay leakage by
493 making them volatile.
494 (allout-widgets-count-buttons-in-region): Add diagnostic function
495 for tracking down button overlay leaks.
497 2011-03-29 Leo Liu <sdl.web@gmail.com>
499 * ido.el (ido-read-internal): Use the default history var
500 minibuffer-history if no HISTORY is specified.
502 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
504 * net/imap.el (imap-shell-open, imap-process-connection-type):
505 Use imap-process-connection-type for 'shell' streams as well as
506 Kerberos, SSL, other subprocesses.
508 2011-03-28 Leo Liu <sdl.web@gmail.com>
510 * abbrev.el (abbrev-table-empty-p): New function.
511 (prepare-abbrev-list-buffer): Place empty abbrev tables after
512 nonempty ones. (Bug#5937)
514 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
516 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
518 2011-03-27 Leo Liu <sdl.web@gmail.com>
520 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
521 for foreground and background colors.
522 (ansi-color-make-color-map): Adapt.
524 2011-03-25 Leo Liu <sdl.web@gmail.com>
526 * midnight.el (midnight-time-float): Remove. Note it calculates
527 the microsecond component incorrectly and seconds-to-time does the
529 Remove redundant (require 'timer).
531 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
532 (ido-completions): Remove unused arguments. (Bug#8329)
534 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
536 * minibuffer.el (completion--flush-all-sorted-completions):
537 Remove itself from hook.
538 (completion-at-point): Let the functions perform the completion
539 immediately and return nil or t.
540 * comint.el (comint-dynamic-complete-functions): Now identical to
541 completion-at-point-functions.
542 (comint-dynamic-list-input-ring): Remove unused var `index'.
543 (comint--match-partial-filename, comint--unquote&expand-filename):
544 New funs, split from comint-match-partial-filename.
545 (comint-dynamic-complete): Use completion-at-point.
546 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
548 2011-03-24 Drew Adams <drew.adams@oracle.com>
550 * thingatpt.el: Support `defun'.
552 2011-03-23 Leo Liu <sdl.web@gmail.com>
554 * abbrevlist.el: Move to obsolete/abbrevlist.el.
556 * help-mode.el (help-mode-finish): Tweak regexp.
558 2011-03-23 Glenn Morris <rgm@gnu.org>
560 * eshell/esh-opt.el (eshell-eval-using-options):
561 Do not bind unused local variable `eshell-option-stub'.
563 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
565 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
567 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
568 keymap variable in `with-no-warnings' to avoid a warning when the
569 keymap has been already `defconst'ed.
571 2011-03-22 Leo Liu <sdl.web@gmail.com>
573 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
574 encode all chars in abbrevs; otherwise use emacs-mule or
575 utf-8-emacs. (Bug#8308)
577 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
579 * simple.el (backward-delete-char-untabify):
580 Avoid warning about using `delete-backward-char'.
582 * image.el (image-type-file-name-regexps): Make it variable.
583 `imagemagick-register-types' modifies it, and the user may want
584 to add new extensions for known image types.
585 (imagemagick-register-types): Throw error if not using ImageMagick.
587 2011-03-22 Leo Liu <sdl.web@gmail.com>
589 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
590 located before rcirc-prompt-end-marker.
591 (rcirc-complete): Error if point is not after rcirc prompt.
592 Handle the case when table is nil.
593 (rcirc-user-authenticated): Define to fix compiler warning.
595 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
597 * custom.el (custom--inhibit-theme-enable): Make it affect only
598 custom-theme-set-variables and custom-theme-set-faces.
599 (provide-theme): Ignore custom--inhibit-theme-enable.
600 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
601 (custom-enabling-themes): Delete variable.
602 (enable-theme): Accept only loaded themes as arguments.
603 Ignore the special custom-enabled-themes variable.
604 (custom-enabled-themes): Forbid themes from setting this.
605 Eliminate use of custom-enabling-themes.
606 (custom-push-theme): Quote "changed" custom var entry.
608 2011-03-21 Leo Liu <sdl.web@gmail.com>
610 * ido.el (ido-read-internal): Add ido-selected to history instead
613 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
615 * subr.el (deferred-action-list, deferred-action-function):
618 2011-03-21 Leo Liu <sdl.web@gmail.com>
620 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
621 change on 2011-02-13 (bug#8309).
623 * minibuffer.el (read-file-name-function): Change default value.
624 (read-file-name--defaults): Rename from read-file-name-defaults.
625 (read-file-name-default): Rename from read-file-name.
626 (read-file-name): Call read-file-name-function.
628 2011-03-21 Glenn Morris <rgm@gnu.org>
630 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
633 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
635 * cus-theme.el: Add missing provide statement.
636 (customize-create-theme): Extract theme value correctly.
637 (custom-theme-visit-theme): Autoload.
638 (customize-create-theme): Prompt before inserting default faces.
640 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
642 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
643 units and musical notes.
645 2011-03-20 Leo <sdl.web@gmail.com>
647 * ido.el (ido-read-internal): Use completing-read-default.
648 (ido-completing-read): Fix compatibility with completing-read.
650 2011-03-20 Christian Ohler <ohler@gnu.org>
652 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
653 (ert-delete-all-tests): Use `called-interactively-p' rather than
655 (ert--make-xrefs-region): Respect END.
657 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
659 * dired-aux.el (dired-create-directory): Signal an error if the
660 directory already exists (Bug#8246).
662 * facemenu.el (list-colors-display): Call list-faces-display
663 inside with-help-window.
664 (list-colors-print): Use display property to align the final
665 column, instead of checking window-width.
667 2011-03-19 Eli Zaretskii <eliz@gnu.org>
669 * emerge.el (emerge-metachars): Separate value for ms-dos and
671 (emerge-protect-metachars): Quote correctly for ms-dos and
674 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
676 * info.el (info-initialize): Replace all uses of `:' with
677 path-separator for compatibility with non-Unix systems.
678 Cache quoting of path-separator. (Bug#8258)
680 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
682 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
683 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
684 (mouse-avoidance-mode): Fix typos in docstrings.
686 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
688 * startup.el (package-subdirectory-regexp): Move from package.el.
689 Omit \\` and \\', and let callers add them.
691 * emacs-lisp/package.el (package-strip-version)
692 (package-load-all-descriptors): Add \\` and \\' to
693 package-subdirectory-regexp before using it.
694 (package-untar-buffer): New arg DIR; ensure that file untars only
695 into this expected directory. Remove superfluous delete-region.
696 (package-unpack): Caller changed.
697 (package-tar-file-info): Use package-subdirectory-regexp.
699 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
701 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
702 diff-mode-shared-map (bug#8284).
703 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
705 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
707 * calendar/time-date.el (format-seconds): Use assoc instead of
708 assoc-string, since assoc-string doesn't exist in XEmacs.
710 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
712 * custom.el (custom-known-themes): Reflow docstring.
713 (custom-theme-load-path): Fix typo in docstring.
714 (load-theme): Fix typo in error message.
715 (custom-available-themes, custom-variable-theme-value):
716 Use `let', not `let*'.
718 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
720 * calc/README: Mention inclusion of musical notes.
722 * calc/calc-units.el (calc-lu-quant): Rename from
723 `calc-logunits-quantity'.
724 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
725 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
726 (calc-db): Rename from `calc-dblevel'.
727 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
728 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
729 (calc-np): Rename from `calc-nplevel'.
730 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
731 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
732 (calc-lu-plus): Rename from `calc-logunits-add'.
733 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
734 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
735 (calc-lu-minus): Rename from `calc-logunits-sub'.
736 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
737 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
738 (calc-lu-times): Rename from `calc-logunits-mul'.
739 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
740 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
741 (calc-lu-divide): Rename from `calc-logunits-div'.
742 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
743 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
745 * calc/calc-ext.el (calc-init-extensions): Update the names of the
746 functions being autoloaded.
748 * calc/calc.el (calc-lu-power-reference): Rename from
749 `calc-logunits-power-reference'.
750 (calc-lu-field-reference): Rename from
751 `calc-logunits-field-reference'.
753 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
755 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
757 * minibuffer.el (completion-all-sorted-completions):
758 Use :completion-cycle-penalty text property if present.
760 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
762 * allout.el (allout-yank-processing): Adjust for new rebulleting
763 regime so bullet being yanked is used without prompting the user
766 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
768 * startup.el (command-line): Warn the user that _emacs is deprecated.
770 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
772 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
773 (delphi-verbose, delphi-comment-face, delphi-string-face)
774 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
775 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
776 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
777 (delphi-new-comment-line, delphi-font-lock-defaults)
778 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
779 Fix typos in docstrings.
781 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
783 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
784 Invert the roles of character and string values for INSTEAD, so a
785 string is used for the more common case of a defaulting prompt.
787 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
789 * progmodes/ruby-mode.el (ruby-backward-sexp):
790 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
791 * play/gamegrid.el (gamegrid-make-face):
792 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
793 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
794 * notifications.el (notifications-notify):
795 * net/xesam.el (xesam-search-engines):
796 * net/quickurl.el (quickurl-list-insert):
797 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
799 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
801 * startup.el (command-line): Update package subdirectory regexp.
803 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
805 * allout.el (allout-abbreviate-flattened-numbering)
806 (allout-mode-deactivate-hook): Fix up obsolescence "date".
808 * subr.el (read-char-choice): Only show the cursor after the prompt,
809 not after the answer.
811 2011-03-15 Kevin Ryde <user42@zip.com.au>
813 * help-fns.el (variable-at-point): Skip leading quotes, if any
816 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
818 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
821 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
823 * shell.el (shell): When called interactively, offer to change the
824 shell file name on remote hosts.
826 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
828 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
829 integration for LDAP parameters. The host, base, user or binddn,
830 and secret tokens can be specified in a netrc file, for instance.
831 This is optional because an `auth-source' parameter must be
832 specified in the search attributes.
834 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
836 * help.el (describe-mode): Link to the mode's definition (bug#8185).
838 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
840 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
841 into declaration. Remove redundant and harmful binding.
843 2011-03-12 Eli Zaretskii <eliz@gnu.org>
845 * files.el (file-ownership-preserved-p): Pass `integer' as an
846 explicit 2nd argument to `file-attributes'. If the file's owner
847 is the Administrators group on Windows, and the current user is
848 Administrator, consider that a match.
850 * server.el (server-ensure-safe-dir): Consider server directory
851 safe on MS-Windows if its owner is the Administrators group while
852 the current Emacs user is Administrator. Use `=' to compare
853 numerical UIDs, since they could be integers or floats.
855 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
857 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
859 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
861 Sync with Tramp 2.2.1.
863 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
865 * net/trampver.el: Update release number.
867 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
869 * progmodes/compile.el (compilation--previous-directory): Fix up
870 various nil/dead-marker mismatches (bug#8014).
871 (compilation-directory-properties, compilation-error-properties):
872 Don't call it at a position past the one we're about to change.
874 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
875 Disable obsolescence warnings in the file that declares it.
877 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
879 * allout-widgets.el (allout-widgets-tally): Initialize
880 allout-widgets-tally as a hash table rather than nil to prevent
881 mode-line redisplay warnings.
882 Also, clarify the module description and fix a comment typo.
884 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
886 * help-fns.el (describe-variable): Don't complete keywords.
887 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
889 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
891 * emacs-lisp/package.el (package-version-join): Impose a standard
892 string representation for pre/alpha/beta version lists.
893 (package-unpack-single): Standardize the directory name by passing
894 it through package-version-join.
895 (package-strip-rcs-id): Accept any version string that does not
896 signal an error in version-to-list.
898 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
900 * simple.el (delete-trailing-whitespace): Return nil for the
901 benefit of `write-file-functions'.
903 2011-03-10 Glenn Morris <rgm@gnu.org>
905 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
907 * vc/vc-git.el (vc-git-program): New option.
908 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
909 (vc-git--call): Use it.
911 * eshell/esh-util.el (eshell-condition-case): Doc fix.
913 * cus-edit.el (Custom-newline): If no button at point, look
914 for a subgroup button at start-of-line. (Bug#2298)
916 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
918 2011-03-10 Julien Danjou <julien@danjou.info>
920 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
921 `cursor-type' is nil.
923 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
925 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
927 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
929 * allout.el Summary: Change so yank of distinctive-bullet items
930 preserves the existing header prefix, rebulleting it if necessary,
931 rather than replacing it. This is necessary for proper operation
932 of cooperative addons like allout-widgets.
933 (allout-make-topic-prefix, allout-rebullet-heading): Change
934 SOLICIT arg to INSTEAD, and interpret additionally a string value
935 as alternate bullet to be used, instead of prompting the user for
938 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
941 Do not use `tramp-file-name-port', because this returns also
942 `tramp-default-port'.
944 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
946 * net/rcirc.el (rcirc-handler-001): Remove useless
947 with-rcirc-process-buffer.
948 (rcirc-check-auth-status): Swap arguments to string-match.
950 2011-03-09 Glenn Morris <rgm@gnu.org>
952 * shell.el (shell-mode):
953 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
955 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
956 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
958 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
960 * emacs-lisp/package.el (package-refresh-contents)
961 (package-menu-execute): Use condition-case-no-debug.
963 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
965 * simple.el (shell-command-to-string): Use `process-file'.
967 * emacs-lisp/package.el (package-tar-file-info): Handle also
970 * emacs-lisp/package-x.el (package-upload-buffer-internal):
971 Use `equal' for upload base check.
973 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
975 * textmodes/texinfo.el (texinfo-environments):
976 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
978 2011-03-08 Glenn Morris <rgm@gnu.org>
980 * cus-start.el (cursor-in-non-selected-windows):
981 Fix :set quoting oddness. (Bug#8192)
983 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
984 in some setf expressions. (Bug#2159)
986 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
988 * custom.el (custom-available-themes): Return themes in
991 See ChangeLog.15 for earlier changes.
997 Copyright (C) 2011 Free Software Foundation, Inc.
999 This file is part of GNU Emacs.
1001 GNU Emacs is free software: you can redistribute it and/or modify
1002 it under the terms of the GNU General Public License as published by
1003 the Free Software Foundation, either version 3 of the License, or
1004 (at your option) any later version.
1006 GNU Emacs is distributed in the hope that it will be useful,
1007 but WITHOUT ANY WARRANTY; without even the implied warranty of
1008 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1009 GNU General Public License for more details.
1011 You should have received a copy of the GNU General Public License
1012 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.