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