1 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
3 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
4 issuing unused warnings.
6 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
9 * simple.el: Lisp reimplement of list-processes. Based on an
10 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11 (process-menu-mode): New major mode.
12 (list-processes--refresh, list-processes):
13 (process-menu-visit-buffer): New functions.
15 * files.el (save-buffers-kill-emacs): Don't assume any return
16 value of list-processes, which is undocumented anyway.
18 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20 * emacs-lisp/tabulated-list.el: New file.
22 * emacs-lisp/package.el: Use Tabulated List mode.
23 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
24 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25 table format using Tabulated List mode variables.
26 (package--push): New macro, replacing package-list-maybe-add.
27 (package-menu--generate): Use package--push. Renamed from
28 package--generate-package-list.
29 (package-menu-refresh, list-packages): Use it.
30 (package-menu--print-info): Renamed from package-print-package.
31 Return insertion data instead of inserting it directly.
32 (package-menu-describe-package, package-menu-execute): Use
33 tabulated-list-get-id.
34 (package-menu-mark-delete, package-menu-mark-install)
35 (package-menu-mark-unmark, package-menu-backup-unmark)
36 (package-menu-mark-obsolete-for-deletion): Use
37 tabulated-list-put-tag.
38 (package--list-packages, package-menu-revert)
39 (package-menu-get-package, package-menu-get-version)
40 (package-menu-sort-by-column): Functions deleted.
41 (package-menu-package-list, package-menu-sort-key): Vars deleted.
42 (package-menu--status-predicate, package-menu--version-predicate)
43 (package-menu--name-predicate)
44 (package-menu--description-predicate): Handle arguments in the
45 Tabulated List format.
46 (package-list-packages-no-fetch): Call list-packages.
48 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
50 * files.el (after-find-file-from-revert-buffer): Remove variable.
51 (after-find-file): Dont' bind it.
52 (revert-buffer-in-progress-p): New variable.
53 (revert-buffer): Bind it.
54 Pass nil for `after-find-file-from-revert-buffer'.
56 * saveplace.el (save-place-find-file-hook): Use new variable
57 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
59 2011-04-06 Glenn Morris <rgm@gnu.org>
61 * Makefile.in (AUTOGEN_VCS): New variable.
62 (autoloads): Use $AUTOGEN_VCS.
64 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
65 * calendar/calendar.el (calendar-mode-map):
66 Check for toolkit scroll bars. (Bug#8305)
68 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
70 * minibuffer.el (completion-in-region--postch)
71 (completion-in-region-mode): Remove unnecessary messages.
73 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
75 * font-lock.el (font-lock-refresh-defaults):
76 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
77 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
79 * info.el (Info-directory-list, Info-read-node-name-2)
80 (Info-split-parameter-string): Doc fixes.
81 (Info-virtual-nodes): Reflow docstring.
82 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
83 (Info-apropos-toc-nodes, info-finder, Info-get-token)
84 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
85 Fix typos in docstrings.
86 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
87 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
88 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
89 (Info-restore-desktop-buffer): Mark unused parameters.
90 (Info-directory-find-file, Info-directory-find-node)
91 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
92 (Info-virtual-index-find-node, Info-apropos-find-file)
93 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
94 Mark unused parameters; fix typos in docstrings.
95 (Info-virtual-index): Remove unused local variable `nodename'.
97 2011-04-05 Deniz Dogan <deniz@dogan.se>
99 * net/rcirc.el: Update my e-mail address.
100 (rcirc-mode-map): Remove M-o binding.
102 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
104 * startup.el (command-line): Save the cursor's theme-face
105 directly, instead of using face-override-spec.
107 * custom.el (load-theme): Minor optimization in assigning faces.
109 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
111 * help-fns.el (describe-variable): Complete all variables having
112 documentation, including keywords.
113 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
115 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
117 Convert to lexical-binding.
119 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
120 (bs--get-marked-string, bs--get-modified-string)
121 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
122 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
123 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
125 * ehelp.el (electric-help-execute-extended)
126 (electric-help-ctrl-x-prefix):
127 * hexl.el (hexl-revert-buffer-function):
128 * linum.el (linum-after-change, linum-after-scroll):
129 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
131 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
133 2011-04-04 Daiki Ueno <ueno@unixuser.org>
140 * epg.el: Use lexical binding.
142 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
144 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
146 * textmodes/flyspell.el (flyspell-word): Recognize default
147 dictionary case for flyspell-mark-duplications-exceptions. Use
148 regexp matching for languages.
149 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
150 default dictionary (Bug#7926).
152 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
154 * emacs-lisp/package.el (package--with-work-buffer): Recognize
157 * net/network-stream.el: Move from gnus/proto-stream.el. Change
158 prefix to network-stream throughout.
159 (open-protocol-stream): Merge into open-network-stream, leaving
160 open-protocol-stream as an alias. Handle nil BUFFER args.
162 * subr.el (open-network-stream): Move to net/network-stream.el.
164 2011-04-02 Glenn Morris <rgm@gnu.org>
166 * find-dired.el (find-exec-terminator): New option.
167 (find-ls-option): Test for -ls support.
168 (find-ls-subdir-switches): Test for -b in find-ls-option.
169 (find-dired, find-grep-dired): Doc fixes.
170 (find-dired): Use find-exec-terminator.
172 * find-dired.el (find-ls-option, find-ls-subdir-switches)
173 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
174 (find-name-arg): Remove purecopy.
176 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
177 (grep-compute-defaults): Check for `-exec COMMAND +' support.
178 Set grep-find-use-xargs, grep-find-command, and grep-find-template
179 accordingly. Don't add the null-device if not needed.
181 * files.el (save-some-buffers): Doc fix.
183 2011-04-02 Eli Zaretskii <eliz@gnu.org>
185 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
187 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
189 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
190 Use `dolist' rather than `mapcar'.
192 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
196 * subr.el (apply-partially): Use new closures rather than CL.
197 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
198 (dolist, dotimes): Use slightly different expansion for lexical code.
199 (functionp): Move to C.
201 (with-wrapper-hook): Use it and apply-partially instead of CL.
202 (eval-after-load): Preserve lexical-binding.
203 (save-window-excursion, with-output-to-temp-buffer): Turn them
206 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
208 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
210 (help-add-fundoc-usage): Don't add `Not documented'.
211 (help-function-arglist): Handle closures, subroutines, and new
213 (help-make-usage): Remove leading underscores.
214 (describe-function-1): Handle closures.
215 (describe-variable): Use special-variable-p for completion.
217 * files.el (lexical-binding): Declare safe.
219 * emacs-lisp/pcase.el: Don't use destructuring-bind.
220 (pcase--memoize): Rename from pcase-memoize. Change weakness.
221 (pcase): Add `let' pattern.
222 Change memoization so it actually works.
223 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
224 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
227 * emacs-lisp/macroexp.el: Use lexical binding.
228 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
229 Don't convert ' to #' without checking that it's indeed quoting
232 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
233 Use eval-sexp-add-defvars.
234 (eval-sexp-add-defvars): New fun.
236 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
238 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
240 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
241 than the internal `byte-compile-lambda'.
242 (defmethod): Don't hide code under quotes.
243 (eieio-defmethod): New `code' argument.
245 * emacs-lisp/eieio-comp.el: Remove.
247 * emacs-lisp/edebug.el (edebug-eval-defun)
248 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
249 (edebug-toggle): Avoid `eval'.
251 * emacs-lisp/disass.el (disassemble-internal): Handle new
253 (disassemble-1): Handle new byte codes.
255 * emacs-lisp/cl.el (pushnew): Silence warning.
257 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
258 (cl-byte-compile-throw): Remove.
259 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
261 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
264 * emacs-lisp/cconv.el: New file.
266 * emacs-lisp/bytecomp.el: Use lexical binding instead of
267 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
268 (byte-compile-initial-macro-environment):
269 Handle declare-function here.
270 (byte-compile--lexical-environment): New var.
271 (byte-stack-ref, byte-stack-set, byte-discardN)
272 (byte-discardN-preserve-tos): New lap codes.
273 (byte-interactive-p): Don't use any more.
274 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
276 (byte-compile-lapcode): Use them and handle new lap codes.
277 (byte-compile-obsolete): Remove.
278 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
279 (byte-compile-arglist-warn): Check late def of inlinable funs.
280 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
281 since they should have been expanded by now.
282 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
283 (byte-compile-from-buffer): Remove unused second arg.
284 (byte-compile-preprocess): New function.
285 (byte-compile-toplevel-file-form): New function to distinguish
286 file-form calls from outside from file-form calls from hunk-handlers.
287 (byte-compile-file-form): Simplify.
288 (byte-compile-file-form-defsubst): Remove.
289 (byte-compile-file-form-defmumble): Simplify now that
290 byte-compile-lambda always returns a byte-code-function.
291 (byte-compile): Preprocess.
292 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
293 Remove, not used any more.
294 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
295 (byte-compile-make-args-desc): New funs.
296 (byte-compile-lambda): Handle lexical functions. Always return
297 a byte-code-function.
298 (byte-compile-reserved-constants): New var, to make up room for
299 closed-over variables.
300 (byte-compile-constants-vector): Obey it.
301 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
302 (byte-compile-macroexpand-declare-function): New function.
303 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
305 (byte-compile-form): Check obsolescence here.
306 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
307 (byte-compile-variable-ref): Remove.
308 (byte-compile-dynamic-variable-op): New fun.
309 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
310 (byte-compile-variable-set): New funs.
311 (byte-compile-discard): Add 2 args.
312 (byte-compile-stack-ref, byte-compile-stack-set)
313 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
314 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
315 macroexpand-all instead.
316 (byte-compile-quote-form): Remove.
317 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
318 (byte-compile-bind, byte-compile-unbind): New funs.
319 (byte-compile-let): Handle let* and lexical binding.
320 (byte-compile-let*): Remove.
321 (byte-compile-catch, byte-compile-unwind-protect)
322 (byte-compile-track-mouse, byte-compile-condition-case):
323 Handle a new :fun-body form, used for lexical scoping.
324 (byte-compile-save-window-excursion)
325 (byte-compile-with-output-to-temp-buffer): Remove.
326 (byte-compile-defun): Simplify.
327 (byte-compile-stack-adjustment): New fun.
328 (byte-compile-out): Use it.
329 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
331 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
334 * emacs-lisp/byte-opt.el: Use lexical binding.
335 (byte-inline-lapcode): Remove (to bytecomp).
336 (byte-compile-inline-expand): Pay attention to inlining to/from
337 lexically bound code.
338 (byte-compile-unfold-lambda): Don't handle byte-code-functions
340 (byte-optimize-form-code-walker): Don't handle save-window-excursion
341 any more and don't call compiler-macros.
342 (byte-compile-splice-in-already-compiled-code): Remove.
343 (byte-code): Don't inline any more.
344 (disassemble-offset): Receive `bytes' as argument rather than via
346 (byte-compile-tag-number): Declare before first use.
347 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
348 `return' even if make-spliceable.
349 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
350 obsolete interactive-p.
351 (byte-optimize-lapcode): Optimize new lap-codes.
352 Don't trip up on new form of `byte-constant' lap code.
354 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
356 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
358 * custom.el (custom-initialize-default, custom-declare-variable):
361 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
363 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
364 (COMPILE_FIRST): Add macroexp and cconv.
365 * makefile.w32-in: Mirror changes in Makefile.in.
372 * textmodes/bibtex-style.el:
381 * emacs-lisp/smie.el:
384 * abbrev.el: Use lexical binding.
386 2011-04-01 Eli Zaretskii <eliz@gnu.org>
388 * info.el (info-display-manual): New function.
390 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
392 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
394 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
396 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
397 an entry for that server in rcirc-authinfo. (Bug#8385)
399 2011-03-31 Glenn Morris <rgm@gnu.org>
401 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
403 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
405 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
407 * progmodes/python.el (python-default-interpreter)
408 (python-python-command-args, python-jython-command-args)
409 (python-which-shell, python-which-args, python-which-bufname)
410 (python-file-queue, python-comint-output-filter-function)
411 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
412 variables and functions.
414 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
416 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
417 (completion-in-region-mode): New minor mode.
418 (completion-in-region): Use it.
419 (completion-in-region--data, completion-in-region-mode-map): New vars.
420 (completion-in-region--postch): New function.
421 (completion--capf-misbehave-funs, completion--capf-safe-funs):
423 (completion--capf-wrapper): New function.
424 (completion-at-point): Use it to track well-behavedness of
426 (completion-help-at-point): New command.
428 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
430 * vc/add-log.el (add-change-log-entry): Don't use whitespace
431 syntax class to search for whitespace on a single line
432 (Message-ID: <4D938140.4030905@redhat.com>).
434 2011-03-30 Leo Liu <sdl.web@gmail.com>
436 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
438 (edit-abbrevs-map): Bind them here.
439 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
441 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
443 * allout.el (allout-hide-by-annotation, allout-flag-region):
444 Reduce possibility of overlay leakage by making them volatile.
446 * allout-widgets.el (allout-widgets-tally): Define as nil so the
447 hash is not shared between buffers. Mode initialization is
448 responsible for giving it a useful starting value.
449 (allout-item-span): Reduce possibility of overlay leakage by
450 making them volatile.
451 (allout-widgets-count-buttons-in-region): Add diagnostic function
452 for tracking down button overlay leaks.
454 2011-03-29 Leo Liu <sdl.web@gmail.com>
456 * ido.el (ido-read-internal): Use the default history var
457 minibuffer-history if no HISTORY is specified.
459 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
461 * net/imap.el (imap-shell-open, imap-process-connection-type):
462 Use imap-process-connection-type for 'shell' streams as well as
463 Kerberos, SSL, other subprocesses.
465 2011-03-28 Leo Liu <sdl.web@gmail.com>
467 * abbrev.el (abbrev-table-empty-p): New function.
468 (prepare-abbrev-list-buffer): Place empty abbrev tables after
469 nonempty ones. (Bug#5937)
471 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
473 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
475 2011-03-27 Leo Liu <sdl.web@gmail.com>
477 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
478 for foreground and background colors.
479 (ansi-color-make-color-map): Adapt.
481 2011-03-25 Leo Liu <sdl.web@gmail.com>
483 * midnight.el (midnight-time-float): Remove. Note it calculates
484 the microsecond component incorrectly and seconds-to-time does the
486 Remove redundant (require 'timer).
488 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
489 (ido-completions): Remove unused arguments. (Bug#8329)
491 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
493 * minibuffer.el (completion--flush-all-sorted-completions):
494 Remove itself from hook.
495 (completion-at-point): Let the functions perform the completion
496 immediately and return nil or t.
497 * comint.el (comint-dynamic-complete-functions): Now identical to
498 completion-at-point-functions.
499 (comint-dynamic-list-input-ring): Remove unused var `index'.
500 (comint--match-partial-filename, comint--unquote&expand-filename):
501 New funs, split from comint-match-partial-filename.
502 (comint-dynamic-complete): Use completion-at-point.
503 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
505 2011-03-24 Drew Adams <drew.adams@oracle.com>
507 * thingatpt.el: Support `defun'.
509 2011-03-23 Leo Liu <sdl.web@gmail.com>
511 * abbrevlist.el: Move to obsolete/abbrevlist.el.
513 * help-mode.el (help-mode-finish): Tweak regexp.
515 2011-03-23 Glenn Morris <rgm@gnu.org>
517 * eshell/esh-opt.el (eshell-eval-using-options):
518 Do not bind unused local variable `eshell-option-stub'.
520 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
522 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
524 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
525 keymap variable in `with-no-warnings' to avoid a warning when the
526 keymap has been already `defconst'ed.
528 2011-03-22 Leo Liu <sdl.web@gmail.com>
530 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
531 encode all chars in abbrevs; otherwise use emacs-mule or
532 utf-8-emacs. (Bug#8308)
534 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
536 * simple.el (backward-delete-char-untabify):
537 Avoid warning about using `delete-backward-char'.
539 * image.el (image-type-file-name-regexps): Make it variable.
540 `imagemagick-register-types' modifies it, and the user may want
541 to add new extensions for known image types.
542 (imagemagick-register-types): Throw error if not using ImageMagick.
544 2011-03-22 Leo Liu <sdl.web@gmail.com>
546 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
547 located before rcirc-prompt-end-marker.
548 (rcirc-complete): Error if point is not after rcirc prompt.
549 Handle the case when table is nil.
550 (rcirc-user-authenticated): Define to fix compiler warning.
552 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
554 * custom.el (custom--inhibit-theme-enable): Make it affect only
555 custom-theme-set-variables and custom-theme-set-faces.
556 (provide-theme): Ignore custom--inhibit-theme-enable.
557 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
558 (custom-enabling-themes): Delete variable.
559 (enable-theme): Accept only loaded themes as arguments.
560 Ignore the special custom-enabled-themes variable.
561 (custom-enabled-themes): Forbid themes from setting this.
562 Eliminate use of custom-enabling-themes.
563 (custom-push-theme): Quote "changed" custom var entry.
565 2011-03-21 Leo Liu <sdl.web@gmail.com>
567 * ido.el (ido-read-internal): Add ido-selected to history instead
570 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
572 * subr.el (deferred-action-list, deferred-action-function):
575 2011-03-21 Leo Liu <sdl.web@gmail.com>
577 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
578 change on 2011-02-13 (bug#8309).
580 * minibuffer.el (read-file-name-function): Change default value.
581 (read-file-name--defaults): Rename from read-file-name-defaults.
582 (read-file-name-default): Rename from read-file-name.
583 (read-file-name): Call read-file-name-function.
585 2011-03-21 Glenn Morris <rgm@gnu.org>
587 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
590 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
592 * cus-theme.el: Add missing provide statement.
593 (customize-create-theme): Extract theme value correctly.
594 (custom-theme-visit-theme): Autoload.
595 (customize-create-theme): Prompt before inserting default faces.
597 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
599 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
600 units and musical notes.
602 2011-03-20 Leo <sdl.web@gmail.com>
604 * ido.el (ido-read-internal): Use completing-read-default.
605 (ido-completing-read): Fix compatibility with completing-read.
607 2011-03-20 Christian Ohler <ohler@gnu.org>
609 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
610 (ert-delete-all-tests): Use `called-interactively-p' rather than
612 (ert--make-xrefs-region): Respect END.
614 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
616 * dired-aux.el (dired-create-directory): Signal an error if the
617 directory already exists (Bug#8246).
619 * facemenu.el (list-colors-display): Call list-faces-display
620 inside with-help-window.
621 (list-colors-print): Use display property to align the final
622 column, instead of checking window-width.
624 2011-03-19 Eli Zaretskii <eliz@gnu.org>
626 * emerge.el (emerge-metachars): Separate value for ms-dos and
628 (emerge-protect-metachars): Quote correctly for ms-dos and
631 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
633 * info.el (info-initialize): Replace all uses of `:' with
634 path-separator for compatibility with non-Unix systems.
635 Cache quoting of path-separator. (Bug#8258)
637 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
639 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
640 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
641 (mouse-avoidance-mode): Fix typos in docstrings.
643 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
645 * startup.el (package-subdirectory-regexp): Move from package.el.
646 Omit \\` and \\', and let callers add them.
648 * emacs-lisp/package.el (package-strip-version)
649 (package-load-all-descriptors): Add \\` and \\' to
650 package-subdirectory-regexp before using it.
651 (package-untar-buffer): New arg DIR; ensure that file untars only
652 into this expected directory. Remove superfluous delete-region.
653 (package-unpack): Caller changed.
654 (package-tar-file-info): Use package-subdirectory-regexp.
656 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
658 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
659 diff-mode-shared-map (bug#8284).
660 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
662 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
664 * calendar/time-date.el (format-seconds): Use assoc instead of
665 assoc-string, since assoc-string doesn't exist in XEmacs.
667 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
669 * custom.el (custom-known-themes): Reflow docstring.
670 (custom-theme-load-path): Fix typo in docstring.
671 (load-theme): Fix typo in error message.
672 (custom-available-themes, custom-variable-theme-value):
673 Use `let', not `let*'.
675 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
677 * calc/README: Mention inclusion of musical notes.
679 * calc/calc-units.el (calc-lu-quant): Rename from
680 `calc-logunits-quantity'.
681 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
682 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
683 (calc-db): Rename from `calc-dblevel'.
684 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
685 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
686 (calc-np): Rename from `calc-nplevel'.
687 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
688 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
689 (calc-lu-plus): Rename from `calc-logunits-add'.
690 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
691 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
692 (calc-lu-minus): Rename from `calc-logunits-sub'.
693 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
694 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
695 (calc-lu-times): Rename from `calc-logunits-mul'.
696 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
697 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
698 (calc-lu-divide): Rename from `calc-logunits-div'.
699 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
700 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
702 * calc/calc-ext.el (calc-init-extensions): Update the names of the
703 functions being autoloaded.
705 * calc/calc.el (calc-lu-power-reference): Rename from
706 `calc-logunits-power-reference'.
707 (calc-lu-field-reference): Rename from
708 `calc-logunits-field-reference'.
710 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
712 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
714 * minibuffer.el (completion-all-sorted-completions):
715 Use :completion-cycle-penalty text property if present.
717 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
719 * allout.el (allout-yank-processing): Adjust for new rebulleting
720 regime so bullet being yanked is used without prompting the user
723 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
725 * startup.el (command-line): Warn the user that _emacs is deprecated.
727 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
729 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
730 (delphi-verbose, delphi-comment-face, delphi-string-face)
731 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
732 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
733 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
734 (delphi-new-comment-line, delphi-font-lock-defaults)
735 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
736 Fix typos in docstrings.
738 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
740 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
741 Invert the roles of character and string values for INSTEAD, so a
742 string is used for the more common case of a defaulting prompt.
744 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
746 * progmodes/ruby-mode.el (ruby-backward-sexp):
747 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
748 * play/gamegrid.el (gamegrid-make-face):
749 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
750 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
751 * notifications.el (notifications-notify):
752 * net/xesam.el (xesam-search-engines):
753 * net/quickurl.el (quickurl-list-insert):
754 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
756 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
758 * startup.el (command-line): Update package subdirectory regexp.
760 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
762 * allout.el (allout-abbreviate-flattened-numbering)
763 (allout-mode-deactivate-hook): Fix up obsolescence "date".
765 * subr.el (read-char-choice): Only show the cursor after the prompt,
766 not after the answer.
768 2011-03-15 Kevin Ryde <user42@zip.com.au>
770 * help-fns.el (variable-at-point): Skip leading quotes, if any
773 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
775 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
778 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
780 * shell.el (shell): When called interactively, offer to change the
781 shell file name on remote hosts.
783 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
785 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
786 integration for LDAP parameters. The host, base, user or binddn,
787 and secret tokens can be specified in a netrc file, for instance.
788 This is optional because an `auth-source' parameter must be
789 specified in the search attributes.
791 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
793 * help.el (describe-mode): Link to the mode's definition (bug#8185).
795 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
797 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
798 into declaration. Remove redundant and harmful binding.
800 2011-03-12 Eli Zaretskii <eliz@gnu.org>
802 * files.el (file-ownership-preserved-p): Pass `integer' as an
803 explicit 2nd argument to `file-attributes'. If the file's owner
804 is the Administrators group on Windows, and the current user is
805 Administrator, consider that a match.
807 * server.el (server-ensure-safe-dir): Consider server directory
808 safe on MS-Windows if its owner is the Administrators group while
809 the current Emacs user is Administrator. Use `=' to compare
810 numerical UIDs, since they could be integers or floats.
812 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
814 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
816 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
818 Sync with Tramp 2.2.1.
820 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
822 * net/trampver.el: Update release number.
824 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
826 * progmodes/compile.el (compilation--previous-directory): Fix up
827 various nil/dead-marker mismatches (bug#8014).
828 (compilation-directory-properties, compilation-error-properties):
829 Don't call it at a position past the one we're about to change.
831 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
832 Disable obsolescence warnings in the file that declares it.
834 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
836 * allout-widgets.el (allout-widgets-tally): Initialize
837 allout-widgets-tally as a hash table rather than nil to prevent
838 mode-line redisplay warnings.
839 Also, clarify the module description and fix a comment typo.
841 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
843 * help-fns.el (describe-variable): Don't complete keywords.
844 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
846 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
848 * emacs-lisp/package.el (package-version-join): Impose a standard
849 string representation for pre/alpha/beta version lists.
850 (package-unpack-single): Standardize the directory name by passing
851 it through package-version-join.
852 (package-strip-rcs-id): Accept any version string that does not
853 signal an error in version-to-list.
855 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
857 * simple.el (delete-trailing-whitespace): Return nil for the
858 benefit of `write-file-functions'.
860 2011-03-10 Glenn Morris <rgm@gnu.org>
862 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
864 * vc/vc-git.el (vc-git-program): New option.
865 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
866 (vc-git--call): Use it.
868 * eshell/esh-util.el (eshell-condition-case): Doc fix.
870 * cus-edit.el (Custom-newline): If no button at point, look
871 for a subgroup button at start-of-line. (Bug#2298)
873 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
875 2011-03-10 Julien Danjou <julien@danjou.info>
877 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
878 `cursor-type' is nil.
880 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
882 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
884 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
886 * allout.el Summary: Change so yank of distinctive-bullet items
887 preserves the existing header prefix, rebulleting it if necessary,
888 rather than replacing it. This is necessary for proper operation
889 of cooperative addons like allout-widgets.
890 (allout-make-topic-prefix, allout-rebullet-heading): Change
891 SOLICIT arg to INSTEAD, and interpret additionally a string value
892 as alternate bullet to be used, instead of prompting the user for
895 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
898 Do not use `tramp-file-name-port', because this returns also
899 `tramp-default-port'.
901 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
903 * net/rcirc.el (rcirc-handler-001): Remove useless
904 with-rcirc-process-buffer.
905 (rcirc-check-auth-status): Swap arguments to string-match.
907 2011-03-09 Glenn Morris <rgm@gnu.org>
909 * shell.el (shell-mode):
910 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
912 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
913 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
915 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
917 * emacs-lisp/package.el (package-refresh-contents)
918 (package-menu-execute): Use condition-case-no-debug.
920 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
922 * simple.el (shell-command-to-string): Use `process-file'.
924 * emacs-lisp/package.el (package-tar-file-info): Handle also
927 * emacs-lisp/package-x.el (package-upload-buffer-internal):
928 Use `equal' for upload base check.
930 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
932 * textmodes/texinfo.el (texinfo-environments):
933 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
935 2011-03-08 Glenn Morris <rgm@gnu.org>
937 * cus-start.el (cursor-in-non-selected-windows):
938 Fix :set quoting oddness. (Bug#8192)
940 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
941 in some setf expressions. (Bug#2159)
943 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
945 * custom.el (custom-available-themes): Return themes in
948 See ChangeLog.15 for earlier changes.
954 Copyright (C) 2011 Free Software Foundation, Inc.
956 This file is part of GNU Emacs.
958 GNU Emacs is free software: you can redistribute it and/or modify
959 it under the terms of the GNU General Public License as published by
960 the Free Software Foundation, either version 3 of the License, or
961 (at your option) any later version.
963 GNU Emacs is distributed in the hope that it will be useful,
964 but WITHOUT ANY WARRANTY; without even the implied warranty of
965 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
966 GNU General Public License for more details.
968 You should have received a copy of the GNU General Public License
969 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.