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