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