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