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