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