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