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