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