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