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