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