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