1 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
3 * autorevert.el (auto-revert-handler):
4 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
8 * image-mode.el (image-transform-set-scale):
9 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13 * net/network-stream.el (network-stream-open-starttls): Only do
14 opportunistic STARTTLS upgrades if we have built-in gnutls support.
15 Upgrades via gnutls-cli are too slow to be done opportunistically.
17 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19 * dframe.el (dframe-current-frame): Remove spurious quote.
21 2011-04-12 Glenn Morris <rgm@gnu.org>
23 * calendar/cal-tex.el (cal-tex-end-document):
24 Try to automatically use latin1 input if needed.
26 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
27 Don't try to cons a mark onto an empty element.
29 2011-04-11 Leo Liu <sdl.web@gmail.com>
31 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
33 (ido-kill-buffer-at-head): Support killing virtual buffers.
35 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
37 * minibuffer.el (completion-show-inline-help): New var.
38 (completion--do-completion, minibuffer-complete)
39 (minibuffer-force-complete, minibuffer-complete-word): Inhibit
40 minibuffer messages if completion-show-inline-help is nil.
42 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
43 to avoid interference from inline help (Bug#5849).
45 2011-04-10 Leo Liu <sdl.web@gmail.com>
47 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
50 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
52 * image-mode.el (image-toggle-display-image): Signal an error if
54 (image-transform-mode, image-transform-resize)
55 (image-transform-set-rotation): Doc fix.
56 (image-transform-set-resize): Deleted.
57 (image-transform-set-scale, image-transform-fit-to-height)
58 (image-transform-fit-to-width): Handle image-toggle-display-image
59 and image-transform-resize directly.
61 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
63 * doc-view.el (doc-view-fit-width-to-window)
64 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
65 New functions for fitting the shown image to the Emacs window size.
66 (doc-view-mode-map): Add bindings for the new functions.
68 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
70 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
71 Fix typo in docstring.
73 2011-04-08 Eli Zaretskii <eliz@gnu.org>
75 * files.el (file-size-human-readable): Produce one digit after
76 decimal, like "ls -lh" does.
78 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
79 the file size representation.
81 * simple.el (list-processes): If async subprocesses are not
82 available, error out with a clear error message.
84 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
86 * help.el (help-form-show): New function, to be called from C.
87 Put help-form output in a buffer named differently than *Help*.
89 2011-04-08 Eli Zaretskii <eliz@gnu.org>
91 * files.el (file-size-human-readable): New function.
93 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
94 computing the representation inline. Don't require `cl'.
96 2011-04-08 Glenn Morris <rgm@gnu.org>
98 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
100 * net/browse-url.el (browse-url-firefox):
101 Test system-type, not system-configuration.
103 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
104 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
105 Use log-edit-empty-buffer-p. (Bug#7598)
107 * net/rlogin.el (rlogin-process-connection-type): Simplify.
108 (rlogin-mode-map): Initialize in the defvar.
109 (rlogin): Use ignore-errors.
111 * replace.el (occur-mode-map): Some fixes for menu items.
113 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
115 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
117 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
119 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
120 issuing unused warnings.
122 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
125 * simple.el: Lisp reimplement of list-processes. Based on an
126 earlier reimplementation by Leo Liu, but using tabulated-list.el.
127 (process-menu-mode): New major mode.
128 (list-processes--refresh, list-processes):
129 (process-menu-visit-buffer): New functions.
131 * files.el (save-buffers-kill-emacs): Don't assume any return
132 value of list-processes, which is undocumented anyway.
134 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
136 * emacs-lisp/tabulated-list.el: New file.
138 * emacs-lisp/package.el: Use Tabulated List mode.
139 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
140 (package-menu-mode): Derive from tabulated-list-mode. Set up the
141 table format using Tabulated List mode variables.
142 (package--push): New macro, replacing package-list-maybe-add.
143 (package-menu--generate): Use package--push. Renamed from
144 package--generate-package-list.
145 (package-menu-refresh, list-packages): Use it.
146 (package-menu--print-info): Renamed from package-print-package.
147 Return insertion data instead of inserting it directly.
148 (package-menu-describe-package, package-menu-execute):
149 Use tabulated-list-get-id.
150 (package-menu-mark-delete, package-menu-mark-install)
151 (package-menu-mark-unmark, package-menu-backup-unmark)
152 (package-menu-mark-obsolete-for-deletion):
153 Use tabulated-list-put-tag.
154 (package--list-packages, package-menu-revert)
155 (package-menu-get-package, package-menu-get-version)
156 (package-menu-sort-by-column): Functions deleted.
157 (package-menu-package-list, package-menu-sort-key): Vars deleted.
158 (package-menu--status-predicate, package-menu--version-predicate)
159 (package-menu--name-predicate)
160 (package-menu--description-predicate): Handle arguments in the
161 Tabulated List format.
162 (package-list-packages-no-fetch): Call list-packages.
164 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
166 * files.el (after-find-file-from-revert-buffer): Remove variable.
167 (after-find-file): Dont' bind it.
168 (revert-buffer-in-progress-p): New variable.
169 (revert-buffer): Bind it.
170 Pass nil for `after-find-file-from-revert-buffer'.
172 * saveplace.el (save-place-find-file-hook): Use new variable
173 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
175 2011-04-06 Glenn Morris <rgm@gnu.org>
177 * Makefile.in (AUTOGEN_VCS): New variable.
178 (autoloads): Use $AUTOGEN_VCS.
180 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
181 * calendar/calendar.el (calendar-mode-map):
182 Check for toolkit scroll bars. (Bug#8305)
184 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
186 * minibuffer.el (completion-in-region--postch)
187 (completion-in-region-mode): Remove unnecessary messages.
189 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
191 * font-lock.el (font-lock-refresh-defaults):
192 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
193 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
195 * info.el (Info-directory-list, Info-read-node-name-2)
196 (Info-split-parameter-string): Doc fixes.
197 (Info-virtual-nodes): Reflow docstring.
198 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
199 (Info-apropos-toc-nodes, info-finder, Info-get-token)
200 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
201 Fix typos in docstrings.
202 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
203 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
204 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
205 (Info-restore-desktop-buffer): Mark unused parameters.
206 (Info-directory-find-file, Info-directory-find-node)
207 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
208 (Info-virtual-index-find-node, Info-apropos-find-file)
209 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
210 Mark unused parameters; fix typos in docstrings.
211 (Info-virtual-index): Remove unused local variable `nodename'.
213 2011-04-05 Deniz Dogan <deniz@dogan.se>
215 * net/rcirc.el: Update my e-mail address.
216 (rcirc-mode-map): Remove M-o binding.
218 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
220 * startup.el (command-line): Save the cursor's theme-face
221 directly, instead of using face-override-spec.
223 * custom.el (load-theme): Minor optimization in assigning faces.
225 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
227 * help-fns.el (describe-variable): Complete all variables having
228 documentation, including keywords.
229 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
231 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
233 Convert to lexical-binding.
235 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
236 (bs--get-marked-string, bs--get-modified-string)
237 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
238 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
239 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
241 * ehelp.el (electric-help-execute-extended)
242 (electric-help-ctrl-x-prefix):
243 * hexl.el (hexl-revert-buffer-function):
244 * linum.el (linum-after-change, linum-after-scroll):
245 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
247 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
249 2011-04-04 Daiki Ueno <ueno@unixuser.org>
256 * epg.el: Use lexical binding.
258 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
260 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
262 * textmodes/flyspell.el (flyspell-word): Recognize default
263 dictionary case for flyspell-mark-duplications-exceptions. Use
264 regexp matching for languages.
265 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
266 default dictionary (Bug#7926).
268 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
270 * emacs-lisp/package.el (package--with-work-buffer):
271 Recognize https URLs.
273 * net/network-stream.el: Move from gnus/proto-stream.el.
274 Change prefix to network-stream throughout.
275 (open-protocol-stream): Merge into open-network-stream, leaving
276 open-protocol-stream as an alias. Handle nil BUFFER args.
278 * subr.el (open-network-stream): Move to net/network-stream.el.
280 2011-04-02 Glenn Morris <rgm@gnu.org>
282 * find-dired.el (find-exec-terminator): New option.
283 (find-ls-option): Test for -ls support.
284 (find-ls-subdir-switches): Test for -b in find-ls-option.
285 (find-dired, find-grep-dired): Doc fixes.
286 (find-dired): Use find-exec-terminator.
288 * find-dired.el (find-ls-option, find-ls-subdir-switches)
289 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
290 (find-name-arg): Remove purecopy.
292 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
293 (grep-compute-defaults): Check for `-exec COMMAND +' support.
294 Set grep-find-use-xargs, grep-find-command, and grep-find-template
295 accordingly. Don't add the null-device if not needed.
297 * files.el (save-some-buffers): Doc fix.
299 2011-04-02 Eli Zaretskii <eliz@gnu.org>
301 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
303 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
305 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
306 Use `dolist' rather than `mapcar'.
308 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
312 * subr.el (apply-partially): Use new closures rather than CL.
313 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
314 (dolist, dotimes): Use slightly different expansion for lexical code.
315 (functionp): Move to C.
317 (with-wrapper-hook): Use it and apply-partially instead of CL.
318 (eval-after-load): Preserve lexical-binding.
319 (save-window-excursion, with-output-to-temp-buffer): Turn them
322 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
324 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
326 (help-add-fundoc-usage): Don't add `Not documented'.
327 (help-function-arglist): Handle closures, subroutines, and new
329 (help-make-usage): Remove leading underscores.
330 (describe-function-1): Handle closures.
331 (describe-variable): Use special-variable-p for completion.
333 * files.el (lexical-binding): Declare safe.
335 * emacs-lisp/pcase.el: Don't use destructuring-bind.
336 (pcase--memoize): Rename from pcase-memoize. Change weakness.
337 (pcase): Add `let' pattern.
338 Change memoization so it actually works.
339 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
340 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
343 * emacs-lisp/macroexp.el: Use lexical binding.
344 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
345 Don't convert ' to #' without checking that it's indeed quoting
348 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
349 Use eval-sexp-add-defvars.
350 (eval-sexp-add-defvars): New fun.
352 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
354 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
356 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
357 than the internal `byte-compile-lambda'.
358 (defmethod): Don't hide code under quotes.
359 (eieio-defmethod): New `code' argument.
361 * emacs-lisp/eieio-comp.el: Remove.
363 * emacs-lisp/edebug.el (edebug-eval-defun)
364 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
365 (edebug-toggle): Avoid `eval'.
367 * emacs-lisp/disass.el (disassemble-internal): Handle new
369 (disassemble-1): Handle new byte codes.
371 * emacs-lisp/cl.el (pushnew): Silence warning.
373 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
374 (cl-byte-compile-throw): Remove.
375 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
377 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
380 * emacs-lisp/cconv.el: New file.
382 * emacs-lisp/bytecomp.el: Use lexical binding instead of
383 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
384 (byte-compile-initial-macro-environment):
385 Handle declare-function here.
386 (byte-compile--lexical-environment): New var.
387 (byte-stack-ref, byte-stack-set, byte-discardN)
388 (byte-discardN-preserve-tos): New lap codes.
389 (byte-interactive-p): Don't use any more.
390 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
392 (byte-compile-lapcode): Use them and handle new lap codes.
393 (byte-compile-obsolete): Remove.
394 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
395 (byte-compile-arglist-warn): Check late def of inlinable funs.
396 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
397 since they should have been expanded by now.
398 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
399 (byte-compile-from-buffer): Remove unused second arg.
400 (byte-compile-preprocess): New function.
401 (byte-compile-toplevel-file-form): New function to distinguish
402 file-form calls from outside from file-form calls from hunk-handlers.
403 (byte-compile-file-form): Simplify.
404 (byte-compile-file-form-defsubst): Remove.
405 (byte-compile-file-form-defmumble): Simplify now that
406 byte-compile-lambda always returns a byte-code-function.
407 (byte-compile): Preprocess.
408 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
409 Remove, not used any more.
410 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
411 (byte-compile-make-args-desc): New funs.
412 (byte-compile-lambda): Handle lexical functions. Always return
413 a byte-code-function.
414 (byte-compile-reserved-constants): New var, to make up room for
415 closed-over variables.
416 (byte-compile-constants-vector): Obey it.
417 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
418 (byte-compile-macroexpand-declare-function): New function.
419 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
421 (byte-compile-form): Check obsolescence here.
422 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
423 (byte-compile-variable-ref): Remove.
424 (byte-compile-dynamic-variable-op): New fun.
425 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
426 (byte-compile-variable-set): New funs.
427 (byte-compile-discard): Add 2 args.
428 (byte-compile-stack-ref, byte-compile-stack-set)
429 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
430 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
431 macroexpand-all instead.
432 (byte-compile-quote-form): Remove.
433 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
434 (byte-compile-bind, byte-compile-unbind): New funs.
435 (byte-compile-let): Handle let* and lexical binding.
436 (byte-compile-let*): Remove.
437 (byte-compile-catch, byte-compile-unwind-protect)
438 (byte-compile-track-mouse, byte-compile-condition-case):
439 Handle a new :fun-body form, used for lexical scoping.
440 (byte-compile-save-window-excursion)
441 (byte-compile-with-output-to-temp-buffer): Remove.
442 (byte-compile-defun): Simplify.
443 (byte-compile-stack-adjustment): New fun.
444 (byte-compile-out): Use it.
445 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
447 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
450 * emacs-lisp/byte-opt.el: Use lexical binding.
451 (byte-inline-lapcode): Remove (to bytecomp).
452 (byte-compile-inline-expand): Pay attention to inlining to/from
453 lexically bound code.
454 (byte-compile-unfold-lambda): Don't handle byte-code-functions
456 (byte-optimize-form-code-walker): Don't handle save-window-excursion
457 any more and don't call compiler-macros.
458 (byte-compile-splice-in-already-compiled-code): Remove.
459 (byte-code): Don't inline any more.
460 (disassemble-offset): Receive `bytes' as argument rather than via
462 (byte-compile-tag-number): Declare before first use.
463 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
464 `return' even if make-spliceable.
465 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
466 obsolete interactive-p.
467 (byte-optimize-lapcode): Optimize new lap-codes.
468 Don't trip up on new form of `byte-constant' lap code.
470 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
472 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
474 * custom.el (custom-initialize-default, custom-declare-variable):
477 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
479 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
480 (COMPILE_FIRST): Add macroexp and cconv.
481 * makefile.w32-in: Mirror changes in Makefile.in.
488 * textmodes/bibtex-style.el:
497 * emacs-lisp/smie.el:
500 * abbrev.el: Use lexical binding.
502 2011-04-01 Eli Zaretskii <eliz@gnu.org>
504 * info.el (info-display-manual): New function.
506 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
508 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
510 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
512 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
513 an entry for that server in rcirc-authinfo. (Bug#8385)
515 2011-03-31 Glenn Morris <rgm@gnu.org>
517 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
519 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
521 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
523 * progmodes/python.el (python-default-interpreter)
524 (python-python-command-args, python-jython-command-args)
525 (python-which-shell, python-which-args, python-which-bufname)
526 (python-file-queue, python-comint-output-filter-function)
527 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
528 variables and functions.
530 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
532 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
533 (completion-in-region-mode): New minor mode.
534 (completion-in-region): Use it.
535 (completion-in-region--data, completion-in-region-mode-map): New vars.
536 (completion-in-region--postch): New function.
537 (completion--capf-misbehave-funs, completion--capf-safe-funs):
539 (completion--capf-wrapper): New function.
540 (completion-at-point): Use it to track well-behavedness of
542 (completion-help-at-point): New command.
544 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
546 * vc/add-log.el (add-change-log-entry): Don't use whitespace
547 syntax class to search for whitespace on a single line
548 (Message-ID: <4D938140.4030905@redhat.com>).
550 2011-03-30 Leo Liu <sdl.web@gmail.com>
552 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
554 (edit-abbrevs-map): Bind them here.
555 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
557 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
559 * allout.el (allout-hide-by-annotation, allout-flag-region):
560 Reduce possibility of overlay leakage by making them volatile.
562 * allout-widgets.el (allout-widgets-tally): Define as nil so the
563 hash is not shared between buffers. Mode initialization is
564 responsible for giving it a useful starting value.
565 (allout-item-span): Reduce possibility of overlay leakage by
566 making them volatile.
567 (allout-widgets-count-buttons-in-region): Add diagnostic function
568 for tracking down button overlay leaks.
570 2011-03-29 Leo Liu <sdl.web@gmail.com>
572 * ido.el (ido-read-internal): Use the default history var
573 minibuffer-history if no HISTORY is specified.
575 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
577 * net/imap.el (imap-shell-open, imap-process-connection-type):
578 Use imap-process-connection-type for 'shell' streams as well as
579 Kerberos, SSL, other subprocesses.
581 2011-03-28 Leo Liu <sdl.web@gmail.com>
583 * abbrev.el (abbrev-table-empty-p): New function.
584 (prepare-abbrev-list-buffer): Place empty abbrev tables after
585 nonempty ones. (Bug#5937)
587 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
589 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
591 2011-03-27 Leo Liu <sdl.web@gmail.com>
593 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
594 for foreground and background colors.
595 (ansi-color-make-color-map): Adapt.
597 2011-03-25 Leo Liu <sdl.web@gmail.com>
599 * midnight.el (midnight-time-float): Remove. Note it calculates
600 the microsecond component incorrectly and seconds-to-time does the
602 Remove redundant (require 'timer).
604 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
605 (ido-completions): Remove unused arguments. (Bug#8329)
607 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
609 * minibuffer.el (completion--flush-all-sorted-completions):
610 Remove itself from hook.
611 (completion-at-point): Let the functions perform the completion
612 immediately and return nil or t.
613 * comint.el (comint-dynamic-complete-functions): Now identical to
614 completion-at-point-functions.
615 (comint-dynamic-list-input-ring): Remove unused var `index'.
616 (comint--match-partial-filename, comint--unquote&expand-filename):
617 New funs, split from comint-match-partial-filename.
618 (comint-dynamic-complete): Use completion-at-point.
619 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
621 2011-03-24 Drew Adams <drew.adams@oracle.com>
623 * thingatpt.el: Support `defun'.
625 2011-03-23 Leo Liu <sdl.web@gmail.com>
627 * abbrevlist.el: Move to obsolete/abbrevlist.el.
629 * help-mode.el (help-mode-finish): Tweak regexp.
631 2011-03-23 Glenn Morris <rgm@gnu.org>
633 * eshell/esh-opt.el (eshell-eval-using-options):
634 Do not bind unused local variable `eshell-option-stub'.
636 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
638 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
640 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
641 keymap variable in `with-no-warnings' to avoid a warning when the
642 keymap has been already `defconst'ed.
644 2011-03-22 Leo Liu <sdl.web@gmail.com>
646 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
647 encode all chars in abbrevs; otherwise use emacs-mule or
648 utf-8-emacs. (Bug#8308)
650 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
652 * simple.el (backward-delete-char-untabify):
653 Avoid warning about using `delete-backward-char'.
655 * image.el (image-type-file-name-regexps): Make it variable.
656 `imagemagick-register-types' modifies it, and the user may want
657 to add new extensions for known image types.
658 (imagemagick-register-types): Throw error if not using ImageMagick.
660 2011-03-22 Leo Liu <sdl.web@gmail.com>
662 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
663 located before rcirc-prompt-end-marker.
664 (rcirc-complete): Error if point is not after rcirc prompt.
665 Handle the case when table is nil.
666 (rcirc-user-authenticated): Define to fix compiler warning.
668 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
670 * custom.el (custom--inhibit-theme-enable): Make it affect only
671 custom-theme-set-variables and custom-theme-set-faces.
672 (provide-theme): Ignore custom--inhibit-theme-enable.
673 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
674 (custom-enabling-themes): Delete variable.
675 (enable-theme): Accept only loaded themes as arguments.
676 Ignore the special custom-enabled-themes variable.
677 (custom-enabled-themes): Forbid themes from setting this.
678 Eliminate use of custom-enabling-themes.
679 (custom-push-theme): Quote "changed" custom var entry.
681 2011-03-21 Leo Liu <sdl.web@gmail.com>
683 * ido.el (ido-read-internal): Add ido-selected to history instead
686 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
688 * subr.el (deferred-action-list, deferred-action-function):
691 2011-03-21 Leo Liu <sdl.web@gmail.com>
693 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
694 change on 2011-02-13 (bug#8309).
696 * minibuffer.el (read-file-name-function): Change default value.
697 (read-file-name--defaults): Rename from read-file-name-defaults.
698 (read-file-name-default): Rename from read-file-name.
699 (read-file-name): Call read-file-name-function.
701 2011-03-21 Glenn Morris <rgm@gnu.org>
703 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
706 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
708 * cus-theme.el: Add missing provide statement.
709 (customize-create-theme): Extract theme value correctly.
710 (custom-theme-visit-theme): Autoload.
711 (customize-create-theme): Prompt before inserting default faces.
713 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
715 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
716 units and musical notes.
718 2011-03-20 Leo <sdl.web@gmail.com>
720 * ido.el (ido-read-internal): Use completing-read-default.
721 (ido-completing-read): Fix compatibility with completing-read.
723 2011-03-20 Christian Ohler <ohler@gnu.org>
725 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
726 (ert-delete-all-tests): Use `called-interactively-p' rather than
728 (ert--make-xrefs-region): Respect END.
730 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
732 * dired-aux.el (dired-create-directory): Signal an error if the
733 directory already exists (Bug#8246).
735 * facemenu.el (list-colors-display): Call list-faces-display
736 inside with-help-window.
737 (list-colors-print): Use display property to align the final
738 column, instead of checking window-width.
740 2011-03-19 Eli Zaretskii <eliz@gnu.org>
742 * emerge.el (emerge-metachars): Separate value for ms-dos and
744 (emerge-protect-metachars): Quote correctly for ms-dos and
747 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de> (tiny change)
749 * info.el (info-initialize): Replace all uses of `:' with
750 path-separator for compatibility with non-Unix systems.
751 Cache quoting of path-separator. (Bug#8258)
753 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
755 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
756 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
757 (mouse-avoidance-mode): Fix typos in docstrings.
759 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
761 * startup.el (package-subdirectory-regexp): Move from package.el.
762 Omit \\` and \\', and let callers add them.
764 * emacs-lisp/package.el (package-strip-version)
765 (package-load-all-descriptors): Add \\` and \\' to
766 package-subdirectory-regexp before using it.
767 (package-untar-buffer): New arg DIR; ensure that file untars only
768 into this expected directory. Remove superfluous delete-region.
769 (package-unpack): Caller changed.
770 (package-tar-file-info): Use package-subdirectory-regexp.
772 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
774 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
775 diff-mode-shared-map (bug#8284).
776 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
778 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
780 * calendar/time-date.el (format-seconds): Use assoc instead of
781 assoc-string, since assoc-string doesn't exist in XEmacs.
783 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
785 * custom.el (custom-known-themes): Reflow docstring.
786 (custom-theme-load-path): Fix typo in docstring.
787 (load-theme): Fix typo in error message.
788 (custom-available-themes, custom-variable-theme-value):
789 Use `let', not `let*'.
791 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
793 * calc/README: Mention inclusion of musical notes.
795 * calc/calc-units.el (calc-lu-quant): Rename from
796 `calc-logunits-quantity'.
797 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
798 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
799 (calc-db): Rename from `calc-dblevel'.
800 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
801 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
802 (calc-np): Rename from `calc-nplevel'.
803 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
804 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
805 (calc-lu-plus): Rename from `calc-logunits-add'.
806 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
807 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
808 (calc-lu-minus): Rename from `calc-logunits-sub'.
809 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
810 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
811 (calc-lu-times): Rename from `calc-logunits-mul'.
812 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
813 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
814 (calc-lu-divide): Rename from `calc-logunits-div'.
815 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
816 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
818 * calc/calc-ext.el (calc-init-extensions): Update the names of the
819 functions being autoloaded.
821 * calc/calc.el (calc-lu-power-reference): Rename from
822 `calc-logunits-power-reference'.
823 (calc-lu-field-reference): Rename from
824 `calc-logunits-field-reference'.
826 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
828 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
830 * minibuffer.el (completion-all-sorted-completions):
831 Use :completion-cycle-penalty text property if present.
833 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
835 * allout.el (allout-yank-processing): Adjust for new rebulleting
836 regime so bullet being yanked is used without prompting the user
839 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
841 * startup.el (command-line): Warn the user that _emacs is deprecated.
843 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
845 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
846 (delphi-verbose, delphi-comment-face, delphi-string-face)
847 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
848 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
849 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
850 (delphi-new-comment-line, delphi-font-lock-defaults)
851 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
852 Fix typos in docstrings.
854 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
856 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
857 Invert the roles of character and string values for INSTEAD, so a
858 string is used for the more common case of a defaulting prompt.
860 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
862 * progmodes/ruby-mode.el (ruby-backward-sexp):
863 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
864 * play/gamegrid.el (gamegrid-make-face):
865 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
866 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
867 * notifications.el (notifications-notify):
868 * net/xesam.el (xesam-search-engines):
869 * net/quickurl.el (quickurl-list-insert):
870 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
872 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
874 * startup.el (command-line): Update package subdirectory regexp.
876 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
878 * allout.el (allout-abbreviate-flattened-numbering)
879 (allout-mode-deactivate-hook): Fix up obsolescence "date".
881 * subr.el (read-char-choice): Only show the cursor after the prompt,
882 not after the answer.
884 2011-03-15 Kevin Ryde <user42@zip.com.au>
886 * help-fns.el (variable-at-point): Skip leading quotes, if any
889 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
891 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
894 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
896 * shell.el (shell): When called interactively, offer to change the
897 shell file name on remote hosts.
899 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
901 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
902 integration for LDAP parameters. The host, base, user or binddn,
903 and secret tokens can be specified in a netrc file, for instance.
904 This is optional because an `auth-source' parameter must be
905 specified in the search attributes.
907 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
909 * help.el (describe-mode): Link to the mode's definition (bug#8185).
911 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
913 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
914 into declaration. Remove redundant and harmful binding.
916 2011-03-12 Eli Zaretskii <eliz@gnu.org>
918 * files.el (file-ownership-preserved-p): Pass `integer' as an
919 explicit 2nd argument to `file-attributes'. If the file's owner
920 is the Administrators group on Windows, and the current user is
921 Administrator, consider that a match.
923 * server.el (server-ensure-safe-dir): Consider server directory
924 safe on MS-Windows if its owner is the Administrators group while
925 the current Emacs user is Administrator. Use `=' to compare
926 numerical UIDs, since they could be integers or floats.
928 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
930 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
932 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
934 Sync with Tramp 2.2.1.
936 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
938 * net/trampver.el: Update release number.
940 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
942 * progmodes/compile.el (compilation--previous-directory): Fix up
943 various nil/dead-marker mismatches (bug#8014).
944 (compilation-directory-properties, compilation-error-properties):
945 Don't call it at a position past the one we're about to change.
947 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
948 Disable obsolescence warnings in the file that declares it.
950 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
952 * allout-widgets.el (allout-widgets-tally):
953 Initialize allout-widgets-tally as a hash table rather than nil to
954 prevent mode-line redisplay warnings. Also, clarify the module
955 description and fix a comment typo.
957 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
959 * help-fns.el (describe-variable): Don't complete keywords.
960 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
962 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
964 * emacs-lisp/package.el (package-version-join): Impose a standard
965 string representation for pre/alpha/beta version lists.
966 (package-unpack-single): Standardize the directory name by passing
967 it through package-version-join.
968 (package-strip-rcs-id): Accept any version string that does not
969 signal an error in version-to-list.
971 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
973 * simple.el (delete-trailing-whitespace): Return nil for the
974 benefit of `write-file-functions'.
976 2011-03-10 Glenn Morris <rgm@gnu.org>
978 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
980 * vc/vc-git.el (vc-git-program): New option.
981 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
982 (vc-git--call): Use it.
984 * eshell/esh-util.el (eshell-condition-case): Doc fix.
986 * cus-edit.el (Custom-newline): If no button at point, look
987 for a subgroup button at start-of-line. (Bug#2298)
989 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
991 2011-03-10 Julien Danjou <julien@danjou.info>
993 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
994 `cursor-type' is nil.
996 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
998 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
1000 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
1002 * allout.el Summary: Change so yank of distinctive-bullet items
1003 preserves the existing header prefix, rebulleting it if necessary,
1004 rather than replacing it. This is necessary for proper operation
1005 of cooperative addons like allout-widgets.
1006 (allout-make-topic-prefix, allout-rebullet-heading): Change
1007 SOLICIT arg to INSTEAD, and interpret additionally a string value
1008 as alternate bullet to be used, instead of prompting the user for
1011 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
1013 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1014 Do not use `tramp-file-name-port', because this returns also
1015 `tramp-default-port'.
1017 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1019 * net/rcirc.el (rcirc-handler-001): Remove useless
1020 with-rcirc-process-buffer.
1021 (rcirc-check-auth-status): Swap arguments to string-match.
1023 2011-03-09 Glenn Morris <rgm@gnu.org>
1025 * shell.el (shell-mode):
1026 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
1028 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
1029 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
1031 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1033 * emacs-lisp/package.el (package-refresh-contents)
1034 (package-menu-execute): Use condition-case-no-debug.
1036 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
1038 * simple.el (shell-command-to-string): Use `process-file'.
1040 * emacs-lisp/package.el (package-tar-file-info): Handle also
1043 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1044 Use `equal' for upload base check.
1046 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
1048 * textmodes/texinfo.el (texinfo-environments):
1049 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
1051 2011-03-08 Glenn Morris <rgm@gnu.org>
1053 * cus-start.el (cursor-in-non-selected-windows):
1054 Fix :set quoting oddness. (Bug#8192)
1056 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
1057 in some setf expressions. (Bug#2159)
1059 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
1061 * custom.el (custom-available-themes): Return themes in
1064 See ChangeLog.15 for earlier changes.
1070 Copyright (C) 2011 Free Software Foundation, Inc.
1072 This file is part of GNU Emacs.
1074 GNU Emacs is free software: you can redistribute it and/or modify
1075 it under the terms of the GNU General Public License as published by
1076 the Free Software Foundation, either version 3 of the License, or
1077 (at your option) any later version.
1079 GNU Emacs is distributed in the hope that it will be useful,
1080 but WITHOUT ANY WARRANTY; without even the implied warranty of
1081 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1082 GNU General Public License for more details.
1084 You should have received a copy of the GNU General Public License
1085 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.