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