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