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