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