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