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