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