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