* dired.el (dired-mode): Fix up the doc string as suggested by
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5bd35902
LMI
12011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
191e2bed
LMI
3 * dired.el (dired-mode): Fix up the doc string as suggested by
4 Drew Adams (bug#8817).
5
5bd35902
LMI
6 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
7 cookie, since the manual says that it should be possible to add
8 this function to `find-file-hook' (bug#8709).
9
eee8207a
TZ
102011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11
12 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13 here. Noted Ted Zlatanov as the maintainer.
14 (cfengine-common-settings, cfengine-common-syntax): New functions
15 to set up common things between `cfengine-mode' and
16 `cfengine3-mode'.
17 (cfengine3-mode): New mode.
18 (cfengine3-defuns cfengine3-defuns-regex
19 (cfengine3-class-selector-regex cfengine3-category-regex)
20 (cfengine3-vartypes cfengine3-font-lock-keywords)
21 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22 (cfengine3-indent-line): Added from cfengine3.el.
23
36b148cf
MA
242011-07-01 Michael Albinus <michael.albinus@gmx.de>
25
26 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
27
28 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
29
0bf4ba9a
MR
302011-07-01 Martin Rudalics <rudalics@gmx.at>
31
32 * window.el (same-window-buffer-names, same-window-regexps)
33 (same-window-p, special-display-frame-alist)
34 (special-display-popup-frame, special-display-function)
35 (special-display-buffer-names, special-display-regexps)
36 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
37 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
38 (split-window-preferred-function, split-height-threshold)
39 (split-width-threshold, even-window-heights)
40 (display-buffer-mark-dedicated, window-splittable-p)
41 (split-window-sensibly, window-safely-shrinkable-p):
42 Un-obsolete.
43 (display-buffer): Don't spread args with function specifier
44 because special-display-popup-frame won't like it.
45
35837f51
PE
462011-07-01 Paul Eggert <eggert@cs.ucla.edu>
47
d0672f86
PE
48 Time-stamp simplifications and fixes.
49 These improve accuracy slightly, and future-proof the code
50 against some potential changes to current-time format.
51
b9444d97
PE
52 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
53 by using time-since and float-time.
54
0ef923dc
PE
55 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
56 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
57 + NNN microseconds".
58
2f81380d
PE
59 * type-break.el (type-break-time-sum): Rewrite using time-add.
60
845b5c3e
PE
61 * play/hanoi.el (hanoi-current-time-float): Remove.
62 All uses replaced by float-time.
63
ee6f1be0
PE
64 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
65 This yields a more-accurate answer.
66 (rng-time-to-float): Remove; no longer needed.
67
fe955043
PE
68 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
69
5777162a
PE
70 * calendar/timeclock.el (timeclock-seconds-to-time):
71 Defalias to seconds-to-time, since they're the same thing.
72
3103f8b6 73 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 74 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
75 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
76
0e61a35f
SM
772011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * window.el (bury-buffer): Don't iconify the only frame.
80 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
81 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
82
ddd63a1e
CY
832011-07-01 Chong Yidong <cyd@stupidchicken.com>
84
0e61a35f
SM
85 * eshell/em-smart.el (eshell-smart-display-navigate-list):
86 Add mouse-yank-primary.
ddd63a1e 87
055f4923
TZ
882011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
89
90 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
91
6a2fb145
SM
922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * emacs-lisp/find-func.el (find-library--load-name): New fun.
95 (find-library-name): Use it to find relative load names when provided
96 absolute file name (bug#8803).
97
fd4983f2
LMI
982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
99
887d14ad
LMI
100 * textmodes/flyspell.el (flyspell-word): Consider words that
101 differ only in case as potential doublons (bug#5687).
102
c53dc7fc
LMI
103 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
104 Remove two rather uninteresting debugging-like messages to make
105 debbugs.el more silent.
106
fd4983f2
LMI
107 * comint.el (comint-password-prompt-regexp): Accept "Response" as
108 a password-like phrase.
109
b14c0c55
AM
1102011-06-30 Mastake YAMATO <yamato@redhat.com>
111
112 * progmodes/cc-guess.el: New file.
113
6a2fb145 114 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
115
116 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
117 derived from `c-basic-common-init'.
118
119 * progmodes/cc-mode.el (top-level): Require cc-guess.
120 (c-basic-common-init): Use `cc-choose-style-for-mode'.
121
1fa280a3
LM
1222011-06-30 Lawrence Mitchell <wence@gmx.li>
123
124 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
125
e6597158
AM
1262011-06-30 Alan Mackenzie <acm@muc.de>
127
1fa280a3
LM
128 * progmodes/cc-engine.el (c-guess-continued-construct):
129 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
130 lock is disabled. Name this case as "CASE G".
131
68ba37fb
KM
1322011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
133
134 * allout.el (allout-yank-processing): Fix injection of extra space
135 between bullet and non-whitespace character in first topic when
136 pasting, ensuring that the actual spacing in the pasted topic
137 following the bullet char is preserved. This extra space was
138 causing pasted encrypted topics to get a decrypted status even
139 when the content was actually still encrypted. Now the decryption
140 status from before the paste is preserved.
141
142 (allout-flag-region): Set all allout overlays so they evaporate
143 when reduced to zero length (evanescent), to prevent overlay
144 leakage.
145
887a0b34
GM
1462011-06-30 Glenn Morris <rgm@gnu.org>
147
94b9acce
GM
148 * w32-fns.el (w32-charset-info-alist): Declare.
149
1d9b46d4
GM
150 * find-dired.el (find-grep-options): Simplify.
151
cc232200
GM
152 * term/ns-win.el (ns-set-resource): Declare.
153
28e77c46
GM
154 * ses.el (row, col): Declare dynamic variables honestly.
155
887a0b34
GM
156 * textmodes/reftex-parse.el (index-tags): Declare.
157
658d8eb8
CY
1582011-06-30 Chong Yidong <cyd@stupidchicken.com>
159
160 * cus-edit.el (customize-push-and-save): New function.
161
162 * files.el (hack-local-variables-confirm): Use it.
163
1fa280a3
LM
164 * custom.el (load-theme): New arg NO-CONFIRM.
165 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
166 (custom-enabled-themes): Doc fix.
167
168 * cus-theme.el (customize-create-theme)
169 (custom-theme-merge-theme): Callers to load-theme changed.
170
bb617717
LMI
1712011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
172
d61bdd5d
LMI
173 * thingatpt.el (thing-at-point-short-url-regexp): Require that
174 short URLs have at least one dot in them (bug #7614).
175
bb617717
LMI
176 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
177 nil, because using a pty is apparently too slow (bug #895).
178
2f31f37a
LMI
1792011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
180
181 * mail/sendmail.el (sendmail-query-once): New function.
182 (sendmail-query-once-function): New variable.
183
3076b24e
GM
1842011-06-29 Glenn Morris <rgm@gnu.org>
185
faf2a174
GM
186 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
187
3076b24e
GM
188 * ses.el (top-level): Require cl when compiling.
189 (ses-set-localvars): Fix error statement.
190 Call it at compile time to silence a storm of warnings.
191
5386012d
MR
1922011-06-29 Martin Rudalics <rudalics@gmx.at>
193
194 * window.el (normalize-live-buffer): Rename to
195 window-normalize-buffer.
196 (normalize-live-frame): Rename to window-normalize-frame.
197 (normalize-any-window): Rename to window-normalize-any-window.
198 (normalize-live-window): Rename to window-normalize-live-window.
199 (make-window-atom): Rename to window-make-atom.
200 (window-resize-reset): Rename to window--resize-reset.
201 (window-resize-reset-1): Rename to window--resize-reset-1.
202 (resize-mini-window): Rename to window--resize-mini-window.
203 (resize-subwindows-skip-p): Rename to
204 window--resize-subwindows-skip-p.
205 (resize-subwindows-normal): Rename to
206 window--resize-subwindows-normal.
207 (resize-subwindows): Rename to window--resize-subwindows.
208 (resize-other-windows): Rename to window--resize-siblings.
209 (resize-this-window): Rename to window--resize-this-window.
210 (resize-root-window): Rename to window--resize-root-window.
211 (resize-root-window-vertically): Rename to
212 window--resize-root-window-vertically.
213 (normalize-buffer-to-display): Rename to
214 window-normalize-buffer-to-display.
215 (normalize-buffer-to-switch-to): Rename to
216 window-normalize-buffer-to-switch-to.
217 Correspondingly update all callers of the functions listed
218 above.
219 (display-buffer-alist, display-buffer-normalize-arguments)
220 (display-buffer-normalize-options, display-buffer)
221 (display-buffer-alist-set): Use "function" instead of
222 "fun-with-args".
223
1176868d
CY
2242011-06-28 Chong Yidong <cyd@stupidchicken.com>
225
226 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
227 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
228 debbugs.gnu.org. Mention acknowledgment email.
229
20a7a65f
LMI
2302011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
231
232 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
233 buffer multibyteness, since it shouldn't matter.
234
5f45cca5
MR
2352011-06-28 Martin Rudalics <rudalics@gmx.at>
236
237 * window.el (display-buffer-in-side-window): Handle dedicated
238 windows as in display-buffer-reuse-window.
239 (display-buffer-normalize-alist): Use value of override
240 specifier.
241 (display-buffer-normalize-specifiers): Use value of
242 other-window-means-other-frame specifier.
243 (display-buffer-alist): Rewrite some texts in widgets.
244 (display-buffer): Spread arguments when calling function
245 specified by fun-with-args.
246
ad85fe1f
DD
2472011-06-28 Deniz Dogan <deniz@dogan.se>
248
1fa280a3
LM
249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
250 Unnest `let'.
da68c4c8 251
ad85fe1f
DD
252 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
253 selectors (Bug#5732).
ec49bd31 254 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 255
a08cc025
JA
2562011-06-27 Jari Aalto <jari.aalto@cante.net>
257
258 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
259 (eshell-ls-date-format): New defcustom.
260 (eshell-ls-file): Use it.
261
e2b551c5
SM
2622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * help-fns.el (describe-variable): Fix message for terminal-local vars.
265
8982b231
KY
2662011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
267
268 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
269 (ange-ftp-make-tmp-name): New arg.
270 (ange-ftp-file-local-copy): Use it.
271
36c9fa27
J
2722011-06-27 Jambunathan K <kjambunathan@gmail.com>
273
274 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
275 no-conversion (Bug#8870).
276
d68443dc
MR
2772011-06-27 Martin Rudalics <rudalics@gmx.at>
278
279 * window.el (window-right, window-left, window-child)
280 (window-child-count, window-last-child)
281 (window-iso-combination-p, walk-window-tree-1)
282 (window-atom-check-1, window-tree-1, delete-window)
283 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
284 new naming conventions - window-vchild, window-hchild,
285 window-next and window-prev are now called window-top-child,
286 window-left-child, window-next-sibling and window-prev-sibling
287 respectively.
d615d6d2
MR
288 (resize-window-reset): Rename to window-resize-reset.
289 (resize-window-reset-1): Rename to window-resize-reset-1.
290 (resize-window): Rename to window-resize.
291 (window-min-height, window-min-width)
292 (resize-mini-window, resize-this-window, resize-root-window)
293 (resize-root-window-vertically, adjust-window-trailing-edge)
294 (enlarge-window, shrink-window, maximize-window)
295 (minimize-window, delete-window, quit-restore-window)
296 (split-window, balance-windows, balance-windows-area-adjust)
297 (balance-windows-area, window-state-put-2)
298 (display-buffer-even-window-sizes, display-buffer-set-height)
299 (display-buffer-set-width, set-window-text-height)
300 (fit-window-to-buffer): Rename all "resize-window" prefixed
301 calls to use the "window-resize" prefix convention.
302 (display-buffer-alist): Fix symbol for label specifier.
303 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
304 corresponding specifier.
305 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 306
b6458526
VB
3072011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
308
309 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
310 convention.
311 (ses-call-printer): Does not pass an empty string to formatter when the
312 cell is empty to keep from barking printer Calc math-format-value.
313
d31fd9ac
RS
3142011-06-27 Richard Stallman <rms@gnu.org>
315
43d5bf84
RS
316 * battery.el (battery-mode-line-limit): New variable.
317 (battery-update): Handle it.
318
d31fd9ac
RS
319 * mail/rmailmm.el (rmail-mime-process-multipart):
320 Handle truncated messages.
321
819a6054
GM
3222011-06-27 Glenn Morris <rgm@gnu.org>
323
324 * progmodes/flymake.el (flymake-err-line-patterns):
325 Allow for column numbers in the ant/javac pattern. (Bug#8866)
326
cedc73f2
VB
3272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
328
819a6054 329 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
330 (ses--clean-!, ses--clean-_): New functions.
331 (ses-range): Add configurability of readout order, and conversion
332 to Calc vector.
333
5e5d49b6
VB
334 * ses.el (ses-repair-cell-reference-all): New function.
335 (ses-cell-symbol): Set macro as safe, so that it can be used in
336 formulas.
337
90ca8b49
VB
338 * ses.el: Update cycle detection algorithm.
339 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 340 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
341 (ses-set-localvars): New function.
342 (ses-make-cell): Add property-list as a cell element.
343 (ses-cell-property-get-fun, ses-cell-property-get)
344 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
345 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
346 New functions.
90ca8b49
VB
347 (ses-cell-property-set, ses-cell-property-pop)
348 (ses-cell-property-get-handle): New macro.
349 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
350 New aliases, used for code readability.
351 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
352 cycle detection.
353 (ses-self-reference-early-detection): New defcustom.
354 (ses-formula-references): Robustify against self-refering cells.
355 (ses-mode): Use ses-set-localvars.
356 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
357 before lauching the update processing.
358 (ses-initialize-Dijkstra-attempt): New function.
359 (ses-recalculate-cell): Update for cycle detection based on
360 Dijkstra algorithm.
361
2bb63e81
VB
362 * ses.el: Fix commenting and indenting convention.
363
c9d29fb8
SM
3642011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * bs.el (bs-cycle-next): Complete last change.
367
d8e4b68b
JB
3682011-06-27 Drew Adams <drew.adams@oracle.com>
369
370 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
371
40098786
LMI
3722011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
373
c9d29fb8
SM
374 * net/network-stream.el (network-stream-open-starttls):
375 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
376 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
377
40098786
LMI
378 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
379 to binary to possibly avoid line encoding issues on Windows (among
380 other things).
381
468d09d4
LMI
3822011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
383
384 * net/network-stream.el (open-network-stream): Return an :error
385 saying what the problem was, if possible.
386
387 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
388 server.
389
390 * net/network-stream.el (network-stream-open-starttls): If we
391 wanted to use STARTTLS, and the server offered it, but we weren't
392 able to because we had no STARTTLS support, then close the connection.
393 (open-network-stream): Return an :error element, if present.
394
16f07dd7
CY
3952011-06-26 Chong Yidong <cyd@stupidchicken.com>
396
88821ca0
CY
397 * hl-line.el (hl-line-sticky-flag): Doc fix.
398 (global-hl-line-sticky-flag): New option (Bug#8323).
399 (global-hl-line-highlight): Obey it.
400
16f07dd7
CY
401 * vc/vc.el (vc-revert-show-diff): Default to t.
402
6b5ccddf
KM
4032011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
404
c9d29fb8
SM
405 * allout-widgets.el (allout-widgets-post-command-business):
406 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
407 undecorated when an isearch is continued past, and isearch
408 automatically collapses them. This leads to "widget leaks", where
409 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
410 hidden widgets can slow down cursor travel, substantially.
411 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
412 so we're doing without this nicety.
413
414 (allout-widgets-tally-string): Don't try to do a hash-table-count
415 of allout-widgets-tally when it's nil. This eliminates spurious "Error
416 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
417 *Messages* when allout-widgets-maintain-tally is t.
418
355f2e07
MR
4192011-06-26 Martin Rudalics <rudalics@gmx.at>
420
421 * window.el (display-buffer-normalize-argument): Rename to
422 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
423 LABEL argument. Respect special-display-function when popping up
424 a new frame. Fix code searching for a window showing the buffer
425 on another frame.
c9d29fb8
SM
426 (display-buffer-normalize-specifiers):
427 Call display-buffer-normalize-arguments.
355f2e07
MR
428 (display-buffer-in-window): Don't undedicate the window if its
429 buffer remains the same.
430 Reported by Drew Adams <drew.adams@oracle.com>.
431 (display-buffer-alist): Add choice for same-window macro
432 specfier.
433 (display-buffer): Mention special meaning of LABEL argument in
434 doc-string. Fix quoting. Don't pop up a new frame even as
435 fallback.
436
7ca8fc42
JB
4372011-06-26 Juanma Barranquero <lekktu@gmail.com>
438
439 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
440 avoid deleting the current window in some cases (bug#8911).
441
bc312254
AS
4422011-06-26 Andreas Schwab <schwab@linux-m68k.org>
443
444 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
445 (Bug#8934)
446
2db18f3f
LMI
4472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
448
c9d29fb8
SM
449 * net/network-stream.el (network-stream-open-starttls):
450 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
451 (network-stream-open-tls): Ditto.
452
6302e0d3
LL
4532011-06-26 Leo Liu <sdl.web@gmail.com>
454
455 * register.el (registerv): New struct.
456 (registerv-make): New function.
c9d29fb8
SM
457 (jump-to-register, describe-register-1, insert-register):
458 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
459 struct. (Bug#8415)
460
5fdd4046
CY
4612011-06-26 Chong Yidong <cyd@stupidchicken.com>
462
2afef60a
CY
463 * vc/vc.el (vc-revert-show-diff): New defcustom.
464 (vc-diff-internal): New arg specifying diff buffer.
465 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
466 reuse an existing *vc-diff* buffer (Bug#8927).
467
5fdd4046
CY
468 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
469
e93db24a
GM
4702011-06-26 Glenn Morris <rgm@gnu.org>
471
472 * progmodes/f90.el (f90-critical-indent): New option.
473 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
474 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
475 (f90-mode): Doc fix.
476 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
477 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
478 (f90-beginning-of-block, f90-next-block, f90-indent-region)
479 (f90-match-end): Handle block, critical.
480
eefff499
GM
4812011-06-25 Glenn Morris <rgm@gnu.org>
482
f6ba4cc9
GM
483 * calendar/diary-lib.el (diary-included-files): Doc fix.
484 (diary-include-files): New function, extracted from
485 diary-include-other-diary-files and diary-mark-included-diary-files.
486 (diary-include-other-diary-files, diary-mark-included-diary-files):
487 Just call diary-include-files.
488 (diary-mark-entries): Reset diary-included-files on first call.
489
16712304
GM
490 * calendar/diary-lib.el (diary-mark-entries)
491 (diary-mark-included-diary-files):
492 Visit included diary-files in temp buffers.
493
5d8e0d43
GM
494 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
495 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
496 (f90-start-block-re, f90-imenu-generic-expression)
497 (f90-looking-at-program-block-start, f90-no-block-limit):
498 Add support for submodules.
499
ccf7a5d5
GM
500 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
501 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 502
11fdef7d 5032011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
504
505 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
506 buffer-file-type before setting its value, to avoid disastrous
eefff499 507 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 508
74f53697
JB
5092011-06-25 Juanma Barranquero <lekktu@gmail.com>
510
511 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
512
513 * ses.el (ses-unload-function):
514 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
515
516 * proced.el (proced-unload-function):
517 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
518
18a4ce5e
AR
5192011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
520
521 * server.el (server-create-window-system-frame): Add parameters arg.
522 (server-process-filter): Doc fix. Handle frame-parameters.
523
519d22cc
JB
5242011-06-25 Juanma Barranquero <lekktu@gmail.com>
525
526 Fix bug#8730, bug#8781.
527
528 * loadhist.el (unload--set-major-mode): New function.
529 (unload-feature): Use it.
530
531 * progmodes/python.el (python-after-info-look): Add autoload cookie.
532 (python-unload-function): New function.
533
c206f5b0
SM
5342011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
537
f9ad64f3
GS
5382011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
539
540 * net/browse-url.el (browse-url-firefox-program): Add icecat to
541 the candidates list.
542
7d0da90e
JB
5432011-06-24 Juanma Barranquero <lekktu@gmail.com>
544
545 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
546
14b4e83d
RS
5472011-06-23 Richard Stallman <rms@gnu.org>
548
549 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
550 (rmail-variables): Set next-error-move-function.
551 (rmail-what-message): Take argument POS.
552 (rmail-next-error-move): New function.
553
273d2baf
SM
5542011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
555
556 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
557 messages for adjacent non-terminals.
558
56c2cc9a
RS
5592011-06-23 Richard Stallman <rms@gnu.org>
560
561 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 562 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
563 (rmail-start-mail): Don't specify use of rmail-mail-return;
564 that's done by mail-bury now.
565 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 566
d59eb518
MA
5672011-06-23 Michael Albinus <michael.albinus@gmx.de>
568
569 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
570 SIZE is a number.
571
02cfc6d6
MR
5722011-06-23 Martin Rudalics <rudalics@gmx.at>
573
574 * window.el (get-lru-window, get-mru-window)
575 (get-largest-window): Never return a minibuffer window.
576 (display-buffer-pop-up-window): Fix a bug that could lead to
577 reusing the minibuffer window.
578 (display-buffer): Pass original specifier argument to
579 display-buffer-function instead of the normalized one.
580 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
581
4e323265
LL
5822011-06-22 Leo Liu <sdl.web@gmail.com>
583
584 * minibuffer.el (completing-read-function)
585 (completing-read-default): Move from minibuf.c
586
7a70468f
RS
5872011-06-22 Richard Stallman <rms@gnu.org>
588
50718fc2
RS
589 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
590 to Rmail even if not started by a special Rmail command.
591
7a70468f
RS
592 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
593 Copy the buffer currently showing just one message.
594
297dde5a
RW
5952011-06-22 Roland Winkler <winkler@gnu.org>
596
597 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
598 (bibtex-clean-entry): First delete the old key so that a
599 customized algorithm for generating the new key does not get
600 confused by the old key.
601 (bibtex-url): Obey regexp of first step.
602 (bibtex-search-entries): Do not use add-to-list with local
603 list-var.
604
97bb1093
LMI
6052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
606
607 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
608 stored a user name, then query for the password first, instead of
609 waiting for SMTP to give an error message and the trying again.
610
1c0f1a19
JD
6112011-06-22 Lawrence Mitchell <wence@gmx.li>
612
613 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
614 BUFFER in call-process.
615
396f7c9d
LMI
6162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
617
618 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
619 QUIT twice.
ddb7ffee
LMI
620 (smtpmail-try-auth-methods): Require user name and password from
621 auth-source.
396f7c9d 622
8998d1b3
MR
6232011-06-22 Martin Rudalics <rudalics@gmx.at>
624
625 * window.el (display-buffer-default-specifiers)
626 (display-buffer-alist): Remove entries for pop-up-frame-alist.
627 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 628 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
629
630 * frame.el (pop-up-frame-alist, pop-up-frame-function)
631 (special-display-frame-alist, special-display-popup-frame):
632 Remove duplicate declarations. These are now in window.el.
633
4ea31e07
LMI
6342011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
635
c9d29fb8
SM
636 * mail/smtpmail.el (smtpmail-via-smtp):
637 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
638 server supports it. SMTP servers that support STARTTLS commonly
639 require it.
640
641 * net/network-stream.el (network-stream-open-starttls): Support
642 upgrading to STARTTLS always, even if we don't have built-in support.
643 (open-network-stream): Add the :always-query-capabilies keyword.
644
95f41d9a
LMI
645 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
646 upgrades with `open-network-stream', and rely solely on
647 auth-source for all credentials. Big changes throughout the file,
648 but in particular:
c9d29fb8
SM
649 (smtpmail-auth-credentials): Remove.
650 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
651 (smtpmail-via-smtp): Check for servers saying they want AUTH after
652 MAIL FROM, too.
95f41d9a 653
c9d29fb8
SM
654 * net/network-stream.el (network-stream-open-starttls):
655 Provide support for client certificates both for external and built-in
4ea31e07
LMI
656 STARTTLS.
657 (auth-source): Require.
658 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
659 (network-stream-certificate): Change cert-cert to cert and
660 cert-key to key.
4ea31e07 661
065ec2c7
MA
6622011-06-21 Michael Albinus <michael.albinus@gmx.de>
663
664 * net/tramp-cache.el (top): Don't load the persistency file when
665 "emacs -Q" has been called.
666
cd93b359
DR
6672011-06-21 Tim Harper <timcharper@gmail.com>
668
d8e4b68b
JB
669 * term/ns-win.el (ns-initialize-window-system):
670 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
671 resource to NO as it is not yet supported by the NS port.
672
ae9c0411
JB
6732011-06-21 Juanma Barranquero <lekktu@gmail.com>
674
675 * misc.el (list-dynamic-libraries--refresh): Compute header here...
676 (list-dynamic-libraries): ...not here.
677
7f3f739f
LL
6782011-06-21 Leo Liu <sdl.web@gmail.com>
679
680 * subr.el (sha1): Implement sha1 using secure-hash.
681
327c8fb1
MR
6822011-06-21 Martin Rudalics <rudalics@gmx.at>
683
684 * window.el (display-buffer-alist): In default value do not
685 enforce searching a window on any but the selected frame.
686 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
687 (display-buffer-select-window): Remove function.
688 (display-buffer-in-window): When a window on another frame gets
689 reused, do not select it any more but just raise its frame if
690 necessary (Bug#8851) and (Bug#8856).
691 (display-buffer-normalize-options): Handle pop-up-frames related
692 options more faithfully.
693 (pop-to-buffer): Don't rely on `display-buffer' selecting the
694 window if it is on another frame.
c9d29fb8
SM
695 (display-buffer-alist, display-buffer-default-specifiers):
696 Don't make new frame unsplittable by default.
9e9de014
MR
697 (display-buffer-normalize-argument): Fix doc-string typo and use
698 'same-frame-other-window instead of 'other-window when associating
699 with display-buffer-macro-specifiers.
327c8fb1 700
7cf3f556
VB
7012011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
702
703 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
704 New functions.
705 (5x5-mode-map, 5x5-mode-menu): Bind them.
706 (5x5-draw-grid): Tweak the solver's rendering.
707
60a406cf
SM
7082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
711 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
712
d8e4b68b 7132011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
714
715 * menu-bar.el: Use function variable instead of switch-to-buffer.
716 (menu-bar-select-buffer-function): New variable.
60a406cf 717 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 718
478d6f95
SM
7192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
722 variable's status.
723
ca530739
JD
7242011-06-20 Jan Djärv <jan.h.d@swipnet.se>
725
726 * x-dnd.el (x-dnd-version-from-flags)
727 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
728 and long as number (Bug#8899).
729 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
730
bcd70d97
SM
7312011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
732
60a406cf 733 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
734 (completion-try-completion, completion-all-completions): Compute the
735 metadata argument if it's missing; make it optional (bug#8795).
736
60a406cf 737 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
738 (widget-complete): Use new :completion-function property.
739 (widget-completions-at-point): New function.
740 (default): Use :completion-function instead of :complete.
60a406cf
SM
741 (widget-default-completions): Rename from widget-default-complete;
742 Rewrite.
bcd70d97
SM
743 (widget-string-complete, widget-file-complete, widget-color-complete):
744 Remove functions.
745 (file, symbol, function, variable, coding-system, color):
746 * international/mule-cmds.el (default-input-method, charset)
747 (language-info-custom-alist):
748 * cus-edit.el (face): Use new property :completions.
749
750 * progmodes/pascal.el (pascal-completions-at-point): New function.
751 (pascal-mode): Use it.
752 (pascal-mode-map): Use completion-at-point.
753 (pascal-toggle-completions): Make obsolete.
754 (pascal-complete-word, pascal-show-completions):
755 * progmodes/octave-mod.el (octave-complete-symbol):
756 Redefine as obsolete alias.
757 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
758 Signal absence of completion info for old Octave,
759 (inferior-octave-complete): Redefine as obsolete alias.
760 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
761 (meta-completions-at-point): Rename from meta-complete-symbol and
762 adapt it for use on completion-at-point-functions.
763 (meta-common-mode): Use it.
764 (meta-looking-at-backward, meta-match-buffer): Remove.
765 (meta-complete-symbol): Redefine as obsolete alias.
766 (meta-common-mode-map): Use completion-at-point.
767 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
768 (makefile-mode-map): Use completion-at-point.
769 (makefile-completions-at-point): Rename from makefile-complete and
770 adapt it for use on completion-at-point-functions.
771 (makefile-mode): Use it.
772 (makefile-complete): Redefine as obsolete alias.
773
aebf69c8
DD
7742011-06-20 Deniz Dogan <deniz@dogan.se>
775
776 * net/rcirc.el: Delete trailing whitespaces once and for all.
777
bfbbb27d
DC
7782011-06-20 Daniel Colascione <dan.colascione@gmail.com>
779
780 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
781
d264a46b
CY
7822011-06-19 Chong Yidong <cyd@stupidchicken.com>
783
4ca009e5
CY
784 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
785
d264a46b
CY
786 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
787
fbf5b3ce
MR
7882011-06-19 Martin Rudalics <rudalics@gmx.at>
789
790 * window.el (display-buffer-other-window-means-other-frame):
791 Call display-buffer-normalize-alist.
792 (display-buffer-normalize-specifiers-1): Rename to
793 display-buffer-normalize-argument. New argument other-frame.
794 Rewrite.
795 (display-buffer-normalize-specifiers-2): Rename to
796 display-buffer-normalize-options.
797 (display-buffer-normalize-alist-1): New function.
798 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
799 display-buffer-normalize-alist.
800 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
801 (display-buffer-normalize-options-inhibit): New variable.
802 (display-buffer-normalize-specifiers): Rewrite calling
803 display-buffer-normalize-alist,
804 display-buffer-normalize-argument, and
805 display-buffer-normalize-options. Don't call the latter if
806 display-buffer-normalize-options-inhibit is non-nil.
807 (frame-auto-delete): New option.
808 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
809 (window-list-no-nils, window-state-ignored-parameters)
810 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
811 (window-state-put-1, window-state-put-2, window-state-put):
812 New functions.
9a028c23
MR
813 (display-buffer-normalize-options): Move special-display-p group
814 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 815
6d10d800
CY
8162011-06-18 Chong Yidong <cyd@stupidchicken.com>
817
6420d28b
CY
818 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
819 groups (Bug#8776).
820 (rx-submatch-n): New function.
821 (rx): Document it.
822
ddb8b596
CY
823 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
824 (Bug#8768).
825
826 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
827
77080289
CY
828 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
829
61dfb316
CY
830 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
831 anytime existing face settings are present (Bug#8889).
832
6d10d800
CY
833 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
834 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
835 Remove unused argument.
836
be3fb2b8
MR
8372011-06-18 Martin Rudalics <rudalics@gmx.at>
838
bcd70d97
SM
839 * window.el (display-buffer-default-specifiers):
840 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
841 pop-up-window-min-width, and another reuse-window specifier
842 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
843 (display-buffer-normalize-specifiers-2):
844 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
845 pop-up-windows is unset. Add a reuse-window specifier for the
846 case popping up a new window fails.
847 (special-display-popup-frame): Remove double quoting.
28dec25a 848 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 849
1c6d8c76
SM
8502011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * shell.el (shell-completion-vars): Set pcomplete-termination-string
853 according to comint-completion-addsuffix.
854
855 * pcomplete.el: Convert to lexical binding and fix bug#8819.
856 (pcomplete-suffix-list): Mark as obsolete.
857 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
858 pcomplete-seen in the closure.
859 (pcomplete-comint-setup): Setup completion-at-point as well.
860 (pcomplete--entries): New function.
861 (pcomplete--env-regexp): New var.
862 (pcomplete-entries): Rewrite to work with partial-completion and
863 without relying on pcomplete-suffix-list.
864 (pcomplete-pare-list): Remove, unused.
865
25aef8b8
MR
8662011-06-17 Martin Rudalics <rudalics@gmx.at>
867
868 * window.el (display-buffer-alist): Set pop-up-window-min-height
869 and pop-up-window-min-width in default value. Reported by
870 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
871 other-window-means-other-frame.
872 (display-buffer-macro-specifiers): Comment out entry for
873 other-window specifier.
874 (display-buffer-other-window-means-other-frame): New function.
875 (display-buffer-normalize-specifiers-1): New arguments
876 buffer-name and label. Treat other-window case specially.
877 (display-buffer-normalize-specifiers-2): Treat other-window case
878 specially.
879 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
880 (display-buffer-normalize-specifiers):
881 Call display-buffer-normalize-specifiers-3.
25aef8b8 882
dbad4f69
MR
8832011-06-17 Martin Rudalics <rudalics@gmx.at>
884
885 * window.el (same-window-p): Fix two typos introduced when
886 adding with-no-warnings.
d1067961
MR
887 (display-buffer-normalize-specifiers-1): Don't check
888 pop-up-frames for 'unset initialization.
889 (display-buffer-normalize-specifiers-2): Major rewrite using
890 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
891 (pop-up-frames, display-buffer-reuse-frames)
892 (display-buffer-mark-dedicated): Don't initialize to 'unset.
893 Suggested by David Engster <deng@randomsample.de>.
894 (even-window-heights): Initialize to 'unset.
895 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
896 (display-buffer-macro-specifiers): Don't pop up a new frame in the
897 other window case.
dbad4f69 898
9b9c9e3a
MR
8992011-06-16 Martin Rudalics <rudalics@gmx.at>
900
bcd70d97
SM
901 * window.el (display-buffer-normalize-specifiers-1):
902 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 903 second argument of display-buffer (Bug#8865).
981d5c09
MR
904 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
905 (switch-to-buffer-other-window-same-frame)
906 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
907 Adams (Bug#8875).
9c2755e9
MR
908 (display-buffer): Don't check noninteractive when calling
909 display-buffer-pop-up-frame.
910 (display-buffer-pop-up-frame): Never pop up a frame in
911 noninteractive mode (Bug#8857).
67222e1d
MR
912 (enlarge-window, shrink-window): Don't report an error when the
913 window can't be resized as requested (Bug#8862).
9b9c9e3a 914
2b75be67
SM
9152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
916
9ffdd3ba
SM
917 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
918
cb581a67
SM
919 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
920
2b75be67
SM
921 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
922
8c0e3589
AM
9232011-06-15 Alan Mackenzie <acm@muc.de>
924
cb581a67
SM
925 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
926 for declarators, disable knr checking to speed up for normal files.
927 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 928
b96e6cde
LMI
9292011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
930
4bba86e6
LMI
931 * net/network-stream.el (open-network-stream): Add the keyword
932 :always-query-capabilities for the case where you want to force a
933 `plain' network connection, but the protocol still requires the
934 capabilitiy command (i.e., SMTP and EHLO).
935
2b75be67 936 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
937 consistency with other `-live-p' functions.
938
efdcdbf8
SM
9392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * window.el (same-window-buffer-names, same-window-regexps)
942 (special-display-frame-alist, special-display-popup-frame)
943 (special-display-function, special-display-buffer-names)
944 (special-display-regexps, pop-up-frame-alist)
945 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
946 (pop-up-windows, split-window-preferred-function)
947 (split-height-threshold, split-width-threshold, even-window-heights)
948 (display-buffer-mark-dedicated): Don't encourage the use of
949 display-buffer-alist from Elisp code.
950
c5cde042
DN
9512011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
952
953 * progmodes/python.el (python-mode): Derive from prog-mode.
954 * progmodes/ps-mode.el (ps-mode):
955 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 956 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
957 * progmodes/ld-script.el (ld-script-mode): Likewise.
958
baa1c9ab
MR
9592011-06-15 Martin Rudalics <rudalics@gmx.at>
960
961 * window.el (display-buffer-alist): Trim default value to avoid
962 popping up a new frame (Bug#8857) or reusing an arbitrary window
963 on another frame.
964 (display-buffer): Do not fall back on popping up a new frame in
965 batch mode (Bug#8857).
966
c5dd5a51
CY
9672011-06-14 Chong Yidong <cyd@stupidchicken.com>
968
969 * cus-theme.el (describe-theme-1): Use custom-theme-p.
970 (custom-theme-summary): New function.
971 (customize-themes): Use it.
972
d647b7c4
GM
9732011-06-13 Glenn Morris <rgm@gnu.org>
974
975 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
976
9481c002
MR
9772011-06-13 Martin Rudalics <rudalics@gmx.at>
978
357f93d2
MR
979 * help.el (help-window): Remove variable.
980 (help-window-point-marker, temp-buffer-max-height)
981 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
982 (help-print-return-message): Don't set help-window.
983 (resize-temp-buffer-window): Rewrite cod eand doc-string.
984 (help-window-setup-finish): Remove.
985 (help-window-display-message, help-window-setup)
986 (with-help-window): Major rewrite based on new
987 display-buffer-window variable.
988
989 * help-mode.el (help-mode-finish): Remove help-window related
990 code.
991
992 * view.el (view-exits-all-viewing-windows): Remove reference to
993 view-return-to-alist in doc-string.
994 (view-return-to-alist): Make obsolete.
995 (view-buffer): Call pop-to-buffer-same-window and remove
996 undo-window code.
997 (view-buffer-other-window): Call pop-to-buffer-other-window and
998 simplify code. Ignore second argument.
999 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1000 simplify code. Ignore second argument.
1001 (view-return-to-alist-update): Make obsolete.
1002 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1003 Rewrite using quit-restore window parameters.
2b75be67
SM
1004 (view-mode-exit): Rename second argument to EXIT-ONLY.
1005 Rewrite using quit-restore-window.
357f93d2
MR
1006 (View-exit, View-exit-and-edit, View-leave, View-quit)
1007 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1008 appropriate arguments.
1009 (view-end-message): Use quit-restore window parameter.
1010
9481c002
MR
1011 * window.el (display-buffer-function): Rewrite doc-string.
1012 (display-buffer-window, display-buffer-alist): New variables.
1013 (display-buffer-split-specifiers)
1014 (display-buffer-side-specifiers)
1015 (display-buffer-macro-specifiers): New constants.
1016 (display-buffer-even-window-sizes, display-buffer-set-height)
1017 (display-buffer-set-width, display-buffer-select-window)
1018 (display-buffer-in-window, display-buffer-reuse-window)
1019 (display-buffer-split-window-1, display-buffer-split-window)
1020 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1021 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1022 (display-buffer-in-side-window, normalize-buffer-to-display)
1023 (display-buffer-normalize-specifiers-1)
1024 (display-buffer-normalize-specifiers-2)
2b75be67
SM
1025 (display-buffer-normalize-specifiers, display-buffer-frame):
1026 New functions.
9481c002
MR
1027 (display-buffer): Major rewrite.
1028 (display-buffer-other-window, display-buffer-other-frame)
1029 (pop-to-buffer, switch-to-buffer-other-window)
1030 (switch-to-buffer-other-frame): Rewrite.
1031 (display-buffer-same-window, display-buffer-same-frame)
1032 (display-buffer-same-frame-other-window)
1033 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1034 (pop-to-buffer-other-window)
1035 (pop-to-buffer-same-frame-other-window)
1036 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1037 (switch-to-buffer-other-window-same-frame): New functions.
1038 (same-window-p, special-display-p): Rewrite disabling warnings.
1039 Make obsolete.
1040 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1041 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1042 Make obsolete
1043 (same-window-buffer-names, same-window-regexps)
1044 (special-display-frame-alist, special-display-popup-frame)
1045 (special-display-function, special-display-buffer-names)
1046 (special-display-regexps, pop-up-frame-alist)
1047 (pop-up-frame-function, split-window-preferred-function)
1048 (split-height-threshold, split-width-threshold)
1049 (even-window-heights): Make obsolete.
1050
9db51aca
GM
10512011-06-12 Glenn Morris <rgm@gnu.org>
1052
1053 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 1054 Misc simplifications.
9db51aca 1055
39cffb44
MR
10562011-06-12 Martin Rudalics <rudalics@gmx.at>
1057
1058 * window.el (window-safely-shrinkable-p): Restore function which
1059 was inadvertently removed in change from 2011-06-11. Declare as
1060 obsolete.
1061
2b75be67
SM
1062 * calendar/calendar.el (calendar-generate-window):
1063 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
1064 window-safely-shrinkable-p.
1065
a8955be7
GM
10662011-06-12 Glenn Morris <rgm@gnu.org>
1067
1068 * progmodes/fortran.el (fortran-mode-syntax-table):
1069 * progmodes/f90.el (f90-mode-syntax-table):
1070 Set % to punctuation. (Bug#8820)
1071 (f90-find-tag-default): Remove, no longer needed.
1072
f0d4059d
DC
10732011-06-12 Daniel Colascione <dan.colascione@gmail.com>
1074
1075 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1076
1100a63c
CY
10772011-06-11 Chong Yidong <cyd@stupidchicken.com>
1078
1079 * image.el (image-animated-p): Return animation delay in seconds.
1080 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1081 (image-animate-timeout): Remove DELAY argument. Don't assume
1082 every subimage has the same delay; get it from image-animated-p.
1083 (image-animate): Caller changed.
1084
def722bf
MA
10852011-06-11 Michael Albinus <michael.albinus@gmx.de>
1086
1087 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1088 to ignored backtrace functions.
1089
0a2bb1a9
GM
10902011-06-11 Glenn Morris <rgm@gnu.org>
1091
1092 * calendar/appt.el (appt-disp-window-function): Doc fix.
1093 (appt-check): Handle overlapping appointments. (Bug#8337)
1094
6198ccd0
MR
10952011-06-11 Martin Rudalics <rudalics@gmx.at>
1096
1097 * window.el (window-tree-1, window-tree): New functions, moving
1098 the latter to window.el.
1099 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1100 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1101 (bw-refresh-edges): Remove.
1102 (balance-windows-1, balance-windows-2): New functions.
1103 (balance-windows): Rewrite in terms of window tree functions,
1104 balance-windows-1 and balance-windows-2.
1105 (bw-adjust-window): Remove.
1106 (balance-windows-area-adjust): New function with functionality of
1107 bw-adjust-window but using resize-window.
2b75be67
SM
1108 (set-window-text-height): Rewrite doc-string.
1109 Use normalize-live-window and resize-window.
1110 (enlarge-window-horizontally, shrink-window-horizontally):
1111 Rename argument to DELTA.
6198ccd0
MR
1112 (window-buffer-height): New function.
1113 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1114 Rewrite using new window resize routines.
2b75be67
SM
1115 (kill-buffer-and-window, mouse-autoselect-window-select):
1116 Use ignore-errors instead of condition-case.
6198ccd0
MR
1117 (quit-window): Call delete-frame instead of delete-windows-on
1118 for the only buffer on frame.
1119
9397e56f
MR
11202011-06-10 Martin Rudalics <rudalics@gmx.at>
1121
1122 * loadup.el (top-level): Load window before files for the sake
1123 of replace-buffer-in-windows.
1124
1125 * files.el (read-buffer-to-switch)
1126 (switch-to-buffer-other-window)
2b75be67
SM
1127 (switch-to-buffer-other-frame, display-buffer-other-frame):
1128 Move to window.el.
9397e56f
MR
1129
1130 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1131 (previous-buffer): Move to window.el.
1132
1133 * bindings.el (unbury-buffer): Move to window.el.
1134
1135 * window.el (delete-other-windows-vertically): Move after
1136 definition of delete-other-windows.
1137 (other-window, delete-windows-on, replace-buffer-in-windows):
1138 Move here from window.c.
1139 (record-window-buffer, unrecord-window-buffer)
1140 (set-window-buffer-start-and-point, switch-to-prev-buffer)
1141 (switch-to-next-buffer): New functions.
1142 (get-next-valid-buffer, last-buffer, next-buffer): Move here
1143 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
1144 (previous-buffer): Move here from simple.el.
1145 Call switch-to-prev-buffer.
9397e56f
MR
1146 (bury-buffer): Move here from buffer.c. Switch to previous
1147 buffer when window cannot be deleted.
1148 (unbury-buffer): Move here from bindings.el.
1149 (ctl-x-map): Move binding for other-window from window.c to
1150 here.
1151 (read-buffer-to-switch, switch-to-buffer-other-window)
1152 (switch-to-buffer-other-frame): Move here from files.el.
1153 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
1154 (switch-to-buffer): Move here from buffer.c.
1155 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 1156
562dd5e9
MR
11572011-06-10 Martin Rudalics <rudalics@gmx.at>
1158
1159 * window.el (window-min-height, window-min-width): Move here
1160 from window.c. Add defcustoms and rewrite doc-strings.
1161 (resize-mini-window, resize-window): New functions.
1162 (adjust-window-trailing-edge, enlarge-window, shrink-window):
1163 Move here from window.c.
1164 (maximize-window, minimize-window): New functions.
1165 (delete-window, delete-other-windows, split-window): Move here
1166 from window.c.
1167 (window-split-min-size): New function.
1168 (split-window-keep-point): Mention split-window-above-each-other
1169 instead of split-window-vertically.
2b75be67
SM
1170 (split-window-above-each-other, split-window-vertically):
1171 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
1172 provide defalias for old definition.
1173 (split-window-side-by-side, split-window-horizontally): Rename
1174 split-window-horizontally to split-window-side-by-side and provide
1175 defalias for the old definition.
1176 (ctl-x-map): Move bindings for delete-window,
1177 delete-other-windows and enlarge-window here from window.c.
1178 Replace bindings for split-window-vertically and
1179 split-window-horizontally by bindings for
1180 split-window-above-each-other and split-window-side-by-side.
1181
1182 * cus-start.el (all): Remove entries for window-min-height and
1183 window-min-width. Add entries for window-splits and
1184 window-nest.
1185
f0da764a
GM
11862011-06-09 Glenn Morris <rgm@gnu.org>
1187
80675c21
GM
1188 * calendar/appt.el (appt-mode-line): New function.
1189 (appt-check, appt-disp-window): Use it.
1190
f0da764a
GM
1191 * files.el (hack-one-local-variable-eval-safep):
1192 Allow minor-modes with explicit +/-1 arguments.
1193
59f623b7
TZ
11942011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
1195
1196 * term/xterm.el (xterm): Add defgroup.
1197 (xterm-extra-capabilities): Add defcustom to supply known xterm
1198 capabilities, skip querying them, or query them (default).
1199 (terminal-init-xterm): Use it.
1200 (terminal-init-xterm-modify-other-keys): New function to set up
1201 modifyOtherKeys support to simplify `terminal-init-xterm'.
1202
9aab8e0d
MR
12032011-06-09 Martin Rudalics <rudalics@gmx.at>
1204
1205 * window.el (resize-window-reset, resize-window-reset-1)
1206 (resize-subwindows-skip-p, resize-subwindows-normal)
1207 (resize-subwindows, resize-other-windows, resize-this-window)
1208 (resize-root-window, resize-root-window-vertically)
1209 (window-deletable-p, window-or-subwindow-p)
1210 (frame-root-window-p): New functions.
1211
e8b08aee
GM
12122011-06-09 Glenn Morris <rgm@gnu.org>
1213
1214 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1215 (ange-ftp-get-files): Use it.
1216
254c37a5
AK
12172011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1218
1219 * mail/sendmail.el (mail-recover-1, mail-recover):
1220 * files.el (recover-file, recover-session):
1221 Handle dired-listing-switches not being just a single short option.
1222
35d7dbd3
GM
12232011-06-09 Glenn Morris <rgm@gnu.org>
1224
1225 * calendar/appt.el (appt-display-message, appt-disp-window):
1226 Handle lists of appointments.
1227
387522b2
MR
12282011-06-08 Martin Rudalics <rudalics@gmx.at>
1229
2b75be67
SM
1230 * window.el (one-window-p): Move down in code.
1231 Rewrite doc-string.
1232 (window-current-scroll-bars): Rewrite doc-string.
1233 Normalize live window argument.
387522b2
MR
1234 (walk-windows, get-window-with-predicate, count-windows):
1235 Rewrite doc-string. Use window-list-1.
1236 (window-in-direction-2, window-in-direction, get-mru-window):
1237 New functions.
1238
d8e4b68b 12392011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
1240
1241 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1242 Doc fix (Bug#8713).
1243
12442011-06-08 Chong Yidong <cyd@stupidchicken.com>
1245
1246 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1247
12482011-06-08 Juanma Barranquero <lekktu@gmail.com>
1249
1250 * loadhist.el (unload-feature-special-hooks):
1251 Add `comint-output-filter-functions'.
1252
0de12c52
IK
12532011-06-08 Ivan Kanis <gnu@kanis.fr>
1254
1255 * calendar/appt.el (appt-check): Move some initializations into the let.
1256
f3d1777e
MR
12572011-06-08 Martin Rudalics <rudalics@gmx.at>
1258
1259 * window.el (window-height): Defalias to window-total-height.
1260 (window-width): Defalias to window-body-width.
1261
18af70d0
CY
12622011-06-07 Chong Yidong <cyd@stupidchicken.com>
1263
1264 * image-mode.el (image-toggle-animation): New command.
1265 (image-mode-map): Bind it to RET.
1266 (image-mode): Update message.
1267 (image-toggle-display-image): Avoid a spurious cache flush.
1268 (image-transform-rotation): Doc fix.
1269 (image-transform-properties): Return quickly in the normal case.
1270 (image-animate-loop): Rename from image-animate-max-time.
1271
2b75be67 1272 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
1273 (create-animated-image): Remove unnecessary function.
1274 (image-animate): Rename from image-animate-start. New arg.
2b75be67 1275 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
1276 (image-animate-timer): Use car-safe.
1277 (image-animate-timeout): Rename argument.
1278
190b47e6
MR
12792011-06-07 Martin Rudalics <rudalics@gmx.at>
1280
1281 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
1282 window.c. Rename first argument to ALL-FRAMES.
1283 Rephrase doc-strings.
1284 (get-buffer-window-list): Rewrite using window-list-1.
1285 Rephrase doc-string.
a1511caf
MR
1286 (window-safe-min-height, window-safe-min-width): New constants.
1287 (window-size-ignore, window-min-size, window-min-size-1)
1288 (window-sizable, window-sizable-p, window-size-fixed-1)
1289 (window-size-fixed-p, window-min-delta-1, window-min-delta)
1290 (window-max-delta-1, window-max-delta, window-resizable)
1291 (window-resizable-p, window-total-height, window-total-width)
1292 (window-body-width): New functions.
1293 (window-full-height-p, window-full-width-p): Rewrite using
1294 window-total-size.
1295 (window-body-height): Rewrite using window-body-size.
190b47e6 1296
85cc1f11
MR
12972011-06-06 Martin Rudalics <rudalics@gmx.at>
1298
1299 * window.el (window-right, window-left, window-child)
1300 (window-child-count, window-last-child, window-any-p)
1301 (normalize-live-buffer, normalize-live-frame)
1302 (normalize-any-window, normalize-live-window)
1303 (window-iso-combination-p, window-iso-combined-p)
1304 (window-iso-combinations)
1305 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1306 (windows-with-parameter, window-with-parameter)
1307 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
1308 (window-atom-check, window-side-check, window-check):
1309 New functions.
85cc1f11
MR
1310 (ignore-window-parameters, window-sides, window-sides-vertical)
1311 (window-sides-slots): New variables.
1312 (window-size-fixed): Move down in code. Minor doc-string fix.
1313
e7156492
AS
13142011-06-05 Andreas Schwab <schwab@linux-m68k.org>
1315
1316 * comint.el (comint-dynamic-complete-as-filename)
1317 (comint-dynamic-complete-filename): Correctly call
1318 completion-in-region.
1319
7e821d0d
DD
13202011-06-05 Deniz Dogan <deniz@dogan.se>
1321
1322 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1323 in last change.
1324
ac09b8a1
DD
13252011-06-05 Deniz Dogan <deniz@dogan.se>
1326
1327 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1328 (rcirc): Use it to prompt for encryption.
1329
34699b85
RW
13302011-06-05 Roland Winkler <winkler@gnu.org>
1331
1332 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1333 (bibtex-search-entries): New command bound to C-c C-a.
1334 (bibtex-display-entries): New function.
1335
004dedd3
RW
13362011-06-05 Roland Winkler <winkler@gnu.org>
1337
1338 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1339 (bibtex-insert-kill): After yanking insert newline if necessary.
1340 (bibtex-initialize): Call bibtex-string-files-init only once.
1341 (bibtex-mode): Do not call easy-menu-add.
1342 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1343 (bibtex-yank): Set arg properly if nil.
1344
022fe7ce
RW
13452011-06-05 Roland Winkler <winkler@gnu.org>
1346
2b75be67
SM
1347 * textmodes/bibtex.el (bibtex-search-entry-globally):
1348 New variable.
022fe7ce
RW
1349 (bibtex-search-entry): Use it.
1350
b7c3692a
RW
13512011-06-05 Roland Winkler <winkler@gnu.org>
1352
1353 * textmodes/bibtex.el (bibtex-entry-format): New option
1354 sort-fields.
1355 (bibtex-format-entry, bibtex-reformat): Honor this option.
1356 (bibtex-parse-entry): Return fields in proper order.
1357
8eda563d
JB
13582011-06-05 Juanma Barranquero <lekktu@gmail.com>
1359
1360 * doc-view.el (doc-view-remove-if): Move computation of result out
1361 of `dolist' to silence misleading lexical-binding warning.
1362
7dbe3dbc
CY
13632011-06-04 Chong Yidong <cyd@stupidchicken.com>
1364
1365 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1366 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1367
0c33dd17
MA
13682011-06-04 Michael Albinus <michael.albinus@gmx.de>
1369
1370 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1371 "SunOS 5.10".
1372
f8f91c2b
MA
13732011-06-04 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1376 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1377 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1378 (tramp-parse-putty):
1379 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1380 (tramp-completion-function-alist-ssh)
1381 (tramp-completion-function-alist-telnet)
1382 (tramp-completion-function-alist-su)
1383 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1384 cookie.
1385
1386 * net/tramp-ftp.el:
1387 * net/tramp-sh.el:
1388 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1389 load "tramp.el" `tramp-set-completion-function'.
1390
e17d9003
SM
13912011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * shell.el: Require and use pcomplete.
1394 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1395 (shell-completion-vars): Set pcomplete-default-completion-function.
1396
6c4cab03
DD
13972011-06-04 Deniz Dogan <deniz@dogan.se>
1398
1399 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1400 `memq' (Bug#8799).
1401
ea9fafe0
SM
14022011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1405
b3e945d3
JB
14062011-06-02 Juanma Barranquero <lekktu@gmail.com>
1407
1408 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1409 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1410 * vc/log-view.el (log-view-beginning-of-defun):
1411 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1412 (smerge-refine-forward, smerge-refine-chopup-region):
1413 Silence warning for unused `dotimes' counter variables.
1414
7d520089
SM
14152011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * net/tramp.el (tramp-with-progress-reporter): Rename from
1418 with-progress-reporter. Use `declare'.
1419 * net/tramp-smb.el:
1420 * net/tramp-sh.el:
1421 * net/tramp-gvfs.el: Update all uses.
1422
a1c2400f
JB
14232011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1424
1425 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1426 buffer isn't killed before making it current.
1427
2403c841
SM
14282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1429
1430 Silence various byte-compiler warnings.
1431 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1432 `access-type' and new obsolescence format.
1433 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1434 new format.
1435 (byte-compile-check-variable): New `access-type' argument.
1436 Only warn if the access-type is obsolete.
1437 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1438 (byte-compile-variable-set): Adjust callers.
1439 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1440 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1441 setting it as obsolete.
1442 * simple.el (minibuffer-completing-symbol):
1443 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1444 access as obsolete.
1445 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1446 obsolete yet.
1447 * international/quail.el (quail-mouse-choose-completion): Remove unused
1448 code referring to obsolete var.
1449 (quail-choose-completion-string): Remove.
1450 * server.el (server-clients-with, server-kill-buffer-query-function)
1451 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1452 * proced.el (proced-send-signal):
1453 * emacs-lisp/lisp.el (lisp-complete-symbol):
1454 Replace completion-annotate-function with completion-extra-properties.
1455
2462470b
SM
14562011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1457
fb5b2591
SM
1458 * simple.el (goto-line): Use read-number.
1459 (overriding-map-is-bound): Remove.
1460 (saved-overriding-map): Change default.
1461 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1462 Take the map as argument.
1463 (universal-argument, negative-argument, digit-argument): Use it.
1464 (restore-overriding-map): Adjust.
1465 (do-auto-fill): Use fill-forward-paragraph.
1466 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1467
fd6fa53f
SM
1468 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1469 (minibuffer-inactive-mode): New major mode.
1470 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1471 the *Messages* buffer" hack.
1472 (mouse-popup-menubar): Don't burp if the event is a normal key.
1473
2462470b
SM
1474 Miscellaneous tweaks.
1475 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1476 lexical scoping as in subr.el's dolist and dotimes.
1477 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1478 Silence compiler warning.
1479 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1480 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1481 * international/ccl.el (ccl-compile): Trivial simplification.
1482 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1483 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1484 `printflag' argument.
1485 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1486 Purecopy the whole obsolescence data.
1487
108bf785
LL
14882011-06-01 Leo Liu <sdl.web@gmail.com>
1489
1490 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1491 improve doc-string as suggested by Marco Pessotto
1492 <melmothx@gmail.com>.
1493 (rcirc-print): Fix last change.
1494
30a23501
SM
14952011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * minibuffer.el (complete-with-action): Return nil for the metadata and
1498 boundaries of non-functional tables.
1499 (completion-table-dynamic): Return nil for the metadata.
1500 (completion-table-with-terminator): Add default case, using
1501 complete-with-action.
1502 (completion--metadata): New function.
1503 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1504 to try and avoid pathological performance problems.
1505 (completion--embedded-envvar-table): Return `category' metadata.
1506
bcd54f83
LMI
15072011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1508
1509 * subr.el (process-alive-p): New tiny convenience function.
1510
e227544d
SM
15112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1514 content but also its previous major mode.
1515
e8296fdc
HE
15162011-05-31 Helmut Eller <eller.helmut@gmail.com>
1517
1518 * debug.el (debug): Restore the previous content of the
1519 *Backtrace* buffer when we exit with C-M-c.
1520
620c53a6
SM
15212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * minibuffer.el: Add metadata method to completion tables.
1524 (completion-category-overrides): New defcustom.
1525 (completion-metadata, completion--field-metadata)
1526 (completion-metadata-get, completion--styles)
1527 (completion--cycle-threshold): New functions.
1528 (completion-try-completion, completion-all-completions):
1529 Add `metadata' argument to choose completion-styles.
1530 (completion--do-completion): Use metadata to choose cycling.
1531 (completion-all-sorted-completions): Use metadata for sorting.
1532 Remove :completion-cycle-penalty which is not needed any more.
1533 (completion--try-word-completion): Add `metadata' argument.
1534 (minibuffer-completion-help): Check metadata for annotation function
1535 and sorting.
1536 (completion-file-name-table): Return `category' metadata.
1537 (minibuffer-completing-file-name): Make obsolete.
1538 * simple.el (minibuffer-completing-symbol): Make obsolete.
1539 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1540 completion-try-completion.
1541
1257e755
SM
15422011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1545
3767e706
LL
15462011-05-30 Leo Liu <sdl.web@gmail.com>
1547
1548 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
1549 (rcirc-print): Decode all incoming messages (bug#8744).
1550 (rcirc-decode-coding-system): Allow value nil for automatic coding
1551 system detection.
3767e706 1552
d1a5d56a
GM
15532011-06-01 Glenn Morris <rgm@gnu.org>
1554
1555 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1556
e8cbec34
CY
15572011-05-29 Chong Yidong <cyd@stupidchicken.com>
1558
1559 * image.el (image-animate-max-time): Allow nil and t values.
1560 Default to nil.
1561 (create-animated-image): Doc fix.
1562 (image-animate-start): Remove second arg; just use
1563 image-animate-max-time.
1564 (image-animate-timeout): Doc fix. Args changed.
1565
1566 * image-mode.el (image-toggle-display-image): Ensure that the
1567 image spec passed to the animate timer is the same object as in
1568 the the buffer's display property (Bug#6981).
1569 (image-transform-properties): Doc fix.
1570
1571 * image.el (image-animate-max-time): Default to nil.
1572
159daf87
MR
15732011-05-29 Martin Rudalics <rudalics@gmx.at>
1574
1575 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1576 entire buffer list (Bug#8184).
1577
d66c4c7c
CY
15782011-05-29 Chong Yidong <cyd@stupidchicken.com>
1579
1580 * image.el (imagemagick-types-inhibit)
1581 (imagemagick-register-types): Doc fix.
1582
80aec780
DD
15832011-05-29 Deniz Dogan <deniz@dogan.se>
1584
1585 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1586 default.
1587
1dd3c2d9
CY
15882011-05-29 Chong Yidong <cyd@stupidchicken.com>
1589
1590 * select.el: Don't perform clipboard-manager saving in hooks;
1591 leave the hooks empty.
1592
60e56523
LL
15932011-05-28 Leo Liu <sdl.web@gmail.com>
1594
1595 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1596 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1597 (occur-edit-mode): New major mode (Bug#8463).
1598 (occur-after-change-function): New function.
1599 (occur-engine): Give Occur tags a read-only property.
1600
2b1e1a22
KR
16012011-05-28 Kevin Ryde <user42@zip.com.au>
1602
1603 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1604
5d344e88
CY
16052011-05-28 Chong Yidong <cyd@stupidchicken.com>
1606
8e6ca83d
CY
1607 * bindings.el (help-echo): Make the initial non-indicator dash
1608 empty on graphical terminals (Bug#7295).
1609
5d344e88
CY
1610 * files.el (auto-mode-alist): Move config rule after the
1611 in-stripping one (Bug#8547).
1612
bfbbace7
CY
1613 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
1614
fbeba6e2
CY
1615 * startup.el (normal-splash-screen): Remove gratuitous mode-line
1616 setting (Bug#8740).
1617
60ed8c72
AA
16182011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
1619
4ac619f0
AA
1620 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
1621 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
1622 (Bug#8539).
60ed8c72 1623
23db196e
CY
16242011-05-28 Chong Yidong <cyd@stupidchicken.com>
1625
1626 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
1627
5012f24c
DK
16282011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1629
1630 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
1631 (hs-hide-block-at-point, hs-find-block-beginning)
1632 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
1633 (Bug#8279).
1634
6a639b16
GM
16352011-05-28 Glenn Morris <rgm@gnu.org>
1636
1637 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
1638
d43eaf2c
CY
16392011-05-28 Chong Yidong <cyd@stupidchicken.com>
1640
5199bde1
CY
1641 * help-fns.el (describe-function-1): If the function is a derived
1642 major mode, print the parent mode.
1643
d43eaf2c
CY
1644 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
1645 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
1646
423428a8
SM
16472011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1648
0ff8e1ba
SM
1649 * minibuffer.el (completion--capf-wrapper): Check applicability before
1650 retuning non-nil for non-exclusive completion data.
1651 * progmodes/etags.el (tags-completion-at-point-function):
1652 * info-look.el (info-lookup-completions-at-point): Mark as
1653 non-exclusive.
1654 (info-complete): Adjust accordingly.
1655
423428a8
SM
1656 * info-look.el: Convert to lexical-binding and completion-at-point.
1657 (info-lookup-completions-at-point): New function.
1658 (info-complete): Use it and completion-in-region.
1659
b74aa22b
DA
16602011-05-28 Drew Adams <drew.adams@oracle.com>
1661
1662 * isearch.el: Let M-e start with point at the first mismatched char.
1663 (isearch-fail-pos): New function.
1664 (isearch-edit-string): Use it.
1665
66e2e71d
DK
16662011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1667
1668 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1669
eb95d01d
TC
16702009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1671
1672 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
1673 traversal functions for avl-trees.
1674 (avl-tree--stack): New struct.
1675 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
1676 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
1677 (avl-tree--do-enter): Add optional `updatefun' arg.
1678 Change return value.
eb95d01d 1679 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
1680 (avl-tree--do-delete): Add `test' and `nilflag' args.
1681 Change return value.
eb95d01d
TC
1682 (avl-tree-member): Add optional `nilflag'
1683 (avl-tree-member-p): New function.
1684 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
1685 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
1686 (avl-tree-stack-empty-p): New functions.
1687
3769ddcf
TC
16882009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
1689
1690 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
1691 avl-tree--del-balance1 and make it work both ways.
1692 (avl-tree--del-balance2): Remove.
1693 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
1694 make it work both ways.
1695 (avl-tree--enter-balance2): Remove.
1696 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
1697 New macros.
1698 (avl-tree--mapc, avl-tree-map): Add direction argument.
1699
eb95d01d 17002011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
1701
1702 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
1703
a9f737ee
CY
17042011-05-27 Chong Yidong <cyd@stupidchicken.com>
1705
1706 * select.el: Support clipboard managers with built-in function
1707 x-clipboard-manager-save, via delete-frame-functions and
1708 kill-emacs-hook.
1709 (xselect-convert-to-targets): Add MULTIPLE target to list.
1710 (xselect-convert-to-save-targets): New function.
1711
c92a1e54
KH
17122011-05-27 Kenichi Handa <handa@m17n.org>
1713
1714 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
1715 let-binding rfc2047-encode-encoded-words to nil.
1716
e145f188
GM
17172011-05-27 Glenn Morris <rgm@gnu.org>
1718
5ec8a862
GM
1719 * mail/emacsbug.el: Don't require url-util.
1720
4b29d9fb
GM
1721 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
1722
e145f188
GM
1723 * files.el (set-auto-mode):
1724 Also respect mode: entries at the end of the file. (Bug#8586)
1725
7d15102b
GM
17262011-05-26 Glenn Morris <rgm@gnu.org>
1727
98f593b8
GM
1728 * files.el (hack-local-variables-prop-line, hack-local-variables):
1729 Downcase mode names, as seems to be traditional.
27b48e63 1730 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 1731
7d15102b
GM
1732 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
1733 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
1734
51d5b4ec
JD
17352011-05-25 Julien Danjou <julien@danjou.info>
1736
1737 * textmodes/rst.el (rst-define-level-faces): Do not define face
1738 symbol if it is already defined.
1739
91513f63
VB
17402011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1741
1742 * play/5x5.el (5x5-new-game, 5x5-randomize):
1743 Reset 5x5-solver-output to nil when a new grid is cast.
1744 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
1745 these debugging traces, as defmacro breaks the compiled code.
1746
4d90d6d0
DK
17472011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
1748
1749 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
1750
e1b90ef6
LL
17512011-05-24 Leo Liu <sdl.web@gmail.com>
1752
1753 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
1754 (vc-bzr-sha1): Adapt.
1755
d8e4b68b 1756 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
1757
1758 * bindings.el: Provide sha1 feature.
1759
db0406bb 17602011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
1761
1762 * mail/sendmail.el: Require `rfc2047'.
1763 (mail-insert-from-field): Do not perform RFC2047 encoding.
1764 (mail-encode-header): New function.
1765 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
1766 buffer to the return value of select-message-coding-system.
1767 Call mail-encode-header.
b8d747b9
KH
1768
1769 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
1770
db0406bb 17712011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 1772
4d90d6d0
DK
1773 * mail/supercite.el (sc-default-cite-frame):
1774 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 1775
eb8a5e9b
GM
17762011-05-24 Glenn Morris <rgm@gnu.org>
1777
f8630703
GM
1778 * progmodes/python.el (brm-menu): Declare.
1779
8831bbed
GM
1780 * emulation/viper.el (viper-set-hooks): Declare.
1781
eb8a5e9b
GM
1782 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
1783 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
1784 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
1785 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
1786 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
1787 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
1788
a2a25d24
SM
17892011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 Add an :exit-function for completion-at-point.
1792
1793 * minibuffer.el (completion--done): New fun.
1794 (completion--do-completion): Use it. New arg `expect-exact'.
1795 (minibuffer-complete, minibuffer-complete-word): Don't output message,
1796 since completion--do-completion does it for us now.
1797 (minibuffer-force-complete): Use completion--done and
1798 completion--replace. Handle sole-completion case with more care.
1799 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
1800 (completion-extra-properties): New var.
1801 (completion-annotate-function): Make obsolete.
1802 (minibuffer-completion-help): Adjust accordingly.
1803 Use completion-list-insert-choice-function.
1804 (completion-at-point, completion-help-at-point):
1805 Bind completion-extra-properties.
1806 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
1807 * simple.el (completion-list-insert-choice-function): New var.
1808 (completion-setup-function): Preserve it.
1809 (choose-completion): Pay attention to it, shuffle the code a bit.
1810 (choose-completion-string): New arg `insert-function'.
1811
1812 * textmodes/bibtex.el: Convert to lexical binding.
1813 (bibtex-mode-map): Use completion-at-point.
1814 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
1815 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
1816 (bibtex-complete): Define as obsolete alias.
1817 (bibtex-complete-internal): Remove.
1818 (bibtex-format-entry): Remove unused sub-group in regexp.
1819 * shell.el (shell--command-completion-data)
1820 (shell-environment-variable-completion):
1821 * pcomplete.el (pcomplete-completions-at-point):
1822 * comint.el (comint--complete-file-name-data): Use :exit-function
1823 instead of completion-table-with-terminator so it also works for
1824 choose-completion.
1825
e44e373d
SM
18262011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1827
4f91a816
SM
1828 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
1829
782fc819
SM
1830 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
1831 (bug#8710).
1832
e44e373d
SM
1833 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
1834
381987c3
KM
18352011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
1836
1837 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
1838 customization variable and implement: If non-nil, auto-fill will
1839 be inhibited while on topic's header line.
1840
b776bc70
VB
18412011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
1842
1843 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 1844 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
1845 always have a solution in grid size = 5 cases.
1846 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
1847 (5x5-solver-output, 5x5-log-buffer): New vars.
1848 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
1849 Make these variables buffer local to achieve 5x5 multi-session-ness.
1850 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
1851 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
1852 (5x5-solve-suggest): New funs.
1853 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
1854 randomize a grid so that we ensure that there is always a solution.
1855 (5x5-make-random-grid): Allow other movement than flipping.
1856
7de88b6e
KR
18572011-05-23 Kevin Ryde <user42@zip.com.au>
1858
1859 * emacs-lisp/advice.el (ad-read-advised-function):
1860 Use `function-called-at-point' as the default default, if it has
1861 advice and passes PREDICATE.
1862
b1ef1257
SM
18632011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1864
bbca48fe
SM
1865 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
1866 byte-compile-lambda if it's actually a lambda.
1867
b1ef1257
SM
1868 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
1869 Fix function quoting. Use backquote better.
1870
92a9cc65
YS
18712011-05-22 Yuanle Song <sylecn@gmail.com>
1872
1873 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
1874 matching (Bug#8516).
1875
f0fb8059
JA
18762011-01-22 Jari Aalto <jari.aalto@cante.net>
1877
1878 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
1879 different face (Bug#8178).
1880
d5b44c93
CY
18812011-05-22 Chong Yidong <cyd@stupidchicken.com>
1882
1883 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
1884 defface (Bug#8144).
1885
79106a44
SM
18862011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1887
9c848d8a
SM
1888 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
1889 funcall as well (bug#8712). Warn when performing those conversions.
1890 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
1891
79106a44
SM
1892 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
1893
88dfa756
GM
18942011-05-22 Glenn Morris <rgm@gnu.org>
1895
1896 * files.el (hack-local-variables-prop-line): Small simplifications.
1897 (hack-local-variables, hack-local-variables-prop-line):
1898 If MODE-ONLY, return the mode, rather than just `t'.
1899
b7cf2c79
SM
19002011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
1903
3f1a8558
GM
19042011-05-21 Glenn Morris <rgm@gnu.org>
1905
7e4ccca3
GM
1906 * files.el (hack-local-variables-prop-line, hack-local-variables):
1907 If only interested in the mode, don't bother doing the other stuff.
1908
637d46ca
GM
1909 * image-mode.el (image-after-revert-hook):
1910 Redraw all frames on which the image is visible. (Bug#8567)
1911
973d955b
GM
1912 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
1913
3f1a8558
GM
1914 * wid-edit.el (widget-checklist-match-inline):
1915 Fix 2011-04-19 change. (Bug#8649)
1916
96479927
SM
19172011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1dcf791f
SM
1919 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
1920 Also allow singlespace after single-letter capitals followed by a dot.
1921
96479927
SM
1922 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
1923 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
1924
35fd0881
N
19252011-05-20 Nix <nix@esperi.org.uk>
1926
1927 * files.el (basic-save-buffer-2):
1928 Fix handling of break-hardlink-on-save with non-existent files.
1929
82745640
DD
19302011-05-19 Deniz Dogan <deniz@dogan.se>
1931
1932 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 1933 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 1934
4a720484
GM
19352011-05-19 Glenn Morris <rgm@gnu.org>
1936
d1f21341
GM
1937 * progmodes/f90.el (f90-type-def-re):
1938 Handle "type, bind(c)". (Bug#8691)
1939
4a720484
GM
1940 * emacs-lisp/autoload.el (batch-update-autoloads):
1941 Set autoload-excludes by parsing loadup.el rather than Makefiles.
1942
2fb0a219
MA
19432011-05-18 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/tramp.el (tramp-process-actions): Set "first-password-request"
1946 property for the correct connection in case of multihops.
1947
e565dd37
GM
19482011-05-18 Glenn Morris <rgm@gnu.org>
1949
c2571358 1950 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
1951 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
1952
e565dd37
GM
1953 Rationalize calendar handling of day and month abbrev-arrays.
1954 * calendar/calendar.el (calendar-customized-p): New function.
1955 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
1956 (calendar-day-name-array, calendar-month-name-array): Doc fix.
1957 Add :set function.
1958 (calendar-abbrev-length, calendar-day-abbrev-array)
1959 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
1960 (calendar-day-abbrev-array, calendar-month-abbrev-array):
1961 Elements may no longer be nil.
1962 (calendar-day-name, calendar-month-name):
1963 Update for changed nature of abbrev arrays.
1964 * calendar/diary-lib.el (diary-name-pattern):
1965 Update for changed nature of abbrev arrays.
1966 (diary-mark-entries-1): Update calendar-make-alist calls.
1967 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
1968 * calendar/cal-html.el (cal-html-day-abbrev-array):
1969 Simply inherit from calendar-day-abbrev-array.
1970
1d99a745
SM
19712011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * progmodes/grep.el (grep-mode): Disable default
1974 compilation-directory-matcher setting (bug#8684).
1975
7c1d9aa0
MA
19762011-05-17 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
1979 instead of "head" and "tail". There were problems with SunOS 5.9,
1980 and it performs better.
1981
3952e9d8
GM
19822011-05-17 Glenn Morris <rgm@gnu.org>
1983
2dd12e7f
GM
1984 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
1985
e4157b9c
GM
1986 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1987 Replace obsolete function.
1988
8e249bbd
GM
1989 * shell.el (pcomplete-parse-arguments-function): Declare.
1990
3952e9d8
GM
1991 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
1992 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
1993 (appt-check): Doc fixes.
1994 (appt-disp-window-function, appt-delete-window-function):
1995 Remove needless special case in custom :type.
1996 (appt-display-count): Default to 0, not nil.
1997 (appt-check): Reset appt-display-count to 0, not nil.
1998
c71a0d48 19992011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 2000
c71a0d48
GM
2001 * progmodes/python.el (python-font-lock-keywords):
2002 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 2003
31d55be9
SM
20042011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2007
3bfacb2f
KR
20082011-05-16 Kevin Ryde <user42@zip.com.au>
2009
2010 * info-look.el (makefile-automake-mode): New setups, looking in
2011 automake manual, then makefile-mode.
2012 (makefile-mode): Remove automake manual, have it just in
2013 makefile-automake-mode since there's various things different or
2014 not relevant to plain make.
2015 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2016 believe a hypothetical automake-mode would go to makefile-mode,
2017 not the other way around.
2018
c8e83751
CY
20192011-05-15 Chong Yidong <cyd@stupidchicken.com>
2020
5e9e35cd
CY
2021 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2022 hunk-end tags (Bug#8672).
2023
c8e83751
CY
2024 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2025 vc-annotate-show-diff-revision-at-line (Bug#8671).
2026
50b23e5a
GM
20272011-05-14 Glenn Morris <rgm@gnu.org>
2028
7210a739
GM
2029 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2030 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
2031 (change-log-font-lock-keywords): Also handle multiple author lines
2032 with leading tabs. (Bug#8644)
7210a739 2033
4691905a
GM
2034 * calendar/appt.el (appt-check): Rename some local variables.
2035 Some simplification/reordering.
2036
50b23e5a
GM
2037 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2038 (feedmail-sendmail-f-doesnt-sell-me-out)
2039 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2040 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2041 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
2042 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2043 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
2044 (feedmail-binmail-gnulinuxish-template):
2045 Rename from feedmail-binmail-linuxish-template.
2046 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2047 Use insert-buffer-substring.
2048
215cda7c
BC
20492011-05-14 Bill Carpenter <bill@carpenter.org>
2050
2051 * mail/feedmail.el (feedmail-patch-level): Increase.
2052 (feedmail-debug): New custom group.
2053 (feedmail-confirm-outgoing-timeout)
2054 (feedmail-sendmail-f-doesnt-sell-me-out)
2055 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2056 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2057 (feedmail-sender-line, feedmail-from-line)
2058 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 2059 (feedmail-spray-this-address)
215cda7c
BC
2060 (feedmail-spray-address-fiddle-plex-list)
2061 (feedmail-queue-use-send-time-for-date)
2062 (feedmail-queue-use-send-time-for-message-id)
2063 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2064 (feedmail-buffer-eating-function):
2065 Doc fixes.
2066 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2067 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2068 (feedmail-message-action-scroll-down): New functions.
2069 (feedmail-queue-directory, feedmail-queue-draft-directory):
2070 Use expand-file-name.
2071 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2072 Remove C-v help entry.
2073 (feedmail-queue-buffer-file-name): New variable.
2074 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2075 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2076 (feedmail-message-action-send-strong, feedmail-message-action-edit)
2077 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2078 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2079 (feedmail-message-action-toggle-spray)
2080 (feedmail-run-the-queue-no-prompts)
2081 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2082 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2083 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2084 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2085 (feedmail-envelope-deducer, feedmail-fiddle-from)
2086 (feedmail-fiddle-sender, feedmail-default-date-generator)
2087 (feedmail-fiddle-date, feedmail-fiddle-message-id)
2088 (feedmail-fiddle-spray-address)
2089 (feedmail-fiddle-list-of-spray-fiddle-plexes)
2090 (feedmail-fiddle-list-of-fiddle-plexes)
2091 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2092 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2093 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2094 Change default. Doc fix.
2095 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2096 (feedmail-binmail-linuxish-template): New constant.
2097 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
2098 Respect feedmail-sendmail-f-doesnt-sell-me-out.
2099 (feedmail-send-it): Add debug call.
2100 Use feedmail-queue-buffer-file-name, and
2101 feedmail-send-it-immediately-wrapper.
2102 (feedmail-message-action-send): Add debug call.
2103 Use feedmail-send-it-immediately-wrapper.
2104 (feedmail-queue-express-to-queue): Add debug call.
2105 Run feedmail-queue-express-hook.
2106 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
2107 (feedmail-message-action-help-blat):
2108 Rename from feedmail-queue-send-edit-prompt-help-first.
2109 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
2110 Check line-endings. Handle errors better.
2111 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2112 Doc fix. Add debug call.
2113 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
2114 Use feedmail-queue-send-edit-prompt-inner.
2115 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2116 (feedmail-queue-send-edit-prompt-inner): New function, extracted
2117 from feedmail-queue-send-edit-prompt.
2118 (feedmail-queue-send-edit-prompt-help)
2119 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2120 (feedmail-tidy-up-slug): Add debug call.
2121 Respect feedmail-queue-slug-suspect-regexp.
2122 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2123 (feedmail-dump-message-to-queue): Add debug call.
2124 Expand queue-directory.
2125 (feedmail-dump-message-to-queue): Change message slightly.
2126 Use feedmail-say-chatter.
2127 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
2128 (feedmail-send-it-immediately-wrapper): New function.
2129 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
2130 Insert empty string rather than newline. Handle full-frame case.
2131 Use catch/throw. Use feedmail-say-chatter.
2132 (feedmail-fiddle-from): Try mail-host-address.
2133 (feedmail-default-message-id-generator): Doc fix.
2134 Bind system-time-locale. Handle missing end.
2135 (feedmail-fiddle-x-mailer): Add debug call.
2136 Handle feedmail-x-mailer-line being nil.
2137 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2138 Add debug call. Use buffer-substring-no-properties.
2139 (feedmail-say-debug, feedmail-say-chatter): New functions.
2140 (feedmail-find-eoh): Give an explicit error.
2141
42c7e61e
UJ
21422011-05-13 Ulf Jasper <ulf.jasper@web.de>
2143
c2571358 2144 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 2145 family from helvetica to sans.
c2571358 2146 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
2147 etc/images/newsticker.
2148
c2571358 2149 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
2150 family from helvetica to sans.
2151
2152 * net/newst-plainview.el (newsticker-new-item-face)
2153 (newsticker-old-item-face, newsticker-immortal-item-face)
2154 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 2155 (newsticker-statistics-face): Change default family from
42c7e61e 2156 helvetica to sans.
c2571358 2157 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
2158 etc/images/newsticker.
2159
2160 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2161 (newsticker--process-auto-mark-filter-match): : Tell user about
2162 auto-marking.
2163
8497a297
DV
21642011-05-13 Didier Verna <didier@xemacs.org>
2165
2166 Common Lisp indentation improvements on defmethod and lambda-lists.
2167 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2168 (lisp-lambda-list-keyword-parameter-indentation)
2169 (lisp-lambda-list-keyword-parameter-alignment)
2170 (lisp-lambda-list-keyword-alignment): New customizable user options.
2171 (lisp-indent-defun-method): Improve docstring.
2172 (extended-loop-p): Fix comment.
2173 (lisp-indent-lambda-list-keywords-regexp): New variable.
2174 (lisp-indent-lambda-list): New function.
2175 (lisp-indent-259): Use it.
2176 (lisp-indent-defmethod): Support for more than one
2177 method qualifier and properly indent methods lambda-lists.
2178 (defgeneric): Provide a missing common-lisp-indent-function property.
2179
f278f87f
SM
21802011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2183 bounds for the empty string (bug#8667).
2184
5233edd7
GM
21852011-05-13 Glenn Morris <rgm@gnu.org>
2186
5237a44f
GM
2187 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2188
8340026c 2189 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 2190 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 2191
5233edd7 2192 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 2193 (appt-time-msg-list): Doc fix.
a5464014 2194 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 2195
92d10796
AS
21962011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2197
2198 * progmodes/ld-script.el (ld-script-keywords)
2199 (ld-script-builtins): Update keywords list.
2200
914a0ae1
SM
22012011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2202
c89be45f
SM
2203 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2204
914a0ae1
SM
2205 * shell.el (shell-completion-vars): New function.
2206 (shell-mode):
2207 * simple.el (read-shell-command): Use it.
2208 (blink-matching-open): No need for " [...]" in minibuffer-message.
2209
98dc3df3
GM
22102011-05-12 Glenn Morris <rgm@gnu.org>
2211
2212 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2213 (appt-check): Simplify.
2214
d2fc7e3d 22152011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
2216
2217 * smerge-mode.el (smerge-resolve): Use null-device rather than a
2218 literal "/dev/null".
2219
d2fc7e3d 22202011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
2221
2222 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2223 Fix typo.
2224
d2fc7e3d 22252011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 2226
3f254caa
SM
2227 * progmodes/which-func.el (which-function):
2228 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
2229 which might not be defined (Bug#8260).
2230
d45885f7
GM
22312011-05-12 Glenn Morris <rgm@gnu.org>
2232
2233 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2234 Let byte-compile-initial-macro-environment always take precedence.
2235
488086f4
SM
22362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * net/rcirc.el: Add support for SSL/TLS connections.
2239 (rcirc-server-alist): New field `encryption'.
2240 (rcirc): Check `encryption' settings.
2241 (rcirc-connect): New arg `encryption'. Use open-network-stream.
2242 Merge make-local-variable into `set'.
2243 (rcirc--connection-open-p): New function.
2244 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2245 the process is not a network process (e.g. running gnutls-cli).
2246 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2247 Make rcirc-(en|de)code-coding-system local here.
2248 (rcirc-mode): Merge make-local-variable into `set'.
2249 (rcirc-parent-buffer): Make permanent buffer-local.
2250 (rcirc-multiline-minor-mode): Don't do it here.
2251 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2252 there's no server buffer.
2253
7d3b9d44
GM
22542011-05-11 Glenn Morris <rgm@gnu.org>
2255
f64049c6
GM
2256 * newcomment.el (comment-kill): Prefix "unused" local.
2257
93c9df73
GM
2258 * term/w32console.el (get-screen-color): Declare.
2259
7d3b9d44
GM
2260 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2261 Handle symbol elements of byte-compile-initial-macro-environment.
2262
9e2dd53f
LL
22632011-05-10 Leo Liu <sdl.web@gmail.com>
2264
488086f4
SM
2265 * bookmark.el (bookmark-bmenu-mode-map):
2266 Bind bookmark-bmenu-search to `/'.
8b340240 2267
9e2dd53f 2268 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
2269 (footnote-unicode-string, footnote-unicode-regexp): New variable.
2270 (Footnote-unicode): New function.
2271 (footnote-style-alist): Add unicode style to the list.
2272 (footnote-style): Doc fix.
9e2dd53f 2273
79b70037
GM
22742011-05-10 Jim Meyering <meyering@redhat.com>
2275
2276 Fix doubled-word typos.
2277 * international/quail.el (quail-insert-kbd-layout): and and -> and
2278 * kermit.el: and and -> and
2279 * net/ldap.el (ldap-search-internal): to to -> to
2280 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2281 * progmodes/js.el (js-mode): and and -> and
2282 * textmodes/artist.el (artist-move-to-xy): at at -> at
2283 (artist-draw-region-trim-line-endings): if if -> if
2284 And Safetyc -> Safety.
2285 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2286
b8f82dc1 22872011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 2288 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
2289
2290 * files.el (hack-one-local-variable-eval-safep):
2291 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
2292
4f99f44b
GM
22932011-05-10 Glenn Morris <rgm@gnu.org>
2294
2295 * calendar/diary-lib.el (diary-list-entries-hook)
2296 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2297 (diary-nongregorian-marking-hook, diary-list-entries)
2298 (diary-include-other-diary-files, diary-mark-entries)
2299 (diary-mark-included-diary-files): Doc fixes.
2300
84f29e6b
JB
23012011-05-09 Juanma Barranquero <lekktu@gmail.com>
2302
2303 * misc.el: Require tabulated-list.el during compilation.
2304
9bedd73a
CY
23052011-05-09 Chong Yidong <cyd@stupidchicken.com>
2306
488086f4
SM
2307 * progmodes/compile.el (compilation-start):
2308 Run compilation-filter-hook for the async case too.
9bedd73a
CY
2309 (compilation-filter-hook): Doc fix.
2310
797c735c
DD
23112011-05-09 Deniz Dogan <deniz@dogan.se>
2312
2313 * wdired.el: Remove outdated installation comment. Fix usage
2314 comment.
2315
5f4b1dfe
JB
23162011-05-09 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * misc.el: Implement new command `list-dynamic-libraries'.
2319 (list-dynamic-libraries--loaded-only-p): New variable.
2320 (list-dynamic-libraries--refresh): New function.
2321 (list-dynamic-libraries): New command.
2322
4c44026c
CY
23232011-05-09 Chong Yidong <cyd@stupidchicken.com>
2324
488086f4
SM
2325 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2326 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
2327 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
2328 higher priority to avoid clobbering by gnu.
2329
027f966d
CY
23302011-05-08 Chong Yidong <cyd@stupidchicken.com>
2331
2332 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2333 if the face has existing theme settings (Bug#8454).
2334
085f5d7d
CY
23352011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
2336
488086f4
SM
2337 * progmodes/perl-mode.el (perl-imenu-generic-expression):
2338 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 2339
2a86a00c
RS
2340 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2341 special file names `.' and `..' (Bug#8259).
2342
d9c54a06
CY
23432011-05-08 Chong Yidong <cyd@stupidchicken.com>
2344
488086f4
SM
2345 * progmodes/grep.el (grep-mode-font-lock-keywords):
2346 Remove buffer-changing entries.
d9c54a06
CY
2347 (grep-filter): New function.
2348 (grep-mode): Add it to compilation-filter-hook.
2349
2350 * progmodes/compile.el (compilation-filter-hook)
2351 (compilation-filter-start): New defvars.
2352 (compilation-filter): Call compilation-filter-hook prior to
2353 updating the process mark.
2354
c4662635
SM
23552011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2358
b0512a1d
EZ
23592011-05-07 Eli Zaretskii <eliz@gnu.org>
2360
605c9376
EZ
2361 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2362 mailclient-send-it even if window-system is nil. (Bug#8595)
2363
c4662635
SM
2364 * term/w32console.el (terminal-init-w32console):
2365 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
2366 background-mode. (Bug#8597)
2367
d1dc2cc2
SM
23682011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2371 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2372 New functions.
2373 (defgeneric, eieio--defmethod): Use them.
2374 (eieio-defgeneric): Remove.
2375 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2376
915d1300
GM
23772011-05-07 Glenn Morris <rgm@gnu.org>
2378
a3961c3e
GM
2379 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2380 Use let rather than let*.
2381 (timeclock-find-discrep): Remove unused local.
2382
314347b9
GM
2383 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2384
915d1300
GM
2385 * calendar/appt.el (appt-time-msg-list): Doc fix.
2386
275b59b0
NF
23872011-05-06 Noah Friedman <friedman@splode.com>
2388
2389 * apropos.el (apropos-print-doc): Only use
2390 emacs-lisp-docstring-fill-column when it is bound to an integer,
2391 per that variable's documentation.
2392
6c19f744
SM
23932011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 2396 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 2397
60f884b2
GM
23982011-05-06 Glenn Morris <rgm@gnu.org>
2399
5006e634
GM
2400 * calendar/appt.el (appt-message-warning-time): Doc fix.
2401 (appt-warning-time-regexp): New option.
2402 (appt-make-list): Respect appt-message-warning-time.
2403
548d0a63
GM
2404 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2405 New options.
2406 (diary-add-to-list): Strip comments from the displayed string.
2407 (diary-mode): Set comment-start and comment-end.
2408
60f884b2
GM
2409 * vc/diff-mode.el (smerge-refine-subst): Declare.
2410 (diff-refine-hunk): Don't require smerge-mode when compiling.
2411
989681bb
JB
24122011-05-06 Juanma Barranquero <lekktu@gmail.com>
2413
2414 * simple.el (list-processes): Return nil as the docstring says.
2415
a6bc05e1
MA
24162011-05-05 Michael Albinus <michael.albinus@gmx.de>
2417
2418 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2419 to "".
2420 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2421 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2422 determining of binary transfer. (Bug#7383)
2423
23c22e9a
MA
24242011-05-05 Michael Albinus <michael.albinus@gmx.de>
2425
c4662635
SM
2426 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2427 Fix port computation bug. (Bug#8618)
23c22e9a 2428
0bff894f
GM
24292011-05-05 Glenn Morris <rgm@gnu.org>
2430
b8296902
GM
2431 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2432
1f522ce8
GM
2433 * simple.el (shell-dynamic-complete-functions)
2434 (comint-dynamic-complete-functions): Declare.
2435
cf5bee67
GM
2436 * net/network-stream.el (gnutls-negotiate):
2437 * simple.el (tabulated-list-print): Fix declarations.
2438
2439 * progmodes/gud.el (syntax-symbol, syntax-point):
2440 Remove unnecessary and incorrect declarations.
2441
0bff894f
GM
2442 * emacs-lisp/check-declare.el (check-declare-scan):
2443 Handle byte-compile-initial-macro-environment in bytecomp.el
2444
9869b3ae
SM
24452011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 Fix earlier half-done eieio-defmethod change (bug#8338).
2448 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2449 Streamline and change calling convention.
2450 (defmethod): Adjust accordingly and simplify.
2451 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2452 new eieio--defmethod.
2453 (slot-boundp): Minor CSE simplification.
2454
9c1d5ac5
MZ
24552011-05-05 Milan Zamazal <pdm@zamazal.org>
2456
2457 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2458 (glasses-make-readable): Use glasses-separate-capital-groups.
2459
455c834e
JB
24602011-05-05 Juanma Barranquero <lekktu@gmail.com>
2461
2462 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2463 (warning-series): Doc fix.
2464 (display-warning): Don't try to create the buffer if we just found it.
2465
9ed7c8cb
CY
24662011-05-04 Chong Yidong <cyd@stupidchicken.com>
2467
2468 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2469 (autoload-find-generated-file): New function.
2470 (generate-file-autoloads): Bind generated-autoload-file to
2471 buffer-file-name.
9869b3ae
SM
2472 (update-file-autoloads, update-directory-autoloads):
2473 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
2474 output file (Bug#7989).
2475 (batch-update-autoloads): Doc fix.
2476
0898ca10
JB
24772011-05-04 Juanma Barranquero <lekktu@gmail.com>
2478
2479 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2480
31dfb76c
GM
24812011-05-04 Glenn Morris <rgm@gnu.org>
2482
f330b642
GM
2483 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2484 function, so it follows changes in calendar-date-style.
2485 (diary-fancy-date-matcher): New function.
2486 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2487 (diary-fancy-font-lock-fontify-region-function):
2488 Use diary-fancy-date-pattern as a function.
2489
31dfb76c
GM
2490 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2491 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2492
48e79d6a
TZ
24932011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2494
2495 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2496 instead of positional arguments. Allow :keylist and :crlfiles
2497 arguments.
2498 (open-gnutls-stream): Call it.
2499
2500 * net/network-stream.el (network-stream-open-starttls): Adjust to
2501 call `gnutls-negotiate' with :process and :hostname arguments.
2502
dd5a5ee0
SM
25032011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2504
ef80fc09
SM
2505 * minibuffer.el (completion--message): New function.
2506 (completion--do-completion, minibuffer-complete)
2507 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2508 (completion--do-completion): Don't ignore completion-auto-help when in
2509 icomplete-mode.
2510
dd5a5ee0
SM
2511 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2512 internal encoding (e.g. tibetan zero is not whitespace).
2513 (global-whitespace-mode): Prefer save-current-buffer.
2514 (whitespace-trailing-regexp): Remove useless save-match-data.
2515 (whitespace-empty-at-bob-regexp): Minor simplification.
2516
b7d22a83
CY
25172011-05-03 Chong Yidong <cyd@stupidchicken.com>
2518
2519 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2520
5192af46
AM
25212011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2522
2523 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 2524 Use `concat' to create string for insertion.
5192af46 2525
5767d190
SM
25262011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2529 Avoid open-line which runs post-self-insert-hook.
2530 (bibtex-fill-entry): Remove unused `end' var.
2531
bf242939
AM
25322011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2533
5767d190
SM
2534 * textmodes/ispell.el (ispell-add-per-file-word-list):
2535 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 2536
25666126
LL
25372011-05-03 Leo Liu <sdl.web@gmail.com>
2538
2539 * isearch.el (isearch-yank-pop): New command.
5767d190 2540 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
2541 (isearch-forward): Mention it.
2542
52d3c2d0
SM
25432011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2544
1bcace58
SM
2545 * simple.el (minibuffer-complete-shell-command): Remove.
2546 (minibuffer-local-shell-command-map): Use completion-at-point.
2547 (read-shell-command): Setup completion vars here instead.
2548 (read-expression-map): Bind TAB to symbol completion.
2549
52d3c2d0
SM
2550 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2551 error directly rather via storing it into `results'.
2552
35813471
LL
25532011-05-02 Leo Liu <sdl.web@gmail.com>
2554
2555 * vc/diff.el: Fix description.
2556
e793a940
LMI
25572011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558
2559 * server.el (server-eval-at): New function.
2560
8de66e05
LMI
25612011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2562
2563 * net/network-stream.el (open-network-stream): Take a :nowait
2564 parameter and pass it on to `make-network-process'.
2565 (network-stream-open-plain): Ditto.
2566
dcb79f20
AS
25672011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2568
2569 * faces.el (face-spec-set-match-display): Don't match toolkit
2570 options on terminal frames.
2571
14a7fbd8
SM
25722011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2573
7eabc1be
SM
2574 * progmodes/pascal.el: Use lexical binding.
2575 (pascal-mode-map): Remove author preferences.
2576
14a7fbd8
SM
2577 * pcomplete.el (pcomplete-std-complete): Don't abuse
2578 completion-at-point.
2579
50f84510
JB
25802011-04-28 Juanma Barranquero <lekktu@gmail.com>
2581
6e087a44
JB
2582 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2583 removing code that has been dead since 1991 or so.
2584
50f84510
JB
2585 * startup.el (command-line): When warning about "_emacs", use a
2586 delayed warning to allow the user to filter it out.
2587
0ba690bd
DD
25882011-04-28 Deniz Dogan <deniz@dogan.se>
2589
2590 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2591 user has not joined.
2592
08abfaad
SM
25932011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2596 aren't any completions at point.
2597
638f053a
JB
25982011-04-28 Juanma Barranquero <lekktu@gmail.com>
2599
2600 * subr.el (display-delayed-warnings): New function.
2601 (delayed-warnings-hook): New variable.
2602
8fff8daa
SM
26032011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2604
08abfaad
SM
2605 * minibuffer.el (completion-at-point, completion-help-at-point):
2606 Don't presume that a given completion-at-point-function will always
2607 use the same calling convention.
2608
8fff8daa
SM
2609 * pcomplete.el (pcomplete-completions-at-point):
2610 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
2611 pcomplete-seen is non-nil.
2612 (pcomplete-comint-setup): Also recognize the new comint/shell
2613 completion functions.
2614 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
2615 pcomplete-seen is non-nil.
2616
841a1577 26172011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 2618
841a1577 2619 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 2620 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 2621 the first character in the entry. This allows for code to add its
211ec907
UJ
2622 own uid to the entry.
2623 (icalendar--convert-float-to-ical): Add export of
2624 `diary-float'-entries save for those with the optional DAY
2625 argument.
2626
2a782793
DC
26272011-04-27 Daniel Colascione <dan.colascione@gmail.com>
2628
2629 * subr.el (shell-quote-argument): Use alternate escaping strategy
2630 when we spot a variable reference in a string.
2631
0438ce91
DC
26322011-04-26 Daniel Colascione <dan.colascione@gmail.com>
2633
2634 * cus-start.el (all): Define customization for debug-on-event.
2635
841a1577 26362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
2637
2638 * subr.el (shell-quote-argument): Escape correctly under Windows.
2639
d090ed6c
SM
26402011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
2643
bfd31217
MA
26442011-04-25 Michael Albinus <michael.albinus@gmx.de>
2645
d090ed6c
SM
2646 * net/tramp.el (tramp-process-actions): Add POS argument.
2647 Delete region between POS and (pos).
bfd31217 2648
d090ed6c
SM
2649 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2650 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
2651 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
2652
2653 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
2654 position in `tramp-process-actions' call.
2655
2656 * net/trampver.el: Update release number.
2657
e92f3bd3
SM
26582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2659
850256b5
SM
2660 * custom.el (defcustom): Obey lexical-binding.
2661
e92f3bd3
SM
2662 Fix octave-inf completion problems reported by Alexander Klimov.
2663 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
2664 Inherit from octave-mode-syntax-table.
2665 (inferior-octave-mode): Set info-lookup-mode.
2666 (inferior-octave-completion-at-point): New function.
2667 (inferior-octave-complete): Use it and completion-in-region.
2668 (inferior-octave-dynamic-complete-functions): Use it as well, and use
2669 comint-filename-completion.
2670 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
2671 symbol elements which shouldn't be word elements.
2672 (octave-font-lock-keywords, octave-beginning-of-defun)
2673 (octave-function-header-regexp): Adjust regexps accordingly.
2674 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2675
cd22b309
JB
26762011-04-25 Juanma Barranquero <lekktu@gmail.com>
2677
2678 * net/gnutls.el (gnutls-errorp): Declare before first use.
2679
8b492194
TZ
26802011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
2681
2682 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
2683 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
2684 default trustfile exists before going to use it. Add missing
2685 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
2686 Reported by Claudio Bley <claudio.bley@gmail.com>.
2687 (open-gnutls-stream): Add usage example.
2688
2689 * net/network-stream.el (network-stream-open-starttls): Give host
2690 parameter to `gnutls-negotiate'.
2691 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 2692 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 2693
841a1577 26942011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 2695
cd22b309
JB
2696 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2697 Use correct match group (bug#8438).
05842630 2698
3ba7869c
CY
26992011-04-24 Chong Yidong <cyd@stupidchicken.com>
2700
512e3ae1
CY
2701 * emacs-lisp/package.el (package-built-in-p): Fix typo.
2702 (package-menu--generate): New arg specifying packages to show.
2703 (package-menu-refresh, package-menu-execute, list-packages):
2704 Callers changed.
2705 (package-show-package-list): New function, replacing deleted
2706 package--list-packages (renamed because it is non-internal).
2707
2708 * finder.el (finder-list-matches): Use package-show-package-list
2709 instead of deleted package--list-packages.
2710
e92f3bd3
SM
2711 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
2712 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
2713 (vc-annotate-mode-map): Bind it to RET.
2714
7031be6d
UR
27152011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
2716
2717 * progmodes/etags.el (next-file): Don't use set-buffer to change
2718 buffers (Bug#8478).
2719
4ef177aa
CY
27202011-04-24 Chong Yidong <cyd@stupidchicken.com>
2721
c8d173eb
CY
2722 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
2723
4ef177aa
CY
2724 * apropos.el (apropos-label-face): Avoid variable-pitch face.
2725 (apropos-accumulator): Doc fix.
2726 (apropos-function, apropos-macro, apropos-command)
2727 (apropos-variable, apropos-face, apropos-group, apropos-widget)
2728 (apropos-plist): Add face property.
2729 (apropos-symbols-internal): Fix indentation.
2730 (apropos-print): Simplify help, and recognize apropos-multi-type.
2731 (apropos-print-doc): Use button-type-get to extract the button's
2732 face property. Fill docstring (Bug#8352).
2733
4ffd0d6b 27342011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
2735
2736 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
2737
c6c32125 2738 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 2739 (mpuz-mode-map): Use mapc.
c6c32125
JB
2740 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
2741 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
2742 Fix typos in docstrings.
2743
58d468b4
JB
2744 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
2745 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
2746
6470c3c6
JB
2747 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
2748
4ffd0d6b 27492011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
2750
2751 * minibuffer.el (completion--do-completion): Avoid the "Next char
2752 not unique" prompt if icomplete-mode is enabled (Bug#5849).
2753
3ad8bad0
CY
2754 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
2755 mouse-2 into unread-command-events, it is interpreted correctly.
2756
71d73c9c 2757 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 2758 (image-toggle-display): Doc fix.
71d73c9c 2759
841a1577 27602011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 2761
4ffd0d6b
GM
2762 * textmodes/page.el (what-page): Use line-number-at-pos to
2763 calculate line number (Bug#6825).
6e1dbaa9 2764
c2fb1b60
JB
27652011-04-22 Juanma Barranquero <lekktu@gmail.com>
2766
2767 * eshell/esh-mode.el (find-tag-interactive): Declare function.
2768 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
2769 Pass argument NO-DEFAULT to `find-tag-interactive'.
2770
e02f48d7
JB
27712011-04-22 Juanma Barranquero <lekktu@gmail.com>
2772
2773 Lexical-binding cleanup.
2774
2775 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
2776 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
2777 * progmodes/ada-prj.el (ada-prj-initialize-values)
2778 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
2779 (ada-prj-show-value):
2780 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
2781 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
2782 (antlr-invalidate-context-cache, antlr-options-menu-filter)
2783 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
2784 * progmodes/bug-reference.el (bug-reference-push-button):
2785 * progmodes/fortran.el (fortran-line-length):
2786 * progmodes/glasses.el (glasses-change):
2787 * progmodes/octave-mod.el (octave-fill-paragraph):
2788 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
2789 (python-pdbtrack-grub-for-buffer, python-sentinel):
2790 * progmodes/sql.el (sql-save-connection):
2791 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
2792 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
2793 Mark unused parameters.
2794
2795 * progmodes/compile.el (compilation--flush-directory-cache)
2796 (compilation--flush-parse, compile-internal): Mark unused parameters.
2797 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
2798 (compilation-next-error-function): Remove unused variable `timestamp'.
2799
2800 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
2801 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
2802
2803 * progmodes/dcl-mode.el (dcl-end-of-command):
2804 Remove unused variable `start'.
2805 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
2806 (dcl-option-value-basic, dcl-option-value-offset)
2807 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
2808 Mark unused parameters.
2809 (dcl-save-local-variable): Remove unused variable `val'.
2810 (mode): Declare.
2811
2812 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
2813 Mark unused parameters.
2814 (delphi-ignore-changes): Move before first use.
2815 (delphi-charset-token-at): Remove unused variable `start'.
2816 (delphi-else-start): Remove unused variable `if-count'.
2817 (delphi-comment-block-start, delphi-comment-block-end):
2818 Remove unused variable `kind'.
2819 (delphi-indent-line): Remove unused variable `new-point'.
2820
2821 * progmodes/ebrowse.el (ebrowse-files-list)
2822 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
2823 Mark unused parameters. Don't quote `lambda'.
2824 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
2825 Don't quote `lambda'.
2826 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
2827 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
2828 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
2829 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
2830 Use `ignore-errors'.
2831 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
2832 (ebrowse-view/find-file-and-search-pattern)
2833 (ebrowse-view/find-member-declaration/definition):
2834 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
2835 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
2836 Rename parameter PREFIX-ARG to PREFIX.
2837 (ebrowse-tags-read-name): Remove unused variables `start' and
2838 `member-info'.
2839 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
2840 to `tags-file'.
2841
2842 * progmodes/etags.el (local-find-tag-hook): Declare.
2843 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
2844 Mark unused parameters.
2845
2846 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
2847 (executable-interpret): Mark unused parameter.
2848
2849 * progmodes/flymake.el (flymake-process-sentinel)
2850 (flymake-after-change-function)
2851 (flymake-create-temp-with-folder-structure)
2852 (flymake-get-include-dirs-dot): Mark unused parameters.
2853 (flymake-safe-delete-directory): Remove unused variable `err'.
2854
2855 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
2856 (speedbar-timer-fn, speedbar-line-text)
2857 (speedbar-change-expand-button-char, speedbar-delete-subblock)
2858 (speedbar-center-buffer-smartly): Declare functions.
2859 (gdb-find-watch-expression): Remove unused variable `array'.
2860 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
2861 (gdb-starting): Mark unused parameters.
2862 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
2863 (gdb-table-string): Remove unused variable `res'.
2864 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
2865 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
2866 (gdb-display-buffer): Remove unused variable `cur-size'.
2867
2868 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
2869 allow lexical-binding compilation.
2870 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
2871 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
2872 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
2873 Mark unused parameters.
2874 (gud-gdb-marker-filter): Remove unused variable `match'.
2875 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
2876 lambda expressions and funcall them, instead of using `fset'.
2877
2878 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
2879 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
2880
2881 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
2882 variable `header-beg'; use `let'.
2883
2884 * progmodes/icon.el (indent-icon-exp): Remove unused variables
2885 `restart', `last-sexp' and `at-do'.
2886
2887 * progmodes/js.el (js--debug): Mark unused parameter.
2888 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
2889 (js--splice-into-items): Remove unused variable `item'.
2890 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
2891
2892 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
2893 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
2894 (makefile-complete): Remove unused variable `try'.
2895 (makefile-fill-paragraph, makefile-match-function-end):
2896 Mark unused parameters.
2897
2898 * progmodes/octave-inf.el (inferior-octave-complete):
2899 Remove unused variable `proc'.
2900 (inferior-octave-output-digest): Mark unused parameter.
2901
2902 * progmodes/perl-mode.el (perl-calculate-indent):
2903 Remove unused variable `err'.
2904
2905 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
2906 (prolog-indent-line): Mark unused parameters.
2907 (prolog-indent-line): Remove unused variable `beg'.
2908
2909 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
2910 (reporter-dont-compact-list): Declare.
2911
2912 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
2913 Remove unused variable `char'.
2914 (sh-debug): Mark unused parameter.
2915 (sh-get-indent-info): Remove unused variable `start'.
2916 (sh-calculate-indent): Remove unused variable `var'.
2917
2918 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
2919 (simula-electric-keyword): Remove unused variable `null'.
2920 (simula-search-backward, simula-search-forward): Remove unused
2921 variables `begin' and `end'.
2922
2923 * progmodes/vera-mode.el (vera-guess-basic-syntax):
2924 Remove unused variable `pos'.
2925 (vera-electric-tab, vera-comment-uncomment-region):
2926 Mark unused parameters.
2927 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
2928
7ede3b65
CY
29292011-04-22 Chong Yidong <cyd@stupidchicken.com>
2930
2931 * emacs-lisp/package.el (package--builtins, package-alist)
2932 (package-load-descriptor, package-built-in-p, package-activate)
2933 (define-package, package-installed-p)
2934 (package-compute-transaction, package-buffer-info)
2935 (package--push): Doc fix. Distinguish more clearly between
2936 version strings and version lists.
2937
121656e9
JB
29382011-04-21 Juanma Barranquero <lekktu@gmail.com>
2939
2940 Lexical-binding cleanup.
2941
2942 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
2943 (5x5-make-mutate-best):
2944 * play/fortune.el (fortune-in-buffer):
2945 * play/gomoku.el (gomoku-init-display):
2946 * play/solitaire.el (solitaire, solitaire-do-check):
2947 * play/tetris.el (tetris-default-update-speed-function):
2948 Mark unused parameters.
2949
2950 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
2951 (bubbles--shift): Remove unused variable `char-org'.
2952 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
2953 (bubbles--show-images): Remove unused variable `char'.
2954
2955 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
2956 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
2957 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
2958 (decipher-analyze-buffer): Use ?\s.
2959 (decipher-make-checkpoint): Remove unused variable `mapping'.
2960
2961 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
2962
2963 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2964 Remove unused variable `result'; use `let'.
2965
2966 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
2967 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
2968 (gametree-children-shown-p, gametree-compute-reduced-score):
2969 Use `ignore-errors'.
2970
2971 * play/handwrite.el (ps-lpr-switches): Declare.
2972 (handwrite): Remove unused variables `pmin' and `lastp'.
2973
2974 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
2975
2976 * play/landmark.el (landmark-init-display)
2977 (landmark-update-naught-weights): Mark unused parameters.
2978 (landmark-y): Remove unused variable `noise'. Simplify.
2979 (landmark-human-plays): Remove unused variable `score'.
2980
2981 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
2982 (mpuz-try-proposal): Remove unused variable `game'.
2983
2984 * play/zone.el (life-patterns): Declare.
2985
80f499c7
JB
29862011-04-20 Juanma Barranquero <lekktu@gmail.com>
2987
2988 * vc/vc.el (ediff-vc-internal): Declare function.
2989
024ff170
SM
29902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2991
c0a193ea
SM
2992 * shell.el: Use lexical-binding and std completion UI.
2993 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
2994 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
2995 comint-preoutput-filter-functions rather than on
2996 comint-output-filter-functions.
2997 (shell-command-completion, shell--command-completion-data)
2998 (shell-filename-completion, shell-environment-variable-completion)
2999 (shell-c-a-p-replace-by-expanded-directory): New functions.
3000 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3001 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3002 (shell-dynamic-complete-environment-variable): Use them.
3003 (shell-dynamic-complete-as-environment-variable)
3004 (shell-dynamic-complete-as-command): Remove.
3005 (shell-match-partial-variable): Match past point.
3006 * comint.el: Clean up use of completion-at-point-functions.
3007 (comint-completion-at-point): New function.
3008 (comint-mode): Use it completion-at-point-functions.
3009 (comint-dynamic-complete): Make it obsolete.
3010 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3011 (comint-c-a-p-replace-by-expanded-history): New function.
3012 (comint-dynamic-complete-functions)
3013 (comint-replace-by-expanded-history): Use it.
3014 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3015 termination strings. Try harder to avoid second try-completion.
3016 (completion-in-region-mode-map): Disable bindings that don't work yet.
3017
2dbaa080
SM
3018 * comint.el: Use lexical-binding. Require CL.
3019 (comint-dynamic-complete-functions): Use comint-filename-completion.
3020 (comint-completion-addsuffix): Tweak custom type.
3021 (comint-filename-completion, comint--common-suffix)
3022 (comint--common-quoted-suffix, comint--table-subvert)
3023 (comint--complete-file-name-data): New functions.
3024 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3025 (comint-dynamic-list-filename-completions): Use them.
3026 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 3027
2dbaa080
SM
3028 * minibuffer.el (completion-in-region-mode):
3029 Keep completion-in-region-mode--predicate global.
3030 (completion-in-region--postch):
3031 Assume completion-in-region-mode--predicate is not null.
3032
c79a6f38
SM
3033 * progmodes/flymake.el (flymake-start-syntax-check-process):
3034 Obey `dir'. Simplify.
3035
024ff170
SM
3036 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3037 we're in VC after all.
3038
1c6c854e
CS
30392011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3040
3041 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 3042 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
3043 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3044
bed7f140
SM
30452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3046
332e62ab
SM
3047 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3048 add sanity check.
3049
bed7f140
SM
3050 * obsolete/erc-hecomplete.el: Make obsolete.
3051 * obsolete/: Standardize obsolescence info in the header.
3052
f195c582
GM
30532011-04-20 Glenn Morris <rgm@gnu.org>
3054
3055 * calendar/solar.el (solar-horizontal-coordinates):
3056 Use the longitude argument rather than `calendar-longitude'.
3057 (solar-date-next-longitude): Remove unused locals.
3058
cb79b8c0
VJL
30592011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3060
3061 * whitespace.el: New version 13.2.1.
3062
30632011-04-20 felix <EmacsWiki> (tiny change)
3064
d8e4b68b 3065 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
3066 switching between major modes on a file.
3067
602ea69d
SM
30682011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3071 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3072 multi-line comments as well.
3073
06b60517
JB
30742011-04-19 Juanma Barranquero <lekktu@gmail.com>
3075
3076 Lexical-binding cleanup.
3077
3078 * arc-mode.el (archive-mode-revert):
3079 * cmuscheme.el (scheme-interactively-start-process):
3080 * custom.el (custom-initialize-delay):
3081 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3082 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3083 * emacs-lock.el (emacs-lock-clear-sentinel):
3084 * ezimage.el (defezimage):
3085 * follow.el (follow-avoid-tail-recenter):
3086 * fringe.el (set-fringe-mode-1):
3087 * generic-x.el (bat-generic-mode-compile):
3088 * help-mode.el (help-info-variable, help-do-xref)
3089 (help-mode-revert-buffer):
3090 * help.el (view-emacs-todo):
3091 * iswitchb.el (iswitchb-completion-help):
3092 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3093 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3094 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3095 * locate.el (locate-update):
3096 * longlines.el (longlines-encode-region)
3097 (longlines-after-change-function):
3098 * outline.el (outline-isearch-open-invisible):
3099 * ps-def.el (declare-function, charset-dimension, char-width)
3100 (encode-char):
3101 * ps-mule.el (ps-mule-plot-string):
3102 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3103 (recentf-edit-list-select, recentf-edit-list-validate)
3104 (recentf-open-files-action):
3105 * rect.el (delete-whitespace-rectangle-line)
3106 (rectangle-number-line-callback):
3107 * register.el (window-configuration-to-register)
3108 (frame-configuration-to-register):
3109 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3110 * select.el (xselect-convert-to-string, xselect-convert-to-length)
3111 (xselect-convert-to-targets, xselect-convert-to-delete)
3112 (xselect-convert-to-filename, xselect-convert-to-charpos)
3113 (xselect-convert-to-lineno, xselect-convert-to-colno)
3114 (xselect-convert-to-os, xselect-convert-to-host)
3115 (xselect-convert-to-user, xselect-convert-to-class)
3116 (xselect-convert-to-name, xselect-convert-to-integer)
3117 (xselect-convert-to-atom, xselect-convert-to-identity):
3118 * subr.el (declare, ignore, process-kill-without-query)
3119 (text-clone-maintain):
3120 * terminal.el (te-get-char, te-tic-sentinel):
3121 * tool-bar.el (tool-bar-make-keymap):
3122 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3123 * type-break.el (type-break-mode, type-break-noninteractive-query):
3124 * view.el (View-back-to-mark):
3125 * wid-browse.el (widget-browse-action, widget-browse-widget)
3126 (widget-browse-widgets, widget-browse-sexp):
3127 * widget.el (define-widget-keywords):
3128 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3129 Mark unused parameters.
3130
3131 * align.el (align-adjust-col-for-rule): Mark unused parameter.
3132 (align-areas): Remove unused variable `look'.
3133 (align-region): Remove unused variables `real-end' and `pos-list'.
3134
3135 * apropos.el (apropos-score-doc): Remove unused variable `i'.
3136
3137 * bindings.el (mode-line-modified, mode-line-remote):
3138 Mark unused parameters.
3139 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3140
3141 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3142 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3143
3144 * comint.el (comint-history-isearch-pop-state)
3145 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3146 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3147 (comint-substitute-in-file-name): Doc fix.
3148
3149 * completion.el (cmpl-statistics-block): Mark unused parameter.
3150 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3151 (save-completions-to-file, load-completions-from-file):
3152 Remove unused local variable `e'.
3153
3154 * composite.el (compose-chars): Remove unused variable `len'.
3155 (lgstring-insert-glyph): Remove unused variable `g'.
3156 (compose-glyph-string): Remove unused variables `ascent',
3157 `descent', `lbearing' and `rbearing'.
3158 (compose-glyph-string-relative): Remove unused variables
3159 `lbearing', `rbearing' and `wadjust'.
3160 (compose-gstring-for-graphic): Remove unused variables `header',
3161 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
3162 (compose-gstring-for-terminal): Remove unused variables `header'
3163 and `nchars'. Use `let', not `let*'.
3164
3165 * cus-edit.el (Custom-set, Custom-save, custom-reset)
3166 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3167 (Custom-buffer-done, custom-buffer-create-internal)
3168 (custom-browse-visibility-action, custom-browse-group-tag-action)
3169 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3170 (widget-magic-mouse-down-action, custom-toggle-parent)
3171 (custom-add-parent-links, custom-toggle-hide-variable)
3172 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3173 (custom-toggle-hide-face, face, hook, custom-group-link-action)
3174 (custom-face-menu-create, custom-variable-menu-create, get)
3175 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3176 (custom-reset-standard-save-and-update): Remove unused variable `value'.
3177 (customize-apropos): Remove unused variable `tests'.
3178 (custom-group-value-create): Remove unused variable `hidden-p'.
3179 (sort-fold-case): Declare.
3180
3181 * cus-theme.el (custom-reset-standard-faces-list)
3182 (custom-reset-standard-variables-list): Declare.
3183 (customize-create-theme, custom-theme-revert, custom-theme-write)
3184 (custom-theme-choose-mode, customize-themes, custom-theme-save):
3185 Mark unused parameters.
3186
3187 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3188
3189 * delim-col.el (delimit-columns-max): Move defvar before first use.
3190
3191 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 3192 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
3193
3194 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3195 (auto-insert): Declare.
3196 (desktop-restore-file-buffer): Rename desktop-* parameters;
3197 mark unused ones.
3198 (desktop-create-buffer): Rename desktop-* parameters and bind them.
3199 (desktop-buffer): Rename desktop-* parameters.
3200
3201 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3202 (dframe-reposition-frame-xemacs, dframe-help-echo)
3203 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3204 Mark unused parameters.
3205
3206 * dired-aux.el (backup-extract-version-start, overwrite-query)
3207 (overwrite-backup-query, rename-regexp-query)
3208 (rename-non-directory-query): Declare.
3209 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3210 (dired-add-entry): Remove unused variable `orig-file-name'.
3211 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3212 Use parameter PRESERVE-TIME instead of accessing dynamic variable
3213 `dired-copy-preserve-time' directly.
3214 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3215 (dired-insert-subdir-newpos): Rename unused variable `pos'.
3216
3217 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3218 (dired-virtual-revert, dired-make-relative-symlink):
3219 Mark unused parameters.
3220 (manual-program): Declare.
3221 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3222 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3223 wrapped in `with-no-warnings' to avoid replacing one warning by another.
3224
3225 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3226
3227 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3228
3229 * echistory.el (electric-history-in-progress, Helper-return-blurb):
3230 Declare.
3231
3232 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3233
3234 * electric.el (Electric-command-loop): Rename parameter
3235 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3236
3237 * expand.el (expand-in-literal): Remove unused variable `here'.
3238
3239 * facemenu.el (facemenu-add-new-color):
3240 Remove unused variable `docstring'.
3241
3242 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3243 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3244 (face-attr-construct): Mark unused parameter. Doc fix.
3245 (read-color): Remove unused variable `hex-string'.
3246
3247 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3248 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3249 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3250 (display-buffer-other-frame): Remove unused variable `old-window'.
3251 (kill-buffer-hook): Declare.
3252 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3253 Mark unused parameters.
3254 (after-find-file): Pass 1 to `auto-save-mode', not t.
3255
3256 * files-x.el (auto-insert): Declare.
3257 (modify-file-local-variable-prop-line): Remove unused variable `val'.
3258
3259 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 3260 variable `buf'. Mark unused parameter.
06b60517
JB
3261 (find-lisp-insert-directory): Mark unused parameter.
3262
3263 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3264 (format-encode-region): Remove unused variables `cur-buf' and `result'.
3265 (format-common-tail): Remove, unused.
3266 (format-deannotate-region): Remove unused variable `loc'.
3267 (format-annotate-region): Remove unused variable `p'.
3268 (format-annotate-single-property-change): Remove unused variables
3269 `default' and `tail'.
3270
3271 * forms.el (read-file-filter): Declare.
3272 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3273
3274 * frame.el (frame-creation-function-alist): Mark unused parameter.
3275 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3276
3277 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3278 Remove unused parameters.
3279 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3280 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3281
3282 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3283 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3284 (hfy-prepare-tag-map): Mark unused parameters.
3285 (htmlfontify-buffer): Use `called-interactively-p'.
3286
3287 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3288 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3289 (ibuffer-do-occur): Mark unused parameters.
3290 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3291 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3292
3293 * ibuffer.el: Don't quote `lambda'.
3294 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3295 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3296 Mark unused parameters.
3297
3298 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3299 (ido-completing-read): Mark unused parameters.
3300 (ido-copy-current-word): Mark unused parameters;
3301 remove unused variable `name'.
3302 (ido-sort-merged-list): Remove unused parameter `dirs'.
3303
3304 * ielm.el (ielm-input-sender): Mark unused parameter.
3305 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3306 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3307 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3308 `ielm-string' as a dynamic variable accessible from the IELM prompt.
3309 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
3310
3311 * image-dired.el (image-dired-display-thumbs): Remove unused
3312 variables `curr-file' and `count'.
3313 (image-dired-remove-tag): Remove unused variable `start'.
3314 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3315 variable `curr-file'
3316 (image-dired-rotate-original): Remove unused variable `temp-file'.
3317 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3318 Remove unused variable `file'.
3319 (image-dired-gallery-generate): Remove unused variable `curr'.
3320 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3321
3322 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3323
3324 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3325
3326 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3327
3328 * isearch.el (minibuffer-history-symbol): Declare.
3329 (isearch-edit-string): Remove unused variable `err'.
3330 (isearch-message-prefix, isearch-message-suffix):
3331 Mark unused parameters.
3332
3333 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3334
3335 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3336
3337 * makesum.el (double-column): Remove unused variable `cnt'.
3338
3339 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3340 (ido-ignore-item-temp-list): Declare.
3341
3342 * mouse-drag.el (mouse-drag-throw): Remove unused variables
3343 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3344 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3345 (mouse-drag-drag): Remove unused variables `mouse-delta' and
3346 `mouse-col-delta'.
3347
3348 * mouse-sel.el (mouse-extend-internal):
3349 Remove unused variable `orig-window-frame'.
3350
3351 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3352 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3353 Move declarations before first use.
3354 (pcomplete-opt): Mark unused parameters; doc fix.
3355
3356 * proced.el (proced-revert): Mark unused parameter.
3357 (proced-send-signal): Remove unused variable `err'.
3358
3359 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3360 Rename parameter PREFIX-ARG to ARG.
3361 (ps-basic-plot-string, ps-basic-plot-whitespace):
3362 Mark unused parameters.
3363
3364 * replace.el (replace-count): Define.
3365 (occur-revert-function): Mark unused parameters.
3366 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3367 (isearch-case-fold-search, isearch-string): Declare.
3368 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3369 bind `case-fold-search'. Remove unused variables `beg' and `end',
3370 and simplify.
3371 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3372 COUNT and bind `replace-count'.
3373 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3374 to COUNT.
3375
3376 * savehist.el (print-readably, print-string-length): Declare.
3377
3378 * shadowfile.el (shadow-expand-cluster-in-file-name):
3379 Remove unused variable `cluster'.
3380 (shadow-copy-file): Remove unused variable `i'.
3381 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3382 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3383 (shadow-define-literal-group, shadow-define-regexp-group)
3384 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3385
3386 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3387 (shell): Use `called-interactively-p'.
3388 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3389
3390 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3391 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3392 (delete-backward-char): Remove unused variable `ocol'.
3393 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3394 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3395 (event-apply-hyper-modifier, event-apply-shift-modifier)
3396 (event-apply-control-modifier, event-apply-meta-modifier):
3397 Mark unused parameters.
3398 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3399 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3400
3401 * speedbar.el (speedbar-ignored-directory-expressions)
3402 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3403 (speedbar-find-file, speedbar-dir-follow)
3404 (speedbar-directory-buttons-follow, speedbar-tag-find)
3405 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3406 (speedbar-buffers-line-directory, speedbar-buffer-click):
3407 Mark unused parameters.
3408 (speedbar-tag-file): Remove unused variable `mode'.
3409 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3410
3411 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3412
3413 * talk.el (talk): Remove unused variable `display'.
3414
3415 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3416 (tar-write-region-annotate): Mark unused parameter.
3417
3418 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3419 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3420 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3421 warning by another.
3422
3423 * time-stamp.el (time-stamp-string-preprocess):
3424 Remove unused variable `require-padding'.
3425
3426 * tree-widget.el (widget-glyph-enable): Declare.
3427 (tree-widget-action): Mark unused parameter.
3428
3429 * w32-fns.el (x-get-selection): Mark unused parameter.
3430 (autoload-make-program, generated-autoload-file): Declare.
3431
3432 * wdired.el (wdired-revert): Mark unused parameters.
3433 (wdired-xcase-word): Remove unused variable `err'.
3434
3435 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3436 (whitespace-help-scroll): Remove unused variable `data-help'.
3437
3438 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3439 (widget-image-insert, widget-after-change, default)
3440 (widget-default-format-handler, widget-default-notify)
3441 (widget-default-prompt-value, widget-info-link-action)
3442 (widget-url-link-action, widget-function-link-action)
3443 (widget-variable-link-action, widget-file-link-action)
3444 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3445 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3446 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3447 (widget-insert-button-action, widget-delete-button-action, visibility)
3448 (widget-documentation-link-action, widget-documentation-string-action)
3449 (widget-const-prompt-value, widget-regexp-match, symbol)
3450 (widget-coding-system-prompt-value)
3451 (widget-key-sequence-value-to-external, sexp)
3452 (widget-sexp-value-to-internal, character, vector, cons)
3453 (widget-choice-prompt-value, widget-boolean-prompt-value)
3454 (widget-color--choose-action): Mark unused parameters.
3455 (widget-item-match-inline, widget-choice-match-inline)
3456 (widget-checklist-match, widget-checklist-match-inline)
3457 (widget-group-match): Rename parameter VALUES to VALS.
3458 (widget-field-value-set): Remove unused variable `size'.
3459 (widget-color-action): Remove unused variables `value' and `start'.
3460
3461 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 3462 variable `dir'. Doc fix.
06b60517
JB
3463 (windmove-find-other-window): Don't pass it.
3464
3465 * window.el (count-windows): Mark unused parameter.
3466 (bw-adjust-window): Remove unused variable `err'.
3467
3468 * woman.el (woman-file-name): Remove unused variable `default'.
3469 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3470 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3471 (global-font-lock-mode): Declare.
3472 (woman-decode-region): Mark unused parameter.
3473 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3474
3475 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3476 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3477 (x-dnd-handle-moz-url): Remove unused variable `title'.
3478 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3479
3480 * xml.el (xml-parse-tag, xml-parse-attlist):
3481 Remove unused variable `pos'.
3482
bc4f7f3d
GM
34832011-04-19 Glenn Morris <rgm@gnu.org>
3484
3485 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3486 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3487 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3488 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3489 * calendar/cal-html.el (cal-html-insert-minical):
3490 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3491 (calendar-mark-date-pattern):
3492 Prefix "unused" locals.
3493
3494 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3495 optional argument `style'.
3496
3497 * calendar/appt.el (appt-make-list):
3498 * calendar/cal-china.el (calendar-chinese-date-string):
3499 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3500 (diary-hebrew-yahrzeit):
3501 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3502 * calendar/calendar.el (calendar-generate-window):
3503 * calendar/time-date.el (time-to-days):
3504 Remove unused local variables.
3505
16a43933
CY
35062011-04-18 Chong Yidong <cyd@stupidchicken.com>
3507
3508 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3509 glyphless-char-display table.
3510 (tabulated-list-glyphless-char-display): New var.
3511
7eed1860
SS
35122011-04-18 Sam Steingold <sds@gnu.org>
3513
3514 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3515 to acknowledgments.
3516
4d2d1ccd
GM
35172011-04-17 Glenn Morris <rgm@gnu.org>
3518
3519 * calendar/diary-lib.el (diary-sexp-entry):
3520 * calendar/holidays.el (holiday-sexp):
3521 Set debug-on-error rather than the removed stack-trace-on-error.
3522
239da61d
GM
35232011-04-16 Glenn Morris <rgm@gnu.org>
3524
3525 * progmodes/f90.el: Use lexical-binding.
3526 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3527
8b05752a
SM
35282011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3529
daca8ba5
SM
3530 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3531 (mail-mode): Setup mailalias completion here instead.
3532 * mail/mailalias.el: Use lexical-binding.
3533 (pattern, mailalias-done): Declare dynamic.
3534 (mail-completion-at-point-function): New function, from mail-complete.
3535 (mail-complete): Use it.
3536 (mail-completion-expand): New function.
3537 (mail-get-names): Use it.
3538 (mail-directory, mail-directory-process, mail-directory-stream):
3539 Don't use `pattern' for lexically bound arg.
3540
6f542485
SM
3541 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3542
037e7c3f
SM
3543 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3544 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3545 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3546
8b05752a
SM
3547 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3548 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3549 (byte-interactive-p): Define them again, for use when inlining
3550 old code.
3551
49093f60
JB
35522011-04-15 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * loadup.el: Use `string-to-number', not `string-to-int'.
3555
b5b8e7de
SM
35562011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3559 gud-gdb-complete-command.
3560 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3561 (gud-gdb-completion-at-point): New function.
3562 (gud-gdb-completions): Remove.
3563
f42efeb5
MA
35642011-04-14 Michael Albinus <michael.albinus@gmx.de>
3565
49093f60
JB
3566 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3567 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3568 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3569 whether `executable-find' is bound.
f42efeb5
MA
3570
3571 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3572
e240cc21
SM
35732011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * minibuffer.el (completion-in-region-mode-predicate)
3576 (completion-in-region-mode--predicate): New vars.
3577 (completion-in-region, completion-in-region--postch)
3578 (completion-in-region-mode): Use them.
3579 (completion--capf-wrapper): Also return the hook function.
3580 (completion-at-point, completion-help-at-point):
3581 Adjust and provide a predicate.
c2bd2ab0
SM
3582
3583 Preserve arg names for advice of subr and lexical functions (bug#8457).
3584 * help-fns.el (help-function-arglist): Consolidate the subr and
3585 new-byte-code cases. Add argument `preserve-names' to extract names
3586 from the docstring when needed.
3587 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3588 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3589 (ad-arglist): Use help-function-arglist's new arg.
3590 (ad-definition-type): Use cond.
3591
c183f693
JB
35922011-04-13 Juanma Barranquero <lekktu@gmail.com>
3593
06641a47
JB
3594 * autorevert.el (auto-revert-handler):
3595 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3596 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3597 Don't quote lambda.
3598
c183f693
JB
3599 * image-mode.el (image-transform-set-scale):
3600 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3601
1e3b6001
G
36022011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3603
3604 * net/network-stream.el (network-stream-open-starttls): Only do
3605 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3606 Upgrades via gnutls-cli are too slow to be done opportunistically.
3607
2d6af8dd
JB
36082011-04-12 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * dframe.el (dframe-current-frame): Remove spurious quote.
3611
c0749a51
GM
36122011-04-12 Glenn Morris <rgm@gnu.org>
3613
088d0d61
GM
3614 * calendar/cal-tex.el (cal-tex-end-document):
3615 Try to automatically use latin1 input if needed.
3616
c0749a51
GM
3617 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
3618 Don't try to cons a mark onto an empty element.
3619
5c90fde0
LL
36202011-04-11 Leo Liu <sdl.web@gmail.com>
3621
3622 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
3623 buffers.
3624 (ido-kill-buffer-at-head): Support killing virtual buffers.
3625
369e974d
CY
36262011-04-10 Chong Yidong <cyd@stupidchicken.com>
3627
3628 * minibuffer.el (completion-show-inline-help): New var.
3629 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
3630 (minibuffer-force-complete, minibuffer-complete-word):
3631 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
3632
3633 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
3634 to avoid interference from inline help (Bug#5849).
3635
37f1c930
LL
36362011-04-10 Leo Liu <sdl.web@gmail.com>
3637
099c39a4
JB
3638 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3639 Fix typo.
37f1c930 3640
a32d4040
CY
36412011-04-09 Chong Yidong <cyd@stupidchicken.com>
3642
3643 * image-mode.el (image-toggle-display-image): Signal an error if
3644 not in Image mode.
3645 (image-transform-mode, image-transform-resize)
3646 (image-transform-set-rotation): Doc fix.
daca8ba5 3647 (image-transform-set-resize): Delete.
a32d4040
CY
3648 (image-transform-set-scale, image-transform-fit-to-height)
3649 (image-transform-fit-to-width): Handle image-toggle-display-image
3650 and image-transform-resize directly.
3651
099c39a4 36522011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
3653
3654 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
3655 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
3656 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
3657 (doc-view-mode-map): Add bindings for the new functions.
3658
099c39a4 36592011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
3660
3661 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
3662 Fix typo in docstring.
3663
3726838a
EZ
36642011-04-08 Eli Zaretskii <eliz@gnu.org>
3665
04f33f1e
EZ
3666 * files.el (file-size-human-readable): Produce one digit after
3667 decimal, like "ls -lh" does.
3668
3669 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
3670 the file size representation.
3671
3726838a
EZ
3672 * simple.el (list-processes): If async subprocesses are not
3673 available, error out with a clear error message.
3674
cbb59342
CY
36752011-04-08 Chong Yidong <cyd@stupidchicken.com>
3676
3677 * help.el (help-form-show): New function, to be called from C.
3678 Put help-form output in a buffer named differently than *Help*.
3679
e3971c44
EZ
36802011-04-08 Eli Zaretskii <eliz@gnu.org>
3681
3682 * files.el (file-size-human-readable): New function.
3683
3684 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
3685 computing the representation inline. Don't require `cl'.
3686
12544bbe
GM
36872011-04-08 Glenn Morris <rgm@gnu.org>
3688
a1de6c6a
GM
3689 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
3690
3c4671f4
GM
3691 * net/browse-url.el (browse-url-firefox):
3692 Test system-type, not system-configuration.
3693
b605679c
GM
3694 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
3695 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
3696 Use log-edit-empty-buffer-p. (Bug#7598)
3697
56442f0c
GM
3698 * net/rlogin.el (rlogin-process-connection-type): Simplify.
3699 (rlogin-mode-map): Initialize in the defvar.
3700 (rlogin): Use ignore-errors.
3701
12544bbe
GM
3702 * replace.el (occur-mode-map): Some fixes for menu items.
3703
eb237b0f
AH
37042011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3705
3706 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
3707
7d668f2c
CY
37082011-04-06 Chong Yidong <cyd@stupidchicken.com>
3709
e67a13ab
CY
3710 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
3711 issuing unused warnings.
3712
3713 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
3714 macro directly.
3715
7d668f2c
CY
3716 * simple.el: Lisp reimplement of list-processes. Based on an
3717 earlier reimplementation by Leo Liu, but using tabulated-list.el.
3718 (process-menu-mode): New major mode.
3719 (list-processes--refresh, list-processes):
3720 (process-menu-visit-buffer): New functions.
3721
3722 * files.el (save-buffers-kill-emacs): Don't assume any return
3723 value of list-processes, which is undocumented anyway.
3724
a83ec3c9
CY
37252011-04-06 Chong Yidong <cyd@stupidchicken.com>
3726
3727 * emacs-lisp/tabulated-list.el: New file.
3728
e91a96fe
CY
3729 * emacs-lisp/package.el: Use Tabulated List mode.
3730 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
3731 (package-menu-mode): Derive from tabulated-list-mode. Set up the
3732 table format using Tabulated List mode variables.
3733 (package--push): New macro, replacing package-list-maybe-add.
3734 (package-menu--generate): Use package--push. Renamed from
3735 package--generate-package-list.
3736 (package-menu-refresh, list-packages): Use it.
daca8ba5 3737 (package-menu--print-info): Rename from package-print-package.
e91a96fe 3738 Return insertion data instead of inserting it directly.
099c39a4
JB
3739 (package-menu-describe-package, package-menu-execute):
3740 Use tabulated-list-get-id.
e91a96fe
CY
3741 (package-menu-mark-delete, package-menu-mark-install)
3742 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
3743 (package-menu-mark-obsolete-for-deletion):
3744 Use tabulated-list-put-tag.
e91a96fe
CY
3745 (package--list-packages, package-menu-revert)
3746 (package-menu-get-package, package-menu-get-version)
3747 (package-menu-sort-by-column): Functions deleted.
3748 (package-menu-package-list, package-menu-sort-key): Vars deleted.
3749 (package-menu--status-predicate, package-menu--version-predicate)
3750 (package-menu--name-predicate)
3751 (package-menu--description-predicate): Handle arguments in the
3752 Tabulated List format.
3753 (package-list-packages-no-fetch): Call list-packages.
3754
3e214b50
JB
37552011-04-06 Juanma Barranquero <lekktu@gmail.com>
3756
3757 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 3758 (after-find-file): Don't bind it.
3e214b50
JB
3759 (revert-buffer-in-progress-p): New variable.
3760 (revert-buffer): Bind it.
3761 Pass nil for `after-find-file-from-revert-buffer'.
3762
3763 * saveplace.el (save-place-find-file-hook): Use new variable
3764 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
3765
3f0f1700
GM
37662011-04-06 Glenn Morris <rgm@gnu.org>
3767
c0274801
GM
3768 * Makefile.in (AUTOGEN_VCS): New variable.
3769 (autoloads): Use $AUTOGEN_VCS.
3770
3f0f1700
GM
3771 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
3772 * calendar/calendar.el (calendar-mode-map):
3773 Check for toolkit scroll bars. (Bug#8305)
3774
41ea9e48
CY
37752011-04-05 Chong Yidong <cyd@stupidchicken.com>
3776
3777 * minibuffer.el (completion-in-region--postch)
3778 (completion-in-region-mode): Remove unnecessary messages.
3779
6194c800
JB
37802011-04-05 Juanma Barranquero <lekktu@gmail.com>
3781
33256f14
JB
3782 * font-lock.el (font-lock-refresh-defaults):
3783 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
3784 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
3785
6194c800
JB
3786 * info.el (Info-directory-list, Info-read-node-name-2)
3787 (Info-split-parameter-string): Doc fixes.
3788 (Info-virtual-nodes): Reflow docstring.
3789 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
3790 (Info-apropos-toc-nodes, info-finder, Info-get-token)
3791 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
3792 Fix typos in docstrings.
3793 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
3794 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
3795 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
3796 (Info-restore-desktop-buffer): Mark unused parameters.
3797 (Info-directory-find-file, Info-directory-find-node)
3798 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
3799 (Info-virtual-index-find-node, Info-apropos-find-file)
3800 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 3801 Mark unused parameters; fix typos in docstrings.
6194c800
JB
3802 (Info-virtual-index): Remove unused local variable `nodename'.
3803
b87a8200 38042011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 3805
b87a8200
DD
3806 * net/rcirc.el: Update my e-mail address.
3807 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 3808
3b2ff876
CY
38092011-04-05 Chong Yidong <cyd@stupidchicken.com>
3810
3811 * startup.el (command-line): Save the cursor's theme-face
3812 directly, instead of using face-override-spec.
3813
3814 * custom.el (load-theme): Minor optimization in assigning faces.
3815
8d17e7ca
JB
38162011-04-04 Juanma Barranquero <lekktu@gmail.com>
3817
3818 * help-fns.el (describe-variable): Complete all variables having
3819 documentation, including keywords.
3820 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
3821
2fbc1934
JB
38222011-04-04 Juanma Barranquero <lekktu@gmail.com>
3823
3824 Convert to lexical-binding.
3825
3826 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
3827 (bs--get-marked-string, bs--get-modified-string)
3828 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
3829 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
3830 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
3831
3832 * ehelp.el (electric-help-execute-extended)
3833 (electric-help-ctrl-x-prefix):
3834 * hexl.el (hexl-revert-buffer-function):
3835 * linum.el (linum-after-change, linum-after-scroll):
3836 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
3837
3838 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
3839
74f50695
DU
38402011-04-04 Daiki Ueno <ueno@unixuser.org>
3841
3842 * epa-dired.el:
3843 * epa-mail.el:
3844 * epa-hook.el:
3845 * epa-file.el:
3846 * epa.el:
3847 * epg.el: Use lexical binding.
3848
c11325f7
CY
38492011-04-03 Chong Yidong <cyd@stupidchicken.com>
3850
0d9e9a12
CY
3851 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
3852
c11325f7 3853 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
3854 dictionary case for flyspell-mark-duplications-exceptions.
3855 Use regexp matching for languages.
c11325f7
CY
3856 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
3857 default dictionary (Bug#7926).
3858
da91b5f2
CY
38592011-04-02 Chong Yidong <cyd@stupidchicken.com>
3860
099c39a4
JB
3861 * emacs-lisp/package.el (package--with-work-buffer):
3862 Recognize https URLs.
da91b5f2 3863
099c39a4
JB
3864 * net/network-stream.el: Move from gnus/proto-stream.el.
3865 Change prefix to network-stream throughout.
da91b5f2
CY
3866 (open-protocol-stream): Merge into open-network-stream, leaving
3867 open-protocol-stream as an alias. Handle nil BUFFER args.
3868
3869 * subr.el (open-network-stream): Move to net/network-stream.el.
3870
afa8e9f6
GM
38712011-04-02 Glenn Morris <rgm@gnu.org>
3872
1d2e369d
GM
3873 * find-dired.el (find-exec-terminator): New option.
3874 (find-ls-option): Test for -ls support.
3875 (find-ls-subdir-switches): Test for -b in find-ls-option.
3876 (find-dired, find-grep-dired): Doc fixes.
3877 (find-dired): Use find-exec-terminator.
3878
8abb7da8 3879 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
3880 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
3881 (find-name-arg): Remove purecopy.
8abb7da8 3882
f3ca7378
GM
3883 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
3884 (grep-compute-defaults): Check for `-exec COMMAND +' support.
3885 Set grep-find-use-xargs, grep-find-command, and grep-find-template
3886 accordingly. Don't add the null-device if not needed.
3887
afa8e9f6
GM
3888 * files.el (save-some-buffers): Doc fix.
3889
35eae264
EZ
38902011-04-02 Eli Zaretskii <eliz@gnu.org>
3891
3892 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
3893
26b51db5
JB
38942011-04-01 Juanma Barranquero <lekktu@gmail.com>
3895
3896 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
3897 Use `dolist' rather than `mapcar'.
3898
7200d79c
SM
38992011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
3900
03408648 3901 Add lexical binding.
7200d79c 3902
03408648
SM
3903 * subr.el (apply-partially): Use new closures rather than CL.
3904 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
3905 (dolist, dotimes): Use slightly different expansion for lexical code.
3906 (functionp): Move to C.
3907 (letrec): New macro.
3908 (with-wrapper-hook): Use it and apply-partially instead of CL.
3909 (eval-after-load): Preserve lexical-binding.
3910 (save-window-excursion, with-output-to-temp-buffer): Turn them
3911 into macros.
7200d79c 3912
03408648
SM
3913 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
3914
3915 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
3916 than the arglist.
3917 (help-add-fundoc-usage): Don't add `Not documented'.
3918 (help-function-arglist): Handle closures, subroutines, and new
3919 byte-code-functions.
3920 (help-make-usage): Remove leading underscores.
3921 (describe-function-1): Handle closures.
3922 (describe-variable): Use special-variable-p for completion.
3923
3924 * files.el (lexical-binding): Declare safe.
f488fb65 3925
03408648
SM
3926 * emacs-lisp/pcase.el: Don't use destructuring-bind.
3927 (pcase--memoize): Rename from pcase-memoize. Change weakness.
3928 (pcase): Add `let' pattern.
3929 Change memoization so it actually works.
3930 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
3931 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
3932 <let>: New case.
f488fb65 3933
03408648
SM
3934 * emacs-lisp/macroexp.el: Use lexical binding.
3935 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
3936 Don't convert ' to #' without checking that it's indeed quoting
3937 a lambda.
3938
3939 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 3940 Use eval-sexp-add-defvars.
03408648
SM
3941 (eval-sexp-add-defvars): New fun.
3942
3943 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
3944
3945 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
3946 Don't autoload.
3947 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
3948 than the internal `byte-compile-lambda'.
3949 (defmethod): Don't hide code under quotes.
3950 (eieio-defmethod): New `code' argument.
3951
3952 * emacs-lisp/eieio-comp.el: Remove.
3953
3954 * emacs-lisp/edebug.el (edebug-eval-defun)
3955 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
3956 (edebug-toggle): Avoid `eval'.
3957
3958 * emacs-lisp/disass.el (disassemble-internal): Handle new
3959 `closure' objects.
3960 (disassemble-1): Handle new byte codes.
3961
3962 * emacs-lisp/cl.el (pushnew): Silence warning.
3963
3964 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
3965 (cl-byte-compile-throw): Remove.
3966 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
3967
3968 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
3969 closures.
3970
3971 * emacs-lisp/cconv.el: New file.
3972
3973 * emacs-lisp/bytecomp.el: Use lexical binding instead of
3974 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
3975 (byte-compile-initial-macro-environment):
3976 Handle declare-function here.
3977 (byte-compile--lexical-environment): New var.
3978 (byte-stack-ref, byte-stack-set, byte-discardN)
3979 (byte-discardN-preserve-tos): New lap codes.
3980 (byte-interactive-p): Don't use any more.
3981 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
3982 New macros.
3983 (byte-compile-lapcode): Use them and handle new lap codes.
3984 (byte-compile-obsolete): Remove.
3985 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
3986 (byte-compile-arglist-warn): Check late def of inlinable funs.
3987 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
3988 since they should have been expanded by now.
3989 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
3990 (byte-compile-from-buffer): Remove unused second arg.
3991 (byte-compile-preprocess): New function.
3992 (byte-compile-toplevel-file-form): New function to distinguish
3993 file-form calls from outside from file-form calls from hunk-handlers.
3994 (byte-compile-file-form): Simplify.
3995 (byte-compile-file-form-defsubst): Remove.
3996 (byte-compile-file-form-defmumble): Simplify now that
3997 byte-compile-lambda always returns a byte-code-function.
3998 (byte-compile): Preprocess.
3999 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4000 Remove, not used any more.
4001 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4002 (byte-compile-make-args-desc): New funs.
4003 (byte-compile-lambda): Handle lexical functions. Always return
4004 a byte-code-function.
4005 (byte-compile-reserved-constants): New var, to make up room for
4006 closed-over variables.
4007 (byte-compile-constants-vector): Obey it.
4008 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4009 (byte-compile-macroexpand-declare-function): New function.
4010 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4011 byte-code-functions.
4012 (byte-compile-form): Check obsolescence here.
4013 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4014 (byte-compile-variable-ref): Remove.
4015 (byte-compile-dynamic-variable-op): New fun.
4016 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4017 (byte-compile-variable-set): New funs.
4018 (byte-compile-discard): Add 2 args.
4019 (byte-compile-stack-ref, byte-compile-stack-set)
4020 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4021 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4022 macroexpand-all instead.
4023 (byte-compile-quote-form): Remove.
4024 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4025 (byte-compile-bind, byte-compile-unbind): New funs.
4026 (byte-compile-let): Handle let* and lexical binding.
4027 (byte-compile-let*): Remove.
4028 (byte-compile-catch, byte-compile-unwind-protect)
4029 (byte-compile-track-mouse, byte-compile-condition-case):
4030 Handle a new :fun-body form, used for lexical scoping.
4031 (byte-compile-save-window-excursion)
4032 (byte-compile-with-output-to-temp-buffer): Remove.
4033 (byte-compile-defun): Simplify.
4034 (byte-compile-stack-adjustment): New fun.
4035 (byte-compile-out): Use it.
4036 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4037
4038 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4039 handler any more.
4040
4041 * emacs-lisp/byte-opt.el: Use lexical binding.
4042 (byte-inline-lapcode): Remove (to bytecomp).
4043 (byte-compile-inline-expand): Pay attention to inlining to/from
4044 lexically bound code.
4045 (byte-compile-unfold-lambda): Don't handle byte-code-functions
4046 any more.
4047 (byte-optimize-form-code-walker): Don't handle save-window-excursion
4048 any more and don't call compiler-macros.
4049 (byte-compile-splice-in-already-compiled-code): Remove.
4050 (byte-code): Don't inline any more.
4051 (disassemble-offset): Receive `bytes' as argument rather than via
4052 dynamic scoping.
4053 (byte-compile-tag-number): Declare before first use.
4054 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4055 `return' even if make-spliceable.
4056 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4057 obsolete interactive-p.
4058 (byte-optimize-lapcode): Optimize new lap-codes.
4059 Don't trip up on new form of `byte-constant' lap code.
4060
4061 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4062
4063 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4064
4065 * custom.el (custom-initialize-default, custom-declare-variable):
4066 Use `defvar'.
4067
4068 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4069 New variables.
4070 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4071 (COMPILE_FIRST): Add macroexp and cconv.
4072 * makefile.w32-in: Mirror changes in Makefile.in.
4073
4074 * vc/cvs-status.el:
4075 * vc/diff-mode.el:
4076 * vc/log-edit.el:
4077 * vc/log-view.el:
4078 * vc/smerge-mode.el:
4079 * textmodes/bibtex-style.el:
4080 * textmodes/css.el:
4081 * startup.el:
4082 * uniquify.el:
da91b5f2
CY
4083 * minibuffer.el:
4084 * newcomment.el:
4085 * reveal.el:
4086 * server.el:
4087 * mpc.el:
4088 * emacs-lisp/smie.el:
4089 * doc-view.el:
4090 * dired.el:
03408648
SM
4091 * abbrev.el: Use lexical binding.
4092
0f0c1f27
EZ
40932011-04-01 Eli Zaretskii <eliz@gnu.org>
4094
4095 * info.el (info-display-manual): New function.
4096
c82b2579
SM
40972011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4100
221ddf68
TH
41012011-03-31 Tassilo Horn <tassilo@member.fsf.org>
4102
4103 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 4104 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 4105
cba6e77e
GM
41062011-03-31 Glenn Morris <rgm@gnu.org>
4107
e040639f
GM
4108 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4109
cba6e77e
GM
4110 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4111
6d0f1c9e
CS
41122011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
4113
4114 * progmodes/python.el (python-default-interpreter)
4115 (python-python-command-args, python-jython-command-args)
4116 (python-which-shell, python-which-args, python-which-bufname)
4117 (python-file-queue, python-comint-output-filter-function)
4118 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4119 variables and functions.
4120
3e2d70fd
SM
41212011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4124 (completion-in-region-mode): New minor mode.
4125 (completion-in-region): Use it.
4126 (completion-in-region--data, completion-in-region-mode-map): New vars.
4127 (completion-in-region--postch): New function.
4128 (completion--capf-misbehave-funs, completion--capf-safe-funs):
4129 New vars.
4130 (completion--capf-wrapper): New function.
4131 (completion-at-point): Use it to track well-behavedness of
4132 hook functions.
4133 (completion-help-at-point): New command.
4134
f3e4086c
JM
41352011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
4136
4137 * vc/add-log.el (add-change-log-entry): Don't use whitespace
4138 syntax class to search for whitespace on a single line
4139 (Message-ID: <4D938140.4030905@redhat.com>).
4140
eb7ffc14
LL
41412011-03-30 Leo Liu <sdl.web@gmail.com>
4142
4143 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4144 New commands.
4145 (edit-abbrevs-map): Bind them here.
4146 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
4147
d806ab68
KM
41482011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
4149
4150 * allout.el (allout-hide-by-annotation, allout-flag-region):
4151 Reduce possibility of overlay leakage by making them volatile.
4152
4153 * allout-widgets.el (allout-widgets-tally): Define as nil so the
4154 hash is not shared between buffers. Mode initialization is
4155 responsible for giving it a useful starting value.
4156 (allout-item-span): Reduce possibility of overlay leakage by
4157 making them volatile.
4158 (allout-widgets-count-buttons-in-region): Add diagnostic function
4159 for tracking down button overlay leaks.
4160
ea622834
LL
41612011-03-29 Leo Liu <sdl.web@gmail.com>
4162
4163 * ido.el (ido-read-internal): Use the default history var
4164 minibuffer-history if no HISTORY is specified.
4165
b62f8267
G
41662011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
4167
03408648
SM
4168 * net/imap.el (imap-shell-open, imap-process-connection-type):
4169 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
4170 Kerberos, SSL, other subprocesses.
4171
947b6566
LL
41722011-03-28 Leo Liu <sdl.web@gmail.com>
4173
4174 * abbrev.el (abbrev-table-empty-p): New function.
4175 (prepare-abbrev-list-buffer): Place empty abbrev tables after
4176 nonempty ones. (Bug#5937)
4177
5ffb62aa
JD
41782011-03-27 Jan Djärv <jan.h.d@swipnet.se>
4179
4180 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4181
7a097943
LL
41822011-03-27 Leo Liu <sdl.web@gmail.com>
4183
4184 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4185 for foreground and background colors.
4186 (ansi-color-make-color-map): Adapt.
4187
c5b40130
LL
41882011-03-25 Leo Liu <sdl.web@gmail.com>
4189
1f48f7d2
LL
4190 * midnight.el (midnight-time-float): Remove. Note it calculates
4191 the microsecond component incorrectly and seconds-to-time does the
4192 same job.
625897ec 4193 Remove redundant (require 'timer).
1f48f7d2 4194
c5b40130
LL
4195 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4196 (ido-completions): Remove unused arguments. (Bug#8329)
4197
d86d2721
SM
41982011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * minibuffer.el (completion--flush-all-sorted-completions):
4201 Remove itself from hook.
4202 (completion-at-point): Let the functions perform the completion
4203 immediately and return nil or t.
4204 * comint.el (comint-dynamic-complete-functions): Now identical to
4205 completion-at-point-functions.
4206 (comint-dynamic-list-input-ring): Remove unused var `index'.
4207 (comint--match-partial-filename, comint--unquote&expand-filename):
4208 New funs, split from comint-match-partial-filename.
4209 (comint-dynamic-complete): Use completion-at-point.
4210 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4211
e8974c48
DA
42122011-03-24 Drew Adams <drew.adams@oracle.com>
4213
4214 * thingatpt.el: Support `defun'.
4215
def71b5e
LL
42162011-03-23 Leo Liu <sdl.web@gmail.com>
4217
cb5af48e
LL
4218 * abbrevlist.el: Move to obsolete/abbrevlist.el.
4219
def71b5e
LL
4220 * help-mode.el (help-mode-finish): Tweak regexp.
4221
927c53e7
GM
42222011-03-23 Glenn Morris <rgm@gnu.org>
4223
18d05bed
GM
4224 * eshell/esh-opt.el (eshell-eval-using-options):
4225 Do not bind unused local variable `eshell-option-stub'.
4226
927c53e7
GM
4227 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4228
9d0da923
JB
42292011-03-22 Juanma Barranquero <lekktu@gmail.com>
4230
4231 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4232 keymap variable in `with-no-warnings' to avoid a warning when the
4233 keymap has been already `defconst'ed.
4234
4b978a67
LL
42352011-03-22 Leo Liu <sdl.web@gmail.com>
4236
4237 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4238 encode all chars in abbrevs; otherwise use emacs-mule or
4239 utf-8-emacs. (Bug#8308)
4240
5fd62452
JB
42412011-03-22 Juanma Barranquero <lekktu@gmail.com>
4242
0b1596c6
JB
4243 * simple.el (backward-delete-char-untabify):
4244 Avoid warning about using `delete-backward-char'.
4245
5fd62452
JB
4246 * image.el (image-type-file-name-regexps): Make it variable.
4247 `imagemagick-register-types' modifies it, and the user may want
4248 to add new extensions for known image types.
4249 (imagemagick-register-types): Throw error if not using ImageMagick.
4250
0b4e93f1
LL
42512011-03-22 Leo Liu <sdl.web@gmail.com>
4252
4253 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4254 located before rcirc-prompt-end-marker.
4255 (rcirc-complete): Error if point is not after rcirc prompt.
4256 Handle the case when table is nil.
9882e214 4257 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 4258
fccee4ab
CY
42592011-03-22 Chong Yidong <cyd@stupidchicken.com>
4260
4261 * custom.el (custom--inhibit-theme-enable): Make it affect only
4262 custom-theme-set-variables and custom-theme-set-faces.
4263 (provide-theme): Ignore custom--inhibit-theme-enable.
4264 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4265 (custom-enabling-themes): Delete variable.
d86d2721
SM
4266 (enable-theme): Accept only loaded themes as arguments.
4267 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
4268 (custom-enabled-themes): Forbid themes from setting this.
4269 Eliminate use of custom-enabling-themes.
4270 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 4271
af896da6
LL
42722011-03-21 Leo Liu <sdl.web@gmail.com>
4273
4274 * ido.el (ido-read-internal): Add ido-selected to history instead
4275 of user input.
4276
78f64af0
SM
42772011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * subr.el (deferred-action-list, deferred-action-function):
4280 Mark obsolete.
4281
b16ac1ec
LL
42822011-03-21 Leo Liu <sdl.web@gmail.com>
4283
810f7698
LL
4284 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4285 change on 2011-02-13 (bug#8309).
4286
b16ac1ec
LL
4287 * minibuffer.el (read-file-name-function): Change default value.
4288 (read-file-name--defaults): Rename from read-file-name-defaults.
4289 (read-file-name-default): Rename from read-file-name.
4290 (read-file-name): Call read-file-name-function.
4291
4e05e67e
GM
42922011-03-21 Glenn Morris <rgm@gnu.org>
4293
4294 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4295 Doc fixes.
4296
4359915b
CY
42972011-03-21 Chong Yidong <cyd@stupidchicken.com>
4298
4299 * cus-theme.el: Add missing provide statement.
4300 (customize-create-theme): Extract theme value correctly.
4301 (custom-theme-visit-theme): Autoload.
4302 (customize-create-theme): Prompt before inserting default faces.
4303
1fe275ee
JB
43042011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
4305
4306 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4307 units and musical notes.
4308
3ec03f7e
LL
43092011-03-20 Leo <sdl.web@gmail.com>
4310
4311 * ido.el (ido-read-internal): Use completing-read-default.
4312 (ido-completing-read): Fix compatibility with completing-read.
4313
7d476bde
CO
43142011-03-20 Christian Ohler <ohler@gnu.org>
4315
4316 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4317 (ert-delete-all-tests): Use `called-interactively-p' rather than
4318 `interactive-p'.
4319 (ert--make-xrefs-region): Respect END.
4320
fe0fb33e
CY
43212011-03-19 Chong Yidong <cyd@stupidchicken.com>
4322
ff854b0b
CY
4323 * dired-aux.el (dired-create-directory): Signal an error if the
4324 directory already exists (Bug#8246).
4325
fe0fb33e
CY
4326 * facemenu.el (list-colors-display): Call list-faces-display
4327 inside with-help-window.
4328 (list-colors-print): Use display property to align the final
4329 column, instead of checking window-width.
4330
576bce32
EZ
43312011-03-19 Eli Zaretskii <eliz@gnu.org>
4332
4333 * emerge.el (emerge-metachars): Separate value for ms-dos and
4334 windows-nt systems.
4335 (emerge-protect-metachars): Quote correctly for ms-dos and
4336 windows-nt systems.
4337
89c41d68 43382011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
4339
4340 * info.el (info-initialize): Replace all uses of `:' with
4341 path-separator for compatibility with non-Unix systems.
4342 Cache quoting of path-separator. (Bug#8258)
4343
b14e3e21 43442011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
4345
4346 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4347 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4348 (mouse-avoidance-mode): Fix typos in docstrings.
4349
4525ce3e
CY
43502011-03-19 Chong Yidong <cyd@stupidchicken.com>
4351
4352 * startup.el (package-subdirectory-regexp): Move from package.el.
4353 Omit \\` and \\', and let callers add them.
4354
4355 * emacs-lisp/package.el (package-strip-version)
4356 (package-load-all-descriptors): Add \\` and \\' to
4357 package-subdirectory-regexp before using it.
4358 (package-untar-buffer): New arg DIR; ensure that file untars only
4359 into this expected directory. Remove superfluous delete-region.
4360 (package-unpack): Caller changed.
4361 (package-tar-file-info): Use package-subdirectory-regexp.
4362
a904a09a 43632011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 4364
a904a09a
SM
4365 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4366 diff-mode-shared-map (bug#8284).
4367 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
4368
43692011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4370
4371 * calendar/time-date.el (format-seconds): Use assoc instead of
4372 assoc-string, since assoc-string doesn't exist in XEmacs.
4373
171fc304
JB
43742011-03-17 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * custom.el (custom-known-themes): Reflow docstring.
4377 (custom-theme-load-path): Fix typo in docstring.
4378 (load-theme): Fix typo in error message.
4379 (custom-available-themes, custom-variable-theme-value):
4380 Use `let', not `let*'.
4381
d71990a1
JB
43822011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4383
4384 * calc/README: Mention inclusion of musical notes.
4385
4386 * calc/calc-units.el (calc-lu-quant): Rename from
4387 `calc-logunits-quantity'.
4388 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4389 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4390 (calc-db): Rename from `calc-dblevel'.
4391 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4392 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4393 (calc-np): Rename from `calc-nplevel'.
4394 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4395 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4396 (calc-lu-plus): Rename from `calc-logunits-add'.
4397 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4398 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4399 (calc-lu-minus): Rename from `calc-logunits-sub'.
4400 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4401 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4402 (calc-lu-times): Rename from `calc-logunits-mul'.
4403 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4404 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4405 (calc-lu-divide): Rename from `calc-logunits-div'.
4406 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4407 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4408
4409 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4410 functions being autoloaded.
4411
4412 * calc/calc.el (calc-lu-power-reference): Rename from
4413 `calc-logunits-power-reference'.
4414 (calc-lu-field-reference): Rename from
4415 `calc-logunits-field-reference'.
4416
4417 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4418
40c2934b
SM
44192011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * minibuffer.el (completion-all-sorted-completions):
4422 Use :completion-cycle-penalty text property if present.
4423
b0911414
KM
44242011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4425
4426 * allout.el (allout-yank-processing): Adjust for new rebulleting
4427 regime so bullet being yanked is used without prompting the user
4428 for a choice.
4429
8a05b668
JB
44302011-03-16 Juanma Barranquero <lekktu@gmail.com>
4431
4432 * startup.el (command-line): Warn the user that _emacs is deprecated.
4433
5ba5fb81
JB
44342011-03-16 Juanma Barranquero <lekktu@gmail.com>
4435
4436 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4437 (delphi-verbose, delphi-comment-face, delphi-string-face)
4438 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4439 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4440 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4441 (delphi-new-comment-line, delphi-font-lock-defaults)
4442 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4443 Fix typos in docstrings.
4444
2dab465b
KM
44452011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4446
5ba5fb81 4447 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
4448 Invert the roles of character and string values for INSTEAD, so a
4449 string is used for the more common case of a defaulting prompt.
4450
0adf5618
SM
44512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * progmodes/ruby-mode.el (ruby-backward-sexp):
4454 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4455 * play/gamegrid.el (gamegrid-make-face):
4456 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4457 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4458 * notifications.el (notifications-notify):
4459 * net/xesam.el (xesam-search-engines):
4460 * net/quickurl.el (quickurl-list-insert):
4461 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4462
d72700e5
CY
44632011-03-15 Chong Yidong <cyd@stupidchicken.com>
4464
4465 * startup.el (command-line): Update package subdirectory regexp.
4466
49c5410a
SM
44672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4468
c6eee9aa
SM
4469 * allout.el (allout-abbreviate-flattened-numbering)
4470 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4471
49c5410a
SM
4472 * subr.el (read-char-choice): Only show the cursor after the prompt,
4473 not after the answer.
4474
047b2bb9
KR
44752011-03-15 Kevin Ryde <user42@zip.com.au>
4476
4477 * help-fns.el (variable-at-point): Skip leading quotes, if any
4478 (bug#8253).
4479
0a57d256
SM
44802011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4483 warning message.
4484
77c992bc
MA
44852011-03-14 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * shell.el (shell): When called interactively, offer to change the
4488 shell file name on remote hosts.
4489
eebc475d
TZ
44902011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4491
4492 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4493 integration for LDAP parameters. The host, base, user or binddn,
4494 and secret tokens can be specified in a netrc file, for instance.
4495 This is optional because an `auth-source' parameter must be
4496 specified in the search attributes.
4497
9d05d1ba
JB
44982011-03-13 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4501
09d9db2c
GM
45022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4505 into declaration. Remove redundant and harmful binding.
4506
45072011-03-12 Eli Zaretskii <eliz@gnu.org>
4508
4509 * files.el (file-ownership-preserved-p): Pass `integer' as an
4510 explicit 2nd argument to `file-attributes'. If the file's owner
4511 is the Administrators group on Windows, and the current user is
4512 Administrator, consider that a match.
4513
4514 * server.el (server-ensure-safe-dir): Consider server directory
4515 safe on MS-Windows if its owner is the Administrators group while
4516 the current Emacs user is Administrator. Use `=' to compare
4517 numerical UIDs, since they could be integers or floats.
4518
219bd536
JB
45192011-03-12 Juanma Barranquero <lekktu@gmail.com>
4520
4521 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4522
f3afd36b
MA
45232011-03-12 Michael Albinus <michael.albinus@gmx.de>
4524
4525 Sync with Tramp 2.2.1.
4526
4527 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4528
4529 * net/trampver.el: Update release number.
4530
3aaaa6f1
SM
45312011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4532
94642599
SM
4533 * progmodes/compile.el (compilation--previous-directory): Fix up
4534 various nil/dead-marker mismatches (bug#8014).
4535 (compilation-directory-properties, compilation-error-properties):
4536 Don't call it at a position past the one we're about to change.
4537
3aaaa6f1
SM
4538 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4539 Disable obsolescence warnings in the file that declares it.
4540
14239447
KM
45412011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4542
099c39a4
JB
4543 * allout-widgets.el (allout-widgets-tally):
4544 Initialize allout-widgets-tally as a hash table rather than nil to
4545 prevent mode-line redisplay warnings. Also, clarify the module
4546 description and fix a comment typo.
14239447 4547
135e287c
JB
45482011-03-11 Juanma Barranquero <lekktu@gmail.com>
4549
4550 * help-fns.el (describe-variable): Don't complete keywords.
4551 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4552
ffbf300e
CY
45532011-03-10 Chong Yidong <cyd@stupidchicken.com>
4554
ba08b241
CY
4555 * emacs-lisp/package.el (package-version-join): Impose a standard
4556 string representation for pre/alpha/beta version lists.
4557 (package-unpack-single): Standardize the directory name by passing
4558 it through package-version-join.
4559 (package-strip-rcs-id): Accept any version string that does not
4560 signal an error in version-to-list.
ffbf300e 4561
f346fd6b
MA
45622011-03-10 Michael Albinus <michael.albinus@gmx.de>
4563
4564 * simple.el (delete-trailing-whitespace): Return nil for the
4565 benefit of `write-file-functions'.
4566
ccb55d27
GM
45672011-03-10 Glenn Morris <rgm@gnu.org>
4568
5ceaac0c
GM
4569 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4570
02da65ff
GM
4571 * vc/vc-git.el (vc-git-program): New option.
4572 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4573 (vc-git--call): Use it.
4574
b2f603cc
GM
4575 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4576
5772caab
GM
4577 * cus-edit.el (Custom-newline): If no button at point, look
4578 for a subgroup button at start-of-line. (Bug#2298)
4579
ccb55d27
GM
4580 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4581
ec6ecaed
JD
45822011-03-10 Julien Danjou <julien@danjou.info>
4583
4584 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4585 `cursor-type' is nil.
4586
9d5aa01d
JB
45872011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4588
4589 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4590
b6a5875b
KM
45912011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4592
4593 * allout.el Summary: Change so yank of distinctive-bullet items
4594 preserves the existing header prefix, rebulleting it if necessary,
4595 rather than replacing it. This is necessary for proper operation
4596 of cooperative addons like allout-widgets.
219bd536 4597 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
4598 SOLICIT arg to INSTEAD, and interpret additionally a string value
4599 as alternate bullet to be used, instead of prompting the user for
4600 a bullet character.
4601
ee545c35
MA
46022011-03-09 Michael Albinus <michael.albinus@gmx.de>
4603
d86d2721
SM
4604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4605 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
4606 `tramp-default-port'.
4607
c47971d7
DD
46082011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4609
4610 * net/rcirc.el (rcirc-handler-001): Remove useless
4611 with-rcirc-process-buffer.
4612 (rcirc-check-auth-status): Swap arguments to string-match.
4613
13522cb4
GM
46142011-03-09 Glenn Morris <rgm@gnu.org>
4615
0be6f4f1
GM
4616 * shell.el (shell-mode):
4617 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
4618
13522cb4
GM
4619 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
4620 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
4621
515de2e3
CY
46222011-03-08 Chong Yidong <cyd@stupidchicken.com>
4623
4624 * emacs-lisp/package.el (package-refresh-contents)
4625 (package-menu-execute): Use condition-case-no-debug.
4626
b511b994
MA
46272011-03-08 Michael Albinus <michael.albinus@gmx.de>
4628
4629 * simple.el (shell-command-to-string): Use `process-file'.
4630
4631 * emacs-lisp/package.el (package-tar-file-info): Handle also
4632 remote files.
4633
d86d2721
SM
4634 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4635 Use `equal' for upload base check.
b511b994 4636
25bbfb31
AM
46372011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
4638
4639 * textmodes/texinfo.el (texinfo-environments):
4640 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
4641
be996521
GM
46422011-03-08 Glenn Morris <rgm@gnu.org>
4643
e9c8529f
GM
4644 * cus-start.el (cursor-in-non-selected-windows):
4645 Fix :set quoting oddness. (Bug#8192)
4646
be996521
GM
4647 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
4648 in some setf expressions. (Bug#2159)
4649
2bb5649e
CY
46502011-03-08 Chong Yidong <cyd@stupidchicken.com>
4651
4652 * custom.el (custom-available-themes): Return themes in
4653 alphabetical order.
4654
33383987 4655See ChangeLog.15 for earlier changes.
e3d51b27
MR
4656
4657;; Local Variables:
4658;; coding: utf-8
e3d51b27
MR
4659;; End:
4660
33383987 4661 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
4662
4663 This file is part of GNU Emacs.
4664
4665 GNU Emacs is free software: you can redistribute it and/or modify
4666 it under the terms of the GNU General Public License as published by
4667 the Free Software Foundation, either version 3 of the License, or
4668 (at your option) any later version.
4669
4670 GNU Emacs is distributed in the hope that it will be useful,
4671 but WITHOUT ANY WARRANTY; without even the implied warranty of
4672 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4673 GNU General Public License for more details.
4674
4675 You should have received a copy of the GNU General Public License
4676 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.