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