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