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