Fix bug #9610 with slow cursor motion in buffers with invisible text.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
502f9ebd
CY
12011-09-27 Chong Yidong <cyd@stupidchicken.com>
2
3 * emacs-lisp/package.el (list-packages): Fix echo area message.
4
7690bdea
LL
52011-09-27 Leo Liu <sdl.web@gmail.com>
6
7 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8
e2ee6f30
MA
92011-09-25 Michael Albinus <michael.albinus@gmx.de>
10
11 * net/dbus.el (dbus-unregister-object): Don't release services for
12 registered signals. (Bug#9581)
13
f3f98342
TZ
142011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15
16 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17 function that picks between cfengine 2 and 3 support
18 automatically. Update docs accordingly.
19
dd7aa8dd
KH
202011-09-22 Kenichi Handa <handa@m17n.org>
21
22 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
23 ZERO.
24 (indian-itrans-v5-table-for-tamil): New variable.
25 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
26
3f2b07f8
KM
272011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
28
29 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
30 that's true if the current command involved collapsing of text.
31 It's reset to false at the beginning of the next command.
32 (allout-post-command-business): Move the cursor to the beginning
33 of entry if the cursor is hidden and collapsing activity just
34 happened.
35
371d6a61
CY
362011-09-24 Chong Yidong <cyd@stupidchicken.com>
37
38 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
39 tracking (Bug#9541).
40
2ac2721a
UJ
412011-09-24 Ulf Jasper <ulf.jasper@web.de>
42
43 * net/newst-reader.el (newsticker-html-renderer)
44 (newsticker-show-news): Automatically
45 load html rendering package if newsticker-html-renderer is
46 set. Fixes "Warning: defvar ignored because w3m-fill-column is
47 let-bound" and the error "Symbol's value as variable is void:
48 w3m-fill-column".
49
fac7ae53
MA
502011-09-24 Michael Albinus <michael.albinus@gmx.de>
51
52 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
53 Release services only if they are defined. (Bug#9581)
54
e08b633b
RS
552011-09-23 Richard Stallman <rms@gnu.org>
56
e488d29c
RS
57 * textmodes/paragraphs.el (forward-sentence): For backwards case,
58 distinguish start of paragraph from start of its text.
59
19c38752
RS
60 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
61
e08b633b
RS
62 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
63 (rmail-generate-viewer-buffer): Put that hook on view buffer.
64 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
65
0a39f27e
AS
662011-09-23 Andreas Schwab <schwab@linux-m68k.org>
67
68 * international/mule-diag.el (mule-diag): Insert a newline after
69 each fontset description.
70
db4e950d
SM
712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * simple.el (delete-trailing-whitespace):
74 Document last change; simplify.
75
eca3f3ea
PW
762011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
77
d68e189a
PW
78 * simple.el (delete-trailing-whitespace): Also delete
79 extra newlines at the end of the buffer.
80
eca3f3ea
PW
81 * textmodes/picture.el: Make motion commands obey shift-select-mode.
82 (picture-newline): Use forward-line so as to ignore fields.
83
01c157cc
SM
842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * subr.el (with-wrapper-hook): Fix edebug spec.
87
022de23e
LMI
882011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
89
90 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
91 (bug#4538).
92
91683089
MA
932011-09-23 Michael Albinus <michael.albinus@gmx.de>
94
eca3f3ea
PW
95 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
96 Fix nasty bug using wrong cached values.
91683089 97
5bdd6fa4
AM
982011-09-23 Alan Mackenzie <acm@muc.de>
99
100 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
101
97adfb97
CY
1022011-09-23 Chong Yidong <cyd@stupidchicken.com>
103
104 * window.el (pop-to-buffer): Ensure right window is selected if we
105 chose another frame.
106
d4ef2b50
EZ
1072011-09-22 Eli Zaretskii <eliz@gnu.org>
108
109 * simple.el (what-cursor-position): Use get-char-property-change
110 and next-single-char-property-change, to be able to show display
111 properties that come from overlays as well as text properties.
112
72258fe5
CY
1132011-09-22 Chong Yidong <cyd@stupidchicken.com>
114
115 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
116
117 * cmuscheme.el (run-scheme, switch-to-scheme):
118 * cus-edit.el (customize-group, custom-buffer-create)
119 (customize-browse):
120 * info.el (info):
121 * shell.el (shell):
122 * mail/sendmail.el (mail):
123 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
124
8f098516
RS
1252011-09-22 Richard Stallman <rms@gnu.org>
126
127 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
128 move back only to line beg, don't move back over blank lines.
129
e74f1bb6
MA
1302011-09-22 Michael Albinus <michael.albinus@gmx.de>
131
132 * files.el (copy-directory): Set directory attributes only in case
133 they could be retrieved from the source directory. (Bug#9565)
134
bfeef8b6
DK
1352011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
136
137 * progmodes/hideshow.el (hs-looking-at-block-start-p)
138 (hs-find-block-beginning, hs-hide-level-recursive):
139 Ignore strings as well as comments. (Bug#9502)
140
7e423bb8
AS
1412011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
142
143 * progmodes/sql.el (sql-comint-postgres):
144 Convert port number to a string. (Bug#9566)
145
b4d72fcf
MR
1462011-09-22 Martin Rudalics <rudalics@gmx.at>
147
148 * window.el (quit-window): Undedicate window when switching to
149 previous buffer. Reported by Thierry Volpiatto
150 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
151 (special-display-popup-frame): When popping up a new frame reset
152 its previous buffers to nil. Simplify code.
b4d72fcf 153
a7b88dc6
MA
1542011-09-21 Michael Albinus <michael.albinus@gmx.de>
155
156 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
157 and process filter, as done also in `shell-command'.
158
cf4eacfd
MR
1592011-09-21 Martin Rudalics <rudalics@gmx.at>
160
eca3f3ea
PW
161 * window.el (set-window-buffer-start-and-point):
162 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
163 Volpiatto <thierry.volpiatto@gmail.com>.
164 (quit-window): Reword doc-string. Handle new format of
165 quit-restore parameter. Don't delete window if it has a
166 previous buffer we can show instead of the present one.
167 (display-buffer-record-window): Rewrite using a new format for
168 the quit-restore window parameter
169 (special-display-popup-frame, display-buffer-same-window)
170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
171 (display-buffer-pop-up-window, display-buffer-use-some-window):
172 Adapt symbol passed to display-buffer-record-window.
173 * help.el (help-window-setup): Handle new format of quit-restore
174 parameter.
175
8d28cb95
SM
1762011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
177
94ab793f
SM
178 * faces.el (face-list): Fix docstring (bug#9564).
179
8d28cb95
SM
180 * window.el (display-buffer--action-function-custom-type):
181 Don't include internal functions in the Custom interface.
182
3820edeb
JL
1832011-09-20 Juri Linkov <juri@jurta.org>
184
185 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
186 (Info-forward-node, Info-backward-node, Info-next-preorder)
187 (Info-last-preorder): Use it. (Bug#9528)
188
5147931d
JL
1892011-09-20 Juri Linkov <juri@jurta.org>
190
191 * info.el (Info-last-preorder): Visit last menu item only when
192 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
193
cf499a1a
JD
1942011-09-20 Julien Danjou <julien@danjou.info>
195
196 * password-cache.el (password-cache-remove): Remove entries even if the
197 value is nil, so that password with a nil value (negative caching) is
198 possible to invalidate.
199
f84e2fe2
LM
2002011-09-20 Lawrence Mitchell <wence@gmx.li>
201
202 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
203 all whitespace around breakpoint. (Bug#9553)
204 (f90-find-breakpoint): Only break at whitespace inside a comment.
205
78054a46
SM
2062011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * minibuffer.el (completion-file-name-table): Keep track of errors.
209 (completion-table-with-predicate): Handle the case where pred1 is nil.
210 * pcomplete.el (pcomplete-completions-at-point): Simplify.
211
345083b2
SM
2122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
213
e24e27be
SM
214 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
215 (debugger-return-value): Signal an error if the debugging context does
216 not await any return value.
217
345083b2
SM
218 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
219 * image-mode.el (image-toggle-display-text)
220 (image-toggle-display-image): Stay away from evil `intangible'.
221
08d355e3
LL
2222011-09-19 Leo Liu <sdl.web@gmail.com>
223
224 * replace.el (occur-revert-arguments): Make it permanent-local.
225 (occur-mode): Don't call font-lock-defontify.
226
f01da43f
CY
2272011-09-19 Chong Yidong <cyd@stupidchicken.com>
228
229 * net/ldap.el (ldap-search-internal): Don't push empty search
230 result (Bug#9508).
231
b6072fa6
SM
2322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
235
443d6696
MA
2362011-09-19 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
239 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
240
7cc6e154
JL
2412011-09-18 Juri Linkov <juri@jurta.org>
242
243 * buff-menu.el (Buffer-menu-mode-map):
244 * dired.el (dired-mode-map):
245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
246 (lisp-interaction-mode-map):
247 * emacs-lisp/package.el (package-menu-mode-map):
248 * epa.el (epa-key-list-mode-map):
249 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
250 (menu-bar-options-menu):
251 * outline.el (outline-mode-menu-bar-map):
252 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
253 * vc/vc-dir.el (vc-dir-menu-map):
254 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
255 Capitalize non-function content words in menu item strings.
256
257 * dired.el (dired-mode-map): Add menu item for
258 `image-dired-dired-toggle-marked-thumbs'.
259
80302a81
JL
2602011-09-18 Juri Linkov <juri@jurta.org>
261
262 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
263 to `isearch-case-fold-search' and restore its original value
264 after the `isearch-mode' call.
265
46c5cf66
JL
2662011-09-18 Juri Linkov <juri@jurta.org>
267
268 * progmodes/grep.el (grep-process-setup): Don't check code for 1
269 because `zgrep' returns 1 for successful matches (bug#9226).
270
d18b513b
JL
2712011-09-18 Juri Linkov <juri@jurta.org>
272
273 * info.el (Info-extract-menu-node-name): Check the second match
274 for empty string (second test-case of bug#9528).
275 (Info-last-preorder): Let-bind `Info-history' to nil to not add
276 intermediate nodes to the history (first test-case of bug#9528).
277
72753f87
JL
2782011-09-18 Juri Linkov <juri@jurta.org>
279
280 * info.el (Info-mode-syntax-table): New variable.
281 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
282
c9384295
JL
2832011-09-18 Juri Linkov <juri@jurta.org>
284
285 * info.el (Info-file-supports-index-cookies): Increment
286 line-beginning-position's arg from 3 to 4 because makeinfo outputs
287 one more line for long file names (bug#4142).
288
d473dce8
CY
2892011-09-18 Chong Yidong <cyd@stupidchicken.com>
290
291 * newcomment.el (comment-normalize-vars): If prompting for
292 comment-start, set comment-start-skip too (Bug#8424).
293
2176854d
JB
2942011-09-18 Johan Bockgård <bojohan@gnu.org>
295
296 * icomplete.el: Fix previous fix of Bug#5849.
297 (icomplete-mode): Don't set completion-show-inline-help.
298 (icomplete-minibuffer-setup): Set completion-show-inline-help
299 locally during icompletion.
300
3aace4e4
CY
3012011-09-18 Chong Yidong <cyd@stupidchicken.com>
302
c940224f
CY
303 * woman.el (woman2-process-escapes): Don't delete unrecognized
304 escapes (Bug#7843).
305
3aace4e4
CY
306 * files.el (inhibit-first-line-modes-regexps): Add image files.
307 (hack-local-variables-prop-line): Return nil for malformed
308 prop-lines (Bug#9044).
309
710dec63
MA
3102011-09-18 Michael Albinus <michael.albinus@gmx.de>
311
312 * net/tramp.el (top): Don't require 'shell.
313 (tramp-methods): Fix docstring.
314 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
315 Return complete remote file name. Handle "smb" case.
316 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
317 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
318
319 * net/tramp-compat.el (top): Require 'shell.
320
321 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
322 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
323 `tramp-current-host'.
324 (tramp-get-remote-tmpdir): Remove.
325
326 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
327 `tramp-tmpdir' entries.
328 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
329 (tramp-smb-handle-file-attributes): Ignore errors.
330 (tramp-smb-wait-for-output): Check also for process end.
331
5d5ac8ec
LMI
3322011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
333
334 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
335 when sending QUIT (bug#9312).
336
8c0f49f0
CY
3372011-09-17 Chong Yidong <cyd@stupidchicken.com>
338
339 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
340 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
341 occur-mode-display-occurrence.
342 (occur-edit-mode): Add usage message.
343 (occur-cease-edit): New command.
344 (occur-after-change-function): Use text properties to find the
345 position of the prefix text.
346 (occur-engine): Set stickiness of prefix text properties.
347
8f1383f7
GM
3482011-09-17 Glenn Morris <rgm@gnu.org>
349
350 * progmodes/etags.el (complete-tag):
351 Fix call to completion-in-region. (Bug#9526)
352
744ba0e3
JL
3532011-09-17 Juri Linkov <juri@jurta.org>
354
355 * textmodes/ispell.el (ispell-word): Add to the error message
356 the word, ispell program name and current dictionary (bug#9121).
357 (ispell-tex-arg-end): Capitalize "error" in the error message.
358
d9bbf400
AS
3592011-09-17 Andreas Schwab <schwab@linux-m68k.org>
360
361 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
362 check. (Bug#4251)
363
8da11505
JL
3642011-09-17 Juri Linkov <juri@jurta.org>
365
366 * window.el (window-safe-min-height, window-safe-min-width):
367 Fix typos (followup to bug#9522).
368
a91adc7e
SJ
3692011-09-17 Sven Joachim <svenjoac@gmx.de>
370
371 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
372
064f328a
EZ
3732011-09-16 Eli Zaretskii <eliz@gnu.org>
374
375 * simple.el (line-move): If goal-column is set, move by logical
376 lines, not by display lines. (Bug#971)
377 (next-line, previous-line, goal-column, line-move-visual): Doc fix
378 to reflect the above change.
379
e69df516
SM
3802011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
381
382 * image.el (imagemagick-register-types): Use regexp-opt.
383
cbb0f9ab
CY
3842011-09-15 Chong Yidong <cyd@stupidchicken.com>
385
386 * window.el (display-buffer-base-action): Rename from
387 display-buffer-default-action. Make default value empty.
388 (display-buffer-overriding-action): Convert to defvar.
389 (display-buffer-fallback-action): New var.
390
25322144
CY
3912011-09-15 Chong Yidong <cyd@stupidchicken.com>
392
393 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
394 declaration.
395 (package--add-to-archive-contents): If there is a duplicate entry
396 with an older version, remove it.
397 (package-menu-mark-delete, package-menu-mark-install)
398 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
399 (package-menu-mark-obsolete-for-deletion):
400 Use package-menu-get-status instead of a regexp search.
25322144
CY
401 (package-menu-get-status): Use tabulated-list-entry.
402 (package-menu-mark-upgrades): New command.
d770725a 403 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
404 (package-menu-execute): Do installation before deletion.
405 (package-menu-refresh, package-menu-execute): Use derived-mode-p
406 instead of checking major-mode.
407 (package-menu--find-upgrades): New function.
408
7520339c
LMI
4092011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
410
411 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
412 passwords in the log buffer.
65a046c4
LMI
413 (smtpmail-process-filter): Update the process marker so that the
414 "broken by peer" status message is inserted in the right place.
7520339c 415
d3c30954
SM
4162011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
417
3fe48822
SM
418 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
419 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
420 bibtex-completion-at-point-function.
421 (bibtex-completion-at-point-function): Use them.
422
1b8b3954
SM
423 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
424
d3c30954
SM
425 * mpc.el (mpc-constraints-tag-lookup): New function.
426 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
427 also to browser "album|playlist".
428
72779976
JL
4292011-09-14 Juri Linkov <juri@jurta.org>
430
431 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
432 (isearch-edit-string): Use length of `isearch-string' when
433 `isearch-fail-pos' returns nil.
434 (isearch-message): Remove duplicate code and call
435 `isearch-fail-pos' with arg `t'.
436
a0bf2bcd
CY
4372011-09-14 Chong Yidong <cyd@stupidchicken.com>
438
17bb0a2d
CY
439 * replace.el (occur-mode-goto-occurrence): Don't force using other
440 window (Bug#9499).
441
a0bf2bcd
CY
442 * dired-aux.el (dired-do-chmod): Don't provide initial input.
443
f678e0b6
MR
4442011-09-14 Martin Rudalics <rudalics@gmx.at>
445
446 * window.el (display-buffer-window): Remove.
447 (display-buffer-record-window): Use help-setup window parameter
448 instead of variable display-buffer-window.
449 (display-buffer-function, special-display-buffer-names)
450 (special-display-function): Mention help-setup parameter instead
451 of display-buffer-window in doc-string.
d3c30954
SM
452 * help.el (help-window-setup): New argument help-window.
453 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
454 Reword some messages.
455 (with-help-window): Pass window used for displaying the buffer
456 to help-window-setup. Don't set display-buffer-window.
457
8e39b2e8
GM
4582011-09-13 Glenn Morris <rgm@gnu.org>
459
460 * emacs-lisp/debug.el (debugger-make-xrefs):
461 Preserve point. (Bug#9462)
462
85e9c04b
CY
4632011-09-13 Chong Yidong <cyd@stupidchicken.com>
464
465 * window.el (window-deletable-p): Use next-frame.
466
1b36ed6a
MR
4672011-09-13 Martin Rudalics <rudalics@gmx.at>
468
469 * window.el (window-auto-delete): Remove.
470 (window-deletable-p): Remove argument FORCE. Don't deal with
471 dedicatedness and previous buffers.
472 (switch-to-prev-buffer): Don't delete window.
473 (delete-windows-on): Delete a window's frame if and only if the
474 window is dedicated.
475 (replace-buffer-in-windows): Delete buffer's window or frame if
476 and only if window is dedicated.
477 (quit-window): Handle quit-restore as before last change.
4d61f28d 478 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 479
ef8ef9fb
CY
4802011-09-13 Chong Yidong <cyd@stupidchicken.com>
481
482 * window.el (window-deletable-p): Never delete the last frame on a
483 given terminal.
484
b2cba41e
GM
4852011-09-13 Glenn Morris <rgm@gnu.org>
486
487 * help.el (describe-key-briefly): Copy previous standard-output change.
488
e3ce671f
PW
4892011-09-13 PJ Weisberg <pj@irregularexpressions.net> (tiny change)
490
491 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
492
b7556719
GM
4932011-09-13 Glenn Morris <rgm@gnu.org>
494
495 * emacs-lisp/lisp-mode.el (lisp-indent-function):
496 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
497
64b51947
CY
4982011-09-12 Chong Yidong <cyd@stupidchicken.com>
499
500 * dired-aux.el (dired-mark-read-string): Don't return default
501 value on empty input (Bug#9361).
502 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
503 Omit initial minibuffer contents.
504 (dired-do-chmod): Signal an error on empty input.
505 (dired-mark-read-string): Don't return default on empty input.
506
507 * files.el (file-modes-symbolic-to-number): Doc fix.
508
393a301e
SM
5092011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * international/mule-cmds.el (ucs-completions): Remove.
512 (read-char-by-name): Use complete-with-action instead; add metadata.
513
fa5660f9
CY
5142011-09-11 Chong Yidong <cyd@stupidchicken.com>
515
516 * window.el (display-buffer--action-function-custom-type)
517 (display-buffer--action-custom-type): New vars.
518 (display-buffer-alist, display-buffer-default-action)
519 (display-buffer-overriding-action): Add defcustom types.
520
4a592f66
CY
521 * frame.el (delete-other-frames): Doc fix (Bug#276).
522
73d56dbd
LMI
5232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
524
525 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
526
37ac18a3
CY
5272011-09-11 Chong Yidong <cyd@stupidchicken.com>
528
529 Change modes that used same-window-* vars to use switch-to-buffer.
530
531 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
532 Use switch-to-buffer.
533
534 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
535 (customize-browse, custom-buffer-create-other-window):
536 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
537
538 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
539 (Info-prev, Info-up, Info-speedbar-goto-node)
540 (info-display-manual): Use switch-to-buffer.
541 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
542
543 * mail/sendmail.el (mail): Use switch-to-buffer.
544 (mail-recover): Use switch-to-buffer-other-window.
545
546 * cmuscheme.el (run-scheme, switch-to-scheme):
547 * ielm.el (ielm):
548 * shell.el (shell):
549 * net/rlogin.el (rlogin):
550 * net/telnet.el (telnet, rsh):
551 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
552
10195bd6
AS
5532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
554
555 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
556
b322f63a
LMI
5572011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
558
39d7fed6
LMI
559 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
560 so don't mention it (bug#9301).
ba5a81f1 561 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 562
ee0e9f11
LMI
563 * faces.el (face-spec-set-match-display): Make `(type graphic)'
564 match `x', `w32' and `ns', like the manual says (bug#9029).
565
0b1c89c1 566 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
567 (process-kill-buffer-query-function): Mention the buffer name in
568 the query.
0b1c89c1 569
77549ea8
LMI
570 * image-mode.el (image-next-line): The line parameter is mandatory
571 (bug#9258).
572
803ef892
LMI
573 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
574 which can be useful (bug#9301).
575
12980837
LMI
576 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
577
91054f8f
LMI
578 * subr.el (match-string): Mention that the current buffer should
579 be the same as the search was done in (bug#9282).
580
b322f63a
LMI
581 * facemenu.el: Disable the remove-* commands if the mark isn't
582 active (bug#9162).
583
3199b96f
CY
5842011-09-10 Chong Yidong <cyd@stupidchicken.com>
585
586 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
587 of display-buffer.
588 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
589
590 * replace.el (occur-mode-goto-occurrence)
591 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
592 and display-buffer.
593
594 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
595 display-buffer.
596
597 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
598 special-display and same-window variables.
599 (mail-other-window): Use switch-to-buffer-other-window.
600 (mail-other-frame): USe switch-to-buffer-other-frame.
601
393a301e
SM
602 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
603 Use display-buffer-other-frame.
3199b96f
CY
604 (gdb-display-gdb-buffer): Use pop-to-buffer.
605
606 * progmodes/gud.el (gud-goto-info): Use info-other-window.
607
608 * progmodes/python.el: Don't set same-window-buffer-names.
609
610 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
611
612 * window.el (display-buffer-alist): Add *Python*.
613
8319e0bf
CY
6142011-09-10 Chong Yidong <cyd@stupidchicken.com>
615
616 * window.el (display-buffer-alist): Add entry for buffers
617 previously handled same-window-*.
618 (display-buffer-alist, display-buffer-default-action)
619 (display-buffer-overriding-action): Mark as risky.
620 (display-buffer-alist): Document action function changes.
621 (display-buffer--same-window-action)
622 (display-buffer--other-frame-action): New variables.
623 (switch-to-buffer, display-buffer-other-frame): Use them.
624 (display-buffer): Rename reuse-frame entry to reusable-frames.
625 (display-buffer-reuse-selected-window): Function deleted.
626 (display-buffer-reuse-window): Handle reusable-frames alist entry.
627 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
628 (display-buffer-special): New function.
629 (display-buffer--maybe-pop-up-frame-or-window): Rename from
630 display-buffer-reuse-or-pop-window. Split off special-display
631 part into display-buffer-special.
632 (display-buffer-use-some-window): Don't perform any special
633 pop-up-frames handling.
634 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 635 (display-buffer--maybe-same-window): Rename from
0d3ff375 636 display-buffer-maybe-same-window.
8319e0bf 637
919a69aa
CY
638 * info.el: Don't set same-window-regexps.
639 (info-setup): New function.
640 (info-other-window, info): Call it.
641
642 * cus-edit.el: Don't set same-window-regexps.
643 (customize-group): New argument.
644 (customize-group-other-window): Use it.
645 (customize-face, customize-face-other-window): Likewise.
646 (custom-buffer-create-other-window): Use pop-to-buffer directly.
647
8319e0bf
CY
648 * net/rlogin.el:
649 * net/telnet.el:
650 * progmodes/gud.el: Don't set same-window-regexps.
651
652 * cmuscheme.el:
653 * ielm.el:
654 * shell.el:
655 * mail/sendmail.el:
656 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
657
25173000
JL
6582011-09-10 Juri Linkov <juri@jurta.org>
659
660 * isearch.el (isearch-edit-string): Remove obsolete mention of
661 `C-w' (`isearch-yank-word-or-char') from docstring.
662 (isearch-query-replace): Fix typo in docstring (bug#9466).
663
056e44ef
JL
6642011-09-10 Juri Linkov <juri@jurta.org>
665
666 * paren.el (show-paren-function): Don't show escaped parens.
667 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
668
c3760c17
EZ
6692011-09-10 Eli Zaretskii <eliz@gnu.org>
670
671 * mail/sendmail.el (mml-to-mime, mml-attach-file)
672 (mm-default-file-encoding): Remove autoload forms, they are
673 replaced with autoload cookies in mml.el and mm-encode.el.
674 (mail-add-attachment): New command.
675 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
676 (mail-mode): Mention mail-insert-file and mail-add-attachment in
677 the doc string.
678 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
679
fece895e
RT
6802011-09-10 Reuben Thomas <rrt@sc3d.org>
681
e69df516
SM
682 * simple.el (count-words-region): Use buffer if there's no region
683 (bug#9429).
fece895e 684
5e68ce4a
JL
6852011-09-09 Juri Linkov <juri@jurta.org>
686
687 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
688 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
689 (wdired-isearch-filter-read-only): New function. (Bug#6362)
690
0a6b9622
AM
6912011-09-09 Alan Mackenzie <acm@muc.de>
692
693 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
694 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
695
14a29deb
EZ
6962011-09-09 Eli Zaretskii <eliz@gnu.org>
697
698 Fix for Savannah bug#9392.
699 * simple.el (mail-encode-mml): New defvar.
700
701 * mail/rmail.el (mail-encode-mml): Add a defvar.
702 (rmail-enable-mime-composing): Default to t.
703 (rmail-forward): Use MIME method of forwarding only if both
704 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
705 Set mail-encode-mml non-nil if the MIME method was used.
706
707 * mail/sendmail.el (mml-to-mime): Add autoload form.
708 (mail-encode-mml): Add a defvar.
709 (mail-mode): Make mail-encode-mml buffer-local and initialize it
710 to nil.
711 (mail-send): If mail-encode-mml is non-nil, run the outgoing
712 message through mml-to-mime, and reset mail-encode-mml to nil.
713
28c45130
GM
7142011-09-09 Glenn Morris <rgm@gnu.org>
715
716 * woman.el (woman-if-body): When processing an .el block,
717 do not delete the next .el block as well. (Bug#9447)
69f4b618 718 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 719
9b1c252e
MR
7202011-09-08 Martin Rudalics <rudalics@gmx.at>
721
722 * window.el (window-deletable-p): Make sure window is live before
723 invoking window-prev-buffers.
724
567457e3
LL
7252011-09-08 Leo Liu <sdl.web@gmail.com>
726
727 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
728
97f05794
JL
7292011-09-08 Juri Linkov <juri@jurta.org>
730
731 * progmodes/compile.el (compilation-environment): Make it
732 a defcustom (bug#8340).
733
8b0874b5
MR
7342011-09-08 Martin Rudalics <rudalics@gmx.at>
735
736 * window.el (frame-auto-delete): Rename to window-auto-delete.
737 Make it control auto-deletion of windows and/or frames.
738 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 739 for deleting window/frame. (Bug#9419)
8b0874b5
MR
740 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
741 Rewrite handling of case when window/frame can be deleted.
742 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 743 argument t. (Bug#9456)
8b0874b5 744
4feb6e73
CY
7452011-09-07 Chong Yidong <cyd@stupidchicken.com>
746
747 * help-mode.el (help-mode): Restore autoload.
748
91ab9c13
JL
7492011-09-07 Juri Linkov <juri@jurta.org>
750
751 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
752 `compilation-environment'. Set buffer-local
753 `compilation-environment' to `thisenv' later after (funcall mode).
754 (Bug#8340)
755
756 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
757 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
758 instead of replacing its value. (Bug#8340)
759
0527e251
JL
7602011-09-07 Juri Linkov <juri@jurta.org>
761
762 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
763 based on text properties put by `grep-filter' instead of matching
764 escape sequences.
765 (grep-mode): Set buffer-local `compilation-error-screen-columns'
766 to the value of `grep-error-screen-columns' (bug#9438).
767
249f792c
JL
7682011-09-07 Juri Linkov <juri@jurta.org>
769
770 * simple.el (next-error-highlight, next-error-highlight-no-select):
771 Doc fix (bug#9432).
772
ff7271b9
OT
7732011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
774
775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
776 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
777
183fc730
LL
7782011-09-07 Leo Liu <sdl.web@gmail.com>
779
780 * net/rcirc.el (rcirc-mode): Conditionally initialize
781 rcirc-input-ring.
782
77694924
SM
7832011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/find-func.el (find-function-C-source): Only set
786 find-function-C-source-directory after checking that we found a source
787 file there (bug#9440).
788
d809b8eb
AM
7892011-09-06 Alan Mackenzie <acm@muc.de>
790
791 * isearch.el (isearch-other-meta-char): Wherever a key list is
792 unread, "unread" the prefix arg, too. This fixes bug #8901.
793
453de99f
OG
7942011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
795
796 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
797
90439906
JL
7982011-09-05 Juri Linkov <juri@jurta.org>
799
800 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
801
f62bd846
JL
8022011-09-05 Juri Linkov <juri@jurta.org>
803
804 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
805 keeping point where processing of grep matches begins, and
806 continue to delete remaining escape sequences from the same point.
807 (grep-filter): Make leading zero optional in "0?1;31m" because
808 git-grep emits "\033[1;31m" escape sequences unlike expected
809 "\033[01;31m" as GNU Grep does (bug#9408).
810 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
811
045820ec
JL
8122011-09-05 Juri Linkov <juri@jurta.org>
813
814 * subr.el (y-or-n-p): Capitalize "yes".
815
f5e29b9b
MA
8162011-09-04 Michael Albinus <michael.albinus@gmx.de>
817
818 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
819 `tramp-cache-unload-hook' where appropriate.
820 (tramp-methods): Rename `tramp-remote-sh' to
821 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
822 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
823
824 * net/tramp-sh.el (top): Don't require 'shell.
825 (tramp-methods): Add `tramp-remote-shell' and
826 `tramp-remote-shell-args' entries.
827 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
828 (tramp-sh-handle-shell-command): Remove.
829 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
830 Use `tramp-remote-shell'.
831
2784c434
CY
8322011-09-03 Chong Yidong <cyd@stupidchicken.com>
833
393a301e 834 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
835 (sendmail-query-once): Save directly to send-mail-function.
836 Update message-send-mail-function too.
837
838 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
839
464cdf56
CS
8402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
841
842 * progmodes/python.el (python-mode-map): Use correct function to
843 start python interpreter from menu-bar (as reported by Geert
844 Kloosterman).
845 (inferior-python-mode-map): Fix typo.
393a301e 846 (python-shell-map): Remove.
464cdf56 847
d37e5c87
DD
8482011-09-03 Deniz Dogan <deniz@dogan.se>
849
850 * net/rcirc.el (rcirc-print): Simplify code for
851 rcirc-scroll-show-maximum-output. There is no need to walk
852 through all windows to find the right one.
853
f3ada0ee
CS
8542011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
855
856 * help.el (help-return-method): Doc fix.
857
1f3c99ca
MR
8582011-09-03 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (window-deletable-p): Don't return a non-nil value
861 when there's a buffer that was shown in the window before.
862 (Bug#9419)
393a301e
SM
863 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
864 Set window's previous buffers to nil.
1f3c99ca 865
a3cf097f
EZ
8662011-09-03 Eli Zaretskii <eliz@gnu.org>
867
868 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
869 newline before and after the tag line, so it doesn't interfere
870 with determining the paragraph direction of bidirectional text.
871
3d03de90
LL
8722011-09-03 Leo Liu <sdl.web@gmail.com>
873
874 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
875
c3313451
CY
8762011-09-02 Chong Yidong <cyd@stupidchicken.com>
877
393a301e 878 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
879 (pop-to-buffer): Change interactive spec. Pass second argument
880 directly to display-buffer.
881 (display-buffer): Fix interactive spec. Use functionp to
882 distinguish between a function and a list of functions.
883
884 * abbrev.el (edit-abbrevs):
885 * arc-mode.el (archive-extract):
886 * autoinsert.el (auto-insert):
887 * bookmark.el (bookmark-bmenu-list):
888 * files.el (find-file):
889 * view.el (view-buffer):
890 * progmodes/compile.el (compilation-goto-locus):
891 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
892
89894cd8
CY
8932011-09-02 Chong Yidong <cyd@stupidchicken.com>
894
895 * window.el (display-buffer-alist): Doc fix.
896 (display-buffer): Add docstring. Don't treat
897 display-buffer-default specially.
898 (display-buffer-reuse-selected-window)
899 (display-buffer-same-window, display-buffer-maybe-same-window)
900 (display-buffer-reuse-window, display-buffer-pop-up-frame)
901 (display-buffer-pop-up-window)
902 (display-buffer-reuse-or-pop-window)
903 (display-buffer-use-some-window): New functions.
904 (display-buffer-default-action): Use them.
393a301e 905 (display-buffer-default): Delete.
89894cd8
CY
906 (pop-to-buffer-1): Fix choice of actions.
907
ae0bc9fb
SM
9082011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * minibuffer.el (completion--insert-strings): Don't get confused by
911 completion entries that end with an LF char.
912
e9d90883
EZ
9132011-09-01 Eli Zaretskii <eliz@gnu.org>
914
915 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
916
437014c8
CY
9172011-09-01 Chong Yidong <cyd@stupidchicken.com>
918
919 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
920 (display-buffer-same-window, display-buffer-other-window):
921 New functions.
437014c8
CY
922 (pop-to-buffer-1): New function. Use the above.
923 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 924 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
925
926 * view.el (view-buffer-other-window, view-buffer-other-frame):
927 Just use pop-to-buffer.
928
a5e063d5
TV
9292011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
930
931 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
932
793d32bb
WH
9332011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
934
935 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
936
d65e4c15
RS
9372011-08-31 Richard Stallman <rms@gnu.org>
938
939 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
940 of the separation of rmail-view-buffer from rmail-buffer.
941 If you say no to "replace original", the decrypt is in the
942 view buffer. If you say yes, the decrypt goes into the
943 rmail buffer also.
944
f818cd2a
MR
9452011-08-31 Martin Rudalics <rudalics@gmx.at>
946
947 * window.el (display-buffer-window): Rewrite doc-string.
948 (display-buffer-record-window): New function.
949 (display-buffer-macro-specifiers)
950 (display-buffer-even-window-sizes, display-buffer-set-height)
951 (display-buffer-set-width, display-buffer-in-window)
952 (display-buffer-reuse-window, display-buffer-split-specifiers)
953 (display-buffer-side-specifiers, display-buffer-split-window-1)
954 (display-buffer-split-window, display-buffer-split-atom-window)
955 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
956 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
957 (display-buffer-other-window-means-other-frame)
958 (display-buffer-normalize-special)
959 (display-buffer-normalize-default)
960 (display-buffer-normalize-argument)
961 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
962 (display-buffer-normalize-specifiers, display-buffer-frame)
963 (display-buffer-same-window, display-buffer-same-frame)
964 (display-buffer-other-window)
965 (display-buffer-same-frame-other-window)
966 (display-buffer-other-frame, pop-to-buffer-same-window)
967 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
968 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
969 (switch-to-buffer-same-frame)
970 (switch-to-buffer-other-window-same-frame)
971 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
972 (display-buffer-alist-set-1, display-buffer-alist-set-2)
973 (display-buffer-alist-set): Remove.
974 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
975 (special-display-regexps, special-display-function):
976 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
977 parameter.
978 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
979 (special-display-frame-alist, special-display-popup-frame)
980 (same-window-buffer-names, same-window-regexps, same-window-p)
981 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
982 (split-window-preferred-function, split-height-threshold)
983 (split-width-threshold, window-splittable-p)
984 (split-window-sensibly, window--try-to-split-window)
985 (window--frame-usable-p, even-window-heights)
986 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
987 (window--display-buffer-2, display-buffer-other-frame):
988 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
989 (display-buffer-default, display-buffer-assq-regexp): New functions.
990 (display-buffer-alist): Rewrite doc-string.
991 (display-buffer-default-action)
992 (display-buffer-overriding-action): New variables.
993 (display-buffer, switch-to-buffer): Rewrite.
994 (pop-to-buffer): Restore Emacs 23 behavior but use
995 window-normalize-buffer-to-display.
996 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
997 Restore Emacs 23 behavior but use
998 window-normalize-buffer-to-switch-to.
999 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1000 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1001 Rewrite using Emacs 23 options.
f818cd2a 1002
5bc3b51d
MA
10032011-08-31 Michael Albinus <michael.albinus@gmx.de>
1004
1005 * net/tramp.el (tramp-root-regexp): Remove.
1006 (tramp-completion-file-name-regexp-unified)
1007 (tramp-completion-file-name-regexp-separate)
1008 (tramp-completion-file-name-regexp-url): Don't use leading volume
1009 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1010 (tramp-drop-volume-letter): Simplify definition.
1011 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1012
b1a4f8e1
SM
10132011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1016 (bug#9356).
1017
5664fa7b
RT
10182011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1019
b1a4f8e1 1020 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1021
9a45d6c3
JL
10222011-08-29 Juri Linkov <juri@jurta.org>
1023
1024 * isearch.el (isearch-done): Don't display message "Mark saved"
1025 when arg `edit' is non-nil to prevent its flicker in the echo area.
1026
fb87e0fb
CY
10272011-08-28 Chong Yidong <cyd@stupidchicken.com>
1028
1029 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1030 obsolete packages for deletion.
1031
09ac1c2a
CS
10322011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1033
1034 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1035 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1036 view-mode from help-mode.
1037 (help-xref-override-view-map): Remove.
1038 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1039 view-mode is not used anymore.
1040
7a1ff57f
CY
10412011-08-28 Chong Yidong <cyd@stupidchicken.com>
1042
1043 * server.el (server-port): Doc fix.
1044
b9696605
CY
1045 * cus-theme.el (custom-theme-choose-mode): Inherit from
1046 special-mode (Bug#9124).
1047 (custom-theme-choose-mode-map): Add special-mode to parent.
1048
ef8cdf8c
AM
10492011-08-28 Alan Mackenzie <acm@muc.de>
1050
1051 * progmodes/cc-fonts.el
1052 (c-make-font-lock-BO-decl-search-function): New function.
1053 (c-basic-matchers-after - "Fontify the clauses after various
1054 keywords"): Extract the three keyword lists for the 3 erroneous
1055 constructs from the list of four, and use the new function above
1056 in place of an old one.
1057
27de4e20
DD
10582011-08-28 Deniz Dogan <deniz@dogan.se>
1059
1060 * net/rcirc.el (rcirc-insert-prev-input)
1061 (rcirc-insert-next-input): Remove unused argument.
1062
356a3681
SM
10632011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1066
3fc9b218
AM
10672011-08-27 Alan Mackenzie <acm@muc.de>
1068
1069 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1070 handle function pointer parameters properly.
1071
538a061c
MR
10722011-08-27 Martin Rudalics <rudalics@gmx.at>
1073
1074 * window.el (display-buffer-reuse-window): Fix case where
1075 selected window was reused with non-nil OTHER-WINDOW argument.
1076 (Bug#9381)
1077
35b1c40c
DD
10782011-08-27 Deniz Dogan <deniz@dogan.se>
1079
1080 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1081 oftc's NickServ messages.
1082
2f6a3e79
GM
10832011-08-27 Glenn Morris <rgm@gnu.org>
1084
1085 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1086
7254299e
CY
10872011-08-26 Chong Yidong <cyd@stupidchicken.com>
1088
1089 * emacs-lisp/package.el (package-install): Call package-initialize
1090 if called interactively.
1091
f8ccf167
LL
10922011-08-26 Leo Liu <sdl.web@gmail.com>
1093
1094 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1095
3e8cd5ce
JL
10962011-08-25 Juri Linkov <juri@jurta.org>
1097
1098 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1099 `search-whitespace-regexp' (bug#9364).
1100
93eb7113
JL
11012011-08-25 Juri Linkov <juri@jurta.org>
1102
1103 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1104 `regexp-search-ring' to their global values to protect from
1105 updating by `read-from-minibuffer' (bug#9185).
1106
f65d1611
JL
11072011-08-25 Juri Linkov <juri@jurta.org>
1108
1109 * textmodes/ispell.el (ispell-command-loop): Add newline
1110 at the end of the "Use option `i'..." line.
1111
f1cf7a31
JL
11122011-08-25 Juri Linkov <juri@jurta.org>
1113
1114 * battery.el (display-battery-mode): If `battery-status-function'
1115 or `battery-mode-line-format' is nil, display the message and set
1116 `display-battery-mode' to nil (bug#9363).
1117
0c95fcf7
EZ
11182011-08-25 Eli Zaretskii <eliz@gnu.org>
1119
1120 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1121 bidi-string-mark-left-to-right; they are unnecessary now.
1122
a2ebe600
DD
11232011-08-25 Deniz Dogan <deniz@dogan.se>
1124
1125 * net/quickurl.el: Documentation typo fixes.
1126
e4ed06f1
CY
11272011-08-25 Chong Yidong <cyd@stupidchicken.com>
1128
1129 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1130
e5f1c99e
GM
11312011-08-25 Glenn Morris <rgm@gnu.org>
1132
b2948976
GM
1133 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1134
e5f1c99e
GM
1135 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1136 (smtpmail-via-smtp): Handle nil response from smtp.
1137
f22f4808
JL
11382011-08-24 Juri Linkov <juri@jurta.org>
1139
1140 * proced.el (proced-marked): Inherit from `error' instead of
1141 `font-lock-warning-face'.
1142
1143 * ibuffer.el (ibuffer-marked-face): Change default face from
1144 `font-lock-warning-face' to `warning'.
1145 (ibuffer-deletion-face): Change default face from
1146 `font-lock-type-face' to `error'.
1147
1148 * battery.el (battery-update): Use the face `error' instead of
1149 `font-lock-warning-face' (bug#6117).
1150
6a93965e
JL
11512011-08-24 Juri Linkov <juri@jurta.org>
1152
1153 * faces.el (success): Change face color from "Green3" to
1154 "ForestGreen" on light background (bug#9353).
1155
1ed43b09
CY
11562011-08-24 Chong Yidong <cyd@stupidchicken.com>
1157
5664fa7b
RT
1158 * window.el (quit-window): Rename from quit-restore-window.
1159 Use same arglist as old quit-window.
1ed43b09
CY
1160 (frame-auto-delete): Doc fix.
1161
1162 * view.el (view-mode-exit): Use quit-window.
1163
11dcdbb2
JL
11642011-08-24 Juri Linkov <juri@jurta.org>
1165
1166 * isearch.el (isearch-ring-adjust1): Start visiting previous
1167 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1168 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1169 for empty search string (when the last search string is reused
1170 automatically) to adjust the isearch ring to the last element and
1171 prepare the correct index for further M-p commands (bug#9185).
1172
de62b4df
KH
11732011-08-24 Kenichi Handa <handa@m17n.org>
1174
1175 * international/ucs-normalize.el: If decomposition property of
1176 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1177 nil.
1178 (nfd, nfkd): Likewise.
1179
963b492b
SM
11802011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1183 from process filters aren't reliably transmitted to the surrounding
1184 accept-process-output.
1185 (mpc-proc-check): New function.
1186 (mpc-proc-sync): Use it (bug#8293)
1187
93b6b5e1
SM
11882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1191 Add compatibility functions (bug#9313).
1192
bca633fb
EZ
11932011-08-23 Eli Zaretskii <eliz@gnu.org>
1194
b177498a
EZ
1195 * cus-start.el (all): Add entry for bidi-paragraph-direction.
1196
bca633fb
EZ
1197 * international/uni-bidi.el: Regenerated.
1198
0902a04e
KH
11992011-08-23 Kenichi Handa <handa@m17n.org>
1200
1201 * international/charprop.el:
1202 * international/uni-bidi.el:
1203 * international/uni-category.el:
1204 * international/uni-combining.el:
1205 * international/uni-comment.el:
1206 * international/uni-decimal.el:
1207 * international/uni-decomposition.el:
1208 * international/uni-digit.el:
1209 * international/uni-lowercase.el:
1210 * international/uni-mirrored.el:
1211 * international/uni-name.el:
1212 * international/uni-numeric.el:
1213 * international/uni-old-name.el:
1214 * international/uni-titlecase.el:
1215 * international/uni-uppercase.el: Regenerate.
1216
3bbf23bc
MR
12172011-08-23 Martin Rudalics <rudalics@gmx.at>
1218
1219 * help.el (help-window-setup): Fix message displayed when other
1220 window is reused. (Bug#9341)
1221
b3fd59bd
SM
12222011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1802e444
SM
1224 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1225 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1226
b3fd59bd
SM
1227 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1228 Mark obsolete.
1229 * shell.el (shell-parse-pcomplete-arguments): New function.
1230 (shell-completion-vars): Use it instead (bug#9160).
1231
4eb61348
SM
12322011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1233
867cab74
SM
1234 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1235 strings and comments (bug#9333).
1236
4eb61348
SM
1237 * emacs-lisp/debug.el (debug-arglist): New function.
1238 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
1239 (debug-on-entry-1): Handle interpreted closures (bug#9120).
1240
262a1439
JL
12412011-08-22 Juri Linkov <juri@jurta.org>
1242
56ee679c
JL
1243 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1244 Revert regexp that highlights output switches to its old
1245 pre-2010-10-28 value and remove one `?' from it (bug#9319).
1246
262a1439
JL
1247 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1248 to check for empty output (bug#9226).
1249
f13f86fb
CY
12502011-08-22 Chong Yidong <cyd@stupidchicken.com>
1251
1252 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1253 symbol-constituent as the default, as that stops font-lock from
1254 working properly (Bug#8843).
1255
c65c9622
LMI
12562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1257
1258 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1259 `coding-system-for-*' around the process open call to avoid
1260 auth-source side effects.
e7f2c178 1261 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
1262 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1263 probe hangs.
c65c9622 1264
23a8a5ab
CY
12652011-08-21 Chong Yidong <cyd@stupidchicken.com>
1266
ff98b2dd
CY
1267 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1268
23a8a5ab
CY
1269 * emacs-lisp/find-func.el (find-function-noselect): New arg
1270 lisp-only.
1271
1272 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1273 signal an error for built-in functions (Bug#6664).
1274
f5e3c598
LMI
12752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1276
1277 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1278 (smtpmail-try-auth-methods): Use it.
1279
a3f2468a
CY
12802011-08-21 Chong Yidong <cyd@stupidchicken.com>
1281
2c34e8da
CY
1282 * font-lock.el (font-lock-fontify-region)
1283 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1284 (font-lock-default-unfontify-buffer)
1285 (font-lock-default-fontify-region)
1286 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1287
b3fd59bd
SM
1288 * progmodes/compile.el (compilation-error-properties):
1289 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
1290 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1291 `ant' regexp.
ee31aabc 1292
a3f2468a
CY
1293 * net/browse-url.el (browse-url-firefox): Don't call
1294 browse-url-firefox-sentinel unless using -remote (Bug#9328).
1295
8e999f70
GM
12962011-08-20 Glenn Morris <rgm@gnu.org>
1297
c21a496a
GM
1298 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1299
59ee0542
GM
1300 * tutorial.el (tutorial--default-keys): Update some default bindings.
1301
8e999f70
GM
1302 * files.el (hack-local-variables): Fully ignore case for "mode:".
1303
e3715033
AM
13042011-08-20 Alan Mackenzie <acm@muc.de>
1305
1306 Resolve invalid use of a regexp in regexp-opt.
1307
4d61f28d
JB
1308 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1309 detection for a java annotation.
e3715033 1310
4d61f28d 1311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
1312 detection for a java annotation.
1313
4d61f28d
JB
1314 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1315 handling for java.
e3715033
AM
1316 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1317
04ed2e9c
CY
13182011-08-20 Chong Yidong <cyd@stupidchicken.com>
1319
1320 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1321 (Bug#9274).
1322
826cee64
AM
13232011-08-20 Alan Mackenzie <acm@muc.de>
1324
1325 * Fontify CPP expressions correctly when starting in the middle of
1326 such a construct. Mainly for when jit-lock etc. starts a chunk
1327 here.
1328
1329 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1330 variable.
1331 (c-make-font-lock-search-form): new function, extracted from
1332 c-make-font-lock-search-function.
1333 (c-make-font-lock-search-function): Use the above function.
1334 (c-make-font-lock-context-search-function): New function.
1335 (c-cpp-matchers): Enhance the preprocessor expression case with
1336 the above function
1337 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1338 which takes an expression.
1339
1340 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1341
13009bd8
MR
13422011-08-20 Martin Rudalics <rudalics@gmx.at>
1343
1344 * window.el (display-buffer-reuse-window)
1345 (display-buffer-pop-up-window): Don't reuse or split a side
1346 window.
1347
9234ff7f
GM
13482011-08-19 Glenn Morris <rgm@gnu.org>
1349
1350 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 1351 Downcase "Mode:". (Bug#9331)
9234ff7f 1352
f635daa1
CY
13532011-08-18 Chong Yidong <cyd@stupidchicken.com>
1354
1355 * international/characters.el: Add L and R categories.
1356
1357 * subr.el (bidi-string-mark-left-to-right): Rename from
1358 string-mark-left-to-right. Use category search.
1359
1360 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
1361
bc987f8b
JL
13622011-08-18 Juri Linkov <juri@jurta.org>
1363
1364 * faces.el (error, warning, success): New faces with definitions
1365 copied from old default values of `font-lock-warning-face',
1366 `compilation-warning', `compilation-info' (bug#6117).
1367
1368 * font-lock.el (font-lock-warning-face): Inherit from `error'.
1369
1370 * progmodes/compile.el (compilation-error): Inherit from `error'.
1371 (compilation-warning): Inherit from `warning'.
1372 (compilation-info): Inherit from `success'.
1373
1374 * dired.el (dired-marked): Inherit from `warning'.
1375 (dired-flagged): Inherit from `error'.
1376
57173b96
LMI
13772011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1378
3e79eb87
LMI
1379 * mail/smtpmail.el (auth-source): Require to avoid problems with
1380 binding variables (bug#9298). Also clean up some unused
1381 autoloads.
1382
b3fd59bd
SM
1383 * net/network-stream.el (network-stream-open-starttls):
1384 Support using starttls.el without using gnutls-cli.
57173b96 1385
02b404de
JL
13862011-08-17 Juri Linkov <juri@jurta.org>
1387
1388 * progmodes/grep.el (rgrep): Handle the case when
1389 `grep-find-command' is a cons cell (bug#9278).
1390
8c9177f2
MR
13912011-08-17 Martin Rudalics <rudalics@gmx.at>
1392
1393 * window.el (display-buffer-pop-up-frame): Run frame creation
1394 function with BUFFER current (as special-display-popup-frame
1395 does). Reported by Drew Adams.
1396
3644a0ab
DU
13972011-08-17 Daiki Ueno <ueno@unixuser.org>
1398
1399 * epa-mail.el: Simplify GnuPG group expansion using
1400 epg-expand-group.
1401 (epa-mail-group-alist, epa-mail-group-modtime)
1402 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
1403 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
1404 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
1405 Remove.
1406
5e617bc2 14072011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
1408
1409 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
1410
9c4aeabf
AM
14112011-08-16 Alan Mackenzie <acm@muc.de>
1412
1413 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
1414 Correct, to avoid the inside of macros.
1415
3a99bf64
RS
14162011-08-16 Richard Stallman <rms@gnu.org>
1417
04963aa8
RS
1418 * epa-mail.el: Handle GnuPG group definitions.
1419 (epa-mail-group-alist, epa-mail-group-modtime)
1420 (epa-mail-gnupg-conf-file): New variables.
1421 (epa-mail-parse-groups, epa-mail-sync-groups)
1422 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
1423 (epa-mail-expand-recipients): New functions.
1424 (epa-mail-encrypt): Call epa-mail-expand-recipients.
1425
177549d0
RS
1426 * mail/rmail.el (rmail-epa-decrypt): New command.
1427
fe38beef
RS
1428 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
1429 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
1430 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
1431 (epa-decrypt-armor-in-region): Make error message clearer.
1432
934eacb9
SM
14332011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
1436 and "a2b" to "ab" for `prefix'.
1437
d024fb4e
CY
14382011-08-14 Chong Yidong <cyd@stupidchicken.com>
1439
1440 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
1441 filter groups.
de148fee
CY
1442 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
1443 Fourquet (Bug#8804).
d024fb4e 1444
62f1ca49
JB
14452011-08-12 Juanma Barranquero <lekktu@gmail.com>
1446
1447 * startup.el (argi): Declare as global variable (bug#9275).
1448
9ccaaa4b
CY
14492011-08-12 Chong Yidong <cyd@stupidchicken.com>
1450
1451 * subr.el (string-mark-left-to-right): Search the entire string
1452 for RTL script, not just the terminating character. Doc fix.
1453
a3dae87a
SM
14542011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1455
6cd18349
SM
1456 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
1457 New function.
1458 (js--regexp-literal, js-syntax-propertize-function): Remove.
1459 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1460 (js-mode-map): Don't rebind electric keys.
1461 (js-insert-and-indent): Remove.
1462 (js-mode): Setup electric-layout and electric-indent instead.
1463
a3dae87a
SM
1464 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1465
9d5cb631
DU
14662011-08-12 Daiki Ueno <ueno@unixuser.org>
1467
1468 * epa.el (epa-progress-callback-function): Fix the logic of
1469 displaying progress.
1470 * epa-file.el (epa-file-insert-file-contents): Make progress
1471 display more user-friendly.
1472 (epa-file-write-region): Ditto.
1473
3e26a4a2
CY
14742011-08-10 Chong Yidong <cyd@stupidchicken.com>
1475
1476 * subr.el (string-mark-left-to-right): New function.
1477
1478 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1479 Use string-mark-left-to-right.
1480 (list-buffers-noselect): Caller changed.
1481
a3dae87a
SM
1482 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1483 Use string-mark-left-to-right.
3e26a4a2
CY
1484 (tabulated-list-print): Recenter after moving point.
1485
ac8cf6e6
JL
14862011-08-10 Juri Linkov <juri@jurta.org>
1487
1488 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1489 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1490 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1491
8d96c9a4
CY
14922011-08-09 Chong Yidong <cyd@stupidchicken.com>
1493
1494 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1495 (Bug#7554).
1496
7be1c708 14972011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
1498
1499 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1500 character. (Bug#6594)
1501
37e11a63
CY
15022011-08-08 Chong Yidong <cyd@stupidchicken.com>
1503
839dde57
CY
1504 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1505 (image-dired--with-db-file): New macro.
1506 (image-dired-write-tags, image-dired-remove-tag)
1507 (image-dired-create-gallery-lists, image-dired-write-comments)
1508 (image-dired-get-comment, image-dired-mark-tagged-files)
1509 (image-dired-list-tags, image-dired-gallery-generate): Use it.
1510 (image-dired-gallery-generate): Use insert-file-contents.
1511
37e11a63
CY
1512 * time.el (display-time-world-list, display-time-world-display):
1513 * time-stamp.el (time-stamp-string):
1514 * vc/add-log.el (add-change-log-entry): Use setenv instead of
1515 set-time-zone-rule (Bug#7337).
1516
0b4946c4
DU
15172011-08-08 Daiki Ueno <ueno@unixuser.org>
1518
1519 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1520 (epg-error-to-string, epg-errors-to-string): New function.
1521 (epg-wait-for-completion): Reverse errors list.
1522 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1523 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1524 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1525 (epg-sign-keys, epg-generate-key-from-file)
1526 (epg-generate-key-from-string): Format errors by using
1527 epg-errors-to-string (bug#9255).
1528 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1529
75bfc667
JL
15302011-08-07 Juri Linkov <juri@jurta.org>
1531
1532 * faces.el (list-faces-display): Remove extra angle bracket
1533 from `help-mode-map'.
1534
1535 * info.el (Info-history-toc-nodes): Doc fix.
1536
1537 * longlines.el (longlines-mode): Doc fix.
1538
673e08bb
SM
15392011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1540
4640dd88
SM
1541 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1542 of statements and in a few more cases (bug#9183).
1543
673e08bb
SM
1544 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1545 New functions.
1546 (cl-transform-lambda): Use them (bug#9239).
1547
89b3f019
MR
15482011-08-05 Martin Rudalics <rudalics@gmx.at>
1549
1550 * window.el (display-buffer-same-window)
1551 (display-buffer-same-frame, display-buffer-other-window)
1552 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1553 (pop-to-buffer-other-window)
1554 (pop-to-buffer-same-frame-other-window)
1555 (pop-to-buffer-other-frame): Make them defuns.
1556 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1557
640c8776
SM
15582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * subr.el (make-composed-keymap): Move from C. Change calling
1561 convention, and improve docstring to bring attention to a subtle point.
1562 * minibuffer.el (completing-read-default): Adjust accordingly.
1563
63648a95
MA
15642011-08-03 Michael Albinus <michael.albinus@gmx.de>
1565
1566 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1567 (tramp-open-shell): Use `tramp-shell-quote-argument'.
1568
1569 * net/trampver.el: Update release number.
1570
b796c9b7
SM
15712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1574 "in" (bug#9190).
1575
2239d7d5
LMI
15762011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1577
e07dd7c3
LMI
1578 * mail/sendmail.el (sendmail-query-once): Restore the current
1579 buffer after querying (bug#9074).
1580
0e6a2bd7
LMI
1581 * dired.el (dired-flagged): Use different faces for marked and
1582 flagged files (bug#6117).
1583
ce887515
LMI
1584 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1585 (bug#4433).
1586
92f2affc
LMI
1587 * ido.el (ido-mode): Switch off the message if called
1588 non-interactively.
1589
57d5aff0
LMI
1590 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1591 before 587, since it appears that that's more likely to work for
1592 more people.
1593
98cd6c18
LMI
1594 * cus-edit.el (custom-file): When running under emacs -q, always
1595 refuse to save the customisations, even if the .emacs file doesn't
1596 exist.
1597
b96dec83
LMI
1598 * info.el: Remove the `Info-beginning-of-buffer' function
1599 (bug#8325).
1600
b796c9b7
SM
1601 * net/network-stream.el (network-stream-open-starttls):
1602 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 1603
d90e2ea0
MR
16042011-08-01 Martin Rudalics <rudalics@gmx.at>
1605
1606 * window.el (display-buffer-in-window): Don't set dedicated status
1607 of window here (Bug#9215).
1608 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1609 (display-buffer-pop-up-side-window)
b796c9b7 1610 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 1611
cca09170
SM
16122011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1615 before binding generated-autoload-file.
1616
027b979c
DD
16172011-08-01 Deniz Dogan <deniz@dogan.se>
1618
1619 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1620
3c7ee4f3
MA
16212011-07-30 Michael Albinus <michael.albinus@gmx.de>
1622
1623 Sync with Tramp 2.2.2.
1624
1625 * net/trampver.el: Update release number.
1626
2cc8e51a
JL
16272011-07-30 Juri Linkov <juri@jurta.org>
1628
1629 * dired-aux.el (dired-touch-initial): Remove function.
1630 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1631 current time, and `default' to the last modification time of the
1632 current marked file (bug#6887).
1633
a514d856
JM
16342011-07-28 Jose E. Marchesi <jemarch@gnu.org>
1635
1636 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 1637 numeric argument to read-number (bug#9163).
a514d856 1638
8a7eddd7
MA
16392011-07-27 Michael Albinus <michael.albinus@gmx.de>
1640
1641 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1642 connection process, it could be nil.
1643
1ddd96f5
LL
16442011-07-27 Leo Liu <sdl.web@gmail.com>
1645
1646 Simplify url handling in rcirc-mode.
1647
1648 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1649 (rcirc-browse-url-at-mouse): Remove.
1650 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1651
b248a85d
AM
16522011-07-26 Alan Mackenzie <acm@muc.de>
1653
1654 Fontify bitfield declarations properly.
1655
1656 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1657 (c-symbol-chars): Now exported as a lang variable.
1658 (c-not-primitive-type-keywords): New lang variable.
1659
1660 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1661 QT keyword "more" to prevent "more slots: ...." being spuriously
1662 parsed as a bitfield declaraion.
1663
b796c9b7
SM
1664 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1665 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
1666 (c-punctuation-in): New function.
1667 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1668 declarations properly.
1669
68575ab0
UJ
16702011-07-26 Ulf Jasper <ulf.jasper@web.de>
1671
1672 * calendar/icalendar.el (icalendar--all-events): Take care of
1673 multiple vcalendars in a single file.
b796c9b7 1674 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 1675
0f0a88b9
DD
16762011-07-25 Deniz Dogan <deniz@dogan.se>
1677
1678 * image.el (insert-image): Clarifying docstring.
1679
0b3f36df
MA
16802011-07-24 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1683 `tramp-send-command-and-check' if there is no error.
1684 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1685
a9901f61
AM
16862011-07-22 Alan Mackenzie <acm@muc.de>
1687
1688 Prevent cc-langs.elc being loaded at run time.
1689
1690 * progmodes/cc-mode.el: Remove two autoload forms which loaded
1691 cc-langs.
1692
4d61f28d 1693 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
1694 "(require 'cc-langs)". Quote a form so it will evaluate at
1695 (cc-mode's) compilation time.
1696
11d074b2
MA
16972011-07-22 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * net/tramp.el (tramp-file-name-handler): Avoid recursive
1700 loading. (Bug#9114)
1701
938b94c8
MR
17022011-07-21 Martin Rudalics <rudalics@gmx.at>
1703
1704 * window.el (display-buffer-pop-up-window)
1705 (display-buffer-pop-up-side-window)
1706 (display-buffer-in-side-window): Call display-buffer-set-height
1707 and display-buffer-set-width after setting the new window's
b796c9b7 1708 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 1709
bfa4f190
SS
17102011-07-20 Sam Steingold <sds@gnu.org>
1711
1712 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1713 (etags-tags-included-tables): Call `convert-standard-filename' on
1714 the file names contained in TAGS so that windows Emacs can handle
1715 TAGS files created by cygwin ctags.
1716
8ca42262
LMI
17172011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1718
1719 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1720 which apparently didn't work.
1721
5db2afd2 17222011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 1723
5db2afd2
RW
1724 * proced.el (proced-send-signal): For *Marked Processes* buffer
1725 put point at beginning of buffer.
1726
92e15d10
SB
17272011-07-19 Stephen Berman <stephen.berman@gmx.net>
1728
1729 * proced.el (proced-format): Make header lines align with the text
1730 (bug#1779).
1731
1bfd59e5
LMI
17322011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1733
1734 * view.el (view-buffer): Allow running in `special' modes if we're
1735 visiting a file (bug#8615).
1736
f5aae37c
MR
17372011-07-19 Martin Rudalics <rudalics@gmx.at>
1738
1739 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
1740 (display-buffer-alist-set-1, display-buffer-alist-set-2):
1741 New functions.
f5aae37c
MR
1742 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1743 more accurately.
1744
bf2c1571
AM
17452011-07-18 Alan Mackenzie <acm@muc.de>
1746
1747 Fontify declarators properly when, e.g., a jit-lock chunk begins
1748 inside a declaration.
1749
1750 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1751
b796c9b7
SM
1752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1753 New function.
bf2c1571
AM
1754 (c-complex-decl-matchers): Insert reference to
1755 c-font-lock-enclosing-decls.
1756
1757 * progmodes/cc-engine.el (c-backward-single-comment):
1758 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1759 to nil around calls to (forward-comment -1).
1760
4e190b80
LMI
17612011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1762
12dc863d
LMI
1763 * image.el (put-image): Doc typo fix.
1764
a762e966
LMI
1765 * progmodes/etags.el (tags-search): Doc typo fix.
1766
4e190b80
LMI
1767 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1768 password if we get errors 550 to 554.
1769
f019fb21
LMI
17702011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1771
b796c9b7 1772 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 1773
81746738
LMI
1774 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1775 indentation character (bug#6380).
1776
3ee3a1b5
LMI
1777 * files.el (buffer-offer-save): Made permanently local (bug#6241).
1778
c82f64de
LMI
1779 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1780 to clarify what the problem is (bug#4291).
1781
f019fb21
LMI
1782 * simple.el (current-kill): Clarify what
1783 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
1784 (auto-fill-mode): Document `auto-fill-function' in relation to
1785 `auto-fill-mode' (bug#2470).
f019fb21 1786
0794775d
LM
17872011-07-16 Lawrence Mitchell <wence@gmx.li>
1788
1789 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1790 method if slot is read-only (bug#9035).
1791
be39b8cc
MR
17922011-07-16 Martin Rudalics <rudalics@gmx.at>
1793
b796c9b7 1794 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 1795 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
1796 selected before, see discussion of (Bug#8615), (Bug#6954).
1797 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 1798
6ccf7859
GM
17992011-07-15 Glenn Morris <rgm@gnu.org>
1800
1801 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 1802 Respect help-form.
6ccf7859 1803
87e86684
LM
18042011-07-09 Lawrence Mitchell <wence@gmx.li>
1805
1806 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1807 (gnutls-negotiate): Use it.
1808
d6066239
LMI
18092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1810
b796c9b7
SM
1811 * net/gnutls.el (gnutls-negotiate):
1812 Upcase `gnutls-algorithm-priority'.
d6066239 1813
bd23ebc0
GM
18142011-07-15 Glenn Morris <rgm@gnu.org>
1815
c65bca65
GM
1816 * jka-compr.el (jka-compr-verbose): Move from here...
1817 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1818 Add missing :version tag.
1819 * info.el: No need to require jka-compr when compiling.
bd23ebc0 1820
478615cc
LMI
18212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1822
7b41decb
LMI
1823 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1824 (gnutls-negotiate): Use it.
1825
dbc44fcd
LMI
1826 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1827
06789f97
LMI
1828 * info.el (Info-beginning-of-buffer): New command.
1829 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1830 announcing `b' as the key (bug#8325).
ab896c37 1831 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 1832
c39da690
LMI
1833 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1834
3aa5f34b
LMI
1835 * international/mule-cmds.el
1836 (describe-specified-language-support): Make the error message
1837 clearer (bug#8905).
1838
4bf0979f
LMI
1839 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1840
478615cc
LMI
1841 * isearch.el (isearch-barrier): Add a doc string, since it's
1842 mentioned in a function doc string (bug#8678).
1843
75c68aa1
MR
18442011-07-15 Martin Rudalics <rudalics@gmx.at>
1845
1846 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1847 buffer argument (Bug#9083) and self-identifying label argument.
1848
a7c33da2
GM
18492011-07-15 Glenn Morris <rgm@gnu.org>
1850
1851 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1852
2f5c6024
LMI
18532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1854
1855 * man.el (Man-fontify-manpage): Fix message when formatting the
1856 man page (bug#7929).
1857
0bb23927 18582011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
1859
1860 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1861 argument LRM; if non-nil, append an invisible LRM character to the
1862 buffer name.
1863 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1864 last argument non-nil, when formatting buffer names.
0bb23927
EZ
1865 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1866 paragraph direction.
cce4b0a7 1867
621ef9ab
LMI
18682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1869
d1583c48
LMI
1870 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1871 the man page name (bug#7929).
1872
6a57fb5f
LMI
1873 * image.el (put-image): Mention the `put-image' overlay property
1874 (bug#7834).
1875
d7956b14
LMI
1876 * scroll-bar.el (set-scroll-bar-mode): Mention that
1877 `scroll-bar-mode' lists the values (bug#7772).
1878
5b2d4a66
LMI
1879 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1880 command (bug#7729).
1881
7509a874
LMI
1882 * rect.el (apply-on-rectangle): Return the point after the last
1883 operation.
1884 (string-rectangle): Go to the point after the last operation
1885 (bug#7522).
1886
4fe74b19
LMI
1887 * printing.el (pr-toggle-region): Clarify the documentation
1888 slightly (bug#7493).
1889
b796c9b7
SM
1890 * time.el (display-time-update):
1891 Allow `display-time-mail-function' to return nil (bug#7158).
1892 Fix suggested by Detlev Zundel.
ab283561 1893
fc233c9d
LMI
1894 * vc/diff.el (diff): Clarify the order the file names are read
1895 (bug#7111).
1896
43f5740b
LMI
1897 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1898 the doc string (bug#7015).
1899
f2182a76
LMI
1900 * font-lock.el (font-lock-maximum-decoration): Mention what
1901 numeric levels mean (bug#6935).
1902
621ef9ab
LMI
1903 * startup.el (initial-buffer-choice): Don't mention the `none'
1904 selection, which is against policy.
1905
adc47434
MR
19062011-07-14 Martin Rudalics <rudalics@gmx.at>
1907
b796c9b7
SM
1908 * window.el (display-buffer-normalize-special):
1909 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 1910
7e5bfb8f
EZ
19112011-07-14 Eli Zaretskii <eliz@gnu.org>
1912
1913 * subr.el (version<, version<=, version=): Mention "-CVS" and
1914 "-12345" alpha version numbers.
1915
27fa387a
CY
19162011-07-14 Chong Yidong <cyd@stupidchicken.com>
1917
1918 * bindings.el: Add advertised binding for set-mark-command
1919 (Bug#5772).
1920
8bdfa064
CY
19212011-07-14 Chong Yidong <cyd@stupidchicken.com>
1922
1923 * bindings.el (mode-line-other-buffer):
1924 * bookmark.el (bookmark-bmenu-2-window):
1925 * bs.el (bs-cycle-next, bs-cycle-previous):
1926 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1927 switch-to-buffer.
1928
1929 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 1930 Delete.
8bdfa064 1931
5eba16a3
JB
19322011-07-14 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * follow.el (follow-debug-message, follow-redisplay):
1935 * jka-cmpr-hook.el (with-auto-compression-mode):
1936 Fix typos in docstrings.
1937
15853710
LMI
19382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1939
a28e4607
LMI
1940 * subr.el (with-silent-modifications): Clarify somewhat what the
1941 macro inhibits (bug#6525).
1942
15853710
LMI
1943 * simple.el (eval-expression): Note what it does if called
1944 interactively (bug#6495).
1945
bee0fcef
CY
19462011-07-13 Chong Yidong <cyd@stupidchicken.com>
1947
b796c9b7
SM
1948 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
1949 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
1950
1951 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1952 Remove switch-to-buffer.
1953
58274504
LMI
19542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1955
bd2fcc8d
LMI
1956 * files.el (make-directory): Clarify that an error will be raised
1957 if there's an error (bug#6397).
1958
0f04b32c
LMI
1959 * startup.el (initial-buffer-choice): Add `none' as a choice
1960 (bug#6234).
1961
465c5fc8
LMI
1962 * subr.el (add-hook): Clarify section about buffer-local hooks
1963 (bug#6218).
1964
58274504
LMI
1965 * dired.el (dired-flagged): Clarify doc string (bug#6117).
1966
bead9a43
JB
19672011-07-13 Juanma Barranquero <lekktu@gmail.com>
1968
1969 * tabify.el (untabify): Preserve the current column so that point
1970 doesn't move (bug#6032).
1971
3af98a7b
LMI
19722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1973
b796c9b7
SM
1974 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
1975 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 1976
6240145a
GM
19772011-07-13 Glenn Morris <rgm@gnu.org>
1978
1979 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
1980 (dired-insert-directory): Give a message the first time
1981 if ls is found not to support --dired.
1982
1d8c2ccc
LMI
19832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1984
1985 * simple.el (toggle-truncate-lines): Clarify what is toggled
1986 (bug#5580). Text by Drew Adams.
1987
5fc4038e
CY
19882011-07-13 Chong Yidong <cyd@stupidchicken.com>
1989
1990 * simple.el (blink-matching-open): Make the error message from the
1991 last change less verbose.
1992
bf6012e5
DN
19932011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1994
1995 * font-lock.el (font-lock-comment-face): Use the high contrast
1996 "yellow" color for font-lock-comment-face on low color terminals
1997 using a dark background color (bug#4221).
1998
343c3b5a
LMI
19992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000
7e9505c5
LMI
2001 * dired.el (dired-insert-set-properties): Make the doc string
2002 reflect what it does now (bug#5325).
2003
c26fdcf5
LMI
2004 * simple.el (blink-matching-open): Say that we were unable to find
2005 the match within the limit, if we're limited (bug#5122).
2006
bb388cc5
LMI
2007 * international/mule-cmds.el (prefer-coding-system): Add an
2008 example (bug#4869).
2009
343c3b5a
LMI
2010 * progmodes/etags.el (tags-search): Document `file-list-form'
2011 (bug#4731).
2012
2a517d45
LM
20132011-07-13 Lawrence Mitchell <wence@gmx.li>
2014
2015 * net/browse-url.el (browse-url-default-browser)
2016 (browse-url-browser-function): Make the default browser choice a
2017 bit more logical (bug#4300). Also clean up the doc string.
2018
b6c78ef2
JB
20192011-07-13 Juanma Barranquero <lekktu@gmail.com>
2020
2021 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2022 binary endings (bug#4440).
2023
1c4dd947
LMI
20242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2025
a2014063
LMI
2026 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2027 which can be pretty annoying (bug#8971).
2028
9c9c2d88
LMI
2029 * jka-compr.el (jka-compr-verbose): New variable, and use
2030 throughout (bug#8971).
2031
1c4dd947
LMI
2032 * info.el (Info-find-file): Fall back on the installation
2033 directory if we can't find the info node anywhere else.
2034
a1c9f41b
SO
20352011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2036
2037 * vc/vc.el (vc-revert-file):
2038 Don't set file time-stamp in the past. (Bug#5181)
2039
536f3d36
LMI
20402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2041
7152b011
LMI
2042 * files.el (after-find-file): Give a better error message when
2043 trying to find a symlink that points to a file that doesn't exist
2044 (bug#4398).
2045
536f3d36
LMI
2046 * progmodes/cc-vars.el: Remove (probably) misleading comment
2047 (bug#4396).
2048
460c0fba
JB
20492011-07-12 Johan Bockgård <bojohan@gnu.org>
2050
2051 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2052
7a6bda45
CY
20532011-07-12 Chong Yidong <cyd@stupidchicken.com>
2054
2055 * mouse-sel.el: Hack restoring functionality, while keeping
2056 compatibility with 2010-07-03 changes to mouse selection.
2057 (mouse-sel-primary-overlay): New var.
2058 (mouse-sel-selection-alist): Use it.
2059 (mouse-sel-mode): Doc fix; remove points that are default features
2060 of mouse.el.
2061
c79598ef
JB
20622011-07-12 Johan Bockgård <bojohan@gnu.org>
2063
2064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2065 Fix previous fix (bug#2490).
2066
ff8be6ef
RW
20672011-07-12 Roland Winkler <winkler@gnu.org>
2068
b796c9b7
SM
2069 * textmodes/bibtex.el (bibtex-initialize):
2070 Use pop-to-buffer-same-window.
ff8be6ef
RW
2071 (bibtex-search-entries): Fix interactive call.
2072
296ba3ee
LMI
20732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2074
f5242a02 2075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2076 Fontise bytecomp Error lines more correctly (bug#2490).
2077 Fix suggested by Johan Bockgård.
f5242a02 2078
296ba3ee
LMI
2079 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2080
2081 * dired-x.el (dired-guess-default): Use `delete-dups'.
2082
f69fd0d2
CY
20832011-07-12 Chong Yidong <cyd@stupidchicken.com>
2084
2085 * dired.el (dired-mark-prompt):
2086 * dired-aux.el (dired-read-shell-command): Doc fix.
2087
eab5dc07
LMI
20882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2089
b796c9b7
SM
2090 * mail/sendmail.el (sendmail-query-once):
2091 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2092 emacs -Q.
2093
2094 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2095
eab5dc07
LMI
2096 * cus-edit.el (custom-file): Take an optional no-error variable.
2097 (customize-save-variable): Set the variable, and give a warning if
2098 running under "emacs -q".
2099
a1e65d42
JB
21002011-07-11 Juanma Barranquero <lekktu@gmail.com>
2101
2102 * loadhist.el (unload-feature-special-hooks):
2103 Add `auto-coding-functions', `fill-nobreak-predicate' and
2104 `find-directory-functions' (bug#5327).
2105
1d52da10
LMI
21062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2107
be958f1d
LMI
2108 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2109
5bedb26c
LMI
2110 * cus-edit.el (custom-guess-name-alist): -alist variables should
2111 use the `alist' type (bug#3120). Suggested by Drew Adams.
2112
1d52da10
LMI
2113 * printing.el: Add documentation to all the `pr-toggle-' commands.
2114
481a51b6
LL
21152011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2116
2117 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2118 backends where it makes sense (bug#2623).
2119
dcc88d8a
LMI
21202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121
c3de9feb
LMI
2122 * dired-x.el (dired-guess-default): Remove duplicate shell command
2123 entries (bug#2028).
8a93078b 2124 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2125 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2126
dcc88d8a
LMI
2127 * subr.el (remove-duplicates): New conveniency function.
2128
505e3645
LMI
21292011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2130
2131 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2132 (bug#1526).
2133
21342011-07-10 Martin Rudalics <rudalics@gmx.at>
2135
2136 * window.el (display-buffer-normalize-default): Don't invert
2137 meaning of even-window-heights. Reported by Eli Zaretskii
2138 <eliz@gnu.org>.
2139
455e4fa1
BR
21402011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2141
2142 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2143
8e0bc3e9
CY
21442011-07-10 Chong Yidong <cyd@stupidchicken.com>
2145
2146 * window.el (display-buffer): Fix arguments to
2147 display-buffer-reuse-window in last change.
2148
fa7c3228
CY
2149 * faces.el (link): Use a less saturated blue on light backgrounds.
2150
2151 * startup.el (fancy-startup-text, fancy-about-text)
2152 (fancy-startup-tail): Use font-lock faces, for background safety.
2153
c0a7f300
BN
21542011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2155
b796c9b7
SM
2156 * emulation/viper-cmd.el (viper-change-state-to-vi):
2157 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2158
4dc2a129
MR
21592011-07-09 Martin Rudalics <rudalics@gmx.at>
2160
2161 * window.el (display-buffer-default-specifiers): Remove.
2162 (display-buffer-macro-specifiers): Remove default specifiers.
2163 (display-buffer-alist): Default to nil.
b796c9b7 2164 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2165 (display-buffer-pop-up-window): Allow splitting internal
2166 windows. Check whether a live window was created.
2167 (display-buffer-other-window-means-other-frame)
2168 (display-buffer-normalize-arguments): Rename to
2169 display-buffer-normalize-argument and rewrite. Set the
2170 other-window specifier.
2171 (display-buffer-normalize-special): New function.
2172 (display-buffer-normalize-options): Rename to
2173 display-buffer-normalize-default and rewrite.
2174 (display-buffer-normalize-options-inhibit): Remove.
2175 (display-buffer-normalize-specifiers): Rewrite.
2176 (display-buffer): Process other-window specifier and call
2177 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2178 more faithfully.
b796c9b7 2179 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2180 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2181 (display-buffer-in-window, display-buffer-alist-set):
2182 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2183 <tassilo@member.fsf.org>.
2184
2d43b8c9
LL
21852011-07-09 Leo Liu <sdl.web@gmail.com>
2186
2187 * register.el (insert-register): Restore accidental change on
2188 2011-06-26. (Bug#9028)
2189
7f9b7c53
GM
21902011-07-09 Glenn Morris <rgm@gnu.org>
2191
2192 * subr.el (remq): Handle the empty list. (Bug#9024)
2193
f042cfd8
AS
21942011-07-08 Andreas Schwab <schwab@linux-m68k.org>
2195
2196 * mail/sendmail.el (send-mail-function): No longer delay custom
2197 initialization.
2198 * custom.el (custom-initialize-delay): Doc fix.
2199
856b2f11
SM
22002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2201
2202 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2203
afae1d68
MA
22042011-07-08 Michael Albinus <michael.albinus@gmx.de>
2205
2206 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2207 human-friendly prompt.
2208
0757af94
SM
22092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2212 provided by a particular plugin.
2213
d760b731
LMI
22142011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2215
2216 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2217 save customizations (with "emacs -Q"), just set the variable
2218 instead of erroring out.
2219
2220 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2221
cd79ce90
JL
22222011-07-08 Juri Linkov <juri@jurta.org>
2223
2224 * arc-mode.el (archive-zip-expunge, archive-zip-update)
2225 (archive-zip-update-case): Use 7z if found by `executable-find'.
2226 The order of searching the available programs is the same as in
2227 `archive-zip-extract' (bug#8968).
2228
14cc04aa
CY
22292011-07-07 Chong Yidong <cyd@stupidchicken.com>
2230
2231 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2232 (menu-bar-options-menu): Tweak descriptions.
2233
0a1848ec
LMI
22342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2235
2236 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2237 menu items into verb phrases (bug#1421). Also refill to fit under
2238 80 columns.
2239
f5bd0689
CY
22402011-07-07 Chong Yidong <cyd@stupidchicken.com>
2241
538e85c6
CY
2242 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2243 (Info-read-node-name): Doc fix (Bug#1084).
2244
f5bd0689
CY
2245 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2246 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2247 (end-of-sexp, beginning-of-sexp)
2248 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2249 (forward-symbol, forward-same-syntax, word-at-point)
2250 (sentence-at-point): Doc fix (Bug#1144).
2251
56ec5115
LMI
22522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2253
f3f8e37f
LMI
2254 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2255 should cover it (bug#1281).
2256
0757af94 2257 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 2258
12b9eb35
LMI
2259 * net/network-stream.el (network-stream-open-starttls): If gnutls
2260 negotiation fails, then possibly try again with a non-encrypted
2261 connection (bug#9017).
2262
56ec5115
LMI
2263 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2264 be used.
2265
c2f9aec8
RS
22662011-07-07 Richard Stallman <rms@gnu.org>
2267
2268 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2269 property, and handle its changed format.
2270 Look for the correct line number.
2271 Use file's line contents (but not past first =) to find
2272 correct line in message.
2273
ef7b981d 22742011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
2275
2276 * international/characters.el (build-unicode-category-table):
2277 Delete it.
0757af94 2278 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 2279
0757af94 2280 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
2281 to src/chartab.c.
2282 (get-char-code-property): Call unicode-property-table-internal to
2283 load a file. Call get-unicode-property-internal where necessary.
2284 (put-char-code-property): Call unicode-property-table-internal to
2285 load a file. Call put-unicode-property-internal where necessary.
2286 put-unicode-property-internal where necessary.
0757af94
SM
2287 (char-code-property-description):
2288 Call unicode-property-table-internal to load a file.
c805dec0
KH
2289
2290 * international/charprop.el:
2291 * international/uni-bidi.el:
2292 * international/uni-category.el:
2293 * international/uni-combining.el:
2294 * international/uni-comment.el:
2295 * international/uni-decimal.el:
2296 * international/uni-decomposition.el:
2297 * international/uni-digit.el:
2298 * international/uni-lowercase.el:
2299 * international/uni-mirrored.el:
2300 * international/uni-name.el:
2301 * international/uni-numeric.el:
2302 * international/uni-old-name.el:
2303 * international/uni-titlecase.el:
2304 * international/uni-uppercase.el: Regenerate.
2305
2306 * loadup.el: Load international/charprop.el before
2307 international/characters.
2308
e14b388a
CY
23092011-07-07 Chong Yidong <cyd@stupidchicken.com>
2310
2311 * window.el (next-buffer, previous-buffer): Signal an error if
2312 called from a minibuffer window.
2313
2314 * bindings.el: Revert 2011-07-04 change.
2315
354cf0ba
RS
23162011-07-06 Richard Stallman <rms@gnu.org>
2317
2318 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2319 (rmail-mime-insert-bulk, rmail-mime-insert-text):
2320 Treat markers like ints.
2321 (rmail-mime-entity): Doc fix.
2322
a48868a7
LMI
23232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2324
4906cd3d
LMI
2325 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2326 defcustom again for backwards compatibility.
2327
e0457abe
LMI
2328 * simple.el (shell-command-on-region): Fill.
2329
d67f7e1f
LMI
2330 * dired-aux.el (dired-kill-line): Add a doc string.
2331
fe204702
LMI
2332 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2333 to "\\sw\\|\\s_" (bug#358).
2334
a48868a7
LMI
2335 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2336 (dired-unmark-backward): Ditto.
2337 (dired-flag-backup-files): Ditto.
2338
2339 * dired-x.el (dired-mark-sexp): Ditto.
2340
aa8a705c
RS
23412011-07-06 Richard Stallman <rms@gnu.org>
2342
2343 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
2344 (rmail-mime-entity): New arg TRUNCATED.
2345 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
2346 New functions.
2347 (rmail-mime-save): Warn if entity is truncated.
2348 (rmail-mime-toggle-hidden): Likewise, for showing.
2349 (rmail-mime-process-multipart): Record when an entity is truncated.
2350
a9a936b9
RS
2351 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
2352 if ENTITY is a string.
2353
1f2b92cb
LMI
23542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2355
f4f73198 2356 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
2357 of faces when `M-C-x'-ing their definitions (bug#8378).
2358 Also clean up the code slightly.
f4f73198 2359
12b16734
LMI
2360 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
2361 because that makes the colours go away.
2362
f0691d22
LMI
2363 * mail/sendmail.el (send-mail-function): Change the default to
2364 `sendmail-query-once'.
9e87df06 2365 (sendmail-query-once): Add an autoload cookie.
f0691d22 2366
1f2b92cb
LMI
2367 * net/network-stream.el (network-stream-open-starttls): Try using
2368 a plain connection even if the server offered STARTTLS, and we
2369 kinda wanted to use it, if Emacs doesn't have any STARTTLS
2370 capability. This should make smtpmail.el work in slightly more
2371 configurations.
2372
1cdd2a1b
MA
23732011-07-06 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2376 New defun.
2377 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
2378
fbcc67e2
MM
23792011-07-06 Michael R. Mauger <mmaug@yahoo.com>
2380
2381 * progmodes/sql.el: Version 3.0
0757af94 2382 (sql-product-alist): Add product :completion-object,
fbcc67e2 2383 :completion-column, and :statement attributes.
0757af94 2384 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 2385 (sql-mode-syntax-table): Mark all punctuation.
0757af94 2386 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
2387 ansi keywords.
2388 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 2389 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
2390 (sql-oracle-show-reserved-words): New function for development.
2391 (sql-product-font-lock): Simplify for source code buffers.
2392 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
2393 New functions.
2394 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
2395 (sql-mode-map): Add statement movement functions.
2396 (sql-ansi-statement-starters, sql-oracle-statement-starters):
2397 New variable.
fbcc67e2
MM
2398 (sql-statement-regexp, sql-beginning-of-statement)
2399 (sql-end-of-statement, sql-signum): New functions.
0757af94 2400 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
2401 (sql-show-sqli-buffer): Bug fix.
2402 (sql-interactive-mode): Store connection data as buffer local.
0757af94 2403 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
2404 with sql-interactive-mode.
2405 (sql-save-connection): Save buffer local settings.
0757af94 2406 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
2407 (sql-product-interactive): Bug fix.
2408 (sql-preoutput-hold): New variable.
2409 (sql-interactive-remove-continuation-prompt): Bug fixes.
2410 (sql-debug-redirect): New variable.
2411 (sql-str-literal): New function.
2412 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 2413 Redesign.
fbcc67e2
MM
2414 (sql-oracle-save-settings, sql-oracle-restore-settings)
2415 (sql-oracle-list-all, sql-oracle-list-table): New functions.
2416 (sql-completion-object, sql-completion-column)
2417 (sql-completion-sqlbuf): New variables.
2418 (sql-build-completions-1, sql-build-completions)
2419 (sql-try-completion): New functions.
2420 (sql-read-table-name): Use them.
2421 (sql-contains-names): New buffer local variable.
2422 (sql-list-all, sql-list-table): Use it.
2423 (sql-oracle-completion-types): New variable.
2424 (sql-oracle-completion-object, sql-sqlite-completion-object)
2425 (sql-postgres-completion-object): New functions.
2426
d4eaeab1
GM
24272011-07-06 Glenn Morris <rgm@gnu.org>
2428
2429 * window.el (pop-to-buffer): Doc fix.
2430
322b7dab 24312011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
2432
2433 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
2434
322b7dab 24352011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 2436
322b7dab 2437 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 2438
322b7dab 2439 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 2440
605dd5bf
CY
24412011-07-05 Chong Yidong <cyd@stupidchicken.com>
2442
2443 * button.el (button): Inherit from link face. Suggested by Dan
2444 Nicolaescu.
2445
7dbfa719
SM
24462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2447
3db614b0
SM
2448 * progmodes/gdb-mi.el: Fit in 80 columns.
2449 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
2450 switch-to-buffer.
2451
7dbfa719
SM
2452 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
2453 if imenu is simply not configured (bug#8941).
2454
919d884a
KM
24552011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
2456
2457 * allout.el (allout-post-undo-hook): New allout outline-change
2458 event hook to signal undo activity.
2459 (allout-post-command-business): Run allout-post-undo-hook if an
2460 undo just occurred.
7dbfa719
SM
2461 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2462 * allout-widgets.el (allout-widgets-after-undo-function):
2463 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
2464 in the vicinity of an undo.
2465 (allout-widgets-mode): Include allout-widgets-after-undo-function
2466 on the new allout-post-undo-hook.
2467
450a0f09
SM
24682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2471 Let define-derived-mode define it.
2472 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2473 cycles of abbrev-table inheritance (bug#8998).
2474
2de69e00
RW
24752011-07-05 Roland Winkler <winkler@gnu.org>
2476
2477 * textmodes/bibtex.el: Add support for biblatex.
2478 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2479 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2480 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2481 (bibtex-entry-alist, bibtex-field-alist): New variables.
2482 (bibtex-entry-field-alist): Obsolete alias for
2483 bibtex-BibTeX-entry-alist.
2484 (bibtex-entry-alist, bibtex-field-alist): New widgets.
2485 (bibtex-set-dialect): New command.
2486 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
2487 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2488 Bind via bibtex-set-dialect.
2de69e00
RW
2489 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2490 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2491 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2492 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2493 Define via bibtex-set-dialect.
450a0f09
SM
2494 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2495 Obey bibtex-no-opt-remove-re.
2de69e00
RW
2496 (bibtex-vec-push, bibtex-vec-incr): New functions.
2497 (bibtex-format-entry, bibtex-field-list)
2498 (bibtex-print-help-message, bibtex-validate)
2499 (bibtex-search-entries): Use new format of bibtex-entry-alist.
2500
2dcdbdd9
SM
25012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * progmodes/compile.el (compilation-goto-locus):
2504 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2505 * bs.el (bs-cycle-next, bs-cycle-previous):
2506 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2507 * bindings.el (mode-line-other-buffer):
2508 * autoinsert.el (auto-insert):
2509 * arc-mode.el (archive-extract):
2510 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2511
b27640fe
JB
25122011-07-05 Juanma Barranquero <lekktu@gmail.com>
2513
2514 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2515 Fix check of `emacs-lock-unlockable-modes'.
2516 Coerce true values of `emacs-lock--try-unlocking' to t.
2517
53bbe3ad
JB
25182011-07-05 Juanma Barranquero <lekktu@gmail.com>
2519
2520 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2521 * emacs-lock.el: New file.
2522
1d3cdbc7
JD
25232011-07-05 Julien Danjou <julien@danjou.info>
2524
2525 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2526 than `boundp' to check if face is set.
2527
9173deec
JB
25282011-07-05 Juanma Barranquero <lekktu@gmail.com>
2529
2530 * register.el (registerv-make):
2531 * window.el (window-min-height): Fix typos in docstrings.
2532
869795d6
JD
25332011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2534
9173deec 2535 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
2536 Update doc string.
2537
b768cdcd
JB
25382011-07-04 Juanma Barranquero <lekktu@gmail.com>
2539
2540 * server.el (server-execute): Catch quit and call
2541 `server-return-error' to pass the error back to emacsclient and
2542 close the connection (bug#8942).
2543
13aa217b
KM
25442011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
2545
2546 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2547 insecure exception for current topic. Also note that auto-saves
2548 are handled differently.
2549
2550 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2551 State variables for tracking auto-save inhibition situation.
2552
2553 (allout-write-contents-hook-handler): Rename from
2554 'allout-write-file-hook-handler', and describe how it depends on
2555 write-contents-functions sensitivity to non-nil value to prevent
2556 file write.
2557
2558 (allout-auto-save-hook-handler): Remove. auto-save does not check
2559 this in individual buffers, only in the starting buffer, so this
2560 is not the right way for us to inhibit auto-save in a buffer
2561 according to its condition.
2562
2563 (allout-mode): Use new allout-write-contents-hook-handler, and
2564 only with write-contents-functions. Remove auto-save provisions -
2565 they're implemented elsewhere.
2566
2567 (allout-before-change-handler): If undo is in progress, note that
2568 for attention of allout-post-command-business.
2569
2570 (allout-post-command-business): If the command we're following was
2571 an undo, check for change in the status of encrypted items and
2572 adjust auto-save inhibitions accordingly.
2573
2574 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2575 according to whether there are or aren't any plain-text topics
2576 pending encryption.
2577
2dcdbdd9
SM
2578 (allout-inhibit-auto-save-info-for-decryption):
2579 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
2580 there are plain-text topics pending encryption.
2581
2582 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2583 buffer-saved-size and some allout state to not inhibit auto-saves
2584 if there are no longer any plain-text topics pending encryption.
2585
0757af94
SM
2586 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2587 No longer provide for exemption of the current topic.
13aa217b 2588
ac89b32c
JL
25892011-07-04 Juri Linkov <juri@jurta.org>
2590
2591 Add 7z operations to delete and save changed members (bug#8968).
2592 * arc-mode.el (archive-7z-expunge, archive-7z-update):
2593 New defcustoms.
2594 (archive-7z-write-file-member): New function.
2595 (archive-7z-summarize): Fix the number of dashes in the
2596 listing output.
2597
8fa39615
SM
25982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2601 (bug#8958).
2602
2f11b3f1
CY
26032011-07-04 Chong Yidong <cyd@stupidchicken.com>
2604
d66fef2b
CY
2605 * bindings.el: Ignore next-buffer and previous-buffer in
2606 minibuffer-local-map.
2607
2f11b3f1
CY
2608 * font-lock.el (font-lock-builtin-face): Change light background
2609 color to dark slate blue (Bug#6693).
2610
f932a347
WD
26112011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
2612
2613 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2614
c8af70e1
SM
26152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2618 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2619 Add switch-to-buffer.
2620
f158badc
LMI
26212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2622
2623 * isearch.el (isearch-search-fun-function): Clarify further the
2624 meaning of the function returned.
2625
6d95bd46
MA
26262011-07-04 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2629
2630 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2631 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2632 Use it.
2633 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
2634 `tramp-default-remote-path' does not exist.
2635 (tramp-send-command-and-read): New optional argument NOERROR.
2636 (tramp-open-connection-setup-interactive-shell)
2637 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2638 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2639 (tramp-process-sentinel): Flush also process' connection property.
2640 (tramp-sh-handle-start-file-process): Do not set process
2641 sentinel. It is done now ...
2642 (tramp-maybe-open-connection): ... here. (Bug#8929)
2643
909e6b67
MK
26442011-07-04 MON KEY <monkey@sandpframing.com>
2645
2646 * play/animate.el (animate-string): Doc fixes and allow changing
2647 the buffer name (bug#5417).
2648
26492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2650
c8af70e1 2651 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 2652
f34755dc
PE
26532011-07-04 Paul Eggert <eggert@cs.ucla.edu>
2654
396cec72
PE
2655 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2656 This is simpler and helps future-proof the code.
2657 (timer-until): Use time-subtract and float-time.
08235028 2658 (timer--time-less-p): Use time-less-p.
f34755dc 2659
56e6cc31
JB
26602011-07-04 Juanma Barranquero <lekktu@gmail.com>
2661
3abb79e5
JB
2662 * type-break.el (timep): Use the value of `float-time' to avoid a
2663 byte-compiler warning.
2664
56e6cc31
JB
2665 * server.el (server-eval-and-print): Return any result, even nil.
2666
7b9430b4
PE
26672011-07-03 Paul Eggert <eggert@cs.ucla.edu>
2668
2669 * type-break.el: Accept time formats that the builtins accept.
2670 (timep, type-break-time-difference): Accept any format that
2671 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2672 This is simpler and helps future-proof the code.
2673 (type-break-time-difference): Round rather than ignoring
2674 subseconds components.
2675
3034e9e7
LMI
26762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2677
2678 * info.el (Info-apropos-matches): Make non-interactive, since it
2679 doesn't seem to do anything useful as a command (bug#8829).
2680
1485f4c0
CY
26812011-07-03 Chong Yidong <cyd@stupidchicken.com>
2682
2683 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 2684 Move from faces.el.
1485f4c0
CY
2685 (frame-default-terminal-background): New function.
2686
2687 * custom.el (custom-push-theme): Don't record faces in `changed'
2688 theme; this doesn't work correctly for per-frame face settings.
2689 (disable-theme): Use face-set-after-frame-default to reset faces.
2690 (custom--frame-color-default): New function.
2691
9fa3dd45
LMI
26922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2693
c8af70e1 2694 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
2695 (bug#8769).
2696
6cbbc20c
KR
26972011-03-29 Kevin Ryde <user42@zip.com.au>
2698
2699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2700 `perl-Test2' extend to match possible "fail #N" rep count
2701 (bug#8377).
2702
c7f98048
LMI
27032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2704
65676592
LMI
2705 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2706 `smtpmail-via-smtp' now returns the error instead of nil.
2707
c7f98048
LMI
2708 * isearch.el (isearch-search-fun-function): Clarify the doc string
2709 (bug#8101).
2710
56e6cc31 27112011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
2712
2713 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2714 unnecessary spaces (bug#8987).
2715
2b216704
LMI
27162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2717
2718 * net/network-stream.el (open-network-stream): Use the
2719 :end-of-capability command thoughout.
2720
27212011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2722
2723 * net/network-stream.el (open-network-stream): Add the
2724 :end-of-capability command parameter, used by pop3.el.
2725
36adf6ce
LMI
27262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2727
1ca0da0e
LMI
2728 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2729
fc00f69c
LMI
2730 * fringe.el (fringe-query-style): Remove redundant text " (type ?
2731 for list)" (bug#6475).
2732
28fd8759
LMI
2733 * files.el (file-expand-wildcards): Ignore non-readable
2734 sub-directories while trying to find matches instead of signalling
2735 an error (bug#6297).
2736
0dd8b6da
LMI
2737 * man.el (Man-reference-regexp): Allow matching possible
2738 word-wrapped references (bug#6289).
2739
ce1438d6
LMI
2740 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2741 for consistency with the other vc buffers (bug#6197).
2742 (vc-checkin): Ditto.
2743
2744 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2745
36adf6ce
LMI
2746 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2747
e83cc1f7
LMI
27482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2749
8a20ca4c
LMI
2750 * custom.el (defcustom): Clarify that :set is only used in the
2751 Customize user interface (bug#6089).
2752
83319045
LMI
2753 * progmodes/flymake.el (flymake-mode): If the buffer isn't
2754 associated with a file, refuse to run instead of erroring out
2755 (bug#6084).
2756
a8392169
LMI
2757 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2758 the doc string, since it appears that using `fill-column' always
2759 controls the width (bug#7845).
2760
e83cc1f7
LMI
2761 * simple.el (shell-command-on-region): Say where the error output
2762 went if `shell-command-default-error-buffer' is set (bug#6857).
2763
e47ca23b
KM
27642011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
2765
2766 * allout.el (allout-yank-processing): Adjust cursor position for
2767 backwards-deleted space.
2768
2769 (allout-rebullet-heading): Register changes with
2770 allout-exposure-changed-hook, so the modified topic is properly
2771 decorated.
2772
5cf56143
LMI
27732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2774
08549772
LMI
2775 * minibuffer.el (completion-in-region): Document PREDICATE
2776 (bug#7136).
2777
48e96771
LMI
2778 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2779 of keyword/argument pairs (bug#6904).
2780
c8af70e1
SM
2781 * replace.el (multi-occur):
2782 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 2783
e17d05e2
LMI
27842011-07-02 Drew Adams <drew.adams@oracle.com>
2785
2786 * dired.el (dired-mark-if): Make the message about whether it's
2787 marking or unmarking clearer (bug#8523).
2788
063b0e45
LMI
27892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2790
2791 * disp-table.el (display-table-print-array): New function.
2792 (describe-display-table): Use it to print the vectors more pretty
2793 (Bug#8859).
2794
28545e04
MR
27952011-07-02 Martin Rudalics <rudalics@gmx.at>
2796
2797 * window.el (window-state-get-1): Don't assign clone numbers.
2798 Add clone-of item to list of window parameters.
2799 (window-state-put-2): Don't process clone numbers.
2800 (display-buffer-alist): Fix doc-string.
2801
3349e122
SM
28022011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * subr.el (remq): Don't allocate if it's not needed.
2805 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2806 (keymap--merge-bindings): New functions.
2807 (keymap-canonicalize): Use them to refine the canonicalization.
2808 * minibuffer.el (minibuffer-local-completion-map)
2809 (minibuffer-local-must-match-map): Move initialization from C.
2810 (minibuffer-local-filename-completion-map): Move initialization from C;
2811 don't inherit from anything here.
2812 (minibuffer-local-filename-must-match-map): Make obsolete.
2813 (completing-read-default): Use make-composed-keymap to combine
2814 minibuffer-local-filename-completion-map with either
2815 minibuffer-local-must-match-map or
2816 minibuffer-local-filename-completion-map.
2817
d224ac83
GM
28182011-07-01 Glenn Morris <rgm@gnu.org>
2819
3de63bf8
GM
2820 * type-break.el (type-break-time-sum): Use dolist.
2821
d224ac83
GM
2822 * textmodes/flyspell.el (flyspell-word-search-backward):
2823 Replace CL function.
2824
1a1e3f32
SM
28252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2826
fe3f64d5
SM
2827 * mouse.el (mouse--strip-first-event): New function.
2828 (function-key-map): Use it to map fringe clicks to normal clicks
2829 by default.
2830
eb604e34
SM
2831 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2832 (vc-bzr-revision-completion-table): Add support for annotate and date.
2833
1a1e3f32
SM
2834 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2835 inherit from parent.
2836
5bd35902
LMI
28372011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2838
ace6c69c 2839 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 2840 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 2841
191e2bed
LMI
2842 * dired.el (dired-mode): Fix up the doc string as suggested by
2843 Drew Adams (bug#8817).
2844
5bd35902
LMI
2845 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2846 cookie, since the manual says that it should be possible to add
2847 this function to `find-file-hook' (bug#8709).
2848
eee8207a
TZ
28492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2850
2851 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2852 here. Noted Ted Zlatanov as the maintainer.
2853 (cfengine-common-settings, cfengine-common-syntax): New functions
2854 to set up common things between `cfengine-mode' and
2855 `cfengine3-mode'.
2856 (cfengine3-mode): New mode.
2857 (cfengine3-defuns cfengine3-defuns-regex
2858 (cfengine3-class-selector-regex cfengine3-category-regex)
2859 (cfengine3-vartypes cfengine3-font-lock-keywords)
2860 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 2861 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 2862
36b148cf
MA
28632011-07-01 Michael Albinus <michael.albinus@gmx.de>
2864
2865 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2866
2867 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2868
0bf4ba9a
MR
28692011-07-01 Martin Rudalics <rudalics@gmx.at>
2870
2871 * window.el (same-window-buffer-names, same-window-regexps)
2872 (same-window-p, special-display-frame-alist)
2873 (special-display-popup-frame, special-display-function)
2874 (special-display-buffer-names, special-display-regexps)
2875 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2876 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2877 (split-window-preferred-function, split-height-threshold)
2878 (split-width-threshold, even-window-heights)
2879 (display-buffer-mark-dedicated, window-splittable-p)
2880 (split-window-sensibly, window-safely-shrinkable-p):
2881 Un-obsolete.
2882 (display-buffer): Don't spread args with function specifier
2883 because special-display-popup-frame won't like it.
2884
35837f51
PE
28852011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2886
d0672f86
PE
2887 Time-stamp simplifications and fixes.
2888 These improve accuracy slightly, and future-proof the code
2889 against some potential changes to current-time format.
2890
b9444d97
PE
2891 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2892 by using time-since and float-time.
2893
0ef923dc
PE
2894 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2895 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2896 + NNN microseconds".
2897
2f81380d
PE
2898 * type-break.el (type-break-time-sum): Rewrite using time-add.
2899
845b5c3e
PE
2900 * play/hanoi.el (hanoi-current-time-float): Remove.
2901 All uses replaced by float-time.
2902
ee6f1be0
PE
2903 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2904 This yields a more-accurate answer.
2905 (rng-time-to-float): Remove; no longer needed.
2906
fe955043
PE
2907 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2908
5777162a
PE
2909 * calendar/timeclock.el (timeclock-seconds-to-time):
2910 Defalias to seconds-to-time, since they're the same thing.
2911
3103f8b6 2912 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 2913 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
2914 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2915
0e61a35f
SM
29162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * window.el (bury-buffer): Don't iconify the only frame.
2919 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2920 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
2921
ddd63a1e
CY
29222011-07-01 Chong Yidong <cyd@stupidchicken.com>
2923
0e61a35f
SM
2924 * eshell/em-smart.el (eshell-smart-display-navigate-list):
2925 Add mouse-yank-primary.
ddd63a1e 2926
055f4923
TZ
29272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2928
2929 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2930
6a2fb145
SM
29312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * emacs-lisp/find-func.el (find-library--load-name): New fun.
2934 (find-library-name): Use it to find relative load names when provided
2935 absolute file name (bug#8803).
2936
fd4983f2
LMI
29372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2938
887d14ad
LMI
2939 * textmodes/flyspell.el (flyspell-word): Consider words that
2940 differ only in case as potential doublons (bug#5687).
2941
c53dc7fc
LMI
2942 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2943 Remove two rather uninteresting debugging-like messages to make
2944 debbugs.el more silent.
2945
fd4983f2
LMI
2946 * comint.el (comint-password-prompt-regexp): Accept "Response" as
2947 a password-like phrase.
2948
b14c0c55
AM
29492011-06-30 Mastake YAMATO <yamato@redhat.com>
2950
2951 * progmodes/cc-guess.el: New file.
2952
6a2fb145 2953 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
2954
2955 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
2956 derived from `c-basic-common-init'.
2957
2958 * progmodes/cc-mode.el (top-level): Require cc-guess.
2959 (c-basic-common-init): Use `cc-choose-style-for-mode'.
2960
1fa280a3
LM
29612011-06-30 Lawrence Mitchell <wence@gmx.li>
2962
2963 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
2964
e6597158
AM
29652011-06-30 Alan Mackenzie <acm@muc.de>
2966
1fa280a3
LM
2967 * progmodes/cc-engine.el (c-guess-continued-construct):
2968 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
2969 lock is disabled. Name this case as "CASE G".
2970
68ba37fb
KM
29712011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
2972
2973 * allout.el (allout-yank-processing): Fix injection of extra space
2974 between bullet and non-whitespace character in first topic when
2975 pasting, ensuring that the actual spacing in the pasted topic
2976 following the bullet char is preserved. This extra space was
2977 causing pasted encrypted topics to get a decrypted status even
2978 when the content was actually still encrypted. Now the decryption
2979 status from before the paste is preserved.
2980
2981 (allout-flag-region): Set all allout overlays so they evaporate
2982 when reduced to zero length (evanescent), to prevent overlay
2983 leakage.
2984
887a0b34
GM
29852011-06-30 Glenn Morris <rgm@gnu.org>
2986
94b9acce
GM
2987 * w32-fns.el (w32-charset-info-alist): Declare.
2988
1d9b46d4
GM
2989 * find-dired.el (find-grep-options): Simplify.
2990
cc232200
GM
2991 * term/ns-win.el (ns-set-resource): Declare.
2992
28e77c46
GM
2993 * ses.el (row, col): Declare dynamic variables honestly.
2994
887a0b34
GM
2995 * textmodes/reftex-parse.el (index-tags): Declare.
2996
658d8eb8
CY
29972011-06-30 Chong Yidong <cyd@stupidchicken.com>
2998
2999 * cus-edit.el (customize-push-and-save): New function.
3000
3001 * files.el (hack-local-variables-confirm): Use it.
3002
1fa280a3
LM
3003 * custom.el (load-theme): New arg NO-CONFIRM.
3004 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3005 (custom-enabled-themes): Doc fix.
3006
3007 * cus-theme.el (customize-create-theme)
3008 (custom-theme-merge-theme): Callers to load-theme changed.
3009
bb617717
LMI
30102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3011
d61bdd5d
LMI
3012 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3013 short URLs have at least one dot in them (bug #7614).
3014
bb617717
LMI
3015 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3016 nil, because using a pty is apparently too slow (bug #895).
3017
2f31f37a
LMI
30182011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3019
3020 * mail/sendmail.el (sendmail-query-once): New function.
3021 (sendmail-query-once-function): New variable.
3022
3076b24e
GM
30232011-06-29 Glenn Morris <rgm@gnu.org>
3024
faf2a174
GM
3025 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3026
3076b24e
GM
3027 * ses.el (top-level): Require cl when compiling.
3028 (ses-set-localvars): Fix error statement.
3029 Call it at compile time to silence a storm of warnings.
3030
5386012d
MR
30312011-06-29 Martin Rudalics <rudalics@gmx.at>
3032
3033 * window.el (normalize-live-buffer): Rename to
3034 window-normalize-buffer.
3035 (normalize-live-frame): Rename to window-normalize-frame.
3036 (normalize-any-window): Rename to window-normalize-any-window.
3037 (normalize-live-window): Rename to window-normalize-live-window.
3038 (make-window-atom): Rename to window-make-atom.
3039 (window-resize-reset): Rename to window--resize-reset.
3040 (window-resize-reset-1): Rename to window--resize-reset-1.
3041 (resize-mini-window): Rename to window--resize-mini-window.
3042 (resize-subwindows-skip-p): Rename to
3043 window--resize-subwindows-skip-p.
3044 (resize-subwindows-normal): Rename to
3045 window--resize-subwindows-normal.
3046 (resize-subwindows): Rename to window--resize-subwindows.
3047 (resize-other-windows): Rename to window--resize-siblings.
3048 (resize-this-window): Rename to window--resize-this-window.
3049 (resize-root-window): Rename to window--resize-root-window.
3050 (resize-root-window-vertically): Rename to
3051 window--resize-root-window-vertically.
3052 (normalize-buffer-to-display): Rename to
3053 window-normalize-buffer-to-display.
3054 (normalize-buffer-to-switch-to): Rename to
3055 window-normalize-buffer-to-switch-to.
3056 Correspondingly update all callers of the functions listed
3057 above.
3058 (display-buffer-alist, display-buffer-normalize-arguments)
3059 (display-buffer-normalize-options, display-buffer)
3060 (display-buffer-alist-set): Use "function" instead of
3061 "fun-with-args".
3062
1176868d
CY
30632011-06-28 Chong Yidong <cyd@stupidchicken.com>
3064
3065 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3066 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3067 debbugs.gnu.org. Mention acknowledgment email.
3068
20a7a65f
LMI
30692011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3070
3071 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3072 buffer multibyteness, since it shouldn't matter.
3073
5f45cca5
MR
30742011-06-28 Martin Rudalics <rudalics@gmx.at>
3075
3076 * window.el (display-buffer-in-side-window): Handle dedicated
3077 windows as in display-buffer-reuse-window.
3078 (display-buffer-normalize-alist): Use value of override
3079 specifier.
3080 (display-buffer-normalize-specifiers): Use value of
3081 other-window-means-other-frame specifier.
3082 (display-buffer-alist): Rewrite some texts in widgets.
3083 (display-buffer): Spread arguments when calling function
3084 specified by fun-with-args.
3085
ad85fe1f
DD
30862011-06-28 Deniz Dogan <deniz@dogan.se>
3087
1fa280a3
LM
3088 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3089 Unnest `let'.
da68c4c8 3090
ad85fe1f
DD
3091 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3092 selectors (Bug#5732).
ec49bd31 3093 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3094
a08cc025
JA
30952011-06-27 Jari Aalto <jari.aalto@cante.net>
3096
3097 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3098 (eshell-ls-date-format): New defcustom.
3099 (eshell-ls-file): Use it.
3100
e2b551c5
SM
31012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3104
8982b231
KY
31052011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3106
3107 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3108 (ange-ftp-make-tmp-name): New arg.
3109 (ange-ftp-file-local-copy): Use it.
3110
36c9fa27
J
31112011-06-27 Jambunathan K <kjambunathan@gmail.com>
3112
3113 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3114 no-conversion (Bug#8870).
3115
d68443dc
MR
31162011-06-27 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (window-right, window-left, window-child)
3119 (window-child-count, window-last-child)
3120 (window-iso-combination-p, walk-window-tree-1)
3121 (window-atom-check-1, window-tree-1, delete-window)
3122 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3123 new naming conventions - window-vchild, window-hchild,
3124 window-next and window-prev are now called window-top-child,
3125 window-left-child, window-next-sibling and window-prev-sibling
3126 respectively.
d615d6d2
MR
3127 (resize-window-reset): Rename to window-resize-reset.
3128 (resize-window-reset-1): Rename to window-resize-reset-1.
3129 (resize-window): Rename to window-resize.
3130 (window-min-height, window-min-width)
3131 (resize-mini-window, resize-this-window, resize-root-window)
3132 (resize-root-window-vertically, adjust-window-trailing-edge)
3133 (enlarge-window, shrink-window, maximize-window)
3134 (minimize-window, delete-window, quit-restore-window)
3135 (split-window, balance-windows, balance-windows-area-adjust)
3136 (balance-windows-area, window-state-put-2)
3137 (display-buffer-even-window-sizes, display-buffer-set-height)
3138 (display-buffer-set-width, set-window-text-height)
3139 (fit-window-to-buffer): Rename all "resize-window" prefixed
3140 calls to use the "window-resize" prefix convention.
3141 (display-buffer-alist): Fix symbol for label specifier.
3142 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3143 corresponding specifier.
3144 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3145
b6458526
VB
31462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3147
3148 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3149 convention.
3150 (ses-call-printer): Does not pass an empty string to formatter when the
3151 cell is empty to keep from barking printer Calc math-format-value.
3152
d31fd9ac
RS
31532011-06-27 Richard Stallman <rms@gnu.org>
3154
43d5bf84
RS
3155 * battery.el (battery-mode-line-limit): New variable.
3156 (battery-update): Handle it.
3157
d31fd9ac
RS
3158 * mail/rmailmm.el (rmail-mime-process-multipart):
3159 Handle truncated messages.
3160
819a6054
GM
31612011-06-27 Glenn Morris <rgm@gnu.org>
3162
3163 * progmodes/flymake.el (flymake-err-line-patterns):
3164 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3165
cedc73f2
VB
31662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3167
819a6054 3168 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3169 (ses--clean-!, ses--clean-_): New functions.
3170 (ses-range): Add configurability of readout order, and conversion
3171 to Calc vector.
3172
5e5d49b6
VB
3173 * ses.el (ses-repair-cell-reference-all): New function.
3174 (ses-cell-symbol): Set macro as safe, so that it can be used in
3175 formulas.
3176
56e6cc31 3177 * ses.el: Update cycle detection algorithm.
90ca8b49 3178 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3179 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3180 (ses-set-localvars): New function.
3181 (ses-make-cell): Add property-list as a cell element.
3182 (ses-cell-property-get-fun, ses-cell-property-get)
3183 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3184 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3185 New functions.
90ca8b49
VB
3186 (ses-cell-property-set, ses-cell-property-pop)
3187 (ses-cell-property-get-handle): New macro.
3188 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3189 New aliases, used for code readability.
3190 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3191 cycle detection.
3192 (ses-self-reference-early-detection): New defcustom.
3193 (ses-formula-references): Robustify against self-refering cells.
3194 (ses-mode): Use ses-set-localvars.
3195 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3196 before lauching the update processing.
3197 (ses-initialize-Dijkstra-attempt): New function.
3198 (ses-recalculate-cell): Update for cycle detection based on
3199 Dijkstra algorithm.
3200
2bb63e81
VB
3201 * ses.el: Fix commenting and indenting convention.
3202
c9d29fb8
SM
32032011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * bs.el (bs-cycle-next): Complete last change.
3206
d8e4b68b
JB
32072011-06-27 Drew Adams <drew.adams@oracle.com>
3208
3209 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3210
40098786
LMI
32112011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3212
c9d29fb8
SM
3213 * net/network-stream.el (network-stream-open-starttls):
3214 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
3215 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3216
40098786
LMI
3217 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3218 to binary to possibly avoid line encoding issues on Windows (among
3219 other things).
3220
468d09d4
LMI
32212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3222
3223 * net/network-stream.el (open-network-stream): Return an :error
3224 saying what the problem was, if possible.
3225
3226 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3227 server.
3228
3229 * net/network-stream.el (network-stream-open-starttls): If we
3230 wanted to use STARTTLS, and the server offered it, but we weren't
3231 able to because we had no STARTTLS support, then close the connection.
3232 (open-network-stream): Return an :error element, if present.
3233
16f07dd7
CY
32342011-06-26 Chong Yidong <cyd@stupidchicken.com>
3235
88821ca0
CY
3236 * hl-line.el (hl-line-sticky-flag): Doc fix.
3237 (global-hl-line-sticky-flag): New option (Bug#8323).
3238 (global-hl-line-highlight): Obey it.
3239
16f07dd7
CY
3240 * vc/vc.el (vc-revert-show-diff): Default to t.
3241
6b5ccddf
KM
32422011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
3243
c9d29fb8
SM
3244 * allout-widgets.el (allout-widgets-post-command-business):
3245 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
3246 undecorated when an isearch is continued past, and isearch
3247 automatically collapses them. This leads to "widget leaks", where
3248 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
3249 hidden widgets can slow down cursor travel, substantially.
3250 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
3251 so we're doing without this nicety.
3252
3253 (allout-widgets-tally-string): Don't try to do a hash-table-count
3254 of allout-widgets-tally when it's nil. This eliminates spurious "Error
3255 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3256 *Messages* when allout-widgets-maintain-tally is t.
3257
355f2e07
MR
32582011-06-26 Martin Rudalics <rudalics@gmx.at>
3259
3260 * window.el (display-buffer-normalize-argument): Rename to
3261 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
3262 LABEL argument. Respect special-display-function when popping up
3263 a new frame. Fix code searching for a window showing the buffer
3264 on another frame.
c9d29fb8
SM
3265 (display-buffer-normalize-specifiers):
3266 Call display-buffer-normalize-arguments.
355f2e07
MR
3267 (display-buffer-in-window): Don't undedicate the window if its
3268 buffer remains the same.
3269 Reported by Drew Adams <drew.adams@oracle.com>.
3270 (display-buffer-alist): Add choice for same-window macro
3271 specfier.
3272 (display-buffer): Mention special meaning of LABEL argument in
3273 doc-string. Fix quoting. Don't pop up a new frame even as
3274 fallback.
3275
7ca8fc42
JB
32762011-06-26 Juanma Barranquero <lekktu@gmail.com>
3277
3278 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3279 avoid deleting the current window in some cases (bug#8911).
3280
bc312254
AS
32812011-06-26 Andreas Schwab <schwab@linux-m68k.org>
3282
3283 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3284 (Bug#8934)
3285
2db18f3f
LMI
32862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3287
c9d29fb8
SM
3288 * net/network-stream.el (network-stream-open-starttls):
3289 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
3290 (network-stream-open-tls): Ditto.
3291
6302e0d3
LL
32922011-06-26 Leo Liu <sdl.web@gmail.com>
3293
3294 * register.el (registerv): New struct.
3295 (registerv-make): New function.
c9d29fb8
SM
3296 (jump-to-register, describe-register-1, insert-register):
3297 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
3298 struct. (Bug#8415)
3299
5fdd4046
CY
33002011-06-26 Chong Yidong <cyd@stupidchicken.com>
3301
2afef60a
CY
3302 * vc/vc.el (vc-revert-show-diff): New defcustom.
3303 (vc-diff-internal): New arg specifying diff buffer.
3304 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
3305 reuse an existing *vc-diff* buffer (Bug#8927).
3306
5fdd4046
CY
3307 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3308
e93db24a
GM
33092011-06-26 Glenn Morris <rgm@gnu.org>
3310
3311 * progmodes/f90.el (f90-critical-indent): New option.
3312 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3313 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3314 (f90-mode): Doc fix.
3315 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3316 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3317 (f90-beginning-of-block, f90-next-block, f90-indent-region)
3318 (f90-match-end): Handle block, critical.
3319
eefff499
GM
33202011-06-25 Glenn Morris <rgm@gnu.org>
3321
f6ba4cc9
GM
3322 * calendar/diary-lib.el (diary-included-files): Doc fix.
3323 (diary-include-files): New function, extracted from
3324 diary-include-other-diary-files and diary-mark-included-diary-files.
3325 (diary-include-other-diary-files, diary-mark-included-diary-files):
3326 Just call diary-include-files.
3327 (diary-mark-entries): Reset diary-included-files on first call.
3328
16712304
GM
3329 * calendar/diary-lib.el (diary-mark-entries)
3330 (diary-mark-included-diary-files):
3331 Visit included diary-files in temp buffers.
3332
5d8e0d43
GM
3333 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3334 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3335 (f90-start-block-re, f90-imenu-generic-expression)
3336 (f90-looking-at-program-block-start, f90-no-block-limit):
3337 Add support for submodules.
3338
ccf7a5d5
GM
3339 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3340 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 3341
11fdef7d 33422011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
3343
3344 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
3345 buffer-file-type before setting its value, to avoid disastrous
eefff499 3346 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 3347
74f53697
JB
33482011-06-25 Juanma Barranquero <lekktu@gmail.com>
3349
3350 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
3351
3352 * ses.el (ses-unload-function):
3353 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
3354
3355 * proced.el (proced-unload-function):
3356 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
3357
18a4ce5e
AR
33582011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
3359
3360 * server.el (server-create-window-system-frame): Add parameters arg.
3361 (server-process-filter): Doc fix. Handle frame-parameters.
3362
519d22cc
JB
33632011-06-25 Juanma Barranquero <lekktu@gmail.com>
3364
3365 Fix bug#8730, bug#8781.
3366
3367 * loadhist.el (unload--set-major-mode): New function.
3368 (unload-feature): Use it.
3369
3370 * progmodes/python.el (python-after-info-look): Add autoload cookie.
3371 (python-unload-function): New function.
3372
c206f5b0
SM
33732011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
3376
f9ad64f3
GS
33772011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
3378
3379 * net/browse-url.el (browse-url-firefox-program): Add icecat to
3380 the candidates list.
3381
7d0da90e
JB
33822011-06-24 Juanma Barranquero <lekktu@gmail.com>
3383
3384 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
3385
14b4e83d
RS
33862011-06-23 Richard Stallman <rms@gnu.org>
3387
3388 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
3389 (rmail-variables): Set next-error-move-function.
3390 (rmail-what-message): Take argument POS.
3391 (rmail-next-error-move): New function.
3392
273d2baf
SM
33932011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
3396 messages for adjacent non-terminals.
3397
56c2cc9a
RS
33982011-06-23 Richard Stallman <rms@gnu.org>
3399
3400 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 3401 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
3402 (rmail-start-mail): Don't specify use of rmail-mail-return;
3403 that's done by mail-bury now.
3404 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 3405
d59eb518
MA
34062011-06-23 Michael Albinus <michael.albinus@gmx.de>
3407
3408 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
3409 SIZE is a number.
3410
02cfc6d6
MR
34112011-06-23 Martin Rudalics <rudalics@gmx.at>
3412
3413 * window.el (get-lru-window, get-mru-window)
3414 (get-largest-window): Never return a minibuffer window.
3415 (display-buffer-pop-up-window): Fix a bug that could lead to
3416 reusing the minibuffer window.
3417 (display-buffer): Pass original specifier argument to
3418 display-buffer-function instead of the normalized one.
3419 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3420
4e323265
LL
34212011-06-22 Leo Liu <sdl.web@gmail.com>
3422
3423 * minibuffer.el (completing-read-function)
3424 (completing-read-default): Move from minibuf.c
3425
7a70468f
RS
34262011-06-22 Richard Stallman <rms@gnu.org>
3427
50718fc2
RS
3428 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
3429 to Rmail even if not started by a special Rmail command.
3430
7a70468f
RS
3431 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3432 Copy the buffer currently showing just one message.
3433
297dde5a
RW
34342011-06-22 Roland Winkler <winkler@gnu.org>
3435
3436 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
3437 (bibtex-clean-entry): First delete the old key so that a
3438 customized algorithm for generating the new key does not get
3439 confused by the old key.
3440 (bibtex-url): Obey regexp of first step.
3441 (bibtex-search-entries): Do not use add-to-list with local
3442 list-var.
3443
97bb1093
LMI
34442011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3445
3446 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
3447 stored a user name, then query for the password first, instead of
3448 waiting for SMTP to give an error message and the trying again.
3449
1c0f1a19
JD
34502011-06-22 Lawrence Mitchell <wence@gmx.li>
3451
3452 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
3453 BUFFER in call-process.
3454
396f7c9d
LMI
34552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3456
3457 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3458 QUIT twice.
ddb7ffee
LMI
3459 (smtpmail-try-auth-methods): Require user name and password from
3460 auth-source.
396f7c9d 3461
8998d1b3
MR
34622011-06-22 Martin Rudalics <rudalics@gmx.at>
3463
3464 * window.el (display-buffer-default-specifiers)
3465 (display-buffer-alist): Remove entries for pop-up-frame-alist.
3466 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 3467 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
3468
3469 * frame.el (pop-up-frame-alist, pop-up-frame-function)
3470 (special-display-frame-alist, special-display-popup-frame):
3471 Remove duplicate declarations. These are now in window.el.
3472
4ea31e07
LMI
34732011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3474
c9d29fb8
SM
3475 * mail/smtpmail.el (smtpmail-via-smtp):
3476 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
3477 server supports it. SMTP servers that support STARTTLS commonly
3478 require it.
3479
3480 * net/network-stream.el (network-stream-open-starttls): Support
3481 upgrading to STARTTLS always, even if we don't have built-in support.
3482 (open-network-stream): Add the :always-query-capabilies keyword.
3483
95f41d9a
LMI
3484 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3485 upgrades with `open-network-stream', and rely solely on
3486 auth-source for all credentials. Big changes throughout the file,
3487 but in particular:
c9d29fb8
SM
3488 (smtpmail-auth-credentials): Remove.
3489 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
3490 (smtpmail-via-smtp): Check for servers saying they want AUTH after
3491 MAIL FROM, too.
95f41d9a 3492
c9d29fb8
SM
3493 * net/network-stream.el (network-stream-open-starttls):
3494 Provide support for client certificates both for external and built-in
4ea31e07
LMI
3495 STARTTLS.
3496 (auth-source): Require.
3497 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
3498 (network-stream-certificate): Change cert-cert to cert and
3499 cert-key to key.
4ea31e07 3500
065ec2c7
MA
35012011-06-21 Michael Albinus <michael.albinus@gmx.de>
3502
3503 * net/tramp-cache.el (top): Don't load the persistency file when
3504 "emacs -Q" has been called.
3505
cd93b359
DR
35062011-06-21 Tim Harper <timcharper@gmail.com>
3507
d8e4b68b
JB
3508 * term/ns-win.el (ns-initialize-window-system):
3509 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
3510 resource to NO as it is not yet supported by the NS port.
3511
ae9c0411
JB
35122011-06-21 Juanma Barranquero <lekktu@gmail.com>
3513
3514 * misc.el (list-dynamic-libraries--refresh): Compute header here...
3515 (list-dynamic-libraries): ...not here.
3516
7f3f739f
LL
35172011-06-21 Leo Liu <sdl.web@gmail.com>
3518
3519 * subr.el (sha1): Implement sha1 using secure-hash.
3520
327c8fb1
MR
35212011-06-21 Martin Rudalics <rudalics@gmx.at>
3522
3523 * window.el (display-buffer-alist): In default value do not
3524 enforce searching a window on any but the selected frame.
3525 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3526 (display-buffer-select-window): Remove function.
3527 (display-buffer-in-window): When a window on another frame gets
3528 reused, do not select it any more but just raise its frame if
3529 necessary (Bug#8851) and (Bug#8856).
3530 (display-buffer-normalize-options): Handle pop-up-frames related
3531 options more faithfully.
3532 (pop-to-buffer): Don't rely on `display-buffer' selecting the
3533 window if it is on another frame.
c9d29fb8
SM
3534 (display-buffer-alist, display-buffer-default-specifiers):
3535 Don't make new frame unsplittable by default.
9e9de014
MR
3536 (display-buffer-normalize-argument): Fix doc-string typo and use
3537 'same-frame-other-window instead of 'other-window when associating
3538 with display-buffer-macro-specifiers.
327c8fb1 3539
7cf3f556
VB
35402011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
3541
3542 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3543 New functions.
3544 (5x5-mode-map, 5x5-mode-menu): Bind them.
3545 (5x5-draw-grid): Tweak the solver's rendering.
3546
60a406cf
SM
35472011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3550 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3551
d8e4b68b 35522011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
3553
3554 * menu-bar.el: Use function variable instead of switch-to-buffer.
3555 (menu-bar-select-buffer-function): New variable.
60a406cf 3556 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 3557
478d6f95
SM
35582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3559
3560 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3561 variable's status.
3562
ca530739
JD
35632011-06-20 Jan Djärv <jan.h.d@swipnet.se>
3564
3565 * x-dnd.el (x-dnd-version-from-flags)
3566 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3567 and long as number (Bug#8899).
3568 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3569
bcd70d97
SM
35702011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3571
60a406cf 3572 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
3573 (completion-try-completion, completion-all-completions): Compute the
3574 metadata argument if it's missing; make it optional (bug#8795).
3575
60a406cf 3576 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
3577 (widget-complete): Use new :completion-function property.
3578 (widget-completions-at-point): New function.
3579 (default): Use :completion-function instead of :complete.
60a406cf
SM
3580 (widget-default-completions): Rename from widget-default-complete;
3581 Rewrite.
bcd70d97
SM
3582 (widget-string-complete, widget-file-complete, widget-color-complete):
3583 Remove functions.
3584 (file, symbol, function, variable, coding-system, color):
3585 * international/mule-cmds.el (default-input-method, charset)
3586 (language-info-custom-alist):
3587 * cus-edit.el (face): Use new property :completions.
3588
3589 * progmodes/pascal.el (pascal-completions-at-point): New function.
3590 (pascal-mode): Use it.
3591 (pascal-mode-map): Use completion-at-point.
3592 (pascal-toggle-completions): Make obsolete.
3593 (pascal-complete-word, pascal-show-completions):
3594 * progmodes/octave-mod.el (octave-complete-symbol):
3595 Redefine as obsolete alias.
3596 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3597 Signal absence of completion info for old Octave,
3598 (inferior-octave-complete): Redefine as obsolete alias.
3599 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3600 (meta-completions-at-point): Rename from meta-complete-symbol and
3601 adapt it for use on completion-at-point-functions.
3602 (meta-common-mode): Use it.
3603 (meta-looking-at-backward, meta-match-buffer): Remove.
3604 (meta-complete-symbol): Redefine as obsolete alias.
3605 (meta-common-mode-map): Use completion-at-point.
3606 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3607 (makefile-mode-map): Use completion-at-point.
3608 (makefile-completions-at-point): Rename from makefile-complete and
3609 adapt it for use on completion-at-point-functions.
3610 (makefile-mode): Use it.
3611 (makefile-complete): Redefine as obsolete alias.
3612
aebf69c8
DD
36132011-06-20 Deniz Dogan <deniz@dogan.se>
3614
3615 * net/rcirc.el: Delete trailing whitespaces once and for all.
3616
bfbbb27d
DC
36172011-06-20 Daniel Colascione <dan.colascione@gmail.com>
3618
3619 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3620
d264a46b
CY
36212011-06-19 Chong Yidong <cyd@stupidchicken.com>
3622
4ca009e5
CY
3623 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3624
d264a46b
CY
3625 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3626
fbf5b3ce
MR
36272011-06-19 Martin Rudalics <rudalics@gmx.at>
3628
3629 * window.el (display-buffer-other-window-means-other-frame):
3630 Call display-buffer-normalize-alist.
3631 (display-buffer-normalize-specifiers-1): Rename to
3632 display-buffer-normalize-argument. New argument other-frame.
3633 Rewrite.
3634 (display-buffer-normalize-specifiers-2): Rename to
3635 display-buffer-normalize-options.
3636 (display-buffer-normalize-alist-1): New function.
3637 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
3638 display-buffer-normalize-alist.
3639 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
3640 (display-buffer-normalize-options-inhibit): New variable.
3641 (display-buffer-normalize-specifiers): Rewrite calling
3642 display-buffer-normalize-alist,
3643 display-buffer-normalize-argument, and
3644 display-buffer-normalize-options. Don't call the latter if
3645 display-buffer-normalize-options-inhibit is non-nil.
3646 (frame-auto-delete): New option.
3647 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
3648 (window-list-no-nils, window-state-ignored-parameters)
3649 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
3650 (window-state-put-1, window-state-put-2, window-state-put):
3651 New functions.
9a028c23
MR
3652 (display-buffer-normalize-options): Move special-display-p group
3653 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 3654
6d10d800
CY
36552011-06-18 Chong Yidong <cyd@stupidchicken.com>
3656
6420d28b
CY
3657 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3658 groups (Bug#8776).
3659 (rx-submatch-n): New function.
3660 (rx): Document it.
3661
ddb8b596
CY
3662 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3663 (Bug#8768).
3664
3665 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3666
77080289
CY
3667 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3668
61dfb316
CY
3669 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3670 anytime existing face settings are present (Bug#8889).
3671
6d10d800
CY
3672 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3673 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3674 Remove unused argument.
3675
be3fb2b8
MR
36762011-06-18 Martin Rudalics <rudalics@gmx.at>
3677
bcd70d97
SM
3678 * window.el (display-buffer-default-specifiers):
3679 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
3680 pop-up-window-min-width, and another reuse-window specifier
3681 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
3682 (display-buffer-normalize-specifiers-2):
3683 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
3684 pop-up-windows is unset. Add a reuse-window specifier for the
3685 case popping up a new window fails.
3686 (special-display-popup-frame): Remove double quoting.
28dec25a 3687 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 3688
1c6d8c76
SM
36892011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3690
3691 * shell.el (shell-completion-vars): Set pcomplete-termination-string
3692 according to comint-completion-addsuffix.
3693
3694 * pcomplete.el: Convert to lexical binding and fix bug#8819.
3695 (pcomplete-suffix-list): Mark as obsolete.
3696 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3697 pcomplete-seen in the closure.
3698 (pcomplete-comint-setup): Setup completion-at-point as well.
3699 (pcomplete--entries): New function.
3700 (pcomplete--env-regexp): New var.
3701 (pcomplete-entries): Rewrite to work with partial-completion and
3702 without relying on pcomplete-suffix-list.
3703 (pcomplete-pare-list): Remove, unused.
3704
25aef8b8
MR
37052011-06-17 Martin Rudalics <rudalics@gmx.at>
3706
3707 * window.el (display-buffer-alist): Set pop-up-window-min-height
3708 and pop-up-window-min-width in default value. Reported by
3709 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
3710 other-window-means-other-frame.
3711 (display-buffer-macro-specifiers): Comment out entry for
3712 other-window specifier.
3713 (display-buffer-other-window-means-other-frame): New function.
3714 (display-buffer-normalize-specifiers-1): New arguments
3715 buffer-name and label. Treat other-window case specially.
3716 (display-buffer-normalize-specifiers-2): Treat other-window case
3717 specially.
3718 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
3719 (display-buffer-normalize-specifiers):
3720 Call display-buffer-normalize-specifiers-3.
25aef8b8 3721
dbad4f69
MR
37222011-06-17 Martin Rudalics <rudalics@gmx.at>
3723
3724 * window.el (same-window-p): Fix two typos introduced when
3725 adding with-no-warnings.
d1067961
MR
3726 (display-buffer-normalize-specifiers-1): Don't check
3727 pop-up-frames for 'unset initialization.
3728 (display-buffer-normalize-specifiers-2): Major rewrite using
3729 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3730 (pop-up-frames, display-buffer-reuse-frames)
3731 (display-buffer-mark-dedicated): Don't initialize to 'unset.
3732 Suggested by David Engster <deng@randomsample.de>.
3733 (even-window-heights): Initialize to 'unset.
3734 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
3735 (display-buffer-macro-specifiers): Don't pop up a new frame in the
3736 other window case.
dbad4f69 3737
9b9c9e3a
MR
37382011-06-16 Martin Rudalics <rudalics@gmx.at>
3739
bcd70d97
SM
3740 * window.el (display-buffer-normalize-specifiers-1):
3741 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 3742 second argument of display-buffer (Bug#8865).
981d5c09
MR
3743 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3744 (switch-to-buffer-other-window-same-frame)
3745 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
3746 Adams (Bug#8875).
9c2755e9
MR
3747 (display-buffer): Don't check noninteractive when calling
3748 display-buffer-pop-up-frame.
3749 (display-buffer-pop-up-frame): Never pop up a frame in
3750 noninteractive mode (Bug#8857).
67222e1d
MR
3751 (enlarge-window, shrink-window): Don't report an error when the
3752 window can't be resized as requested (Bug#8862).
9b9c9e3a 3753
2b75be67
SM
37542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3755
9ffdd3ba
SM
3756 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3757
cb581a67
SM
3758 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3759
2b75be67
SM
3760 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3761
8c0e3589
AM
37622011-06-15 Alan Mackenzie <acm@muc.de>
3763
cb581a67
SM
3764 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3765 for declarators, disable knr checking to speed up for normal files.
3766 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 3767
b96e6cde
LMI
37682011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3769
4bba86e6
LMI
3770 * net/network-stream.el (open-network-stream): Add the keyword
3771 :always-query-capabilities for the case where you want to force a
3772 `plain' network connection, but the protocol still requires the
3773 capabilitiy command (i.e., SMTP and EHLO).
3774
2b75be67 3775 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
3776 consistency with other `-live-p' functions.
3777
efdcdbf8
SM
37782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * window.el (same-window-buffer-names, same-window-regexps)
3781 (special-display-frame-alist, special-display-popup-frame)
3782 (special-display-function, special-display-buffer-names)
3783 (special-display-regexps, pop-up-frame-alist)
3784 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3785 (pop-up-windows, split-window-preferred-function)
3786 (split-height-threshold, split-width-threshold, even-window-heights)
3787 (display-buffer-mark-dedicated): Don't encourage the use of
3788 display-buffer-alist from Elisp code.
3789
c5cde042
DN
37902011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3791
3792 * progmodes/python.el (python-mode): Derive from prog-mode.
3793 * progmodes/ps-mode.el (ps-mode):
3794 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 3795 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
3796 * progmodes/ld-script.el (ld-script-mode): Likewise.
3797
baa1c9ab
MR
37982011-06-15 Martin Rudalics <rudalics@gmx.at>
3799
3800 * window.el (display-buffer-alist): Trim default value to avoid
3801 popping up a new frame (Bug#8857) or reusing an arbitrary window
3802 on another frame.
3803 (display-buffer): Do not fall back on popping up a new frame in
3804 batch mode (Bug#8857).
3805
c5dd5a51
CY
38062011-06-14 Chong Yidong <cyd@stupidchicken.com>
3807
3808 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3809 (custom-theme-summary): New function.
3810 (customize-themes): Use it.
3811
d647b7c4
GM
38122011-06-13 Glenn Morris <rgm@gnu.org>
3813
3814 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3815
9481c002
MR
38162011-06-13 Martin Rudalics <rudalics@gmx.at>
3817
357f93d2
MR
3818 * help.el (help-window): Remove variable.
3819 (help-window-point-marker, temp-buffer-max-height)
3820 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3821 (help-print-return-message): Don't set help-window.
3822 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3823 (help-window-setup-finish): Remove.
3824 (help-window-display-message, help-window-setup)
3825 (with-help-window): Major rewrite based on new
3826 display-buffer-window variable.
3827
3828 * help-mode.el (help-mode-finish): Remove help-window related
3829 code.
3830
3831 * view.el (view-exits-all-viewing-windows): Remove reference to
3832 view-return-to-alist in doc-string.
3833 (view-return-to-alist): Make obsolete.
3834 (view-buffer): Call pop-to-buffer-same-window and remove
3835 undo-window code.
3836 (view-buffer-other-window): Call pop-to-buffer-other-window and
3837 simplify code. Ignore second argument.
3838 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3839 simplify code. Ignore second argument.
3840 (view-return-to-alist-update): Make obsolete.
3841 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3842 Rewrite using quit-restore window parameters.
2b75be67
SM
3843 (view-mode-exit): Rename second argument to EXIT-ONLY.
3844 Rewrite using quit-restore-window.
357f93d2
MR
3845 (View-exit, View-exit-and-edit, View-leave, View-quit)
3846 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3847 appropriate arguments.
3848 (view-end-message): Use quit-restore window parameter.
3849
9481c002
MR
3850 * window.el (display-buffer-function): Rewrite doc-string.
3851 (display-buffer-window, display-buffer-alist): New variables.
3852 (display-buffer-split-specifiers)
3853 (display-buffer-side-specifiers)
3854 (display-buffer-macro-specifiers): New constants.
3855 (display-buffer-even-window-sizes, display-buffer-set-height)
3856 (display-buffer-set-width, display-buffer-select-window)
3857 (display-buffer-in-window, display-buffer-reuse-window)
3858 (display-buffer-split-window-1, display-buffer-split-window)
3859 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3860 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3861 (display-buffer-in-side-window, normalize-buffer-to-display)
3862 (display-buffer-normalize-specifiers-1)
3863 (display-buffer-normalize-specifiers-2)
2b75be67
SM
3864 (display-buffer-normalize-specifiers, display-buffer-frame):
3865 New functions.
9481c002
MR
3866 (display-buffer): Major rewrite.
3867 (display-buffer-other-window, display-buffer-other-frame)
3868 (pop-to-buffer, switch-to-buffer-other-window)
3869 (switch-to-buffer-other-frame): Rewrite.
3870 (display-buffer-same-window, display-buffer-same-frame)
3871 (display-buffer-same-frame-other-window)
3872 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3873 (pop-to-buffer-other-window)
3874 (pop-to-buffer-same-frame-other-window)
3875 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3876 (switch-to-buffer-other-window-same-frame): New functions.
3877 (same-window-p, special-display-p): Rewrite disabling warnings.
3878 Make obsolete.
3879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3880 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3881 Make obsolete
3882 (same-window-buffer-names, same-window-regexps)
3883 (special-display-frame-alist, special-display-popup-frame)
3884 (special-display-function, special-display-buffer-names)
3885 (special-display-regexps, pop-up-frame-alist)
3886 (pop-up-frame-function, split-window-preferred-function)
3887 (split-height-threshold, split-width-threshold)
3888 (even-window-heights): Make obsolete.
3889
9db51aca
GM
38902011-06-12 Glenn Morris <rgm@gnu.org>
3891
3892 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 3893 Misc simplifications.
9db51aca 3894
39cffb44
MR
38952011-06-12 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (window-safely-shrinkable-p): Restore function which
3898 was inadvertently removed in change from 2011-06-11. Declare as
3899 obsolete.
3900
2b75be67
SM
3901 * calendar/calendar.el (calendar-generate-window):
3902 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
3903 window-safely-shrinkable-p.
3904
a8955be7
GM
39052011-06-12 Glenn Morris <rgm@gnu.org>
3906
3907 * progmodes/fortran.el (fortran-mode-syntax-table):
3908 * progmodes/f90.el (f90-mode-syntax-table):
3909 Set % to punctuation. (Bug#8820)
3910 (f90-find-tag-default): Remove, no longer needed.
3911
f0d4059d
DC
39122011-06-12 Daniel Colascione <dan.colascione@gmail.com>
3913
3914 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3915
1100a63c
CY
39162011-06-11 Chong Yidong <cyd@stupidchicken.com>
3917
3918 * image.el (image-animated-p): Return animation delay in seconds.
3919 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3920 (image-animate-timeout): Remove DELAY argument. Don't assume
3921 every subimage has the same delay; get it from image-animated-p.
3922 (image-animate): Caller changed.
3923
def722bf
MA
39242011-06-11 Michael Albinus <michael.albinus@gmx.de>
3925
3926 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3927 to ignored backtrace functions.
3928
0a2bb1a9
GM
39292011-06-11 Glenn Morris <rgm@gnu.org>
3930
3931 * calendar/appt.el (appt-disp-window-function): Doc fix.
3932 (appt-check): Handle overlapping appointments. (Bug#8337)
3933
6198ccd0
MR
39342011-06-11 Martin Rudalics <rudalics@gmx.at>
3935
3936 * window.el (window-tree-1, window-tree): New functions, moving
3937 the latter to window.el.
3938 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3939 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3940 (bw-refresh-edges): Remove.
3941 (balance-windows-1, balance-windows-2): New functions.
3942 (balance-windows): Rewrite in terms of window tree functions,
3943 balance-windows-1 and balance-windows-2.
3944 (bw-adjust-window): Remove.
3945 (balance-windows-area-adjust): New function with functionality of
3946 bw-adjust-window but using resize-window.
2b75be67
SM
3947 (set-window-text-height): Rewrite doc-string.
3948 Use normalize-live-window and resize-window.
3949 (enlarge-window-horizontally, shrink-window-horizontally):
3950 Rename argument to DELTA.
6198ccd0
MR
3951 (window-buffer-height): New function.
3952 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
3953 Rewrite using new window resize routines.
2b75be67
SM
3954 (kill-buffer-and-window, mouse-autoselect-window-select):
3955 Use ignore-errors instead of condition-case.
6198ccd0
MR
3956 (quit-window): Call delete-frame instead of delete-windows-on
3957 for the only buffer on frame.
3958
9397e56f
MR
39592011-06-10 Martin Rudalics <rudalics@gmx.at>
3960
3961 * loadup.el (top-level): Load window before files for the sake
3962 of replace-buffer-in-windows.
3963
3964 * files.el (read-buffer-to-switch)
3965 (switch-to-buffer-other-window)
2b75be67
SM
3966 (switch-to-buffer-other-frame, display-buffer-other-frame):
3967 Move to window.el.
9397e56f
MR
3968
3969 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
3970 (previous-buffer): Move to window.el.
3971
3972 * bindings.el (unbury-buffer): Move to window.el.
3973
3974 * window.el (delete-other-windows-vertically): Move after
3975 definition of delete-other-windows.
3976 (other-window, delete-windows-on, replace-buffer-in-windows):
3977 Move here from window.c.
3978 (record-window-buffer, unrecord-window-buffer)
3979 (set-window-buffer-start-and-point, switch-to-prev-buffer)
3980 (switch-to-next-buffer): New functions.
3981 (get-next-valid-buffer, last-buffer, next-buffer): Move here
3982 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
3983 (previous-buffer): Move here from simple.el.
3984 Call switch-to-prev-buffer.
9397e56f
MR
3985 (bury-buffer): Move here from buffer.c. Switch to previous
3986 buffer when window cannot be deleted.
3987 (unbury-buffer): Move here from bindings.el.
3988 (ctl-x-map): Move binding for other-window from window.c to
3989 here.
3990 (read-buffer-to-switch, switch-to-buffer-other-window)
3991 (switch-to-buffer-other-frame): Move here from files.el.
3992 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
3993 (switch-to-buffer): Move here from buffer.c.
3994 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 3995
562dd5e9
MR
39962011-06-10 Martin Rudalics <rudalics@gmx.at>
3997
3998 * window.el (window-min-height, window-min-width): Move here
3999 from window.c. Add defcustoms and rewrite doc-strings.
4000 (resize-mini-window, resize-window): New functions.
4001 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4002 Move here from window.c.
4003 (maximize-window, minimize-window): New functions.
4004 (delete-window, delete-other-windows, split-window): Move here
4005 from window.c.
4006 (window-split-min-size): New function.
4007 (split-window-keep-point): Mention split-window-above-each-other
4008 instead of split-window-vertically.
2b75be67
SM
4009 (split-window-above-each-other, split-window-vertically):
4010 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4011 provide defalias for old definition.
4012 (split-window-side-by-side, split-window-horizontally): Rename
4013 split-window-horizontally to split-window-side-by-side and provide
4014 defalias for the old definition.
4015 (ctl-x-map): Move bindings for delete-window,
4016 delete-other-windows and enlarge-window here from window.c.
4017 Replace bindings for split-window-vertically and
4018 split-window-horizontally by bindings for
4019 split-window-above-each-other and split-window-side-by-side.
4020
4021 * cus-start.el (all): Remove entries for window-min-height and
4022 window-min-width. Add entries for window-splits and
4023 window-nest.
4024
f0da764a
GM
40252011-06-09 Glenn Morris <rgm@gnu.org>
4026
80675c21
GM
4027 * calendar/appt.el (appt-mode-line): New function.
4028 (appt-check, appt-disp-window): Use it.
4029
f0da764a
GM
4030 * files.el (hack-one-local-variable-eval-safep):
4031 Allow minor-modes with explicit +/-1 arguments.
4032
59f623b7
TZ
40332011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4034
4035 * term/xterm.el (xterm): Add defgroup.
4036 (xterm-extra-capabilities): Add defcustom to supply known xterm
4037 capabilities, skip querying them, or query them (default).
4038 (terminal-init-xterm): Use it.
4039 (terminal-init-xterm-modify-other-keys): New function to set up
4040 modifyOtherKeys support to simplify `terminal-init-xterm'.
4041
9aab8e0d
MR
40422011-06-09 Martin Rudalics <rudalics@gmx.at>
4043
4044 * window.el (resize-window-reset, resize-window-reset-1)
4045 (resize-subwindows-skip-p, resize-subwindows-normal)
4046 (resize-subwindows, resize-other-windows, resize-this-window)
4047 (resize-root-window, resize-root-window-vertically)
4048 (window-deletable-p, window-or-subwindow-p)
4049 (frame-root-window-p): New functions.
4050
e8b08aee
GM
40512011-06-09 Glenn Morris <rgm@gnu.org>
4052
4053 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4054 (ange-ftp-get-files): Use it.
4055
254c37a5
AK
40562011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4057
4058 * mail/sendmail.el (mail-recover-1, mail-recover):
4059 * files.el (recover-file, recover-session):
4060 Handle dired-listing-switches not being just a single short option.
4061
35d7dbd3
GM
40622011-06-09 Glenn Morris <rgm@gnu.org>
4063
4064 * calendar/appt.el (appt-display-message, appt-disp-window):
4065 Handle lists of appointments.
4066
387522b2
MR
40672011-06-08 Martin Rudalics <rudalics@gmx.at>
4068
2b75be67
SM
4069 * window.el (one-window-p): Move down in code.
4070 Rewrite doc-string.
4071 (window-current-scroll-bars): Rewrite doc-string.
4072 Normalize live window argument.
387522b2
MR
4073 (walk-windows, get-window-with-predicate, count-windows):
4074 Rewrite doc-string. Use window-list-1.
4075 (window-in-direction-2, window-in-direction, get-mru-window):
4076 New functions.
4077
d8e4b68b 40782011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4079
4080 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4081 Doc fix (Bug#8713).
4082
40832011-06-08 Chong Yidong <cyd@stupidchicken.com>
4084
4085 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4086
40872011-06-08 Juanma Barranquero <lekktu@gmail.com>
4088
4089 * loadhist.el (unload-feature-special-hooks):
4090 Add `comint-output-filter-functions'.
4091
0de12c52
IK
40922011-06-08 Ivan Kanis <gnu@kanis.fr>
4093
4094 * calendar/appt.el (appt-check): Move some initializations into the let.
4095
f3d1777e
MR
40962011-06-08 Martin Rudalics <rudalics@gmx.at>
4097
4098 * window.el (window-height): Defalias to window-total-height.
4099 (window-width): Defalias to window-body-width.
4100
18af70d0
CY
41012011-06-07 Chong Yidong <cyd@stupidchicken.com>
4102
4103 * image-mode.el (image-toggle-animation): New command.
4104 (image-mode-map): Bind it to RET.
4105 (image-mode): Update message.
4106 (image-toggle-display-image): Avoid a spurious cache flush.
4107 (image-transform-rotation): Doc fix.
4108 (image-transform-properties): Return quickly in the normal case.
4109 (image-animate-loop): Rename from image-animate-max-time.
4110
2b75be67 4111 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4112 (create-animated-image): Remove unnecessary function.
4113 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4114 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4115 (image-animate-timer): Use car-safe.
4116 (image-animate-timeout): Rename argument.
4117
190b47e6
MR
41182011-06-07 Martin Rudalics <rudalics@gmx.at>
4119
4120 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4121 window.c. Rename first argument to ALL-FRAMES.
4122 Rephrase doc-strings.
4123 (get-buffer-window-list): Rewrite using window-list-1.
4124 Rephrase doc-string.
a1511caf
MR
4125 (window-safe-min-height, window-safe-min-width): New constants.
4126 (window-size-ignore, window-min-size, window-min-size-1)
4127 (window-sizable, window-sizable-p, window-size-fixed-1)
4128 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4129 (window-max-delta-1, window-max-delta, window-resizable)
4130 (window-resizable-p, window-total-height, window-total-width)
4131 (window-body-width): New functions.
4132 (window-full-height-p, window-full-width-p): Rewrite using
4133 window-total-size.
4134 (window-body-height): Rewrite using window-body-size.
190b47e6 4135
85cc1f11
MR
41362011-06-06 Martin Rudalics <rudalics@gmx.at>
4137
4138 * window.el (window-right, window-left, window-child)
4139 (window-child-count, window-last-child, window-any-p)
4140 (normalize-live-buffer, normalize-live-frame)
4141 (normalize-any-window, normalize-live-window)
4142 (window-iso-combination-p, window-iso-combined-p)
4143 (window-iso-combinations)
4144 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4145 (windows-with-parameter, window-with-parameter)
4146 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4147 (window-atom-check, window-side-check, window-check):
4148 New functions.
85cc1f11
MR
4149 (ignore-window-parameters, window-sides, window-sides-vertical)
4150 (window-sides-slots): New variables.
4151 (window-size-fixed): Move down in code. Minor doc-string fix.
4152
e7156492
AS
41532011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4154
4155 * comint.el (comint-dynamic-complete-as-filename)
4156 (comint-dynamic-complete-filename): Correctly call
4157 completion-in-region.
4158
7e821d0d
DD
41592011-06-05 Deniz Dogan <deniz@dogan.se>
4160
4161 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4162 in last change.
4163
ac09b8a1
DD
41642011-06-05 Deniz Dogan <deniz@dogan.se>
4165
4166 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4167 (rcirc): Use it to prompt for encryption.
4168
34699b85
RW
41692011-06-05 Roland Winkler <winkler@gnu.org>
4170
4171 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4172 (bibtex-search-entries): New command bound to C-c C-a.
4173 (bibtex-display-entries): New function.
4174
004dedd3
RW
41752011-06-05 Roland Winkler <winkler@gnu.org>
4176
4177 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4178 (bibtex-insert-kill): After yanking insert newline if necessary.
4179 (bibtex-initialize): Call bibtex-string-files-init only once.
4180 (bibtex-mode): Do not call easy-menu-add.
4181 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4182 (bibtex-yank): Set arg properly if nil.
4183
022fe7ce
RW
41842011-06-05 Roland Winkler <winkler@gnu.org>
4185
2b75be67
SM
4186 * textmodes/bibtex.el (bibtex-search-entry-globally):
4187 New variable.
022fe7ce
RW
4188 (bibtex-search-entry): Use it.
4189
b7c3692a
RW
41902011-06-05 Roland Winkler <winkler@gnu.org>
4191
4192 * textmodes/bibtex.el (bibtex-entry-format): New option
4193 sort-fields.
4194 (bibtex-format-entry, bibtex-reformat): Honor this option.
4195 (bibtex-parse-entry): Return fields in proper order.
4196
8eda563d
JB
41972011-06-05 Juanma Barranquero <lekktu@gmail.com>
4198
4199 * doc-view.el (doc-view-remove-if): Move computation of result out
4200 of `dolist' to silence misleading lexical-binding warning.
4201
7dbe3dbc
CY
42022011-06-04 Chong Yidong <cyd@stupidchicken.com>
4203
4204 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4205 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4206
0c33dd17
MA
42072011-06-04 Michael Albinus <michael.albinus@gmx.de>
4208
4209 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4210 "SunOS 5.10".
4211
f8f91c2b
MA
42122011-06-04 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4215 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4216 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4217 (tramp-parse-putty):
4218 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4219 (tramp-completion-function-alist-ssh)
4220 (tramp-completion-function-alist-telnet)
4221 (tramp-completion-function-alist-su)
4222 (tramp-completion-function-alist-putty): Set `tramp-autoload'
4223 cookie.
4224
4225 * net/tramp-ftp.el:
4226 * net/tramp-sh.el:
4227 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4228 load "tramp.el" `tramp-set-completion-function'.
4229
e17d9003
SM
42302011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * shell.el: Require and use pcomplete.
4233 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4234 (shell-completion-vars): Set pcomplete-default-completion-function.
4235
6c4cab03
DD
42362011-06-04 Deniz Dogan <deniz@dogan.se>
4237
4238 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4239 `memq' (Bug#8799).
4240
ea9fafe0
SM
42412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4242
4243 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4244
b3e945d3
JB
42452011-06-02 Juanma Barranquero <lekktu@gmail.com>
4246
4247 * bs.el (bs--mark-unmark, bs--nth-wrapper):
4248 * mpc.el (mpc-select-extend, mpc-songpointer-context):
4249 * vc/log-view.el (log-view-beginning-of-defun):
4250 * vc/smerge-mode.el (smerge-apply-resolution-patch)
4251 (smerge-refine-forward, smerge-refine-chopup-region):
4252 Silence warning for unused `dotimes' counter variables.
4253
7d520089
SM
42542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * net/tramp.el (tramp-with-progress-reporter): Rename from
4257 with-progress-reporter. Use `declare'.
4258 * net/tramp-smb.el:
4259 * net/tramp-sh.el:
4260 * net/tramp-gvfs.el: Update all uses.
4261
a1c2400f
JB
42622011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
4263
4264 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4265 buffer isn't killed before making it current.
4266
2403c841
SM
42672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 Silence various byte-compiler warnings.
4270 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4271 `access-type' and new obsolescence format.
4272 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4273 new format.
4274 (byte-compile-check-variable): New `access-type' argument.
4275 Only warn if the access-type is obsolete.
4276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4277 (byte-compile-variable-set): Adjust callers.
4278 * help-fns.el (describe-variable): Adjust to new obsolescence format.
4279 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4280 setting it as obsolete.
4281 * simple.el (minibuffer-completing-symbol):
4282 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4283 access as obsolete.
4284 * minibuffer.el (minibuffer-completing-file-name): Don't make it
4285 obsolete yet.
4286 * international/quail.el (quail-mouse-choose-completion): Remove unused
4287 code referring to obsolete var.
4288 (quail-choose-completion-string): Remove.
4289 * server.el (server-clients-with, server-kill-buffer-query-function)
4290 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4291 * proced.el (proced-send-signal):
4292 * emacs-lisp/lisp.el (lisp-complete-symbol):
4293 Replace completion-annotate-function with completion-extra-properties.
4294
2462470b
SM
42952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4296
fb5b2591
SM
4297 * simple.el (goto-line): Use read-number.
4298 (overriding-map-is-bound): Remove.
4299 (saved-overriding-map): Change default.
4300 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4301 Take the map as argument.
4302 (universal-argument, negative-argument, digit-argument): Use it.
4303 (restore-overriding-map): Adjust.
4304 (do-auto-fill): Use fill-forward-paragraph.
4305 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4306
fd6fa53f
SM
4307 * minibuffer.el (minibuffer-inactive-mode-map): New var.
4308 (minibuffer-inactive-mode): New major mode.
4309 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4310 the *Messages* buffer" hack.
4311 (mouse-popup-menubar): Don't burp if the event is a normal key.
4312
2462470b
SM
4313 Miscellaneous tweaks.
4314 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4315 lexical scoping as in subr.el's dolist and dotimes.
4316 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4317 Silence compiler warning.
4318 * thingatpt.el (forward-whitespace): Trivial coding style fix.
4319 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4320 * international/ccl.el (ccl-compile): Trivial simplification.
4321 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4322 * emacs-lisp/testcover.el (testcover-end): Remove spurious
4323 `printflag' argument.
4324 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4325 Purecopy the whole obsolescence data.
4326
108bf785
LL
43272011-06-01 Leo Liu <sdl.web@gmail.com>
4328
4329 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4330 improve doc-string as suggested by Marco Pessotto
4331 <melmothx@gmail.com>.
4332 (rcirc-print): Fix last change.
4333
30a23501
SM
43342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * minibuffer.el (complete-with-action): Return nil for the metadata and
4337 boundaries of non-functional tables.
4338 (completion-table-dynamic): Return nil for the metadata.
4339 (completion-table-with-terminator): Add default case, using
4340 complete-with-action.
4341 (completion--metadata): New function.
4342 (completion-all-sorted-completions, minibuffer-completion-help): Use it
4343 to try and avoid pathological performance problems.
4344 (completion--embedded-envvar-table): Return `category' metadata.
4345
bcd54f83
LMI
43462011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
4347
4348 * subr.el (process-alive-p): New tiny convenience function.
4349
e227544d
SM
43502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
4353 content but also its previous major mode.
4354
e8296fdc
HE
43552011-05-31 Helmut Eller <eller.helmut@gmail.com>
4356
4d61f28d 4357 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
4358 *Backtrace* buffer when we exit with C-M-c.
4359
620c53a6
SM
43602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * minibuffer.el: Add metadata method to completion tables.
4363 (completion-category-overrides): New defcustom.
4364 (completion-metadata, completion--field-metadata)
4365 (completion-metadata-get, completion--styles)
4366 (completion--cycle-threshold): New functions.
4367 (completion-try-completion, completion-all-completions):
4368 Add `metadata' argument to choose completion-styles.
4369 (completion--do-completion): Use metadata to choose cycling.
4370 (completion-all-sorted-completions): Use metadata for sorting.
4371 Remove :completion-cycle-penalty which is not needed any more.
4372 (completion--try-word-completion): Add `metadata' argument.
4373 (minibuffer-completion-help): Check metadata for annotation function
4374 and sorting.
4375 (completion-file-name-table): Return `category' metadata.
4376 (minibuffer-completing-file-name): Make obsolete.
4377 * simple.el (minibuffer-completing-symbol): Make obsolete.
4378 * icomplete.el (icomplete-completions): Pass new `metadata' param to
4379 completion-try-completion.
4380
1257e755
SM
43812011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
4384
3767e706
LL
43852011-05-30 Leo Liu <sdl.web@gmail.com>
4386
4387 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
4388 (rcirc-print): Decode all incoming messages (bug#8744).
4389 (rcirc-decode-coding-system): Allow value nil for automatic coding
4390 system detection.
3767e706 4391
d1a5d56a
GM
43922011-06-01 Glenn Morris <rgm@gnu.org>
4393
4394 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
4395
e8cbec34
CY
43962011-05-29 Chong Yidong <cyd@stupidchicken.com>
4397
4398 * image.el (image-animate-max-time): Allow nil and t values.
4399 Default to nil.
4400 (create-animated-image): Doc fix.
4401 (image-animate-start): Remove second arg; just use
4402 image-animate-max-time.
4403 (image-animate-timeout): Doc fix. Args changed.
4404
4405 * image-mode.el (image-toggle-display-image): Ensure that the
4406 image spec passed to the animate timer is the same object as in
4407 the the buffer's display property (Bug#6981).
4408 (image-transform-properties): Doc fix.
4409
4410 * image.el (image-animate-max-time): Default to nil.
4411
159daf87
MR
44122011-05-29 Martin Rudalics <rudalics@gmx.at>
4413
4414 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
4415 entire buffer list (Bug#8184).
4416
d66c4c7c
CY
44172011-05-29 Chong Yidong <cyd@stupidchicken.com>
4418
4419 * image.el (imagemagick-types-inhibit)
4420 (imagemagick-register-types): Doc fix.
4421
80aec780
DD
44222011-05-29 Deniz Dogan <deniz@dogan.se>
4423
4424 * net/rcirc.el (rcirc): Use the user's stored encryption method by
4425 default.
4426
1dd3c2d9
CY
44272011-05-29 Chong Yidong <cyd@stupidchicken.com>
4428
4429 * select.el: Don't perform clipboard-manager saving in hooks;
4430 leave the hooks empty.
4431
60e56523
LL
44322011-05-28 Leo Liu <sdl.web@gmail.com>
4433
4434 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
4435 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
4436 (occur-edit-mode): New major mode (Bug#8463).
4437 (occur-after-change-function): New function.
4438 (occur-engine): Give Occur tags a read-only property.
4439
2b1e1a22
KR
44402011-05-28 Kevin Ryde <user42@zip.com.au>
4441
4442 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
4443
5d344e88
CY
44442011-05-28 Chong Yidong <cyd@stupidchicken.com>
4445
8e6ca83d
CY
4446 * bindings.el (help-echo): Make the initial non-indicator dash
4447 empty on graphical terminals (Bug#7295).
4448
5d344e88
CY
4449 * files.el (auto-mode-alist): Move config rule after the
4450 in-stripping one (Bug#8547).
4451
bfbbace7
CY
4452 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
4453
fbeba6e2
CY
4454 * startup.el (normal-splash-screen): Remove gratuitous mode-line
4455 setting (Bug#8740).
4456
60ed8c72
AA
44572011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
4458
4ac619f0
AA
4459 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4460 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4461 (Bug#8539).
60ed8c72 4462
23db196e
CY
44632011-05-28 Chong Yidong <cyd@stupidchicken.com>
4464
4465 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4466
5012f24c
DK
44672011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
4468
4469 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4470 (hs-hide-block-at-point, hs-find-block-beginning)
4471 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4472 (Bug#8279).
4473
6a639b16
GM
44742011-05-28 Glenn Morris <rgm@gnu.org>
4475
4476 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
4477
d43eaf2c
CY
44782011-05-28 Chong Yidong <cyd@stupidchicken.com>
4479
5199bde1
CY
4480 * help-fns.el (describe-function-1): If the function is a derived
4481 major mode, print the parent mode.
4482
d43eaf2c
CY
4483 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4484 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4485
423428a8
SM
44862011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4487
0ff8e1ba
SM
4488 * minibuffer.el (completion--capf-wrapper): Check applicability before
4489 retuning non-nil for non-exclusive completion data.
4490 * progmodes/etags.el (tags-completion-at-point-function):
4491 * info-look.el (info-lookup-completions-at-point): Mark as
4492 non-exclusive.
4493 (info-complete): Adjust accordingly.
4494
423428a8
SM
4495 * info-look.el: Convert to lexical-binding and completion-at-point.
4496 (info-lookup-completions-at-point): New function.
4497 (info-complete): Use it and completion-in-region.
4498
b74aa22b
DA
44992011-05-28 Drew Adams <drew.adams@oracle.com>
4500
4501 * isearch.el: Let M-e start with point at the first mismatched char.
4502 (isearch-fail-pos): New function.
4503 (isearch-edit-string): Use it.
4504
66e2e71d
DK
45052011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4506
4507 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4508
eb95d01d
TC
45092009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4510
4511 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
4512 traversal functions for avl-trees.
4513 (avl-tree--stack): New struct.
4514 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4515 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
4516 (avl-tree--do-enter): Add optional `updatefun' arg.
4517 Change return value.
eb95d01d 4518 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
4519 (avl-tree--do-delete): Add `test' and `nilflag' args.
4520 Change return value.
eb95d01d
TC
4521 (avl-tree-member): Add optional `nilflag'
4522 (avl-tree-member-p): New function.
4523 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4524 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4525 (avl-tree-stack-empty-p): New functions.
4526
3769ddcf
TC
45272009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4528
4529 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4530 avl-tree--del-balance1 and make it work both ways.
4531 (avl-tree--del-balance2): Remove.
4532 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4533 make it work both ways.
4534 (avl-tree--enter-balance2): Remove.
4535 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4536 New macros.
4537 (avl-tree--mapc, avl-tree-map): Add direction argument.
4538
eb95d01d 45392011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
4540
4541 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4542
a9f737ee
CY
45432011-05-27 Chong Yidong <cyd@stupidchicken.com>
4544
4545 * select.el: Support clipboard managers with built-in function
4546 x-clipboard-manager-save, via delete-frame-functions and
4547 kill-emacs-hook.
4548 (xselect-convert-to-targets): Add MULTIPLE target to list.
4549 (xselect-convert-to-save-targets): New function.
4550
c92a1e54
KH
45512011-05-27 Kenichi Handa <handa@m17n.org>
4552
4553 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4554 let-binding rfc2047-encode-encoded-words to nil.
4555
e145f188
GM
45562011-05-27 Glenn Morris <rgm@gnu.org>
4557
5ec8a862
GM
4558 * mail/emacsbug.el: Don't require url-util.
4559
4b29d9fb
GM
4560 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
4561
e145f188
GM
4562 * files.el (set-auto-mode):
4563 Also respect mode: entries at the end of the file. (Bug#8586)
4564
7d15102b
GM
45652011-05-26 Glenn Morris <rgm@gnu.org>
4566
98f593b8
GM
4567 * files.el (hack-local-variables-prop-line, hack-local-variables):
4568 Downcase mode names, as seems to be traditional.
27b48e63 4569 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 4570
7d15102b
GM
4571 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4572 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
4573
51d5b4ec
JD
45742011-05-25 Julien Danjou <julien@danjou.info>
4575
4576 * textmodes/rst.el (rst-define-level-faces): Do not define face
4577 symbol if it is already defined.
4578
91513f63
VB
45792011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4580
4581 * play/5x5.el (5x5-new-game, 5x5-randomize):
4582 Reset 5x5-solver-output to nil when a new grid is cast.
4583 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4584 these debugging traces, as defmacro breaks the compiled code.
4585
4d90d6d0
DK
45862011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4587
4588 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4589
e1b90ef6
LL
45902011-05-24 Leo Liu <sdl.web@gmail.com>
4591
4592 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4593 (vc-bzr-sha1): Adapt.
4594
d8e4b68b 4595 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
4596
4597 * bindings.el: Provide sha1 feature.
4598
db0406bb 45992011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
4600
4601 * mail/sendmail.el: Require `rfc2047'.
4602 (mail-insert-from-field): Do not perform RFC2047 encoding.
4603 (mail-encode-header): New function.
4604 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
4605 buffer to the return value of select-message-coding-system.
4606 Call mail-encode-header.
b8d747b9
KH
4607
4608 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4609
db0406bb 46102011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 4611
4d90d6d0
DK
4612 * mail/supercite.el (sc-default-cite-frame):
4613 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 4614
eb8a5e9b
GM
46152011-05-24 Glenn Morris <rgm@gnu.org>
4616
f8630703
GM
4617 * progmodes/python.el (brm-menu): Declare.
4618
8831bbed
GM
4619 * emulation/viper.el (viper-set-hooks): Declare.
4620
eb8a5e9b
GM
4621 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4622 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4623 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4624 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4625 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4626 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4627
a2a25d24
SM
46282011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 Add an :exit-function for completion-at-point.
4631
4632 * minibuffer.el (completion--done): New fun.
4633 (completion--do-completion): Use it. New arg `expect-exact'.
4634 (minibuffer-complete, minibuffer-complete-word): Don't output message,
4635 since completion--do-completion does it for us now.
4636 (minibuffer-force-complete): Use completion--done and
4637 completion--replace. Handle sole-completion case with more care.
4638 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4639 (completion-extra-properties): New var.
4640 (completion-annotate-function): Make obsolete.
4641 (minibuffer-completion-help): Adjust accordingly.
4642 Use completion-list-insert-choice-function.
4643 (completion-at-point, completion-help-at-point):
4644 Bind completion-extra-properties.
4645 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4646 * simple.el (completion-list-insert-choice-function): New var.
4647 (completion-setup-function): Preserve it.
4648 (choose-completion): Pay attention to it, shuffle the code a bit.
4649 (choose-completion-string): New arg `insert-function'.
4650
4651 * textmodes/bibtex.el: Convert to lexical binding.
4652 (bibtex-mode-map): Use completion-at-point.
4653 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4654 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4655 (bibtex-complete): Define as obsolete alias.
4656 (bibtex-complete-internal): Remove.
4657 (bibtex-format-entry): Remove unused sub-group in regexp.
4658 * shell.el (shell--command-completion-data)
4659 (shell-environment-variable-completion):
4660 * pcomplete.el (pcomplete-completions-at-point):
4661 * comint.el (comint--complete-file-name-data): Use :exit-function
4662 instead of completion-table-with-terminator so it also works for
4663 choose-completion.
4664
e44e373d
SM
46652011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4f91a816
SM
4667 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4668
782fc819
SM
4669 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4670 (bug#8710).
4671
e44e373d
SM
4672 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4673
381987c3
KM
46742011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
4675
4676 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4677 customization variable and implement: If non-nil, auto-fill will
4678 be inhibited while on topic's header line.
4679
b776bc70
VB
46802011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
4681
4682 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 4683 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
4684 always have a solution in grid size = 5 cases.
4685 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4686 (5x5-solver-output, 5x5-log-buffer): New vars.
4687 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4688 Make these variables buffer local to achieve 5x5 multi-session-ness.
4689 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4690 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4691 (5x5-solve-suggest): New funs.
4692 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4693 randomize a grid so that we ensure that there is always a solution.
4694 (5x5-make-random-grid): Allow other movement than flipping.
4695
7de88b6e
KR
46962011-05-23 Kevin Ryde <user42@zip.com.au>
4697
4698 * emacs-lisp/advice.el (ad-read-advised-function):
4699 Use `function-called-at-point' as the default default, if it has
4700 advice and passes PREDICATE.
4701
b1ef1257
SM
47022011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4703
bbca48fe
SM
4704 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4705 byte-compile-lambda if it's actually a lambda.
4706
b1ef1257
SM
4707 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4708 Fix function quoting. Use backquote better.
4709
92a9cc65
YS
47102011-05-22 Yuanle Song <sylecn@gmail.com>
4711
4712 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4713 matching (Bug#8516).
4714
f0fb8059
JA
47152011-01-22 Jari Aalto <jari.aalto@cante.net>
4716
4717 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4718 different face (Bug#8178).
4719
d5b44c93
CY
47202011-05-22 Chong Yidong <cyd@stupidchicken.com>
4721
4722 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4723 defface (Bug#8144).
4724
79106a44
SM
47252011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
4726
9c848d8a
SM
4727 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4728 funcall as well (bug#8712). Warn when performing those conversions.
4729 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4730
79106a44
SM
4731 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4732
88dfa756
GM
47332011-05-22 Glenn Morris <rgm@gnu.org>
4734
4735 * files.el (hack-local-variables-prop-line): Small simplifications.
4736 (hack-local-variables, hack-local-variables-prop-line):
4737 If MODE-ONLY, return the mode, rather than just `t'.
4738
b7cf2c79
SM
47392011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4742
3f1a8558
GM
47432011-05-21 Glenn Morris <rgm@gnu.org>
4744
7e4ccca3
GM
4745 * files.el (hack-local-variables-prop-line, hack-local-variables):
4746 If only interested in the mode, don't bother doing the other stuff.
4747
637d46ca
GM
4748 * image-mode.el (image-after-revert-hook):
4749 Redraw all frames on which the image is visible. (Bug#8567)
4750
973d955b
GM
4751 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4752
3f1a8558
GM
4753 * wid-edit.el (widget-checklist-match-inline):
4754 Fix 2011-04-19 change. (Bug#8649)
4755
96479927
SM
47562011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
4757
1dcf791f
SM
4758 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4759 Also allow singlespace after single-letter capitals followed by a dot.
4760
96479927
SM
4761 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4762 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4763
35fd0881
N
47642011-05-20 Nix <nix@esperi.org.uk>
4765
4766 * files.el (basic-save-buffer-2):
4767 Fix handling of break-hardlink-on-save with non-existent files.
4768
82745640
DD
47692011-05-19 Deniz Dogan <deniz@dogan.se>
4770
4771 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 4772 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 4773
4a720484
GM
47742011-05-19 Glenn Morris <rgm@gnu.org>
4775
d1f21341
GM
4776 * progmodes/f90.el (f90-type-def-re):
4777 Handle "type, bind(c)". (Bug#8691)
4778
4a720484
GM
4779 * emacs-lisp/autoload.el (batch-update-autoloads):
4780 Set autoload-excludes by parsing loadup.el rather than Makefiles.
4781
2fb0a219
MA
47822011-05-18 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4785 property for the correct connection in case of multihops.
4786
e565dd37
GM
47872011-05-18 Glenn Morris <rgm@gnu.org>
4788
c2571358 4789 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
4790 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4791
e565dd37
GM
4792 Rationalize calendar handling of day and month abbrev-arrays.
4793 * calendar/calendar.el (calendar-customized-p): New function.
4794 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4795 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4796 Add :set function.
4797 (calendar-abbrev-length, calendar-day-abbrev-array)
4798 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4799 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4800 Elements may no longer be nil.
4801 (calendar-day-name, calendar-month-name):
4802 Update for changed nature of abbrev arrays.
4803 * calendar/diary-lib.el (diary-name-pattern):
4804 Update for changed nature of abbrev arrays.
4805 (diary-mark-entries-1): Update calendar-make-alist calls.
4806 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4807 * calendar/cal-html.el (cal-html-day-abbrev-array):
4808 Simply inherit from calendar-day-abbrev-array.
4809
1d99a745
SM
48102011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4811
4812 * progmodes/grep.el (grep-mode): Disable default
4813 compilation-directory-matcher setting (bug#8684).
4814
7c1d9aa0
MA
48152011-05-17 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4818 instead of "head" and "tail". There were problems with SunOS 5.9,
4819 and it performs better.
4820
3952e9d8
GM
48212011-05-17 Glenn Morris <rgm@gnu.org>
4822
2dd12e7f
GM
4823 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4824
e4157b9c
GM
4825 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4826 Replace obsolete function.
4827
8e249bbd
GM
4828 * shell.el (pcomplete-parse-arguments-function): Declare.
4829
3952e9d8
GM
4830 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4831 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4832 (appt-check): Doc fixes.
4833 (appt-disp-window-function, appt-delete-window-function):
4834 Remove needless special case in custom :type.
4835 (appt-display-count): Default to 0, not nil.
4836 (appt-check): Reset appt-display-count to 0, not nil.
4837
c71a0d48 48382011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 4839
c71a0d48
GM
4840 * progmodes/python.el (python-font-lock-keywords):
4841 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 4842
31d55be9
SM
48432011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4846
3bfacb2f
KR
48472011-05-16 Kevin Ryde <user42@zip.com.au>
4848
4849 * info-look.el (makefile-automake-mode): New setups, looking in
4850 automake manual, then makefile-mode.
4851 (makefile-mode): Remove automake manual, have it just in
4852 makefile-automake-mode since there's various things different or
4853 not relevant to plain make.
4854 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4855 believe a hypothetical automake-mode would go to makefile-mode,
4856 not the other way around.
4857
c8e83751
CY
48582011-05-15 Chong Yidong <cyd@stupidchicken.com>
4859
5e9e35cd
CY
4860 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4861 hunk-end tags (Bug#8672).
4862
c8e83751
CY
4863 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4864 vc-annotate-show-diff-revision-at-line (Bug#8671).
4865
50b23e5a
GM
48662011-05-14 Glenn Morris <rgm@gnu.org>
4867
7210a739
GM
4868 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4869 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
4870 (change-log-font-lock-keywords): Also handle multiple author lines
4871 with leading tabs. (Bug#8644)
7210a739 4872
4691905a
GM
4873 * calendar/appt.el (appt-check): Rename some local variables.
4874 Some simplification/reordering.
4875
50b23e5a
GM
4876 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4877 (feedmail-sendmail-f-doesnt-sell-me-out)
4878 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4879 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4880 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
4881 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4882 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
4883 (feedmail-binmail-gnulinuxish-template):
4884 Rename from feedmail-binmail-linuxish-template.
4885 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4886 Use insert-buffer-substring.
4887
215cda7c
BC
48882011-05-14 Bill Carpenter <bill@carpenter.org>
4889
4890 * mail/feedmail.el (feedmail-patch-level): Increase.
4891 (feedmail-debug): New custom group.
4892 (feedmail-confirm-outgoing-timeout)
4893 (feedmail-sendmail-f-doesnt-sell-me-out)
4894 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4895 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4896 (feedmail-sender-line, feedmail-from-line)
4897 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 4898 (feedmail-spray-this-address)
215cda7c
BC
4899 (feedmail-spray-address-fiddle-plex-list)
4900 (feedmail-queue-use-send-time-for-date)
4901 (feedmail-queue-use-send-time-for-message-id)
4902 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4903 (feedmail-buffer-eating-function):
4904 Doc fixes.
4905 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4906 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4907 (feedmail-message-action-scroll-down): New functions.
4908 (feedmail-queue-directory, feedmail-queue-draft-directory):
4909 Use expand-file-name.
4910 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4911 Remove C-v help entry.
4912 (feedmail-queue-buffer-file-name): New variable.
4913 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4914 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4915 (feedmail-message-action-send-strong, feedmail-message-action-edit)
4916 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4917 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4918 (feedmail-message-action-toggle-spray)
4919 (feedmail-run-the-queue-no-prompts)
4920 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4921 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4922 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4923 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4924 (feedmail-envelope-deducer, feedmail-fiddle-from)
4925 (feedmail-fiddle-sender, feedmail-default-date-generator)
4926 (feedmail-fiddle-date, feedmail-fiddle-message-id)
4927 (feedmail-fiddle-spray-address)
4928 (feedmail-fiddle-list-of-spray-fiddle-plexes)
4929 (feedmail-fiddle-list-of-fiddle-plexes)
4930 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4931 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4932 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4933 Change default. Doc fix.
4934 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4935 (feedmail-binmail-linuxish-template): New constant.
4936 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
4937 Respect feedmail-sendmail-f-doesnt-sell-me-out.
4938 (feedmail-send-it): Add debug call.
4939 Use feedmail-queue-buffer-file-name, and
4940 feedmail-send-it-immediately-wrapper.
4941 (feedmail-message-action-send): Add debug call.
4942 Use feedmail-send-it-immediately-wrapper.
4943 (feedmail-queue-express-to-queue): Add debug call.
4944 Run feedmail-queue-express-hook.
4945 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
4946 (feedmail-message-action-help-blat):
4947 Rename from feedmail-queue-send-edit-prompt-help-first.
4948 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
4949 Check line-endings. Handle errors better.
4950 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
4951 Doc fix. Add debug call.
4952 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
4953 Use feedmail-queue-send-edit-prompt-inner.
4954 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
4955 (feedmail-queue-send-edit-prompt-inner): New function, extracted
4956 from feedmail-queue-send-edit-prompt.
4957 (feedmail-queue-send-edit-prompt-help)
4958 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
4959 (feedmail-tidy-up-slug): Add debug call.
4960 Respect feedmail-queue-slug-suspect-regexp.
4961 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
4962 (feedmail-dump-message-to-queue): Add debug call.
4963 Expand queue-directory.
4964 (feedmail-dump-message-to-queue): Change message slightly.
4965 Use feedmail-say-chatter.
4966 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
4967 (feedmail-send-it-immediately-wrapper): New function.
4968 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
4969 Insert empty string rather than newline. Handle full-frame case.
4970 Use catch/throw. Use feedmail-say-chatter.
4971 (feedmail-fiddle-from): Try mail-host-address.
4972 (feedmail-default-message-id-generator): Doc fix.
4973 Bind system-time-locale. Handle missing end.
4974 (feedmail-fiddle-x-mailer): Add debug call.
4975 Handle feedmail-x-mailer-line being nil.
4976 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
4977 Add debug call. Use buffer-substring-no-properties.
4978 (feedmail-say-debug, feedmail-say-chatter): New functions.
4979 (feedmail-find-eoh): Give an explicit error.
4980
42c7e61e
UJ
49812011-05-13 Ulf Jasper <ulf.jasper@web.de>
4982
c2571358 4983 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 4984 family from helvetica to sans.
c2571358 4985 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4986 etc/images/newsticker.
4987
c2571358 4988 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
4989 family from helvetica to sans.
4990
4991 * net/newst-plainview.el (newsticker-new-item-face)
4992 (newsticker-old-item-face, newsticker-immortal-item-face)
4993 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 4994 (newsticker-statistics-face): Change default family from
42c7e61e 4995 helvetica to sans.
c2571358 4996 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4997 etc/images/newsticker.
4998
4999 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5000 (newsticker--process-auto-mark-filter-match): : Tell user about
5001 auto-marking.
5002
8497a297
DV
50032011-05-13 Didier Verna <didier@xemacs.org>
5004
5005 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5006 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5007 TODO entries.
8497a297
DV
5008 (lisp-lambda-list-keyword-parameter-indentation)
5009 (lisp-lambda-list-keyword-parameter-alignment)
5010 (lisp-lambda-list-keyword-alignment): New customizable user options.
5011 (lisp-indent-defun-method): Improve docstring.
5012 (extended-loop-p): Fix comment.
5013 (lisp-indent-lambda-list-keywords-regexp): New variable.
5014 (lisp-indent-lambda-list): New function.
5015 (lisp-indent-259): Use it.
5016 (lisp-indent-defmethod): Support for more than one
5017 method qualifier and properly indent methods lambda-lists.
5018 (defgeneric): Provide a missing common-lisp-indent-function property.
5019
f278f87f
SM
50202011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5023 bounds for the empty string (bug#8667).
5024
5233edd7
GM
50252011-05-13 Glenn Morris <rgm@gnu.org>
5026
5237a44f
GM
5027 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5028
8340026c 5029 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5030 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5031
5233edd7 5032 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5033 (appt-time-msg-list): Doc fix.
a5464014 5034 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5035
92d10796
AS
50362011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5037
5038 * progmodes/ld-script.el (ld-script-keywords)
5039 (ld-script-builtins): Update keywords list.
5040
914a0ae1
SM
50412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5042
c89be45f
SM
5043 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5044
914a0ae1
SM
5045 * shell.el (shell-completion-vars): New function.
5046 (shell-mode):
5047 * simple.el (read-shell-command): Use it.
5048 (blink-matching-open): No need for " [...]" in minibuffer-message.
5049
98dc3df3
GM
50502011-05-12 Glenn Morris <rgm@gnu.org>
5051
5052 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5053 (appt-check): Simplify.
5054
d2fc7e3d 50552011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5056
4d61f28d 5057 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5058 literal "/dev/null".
5059
d2fc7e3d 50602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5061
5062 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5063 Fix typo.
5064
d2fc7e3d 50652011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5066
3f254caa
SM
5067 * progmodes/which-func.el (which-function):
5068 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5069 which might not be defined (Bug#8260).
5070
d45885f7
GM
50712011-05-12 Glenn Morris <rgm@gnu.org>
5072
5073 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5074 Let byte-compile-initial-macro-environment always take precedence.
5075
488086f4
SM
50762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5077
5078 * net/rcirc.el: Add support for SSL/TLS connections.
5079 (rcirc-server-alist): New field `encryption'.
5080 (rcirc): Check `encryption' settings.
5081 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5082 Merge make-local-variable into `set'.
5083 (rcirc--connection-open-p): New function.
5084 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5085 the process is not a network process (e.g. running gnutls-cli).
5086 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5087 Make rcirc-(en|de)code-coding-system local here.
5088 (rcirc-mode): Merge make-local-variable into `set'.
5089 (rcirc-parent-buffer): Make permanent buffer-local.
5090 (rcirc-multiline-minor-mode): Don't do it here.
5091 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5092 there's no server buffer.
5093
7d3b9d44
GM
50942011-05-11 Glenn Morris <rgm@gnu.org>
5095
f64049c6
GM
5096 * newcomment.el (comment-kill): Prefix "unused" local.
5097
93c9df73
GM
5098 * term/w32console.el (get-screen-color): Declare.
5099
7d3b9d44
GM
5100 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5101 Handle symbol elements of byte-compile-initial-macro-environment.
5102
9e2dd53f
LL
51032011-05-10 Leo Liu <sdl.web@gmail.com>
5104
488086f4
SM
5105 * bookmark.el (bookmark-bmenu-mode-map):
5106 Bind bookmark-bmenu-search to `/'.
8b340240 5107
9e2dd53f 5108 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5109 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5110 (Footnote-unicode): New function.
5111 (footnote-style-alist): Add unicode style to the list.
5112 (footnote-style): Doc fix.
9e2dd53f 5113
79b70037
GM
51142011-05-10 Jim Meyering <meyering@redhat.com>
5115
5116 Fix doubled-word typos.
5117 * international/quail.el (quail-insert-kbd-layout): and and -> and
5118 * kermit.el: and and -> and
5119 * net/ldap.el (ldap-search-internal): to to -> to
5120 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5121 * progmodes/js.el (js-mode): and and -> and
5122 * textmodes/artist.el (artist-move-to-xy): at at -> at
5123 (artist-draw-region-trim-line-endings): if if -> if
5124 And Safetyc -> Safety.
5125 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5126
b8f82dc1 51272011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5128 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5129
5130 * files.el (hack-one-local-variable-eval-safep):
5131 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5132
4f99f44b
GM
51332011-05-10 Glenn Morris <rgm@gnu.org>
5134
5135 * calendar/diary-lib.el (diary-list-entries-hook)
5136 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5137 (diary-nongregorian-marking-hook, diary-list-entries)
5138 (diary-include-other-diary-files, diary-mark-entries)
5139 (diary-mark-included-diary-files): Doc fixes.
5140
84f29e6b
JB
51412011-05-09 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * misc.el: Require tabulated-list.el during compilation.
5144
9bedd73a
CY
51452011-05-09 Chong Yidong <cyd@stupidchicken.com>
5146
488086f4
SM
5147 * progmodes/compile.el (compilation-start):
5148 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5149 (compilation-filter-hook): Doc fix.
5150
797c735c
DD
51512011-05-09 Deniz Dogan <deniz@dogan.se>
5152
5153 * wdired.el: Remove outdated installation comment. Fix usage
5154 comment.
5155
5f4b1dfe
JB
51562011-05-09 Juanma Barranquero <lekktu@gmail.com>
5157
5158 * misc.el: Implement new command `list-dynamic-libraries'.
5159 (list-dynamic-libraries--loaded-only-p): New variable.
5160 (list-dynamic-libraries--refresh): New function.
5161 (list-dynamic-libraries): New command.
5162
4c44026c
CY
51632011-05-09 Chong Yidong <cyd@stupidchicken.com>
5164
488086f4
SM
5165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5166 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5167 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5168 higher priority to avoid clobbering by gnu.
5169
027f966d
CY
51702011-05-08 Chong Yidong <cyd@stupidchicken.com>
5171
5172 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5173 if the face has existing theme settings (Bug#8454).
5174
085f5d7d
CY
51752011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5176
488086f4
SM
5177 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5178 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5179
2a86a00c
RS
5180 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5181 special file names `.' and `..' (Bug#8259).
5182
d9c54a06
CY
51832011-05-08 Chong Yidong <cyd@stupidchicken.com>
5184
488086f4
SM
5185 * progmodes/grep.el (grep-mode-font-lock-keywords):
5186 Remove buffer-changing entries.
d9c54a06
CY
5187 (grep-filter): New function.
5188 (grep-mode): Add it to compilation-filter-hook.
5189
5190 * progmodes/compile.el (compilation-filter-hook)
5191 (compilation-filter-start): New defvars.
5192 (compilation-filter): Call compilation-filter-hook prior to
5193 updating the process mark.
5194
c4662635
SM
51952011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5198
b0512a1d
EZ
51992011-05-07 Eli Zaretskii <eliz@gnu.org>
5200
605c9376
EZ
5201 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5202 mailclient-send-it even if window-system is nil. (Bug#8595)
5203
c4662635
SM
5204 * term/w32console.el (terminal-init-w32console):
5205 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
5206 background-mode. (Bug#8597)
5207
d1dc2cc2
SM
52082011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 Make bytecomp.el understand that defmethod defines funs (bug#8631).
5211 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5212 New functions.
5213 (defgeneric, eieio--defmethod): Use them.
5214 (eieio-defgeneric): Remove.
5215 (defmethod): Call defgeneric in a way visible to the byte-compiler.
5216
915d1300
GM
52172011-05-07 Glenn Morris <rgm@gnu.org>
5218
a3961c3e
GM
5219 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5220 Use let rather than let*.
5221 (timeclock-find-discrep): Remove unused local.
5222
314347b9
GM
5223 * calendar/diary-lib.el (diary-comment-start): Doc fix.
5224
915d1300
GM
5225 * calendar/appt.el (appt-time-msg-list): Doc fix.
5226
275b59b0
NF
52272011-05-06 Noah Friedman <friedman@splode.com>
5228
5229 * apropos.el (apropos-print-doc): Only use
5230 emacs-lisp-docstring-fill-column when it is bound to an integer,
5231 per that variable's documentation.
5232
6c19f744
SM
52332011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 5236 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 5237
60f884b2
GM
52382011-05-06 Glenn Morris <rgm@gnu.org>
5239
5006e634
GM
5240 * calendar/appt.el (appt-message-warning-time): Doc fix.
5241 (appt-warning-time-regexp): New option.
5242 (appt-make-list): Respect appt-message-warning-time.
5243
548d0a63
GM
5244 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5245 New options.
5246 (diary-add-to-list): Strip comments from the displayed string.
5247 (diary-mode): Set comment-start and comment-end.
5248
60f884b2
GM
5249 * vc/diff-mode.el (smerge-refine-subst): Declare.
5250 (diff-refine-hunk): Don't require smerge-mode when compiling.
5251
989681bb
JB
52522011-05-06 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * simple.el (list-processes): Return nil as the docstring says.
5255
a6bc05e1
MA
52562011-05-05 Michael Albinus <michael.albinus@gmx.de>
5257
5258 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5259 to "".
5260 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5261 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5262 determining of binary transfer. (Bug#7383)
5263
23c22e9a
MA
52642011-05-05 Michael Albinus <michael.albinus@gmx.de>
5265
c4662635
SM
5266 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5267 Fix port computation bug. (Bug#8618)
23c22e9a 5268
0bff894f
GM
52692011-05-05 Glenn Morris <rgm@gnu.org>
5270
b8296902
GM
5271 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5272
1f522ce8
GM
5273 * simple.el (shell-dynamic-complete-functions)
5274 (comint-dynamic-complete-functions): Declare.
5275
cf5bee67
GM
5276 * net/network-stream.el (gnutls-negotiate):
5277 * simple.el (tabulated-list-print): Fix declarations.
5278
5279 * progmodes/gud.el (syntax-symbol, syntax-point):
5280 Remove unnecessary and incorrect declarations.
5281
0bff894f
GM
5282 * emacs-lisp/check-declare.el (check-declare-scan):
5283 Handle byte-compile-initial-macro-environment in bytecomp.el
5284
9869b3ae
SM
52852011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 Fix earlier half-done eieio-defmethod change (bug#8338).
5288 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5289 Streamline and change calling convention.
5290 (defmethod): Adjust accordingly and simplify.
5291 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5292 new eieio--defmethod.
5293 (slot-boundp): Minor CSE simplification.
5294
9c1d5ac5
MZ
52952011-05-05 Milan Zamazal <pdm@zamazal.org>
5296
5297 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5298 (glasses-make-readable): Use glasses-separate-capital-groups.
5299
455c834e
JB
53002011-05-05 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5303 (warning-series): Doc fix.
5304 (display-warning): Don't try to create the buffer if we just found it.
5305
9ed7c8cb
CY
53062011-05-04 Chong Yidong <cyd@stupidchicken.com>
5307
5308 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5309 (autoload-find-generated-file): New function.
5310 (generate-file-autoloads): Bind generated-autoload-file to
5311 buffer-file-name.
9869b3ae
SM
5312 (update-file-autoloads, update-directory-autoloads):
5313 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
5314 output file (Bug#7989).
5315 (batch-update-autoloads): Doc fix.
5316
0898ca10
JB
53172011-05-04 Juanma Barranquero <lekktu@gmail.com>
5318
5319 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5320
31dfb76c
GM
53212011-05-04 Glenn Morris <rgm@gnu.org>
5322
f330b642
GM
5323 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5324 function, so it follows changes in calendar-date-style.
5325 (diary-fancy-date-matcher): New function.
5326 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5327 (diary-fancy-font-lock-fontify-region-function):
5328 Use diary-fancy-date-pattern as a function.
5329
31dfb76c
GM
5330 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5331 non-numbers for `year' etc pseudo-variables. (Bug#8583)
5332
48e79d6a
TZ
53332011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
5334
5335 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5336 instead of positional arguments. Allow :keylist and :crlfiles
5337 arguments.
5338 (open-gnutls-stream): Call it.
5339
5340 * net/network-stream.el (network-stream-open-starttls): Adjust to
5341 call `gnutls-negotiate' with :process and :hostname arguments.
5342
dd5a5ee0
SM
53432011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5344
ef80fc09
SM
5345 * minibuffer.el (completion--message): New function.
5346 (completion--do-completion, minibuffer-complete)
5347 (minibuffer-force-complete, minibuffer-complete-word): Use it.
5348 (completion--do-completion): Don't ignore completion-auto-help when in
5349 icomplete-mode.
5350
dd5a5ee0
SM
5351 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
5352 internal encoding (e.g. tibetan zero is not whitespace).
5353 (global-whitespace-mode): Prefer save-current-buffer.
5354 (whitespace-trailing-regexp): Remove useless save-match-data.
5355 (whitespace-empty-at-bob-regexp): Minor simplification.
5356
b7d22a83
CY
53572011-05-03 Chong Yidong <cyd@stupidchicken.com>
5358
5359 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
5360
5192af46
AM
53612011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5362
5363 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 5364 Use `concat' to create string for insertion.
5192af46 5365
5767d190
SM
53662011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
5369 Avoid open-line which runs post-self-insert-hook.
5370 (bibtex-fill-entry): Remove unused `end' var.
5371
bf242939
AM
53722011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
5373
5767d190
SM
5374 * textmodes/ispell.el (ispell-add-per-file-word-list):
5375 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 5376
25666126
LL
53772011-05-03 Leo Liu <sdl.web@gmail.com>
5378
5379 * isearch.el (isearch-yank-pop): New command.
5767d190 5380 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
5381 (isearch-forward): Mention it.
5382
52d3c2d0
SM
53832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5384
1bcace58
SM
5385 * simple.el (minibuffer-complete-shell-command): Remove.
5386 (minibuffer-local-shell-command-map): Use completion-at-point.
5387 (read-shell-command): Setup completion vars here instead.
5388 (read-expression-map): Bind TAB to symbol completion.
5389
52d3c2d0
SM
5390 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
5391 error directly rather via storing it into `results'.
5392
35813471
LL
53932011-05-02 Leo Liu <sdl.web@gmail.com>
5394
5395 * vc/diff.el: Fix description.
5396
e793a940
LMI
53972011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398
5399 * server.el (server-eval-at): New function.
5400
8de66e05
LMI
54012011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5402
5403 * net/network-stream.el (open-network-stream): Take a :nowait
5404 parameter and pass it on to `make-network-process'.
5405 (network-stream-open-plain): Ditto.
5406
dcb79f20
AS
54072011-04-30 Andreas Schwab <schwab@linux-m68k.org>
5408
5409 * faces.el (face-spec-set-match-display): Don't match toolkit
5410 options on terminal frames.
5411
14a7fbd8
SM
54122011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5413
7eabc1be
SM
5414 * progmodes/pascal.el: Use lexical binding.
5415 (pascal-mode-map): Remove author preferences.
5416
14a7fbd8
SM
5417 * pcomplete.el (pcomplete-std-complete): Don't abuse
5418 completion-at-point.
5419
50f84510
JB
54202011-04-28 Juanma Barranquero <lekktu@gmail.com>
5421
6e087a44
JB
5422 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
5423 removing code that has been dead since 1991 or so.
5424
50f84510
JB
5425 * startup.el (command-line): When warning about "_emacs", use a
5426 delayed warning to allow the user to filter it out.
5427
0ba690bd
DD
54282011-04-28 Deniz Dogan <deniz@dogan.se>
5429
5430 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
5431 user has not joined.
5432
08abfaad
SM
54332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5434
5435 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
5436 aren't any completions at point.
5437
638f053a
JB
54382011-04-28 Juanma Barranquero <lekktu@gmail.com>
5439
5440 * subr.el (display-delayed-warnings): New function.
5441 (delayed-warnings-hook): New variable.
5442
8fff8daa
SM
54432011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5444
08abfaad
SM
5445 * minibuffer.el (completion-at-point, completion-help-at-point):
5446 Don't presume that a given completion-at-point-function will always
5447 use the same calling convention.
5448
8fff8daa
SM
5449 * pcomplete.el (pcomplete-completions-at-point):
5450 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
5451 pcomplete-seen is non-nil.
5452 (pcomplete-comint-setup): Also recognize the new comint/shell
5453 completion functions.
5454 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
5455 pcomplete-seen is non-nil.
5456
841a1577 54572011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 5458
841a1577 5459 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 5460 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 5461 the first character in the entry. This allows for code to add its
211ec907
UJ
5462 own uid to the entry.
5463 (icalendar--convert-float-to-ical): Add export of
5464 `diary-float'-entries save for those with the optional DAY
5465 argument.
5466
2a782793
DC
54672011-04-27 Daniel Colascione <dan.colascione@gmail.com>
5468
5469 * subr.el (shell-quote-argument): Use alternate escaping strategy
5470 when we spot a variable reference in a string.
5471
0438ce91
DC
54722011-04-26 Daniel Colascione <dan.colascione@gmail.com>
5473
5474 * cus-start.el (all): Define customization for debug-on-event.
5475
841a1577 54762011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
5477
5478 * subr.el (shell-quote-argument): Escape correctly under Windows.
5479
d090ed6c
SM
54802011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
5483
bfd31217
MA
54842011-04-25 Michael Albinus <michael.albinus@gmx.de>
5485
d090ed6c
SM
5486 * net/tramp.el (tramp-process-actions): Add POS argument.
5487 Delete region between POS and (pos).
bfd31217 5488
d090ed6c
SM
5489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5490 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
5491 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
5492
5493 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
5494 position in `tramp-process-actions' call.
5495
5496 * net/trampver.el: Update release number.
5497
e92f3bd3
SM
54982011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5499
850256b5
SM
5500 * custom.el (defcustom): Obey lexical-binding.
5501
e92f3bd3
SM
5502 Fix octave-inf completion problems reported by Alexander Klimov.
5503 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
5504 Inherit from octave-mode-syntax-table.
5505 (inferior-octave-mode): Set info-lookup-mode.
5506 (inferior-octave-completion-at-point): New function.
5507 (inferior-octave-complete): Use it and completion-in-region.
5508 (inferior-octave-dynamic-complete-functions): Use it as well, and use
5509 comint-filename-completion.
5510 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
5511 symbol elements which shouldn't be word elements.
5512 (octave-font-lock-keywords, octave-beginning-of-defun)
5513 (octave-function-header-regexp): Adjust regexps accordingly.
5514 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
5515
cd22b309
JB
55162011-04-25 Juanma Barranquero <lekktu@gmail.com>
5517
5518 * net/gnutls.el (gnutls-errorp): Declare before first use.
5519
8b492194
TZ
55202011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
5521
5522 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
5523 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
5524 default trustfile exists before going to use it. Add missing
5525 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
5526 Reported by Claudio Bley <claudio.bley@gmail.com>.
5527 (open-gnutls-stream): Add usage example.
5528
5529 * net/network-stream.el (network-stream-open-starttls): Give host
5530 parameter to `gnutls-negotiate'.
5531 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 5532 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 5533
841a1577 55342011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 5535
cd22b309
JB
5536 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5537 Use correct match group (bug#8438).
05842630 5538
3ba7869c
CY
55392011-04-24 Chong Yidong <cyd@stupidchicken.com>
5540
512e3ae1
CY
5541 * emacs-lisp/package.el (package-built-in-p): Fix typo.
5542 (package-menu--generate): New arg specifying packages to show.
5543 (package-menu-refresh, package-menu-execute, list-packages):
5544 Callers changed.
5545 (package-show-package-list): New function, replacing deleted
5546 package--list-packages (renamed because it is non-internal).
5547
5548 * finder.el (finder-list-matches): Use package-show-package-list
5549 instead of deleted package--list-packages.
5550
e92f3bd3
SM
5551 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5552 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
5553 (vc-annotate-mode-map): Bind it to RET.
5554
7031be6d
UR
55552011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5556
5557 * progmodes/etags.el (next-file): Don't use set-buffer to change
5558 buffers (Bug#8478).
5559
4ef177aa
CY
55602011-04-24 Chong Yidong <cyd@stupidchicken.com>
5561
c8d173eb
CY
5562 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5563
4ef177aa
CY
5564 * apropos.el (apropos-label-face): Avoid variable-pitch face.
5565 (apropos-accumulator): Doc fix.
5566 (apropos-function, apropos-macro, apropos-command)
5567 (apropos-variable, apropos-face, apropos-group, apropos-widget)
5568 (apropos-plist): Add face property.
5569 (apropos-symbols-internal): Fix indentation.
5570 (apropos-print): Simplify help, and recognize apropos-multi-type.
5571 (apropos-print-doc): Use button-type-get to extract the button's
5572 face property. Fill docstring (Bug#8352).
5573
4ffd0d6b 55742011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
5575
5576 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5577
c6c32125 5578 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 5579 (mpuz-mode-map): Use mapc.
c6c32125
JB
5580 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5581 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5582 Fix typos in docstrings.
5583
58d468b4
JB
5584 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5585 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5586
6470c3c6
JB
5587 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5588
4ffd0d6b 55892011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
5590
5591 * minibuffer.el (completion--do-completion): Avoid the "Next char
5592 not unique" prompt if icomplete-mode is enabled (Bug#5849).
5593
3ad8bad0
CY
5594 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5595 mouse-2 into unread-command-events, it is interpreted correctly.
5596
71d73c9c 5597 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 5598 (image-toggle-display): Doc fix.
71d73c9c 5599
841a1577 56002011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 5601
4ffd0d6b
GM
5602 * textmodes/page.el (what-page): Use line-number-at-pos to
5603 calculate line number (Bug#6825).
6e1dbaa9 5604
c2fb1b60
JB
56052011-04-22 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * eshell/esh-mode.el (find-tag-interactive): Declare function.
5608 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5609 Pass argument NO-DEFAULT to `find-tag-interactive'.
5610
e02f48d7
JB
56112011-04-22 Juanma Barranquero <lekktu@gmail.com>
5612
5613 Lexical-binding cleanup.
5614
5615 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5616 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5617 * progmodes/ada-prj.el (ada-prj-initialize-values)
5618 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5619 (ada-prj-show-value):
5620 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5621 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5622 (antlr-invalidate-context-cache, antlr-options-menu-filter)
5623 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5624 * progmodes/bug-reference.el (bug-reference-push-button):
5625 * progmodes/fortran.el (fortran-line-length):
5626 * progmodes/glasses.el (glasses-change):
5627 * progmodes/octave-mod.el (octave-fill-paragraph):
5628 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5629 (python-pdbtrack-grub-for-buffer, python-sentinel):
5630 * progmodes/sql.el (sql-save-connection):
5631 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5632 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5633 Mark unused parameters.
5634
5635 * progmodes/compile.el (compilation--flush-directory-cache)
5636 (compilation--flush-parse, compile-internal): Mark unused parameters.
5637 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5638 (compilation-next-error-function): Remove unused variable `timestamp'.
5639
5640 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5641 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5642
5643 * progmodes/dcl-mode.el (dcl-end-of-command):
5644 Remove unused variable `start'.
5645 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5646 (dcl-option-value-basic, dcl-option-value-offset)
5647 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5648 Mark unused parameters.
5649 (dcl-save-local-variable): Remove unused variable `val'.
5650 (mode): Declare.
5651
5652 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5653 Mark unused parameters.
5654 (delphi-ignore-changes): Move before first use.
5655 (delphi-charset-token-at): Remove unused variable `start'.
5656 (delphi-else-start): Remove unused variable `if-count'.
5657 (delphi-comment-block-start, delphi-comment-block-end):
5658 Remove unused variable `kind'.
5659 (delphi-indent-line): Remove unused variable `new-point'.
5660
5661 * progmodes/ebrowse.el (ebrowse-files-list)
5662 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5663 Mark unused parameters. Don't quote `lambda'.
5664 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5665 Don't quote `lambda'.
5666 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5667 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5668 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5669 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5670 Use `ignore-errors'.
5671 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5672 (ebrowse-view/find-file-and-search-pattern)
5673 (ebrowse-view/find-member-declaration/definition):
5674 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5675 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5676 Rename parameter PREFIX-ARG to PREFIX.
5677 (ebrowse-tags-read-name): Remove unused variables `start' and
5678 `member-info'.
5679 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5680 to `tags-file'.
5681
5682 * progmodes/etags.el (local-find-tag-hook): Declare.
5683 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
5684 Mark unused parameters.
5685
5686 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
5687 (executable-interpret): Mark unused parameter.
5688
5689 * progmodes/flymake.el (flymake-process-sentinel)
5690 (flymake-after-change-function)
5691 (flymake-create-temp-with-folder-structure)
5692 (flymake-get-include-dirs-dot): Mark unused parameters.
5693 (flymake-safe-delete-directory): Remove unused variable `err'.
5694
5695 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
5696 (speedbar-timer-fn, speedbar-line-text)
5697 (speedbar-change-expand-button-char, speedbar-delete-subblock)
5698 (speedbar-center-buffer-smartly): Declare functions.
5699 (gdb-find-watch-expression): Remove unused variable `array'.
5700 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
5701 (gdb-starting): Mark unused parameters.
5702 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
5703 (gdb-table-string): Remove unused variable `res'.
5704 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
5705 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
5706 (gdb-display-buffer): Remove unused variable `cur-size'.
5707
5708 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
5709 allow lexical-binding compilation.
5710 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
5711 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
5712 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
5713 Mark unused parameters.
5714 (gud-gdb-marker-filter): Remove unused variable `match'.
5715 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
5716 lambda expressions and funcall them, instead of using `fset'.
5717
5718 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
5719 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
5720
5721 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
5722 variable `header-beg'; use `let'.
5723
5724 * progmodes/icon.el (indent-icon-exp): Remove unused variables
5725 `restart', `last-sexp' and `at-do'.
5726
5727 * progmodes/js.el (js--debug): Mark unused parameter.
5728 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
5729 (js--splice-into-items): Remove unused variable `item'.
5730 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
5731
5732 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
5733 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
5734 (makefile-complete): Remove unused variable `try'.
5735 (makefile-fill-paragraph, makefile-match-function-end):
5736 Mark unused parameters.
5737
5738 * progmodes/octave-inf.el (inferior-octave-complete):
5739 Remove unused variable `proc'.
5740 (inferior-octave-output-digest): Mark unused parameter.
5741
5742 * progmodes/perl-mode.el (perl-calculate-indent):
5743 Remove unused variable `err'.
5744
5745 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
5746 (prolog-indent-line): Mark unused parameters.
5747 (prolog-indent-line): Remove unused variable `beg'.
5748
5749 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
5750 (reporter-dont-compact-list): Declare.
5751
5752 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
5753 Remove unused variable `char'.
5754 (sh-debug): Mark unused parameter.
5755 (sh-get-indent-info): Remove unused variable `start'.
5756 (sh-calculate-indent): Remove unused variable `var'.
5757
5758 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
5759 (simula-electric-keyword): Remove unused variable `null'.
5760 (simula-search-backward, simula-search-forward): Remove unused
5761 variables `begin' and `end'.
5762
5763 * progmodes/vera-mode.el (vera-guess-basic-syntax):
5764 Remove unused variable `pos'.
5765 (vera-electric-tab, vera-comment-uncomment-region):
5766 Mark unused parameters.
5767 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
5768
7ede3b65
CY
57692011-04-22 Chong Yidong <cyd@stupidchicken.com>
5770
5771 * emacs-lisp/package.el (package--builtins, package-alist)
5772 (package-load-descriptor, package-built-in-p, package-activate)
5773 (define-package, package-installed-p)
5774 (package-compute-transaction, package-buffer-info)
5775 (package--push): Doc fix. Distinguish more clearly between
5776 version strings and version lists.
5777
121656e9
JB
57782011-04-21 Juanma Barranquero <lekktu@gmail.com>
5779
5780 Lexical-binding cleanup.
5781
5782 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5783 (5x5-make-mutate-best):
5784 * play/fortune.el (fortune-in-buffer):
5785 * play/gomoku.el (gomoku-init-display):
5786 * play/solitaire.el (solitaire, solitaire-do-check):
5787 * play/tetris.el (tetris-default-update-speed-function):
5788 Mark unused parameters.
5789
5790 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5791 (bubbles--shift): Remove unused variable `char-org'.
5792 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
5793 (bubbles--show-images): Remove unused variable `char'.
5794
5795 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5796 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5797 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5798 (decipher-analyze-buffer): Use ?\s.
5799 (decipher-make-checkpoint): Remove unused variable `mapping'.
5800
5801 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5802
5803 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5804 Remove unused variable `result'; use `let'.
5805
5806 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5807 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5808 (gametree-children-shown-p, gametree-compute-reduced-score):
5809 Use `ignore-errors'.
5810
5811 * play/handwrite.el (ps-lpr-switches): Declare.
5812 (handwrite): Remove unused variables `pmin' and `lastp'.
5813
5814 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5815
5816 * play/landmark.el (landmark-init-display)
5817 (landmark-update-naught-weights): Mark unused parameters.
5818 (landmark-y): Remove unused variable `noise'. Simplify.
5819 (landmark-human-plays): Remove unused variable `score'.
5820
5821 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5822 (mpuz-try-proposal): Remove unused variable `game'.
5823
5824 * play/zone.el (life-patterns): Declare.
5825
80f499c7
JB
58262011-04-20 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * vc/vc.el (ediff-vc-internal): Declare function.
5829
024ff170
SM
58302011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5831
c0a193ea
SM
5832 * shell.el: Use lexical-binding and std completion UI.
5833 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5834 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5835 comint-preoutput-filter-functions rather than on
5836 comint-output-filter-functions.
5837 (shell-command-completion, shell--command-completion-data)
5838 (shell-filename-completion, shell-environment-variable-completion)
5839 (shell-c-a-p-replace-by-expanded-directory): New functions.
5840 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5841 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5842 (shell-dynamic-complete-environment-variable): Use them.
5843 (shell-dynamic-complete-as-environment-variable)
5844 (shell-dynamic-complete-as-command): Remove.
5845 (shell-match-partial-variable): Match past point.
5846 * comint.el: Clean up use of completion-at-point-functions.
5847 (comint-completion-at-point): New function.
5848 (comint-mode): Use it completion-at-point-functions.
5849 (comint-dynamic-complete): Make it obsolete.
5850 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5851 (comint-c-a-p-replace-by-expanded-history): New function.
5852 (comint-dynamic-complete-functions)
5853 (comint-replace-by-expanded-history): Use it.
5854 * minibuffer.el (completion-table-with-terminator): Allow dynamic
5855 termination strings. Try harder to avoid second try-completion.
5856 (completion-in-region-mode-map): Disable bindings that don't work yet.
5857
2dbaa080
SM
5858 * comint.el: Use lexical-binding. Require CL.
5859 (comint-dynamic-complete-functions): Use comint-filename-completion.
5860 (comint-completion-addsuffix): Tweak custom type.
5861 (comint-filename-completion, comint--common-suffix)
5862 (comint--common-quoted-suffix, comint--table-subvert)
5863 (comint--complete-file-name-data): New functions.
5864 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5865 (comint-dynamic-list-filename-completions): Use them.
5866 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 5867
2dbaa080
SM
5868 * minibuffer.el (completion-in-region-mode):
5869 Keep completion-in-region-mode--predicate global.
5870 (completion-in-region--postch):
5871 Assume completion-in-region-mode--predicate is not null.
5872
c79a6f38
SM
5873 * progmodes/flymake.el (flymake-start-syntax-check-process):
5874 Obey `dir'. Simplify.
5875
024ff170
SM
5876 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5877 we're in VC after all.
5878
1c6c854e
CS
58792011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
5880
5881 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 5882 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
5883 (vc-version-diff): Use vc-diff-build-argument-list-internal.
5884
bed7f140
SM
58852011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5886
332e62ab
SM
5887 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5888 add sanity check.
5889
bed7f140
SM
5890 * obsolete/erc-hecomplete.el: Make obsolete.
5891 * obsolete/: Standardize obsolescence info in the header.
5892
f195c582
GM
58932011-04-20 Glenn Morris <rgm@gnu.org>
5894
5895 * calendar/solar.el (solar-horizontal-coordinates):
5896 Use the longitude argument rather than `calendar-longitude'.
5897 (solar-date-next-longitude): Remove unused locals.
5898
cb79b8c0
VJL
58992011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5900
5901 * whitespace.el: New version 13.2.1.
5902
59032011-04-20 felix <EmacsWiki> (tiny change)
5904
d8e4b68b 5905 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
5906 switching between major modes on a file.
5907
602ea69d
SM
59082011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
5911 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
5912 multi-line comments as well.
5913
06b60517
JB
59142011-04-19 Juanma Barranquero <lekktu@gmail.com>
5915
5916 Lexical-binding cleanup.
5917
5918 * arc-mode.el (archive-mode-revert):
5919 * cmuscheme.el (scheme-interactively-start-process):
5920 * custom.el (custom-initialize-delay):
5921 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
5922 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
5923 * emacs-lock.el (emacs-lock-clear-sentinel):
5924 * ezimage.el (defezimage):
5925 * follow.el (follow-avoid-tail-recenter):
5926 * fringe.el (set-fringe-mode-1):
5927 * generic-x.el (bat-generic-mode-compile):
5928 * help-mode.el (help-info-variable, help-do-xref)
5929 (help-mode-revert-buffer):
5930 * help.el (view-emacs-todo):
5931 * iswitchb.el (iswitchb-completion-help):
5932 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
5933 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
5934 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
5935 * locate.el (locate-update):
5936 * longlines.el (longlines-encode-region)
5937 (longlines-after-change-function):
5938 * outline.el (outline-isearch-open-invisible):
5939 * ps-def.el (declare-function, charset-dimension, char-width)
5940 (encode-char):
5941 * ps-mule.el (ps-mule-plot-string):
5942 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
5943 (recentf-edit-list-select, recentf-edit-list-validate)
5944 (recentf-open-files-action):
5945 * rect.el (delete-whitespace-rectangle-line)
5946 (rectangle-number-line-callback):
5947 * register.el (window-configuration-to-register)
5948 (frame-configuration-to-register):
5949 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
5950 * select.el (xselect-convert-to-string, xselect-convert-to-length)
5951 (xselect-convert-to-targets, xselect-convert-to-delete)
5952 (xselect-convert-to-filename, xselect-convert-to-charpos)
5953 (xselect-convert-to-lineno, xselect-convert-to-colno)
5954 (xselect-convert-to-os, xselect-convert-to-host)
5955 (xselect-convert-to-user, xselect-convert-to-class)
5956 (xselect-convert-to-name, xselect-convert-to-integer)
5957 (xselect-convert-to-atom, xselect-convert-to-identity):
5958 * subr.el (declare, ignore, process-kill-without-query)
5959 (text-clone-maintain):
5960 * terminal.el (te-get-char, te-tic-sentinel):
5961 * tool-bar.el (tool-bar-make-keymap):
5962 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
5963 * type-break.el (type-break-mode, type-break-noninteractive-query):
5964 * view.el (View-back-to-mark):
5965 * wid-browse.el (widget-browse-action, widget-browse-widget)
5966 (widget-browse-widgets, widget-browse-sexp):
5967 * widget.el (define-widget-keywords):
5968 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
5969 Mark unused parameters.
5970
5971 * align.el (align-adjust-col-for-rule): Mark unused parameter.
5972 (align-areas): Remove unused variable `look'.
5973 (align-region): Remove unused variables `real-end' and `pos-list'.
5974
5975 * apropos.el (apropos-score-doc): Remove unused variable `i'.
5976
5977 * bindings.el (mode-line-modified, mode-line-remote):
5978 Mark unused parameters.
5979 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
5980
5981 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
5982 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
5983
5984 * comint.el (comint-history-isearch-pop-state)
5985 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
5986 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
5987 (comint-substitute-in-file-name): Doc fix.
5988
5989 * completion.el (cmpl-statistics-block): Mark unused parameter.
5990 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
5991 (save-completions-to-file, load-completions-from-file):
5992 Remove unused local variable `e'.
5993
5994 * composite.el (compose-chars): Remove unused variable `len'.
5995 (lgstring-insert-glyph): Remove unused variable `g'.
5996 (compose-glyph-string): Remove unused variables `ascent',
5997 `descent', `lbearing' and `rbearing'.
5998 (compose-glyph-string-relative): Remove unused variables
5999 `lbearing', `rbearing' and `wadjust'.
6000 (compose-gstring-for-graphic): Remove unused variables `header',
6001 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6002 (compose-gstring-for-terminal): Remove unused variables `header'
6003 and `nchars'. Use `let', not `let*'.
6004
6005 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6006 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6007 (Custom-buffer-done, custom-buffer-create-internal)
6008 (custom-browse-visibility-action, custom-browse-group-tag-action)
6009 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6010 (widget-magic-mouse-down-action, custom-toggle-parent)
6011 (custom-add-parent-links, custom-toggle-hide-variable)
6012 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6013 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6014 (custom-face-menu-create, custom-variable-menu-create, get)
6015 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6016 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6017 (customize-apropos): Remove unused variable `tests'.
6018 (custom-group-value-create): Remove unused variable `hidden-p'.
6019 (sort-fold-case): Declare.
6020
6021 * cus-theme.el (custom-reset-standard-faces-list)
6022 (custom-reset-standard-variables-list): Declare.
6023 (customize-create-theme, custom-theme-revert, custom-theme-write)
6024 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6025 Mark unused parameters.
6026
6027 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6028
6029 * delim-col.el (delimit-columns-max): Move defvar before first use.
6030
6031 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6032 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6033
6034 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6035 (auto-insert): Declare.
6036 (desktop-restore-file-buffer): Rename desktop-* parameters;
6037 mark unused ones.
6038 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6039 (desktop-buffer): Rename desktop-* parameters.
6040
6041 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6042 (dframe-reposition-frame-xemacs, dframe-help-echo)
6043 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6044 Mark unused parameters.
6045
6046 * dired-aux.el (backup-extract-version-start, overwrite-query)
6047 (overwrite-backup-query, rename-regexp-query)
6048 (rename-non-directory-query): Declare.
6049 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6050 (dired-add-entry): Remove unused variable `orig-file-name'.
6051 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6052 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6053 `dired-copy-preserve-time' directly.
6054 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6055 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6056
6057 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6058 (dired-virtual-revert, dired-make-relative-symlink):
6059 Mark unused parameters.
6060 (manual-program): Declare.
6061 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6062 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6063 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6064
6065 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6066
6067 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6068
6069 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6070 Declare.
6071
6072 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6073
6074 * electric.el (Electric-command-loop): Rename parameter
6075 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6076
6077 * expand.el (expand-in-literal): Remove unused variable `here'.
6078
6079 * facemenu.el (facemenu-add-new-color):
6080 Remove unused variable `docstring'.
6081
6082 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6083 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6084 (face-attr-construct): Mark unused parameter. Doc fix.
6085 (read-color): Remove unused variable `hex-string'.
6086
6087 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6088 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6089 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6090 (display-buffer-other-frame): Remove unused variable `old-window'.
6091 (kill-buffer-hook): Declare.
6092 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6093 Mark unused parameters.
6094 (after-find-file): Pass 1 to `auto-save-mode', not t.
6095
6096 * files-x.el (auto-insert): Declare.
6097 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6098
6099 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6100 variable `buf'. Mark unused parameter.
06b60517
JB
6101 (find-lisp-insert-directory): Mark unused parameter.
6102
6103 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6104 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6105 (format-common-tail): Remove, unused.
6106 (format-deannotate-region): Remove unused variable `loc'.
6107 (format-annotate-region): Remove unused variable `p'.
6108 (format-annotate-single-property-change): Remove unused variables
6109 `default' and `tail'.
6110
6111 * forms.el (read-file-filter): Declare.
6112 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6113
6114 * frame.el (frame-creation-function-alist): Mark unused parameter.
6115 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6116
6117 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6118 Remove unused parameters.
6119 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6120 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6121
6122 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6123 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6124 (hfy-prepare-tag-map): Mark unused parameters.
6125 (htmlfontify-buffer): Use `called-interactively-p'.
6126
6127 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6128 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6129 (ibuffer-do-occur): Mark unused parameters.
6130 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6131 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6132
6133 * ibuffer.el: Don't quote `lambda'.
6134 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6135 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6136 Mark unused parameters.
6137
6138 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6139 (ido-completing-read): Mark unused parameters.
6140 (ido-copy-current-word): Mark unused parameters;
6141 remove unused variable `name'.
6142 (ido-sort-merged-list): Remove unused parameter `dirs'.
6143
6144 * ielm.el (ielm-input-sender): Mark unused parameter.
6145 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6146 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6147 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6148 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6149 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6150
6151 * image-dired.el (image-dired-display-thumbs): Remove unused
6152 variables `curr-file' and `count'.
6153 (image-dired-remove-tag): Remove unused variable `start'.
6154 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6155 variable `curr-file'
6156 (image-dired-rotate-original): Remove unused variable `temp-file'.
6157 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6158 Remove unused variable `file'.
6159 (image-dired-gallery-generate): Remove unused variable `curr'.
6160 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6161
6162 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6163
6164 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6165
6166 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6167
6168 * isearch.el (minibuffer-history-symbol): Declare.
6169 (isearch-edit-string): Remove unused variable `err'.
6170 (isearch-message-prefix, isearch-message-suffix):
6171 Mark unused parameters.
6172
6173 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6174
6175 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6176
6177 * makesum.el (double-column): Remove unused variable `cnt'.
6178
6179 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6180 (ido-ignore-item-temp-list): Declare.
6181
6182 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6183 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6184 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6185 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6186 `mouse-col-delta'.
6187
6188 * mouse-sel.el (mouse-extend-internal):
6189 Remove unused variable `orig-window-frame'.
6190
6191 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6192 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6193 Move declarations before first use.
6194 (pcomplete-opt): Mark unused parameters; doc fix.
6195
6196 * proced.el (proced-revert): Mark unused parameter.
6197 (proced-send-signal): Remove unused variable `err'.
6198
6199 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6200 Rename parameter PREFIX-ARG to ARG.
6201 (ps-basic-plot-string, ps-basic-plot-whitespace):
6202 Mark unused parameters.
6203
6204 * replace.el (replace-count): Define.
6205 (occur-revert-function): Mark unused parameters.
6206 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6207 (isearch-case-fold-search, isearch-string): Declare.
6208 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6209 bind `case-fold-search'. Remove unused variables `beg' and `end',
6210 and simplify.
6211 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6212 COUNT and bind `replace-count'.
6213 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6214 to COUNT.
6215
6216 * savehist.el (print-readably, print-string-length): Declare.
6217
6218 * shadowfile.el (shadow-expand-cluster-in-file-name):
6219 Remove unused variable `cluster'.
6220 (shadow-copy-file): Remove unused variable `i'.
6221 (shadow-noquery, shadow-clusters, shadow-site-cluster)
6222 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6223 (shadow-define-literal-group, shadow-define-regexp-group)
6224 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6225
6226 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6227 (shell): Use `called-interactively-p'.
6228 (shell-directory-tracker): Remove unused variable `chdir-failure'.
6229
6230 * simple.el (compilation-context-lines, comint-file-name-quote-list)
6231 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6232 (delete-backward-char): Remove unused variable `ocol'.
6233 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6234 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6235 (event-apply-hyper-modifier, event-apply-shift-modifier)
6236 (event-apply-control-modifier, event-apply-meta-modifier):
6237 Mark unused parameters.
6238 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6239 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6240
6241 * speedbar.el (speedbar-ignored-directory-expressions)
6242 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6243 (speedbar-find-file, speedbar-dir-follow)
6244 (speedbar-directory-buttons-follow, speedbar-tag-find)
6245 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6246 (speedbar-buffers-line-directory, speedbar-buffer-click):
6247 Mark unused parameters.
6248 (speedbar-tag-file): Remove unused variable `mode'.
6249 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6250
6251 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6252
6253 * talk.el (talk): Remove unused variable `display'.
6254
6255 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6256 (tar-write-region-annotate): Mark unused parameter.
6257
6258 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6259 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6260 Declare them, wrapped in `with-no-warnings' to avoid replacing one
6261 warning by another.
6262
6263 * time-stamp.el (time-stamp-string-preprocess):
6264 Remove unused variable `require-padding'.
6265
6266 * tree-widget.el (widget-glyph-enable): Declare.
6267 (tree-widget-action): Mark unused parameter.
6268
6269 * w32-fns.el (x-get-selection): Mark unused parameter.
6270 (autoload-make-program, generated-autoload-file): Declare.
6271
6272 * wdired.el (wdired-revert): Mark unused parameters.
6273 (wdired-xcase-word): Remove unused variable `err'.
6274
6275 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6276 (whitespace-help-scroll): Remove unused variable `data-help'.
6277
6278 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6279 (widget-image-insert, widget-after-change, default)
6280 (widget-default-format-handler, widget-default-notify)
6281 (widget-default-prompt-value, widget-info-link-action)
6282 (widget-url-link-action, widget-function-link-action)
6283 (widget-variable-link-action, widget-file-link-action)
6284 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6285 (widget-field-prompt-internal, widget-field-action, widget-field-match)
6286 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6287 (widget-insert-button-action, widget-delete-button-action, visibility)
6288 (widget-documentation-link-action, widget-documentation-string-action)
6289 (widget-const-prompt-value, widget-regexp-match, symbol)
6290 (widget-coding-system-prompt-value)
6291 (widget-key-sequence-value-to-external, sexp)
6292 (widget-sexp-value-to-internal, character, vector, cons)
6293 (widget-choice-prompt-value, widget-boolean-prompt-value)
6294 (widget-color--choose-action): Mark unused parameters.
6295 (widget-item-match-inline, widget-choice-match-inline)
6296 (widget-checklist-match, widget-checklist-match-inline)
6297 (widget-group-match): Rename parameter VALUES to VALS.
6298 (widget-field-value-set): Remove unused variable `size'.
6299 (widget-color-action): Remove unused variables `value' and `start'.
6300
6301 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 6302 variable `dir'. Doc fix.
06b60517
JB
6303 (windmove-find-other-window): Don't pass it.
6304
6305 * window.el (count-windows): Mark unused parameter.
6306 (bw-adjust-window): Remove unused variable `err'.
6307
6308 * woman.el (woman-file-name): Remove unused variable `default'.
6309 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6310 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6311 (global-font-lock-mode): Declare.
6312 (woman-decode-region): Mark unused parameter.
6313 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6314
6315 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6316 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6317 (x-dnd-handle-moz-url): Remove unused variable `title'.
6318 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6319
6320 * xml.el (xml-parse-tag, xml-parse-attlist):
6321 Remove unused variable `pos'.
6322
bc4f7f3d
GM
63232011-04-19 Glenn Morris <rgm@gnu.org>
6324
6325 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6326 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6327 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6328 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6329 * calendar/cal-html.el (cal-html-insert-minical):
6330 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6331 (calendar-mark-date-pattern):
6332 Prefix "unused" locals.
6333
6334 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6335 optional argument `style'.
6336
6337 * calendar/appt.el (appt-make-list):
6338 * calendar/cal-china.el (calendar-chinese-date-string):
6339 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6340 (diary-hebrew-yahrzeit):
6341 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6342 * calendar/calendar.el (calendar-generate-window):
6343 * calendar/time-date.el (time-to-days):
6344 Remove unused local variables.
6345
16a43933
CY
63462011-04-18 Chong Yidong <cyd@stupidchicken.com>
6347
6348 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
6349 glyphless-char-display table.
6350 (tabulated-list-glyphless-char-display): New var.
6351
7eed1860
SS
63522011-04-18 Sam Steingold <sds@gnu.org>
6353
6354 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
6355 to acknowledgments.
6356
4d2d1ccd
GM
63572011-04-17 Glenn Morris <rgm@gnu.org>
6358
6359 * calendar/diary-lib.el (diary-sexp-entry):
6360 * calendar/holidays.el (holiday-sexp):
6361 Set debug-on-error rather than the removed stack-trace-on-error.
6362
239da61d
GM
63632011-04-16 Glenn Morris <rgm@gnu.org>
6364
6365 * progmodes/f90.el: Use lexical-binding.
6366 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
6367
8b05752a
SM
63682011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6369
daca8ba5
SM
6370 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
6371 (mail-mode): Setup mailalias completion here instead.
6372 * mail/mailalias.el: Use lexical-binding.
6373 (pattern, mailalias-done): Declare dynamic.
6374 (mail-completion-at-point-function): New function, from mail-complete.
6375 (mail-complete): Use it.
6376 (mail-completion-expand): New function.
6377 (mail-get-names): Use it.
6378 (mail-directory, mail-directory-process, mail-directory-stream):
6379 Don't use `pattern' for lexically bound arg.
6380
6f542485
SM
6381 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
6382
037e7c3f
SM
6383 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
6384 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
6385 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
6386
8b05752a
SM
6387 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
6388 (byte-save-window-excursion, byte-temp-output-buffer-setup)
6389 (byte-interactive-p): Define them again, for use when inlining
6390 old code.
6391
49093f60
JB
63922011-04-15 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * loadup.el: Use `string-to-number', not `string-to-int'.
6395
b5b8e7de
SM
63962011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
6399 gud-gdb-complete-command.
6400 (gud-gdb-completions): New function, from gud-gdb-complete-command.
6401 (gud-gdb-completion-at-point): New function.
6402 (gud-gdb-completions): Remove.
6403
f42efeb5
MA
64042011-04-14 Michael Albinus <michael.albinus@gmx.de>
6405
49093f60
JB
6406 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
6407 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
6408 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
6409 whether `executable-find' is bound.
f42efeb5
MA
6410
6411 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
6412
e240cc21
SM
64132011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * minibuffer.el (completion-in-region-mode-predicate)
6416 (completion-in-region-mode--predicate): New vars.
6417 (completion-in-region, completion-in-region--postch)
6418 (completion-in-region-mode): Use them.
6419 (completion--capf-wrapper): Also return the hook function.
6420 (completion-at-point, completion-help-at-point):
6421 Adjust and provide a predicate.
c2bd2ab0
SM
6422
6423 Preserve arg names for advice of subr and lexical functions (bug#8457).
6424 * help-fns.el (help-function-arglist): Consolidate the subr and
6425 new-byte-code cases. Add argument `preserve-names' to extract names
6426 from the docstring when needed.
6427 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
6428 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
6429 (ad-arglist): Use help-function-arglist's new arg.
6430 (ad-definition-type): Use cond.
6431
c183f693
JB
64322011-04-13 Juanma Barranquero <lekktu@gmail.com>
6433
06641a47
JB
6434 * autorevert.el (auto-revert-handler):
6435 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
6436 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
6437 Don't quote lambda.
6438
c183f693
JB
6439 * image-mode.el (image-transform-set-scale):
6440 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
6441
1e3b6001
G
64422011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
6443
6444 * net/network-stream.el (network-stream-open-starttls): Only do
6445 opportunistic STARTTLS upgrades if we have built-in gnutls support.
6446 Upgrades via gnutls-cli are too slow to be done opportunistically.
6447
2d6af8dd
JB
64482011-04-12 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * dframe.el (dframe-current-frame): Remove spurious quote.
6451
c0749a51
GM
64522011-04-12 Glenn Morris <rgm@gnu.org>
6453
088d0d61
GM
6454 * calendar/cal-tex.el (cal-tex-end-document):
6455 Try to automatically use latin1 input if needed.
6456
c0749a51
GM
6457 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
6458 Don't try to cons a mark onto an empty element.
6459
5c90fde0
LL
64602011-04-11 Leo Liu <sdl.web@gmail.com>
6461
6462 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
6463 buffers.
6464 (ido-kill-buffer-at-head): Support killing virtual buffers.
6465
369e974d
CY
64662011-04-10 Chong Yidong <cyd@stupidchicken.com>
6467
6468 * minibuffer.el (completion-show-inline-help): New var.
6469 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
6470 (minibuffer-force-complete, minibuffer-complete-word):
6471 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
6472
6473 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
6474 to avoid interference from inline help (Bug#5849).
6475
37f1c930
LL
64762011-04-10 Leo Liu <sdl.web@gmail.com>
6477
099c39a4
JB
6478 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6479 Fix typo.
37f1c930 6480
a32d4040
CY
64812011-04-09 Chong Yidong <cyd@stupidchicken.com>
6482
6483 * image-mode.el (image-toggle-display-image): Signal an error if
6484 not in Image mode.
6485 (image-transform-mode, image-transform-resize)
6486 (image-transform-set-rotation): Doc fix.
daca8ba5 6487 (image-transform-set-resize): Delete.
a32d4040
CY
6488 (image-transform-set-scale, image-transform-fit-to-height)
6489 (image-transform-fit-to-width): Handle image-toggle-display-image
6490 and image-transform-resize directly.
6491
099c39a4 64922011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
6493
6494 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
6495 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
6496 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
6497 (doc-view-mode-map): Add bindings for the new functions.
6498
099c39a4 64992011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 6500
4d61f28d 6501 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
6502 Fix typo in docstring.
6503
3726838a
EZ
65042011-04-08 Eli Zaretskii <eliz@gnu.org>
6505
04f33f1e
EZ
6506 * files.el (file-size-human-readable): Produce one digit after
6507 decimal, like "ls -lh" does.
6508
6509 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
6510 the file size representation.
6511
3726838a
EZ
6512 * simple.el (list-processes): If async subprocesses are not
6513 available, error out with a clear error message.
6514
cbb59342
CY
65152011-04-08 Chong Yidong <cyd@stupidchicken.com>
6516
6517 * help.el (help-form-show): New function, to be called from C.
6518 Put help-form output in a buffer named differently than *Help*.
6519
e3971c44
EZ
65202011-04-08 Eli Zaretskii <eliz@gnu.org>
6521
6522 * files.el (file-size-human-readable): New function.
6523
6524 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
6525 computing the representation inline. Don't require `cl'.
6526
12544bbe
GM
65272011-04-08 Glenn Morris <rgm@gnu.org>
6528
a1de6c6a
GM
6529 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6530
3c4671f4
GM
6531 * net/browse-url.el (browse-url-firefox):
6532 Test system-type, not system-configuration.
6533
b605679c
GM
6534 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6535 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6536 Use log-edit-empty-buffer-p. (Bug#7598)
6537
56442f0c
GM
6538 * net/rlogin.el (rlogin-process-connection-type): Simplify.
6539 (rlogin-mode-map): Initialize in the defvar.
6540 (rlogin): Use ignore-errors.
6541
12544bbe
GM
6542 * replace.el (occur-mode-map): Some fixes for menu items.
6543
eb237b0f
AH
65442011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6545
6546 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
6547
7d668f2c
CY
65482011-04-06 Chong Yidong <cyd@stupidchicken.com>
6549
e67a13ab
CY
6550 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6551 issuing unused warnings.
6552
6553 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6554 macro directly.
6555
7d668f2c
CY
6556 * simple.el: Lisp reimplement of list-processes. Based on an
6557 earlier reimplementation by Leo Liu, but using tabulated-list.el.
6558 (process-menu-mode): New major mode.
6559 (list-processes--refresh, list-processes):
6560 (process-menu-visit-buffer): New functions.
6561
6562 * files.el (save-buffers-kill-emacs): Don't assume any return
6563 value of list-processes, which is undocumented anyway.
6564
a83ec3c9
CY
65652011-04-06 Chong Yidong <cyd@stupidchicken.com>
6566
6567 * emacs-lisp/tabulated-list.el: New file.
6568
e91a96fe
CY
6569 * emacs-lisp/package.el: Use Tabulated List mode.
6570 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6571 (package-menu-mode): Derive from tabulated-list-mode. Set up the
6572 table format using Tabulated List mode variables.
6573 (package--push): New macro, replacing package-list-maybe-add.
6574 (package-menu--generate): Use package--push. Renamed from
6575 package--generate-package-list.
6576 (package-menu-refresh, list-packages): Use it.
daca8ba5 6577 (package-menu--print-info): Rename from package-print-package.
e91a96fe 6578 Return insertion data instead of inserting it directly.
099c39a4
JB
6579 (package-menu-describe-package, package-menu-execute):
6580 Use tabulated-list-get-id.
e91a96fe
CY
6581 (package-menu-mark-delete, package-menu-mark-install)
6582 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
6583 (package-menu-mark-obsolete-for-deletion):
6584 Use tabulated-list-put-tag.
e91a96fe
CY
6585 (package--list-packages, package-menu-revert)
6586 (package-menu-get-package, package-menu-get-version)
6587 (package-menu-sort-by-column): Functions deleted.
6588 (package-menu-package-list, package-menu-sort-key): Vars deleted.
6589 (package-menu--status-predicate, package-menu--version-predicate)
6590 (package-menu--name-predicate)
6591 (package-menu--description-predicate): Handle arguments in the
6592 Tabulated List format.
6593 (package-list-packages-no-fetch): Call list-packages.
6594
3e214b50
JB
65952011-04-06 Juanma Barranquero <lekktu@gmail.com>
6596
6597 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 6598 (after-find-file): Don't bind it.
3e214b50
JB
6599 (revert-buffer-in-progress-p): New variable.
6600 (revert-buffer): Bind it.
6601 Pass nil for `after-find-file-from-revert-buffer'.
6602
6603 * saveplace.el (save-place-find-file-hook): Use new variable
6604 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6605
3f0f1700
GM
66062011-04-06 Glenn Morris <rgm@gnu.org>
6607
c0274801
GM
6608 * Makefile.in (AUTOGEN_VCS): New variable.
6609 (autoloads): Use $AUTOGEN_VCS.
6610
3f0f1700
GM
6611 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6612 * calendar/calendar.el (calendar-mode-map):
6613 Check for toolkit scroll bars. (Bug#8305)
6614
41ea9e48
CY
66152011-04-05 Chong Yidong <cyd@stupidchicken.com>
6616
6617 * minibuffer.el (completion-in-region--postch)
6618 (completion-in-region-mode): Remove unnecessary messages.
6619
6194c800
JB
66202011-04-05 Juanma Barranquero <lekktu@gmail.com>
6621
33256f14
JB
6622 * font-lock.el (font-lock-refresh-defaults):
6623 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6624 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6625
6194c800
JB
6626 * info.el (Info-directory-list, Info-read-node-name-2)
6627 (Info-split-parameter-string): Doc fixes.
6628 (Info-virtual-nodes): Reflow docstring.
6629 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6630 (Info-apropos-toc-nodes, info-finder, Info-get-token)
6631 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6632 Fix typos in docstrings.
6633 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6634 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6635 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6636 (Info-restore-desktop-buffer): Mark unused parameters.
6637 (Info-directory-find-file, Info-directory-find-node)
6638 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6639 (Info-virtual-index-find-node, Info-apropos-find-file)
6640 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 6641 Mark unused parameters; fix typos in docstrings.
6194c800
JB
6642 (Info-virtual-index): Remove unused local variable `nodename'.
6643
b87a8200 66442011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 6645
b87a8200
DD
6646 * net/rcirc.el: Update my e-mail address.
6647 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 6648
3b2ff876
CY
66492011-04-05 Chong Yidong <cyd@stupidchicken.com>
6650
6651 * startup.el (command-line): Save the cursor's theme-face
6652 directly, instead of using face-override-spec.
6653
6654 * custom.el (load-theme): Minor optimization in assigning faces.
6655
8d17e7ca
JB
66562011-04-04 Juanma Barranquero <lekktu@gmail.com>
6657
6658 * help-fns.el (describe-variable): Complete all variables having
6659 documentation, including keywords.
6660 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6661
2fbc1934
JB
66622011-04-04 Juanma Barranquero <lekktu@gmail.com>
6663
6664 Convert to lexical-binding.
6665
6666 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6667 (bs--get-marked-string, bs--get-modified-string)
6668 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6669 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6670 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6671
6672 * ehelp.el (electric-help-execute-extended)
6673 (electric-help-ctrl-x-prefix):
6674 * hexl.el (hexl-revert-buffer-function):
6675 * linum.el (linum-after-change, linum-after-scroll):
6676 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6677
6678 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6679
74f50695
DU
66802011-04-04 Daiki Ueno <ueno@unixuser.org>
6681
6682 * epa-dired.el:
6683 * epa-mail.el:
6684 * epa-hook.el:
6685 * epa-file.el:
6686 * epa.el:
6687 * epg.el: Use lexical binding.
6688
c11325f7
CY
66892011-04-03 Chong Yidong <cyd@stupidchicken.com>
6690
0d9e9a12
CY
6691 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
6692
c11325f7 6693 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
6694 dictionary case for flyspell-mark-duplications-exceptions.
6695 Use regexp matching for languages.
c11325f7
CY
6696 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
6697 default dictionary (Bug#7926).
6698
da91b5f2
CY
66992011-04-02 Chong Yidong <cyd@stupidchicken.com>
6700
099c39a4
JB
6701 * emacs-lisp/package.el (package--with-work-buffer):
6702 Recognize https URLs.
da91b5f2 6703
099c39a4
JB
6704 * net/network-stream.el: Move from gnus/proto-stream.el.
6705 Change prefix to network-stream throughout.
da91b5f2
CY
6706 (open-protocol-stream): Merge into open-network-stream, leaving
6707 open-protocol-stream as an alias. Handle nil BUFFER args.
6708
6709 * subr.el (open-network-stream): Move to net/network-stream.el.
6710
afa8e9f6
GM
67112011-04-02 Glenn Morris <rgm@gnu.org>
6712
1d2e369d
GM
6713 * find-dired.el (find-exec-terminator): New option.
6714 (find-ls-option): Test for -ls support.
6715 (find-ls-subdir-switches): Test for -b in find-ls-option.
6716 (find-dired, find-grep-dired): Doc fixes.
6717 (find-dired): Use find-exec-terminator.
6718
8abb7da8 6719 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
6720 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
6721 (find-name-arg): Remove purecopy.
8abb7da8 6722
f3ca7378
GM
6723 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
6724 (grep-compute-defaults): Check for `-exec COMMAND +' support.
6725 Set grep-find-use-xargs, grep-find-command, and grep-find-template
6726 accordingly. Don't add the null-device if not needed.
6727
afa8e9f6
GM
6728 * files.el (save-some-buffers): Doc fix.
6729
35eae264
EZ
67302011-04-02 Eli Zaretskii <eliz@gnu.org>
6731
6732 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
6733
26b51db5
JB
67342011-04-01 Juanma Barranquero <lekktu@gmail.com>
6735
6736 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
6737 Use `dolist' rather than `mapcar'.
6738
7200d79c
SM
67392011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6740
03408648 6741 Add lexical binding.
7200d79c 6742
03408648
SM
6743 * subr.el (apply-partially): Use new closures rather than CL.
6744 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
6745 (dolist, dotimes): Use slightly different expansion for lexical code.
6746 (functionp): Move to C.
6747 (letrec): New macro.
6748 (with-wrapper-hook): Use it and apply-partially instead of CL.
6749 (eval-after-load): Preserve lexical-binding.
6750 (save-window-excursion, with-output-to-temp-buffer): Turn them
6751 into macros.
7200d79c 6752
03408648
SM
6753 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
6754
6755 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
6756 than the arglist.
6757 (help-add-fundoc-usage): Don't add `Not documented'.
6758 (help-function-arglist): Handle closures, subroutines, and new
6759 byte-code-functions.
6760 (help-make-usage): Remove leading underscores.
6761 (describe-function-1): Handle closures.
6762 (describe-variable): Use special-variable-p for completion.
6763
6764 * files.el (lexical-binding): Declare safe.
f488fb65 6765
03408648
SM
6766 * emacs-lisp/pcase.el: Don't use destructuring-bind.
6767 (pcase--memoize): Rename from pcase-memoize. Change weakness.
6768 (pcase): Add `let' pattern.
6769 Change memoization so it actually works.
6770 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
6771 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
6772 <let>: New case.
f488fb65 6773
03408648
SM
6774 * emacs-lisp/macroexp.el: Use lexical binding.
6775 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
6776 Don't convert ' to #' without checking that it's indeed quoting
6777 a lambda.
6778
6779 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 6780 Use eval-sexp-add-defvars.
03408648
SM
6781 (eval-sexp-add-defvars): New fun.
6782
6783 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6784
6785 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6786 Don't autoload.
6787 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6788 than the internal `byte-compile-lambda'.
6789 (defmethod): Don't hide code under quotes.
6790 (eieio-defmethod): New `code' argument.
6791
6792 * emacs-lisp/eieio-comp.el: Remove.
6793
6794 * emacs-lisp/edebug.el (edebug-eval-defun)
6795 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6796 (edebug-toggle): Avoid `eval'.
6797
6798 * emacs-lisp/disass.el (disassemble-internal): Handle new
6799 `closure' objects.
6800 (disassemble-1): Handle new byte codes.
6801
6802 * emacs-lisp/cl.el (pushnew): Silence warning.
6803
6804 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6805 (cl-byte-compile-throw): Remove.
6806 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6807
6808 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6809 closures.
6810
6811 * emacs-lisp/cconv.el: New file.
6812
6813 * emacs-lisp/bytecomp.el: Use lexical binding instead of
6814 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
6815 (byte-compile-initial-macro-environment):
6816 Handle declare-function here.
6817 (byte-compile--lexical-environment): New var.
6818 (byte-stack-ref, byte-stack-set, byte-discardN)
6819 (byte-discardN-preserve-tos): New lap codes.
6820 (byte-interactive-p): Don't use any more.
6821 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6822 New macros.
6823 (byte-compile-lapcode): Use them and handle new lap codes.
6824 (byte-compile-obsolete): Remove.
6825 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6826 (byte-compile-arglist-warn): Check late def of inlinable funs.
6827 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6828 since they should have been expanded by now.
6829 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6830 (byte-compile-from-buffer): Remove unused second arg.
6831 (byte-compile-preprocess): New function.
6832 (byte-compile-toplevel-file-form): New function to distinguish
6833 file-form calls from outside from file-form calls from hunk-handlers.
6834 (byte-compile-file-form): Simplify.
6835 (byte-compile-file-form-defsubst): Remove.
6836 (byte-compile-file-form-defmumble): Simplify now that
6837 byte-compile-lambda always returns a byte-code-function.
6838 (byte-compile): Preprocess.
6839 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6840 Remove, not used any more.
6841 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6842 (byte-compile-make-args-desc): New funs.
6843 (byte-compile-lambda): Handle lexical functions. Always return
6844 a byte-code-function.
6845 (byte-compile-reserved-constants): New var, to make up room for
6846 closed-over variables.
6847 (byte-compile-constants-vector): Obey it.
6848 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6849 (byte-compile-macroexpand-declare-function): New function.
6850 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6851 byte-code-functions.
6852 (byte-compile-form): Check obsolescence here.
6853 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6854 (byte-compile-variable-ref): Remove.
6855 (byte-compile-dynamic-variable-op): New fun.
6856 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6857 (byte-compile-variable-set): New funs.
6858 (byte-compile-discard): Add 2 args.
6859 (byte-compile-stack-ref, byte-compile-stack-set)
6860 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6861 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6862 macroexpand-all instead.
6863 (byte-compile-quote-form): Remove.
6864 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6865 (byte-compile-bind, byte-compile-unbind): New funs.
6866 (byte-compile-let): Handle let* and lexical binding.
6867 (byte-compile-let*): Remove.
6868 (byte-compile-catch, byte-compile-unwind-protect)
6869 (byte-compile-track-mouse, byte-compile-condition-case):
6870 Handle a new :fun-body form, used for lexical scoping.
6871 (byte-compile-save-window-excursion)
6872 (byte-compile-with-output-to-temp-buffer): Remove.
6873 (byte-compile-defun): Simplify.
6874 (byte-compile-stack-adjustment): New fun.
6875 (byte-compile-out): Use it.
6876 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6877
6878 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6879 handler any more.
6880
6881 * emacs-lisp/byte-opt.el: Use lexical binding.
6882 (byte-inline-lapcode): Remove (to bytecomp).
6883 (byte-compile-inline-expand): Pay attention to inlining to/from
6884 lexically bound code.
6885 (byte-compile-unfold-lambda): Don't handle byte-code-functions
6886 any more.
6887 (byte-optimize-form-code-walker): Don't handle save-window-excursion
6888 any more and don't call compiler-macros.
6889 (byte-compile-splice-in-already-compiled-code): Remove.
6890 (byte-code): Don't inline any more.
6891 (disassemble-offset): Receive `bytes' as argument rather than via
6892 dynamic scoping.
6893 (byte-compile-tag-number): Declare before first use.
6894 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6895 `return' even if make-spliceable.
6896 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6897 obsolete interactive-p.
6898 (byte-optimize-lapcode): Optimize new lap-codes.
6899 Don't trip up on new form of `byte-constant' lap code.
6900
6901 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6902
6903 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
6904
6905 * custom.el (custom-initialize-default, custom-declare-variable):
6906 Use `defvar'.
6907
6908 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
6909 New variables.
6910 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
6911 (COMPILE_FIRST): Add macroexp and cconv.
6912 * makefile.w32-in: Mirror changes in Makefile.in.
6913
6914 * vc/cvs-status.el:
6915 * vc/diff-mode.el:
6916 * vc/log-edit.el:
6917 * vc/log-view.el:
6918 * vc/smerge-mode.el:
6919 * textmodes/bibtex-style.el:
6920 * textmodes/css.el:
6921 * startup.el:
6922 * uniquify.el:
da91b5f2
CY
6923 * minibuffer.el:
6924 * newcomment.el:
6925 * reveal.el:
6926 * server.el:
6927 * mpc.el:
6928 * emacs-lisp/smie.el:
6929 * doc-view.el:
6930 * dired.el:
03408648
SM
6931 * abbrev.el: Use lexical binding.
6932
0f0c1f27
EZ
69332011-04-01 Eli Zaretskii <eliz@gnu.org>
6934
6935 * info.el (info-display-manual): New function.
6936
c82b2579
SM
69372011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
6940
221ddf68
TH
69412011-03-31 Tassilo Horn <tassilo@member.fsf.org>
6942
6943 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 6944 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 6945
cba6e77e
GM
69462011-03-31 Glenn Morris <rgm@gnu.org>
6947
e040639f
GM
6948 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
6949
cba6e77e
GM
6950 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
6951
6d0f1c9e
CS
69522011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
6953
6954 * progmodes/python.el (python-default-interpreter)
6955 (python-python-command-args, python-jython-command-args)
6956 (python-which-shell, python-which-args, python-which-bufname)
6957 (python-file-queue, python-comint-output-filter-function)
6958 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
6959 variables and functions.
6960
3e2d70fd
SM
69612011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
6964 (completion-in-region-mode): New minor mode.
6965 (completion-in-region): Use it.
6966 (completion-in-region--data, completion-in-region-mode-map): New vars.
6967 (completion-in-region--postch): New function.
6968 (completion--capf-misbehave-funs, completion--capf-safe-funs):
6969 New vars.
6970 (completion--capf-wrapper): New function.
6971 (completion-at-point): Use it to track well-behavedness of
6972 hook functions.
6973 (completion-help-at-point): New command.
6974
f3e4086c
JM
69752011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
6976
6977 * vc/add-log.el (add-change-log-entry): Don't use whitespace
6978 syntax class to search for whitespace on a single line
6979 (Message-ID: <4D938140.4030905@redhat.com>).
6980
eb7ffc14
LL
69812011-03-30 Leo Liu <sdl.web@gmail.com>
6982
6983 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
6984 New commands.
6985 (edit-abbrevs-map): Bind them here.
6986 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
6987
d806ab68
KM
69882011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
6989
6990 * allout.el (allout-hide-by-annotation, allout-flag-region):
6991 Reduce possibility of overlay leakage by making them volatile.
6992
6993 * allout-widgets.el (allout-widgets-tally): Define as nil so the
6994 hash is not shared between buffers. Mode initialization is
6995 responsible for giving it a useful starting value.
6996 (allout-item-span): Reduce possibility of overlay leakage by
6997 making them volatile.
6998 (allout-widgets-count-buttons-in-region): Add diagnostic function
6999 for tracking down button overlay leaks.
7000
ea622834
LL
70012011-03-29 Leo Liu <sdl.web@gmail.com>
7002
7003 * ido.el (ido-read-internal): Use the default history var
7004 minibuffer-history if no HISTORY is specified.
7005
b62f8267
G
70062011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7007
03408648
SM
7008 * net/imap.el (imap-shell-open, imap-process-connection-type):
7009 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7010 Kerberos, SSL, other subprocesses.
7011
947b6566
LL
70122011-03-28 Leo Liu <sdl.web@gmail.com>
7013
7014 * abbrev.el (abbrev-table-empty-p): New function.
7015 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7016 nonempty ones. (Bug#5937)
7017
5ffb62aa
JD
70182011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7019
7020 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7021
7a097943
LL
70222011-03-27 Leo Liu <sdl.web@gmail.com>
7023
7024 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7025 for foreground and background colors.
7026 (ansi-color-make-color-map): Adapt.
7027
c5b40130
LL
70282011-03-25 Leo Liu <sdl.web@gmail.com>
7029
1f48f7d2
LL
7030 * midnight.el (midnight-time-float): Remove. Note it calculates
7031 the microsecond component incorrectly and seconds-to-time does the
7032 same job.
625897ec 7033 Remove redundant (require 'timer).
1f48f7d2 7034
c5b40130
LL
7035 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7036 (ido-completions): Remove unused arguments. (Bug#8329)
7037
d86d2721
SM
70382011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * minibuffer.el (completion--flush-all-sorted-completions):
7041 Remove itself from hook.
7042 (completion-at-point): Let the functions perform the completion
7043 immediately and return nil or t.
7044 * comint.el (comint-dynamic-complete-functions): Now identical to
7045 completion-at-point-functions.
7046 (comint-dynamic-list-input-ring): Remove unused var `index'.
7047 (comint--match-partial-filename, comint--unquote&expand-filename):
7048 New funs, split from comint-match-partial-filename.
7049 (comint-dynamic-complete): Use completion-at-point.
7050 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7051
e8974c48
DA
70522011-03-24 Drew Adams <drew.adams@oracle.com>
7053
7054 * thingatpt.el: Support `defun'.
7055
def71b5e
LL
70562011-03-23 Leo Liu <sdl.web@gmail.com>
7057
cb5af48e
LL
7058 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7059
def71b5e
LL
7060 * help-mode.el (help-mode-finish): Tweak regexp.
7061
927c53e7
GM
70622011-03-23 Glenn Morris <rgm@gnu.org>
7063
18d05bed
GM
7064 * eshell/esh-opt.el (eshell-eval-using-options):
7065 Do not bind unused local variable `eshell-option-stub'.
7066
927c53e7
GM
7067 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7068
9d0da923
JB
70692011-03-22 Juanma Barranquero <lekktu@gmail.com>
7070
7071 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7072 keymap variable in `with-no-warnings' to avoid a warning when the
7073 keymap has been already `defconst'ed.
7074
4b978a67
LL
70752011-03-22 Leo Liu <sdl.web@gmail.com>
7076
7077 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7078 encode all chars in abbrevs; otherwise use emacs-mule or
7079 utf-8-emacs. (Bug#8308)
7080
5fd62452
JB
70812011-03-22 Juanma Barranquero <lekktu@gmail.com>
7082
0b1596c6
JB
7083 * simple.el (backward-delete-char-untabify):
7084 Avoid warning about using `delete-backward-char'.
7085
5fd62452
JB
7086 * image.el (image-type-file-name-regexps): Make it variable.
7087 `imagemagick-register-types' modifies it, and the user may want
7088 to add new extensions for known image types.
7089 (imagemagick-register-types): Throw error if not using ImageMagick.
7090
0b4e93f1
LL
70912011-03-22 Leo Liu <sdl.web@gmail.com>
7092
7093 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7094 located before rcirc-prompt-end-marker.
7095 (rcirc-complete): Error if point is not after rcirc prompt.
7096 Handle the case when table is nil.
9882e214 7097 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7098
fccee4ab
CY
70992011-03-22 Chong Yidong <cyd@stupidchicken.com>
7100
7101 * custom.el (custom--inhibit-theme-enable): Make it affect only
7102 custom-theme-set-variables and custom-theme-set-faces.
7103 (provide-theme): Ignore custom--inhibit-theme-enable.
7104 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7105 (custom-enabling-themes): Delete variable.
d86d2721
SM
7106 (enable-theme): Accept only loaded themes as arguments.
7107 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7108 (custom-enabled-themes): Forbid themes from setting this.
7109 Eliminate use of custom-enabling-themes.
7110 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7111
af896da6
LL
71122011-03-21 Leo Liu <sdl.web@gmail.com>
7113
7114 * ido.el (ido-read-internal): Add ido-selected to history instead
7115 of user input.
7116
78f64af0
SM
71172011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * subr.el (deferred-action-list, deferred-action-function):
7120 Mark obsolete.
7121
b16ac1ec
LL
71222011-03-21 Leo Liu <sdl.web@gmail.com>
7123
810f7698
LL
7124 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7125 change on 2011-02-13 (bug#8309).
7126
b16ac1ec
LL
7127 * minibuffer.el (read-file-name-function): Change default value.
7128 (read-file-name--defaults): Rename from read-file-name-defaults.
7129 (read-file-name-default): Rename from read-file-name.
7130 (read-file-name): Call read-file-name-function.
7131
4e05e67e
GM
71322011-03-21 Glenn Morris <rgm@gnu.org>
7133
7134 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7135 Doc fixes.
7136
4359915b
CY
71372011-03-21 Chong Yidong <cyd@stupidchicken.com>
7138
7139 * cus-theme.el: Add missing provide statement.
7140 (customize-create-theme): Extract theme value correctly.
7141 (custom-theme-visit-theme): Autoload.
7142 (customize-create-theme): Prompt before inserting default faces.
7143
1fe275ee
JB
71442011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7145
7146 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7147 units and musical notes.
7148
3ec03f7e
LL
71492011-03-20 Leo <sdl.web@gmail.com>
7150
7151 * ido.el (ido-read-internal): Use completing-read-default.
7152 (ido-completing-read): Fix compatibility with completing-read.
7153
7d476bde
CO
71542011-03-20 Christian Ohler <ohler@gnu.org>
7155
7156 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7157 (ert-delete-all-tests): Use `called-interactively-p' rather than
7158 `interactive-p'.
7159 (ert--make-xrefs-region): Respect END.
7160
fe0fb33e
CY
71612011-03-19 Chong Yidong <cyd@stupidchicken.com>
7162
ff854b0b
CY
7163 * dired-aux.el (dired-create-directory): Signal an error if the
7164 directory already exists (Bug#8246).
7165
fe0fb33e
CY
7166 * facemenu.el (list-colors-display): Call list-faces-display
7167 inside with-help-window.
7168 (list-colors-print): Use display property to align the final
7169 column, instead of checking window-width.
7170
576bce32
EZ
71712011-03-19 Eli Zaretskii <eliz@gnu.org>
7172
4d61f28d 7173 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7174 windows-nt systems.
7175 (emerge-protect-metachars): Quote correctly for ms-dos and
7176 windows-nt systems.
7177
89c41d68 71782011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7179
7180 * info.el (info-initialize): Replace all uses of `:' with
7181 path-separator for compatibility with non-Unix systems.
7182 Cache quoting of path-separator. (Bug#8258)
7183
b14e3e21 71842011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
7185
7186 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7187 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7188 (mouse-avoidance-mode): Fix typos in docstrings.
7189
4525ce3e
CY
71902011-03-19 Chong Yidong <cyd@stupidchicken.com>
7191
7192 * startup.el (package-subdirectory-regexp): Move from package.el.
7193 Omit \\` and \\', and let callers add them.
7194
7195 * emacs-lisp/package.el (package-strip-version)
7196 (package-load-all-descriptors): Add \\` and \\' to
7197 package-subdirectory-regexp before using it.
7198 (package-untar-buffer): New arg DIR; ensure that file untars only
7199 into this expected directory. Remove superfluous delete-region.
7200 (package-unpack): Caller changed.
7201 (package-tar-file-info): Use package-subdirectory-regexp.
7202
a904a09a 72032011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 7204
a904a09a
SM
7205 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7206 diff-mode-shared-map (bug#8284).
7207 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
7208
72092011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7210
7211 * calendar/time-date.el (format-seconds): Use assoc instead of
7212 assoc-string, since assoc-string doesn't exist in XEmacs.
7213
171fc304
JB
72142011-03-17 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * custom.el (custom-known-themes): Reflow docstring.
7217 (custom-theme-load-path): Fix typo in docstring.
7218 (load-theme): Fix typo in error message.
7219 (custom-available-themes, custom-variable-theme-value):
7220 Use `let', not `let*'.
7221
d71990a1
JB
72222011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7223
7224 * calc/README: Mention inclusion of musical notes.
7225
7226 * calc/calc-units.el (calc-lu-quant): Rename from
7227 `calc-logunits-quantity'.
7228 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7229 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7230 (calc-db): Rename from `calc-dblevel'.
7231 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7232 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7233 (calc-np): Rename from `calc-nplevel'.
7234 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7235 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7236 (calc-lu-plus): Rename from `calc-logunits-add'.
7237 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7238 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7239 (calc-lu-minus): Rename from `calc-logunits-sub'.
7240 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7241 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7242 (calc-lu-times): Rename from `calc-logunits-mul'.
7243 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7244 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7245 (calc-lu-divide): Rename from `calc-logunits-div'.
7246 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7247 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7248
7249 * calc/calc-ext.el (calc-init-extensions): Update the names of the
7250 functions being autoloaded.
7251
7252 * calc/calc.el (calc-lu-power-reference): Rename from
7253 `calc-logunits-power-reference'.
7254 (calc-lu-field-reference): Rename from
7255 `calc-logunits-field-reference'.
7256
7257 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7258
40c2934b
SM
72592011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * minibuffer.el (completion-all-sorted-completions):
7262 Use :completion-cycle-penalty text property if present.
7263
b0911414
KM
72642011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
7265
7266 * allout.el (allout-yank-processing): Adjust for new rebulleting
7267 regime so bullet being yanked is used without prompting the user
7268 for a choice.
7269
8a05b668
JB
72702011-03-16 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * startup.el (command-line): Warn the user that _emacs is deprecated.
7273
5ba5fb81
JB
72742011-03-16 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7277 (delphi-verbose, delphi-comment-face, delphi-string-face)
7278 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7279 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7280 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7281 (delphi-new-comment-line, delphi-font-lock-defaults)
7282 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7283 Fix typos in docstrings.
7284
2dab465b
KM
72852011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
7286
5ba5fb81 7287 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
7288 Invert the roles of character and string values for INSTEAD, so a
7289 string is used for the more common case of a defaulting prompt.
7290
0adf5618
SM
72912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * progmodes/ruby-mode.el (ruby-backward-sexp):
7294 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7295 * play/gamegrid.el (gamegrid-make-face):
7296 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7297 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7298 * notifications.el (notifications-notify):
7299 * net/xesam.el (xesam-search-engines):
7300 * net/quickurl.el (quickurl-list-insert):
7301 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7302
d72700e5
CY
73032011-03-15 Chong Yidong <cyd@stupidchicken.com>
7304
7305 * startup.el (command-line): Update package subdirectory regexp.
7306
49c5410a
SM
73072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7308
c6eee9aa
SM
7309 * allout.el (allout-abbreviate-flattened-numbering)
7310 (allout-mode-deactivate-hook): Fix up obsolescence "date".
7311
49c5410a
SM
7312 * subr.el (read-char-choice): Only show the cursor after the prompt,
7313 not after the answer.
7314
047b2bb9
KR
73152011-03-15 Kevin Ryde <user42@zip.com.au>
7316
7317 * help-fns.el (variable-at-point): Skip leading quotes, if any
7318 (bug#8253).
7319
0a57d256
SM
73202011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7321
7322 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7323 warning message.
7324
77c992bc
MA
73252011-03-14 Michael Albinus <michael.albinus@gmx.de>
7326
7327 * shell.el (shell): When called interactively, offer to change the
7328 shell file name on remote hosts.
7329
eebc475d
TZ
73302011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
7331
7332 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7333 integration for LDAP parameters. The host, base, user or binddn,
7334 and secret tokens can be specified in a netrc file, for instance.
7335 This is optional because an `auth-source' parameter must be
7336 specified in the search attributes.
7337
9d05d1ba
JB
73382011-03-13 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * help.el (describe-mode): Link to the mode's definition (bug#8185).
7341
09d9db2c
GM
73422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
7345 into declaration. Remove redundant and harmful binding.
7346
73472011-03-12 Eli Zaretskii <eliz@gnu.org>
7348
7349 * files.el (file-ownership-preserved-p): Pass `integer' as an
7350 explicit 2nd argument to `file-attributes'. If the file's owner
7351 is the Administrators group on Windows, and the current user is
7352 Administrator, consider that a match.
7353
7354 * server.el (server-ensure-safe-dir): Consider server directory
7355 safe on MS-Windows if its owner is the Administrators group while
7356 the current Emacs user is Administrator. Use `=' to compare
7357 numerical UIDs, since they could be integers or floats.
7358
219bd536
JB
73592011-03-12 Juanma Barranquero <lekktu@gmail.com>
7360
7361 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
7362
f3afd36b
MA
73632011-03-12 Michael Albinus <michael.albinus@gmx.de>
7364
7365 Sync with Tramp 2.2.1.
7366
7367 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
7368
7369 * net/trampver.el: Update release number.
7370
3aaaa6f1
SM
73712011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7372
94642599
SM
7373 * progmodes/compile.el (compilation--previous-directory): Fix up
7374 various nil/dead-marker mismatches (bug#8014).
7375 (compilation-directory-properties, compilation-error-properties):
7376 Don't call it at a position past the one we're about to change.
7377
3aaaa6f1
SM
7378 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
7379 Disable obsolescence warnings in the file that declares it.
7380
14239447
KM
73812011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
7382
099c39a4
JB
7383 * allout-widgets.el (allout-widgets-tally):
7384 Initialize allout-widgets-tally as a hash table rather than nil to
7385 prevent mode-line redisplay warnings. Also, clarify the module
7386 description and fix a comment typo.
14239447 7387
135e287c
JB
73882011-03-11 Juanma Barranquero <lekktu@gmail.com>
7389
7390 * help-fns.el (describe-variable): Don't complete keywords.
7391 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
7392
ffbf300e
CY
73932011-03-10 Chong Yidong <cyd@stupidchicken.com>
7394
ba08b241
CY
7395 * emacs-lisp/package.el (package-version-join): Impose a standard
7396 string representation for pre/alpha/beta version lists.
7397 (package-unpack-single): Standardize the directory name by passing
7398 it through package-version-join.
7399 (package-strip-rcs-id): Accept any version string that does not
7400 signal an error in version-to-list.
ffbf300e 7401
f346fd6b
MA
74022011-03-10 Michael Albinus <michael.albinus@gmx.de>
7403
7404 * simple.el (delete-trailing-whitespace): Return nil for the
7405 benefit of `write-file-functions'.
7406
ccb55d27
GM
74072011-03-10 Glenn Morris <rgm@gnu.org>
7408
5ceaac0c
GM
7409 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
7410
02da65ff
GM
7411 * vc/vc-git.el (vc-git-program): New option.
7412 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
7413 (vc-git--call): Use it.
7414
b2f603cc
GM
7415 * eshell/esh-util.el (eshell-condition-case): Doc fix.
7416
5772caab
GM
7417 * cus-edit.el (Custom-newline): If no button at point, look
7418 for a subgroup button at start-of-line. (Bug#2298)
7419
ccb55d27
GM
7420 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
7421
ec6ecaed
JD
74222011-03-10 Julien Danjou <julien@danjou.info>
7423
7424 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
7425 `cursor-type' is nil.
7426
9d5aa01d
JB
74272011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
7428
7429 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
7430
b6a5875b
KM
74312011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
7432
7433 * allout.el Summary: Change so yank of distinctive-bullet items
7434 preserves the existing header prefix, rebulleting it if necessary,
7435 rather than replacing it. This is necessary for proper operation
7436 of cooperative addons like allout-widgets.
219bd536 7437 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
7438 SOLICIT arg to INSTEAD, and interpret additionally a string value
7439 as alternate bullet to be used, instead of prompting the user for
7440 a bullet character.
7441
ee545c35
MA
74422011-03-09 Michael Albinus <michael.albinus@gmx.de>
7443
d86d2721
SM
7444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7445 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
7446 `tramp-default-port'.
7447
c47971d7
DD
74482011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7449
7450 * net/rcirc.el (rcirc-handler-001): Remove useless
7451 with-rcirc-process-buffer.
7452 (rcirc-check-auth-status): Swap arguments to string-match.
7453
13522cb4
GM
74542011-03-09 Glenn Morris <rgm@gnu.org>
7455
0be6f4f1
GM
7456 * shell.el (shell-mode):
7457 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
7458
13522cb4
GM
7459 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
7460 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
7461
515de2e3
CY
74622011-03-08 Chong Yidong <cyd@stupidchicken.com>
7463
7464 * emacs-lisp/package.el (package-refresh-contents)
7465 (package-menu-execute): Use condition-case-no-debug.
7466
b511b994
MA
74672011-03-08 Michael Albinus <michael.albinus@gmx.de>
7468
7469 * simple.el (shell-command-to-string): Use `process-file'.
7470
7471 * emacs-lisp/package.el (package-tar-file-info): Handle also
7472 remote files.
7473
d86d2721
SM
7474 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7475 Use `equal' for upload base check.
b511b994 7476
25bbfb31
AM
74772011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
7478
7479 * textmodes/texinfo.el (texinfo-environments):
7480 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
7481
be996521
GM
74822011-03-08 Glenn Morris <rgm@gnu.org>
7483
e9c8529f
GM
7484 * cus-start.el (cursor-in-non-selected-windows):
7485 Fix :set quoting oddness. (Bug#8192)
7486
be996521
GM
7487 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
7488 in some setf expressions. (Bug#2159)
7489
2bb5649e
CY
74902011-03-08 Chong Yidong <cyd@stupidchicken.com>
7491
7492 * custom.el (custom-available-themes): Return themes in
7493 alphabetical order.
7494
33383987 7495See ChangeLog.15 for earlier changes.
e3d51b27
MR
7496
7497;; Local Variables:
7498;; coding: utf-8
e3d51b27
MR
7499;; End:
7500
33383987 7501 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
7502
7503 This file is part of GNU Emacs.
7504
7505 GNU Emacs is free software: you can redistribute it and/or modify
7506 it under the terms of the GNU General Public License as published by
7507 the Free Software Foundation, either version 3 of the License, or
7508 (at your option) any later version.
7509
7510 GNU Emacs is distributed in the hope that it will be useful,
7511 but WITHOUT ANY WARRANTY; without even the implied warranty of
7512 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7513 GNU General Public License for more details.
7514
7515 You should have received a copy of the GNU General Public License
7516 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.