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