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