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