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