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