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