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