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