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