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