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