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