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