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