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