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