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