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