* doc/lispref/lists.texi (Sets And Lists): Fix typo. (tiny 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.
4d61f28d 21 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 22
ef8ef9fb
CY
232011-09-13 Chong Yidong <cyd@stupidchicken.com>
24
25 * window.el (window-deletable-p): Never delete the last frame on a
26 given terminal.
27
b2cba41e
GM
282011-09-13 Glenn Morris <rgm@gnu.org>
29
30 * help.el (describe-key-briefly): Copy previous standard-output change.
31
e3ce671f
PW
322011-09-13 PJ Weisberg <pj@irregularexpressions.net> (tiny change)
33
34 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
35
b7556719
GM
362011-09-13 Glenn Morris <rgm@gnu.org>
37
38 * emacs-lisp/lisp-mode.el (lisp-indent-function):
39 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
40
64b51947
CY
412011-09-12 Chong Yidong <cyd@stupidchicken.com>
42
43 * dired-aux.el (dired-mark-read-string): Don't return default
44 value on empty input (Bug#9361).
45 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
46 Omit initial minibuffer contents.
47 (dired-do-chmod): Signal an error on empty input.
48 (dired-mark-read-string): Don't return default on empty input.
49
50 * files.el (file-modes-symbolic-to-number): Doc fix.
51
393a301e
SM
522011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 * international/mule-cmds.el (ucs-completions): Remove.
55 (read-char-by-name): Use complete-with-action instead; add metadata.
56
fa5660f9
CY
572011-09-11 Chong Yidong <cyd@stupidchicken.com>
58
59 * window.el (display-buffer--action-function-custom-type)
60 (display-buffer--action-custom-type): New vars.
61 (display-buffer-alist, display-buffer-default-action)
62 (display-buffer-overriding-action): Add defcustom types.
63
4a592f66
CY
64 * frame.el (delete-other-frames): Doc fix (Bug#276).
65
73d56dbd
LMI
662011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
67
68 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
69
37ac18a3
CY
702011-09-11 Chong Yidong <cyd@stupidchicken.com>
71
72 Change modes that used same-window-* vars to use switch-to-buffer.
73
74 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
75 Use switch-to-buffer.
76
77 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
78 (customize-browse, custom-buffer-create-other-window):
79 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
80
81 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
82 (Info-prev, Info-up, Info-speedbar-goto-node)
83 (info-display-manual): Use switch-to-buffer.
84 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
85
86 * mail/sendmail.el (mail): Use switch-to-buffer.
87 (mail-recover): Use switch-to-buffer-other-window.
88
89 * cmuscheme.el (run-scheme, switch-to-scheme):
90 * ielm.el (ielm):
91 * shell.el (shell):
92 * net/rlogin.el (rlogin):
93 * net/telnet.el (telnet, rsh):
94 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
95
10195bd6
AS
962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
97
98 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
99
b322f63a
LMI
1002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
101
39d7fed6
LMI
102 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
103 so don't mention it (bug#9301).
ba5a81f1 104 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 105
ee0e9f11
LMI
106 * faces.el (face-spec-set-match-display): Make `(type graphic)'
107 match `x', `w32' and `ns', like the manual says (bug#9029).
108
0b1c89c1 109 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
110 (process-kill-buffer-query-function): Mention the buffer name in
111 the query.
0b1c89c1 112
77549ea8
LMI
113 * image-mode.el (image-next-line): The line parameter is mandatory
114 (bug#9258).
115
803ef892
LMI
116 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
117 which can be useful (bug#9301).
118
12980837
LMI
119 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
120
91054f8f
LMI
121 * subr.el (match-string): Mention that the current buffer should
122 be the same as the search was done in (bug#9282).
123
b322f63a
LMI
124 * facemenu.el: Disable the remove-* commands if the mark isn't
125 active (bug#9162).
126
3199b96f
CY
1272011-09-10 Chong Yidong <cyd@stupidchicken.com>
128
129 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
130 of display-buffer.
131 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
132
133 * replace.el (occur-mode-goto-occurrence)
134 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
135 and display-buffer.
136
137 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
138 display-buffer.
139
140 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
141 special-display and same-window variables.
142 (mail-other-window): Use switch-to-buffer-other-window.
143 (mail-other-frame): USe switch-to-buffer-other-frame.
144
393a301e
SM
145 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
146 Use display-buffer-other-frame.
3199b96f
CY
147 (gdb-display-gdb-buffer): Use pop-to-buffer.
148
149 * progmodes/gud.el (gud-goto-info): Use info-other-window.
150
151 * progmodes/python.el: Don't set same-window-buffer-names.
152
153 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
154
155 * window.el (display-buffer-alist): Add *Python*.
156
8319e0bf
CY
1572011-09-10 Chong Yidong <cyd@stupidchicken.com>
158
159 * window.el (display-buffer-alist): Add entry for buffers
160 previously handled same-window-*.
161 (display-buffer-alist, display-buffer-default-action)
162 (display-buffer-overriding-action): Mark as risky.
163 (display-buffer-alist): Document action function changes.
164 (display-buffer--same-window-action)
165 (display-buffer--other-frame-action): New variables.
166 (switch-to-buffer, display-buffer-other-frame): Use them.
167 (display-buffer): Rename reuse-frame entry to reusable-frames.
168 (display-buffer-reuse-selected-window): Function deleted.
169 (display-buffer-reuse-window): Handle reusable-frames alist entry.
170 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
171 (display-buffer-special): New function.
172 (display-buffer--maybe-pop-up-frame-or-window): Rename from
173 display-buffer-reuse-or-pop-window. Split off special-display
174 part into display-buffer-special.
175 (display-buffer-use-some-window): Don't perform any special
176 pop-up-frames handling.
177 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 178 (display-buffer--maybe-same-window): Rename from
0d3ff375 179 display-buffer-maybe-same-window.
8319e0bf 180
919a69aa
CY
181 * info.el: Don't set same-window-regexps.
182 (info-setup): New function.
183 (info-other-window, info): Call it.
184
185 * cus-edit.el: Don't set same-window-regexps.
186 (customize-group): New argument.
187 (customize-group-other-window): Use it.
188 (customize-face, customize-face-other-window): Likewise.
189 (custom-buffer-create-other-window): Use pop-to-buffer directly.
190
8319e0bf
CY
191 * net/rlogin.el:
192 * net/telnet.el:
193 * progmodes/gud.el: Don't set same-window-regexps.
194
195 * cmuscheme.el:
196 * ielm.el:
197 * shell.el:
198 * mail/sendmail.el:
199 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
200
25173000
JL
2012011-09-10 Juri Linkov <juri@jurta.org>
202
203 * isearch.el (isearch-edit-string): Remove obsolete mention of
204 `C-w' (`isearch-yank-word-or-char') from docstring.
205 (isearch-query-replace): Fix typo in docstring (bug#9466).
206
056e44ef
JL
2072011-09-10 Juri Linkov <juri@jurta.org>
208
209 * paren.el (show-paren-function): Don't show escaped parens.
210 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
211
c3760c17
EZ
2122011-09-10 Eli Zaretskii <eliz@gnu.org>
213
214 * mail/sendmail.el (mml-to-mime, mml-attach-file)
215 (mm-default-file-encoding): Remove autoload forms, they are
216 replaced with autoload cookies in mml.el and mm-encode.el.
217 (mail-add-attachment): New command.
218 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
219 (mail-mode): Mention mail-insert-file and mail-add-attachment in
220 the doc string.
221 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
222
fece895e
RT
2232011-09-10 Reuben Thomas <rrt@sc3d.org>
224
225 * simple.el (count-words-region): Use buffer if there's no region.
226
5e68ce4a
JL
2272011-09-09 Juri Linkov <juri@jurta.org>
228
229 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
230 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
231 (wdired-isearch-filter-read-only): New function. (Bug#6362)
232
0a6b9622
AM
2332011-09-09 Alan Mackenzie <acm@muc.de>
234
235 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
236 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
237
14a29deb
EZ
2382011-09-09 Eli Zaretskii <eliz@gnu.org>
239
240 Fix for Savannah bug#9392.
241 * simple.el (mail-encode-mml): New defvar.
242
243 * mail/rmail.el (mail-encode-mml): Add a defvar.
244 (rmail-enable-mime-composing): Default to t.
245 (rmail-forward): Use MIME method of forwarding only if both
246 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
247 Set mail-encode-mml non-nil if the MIME method was used.
248
249 * mail/sendmail.el (mml-to-mime): Add autoload form.
250 (mail-encode-mml): Add a defvar.
251 (mail-mode): Make mail-encode-mml buffer-local and initialize it
252 to nil.
253 (mail-send): If mail-encode-mml is non-nil, run the outgoing
254 message through mml-to-mime, and reset mail-encode-mml to nil.
255
28c45130
GM
2562011-09-09 Glenn Morris <rgm@gnu.org>
257
258 * woman.el (woman-if-body): When processing an .el block,
259 do not delete the next .el block as well. (Bug#9447)
69f4b618 260 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 261
9b1c252e
MR
2622011-09-08 Martin Rudalics <rudalics@gmx.at>
263
264 * window.el (window-deletable-p): Make sure window is live before
265 invoking window-prev-buffers.
266
567457e3
LL
2672011-09-08 Leo Liu <sdl.web@gmail.com>
268
269 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
270
97f05794
JL
2712011-09-08 Juri Linkov <juri@jurta.org>
272
273 * progmodes/compile.el (compilation-environment): Make it
274 a defcustom (bug#8340).
275
8b0874b5
MR
2762011-09-08 Martin Rudalics <rudalics@gmx.at>
277
278 * window.el (frame-auto-delete): Rename to window-auto-delete.
279 Make it control auto-deletion of windows and/or frames.
280 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 281 for deleting window/frame. (Bug#9419)
8b0874b5
MR
282 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
283 Rewrite handling of case when window/frame can be deleted.
284 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 285 argument t. (Bug#9456)
8b0874b5 286
4feb6e73
CY
2872011-09-07 Chong Yidong <cyd@stupidchicken.com>
288
289 * help-mode.el (help-mode): Restore autoload.
290
91ab9c13
JL
2912011-09-07 Juri Linkov <juri@jurta.org>
292
293 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
294 `compilation-environment'. Set buffer-local
295 `compilation-environment' to `thisenv' later after (funcall mode).
296 (Bug#8340)
297
298 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
299 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
300 instead of replacing its value. (Bug#8340)
301
0527e251
JL
3022011-09-07 Juri Linkov <juri@jurta.org>
303
304 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
305 based on text properties put by `grep-filter' instead of matching
306 escape sequences.
307 (grep-mode): Set buffer-local `compilation-error-screen-columns'
308 to the value of `grep-error-screen-columns' (bug#9438).
309
249f792c
JL
3102011-09-07 Juri Linkov <juri@jurta.org>
311
312 * simple.el (next-error-highlight, next-error-highlight-no-select):
313 Doc fix (bug#9432).
314
ff7271b9
OT
3152011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
316
317 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
318 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
319
183fc730
LL
3202011-09-07 Leo Liu <sdl.web@gmail.com>
321
322 * net/rcirc.el (rcirc-mode): Conditionally initialize
323 rcirc-input-ring.
324
77694924
SM
3252011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * emacs-lisp/find-func.el (find-function-C-source): Only set
328 find-function-C-source-directory after checking that we found a source
329 file there (bug#9440).
330
d809b8eb
AM
3312011-09-06 Alan Mackenzie <acm@muc.de>
332
333 * isearch.el (isearch-other-meta-char): Wherever a key list is
334 unread, "unread" the prefix arg, too. This fixes bug #8901.
335
453de99f
OG
3362011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
337
338 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
339
90439906
JL
3402011-09-05 Juri Linkov <juri@jurta.org>
341
342 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
343
f62bd846
JL
3442011-09-05 Juri Linkov <juri@jurta.org>
345
346 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
347 keeping point where processing of grep matches begins, and
348 continue to delete remaining escape sequences from the same point.
349 (grep-filter): Make leading zero optional in "0?1;31m" because
350 git-grep emits "\033[1;31m" escape sequences unlike expected
351 "\033[01;31m" as GNU Grep does (bug#9408).
352 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
353
045820ec
JL
3542011-09-05 Juri Linkov <juri@jurta.org>
355
356 * subr.el (y-or-n-p): Capitalize "yes".
357
f5e29b9b
MA
3582011-09-04 Michael Albinus <michael.albinus@gmx.de>
359
360 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
361 `tramp-cache-unload-hook' where appropriate.
362 (tramp-methods): Rename `tramp-remote-sh' to
363 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
364 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
365
366 * net/tramp-sh.el (top): Don't require 'shell.
367 (tramp-methods): Add `tramp-remote-shell' and
368 `tramp-remote-shell-args' entries.
369 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
370 (tramp-sh-handle-shell-command): Remove.
371 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
372 Use `tramp-remote-shell'.
373
2784c434
CY
3742011-09-03 Chong Yidong <cyd@stupidchicken.com>
375
393a301e 376 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
377 (sendmail-query-once): Save directly to send-mail-function.
378 Update message-send-mail-function too.
379
380 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
381
464cdf56
CS
3822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
383
384 * progmodes/python.el (python-mode-map): Use correct function to
385 start python interpreter from menu-bar (as reported by Geert
386 Kloosterman).
387 (inferior-python-mode-map): Fix typo.
393a301e 388 (python-shell-map): Remove.
464cdf56 389
d37e5c87
DD
3902011-09-03 Deniz Dogan <deniz@dogan.se>
391
392 * net/rcirc.el (rcirc-print): Simplify code for
393 rcirc-scroll-show-maximum-output. There is no need to walk
394 through all windows to find the right one.
395
f3ada0ee
CS
3962011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
397
398 * help.el (help-return-method): Doc fix.
399
1f3c99ca
MR
4002011-09-03 Martin Rudalics <rudalics@gmx.at>
401
402 * window.el (window-deletable-p): Don't return a non-nil value
403 when there's a buffer that was shown in the window before.
404 (Bug#9419)
393a301e
SM
405 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
406 Set window's previous buffers to nil.
1f3c99ca 407
a3cf097f
EZ
4082011-09-03 Eli Zaretskii <eliz@gnu.org>
409
410 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
411 newline before and after the tag line, so it doesn't interfere
412 with determining the paragraph direction of bidirectional text.
413
3d03de90
LL
4142011-09-03 Leo Liu <sdl.web@gmail.com>
415
416 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
417
c3313451
CY
4182011-09-02 Chong Yidong <cyd@stupidchicken.com>
419
393a301e 420 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
421 (pop-to-buffer): Change interactive spec. Pass second argument
422 directly to display-buffer.
423 (display-buffer): Fix interactive spec. Use functionp to
424 distinguish between a function and a list of functions.
425
426 * abbrev.el (edit-abbrevs):
427 * arc-mode.el (archive-extract):
428 * autoinsert.el (auto-insert):
429 * bookmark.el (bookmark-bmenu-list):
430 * files.el (find-file):
431 * view.el (view-buffer):
432 * progmodes/compile.el (compilation-goto-locus):
433 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
434
89894cd8
CY
4352011-09-02 Chong Yidong <cyd@stupidchicken.com>
436
437 * window.el (display-buffer-alist): Doc fix.
438 (display-buffer): Add docstring. Don't treat
439 display-buffer-default specially.
440 (display-buffer-reuse-selected-window)
441 (display-buffer-same-window, display-buffer-maybe-same-window)
442 (display-buffer-reuse-window, display-buffer-pop-up-frame)
443 (display-buffer-pop-up-window)
444 (display-buffer-reuse-or-pop-window)
445 (display-buffer-use-some-window): New functions.
446 (display-buffer-default-action): Use them.
393a301e 447 (display-buffer-default): Delete.
89894cd8
CY
448 (pop-to-buffer-1): Fix choice of actions.
449
ae0bc9fb
SM
4502011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * minibuffer.el (completion--insert-strings): Don't get confused by
453 completion entries that end with an LF char.
454
e9d90883
EZ
4552011-09-01 Eli Zaretskii <eliz@gnu.org>
456
457 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
458
437014c8
CY
4592011-09-01 Chong Yidong <cyd@stupidchicken.com>
460
461 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
462 (display-buffer-same-window, display-buffer-other-window):
463 New functions.
437014c8
CY
464 (pop-to-buffer-1): New function. Use the above.
465 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 466 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
467
468 * view.el (view-buffer-other-window, view-buffer-other-frame):
469 Just use pop-to-buffer.
470
a5e063d5
TV
4712011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
472
473 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
474
793d32bb
WH
4752011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
476
477 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
478
d65e4c15
RS
4792011-08-31 Richard Stallman <rms@gnu.org>
480
481 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
482 of the separation of rmail-view-buffer from rmail-buffer.
483 If you say no to "replace original", the decrypt is in the
484 view buffer. If you say yes, the decrypt goes into the
485 rmail buffer also.
486
f818cd2a
MR
4872011-08-31 Martin Rudalics <rudalics@gmx.at>
488
489 * window.el (display-buffer-window): Rewrite doc-string.
490 (display-buffer-record-window): New function.
491 (display-buffer-macro-specifiers)
492 (display-buffer-even-window-sizes, display-buffer-set-height)
493 (display-buffer-set-width, display-buffer-in-window)
494 (display-buffer-reuse-window, display-buffer-split-specifiers)
495 (display-buffer-side-specifiers, display-buffer-split-window-1)
496 (display-buffer-split-window, display-buffer-split-atom-window)
497 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
498 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
499 (display-buffer-other-window-means-other-frame)
500 (display-buffer-normalize-special)
501 (display-buffer-normalize-default)
502 (display-buffer-normalize-argument)
503 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
504 (display-buffer-normalize-specifiers, display-buffer-frame)
505 (display-buffer-same-window, display-buffer-same-frame)
506 (display-buffer-other-window)
507 (display-buffer-same-frame-other-window)
508 (display-buffer-other-frame, pop-to-buffer-same-window)
509 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
510 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
511 (switch-to-buffer-same-frame)
512 (switch-to-buffer-other-window-same-frame)
513 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
514 (display-buffer-alist-set-1, display-buffer-alist-set-2)
515 (display-buffer-alist-set): Remove.
516 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
517 (special-display-regexps, special-display-function):
518 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
519 parameter.
520 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
521 (special-display-frame-alist, special-display-popup-frame)
522 (same-window-buffer-names, same-window-regexps, same-window-p)
523 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
524 (split-window-preferred-function, split-height-threshold)
525 (split-width-threshold, window-splittable-p)
526 (split-window-sensibly, window--try-to-split-window)
527 (window--frame-usable-p, even-window-heights)
528 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
529 (window--display-buffer-2, display-buffer-other-frame):
530 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
531 (display-buffer-default, display-buffer-assq-regexp): New functions.
532 (display-buffer-alist): Rewrite doc-string.
533 (display-buffer-default-action)
534 (display-buffer-overriding-action): New variables.
535 (display-buffer, switch-to-buffer): Rewrite.
536 (pop-to-buffer): Restore Emacs 23 behavior but use
537 window-normalize-buffer-to-display.
538 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
539 Restore Emacs 23 behavior but use
540 window-normalize-buffer-to-switch-to.
541 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
542 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
543 Rewrite using Emacs 23 options.
f818cd2a 544
5bc3b51d
MA
5452011-08-31 Michael Albinus <michael.albinus@gmx.de>
546
547 * net/tramp.el (tramp-root-regexp): Remove.
548 (tramp-completion-file-name-regexp-unified)
549 (tramp-completion-file-name-regexp-separate)
550 (tramp-completion-file-name-regexp-url): Don't use leading volume
551 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
552 (tramp-drop-volume-letter): Simplify definition.
553 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 554
b1a4f8e1
SM
5552011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
558 (bug#9356).
559
5664fa7b
RT
5602011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
561
b1a4f8e1 562 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 563
9a45d6c3
JL
5642011-08-29 Juri Linkov <juri@jurta.org>
565
566 * isearch.el (isearch-done): Don't display message "Mark saved"
567 when arg `edit' is non-nil to prevent its flicker in the echo area.
568
fb87e0fb
CY
5692011-08-28 Chong Yidong <cyd@stupidchicken.com>
570
571 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
572 obsolete packages for deletion.
573
09ac1c2a
CS
5742011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
575
576 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 577 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
578 view-mode from help-mode.
579 (help-xref-override-view-map): Remove.
580 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
581 view-mode is not used anymore.
582
7a1ff57f
CY
5832011-08-28 Chong Yidong <cyd@stupidchicken.com>
584
585 * server.el (server-port): Doc fix.
586
b9696605
CY
587 * cus-theme.el (custom-theme-choose-mode): Inherit from
588 special-mode (Bug#9124).
589 (custom-theme-choose-mode-map): Add special-mode to parent.
590
ef8cdf8c
AM
5912011-08-28 Alan Mackenzie <acm@muc.de>
592
593 * progmodes/cc-fonts.el
594 (c-make-font-lock-BO-decl-search-function): New function.
595 (c-basic-matchers-after - "Fontify the clauses after various
596 keywords"): Extract the three keyword lists for the 3 erroneous
597 constructs from the list of four, and use the new function above
598 in place of an old one.
599
27de4e20
DD
6002011-08-28 Deniz Dogan <deniz@dogan.se>
601
602 * net/rcirc.el (rcirc-insert-prev-input)
603 (rcirc-insert-next-input): Remove unused argument.
604
356a3681
SM
6052011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
608
3fc9b218
AM
6092011-08-27 Alan Mackenzie <acm@muc.de>
610
611 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
612 handle function pointer parameters properly.
613
538a061c
MR
6142011-08-27 Martin Rudalics <rudalics@gmx.at>
615
616 * window.el (display-buffer-reuse-window): Fix case where
617 selected window was reused with non-nil OTHER-WINDOW argument.
618 (Bug#9381)
619
35b1c40c
DD
6202011-08-27 Deniz Dogan <deniz@dogan.se>
621
622 * net/rcirc.el (rcirc-check-auth-status): Adding support for
623 oftc's NickServ messages.
624
2f6a3e79
GM
6252011-08-27 Glenn Morris <rgm@gnu.org>
626
627 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
628
7254299e
CY
6292011-08-26 Chong Yidong <cyd@stupidchicken.com>
630
631 * emacs-lisp/package.el (package-install): Call package-initialize
632 if called interactively.
633
f8ccf167
LL
6342011-08-26 Leo Liu <sdl.web@gmail.com>
635
636 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
637
3e8cd5ce
JL
6382011-08-25 Juri Linkov <juri@jurta.org>
639
640 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
641 `search-whitespace-regexp' (bug#9364).
642
93eb7113
JL
6432011-08-25 Juri Linkov <juri@jurta.org>
644
645 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
646 `regexp-search-ring' to their global values to protect from
647 updating by `read-from-minibuffer' (bug#9185).
648
f65d1611
JL
6492011-08-25 Juri Linkov <juri@jurta.org>
650
651 * textmodes/ispell.el (ispell-command-loop): Add newline
652 at the end of the "Use option `i'..." line.
653
f1cf7a31
JL
6542011-08-25 Juri Linkov <juri@jurta.org>
655
656 * battery.el (display-battery-mode): If `battery-status-function'
657 or `battery-mode-line-format' is nil, display the message and set
658 `display-battery-mode' to nil (bug#9363).
659
0c95fcf7
EZ
6602011-08-25 Eli Zaretskii <eliz@gnu.org>
661
662 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
663 bidi-string-mark-left-to-right; they are unnecessary now.
664
a2ebe600
DD
6652011-08-25 Deniz Dogan <deniz@dogan.se>
666
667 * net/quickurl.el: Documentation typo fixes.
668
e4ed06f1
CY
6692011-08-25 Chong Yidong <cyd@stupidchicken.com>
670
671 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
672
e5f1c99e
GM
6732011-08-25 Glenn Morris <rgm@gnu.org>
674
b2948976
GM
675 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
676
e5f1c99e
GM
677 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
678 (smtpmail-via-smtp): Handle nil response from smtp.
679
f22f4808
JL
6802011-08-24 Juri Linkov <juri@jurta.org>
681
682 * proced.el (proced-marked): Inherit from `error' instead of
683 `font-lock-warning-face'.
684
685 * ibuffer.el (ibuffer-marked-face): Change default face from
686 `font-lock-warning-face' to `warning'.
687 (ibuffer-deletion-face): Change default face from
688 `font-lock-type-face' to `error'.
689
690 * battery.el (battery-update): Use the face `error' instead of
691 `font-lock-warning-face' (bug#6117).
692
6a93965e
JL
6932011-08-24 Juri Linkov <juri@jurta.org>
694
695 * faces.el (success): Change face color from "Green3" to
696 "ForestGreen" on light background (bug#9353).
697
1ed43b09
CY
6982011-08-24 Chong Yidong <cyd@stupidchicken.com>
699
5664fa7b
RT
700 * window.el (quit-window): Rename from quit-restore-window.
701 Use same arglist as old quit-window.
1ed43b09
CY
702 (frame-auto-delete): Doc fix.
703
704 * view.el (view-mode-exit): Use quit-window.
705
11dcdbb2
JL
7062011-08-24 Juri Linkov <juri@jurta.org>
707
708 * isearch.el (isearch-ring-adjust1): Start visiting previous
709 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
710 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
711 for empty search string (when the last search string is reused
712 automatically) to adjust the isearch ring to the last element and
713 prepare the correct index for further M-p commands (bug#9185).
714
de62b4df
KH
7152011-08-24 Kenichi Handa <handa@m17n.org>
716
717 * international/ucs-normalize.el: If decomposition property of
718 CHAR is the default one (i.e. a list of CHAR itself), treat it as
719 nil.
720 (nfd, nfkd): Likewise.
721
963b492b
SM
7222011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
725 from process filters aren't reliably transmitted to the surrounding
726 accept-process-output.
727 (mpc-proc-check): New function.
728 (mpc-proc-sync): Use it (bug#8293)
729
93b6b5e1
SM
7302011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
733 Add compatibility functions (bug#9313).
734
bca633fb
EZ
7352011-08-23 Eli Zaretskii <eliz@gnu.org>
736
b177498a
EZ
737 * cus-start.el (all): Add entry for bidi-paragraph-direction.
738
bca633fb
EZ
739 * international/uni-bidi.el: Regenerated.
740
0902a04e
KH
7412011-08-23 Kenichi Handa <handa@m17n.org>
742
743 * international/charprop.el:
744 * international/uni-bidi.el:
745 * international/uni-category.el:
746 * international/uni-combining.el:
747 * international/uni-comment.el:
748 * international/uni-decimal.el:
749 * international/uni-decomposition.el:
750 * international/uni-digit.el:
751 * international/uni-lowercase.el:
752 * international/uni-mirrored.el:
753 * international/uni-name.el:
754 * international/uni-numeric.el:
755 * international/uni-old-name.el:
756 * international/uni-titlecase.el:
757 * international/uni-uppercase.el: Regenerate.
758
3bbf23bc
MR
7592011-08-23 Martin Rudalics <rudalics@gmx.at>
760
761 * help.el (help-window-setup): Fix message displayed when other
762 window is reused. (Bug#9341)
763
b3fd59bd
SM
7642011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
765
1802e444
SM
766 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
767 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
768
b3fd59bd
SM
769 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
770 Mark obsolete.
771 * shell.el (shell-parse-pcomplete-arguments): New function.
772 (shell-completion-vars): Use it instead (bug#9160).
773
4eb61348
SM
7742011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
775
867cab74
SM
776 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
777 strings and comments (bug#9333).
778
4eb61348
SM
779 * emacs-lisp/debug.el (debug-arglist): New function.
780 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
781 (debug-on-entry-1): Handle interpreted closures (bug#9120).
782
262a1439
JL
7832011-08-22 Juri Linkov <juri@jurta.org>
784
56ee679c
JL
785 * progmodes/compile.el (compilation-mode-font-lock-keywords):
786 Revert regexp that highlights output switches to its old
787 pre-2010-10-28 value and remove one `?' from it (bug#9319).
788
262a1439
JL
789 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
790 to check for empty output (bug#9226).
791
f13f86fb
CY
7922011-08-22 Chong Yidong <cyd@stupidchicken.com>
793
794 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
795 symbol-constituent as the default, as that stops font-lock from
796 working properly (Bug#8843).
797
c65c9622
LMI
7982011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
799
800 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
801 `coding-system-for-*' around the process open call to avoid
802 auth-source side effects.
e7f2c178 803 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
804 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
805 probe hangs.
c65c9622 806
23a8a5ab
CY
8072011-08-21 Chong Yidong <cyd@stupidchicken.com>
808
ff98b2dd
CY
809 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
810
23a8a5ab
CY
811 * emacs-lisp/find-func.el (find-function-noselect): New arg
812 lisp-only.
813
814 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
815 signal an error for built-in functions (Bug#6664).
816
f5e3c598
LMI
8172011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
818
819 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
820 (smtpmail-try-auth-methods): Use it.
821
a3f2468a
CY
8222011-08-21 Chong Yidong <cyd@stupidchicken.com>
823
2c34e8da
CY
824 * font-lock.el (font-lock-fontify-region)
825 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
826 (font-lock-default-unfontify-buffer)
827 (font-lock-default-fontify-region)
828 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
829
b3fd59bd
SM
830 * progmodes/compile.el (compilation-error-properties):
831 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
832 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
833 `ant' regexp.
ee31aabc 834
a3f2468a
CY
835 * net/browse-url.el (browse-url-firefox): Don't call
836 browse-url-firefox-sentinel unless using -remote (Bug#9328).
837
8e999f70
GM
8382011-08-20 Glenn Morris <rgm@gnu.org>
839
c21a496a
GM
840 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
841
59ee0542
GM
842 * tutorial.el (tutorial--default-keys): Update some default bindings.
843
8e999f70
GM
844 * files.el (hack-local-variables): Fully ignore case for "mode:".
845
e3715033
AM
8462011-08-20 Alan Mackenzie <acm@muc.de>
847
848 Resolve invalid use of a regexp in regexp-opt.
849
4d61f28d
JB
850 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
851 detection for a java annotation.
e3715033 852
4d61f28d 853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
854 detection for a java annotation.
855
4d61f28d
JB
856 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
857 handling for java.
e3715033
AM
858 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
859
04ed2e9c
CY
8602011-08-20 Chong Yidong <cyd@stupidchicken.com>
861
862 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
863 (Bug#9274).
864
826cee64
AM
8652011-08-20 Alan Mackenzie <acm@muc.de>
866
867 * Fontify CPP expressions correctly when starting in the middle of
868 such a construct. Mainly for when jit-lock etc. starts a chunk
869 here.
870
871 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
872 variable.
873 (c-make-font-lock-search-form): new function, extracted from
874 c-make-font-lock-search-function.
875 (c-make-font-lock-search-function): Use the above function.
876 (c-make-font-lock-context-search-function): New function.
877 (c-cpp-matchers): Enhance the preprocessor expression case with
878 the above function
879 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
880 which takes an expression.
881
882 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
883
13009bd8
MR
8842011-08-20 Martin Rudalics <rudalics@gmx.at>
885
886 * window.el (display-buffer-reuse-window)
887 (display-buffer-pop-up-window): Don't reuse or split a side
888 window.
889
9234ff7f
GM
8902011-08-19 Glenn Morris <rgm@gnu.org>
891
892 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 893 Downcase "Mode:". (Bug#9331)
9234ff7f 894
f635daa1
CY
8952011-08-18 Chong Yidong <cyd@stupidchicken.com>
896
897 * international/characters.el: Add L and R categories.
898
899 * subr.el (bidi-string-mark-left-to-right): Rename from
900 string-mark-left-to-right. Use category search.
901
902 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
903
bc987f8b
JL
9042011-08-18 Juri Linkov <juri@jurta.org>
905
906 * faces.el (error, warning, success): New faces with definitions
907 copied from old default values of `font-lock-warning-face',
908 `compilation-warning', `compilation-info' (bug#6117).
909
910 * font-lock.el (font-lock-warning-face): Inherit from `error'.
911
912 * progmodes/compile.el (compilation-error): Inherit from `error'.
913 (compilation-warning): Inherit from `warning'.
914 (compilation-info): Inherit from `success'.
915
916 * dired.el (dired-marked): Inherit from `warning'.
917 (dired-flagged): Inherit from `error'.
918
57173b96
LMI
9192011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
920
3e79eb87
LMI
921 * mail/smtpmail.el (auth-source): Require to avoid problems with
922 binding variables (bug#9298). Also clean up some unused
923 autoloads.
924
b3fd59bd
SM
925 * net/network-stream.el (network-stream-open-starttls):
926 Support using starttls.el without using gnutls-cli.
57173b96 927
02b404de
JL
9282011-08-17 Juri Linkov <juri@jurta.org>
929
930 * progmodes/grep.el (rgrep): Handle the case when
931 `grep-find-command' is a cons cell (bug#9278).
932
8c9177f2
MR
9332011-08-17 Martin Rudalics <rudalics@gmx.at>
934
935 * window.el (display-buffer-pop-up-frame): Run frame creation
936 function with BUFFER current (as special-display-popup-frame
937 does). Reported by Drew Adams.
938
3644a0ab
DU
9392011-08-17 Daiki Ueno <ueno@unixuser.org>
940
941 * epa-mail.el: Simplify GnuPG group expansion using
942 epg-expand-group.
943 (epa-mail-group-alist, epa-mail-group-modtime)
944 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
945 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
946 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
947 Remove.
948
5e617bc2 9492011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
950
951 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
952
9c4aeabf
AM
9532011-08-16 Alan Mackenzie <acm@muc.de>
954
955 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
956 Correct, to avoid the inside of macros.
957
3a99bf64
RS
9582011-08-16 Richard Stallman <rms@gnu.org>
959
04963aa8
RS
960 * epa-mail.el: Handle GnuPG group definitions.
961 (epa-mail-group-alist, epa-mail-group-modtime)
962 (epa-mail-gnupg-conf-file): New variables.
963 (epa-mail-parse-groups, epa-mail-sync-groups)
964 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
965 (epa-mail-expand-recipients): New functions.
966 (epa-mail-encrypt): Call epa-mail-expand-recipients.
967
177549d0
RS
968 * mail/rmail.el (rmail-epa-decrypt): New command.
969
fe38beef
RS
970 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
971 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
972 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
973 (epa-decrypt-armor-in-region): Make error message clearer.
974
934eacb9
SM
9752011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
978 and "a2b" to "ab" for `prefix'.
979
d024fb4e
CY
9802011-08-14 Chong Yidong <cyd@stupidchicken.com>
981
982 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
983 filter groups.
de148fee
CY
984 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
985 Fourquet (Bug#8804).
d024fb4e 986
62f1ca49
JB
9872011-08-12 Juanma Barranquero <lekktu@gmail.com>
988
989 * startup.el (argi): Declare as global variable (bug#9275).
990
9ccaaa4b
CY
9912011-08-12 Chong Yidong <cyd@stupidchicken.com>
992
993 * subr.el (string-mark-left-to-right): Search the entire string
994 for RTL script, not just the terminating character. Doc fix.
995
a3dae87a
SM
9962011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
997
6cd18349
SM
998 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
999 New function.
1000 (js--regexp-literal, js-syntax-propertize-function): Remove.
1001 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
1002 (js-mode-map): Don't rebind electric keys.
1003 (js-insert-and-indent): Remove.
1004 (js-mode): Setup electric-layout and electric-indent instead.
1005
a3dae87a
SM
1006 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
1007
9d5cb631
DU
10082011-08-12 Daiki Ueno <ueno@unixuser.org>
1009
1010 * epa.el (epa-progress-callback-function): Fix the logic of
1011 displaying progress.
1012 * epa-file.el (epa-file-insert-file-contents): Make progress
1013 display more user-friendly.
1014 (epa-file-write-region): Ditto.
1015
3e26a4a2
CY
10162011-08-10 Chong Yidong <cyd@stupidchicken.com>
1017
1018 * subr.el (string-mark-left-to-right): New function.
1019
1020 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
1021 Use string-mark-left-to-right.
1022 (list-buffers-noselect): Caller changed.
1023
a3dae87a
SM
1024 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1025 Use string-mark-left-to-right.
3e26a4a2
CY
1026 (tabulated-list-print): Recenter after moving point.
1027
ac8cf6e6
JL
10282011-08-10 Juri Linkov <juri@jurta.org>
1029
1030 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
1031 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
1032 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
1033
8d96c9a4
CY
10342011-08-09 Chong Yidong <cyd@stupidchicken.com>
1035
1036 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
1037 (Bug#7554).
1038
7be1c708 10392011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
1040
1041 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
1042 character. (Bug#6594)
1043
37e11a63
CY
10442011-08-08 Chong Yidong <cyd@stupidchicken.com>
1045
839dde57
CY
1046 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
1047 (image-dired--with-db-file): New macro.
1048 (image-dired-write-tags, image-dired-remove-tag)
1049 (image-dired-create-gallery-lists, image-dired-write-comments)
1050 (image-dired-get-comment, image-dired-mark-tagged-files)
1051 (image-dired-list-tags, image-dired-gallery-generate): Use it.
1052 (image-dired-gallery-generate): Use insert-file-contents.
1053
37e11a63
CY
1054 * time.el (display-time-world-list, display-time-world-display):
1055 * time-stamp.el (time-stamp-string):
1056 * vc/add-log.el (add-change-log-entry): Use setenv instead of
1057 set-time-zone-rule (Bug#7337).
1058
0b4946c4
DU
10592011-08-08 Daiki Ueno <ueno@unixuser.org>
1060
1061 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
1062 (epg-error-to-string, epg-errors-to-string): New function.
1063 (epg-wait-for-completion): Reverse errors list.
1064 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
1065 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
1066 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
1067 (epg-sign-keys, epg-generate-key-from-file)
1068 (epg-generate-key-from-string): Format errors by using
1069 epg-errors-to-string (bug#9255).
1070 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1071
75bfc667
JL
10722011-08-07 Juri Linkov <juri@jurta.org>
1073
1074 * faces.el (list-faces-display): Remove extra angle bracket
1075 from `help-mode-map'.
1076
1077 * info.el (Info-history-toc-nodes): Doc fix.
1078
1079 * longlines.el (longlines-mode): Doc fix.
1080
673e08bb
SM
10812011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1082
4640dd88
SM
1083 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1084 of statements and in a few more cases (bug#9183).
1085
673e08bb
SM
1086 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1087 New functions.
1088 (cl-transform-lambda): Use them (bug#9239).
1089
89b3f019
MR
10902011-08-05 Martin Rudalics <rudalics@gmx.at>
1091
1092 * window.el (display-buffer-same-window)
1093 (display-buffer-same-frame, display-buffer-other-window)
1094 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1095 (pop-to-buffer-other-window)
1096 (pop-to-buffer-same-frame-other-window)
1097 (pop-to-buffer-other-frame): Make them defuns.
1098 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1099
640c8776
SM
11002011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * subr.el (make-composed-keymap): Move from C. Change calling
1103 convention, and improve docstring to bring attention to a subtle point.
1104 * minibuffer.el (completing-read-default): Adjust accordingly.
1105
63648a95
MA
11062011-08-03 Michael Albinus <michael.albinus@gmx.de>
1107
1108 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1109 (tramp-open-shell): Use `tramp-shell-quote-argument'.
1110
1111 * net/trampver.el: Update release number.
1112
b796c9b7
SM
11132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1116 "in" (bug#9190).
1117
2239d7d5
LMI
11182011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1119
e07dd7c3
LMI
1120 * mail/sendmail.el (sendmail-query-once): Restore the current
1121 buffer after querying (bug#9074).
1122
0e6a2bd7
LMI
1123 * dired.el (dired-flagged): Use different faces for marked and
1124 flagged files (bug#6117).
1125
ce887515
LMI
1126 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1127 (bug#4433).
1128
92f2affc
LMI
1129 * ido.el (ido-mode): Switch off the message if called
1130 non-interactively.
1131
57d5aff0
LMI
1132 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1133 before 587, since it appears that that's more likely to work for
1134 more people.
1135
98cd6c18
LMI
1136 * cus-edit.el (custom-file): When running under emacs -q, always
1137 refuse to save the customisations, even if the .emacs file doesn't
1138 exist.
1139
b96dec83
LMI
1140 * info.el: Remove the `Info-beginning-of-buffer' function
1141 (bug#8325).
1142
b796c9b7
SM
1143 * net/network-stream.el (network-stream-open-starttls):
1144 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 1145
d90e2ea0
MR
11462011-08-01 Martin Rudalics <rudalics@gmx.at>
1147
1148 * window.el (display-buffer-in-window): Don't set dedicated status
1149 of window here (Bug#9215).
1150 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1151 (display-buffer-pop-up-side-window)
b796c9b7 1152 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 1153
cca09170
SM
11542011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1157 before binding generated-autoload-file.
1158
027b979c
DD
11592011-08-01 Deniz Dogan <deniz@dogan.se>
1160
1161 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1162
3c7ee4f3
MA
11632011-07-30 Michael Albinus <michael.albinus@gmx.de>
1164
1165 Sync with Tramp 2.2.2.
1166
1167 * net/trampver.el: Update release number.
1168
2cc8e51a
JL
11692011-07-30 Juri Linkov <juri@jurta.org>
1170
1171 * dired-aux.el (dired-touch-initial): Remove function.
1172 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1173 current time, and `default' to the last modification time of the
1174 current marked file (bug#6887).
1175
a514d856
JM
11762011-07-28 Jose E. Marchesi <jemarch@gnu.org>
1177
1178 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 1179 numeric argument to read-number (bug#9163).
a514d856 1180
8a7eddd7
MA
11812011-07-27 Michael Albinus <michael.albinus@gmx.de>
1182
1183 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1184 connection process, it could be nil.
1185
1ddd96f5
LL
11862011-07-27 Leo Liu <sdl.web@gmail.com>
1187
1188 Simplify url handling in rcirc-mode.
1189
1190 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1191 (rcirc-browse-url-at-mouse): Remove.
1192 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1193
b248a85d
AM
11942011-07-26 Alan Mackenzie <acm@muc.de>
1195
1196 Fontify bitfield declarations properly.
1197
1198 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1199 (c-symbol-chars): Now exported as a lang variable.
1200 (c-not-primitive-type-keywords): New lang variable.
1201
1202 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1203 QT keyword "more" to prevent "more slots: ...." being spuriously
1204 parsed as a bitfield declaraion.
1205
b796c9b7
SM
1206 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1207 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
1208 (c-punctuation-in): New function.
1209 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1210 declarations properly.
1211
68575ab0
UJ
12122011-07-26 Ulf Jasper <ulf.jasper@web.de>
1213
1214 * calendar/icalendar.el (icalendar--all-events): Take care of
1215 multiple vcalendars in a single file.
b796c9b7 1216 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 1217
0f0a88b9
DD
12182011-07-25 Deniz Dogan <deniz@dogan.se>
1219
1220 * image.el (insert-image): Clarifying docstring.
1221
0b3f36df
MA
12222011-07-24 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1225 `tramp-send-command-and-check' if there is no error.
1226 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1227
a9901f61
AM
12282011-07-22 Alan Mackenzie <acm@muc.de>
1229
1230 Prevent cc-langs.elc being loaded at run time.
1231
1232 * progmodes/cc-mode.el: Remove two autoload forms which loaded
1233 cc-langs.
1234
4d61f28d 1235 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
1236 "(require 'cc-langs)". Quote a form so it will evaluate at
1237 (cc-mode's) compilation time.
1238
11d074b2
MA
12392011-07-22 Michael Albinus <michael.albinus@gmx.de>
1240
1241 * net/tramp.el (tramp-file-name-handler): Avoid recursive
1242 loading. (Bug#9114)
1243
938b94c8
MR
12442011-07-21 Martin Rudalics <rudalics@gmx.at>
1245
1246 * window.el (display-buffer-pop-up-window)
1247 (display-buffer-pop-up-side-window)
1248 (display-buffer-in-side-window): Call display-buffer-set-height
1249 and display-buffer-set-width after setting the new window's
b796c9b7 1250 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 1251
bfa4f190
SS
12522011-07-20 Sam Steingold <sds@gnu.org>
1253
1254 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1255 (etags-tags-included-tables): Call `convert-standard-filename' on
1256 the file names contained in TAGS so that windows Emacs can handle
1257 TAGS files created by cygwin ctags.
1258
8ca42262
LMI
12592011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1260
1261 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1262 which apparently didn't work.
1263
5db2afd2 12642011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 1265
5db2afd2
RW
1266 * proced.el (proced-send-signal): For *Marked Processes* buffer
1267 put point at beginning of buffer.
1268
92e15d10
SB
12692011-07-19 Stephen Berman <stephen.berman@gmx.net>
1270
1271 * proced.el (proced-format): Make header lines align with the text
1272 (bug#1779).
1273
1bfd59e5
LMI
12742011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1275
1276 * view.el (view-buffer): Allow running in `special' modes if we're
1277 visiting a file (bug#8615).
1278
f5aae37c
MR
12792011-07-19 Martin Rudalics <rudalics@gmx.at>
1280
1281 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
1282 (display-buffer-alist-set-1, display-buffer-alist-set-2):
1283 New functions.
f5aae37c
MR
1284 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1285 more accurately.
1286
bf2c1571
AM
12872011-07-18 Alan Mackenzie <acm@muc.de>
1288
1289 Fontify declarators properly when, e.g., a jit-lock chunk begins
1290 inside a declaration.
1291
1292 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1293
b796c9b7
SM
1294 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1295 New function.
bf2c1571
AM
1296 (c-complex-decl-matchers): Insert reference to
1297 c-font-lock-enclosing-decls.
1298
1299 * progmodes/cc-engine.el (c-backward-single-comment):
1300 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1301 to nil around calls to (forward-comment -1).
1302
4e190b80
LMI
13032011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1304
12dc863d
LMI
1305 * image.el (put-image): Doc typo fix.
1306
a762e966
LMI
1307 * progmodes/etags.el (tags-search): Doc typo fix.
1308
4e190b80
LMI
1309 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1310 password if we get errors 550 to 554.
1311
f019fb21
LMI
13122011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1313
b796c9b7 1314 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 1315
81746738
LMI
1316 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1317 indentation character (bug#6380).
1318
3ee3a1b5
LMI
1319 * files.el (buffer-offer-save): Made permanently local (bug#6241).
1320
c82f64de
LMI
1321 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1322 to clarify what the problem is (bug#4291).
1323
f019fb21
LMI
1324 * simple.el (current-kill): Clarify what
1325 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
1326 (auto-fill-mode): Document `auto-fill-function' in relation to
1327 `auto-fill-mode' (bug#2470).
f019fb21 1328
0794775d
LM
13292011-07-16 Lawrence Mitchell <wence@gmx.li>
1330
1331 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1332 method if slot is read-only (bug#9035).
1333
be39b8cc
MR
13342011-07-16 Martin Rudalics <rudalics@gmx.at>
1335
b796c9b7 1336 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 1337 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
1338 selected before, see discussion of (Bug#8615), (Bug#6954).
1339 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 1340
6ccf7859
GM
13412011-07-15 Glenn Morris <rgm@gnu.org>
1342
1343 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 1344 Respect help-form.
6ccf7859 1345
87e86684
LM
13462011-07-09 Lawrence Mitchell <wence@gmx.li>
1347
1348 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1349 (gnutls-negotiate): Use it.
1350
d6066239
LMI
13512011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1352
b796c9b7
SM
1353 * net/gnutls.el (gnutls-negotiate):
1354 Upcase `gnutls-algorithm-priority'.
d6066239 1355
bd23ebc0
GM
13562011-07-15 Glenn Morris <rgm@gnu.org>
1357
c65bca65
GM
1358 * jka-compr.el (jka-compr-verbose): Move from here...
1359 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1360 Add missing :version tag.
1361 * info.el: No need to require jka-compr when compiling.
bd23ebc0 1362
478615cc
LMI
13632011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1364
7b41decb
LMI
1365 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1366 (gnutls-negotiate): Use it.
1367
dbc44fcd
LMI
1368 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1369
06789f97
LMI
1370 * info.el (Info-beginning-of-buffer): New command.
1371 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1372 announcing `b' as the key (bug#8325).
ab896c37 1373 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 1374
c39da690
LMI
1375 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1376
3aa5f34b
LMI
1377 * international/mule-cmds.el
1378 (describe-specified-language-support): Make the error message
1379 clearer (bug#8905).
1380
4bf0979f
LMI
1381 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1382
478615cc
LMI
1383 * isearch.el (isearch-barrier): Add a doc string, since it's
1384 mentioned in a function doc string (bug#8678).
1385
75c68aa1
MR
13862011-07-15 Martin Rudalics <rudalics@gmx.at>
1387
1388 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1389 buffer argument (Bug#9083) and self-identifying label argument.
1390
a7c33da2
GM
13912011-07-15 Glenn Morris <rgm@gnu.org>
1392
1393 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1394
2f5c6024
LMI
13952011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1396
1397 * man.el (Man-fontify-manpage): Fix message when formatting the
1398 man page (bug#7929).
1399
0bb23927 14002011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
1401
1402 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1403 argument LRM; if non-nil, append an invisible LRM character to the
1404 buffer name.
1405 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1406 last argument non-nil, when formatting buffer names.
0bb23927
EZ
1407 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1408 paragraph direction.
cce4b0a7 1409
621ef9ab
LMI
14102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1411
d1583c48
LMI
1412 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1413 the man page name (bug#7929).
1414
6a57fb5f
LMI
1415 * image.el (put-image): Mention the `put-image' overlay property
1416 (bug#7834).
1417
d7956b14
LMI
1418 * scroll-bar.el (set-scroll-bar-mode): Mention that
1419 `scroll-bar-mode' lists the values (bug#7772).
1420
5b2d4a66
LMI
1421 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1422 command (bug#7729).
1423
7509a874
LMI
1424 * rect.el (apply-on-rectangle): Return the point after the last
1425 operation.
1426 (string-rectangle): Go to the point after the last operation
1427 (bug#7522).
1428
4fe74b19
LMI
1429 * printing.el (pr-toggle-region): Clarify the documentation
1430 slightly (bug#7493).
1431
b796c9b7
SM
1432 * time.el (display-time-update):
1433 Allow `display-time-mail-function' to return nil (bug#7158).
1434 Fix suggested by Detlev Zundel.
ab283561 1435
fc233c9d
LMI
1436 * vc/diff.el (diff): Clarify the order the file names are read
1437 (bug#7111).
1438
43f5740b
LMI
1439 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1440 the doc string (bug#7015).
1441
f2182a76
LMI
1442 * font-lock.el (font-lock-maximum-decoration): Mention what
1443 numeric levels mean (bug#6935).
1444
621ef9ab
LMI
1445 * startup.el (initial-buffer-choice): Don't mention the `none'
1446 selection, which is against policy.
1447
adc47434
MR
14482011-07-14 Martin Rudalics <rudalics@gmx.at>
1449
b796c9b7
SM
1450 * window.el (display-buffer-normalize-special):
1451 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 1452
7e5bfb8f
EZ
14532011-07-14 Eli Zaretskii <eliz@gnu.org>
1454
1455 * subr.el (version<, version<=, version=): Mention "-CVS" and
1456 "-12345" alpha version numbers.
1457
27fa387a
CY
14582011-07-14 Chong Yidong <cyd@stupidchicken.com>
1459
1460 * bindings.el: Add advertised binding for set-mark-command
1461 (Bug#5772).
1462
8bdfa064
CY
14632011-07-14 Chong Yidong <cyd@stupidchicken.com>
1464
1465 * bindings.el (mode-line-other-buffer):
1466 * bookmark.el (bookmark-bmenu-2-window):
1467 * bs.el (bs-cycle-next, bs-cycle-previous):
1468 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1469 switch-to-buffer.
1470
1471 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 1472 Delete.
8bdfa064 1473
5eba16a3
JB
14742011-07-14 Juanma Barranquero <lekktu@gmail.com>
1475
1476 * follow.el (follow-debug-message, follow-redisplay):
1477 * jka-cmpr-hook.el (with-auto-compression-mode):
1478 Fix typos in docstrings.
1479
15853710
LMI
14802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1481
a28e4607
LMI
1482 * subr.el (with-silent-modifications): Clarify somewhat what the
1483 macro inhibits (bug#6525).
1484
15853710
LMI
1485 * simple.el (eval-expression): Note what it does if called
1486 interactively (bug#6495).
1487
bee0fcef
CY
14882011-07-13 Chong Yidong <cyd@stupidchicken.com>
1489
b796c9b7
SM
1490 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
1491 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
1492
1493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1494 Remove switch-to-buffer.
1495
58274504
LMI
14962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1497
bd2fcc8d
LMI
1498 * files.el (make-directory): Clarify that an error will be raised
1499 if there's an error (bug#6397).
1500
0f04b32c
LMI
1501 * startup.el (initial-buffer-choice): Add `none' as a choice
1502 (bug#6234).
1503
465c5fc8
LMI
1504 * subr.el (add-hook): Clarify section about buffer-local hooks
1505 (bug#6218).
1506
58274504
LMI
1507 * dired.el (dired-flagged): Clarify doc string (bug#6117).
1508
bead9a43
JB
15092011-07-13 Juanma Barranquero <lekktu@gmail.com>
1510
1511 * tabify.el (untabify): Preserve the current column so that point
1512 doesn't move (bug#6032).
1513
3af98a7b
LMI
15142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1515
b796c9b7
SM
1516 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
1517 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 1518
6240145a
GM
15192011-07-13 Glenn Morris <rgm@gnu.org>
1520
1521 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
1522 (dired-insert-directory): Give a message the first time
1523 if ls is found not to support --dired.
1524
1d8c2ccc
LMI
15252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1526
1527 * simple.el (toggle-truncate-lines): Clarify what is toggled
1528 (bug#5580). Text by Drew Adams.
1529
5fc4038e
CY
15302011-07-13 Chong Yidong <cyd@stupidchicken.com>
1531
1532 * simple.el (blink-matching-open): Make the error message from the
1533 last change less verbose.
1534
bf6012e5
DN
15352011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1536
1537 * font-lock.el (font-lock-comment-face): Use the high contrast
1538 "yellow" color for font-lock-comment-face on low color terminals
1539 using a dark background color (bug#4221).
1540
343c3b5a
LMI
15412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1542
7e9505c5
LMI
1543 * dired.el (dired-insert-set-properties): Make the doc string
1544 reflect what it does now (bug#5325).
1545
c26fdcf5
LMI
1546 * simple.el (blink-matching-open): Say that we were unable to find
1547 the match within the limit, if we're limited (bug#5122).
1548
bb388cc5
LMI
1549 * international/mule-cmds.el (prefer-coding-system): Add an
1550 example (bug#4869).
1551
343c3b5a
LMI
1552 * progmodes/etags.el (tags-search): Document `file-list-form'
1553 (bug#4731).
1554
2a517d45
LM
15552011-07-13 Lawrence Mitchell <wence@gmx.li>
1556
1557 * net/browse-url.el (browse-url-default-browser)
1558 (browse-url-browser-function): Make the default browser choice a
1559 bit more logical (bug#4300). Also clean up the doc string.
1560
b6c78ef2
JB
15612011-07-13 Juanma Barranquero <lekktu@gmail.com>
1562
1563 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
1564 binary endings (bug#4440).
1565
1c4dd947
LMI
15662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1567
a2014063
LMI
1568 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
1569 which can be pretty annoying (bug#8971).
1570
9c9c2d88
LMI
1571 * jka-compr.el (jka-compr-verbose): New variable, and use
1572 throughout (bug#8971).
1573
1c4dd947
LMI
1574 * info.el (Info-find-file): Fall back on the installation
1575 directory if we can't find the info node anywhere else.
1576
a1c9f41b
SO
15772011-07-13 Sergei Organov <osv@javad.com> (tiny change)
1578
1579 * vc/vc.el (vc-revert-file):
1580 Don't set file time-stamp in the past. (Bug#5181)
1581
536f3d36
LMI
15822011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1583
7152b011
LMI
1584 * files.el (after-find-file): Give a better error message when
1585 trying to find a symlink that points to a file that doesn't exist
1586 (bug#4398).
1587
536f3d36
LMI
1588 * progmodes/cc-vars.el: Remove (probably) misleading comment
1589 (bug#4396).
1590
460c0fba
JB
15912011-07-12 Johan Bockgård <bojohan@gnu.org>
1592
1593 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
1594
7a6bda45
CY
15952011-07-12 Chong Yidong <cyd@stupidchicken.com>
1596
1597 * mouse-sel.el: Hack restoring functionality, while keeping
1598 compatibility with 2010-07-03 changes to mouse selection.
1599 (mouse-sel-primary-overlay): New var.
1600 (mouse-sel-selection-alist): Use it.
1601 (mouse-sel-mode): Doc fix; remove points that are default features
1602 of mouse.el.
1603
c79598ef
JB
16042011-07-12 Johan Bockgård <bojohan@gnu.org>
1605
1606 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1607 Fix previous fix (bug#2490).
1608
ff8be6ef
RW
16092011-07-12 Roland Winkler <winkler@gnu.org>
1610
b796c9b7
SM
1611 * textmodes/bibtex.el (bibtex-initialize):
1612 Use pop-to-buffer-same-window.
ff8be6ef
RW
1613 (bibtex-search-entries): Fix interactive call.
1614
296ba3ee
LMI
16152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1616
f5242a02 1617 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
1618 Fontise bytecomp Error lines more correctly (bug#2490).
1619 Fix suggested by Johan Bockgård.
f5242a02 1620
296ba3ee
LMI
1621 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
1622
1623 * dired-x.el (dired-guess-default): Use `delete-dups'.
1624
f69fd0d2
CY
16252011-07-12 Chong Yidong <cyd@stupidchicken.com>
1626
1627 * dired.el (dired-mark-prompt):
1628 * dired-aux.el (dired-read-shell-command): Doc fix.
1629
eab5dc07
LMI
16302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1631
b796c9b7
SM
1632 * mail/sendmail.el (sendmail-query-once):
1633 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
1634 emacs -Q.
1635
1636 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1637
eab5dc07
LMI
1638 * cus-edit.el (custom-file): Take an optional no-error variable.
1639 (customize-save-variable): Set the variable, and give a warning if
1640 running under "emacs -q".
1641
a1e65d42
JB
16422011-07-11 Juanma Barranquero <lekktu@gmail.com>
1643
1644 * loadhist.el (unload-feature-special-hooks):
1645 Add `auto-coding-functions', `fill-nobreak-predicate' and
1646 `find-directory-functions' (bug#5327).
1647
1d52da10
LMI
16482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1649
be958f1d
LMI
1650 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
1651
5bedb26c
LMI
1652 * cus-edit.el (custom-guess-name-alist): -alist variables should
1653 use the `alist' type (bug#3120). Suggested by Drew Adams.
1654
1d52da10
LMI
1655 * printing.el: Add documentation to all the `pr-toggle-' commands.
1656
481a51b6
LL
16572011-07-11 Leo <sdl.web@gmail.com> (tiny change)
1658
1659 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
1660 backends where it makes sense (bug#2623).
1661
dcc88d8a
LMI
16622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1663
c3de9feb
LMI
1664 * dired-x.el (dired-guess-default): Remove duplicate shell command
1665 entries (bug#2028).
8a93078b 1666 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 1667 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 1668
dcc88d8a
LMI
1669 * subr.el (remove-duplicates): New conveniency function.
1670
505e3645
LMI
16712011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1672
1673 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1674 (bug#1526).
1675
16762011-07-10 Martin Rudalics <rudalics@gmx.at>
1677
1678 * window.el (display-buffer-normalize-default): Don't invert
1679 meaning of even-window-heights. Reported by Eli Zaretskii
1680 <eliz@gnu.org>.
1681
455e4fa1
BR
16822011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1683
1684 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1685
8e0bc3e9
CY
16862011-07-10 Chong Yidong <cyd@stupidchicken.com>
1687
1688 * window.el (display-buffer): Fix arguments to
1689 display-buffer-reuse-window in last change.
1690
fa7c3228
CY
1691 * faces.el (link): Use a less saturated blue on light backgrounds.
1692
1693 * startup.el (fancy-startup-text, fancy-about-text)
1694 (fancy-startup-tail): Use font-lock faces, for background safety.
1695
c0a7f300
BN
16962011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1697
b796c9b7
SM
1698 * emulation/viper-cmd.el (viper-change-state-to-vi):
1699 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 1700
4dc2a129
MR
17012011-07-09 Martin Rudalics <rudalics@gmx.at>
1702
1703 * window.el (display-buffer-default-specifiers): Remove.
1704 (display-buffer-macro-specifiers): Remove default specifiers.
1705 (display-buffer-alist): Default to nil.
b796c9b7 1706 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
1707 (display-buffer-pop-up-window): Allow splitting internal
1708 windows. Check whether a live window was created.
1709 (display-buffer-other-window-means-other-frame)
1710 (display-buffer-normalize-arguments): Rename to
1711 display-buffer-normalize-argument and rewrite. Set the
1712 other-window specifier.
1713 (display-buffer-normalize-special): New function.
1714 (display-buffer-normalize-options): Rename to
1715 display-buffer-normalize-default and rewrite.
1716 (display-buffer-normalize-options-inhibit): Remove.
1717 (display-buffer-normalize-specifiers): Rewrite.
1718 (display-buffer): Process other-window specifier and call
1719 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1720 more faithfully.
b796c9b7 1721 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 1722 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
1723 (display-buffer-in-window, display-buffer-alist-set):
1724 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
1725 <tassilo@member.fsf.org>.
1726
2d43b8c9
LL
17272011-07-09 Leo Liu <sdl.web@gmail.com>
1728
1729 * register.el (insert-register): Restore accidental change on
1730 2011-06-26. (Bug#9028)
1731
7f9b7c53
GM
17322011-07-09 Glenn Morris <rgm@gnu.org>
1733
1734 * subr.el (remq): Handle the empty list. (Bug#9024)
1735
f042cfd8
AS
17362011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1737
1738 * mail/sendmail.el (send-mail-function): No longer delay custom
1739 initialization.
1740 * custom.el (custom-initialize-delay): Doc fix.
1741
856b2f11
SM
17422011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1745
afae1d68
MA
17462011-07-08 Michael Albinus <michael.albinus@gmx.de>
1747
1748 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1749 human-friendly prompt.
1750
0757af94
SM
17512011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1754 provided by a particular plugin.
1755
d760b731
LMI
17562011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1757
1758 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1759 save customizations (with "emacs -Q"), just set the variable
1760 instead of erroring out.
1761
1762 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1763
cd79ce90
JL
17642011-07-08 Juri Linkov <juri@jurta.org>
1765
1766 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1767 (archive-zip-update-case): Use 7z if found by `executable-find'.
1768 The order of searching the available programs is the same as in
1769 `archive-zip-extract' (bug#8968).
1770
14cc04aa
CY
17712011-07-07 Chong Yidong <cyd@stupidchicken.com>
1772
1773 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1774 (menu-bar-options-menu): Tweak descriptions.
1775
0a1848ec
LMI
17762011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1777
1778 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1779 menu items into verb phrases (bug#1421). Also refill to fit under
1780 80 columns.
1781
f5bd0689
CY
17822011-07-07 Chong Yidong <cyd@stupidchicken.com>
1783
538e85c6
CY
1784 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1785 (Info-read-node-name): Doc fix (Bug#1084).
1786
f5bd0689
CY
1787 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1788 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1789 (end-of-sexp, beginning-of-sexp)
1790 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1791 (forward-symbol, forward-same-syntax, word-at-point)
1792 (sentence-at-point): Doc fix (Bug#1144).
1793
56ec5115
LMI
17942011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1795
f3f8e37f
LMI
1796 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1797 should cover it (bug#1281).
1798
0757af94 1799 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 1800
12b9eb35
LMI
1801 * net/network-stream.el (network-stream-open-starttls): If gnutls
1802 negotiation fails, then possibly try again with a non-encrypted
1803 connection (bug#9017).
1804
56ec5115
LMI
1805 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1806 be used.
1807
c2f9aec8
RS
18082011-07-07 Richard Stallman <rms@gnu.org>
1809
1810 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1811 property, and handle its changed format.
1812 Look for the correct line number.
1813 Use file's line contents (but not past first =) to find
1814 correct line in message.
1815
ef7b981d 18162011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
1817
1818 * international/characters.el (build-unicode-category-table):
1819 Delete it.
0757af94 1820 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 1821
0757af94 1822 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
1823 to src/chartab.c.
1824 (get-char-code-property): Call unicode-property-table-internal to
1825 load a file. Call get-unicode-property-internal where necessary.
1826 (put-char-code-property): Call unicode-property-table-internal to
1827 load a file. Call put-unicode-property-internal where necessary.
1828 put-unicode-property-internal where necessary.
0757af94
SM
1829 (char-code-property-description):
1830 Call unicode-property-table-internal to load a file.
c805dec0
KH
1831
1832 * international/charprop.el:
1833 * international/uni-bidi.el:
1834 * international/uni-category.el:
1835 * international/uni-combining.el:
1836 * international/uni-comment.el:
1837 * international/uni-decimal.el:
1838 * international/uni-decomposition.el:
1839 * international/uni-digit.el:
1840 * international/uni-lowercase.el:
1841 * international/uni-mirrored.el:
1842 * international/uni-name.el:
1843 * international/uni-numeric.el:
1844 * international/uni-old-name.el:
1845 * international/uni-titlecase.el:
1846 * international/uni-uppercase.el: Regenerate.
1847
1848 * loadup.el: Load international/charprop.el before
1849 international/characters.
1850
e14b388a
CY
18512011-07-07 Chong Yidong <cyd@stupidchicken.com>
1852
1853 * window.el (next-buffer, previous-buffer): Signal an error if
1854 called from a minibuffer window.
1855
1856 * bindings.el: Revert 2011-07-04 change.
1857
354cf0ba
RS
18582011-07-06 Richard Stallman <rms@gnu.org>
1859
1860 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1861 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1862 Treat markers like ints.
1863 (rmail-mime-entity): Doc fix.
1864
a48868a7
LMI
18652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1866
4906cd3d
LMI
1867 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1868 defcustom again for backwards compatibility.
1869
e0457abe
LMI
1870 * simple.el (shell-command-on-region): Fill.
1871
d67f7e1f
LMI
1872 * dired-aux.el (dired-kill-line): Add a doc string.
1873
fe204702
LMI
1874 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1875 to "\\sw\\|\\s_" (bug#358).
1876
a48868a7
LMI
1877 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1878 (dired-unmark-backward): Ditto.
1879 (dired-flag-backup-files): Ditto.
1880
1881 * dired-x.el (dired-mark-sexp): Ditto.
1882
aa8a705c
RS
18832011-07-06 Richard Stallman <rms@gnu.org>
1884
1885 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1886 (rmail-mime-entity): New arg TRUNCATED.
1887 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1888 New functions.
1889 (rmail-mime-save): Warn if entity is truncated.
1890 (rmail-mime-toggle-hidden): Likewise, for showing.
1891 (rmail-mime-process-multipart): Record when an entity is truncated.
1892
a9a936b9
RS
1893 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1894 if ENTITY is a string.
1895
1f2b92cb
LMI
18962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1897
f4f73198 1898 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
1899 of faces when `M-C-x'-ing their definitions (bug#8378).
1900 Also clean up the code slightly.
f4f73198 1901
12b16734
LMI
1902 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1903 because that makes the colours go away.
1904
f0691d22
LMI
1905 * mail/sendmail.el (send-mail-function): Change the default to
1906 `sendmail-query-once'.
9e87df06 1907 (sendmail-query-once): Add an autoload cookie.
f0691d22 1908
1f2b92cb
LMI
1909 * net/network-stream.el (network-stream-open-starttls): Try using
1910 a plain connection even if the server offered STARTTLS, and we
1911 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1912 capability. This should make smtpmail.el work in slightly more
1913 configurations.
1914
1cdd2a1b
MA
19152011-07-06 Michael Albinus <michael.albinus@gmx.de>
1916
1917 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1918 New defun.
1919 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1920
fbcc67e2
MM
19212011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1922
1923 * progmodes/sql.el: Version 3.0
0757af94 1924 (sql-product-alist): Add product :completion-object,
fbcc67e2 1925 :completion-column, and :statement attributes.
0757af94 1926 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 1927 (sql-mode-syntax-table): Mark all punctuation.
0757af94 1928 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
1929 ansi keywords.
1930 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 1931 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
1932 (sql-oracle-show-reserved-words): New function for development.
1933 (sql-product-font-lock): Simplify for source code buffers.
1934 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1935 New functions.
1936 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
1937 (sql-mode-map): Add statement movement functions.
1938 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1939 New variable.
fbcc67e2
MM
1940 (sql-statement-regexp, sql-beginning-of-statement)
1941 (sql-end-of-statement, sql-signum): New functions.
0757af94 1942 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
1943 (sql-show-sqli-buffer): Bug fix.
1944 (sql-interactive-mode): Store connection data as buffer local.
0757af94 1945 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
1946 with sql-interactive-mode.
1947 (sql-save-connection): Save buffer local settings.
0757af94 1948 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
1949 (sql-product-interactive): Bug fix.
1950 (sql-preoutput-hold): New variable.
1951 (sql-interactive-remove-continuation-prompt): Bug fixes.
1952 (sql-debug-redirect): New variable.
1953 (sql-str-literal): New function.
1954 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 1955 Redesign.
fbcc67e2
MM
1956 (sql-oracle-save-settings, sql-oracle-restore-settings)
1957 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1958 (sql-completion-object, sql-completion-column)
1959 (sql-completion-sqlbuf): New variables.
1960 (sql-build-completions-1, sql-build-completions)
1961 (sql-try-completion): New functions.
1962 (sql-read-table-name): Use them.
1963 (sql-contains-names): New buffer local variable.
1964 (sql-list-all, sql-list-table): Use it.
1965 (sql-oracle-completion-types): New variable.
1966 (sql-oracle-completion-object, sql-sqlite-completion-object)
1967 (sql-postgres-completion-object): New functions.
1968
d4eaeab1
GM
19692011-07-06 Glenn Morris <rgm@gnu.org>
1970
1971 * window.el (pop-to-buffer): Doc fix.
1972
322b7dab 19732011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
1974
1975 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1976
322b7dab 19772011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 1978
322b7dab 1979 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 1980
322b7dab 1981 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 1982
605dd5bf
CY
19832011-07-05 Chong Yidong <cyd@stupidchicken.com>
1984
1985 * button.el (button): Inherit from link face. Suggested by Dan
1986 Nicolaescu.
1987
7dbfa719
SM
19882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1989
3db614b0
SM
1990 * progmodes/gdb-mi.el: Fit in 80 columns.
1991 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1992 switch-to-buffer.
1993
7dbfa719
SM
1994 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1995 if imenu is simply not configured (bug#8941).
1996
919d884a
KM
19972011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1998
1999 * allout.el (allout-post-undo-hook): New allout outline-change
2000 event hook to signal undo activity.
2001 (allout-post-command-business): Run allout-post-undo-hook if an
2002 undo just occurred.
7dbfa719
SM
2003 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
2004 * allout-widgets.el (allout-widgets-after-undo-function):
2005 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
2006 in the vicinity of an undo.
2007 (allout-widgets-mode): Include allout-widgets-after-undo-function
2008 on the new allout-post-undo-hook.
2009
450a0f09
SM
20102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
2013 Let define-derived-mode define it.
2014 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
2015 cycles of abbrev-table inheritance (bug#8998).
2016
2de69e00
RW
20172011-07-05 Roland Winkler <winkler@gnu.org>
2018
2019 * textmodes/bibtex.el: Add support for biblatex.
2020 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
2021 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
2022 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
2023 (bibtex-entry-alist, bibtex-field-alist): New variables.
2024 (bibtex-entry-field-alist): Obsolete alias for
2025 bibtex-BibTeX-entry-alist.
2026 (bibtex-entry-alist, bibtex-field-alist): New widgets.
2027 (bibtex-set-dialect): New command.
2028 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
2029 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
2030 Bind via bibtex-set-dialect.
2de69e00
RW
2031 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
2032 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
2033 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
2034 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
2035 Define via bibtex-set-dialect.
450a0f09
SM
2036 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
2037 Obey bibtex-no-opt-remove-re.
2de69e00
RW
2038 (bibtex-vec-push, bibtex-vec-incr): New functions.
2039 (bibtex-format-entry, bibtex-field-list)
2040 (bibtex-print-help-message, bibtex-validate)
2041 (bibtex-search-entries): Use new format of bibtex-entry-alist.
2042
2dcdbdd9
SM
20432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * progmodes/compile.el (compilation-goto-locus):
2046 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2047 * bs.el (bs-cycle-next, bs-cycle-previous):
2048 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
2049 * bindings.el (mode-line-other-buffer):
2050 * autoinsert.el (auto-insert):
2051 * arc-mode.el (archive-extract):
2052 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
2053
b27640fe
JB
20542011-07-05 Juanma Barranquero <lekktu@gmail.com>
2055
2056 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
2057 Fix check of `emacs-lock-unlockable-modes'.
2058 Coerce true values of `emacs-lock--try-unlocking' to t.
2059
53bbe3ad
JB
20602011-07-05 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
2063 * emacs-lock.el: New file.
2064
1d3cdbc7
JD
20652011-07-05 Julien Danjou <julien@danjou.info>
2066
2067 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
2068 than `boundp' to check if face is set.
2069
9173deec
JB
20702011-07-05 Juanma Barranquero <lekktu@gmail.com>
2071
2072 * register.el (registerv-make):
2073 * window.el (window-min-height): Fix typos in docstrings.
2074
869795d6
JD
20752011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2076
9173deec 2077 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
2078 Update doc string.
2079
b768cdcd
JB
20802011-07-04 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * server.el (server-execute): Catch quit and call
2083 `server-return-error' to pass the error back to emacsclient and
2084 close the connection (bug#8942).
2085
13aa217b
KM
20862011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
2087
2088 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2089 insecure exception for current topic. Also note that auto-saves
2090 are handled differently.
2091
2092 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2093 State variables for tracking auto-save inhibition situation.
2094
2095 (allout-write-contents-hook-handler): Rename from
2096 'allout-write-file-hook-handler', and describe how it depends on
2097 write-contents-functions sensitivity to non-nil value to prevent
2098 file write.
2099
2100 (allout-auto-save-hook-handler): Remove. auto-save does not check
2101 this in individual buffers, only in the starting buffer, so this
2102 is not the right way for us to inhibit auto-save in a buffer
2103 according to its condition.
2104
2105 (allout-mode): Use new allout-write-contents-hook-handler, and
2106 only with write-contents-functions. Remove auto-save provisions -
2107 they're implemented elsewhere.
2108
2109 (allout-before-change-handler): If undo is in progress, note that
2110 for attention of allout-post-command-business.
2111
2112 (allout-post-command-business): If the command we're following was
2113 an undo, check for change in the status of encrypted items and
2114 adjust auto-save inhibitions accordingly.
2115
2116 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2117 according to whether there are or aren't any plain-text topics
2118 pending encryption.
2119
2dcdbdd9
SM
2120 (allout-inhibit-auto-save-info-for-decryption):
2121 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
2122 there are plain-text topics pending encryption.
2123
2124 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2125 buffer-saved-size and some allout state to not inhibit auto-saves
2126 if there are no longer any plain-text topics pending encryption.
2127
0757af94
SM
2128 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2129 No longer provide for exemption of the current topic.
13aa217b 2130
ac89b32c
JL
21312011-07-04 Juri Linkov <juri@jurta.org>
2132
2133 Add 7z operations to delete and save changed members (bug#8968).
2134 * arc-mode.el (archive-7z-expunge, archive-7z-update):
2135 New defcustoms.
2136 (archive-7z-write-file-member): New function.
2137 (archive-7z-summarize): Fix the number of dashes in the
2138 listing output.
2139
8fa39615
SM
21402011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2143 (bug#8958).
2144
2f11b3f1
CY
21452011-07-04 Chong Yidong <cyd@stupidchicken.com>
2146
d66fef2b
CY
2147 * bindings.el: Ignore next-buffer and previous-buffer in
2148 minibuffer-local-map.
2149
2f11b3f1
CY
2150 * font-lock.el (font-lock-builtin-face): Change light background
2151 color to dark slate blue (Bug#6693).
2152
f932a347
WD
21532011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
2154
2155 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2156
c8af70e1
SM
21572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2160 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2161 Add switch-to-buffer.
2162
f158badc
LMI
21632011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2164
2165 * isearch.el (isearch-search-fun-function): Clarify further the
2166 meaning of the function returned.
2167
6d95bd46
MA
21682011-07-04 Michael Albinus <michael.albinus@gmx.de>
2169
2170 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2171
2172 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2173 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2174 Use it.
2175 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
2176 `tramp-default-remote-path' does not exist.
2177 (tramp-send-command-and-read): New optional argument NOERROR.
2178 (tramp-open-connection-setup-interactive-shell)
2179 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2180 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2181 (tramp-process-sentinel): Flush also process' connection property.
2182 (tramp-sh-handle-start-file-process): Do not set process
2183 sentinel. It is done now ...
2184 (tramp-maybe-open-connection): ... here. (Bug#8929)
2185
909e6b67
MK
21862011-07-04 MON KEY <monkey@sandpframing.com>
2187
2188 * play/animate.el (animate-string): Doc fixes and allow changing
2189 the buffer name (bug#5417).
2190
21912011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2192
c8af70e1 2193 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 2194
f34755dc
PE
21952011-07-04 Paul Eggert <eggert@cs.ucla.edu>
2196
396cec72
PE
2197 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2198 This is simpler and helps future-proof the code.
2199 (timer-until): Use time-subtract and float-time.
08235028 2200 (timer--time-less-p): Use time-less-p.
f34755dc 2201
56e6cc31
JB
22022011-07-04 Juanma Barranquero <lekktu@gmail.com>
2203
3abb79e5
JB
2204 * type-break.el (timep): Use the value of `float-time' to avoid a
2205 byte-compiler warning.
2206
56e6cc31
JB
2207 * server.el (server-eval-and-print): Return any result, even nil.
2208
7b9430b4
PE
22092011-07-03 Paul Eggert <eggert@cs.ucla.edu>
2210
2211 * type-break.el: Accept time formats that the builtins accept.
2212 (timep, type-break-time-difference): Accept any format that
2213 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2214 This is simpler and helps future-proof the code.
2215 (type-break-time-difference): Round rather than ignoring
2216 subseconds components.
2217
3034e9e7
LMI
22182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2219
2220 * info.el (Info-apropos-matches): Make non-interactive, since it
2221 doesn't seem to do anything useful as a command (bug#8829).
2222
1485f4c0
CY
22232011-07-03 Chong Yidong <cyd@stupidchicken.com>
2224
2225 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 2226 Move from faces.el.
1485f4c0
CY
2227 (frame-default-terminal-background): New function.
2228
2229 * custom.el (custom-push-theme): Don't record faces in `changed'
2230 theme; this doesn't work correctly for per-frame face settings.
2231 (disable-theme): Use face-set-after-frame-default to reset faces.
2232 (custom--frame-color-default): New function.
2233
9fa3dd45
LMI
22342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2235
c8af70e1 2236 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
2237 (bug#8769).
2238
6cbbc20c
KR
22392011-03-29 Kevin Ryde <user42@zip.com.au>
2240
2241 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2242 `perl-Test2' extend to match possible "fail #N" rep count
2243 (bug#8377).
2244
c7f98048
LMI
22452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2246
65676592
LMI
2247 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2248 `smtpmail-via-smtp' now returns the error instead of nil.
2249
c7f98048
LMI
2250 * isearch.el (isearch-search-fun-function): Clarify the doc string
2251 (bug#8101).
2252
56e6cc31 22532011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
2254
2255 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2256 unnecessary spaces (bug#8987).
2257
2b216704
LMI
22582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2259
2260 * net/network-stream.el (open-network-stream): Use the
2261 :end-of-capability command thoughout.
2262
22632011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2264
2265 * net/network-stream.el (open-network-stream): Add the
2266 :end-of-capability command parameter, used by pop3.el.
2267
36adf6ce
LMI
22682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2269
1ca0da0e
LMI
2270 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2271
fc00f69c
LMI
2272 * fringe.el (fringe-query-style): Remove redundant text " (type ?
2273 for list)" (bug#6475).
2274
28fd8759
LMI
2275 * files.el (file-expand-wildcards): Ignore non-readable
2276 sub-directories while trying to find matches instead of signalling
2277 an error (bug#6297).
2278
0dd8b6da
LMI
2279 * man.el (Man-reference-regexp): Allow matching possible
2280 word-wrapped references (bug#6289).
2281
ce1438d6
LMI
2282 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2283 for consistency with the other vc buffers (bug#6197).
2284 (vc-checkin): Ditto.
2285
2286 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2287
36adf6ce
LMI
2288 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2289
e83cc1f7
LMI
22902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2291
8a20ca4c
LMI
2292 * custom.el (defcustom): Clarify that :set is only used in the
2293 Customize user interface (bug#6089).
2294
83319045
LMI
2295 * progmodes/flymake.el (flymake-mode): If the buffer isn't
2296 associated with a file, refuse to run instead of erroring out
2297 (bug#6084).
2298
a8392169
LMI
2299 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2300 the doc string, since it appears that using `fill-column' always
2301 controls the width (bug#7845).
2302
e83cc1f7
LMI
2303 * simple.el (shell-command-on-region): Say where the error output
2304 went if `shell-command-default-error-buffer' is set (bug#6857).
2305
e47ca23b
KM
23062011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
2307
2308 * allout.el (allout-yank-processing): Adjust cursor position for
2309 backwards-deleted space.
2310
2311 (allout-rebullet-heading): Register changes with
2312 allout-exposure-changed-hook, so the modified topic is properly
2313 decorated.
2314
5cf56143
LMI
23152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2316
08549772
LMI
2317 * minibuffer.el (completion-in-region): Document PREDICATE
2318 (bug#7136).
2319
48e96771
LMI
2320 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2321 of keyword/argument pairs (bug#6904).
2322
c8af70e1
SM
2323 * replace.el (multi-occur):
2324 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 2325
e17d05e2
LMI
23262011-07-02 Drew Adams <drew.adams@oracle.com>
2327
2328 * dired.el (dired-mark-if): Make the message about whether it's
2329 marking or unmarking clearer (bug#8523).
2330
063b0e45
LMI
23312011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2332
2333 * disp-table.el (display-table-print-array): New function.
2334 (describe-display-table): Use it to print the vectors more pretty
2335 (Bug#8859).
2336
28545e04
MR
23372011-07-02 Martin Rudalics <rudalics@gmx.at>
2338
2339 * window.el (window-state-get-1): Don't assign clone numbers.
2340 Add clone-of item to list of window parameters.
2341 (window-state-put-2): Don't process clone numbers.
2342 (display-buffer-alist): Fix doc-string.
2343
3349e122
SM
23442011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * subr.el (remq): Don't allocate if it's not needed.
2347 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2348 (keymap--merge-bindings): New functions.
2349 (keymap-canonicalize): Use them to refine the canonicalization.
2350 * minibuffer.el (minibuffer-local-completion-map)
2351 (minibuffer-local-must-match-map): Move initialization from C.
2352 (minibuffer-local-filename-completion-map): Move initialization from C;
2353 don't inherit from anything here.
2354 (minibuffer-local-filename-must-match-map): Make obsolete.
2355 (completing-read-default): Use make-composed-keymap to combine
2356 minibuffer-local-filename-completion-map with either
2357 minibuffer-local-must-match-map or
2358 minibuffer-local-filename-completion-map.
2359
d224ac83
GM
23602011-07-01 Glenn Morris <rgm@gnu.org>
2361
3de63bf8
GM
2362 * type-break.el (type-break-time-sum): Use dolist.
2363
d224ac83
GM
2364 * textmodes/flyspell.el (flyspell-word-search-backward):
2365 Replace CL function.
2366
1a1e3f32
SM
23672011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2368
fe3f64d5
SM
2369 * mouse.el (mouse--strip-first-event): New function.
2370 (function-key-map): Use it to map fringe clicks to normal clicks
2371 by default.
2372
eb604e34
SM
2373 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2374 (vc-bzr-revision-completion-table): Add support for annotate and date.
2375
1a1e3f32
SM
2376 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2377 inherit from parent.
2378
5bd35902
LMI
23792011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2380
ace6c69c 2381 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 2382 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 2383
191e2bed
LMI
2384 * dired.el (dired-mode): Fix up the doc string as suggested by
2385 Drew Adams (bug#8817).
2386
5bd35902
LMI
2387 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2388 cookie, since the manual says that it should be possible to add
2389 this function to `find-file-hook' (bug#8709).
2390
eee8207a
TZ
23912011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2392
2393 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2394 here. Noted Ted Zlatanov as the maintainer.
2395 (cfengine-common-settings, cfengine-common-syntax): New functions
2396 to set up common things between `cfengine-mode' and
2397 `cfengine3-mode'.
2398 (cfengine3-mode): New mode.
2399 (cfengine3-defuns cfengine3-defuns-regex
2400 (cfengine3-class-selector-regex cfengine3-category-regex)
2401 (cfengine3-vartypes cfengine3-font-lock-keywords)
2402 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 2403 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 2404
36b148cf
MA
24052011-07-01 Michael Albinus <michael.albinus@gmx.de>
2406
2407 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2408
2409 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2410
0bf4ba9a
MR
24112011-07-01 Martin Rudalics <rudalics@gmx.at>
2412
2413 * window.el (same-window-buffer-names, same-window-regexps)
2414 (same-window-p, special-display-frame-alist)
2415 (special-display-popup-frame, special-display-function)
2416 (special-display-buffer-names, special-display-regexps)
2417 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2418 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2419 (split-window-preferred-function, split-height-threshold)
2420 (split-width-threshold, even-window-heights)
2421 (display-buffer-mark-dedicated, window-splittable-p)
2422 (split-window-sensibly, window-safely-shrinkable-p):
2423 Un-obsolete.
2424 (display-buffer): Don't spread args with function specifier
2425 because special-display-popup-frame won't like it.
2426
35837f51
PE
24272011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2428
d0672f86
PE
2429 Time-stamp simplifications and fixes.
2430 These improve accuracy slightly, and future-proof the code
2431 against some potential changes to current-time format.
2432
b9444d97
PE
2433 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2434 by using time-since and float-time.
2435
0ef923dc
PE
2436 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2437 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2438 + NNN microseconds".
2439
2f81380d
PE
2440 * type-break.el (type-break-time-sum): Rewrite using time-add.
2441
845b5c3e
PE
2442 * play/hanoi.el (hanoi-current-time-float): Remove.
2443 All uses replaced by float-time.
2444
ee6f1be0
PE
2445 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2446 This yields a more-accurate answer.
2447 (rng-time-to-float): Remove; no longer needed.
2448
fe955043
PE
2449 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2450
5777162a
PE
2451 * calendar/timeclock.el (timeclock-seconds-to-time):
2452 Defalias to seconds-to-time, since they're the same thing.
2453
3103f8b6 2454 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 2455 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
2456 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2457
0e61a35f
SM
24582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * window.el (bury-buffer): Don't iconify the only frame.
2461 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2462 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
2463
ddd63a1e
CY
24642011-07-01 Chong Yidong <cyd@stupidchicken.com>
2465
0e61a35f
SM
2466 * eshell/em-smart.el (eshell-smart-display-navigate-list):
2467 Add mouse-yank-primary.
ddd63a1e 2468
055f4923
TZ
24692011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2470
2471 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2472
6a2fb145
SM
24732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2474
2475 * emacs-lisp/find-func.el (find-library--load-name): New fun.
2476 (find-library-name): Use it to find relative load names when provided
2477 absolute file name (bug#8803).
2478
fd4983f2
LMI
24792011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2480
887d14ad
LMI
2481 * textmodes/flyspell.el (flyspell-word): Consider words that
2482 differ only in case as potential doublons (bug#5687).
2483
c53dc7fc
LMI
2484 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2485 Remove two rather uninteresting debugging-like messages to make
2486 debbugs.el more silent.
2487
fd4983f2
LMI
2488 * comint.el (comint-password-prompt-regexp): Accept "Response" as
2489 a password-like phrase.
2490
b14c0c55
AM
24912011-06-30 Mastake YAMATO <yamato@redhat.com>
2492
2493 * progmodes/cc-guess.el: New file.
2494
6a2fb145 2495 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
2496
2497 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
2498 derived from `c-basic-common-init'.
2499
2500 * progmodes/cc-mode.el (top-level): Require cc-guess.
2501 (c-basic-common-init): Use `cc-choose-style-for-mode'.
2502
1fa280a3
LM
25032011-06-30 Lawrence Mitchell <wence@gmx.li>
2504
2505 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
2506
e6597158
AM
25072011-06-30 Alan Mackenzie <acm@muc.de>
2508
1fa280a3
LM
2509 * progmodes/cc-engine.el (c-guess-continued-construct):
2510 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
2511 lock is disabled. Name this case as "CASE G".
2512
68ba37fb
KM
25132011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
2514
2515 * allout.el (allout-yank-processing): Fix injection of extra space
2516 between bullet and non-whitespace character in first topic when
2517 pasting, ensuring that the actual spacing in the pasted topic
2518 following the bullet char is preserved. This extra space was
2519 causing pasted encrypted topics to get a decrypted status even
2520 when the content was actually still encrypted. Now the decryption
2521 status from before the paste is preserved.
2522
2523 (allout-flag-region): Set all allout overlays so they evaporate
2524 when reduced to zero length (evanescent), to prevent overlay
2525 leakage.
2526
887a0b34
GM
25272011-06-30 Glenn Morris <rgm@gnu.org>
2528
94b9acce
GM
2529 * w32-fns.el (w32-charset-info-alist): Declare.
2530
1d9b46d4
GM
2531 * find-dired.el (find-grep-options): Simplify.
2532
cc232200
GM
2533 * term/ns-win.el (ns-set-resource): Declare.
2534
28e77c46
GM
2535 * ses.el (row, col): Declare dynamic variables honestly.
2536
887a0b34
GM
2537 * textmodes/reftex-parse.el (index-tags): Declare.
2538
658d8eb8
CY
25392011-06-30 Chong Yidong <cyd@stupidchicken.com>
2540
2541 * cus-edit.el (customize-push-and-save): New function.
2542
2543 * files.el (hack-local-variables-confirm): Use it.
2544
1fa280a3
LM
2545 * custom.el (load-theme): New arg NO-CONFIRM.
2546 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
2547 (custom-enabled-themes): Doc fix.
2548
2549 * cus-theme.el (customize-create-theme)
2550 (custom-theme-merge-theme): Callers to load-theme changed.
2551
bb617717
LMI
25522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2553
d61bdd5d
LMI
2554 * thingatpt.el (thing-at-point-short-url-regexp): Require that
2555 short URLs have at least one dot in them (bug #7614).
2556
bb617717
LMI
2557 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
2558 nil, because using a pty is apparently too slow (bug #895).
2559
2f31f37a
LMI
25602011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2561
2562 * mail/sendmail.el (sendmail-query-once): New function.
2563 (sendmail-query-once-function): New variable.
2564
3076b24e
GM
25652011-06-29 Glenn Morris <rgm@gnu.org>
2566
faf2a174
GM
2567 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
2568
3076b24e
GM
2569 * ses.el (top-level): Require cl when compiling.
2570 (ses-set-localvars): Fix error statement.
2571 Call it at compile time to silence a storm of warnings.
2572
5386012d
MR
25732011-06-29 Martin Rudalics <rudalics@gmx.at>
2574
2575 * window.el (normalize-live-buffer): Rename to
2576 window-normalize-buffer.
2577 (normalize-live-frame): Rename to window-normalize-frame.
2578 (normalize-any-window): Rename to window-normalize-any-window.
2579 (normalize-live-window): Rename to window-normalize-live-window.
2580 (make-window-atom): Rename to window-make-atom.
2581 (window-resize-reset): Rename to window--resize-reset.
2582 (window-resize-reset-1): Rename to window--resize-reset-1.
2583 (resize-mini-window): Rename to window--resize-mini-window.
2584 (resize-subwindows-skip-p): Rename to
2585 window--resize-subwindows-skip-p.
2586 (resize-subwindows-normal): Rename to
2587 window--resize-subwindows-normal.
2588 (resize-subwindows): Rename to window--resize-subwindows.
2589 (resize-other-windows): Rename to window--resize-siblings.
2590 (resize-this-window): Rename to window--resize-this-window.
2591 (resize-root-window): Rename to window--resize-root-window.
2592 (resize-root-window-vertically): Rename to
2593 window--resize-root-window-vertically.
2594 (normalize-buffer-to-display): Rename to
2595 window-normalize-buffer-to-display.
2596 (normalize-buffer-to-switch-to): Rename to
2597 window-normalize-buffer-to-switch-to.
2598 Correspondingly update all callers of the functions listed
2599 above.
2600 (display-buffer-alist, display-buffer-normalize-arguments)
2601 (display-buffer-normalize-options, display-buffer)
2602 (display-buffer-alist-set): Use "function" instead of
2603 "fun-with-args".
2604
1176868d
CY
26052011-06-28 Chong Yidong <cyd@stupidchicken.com>
2606
2607 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
2608 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
2609 debbugs.gnu.org. Mention acknowledgment email.
2610
20a7a65f
LMI
26112011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
2612
2613 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
2614 buffer multibyteness, since it shouldn't matter.
2615
5f45cca5
MR
26162011-06-28 Martin Rudalics <rudalics@gmx.at>
2617
2618 * window.el (display-buffer-in-side-window): Handle dedicated
2619 windows as in display-buffer-reuse-window.
2620 (display-buffer-normalize-alist): Use value of override
2621 specifier.
2622 (display-buffer-normalize-specifiers): Use value of
2623 other-window-means-other-frame specifier.
2624 (display-buffer-alist): Rewrite some texts in widgets.
2625 (display-buffer): Spread arguments when calling function
2626 specified by fun-with-args.
2627
ad85fe1f
DD
26282011-06-28 Deniz Dogan <deniz@dogan.se>
2629
1fa280a3
LM
2630 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2631 Unnest `let'.
da68c4c8 2632
ad85fe1f
DD
2633 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
2634 selectors (Bug#5732).
ec49bd31 2635 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 2636
a08cc025
JA
26372011-06-27 Jari Aalto <jari.aalto@cante.net>
2638
2639 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
2640 (eshell-ls-date-format): New defcustom.
2641 (eshell-ls-file): Use it.
2642
e2b551c5
SM
26432011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * help-fns.el (describe-variable): Fix message for terminal-local vars.
2646
8982b231
KY
26472011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
2648
2649 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
2650 (ange-ftp-make-tmp-name): New arg.
2651 (ange-ftp-file-local-copy): Use it.
2652
36c9fa27
J
26532011-06-27 Jambunathan K <kjambunathan@gmail.com>
2654
2655 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
2656 no-conversion (Bug#8870).
2657
d68443dc
MR
26582011-06-27 Martin Rudalics <rudalics@gmx.at>
2659
2660 * window.el (window-right, window-left, window-child)
2661 (window-child-count, window-last-child)
2662 (window-iso-combination-p, walk-window-tree-1)
2663 (window-atom-check-1, window-tree-1, delete-window)
2664 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
2665 new naming conventions - window-vchild, window-hchild,
2666 window-next and window-prev are now called window-top-child,
2667 window-left-child, window-next-sibling and window-prev-sibling
2668 respectively.
d615d6d2
MR
2669 (resize-window-reset): Rename to window-resize-reset.
2670 (resize-window-reset-1): Rename to window-resize-reset-1.
2671 (resize-window): Rename to window-resize.
2672 (window-min-height, window-min-width)
2673 (resize-mini-window, resize-this-window, resize-root-window)
2674 (resize-root-window-vertically, adjust-window-trailing-edge)
2675 (enlarge-window, shrink-window, maximize-window)
2676 (minimize-window, delete-window, quit-restore-window)
2677 (split-window, balance-windows, balance-windows-area-adjust)
2678 (balance-windows-area, window-state-put-2)
2679 (display-buffer-even-window-sizes, display-buffer-set-height)
2680 (display-buffer-set-width, set-window-text-height)
2681 (fit-window-to-buffer): Rename all "resize-window" prefixed
2682 calls to use the "window-resize" prefix convention.
2683 (display-buffer-alist): Fix symbol for label specifier.
2684 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2685 corresponding specifier.
2686 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 2687
b6458526
VB
26882011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2689
2690 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2691 convention.
2692 (ses-call-printer): Does not pass an empty string to formatter when the
2693 cell is empty to keep from barking printer Calc math-format-value.
2694
d31fd9ac
RS
26952011-06-27 Richard Stallman <rms@gnu.org>
2696
43d5bf84
RS
2697 * battery.el (battery-mode-line-limit): New variable.
2698 (battery-update): Handle it.
2699
d31fd9ac
RS
2700 * mail/rmailmm.el (rmail-mime-process-multipart):
2701 Handle truncated messages.
2702
819a6054
GM
27032011-06-27 Glenn Morris <rgm@gnu.org>
2704
2705 * progmodes/flymake.el (flymake-err-line-patterns):
2706 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2707
cedc73f2
VB
27082011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2709
819a6054 2710 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
2711 (ses--clean-!, ses--clean-_): New functions.
2712 (ses-range): Add configurability of readout order, and conversion
2713 to Calc vector.
2714
5e5d49b6
VB
2715 * ses.el (ses-repair-cell-reference-all): New function.
2716 (ses-cell-symbol): Set macro as safe, so that it can be used in
2717 formulas.
2718
56e6cc31 2719 * ses.el: Update cycle detection algorithm.
90ca8b49 2720 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 2721 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
2722 (ses-set-localvars): New function.
2723 (ses-make-cell): Add property-list as a cell element.
2724 (ses-cell-property-get-fun, ses-cell-property-get)
2725 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
2726 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2727 New functions.
90ca8b49
VB
2728 (ses-cell-property-set, ses-cell-property-pop)
2729 (ses-cell-property-get-handle): New macro.
2730 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2731 New aliases, used for code readability.
2732 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2733 cycle detection.
2734 (ses-self-reference-early-detection): New defcustom.
2735 (ses-formula-references): Robustify against self-refering cells.
2736 (ses-mode): Use ses-set-localvars.
2737 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2738 before lauching the update processing.
2739 (ses-initialize-Dijkstra-attempt): New function.
2740 (ses-recalculate-cell): Update for cycle detection based on
2741 Dijkstra algorithm.
2742
2bb63e81
VB
2743 * ses.el: Fix commenting and indenting convention.
2744
c9d29fb8
SM
27452011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 * bs.el (bs-cycle-next): Complete last change.
2748
d8e4b68b
JB
27492011-06-27 Drew Adams <drew.adams@oracle.com>
2750
2751 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2752
40098786
LMI
27532011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2754
c9d29fb8
SM
2755 * net/network-stream.el (network-stream-open-starttls):
2756 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
2757 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2758
40098786
LMI
2759 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2760 to binary to possibly avoid line encoding issues on Windows (among
2761 other things).
2762
468d09d4
LMI
27632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2764
2765 * net/network-stream.el (open-network-stream): Return an :error
2766 saying what the problem was, if possible.
2767
2768 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2769 server.
2770
2771 * net/network-stream.el (network-stream-open-starttls): If we
2772 wanted to use STARTTLS, and the server offered it, but we weren't
2773 able to because we had no STARTTLS support, then close the connection.
2774 (open-network-stream): Return an :error element, if present.
2775
16f07dd7
CY
27762011-06-26 Chong Yidong <cyd@stupidchicken.com>
2777
88821ca0
CY
2778 * hl-line.el (hl-line-sticky-flag): Doc fix.
2779 (global-hl-line-sticky-flag): New option (Bug#8323).
2780 (global-hl-line-highlight): Obey it.
2781
16f07dd7
CY
2782 * vc/vc.el (vc-revert-show-diff): Default to t.
2783
6b5ccddf
KM
27842011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2785
c9d29fb8
SM
2786 * allout-widgets.el (allout-widgets-post-command-business):
2787 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
2788 undecorated when an isearch is continued past, and isearch
2789 automatically collapses them. This leads to "widget leaks", where
2790 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
2791 hidden widgets can slow down cursor travel, substantially.
2792 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
2793 so we're doing without this nicety.
2794
2795 (allout-widgets-tally-string): Don't try to do a hash-table-count
2796 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2797 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2798 *Messages* when allout-widgets-maintain-tally is t.
2799
355f2e07
MR
28002011-06-26 Martin Rudalics <rudalics@gmx.at>
2801
2802 * window.el (display-buffer-normalize-argument): Rename to
2803 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
2804 LABEL argument. Respect special-display-function when popping up
2805 a new frame. Fix code searching for a window showing the buffer
2806 on another frame.
c9d29fb8
SM
2807 (display-buffer-normalize-specifiers):
2808 Call display-buffer-normalize-arguments.
355f2e07
MR
2809 (display-buffer-in-window): Don't undedicate the window if its
2810 buffer remains the same.
2811 Reported by Drew Adams <drew.adams@oracle.com>.
2812 (display-buffer-alist): Add choice for same-window macro
2813 specfier.
2814 (display-buffer): Mention special meaning of LABEL argument in
2815 doc-string. Fix quoting. Don't pop up a new frame even as
2816 fallback.
2817
7ca8fc42
JB
28182011-06-26 Juanma Barranquero <lekktu@gmail.com>
2819
2820 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2821 avoid deleting the current window in some cases (bug#8911).
2822
bc312254
AS
28232011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2824
2825 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2826 (Bug#8934)
2827
2db18f3f
LMI
28282011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2829
c9d29fb8
SM
2830 * net/network-stream.el (network-stream-open-starttls):
2831 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
2832 (network-stream-open-tls): Ditto.
2833
6302e0d3
LL
28342011-06-26 Leo Liu <sdl.web@gmail.com>
2835
2836 * register.el (registerv): New struct.
2837 (registerv-make): New function.
c9d29fb8
SM
2838 (jump-to-register, describe-register-1, insert-register):
2839 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
2840 struct. (Bug#8415)
2841
5fdd4046
CY
28422011-06-26 Chong Yidong <cyd@stupidchicken.com>
2843
2afef60a
CY
2844 * vc/vc.el (vc-revert-show-diff): New defcustom.
2845 (vc-diff-internal): New arg specifying diff buffer.
2846 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2847 reuse an existing *vc-diff* buffer (Bug#8927).
2848
5fdd4046
CY
2849 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2850
e93db24a
GM
28512011-06-26 Glenn Morris <rgm@gnu.org>
2852
2853 * progmodes/f90.el (f90-critical-indent): New option.
2854 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2855 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2856 (f90-mode): Doc fix.
2857 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2858 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2859 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2860 (f90-match-end): Handle block, critical.
2861
eefff499
GM
28622011-06-25 Glenn Morris <rgm@gnu.org>
2863
f6ba4cc9
GM
2864 * calendar/diary-lib.el (diary-included-files): Doc fix.
2865 (diary-include-files): New function, extracted from
2866 diary-include-other-diary-files and diary-mark-included-diary-files.
2867 (diary-include-other-diary-files, diary-mark-included-diary-files):
2868 Just call diary-include-files.
2869 (diary-mark-entries): Reset diary-included-files on first call.
2870
16712304
GM
2871 * calendar/diary-lib.el (diary-mark-entries)
2872 (diary-mark-included-diary-files):
2873 Visit included diary-files in temp buffers.
2874
5d8e0d43
GM
2875 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2876 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2877 (f90-start-block-re, f90-imenu-generic-expression)
2878 (f90-looking-at-program-block-start, f90-no-block-limit):
2879 Add support for submodules.
2880
ccf7a5d5
GM
2881 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2882 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 2883
11fdef7d 28842011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
2885
2886 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2887 buffer-file-type before setting its value, to avoid disastrous
eefff499 2888 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 2889
74f53697
JB
28902011-06-25 Juanma Barranquero <lekktu@gmail.com>
2891
2892 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2893
2894 * ses.el (ses-unload-function):
2895 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2896
2897 * proced.el (proced-unload-function):
2898 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2899
18a4ce5e
AR
29002011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2901
2902 * server.el (server-create-window-system-frame): Add parameters arg.
2903 (server-process-filter): Doc fix. Handle frame-parameters.
2904
519d22cc
JB
29052011-06-25 Juanma Barranquero <lekktu@gmail.com>
2906
2907 Fix bug#8730, bug#8781.
2908
2909 * loadhist.el (unload--set-major-mode): New function.
2910 (unload-feature): Use it.
2911
2912 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2913 (python-unload-function): New function.
2914
c206f5b0
SM
29152011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2918
f9ad64f3
GS
29192011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2920
2921 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2922 the candidates list.
2923
7d0da90e
JB
29242011-06-24 Juanma Barranquero <lekktu@gmail.com>
2925
2926 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2927
14b4e83d
RS
29282011-06-23 Richard Stallman <rms@gnu.org>
2929
2930 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2931 (rmail-variables): Set next-error-move-function.
2932 (rmail-what-message): Take argument POS.
2933 (rmail-next-error-move): New function.
2934
273d2baf
SM
29352011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2938 messages for adjacent non-terminals.
2939
56c2cc9a
RS
29402011-06-23 Richard Stallman <rms@gnu.org>
2941
2942 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 2943 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
2944 (rmail-start-mail): Don't specify use of rmail-mail-return;
2945 that's done by mail-bury now.
2946 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 2947
d59eb518
MA
29482011-06-23 Michael Albinus <michael.albinus@gmx.de>
2949
2950 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2951 SIZE is a number.
2952
02cfc6d6
MR
29532011-06-23 Martin Rudalics <rudalics@gmx.at>
2954
2955 * window.el (get-lru-window, get-mru-window)
2956 (get-largest-window): Never return a minibuffer window.
2957 (display-buffer-pop-up-window): Fix a bug that could lead to
2958 reusing the minibuffer window.
2959 (display-buffer): Pass original specifier argument to
2960 display-buffer-function instead of the normalized one.
2961 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2962
4e323265
LL
29632011-06-22 Leo Liu <sdl.web@gmail.com>
2964
2965 * minibuffer.el (completing-read-function)
2966 (completing-read-default): Move from minibuf.c
2967
7a70468f
RS
29682011-06-22 Richard Stallman <rms@gnu.org>
2969
50718fc2
RS
2970 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2971 to Rmail even if not started by a special Rmail command.
2972
7a70468f
RS
2973 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2974 Copy the buffer currently showing just one message.
2975
297dde5a
RW
29762011-06-22 Roland Winkler <winkler@gnu.org>
2977
2978 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2979 (bibtex-clean-entry): First delete the old key so that a
2980 customized algorithm for generating the new key does not get
2981 confused by the old key.
2982 (bibtex-url): Obey regexp of first step.
2983 (bibtex-search-entries): Do not use add-to-list with local
2984 list-var.
2985
97bb1093
LMI
29862011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2987
2988 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2989 stored a user name, then query for the password first, instead of
2990 waiting for SMTP to give an error message and the trying again.
2991
1c0f1a19
JD
29922011-06-22 Lawrence Mitchell <wence@gmx.li>
2993
2994 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2995 BUFFER in call-process.
2996
396f7c9d
LMI
29972011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2998
2999 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
3000 QUIT twice.
ddb7ffee
LMI
3001 (smtpmail-try-auth-methods): Require user name and password from
3002 auth-source.
396f7c9d 3003
8998d1b3
MR
30042011-06-22 Martin Rudalics <rudalics@gmx.at>
3005
3006 * window.el (display-buffer-default-specifiers)
3007 (display-buffer-alist): Remove entries for pop-up-frame-alist.
3008 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 3009 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
3010
3011 * frame.el (pop-up-frame-alist, pop-up-frame-function)
3012 (special-display-frame-alist, special-display-popup-frame):
3013 Remove duplicate declarations. These are now in window.el.
3014
4ea31e07
LMI
30152011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3016
c9d29fb8
SM
3017 * mail/smtpmail.el (smtpmail-via-smtp):
3018 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
3019 server supports it. SMTP servers that support STARTTLS commonly
3020 require it.
3021
3022 * net/network-stream.el (network-stream-open-starttls): Support
3023 upgrading to STARTTLS always, even if we don't have built-in support.
3024 (open-network-stream): Add the :always-query-capabilies keyword.
3025
95f41d9a
LMI
3026 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
3027 upgrades with `open-network-stream', and rely solely on
3028 auth-source for all credentials. Big changes throughout the file,
3029 but in particular:
c9d29fb8
SM
3030 (smtpmail-auth-credentials): Remove.
3031 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
3032 (smtpmail-via-smtp): Check for servers saying they want AUTH after
3033 MAIL FROM, too.
95f41d9a 3034
c9d29fb8
SM
3035 * net/network-stream.el (network-stream-open-starttls):
3036 Provide support for client certificates both for external and built-in
4ea31e07
LMI
3037 STARTTLS.
3038 (auth-source): Require.
3039 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
3040 (network-stream-certificate): Change cert-cert to cert and
3041 cert-key to key.
4ea31e07 3042
065ec2c7
MA
30432011-06-21 Michael Albinus <michael.albinus@gmx.de>
3044
3045 * net/tramp-cache.el (top): Don't load the persistency file when
3046 "emacs -Q" has been called.
3047
cd93b359
DR
30482011-06-21 Tim Harper <timcharper@gmail.com>
3049
d8e4b68b
JB
3050 * term/ns-win.el (ns-initialize-window-system):
3051 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
3052 resource to NO as it is not yet supported by the NS port.
3053
ae9c0411
JB
30542011-06-21 Juanma Barranquero <lekktu@gmail.com>
3055
3056 * misc.el (list-dynamic-libraries--refresh): Compute header here...
3057 (list-dynamic-libraries): ...not here.
3058
7f3f739f
LL
30592011-06-21 Leo Liu <sdl.web@gmail.com>
3060
3061 * subr.el (sha1): Implement sha1 using secure-hash.
3062
327c8fb1
MR
30632011-06-21 Martin Rudalics <rudalics@gmx.at>
3064
3065 * window.el (display-buffer-alist): In default value do not
3066 enforce searching a window on any but the selected frame.
3067 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
3068 (display-buffer-select-window): Remove function.
3069 (display-buffer-in-window): When a window on another frame gets
3070 reused, do not select it any more but just raise its frame if
3071 necessary (Bug#8851) and (Bug#8856).
3072 (display-buffer-normalize-options): Handle pop-up-frames related
3073 options more faithfully.
3074 (pop-to-buffer): Don't rely on `display-buffer' selecting the
3075 window if it is on another frame.
c9d29fb8
SM
3076 (display-buffer-alist, display-buffer-default-specifiers):
3077 Don't make new frame unsplittable by default.
9e9de014
MR
3078 (display-buffer-normalize-argument): Fix doc-string typo and use
3079 'same-frame-other-window instead of 'other-window when associating
3080 with display-buffer-macro-specifiers.
327c8fb1 3081
7cf3f556
VB
30822011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
3083
3084 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3085 New functions.
3086 (5x5-mode-map, 5x5-mode-menu): Bind them.
3087 (5x5-draw-grid): Tweak the solver's rendering.
3088
60a406cf
SM
30892011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3092 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3093
d8e4b68b 30942011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
3095
3096 * menu-bar.el: Use function variable instead of switch-to-buffer.
3097 (menu-bar-select-buffer-function): New variable.
60a406cf 3098 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 3099
478d6f95
SM
31002011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3103 variable's status.
3104
ca530739
JD
31052011-06-20 Jan Djärv <jan.h.d@swipnet.se>
3106
3107 * x-dnd.el (x-dnd-version-from-flags)
3108 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3109 and long as number (Bug#8899).
3110 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3111
bcd70d97
SM
31122011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3113
60a406cf 3114 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
3115 (completion-try-completion, completion-all-completions): Compute the
3116 metadata argument if it's missing; make it optional (bug#8795).
3117
60a406cf 3118 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
3119 (widget-complete): Use new :completion-function property.
3120 (widget-completions-at-point): New function.
3121 (default): Use :completion-function instead of :complete.
60a406cf
SM
3122 (widget-default-completions): Rename from widget-default-complete;
3123 Rewrite.
bcd70d97
SM
3124 (widget-string-complete, widget-file-complete, widget-color-complete):
3125 Remove functions.
3126 (file, symbol, function, variable, coding-system, color):
3127 * international/mule-cmds.el (default-input-method, charset)
3128 (language-info-custom-alist):
3129 * cus-edit.el (face): Use new property :completions.
3130
3131 * progmodes/pascal.el (pascal-completions-at-point): New function.
3132 (pascal-mode): Use it.
3133 (pascal-mode-map): Use completion-at-point.
3134 (pascal-toggle-completions): Make obsolete.
3135 (pascal-complete-word, pascal-show-completions):
3136 * progmodes/octave-mod.el (octave-complete-symbol):
3137 Redefine as obsolete alias.
3138 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3139 Signal absence of completion info for old Octave,
3140 (inferior-octave-complete): Redefine as obsolete alias.
3141 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3142 (meta-completions-at-point): Rename from meta-complete-symbol and
3143 adapt it for use on completion-at-point-functions.
3144 (meta-common-mode): Use it.
3145 (meta-looking-at-backward, meta-match-buffer): Remove.
3146 (meta-complete-symbol): Redefine as obsolete alias.
3147 (meta-common-mode-map): Use completion-at-point.
3148 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3149 (makefile-mode-map): Use completion-at-point.
3150 (makefile-completions-at-point): Rename from makefile-complete and
3151 adapt it for use on completion-at-point-functions.
3152 (makefile-mode): Use it.
3153 (makefile-complete): Redefine as obsolete alias.
3154
aebf69c8
DD
31552011-06-20 Deniz Dogan <deniz@dogan.se>
3156
3157 * net/rcirc.el: Delete trailing whitespaces once and for all.
3158
bfbbb27d
DC
31592011-06-20 Daniel Colascione <dan.colascione@gmail.com>
3160
3161 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3162
d264a46b
CY
31632011-06-19 Chong Yidong <cyd@stupidchicken.com>
3164
4ca009e5
CY
3165 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3166
d264a46b
CY
3167 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3168
fbf5b3ce
MR
31692011-06-19 Martin Rudalics <rudalics@gmx.at>
3170
3171 * window.el (display-buffer-other-window-means-other-frame):
3172 Call display-buffer-normalize-alist.
3173 (display-buffer-normalize-specifiers-1): Rename to
3174 display-buffer-normalize-argument. New argument other-frame.
3175 Rewrite.
3176 (display-buffer-normalize-specifiers-2): Rename to
3177 display-buffer-normalize-options.
3178 (display-buffer-normalize-alist-1): New function.
3179 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
3180 display-buffer-normalize-alist.
3181 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
3182 (display-buffer-normalize-options-inhibit): New variable.
3183 (display-buffer-normalize-specifiers): Rewrite calling
3184 display-buffer-normalize-alist,
3185 display-buffer-normalize-argument, and
3186 display-buffer-normalize-options. Don't call the latter if
3187 display-buffer-normalize-options-inhibit is non-nil.
3188 (frame-auto-delete): New option.
3189 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
3190 (window-list-no-nils, window-state-ignored-parameters)
3191 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
3192 (window-state-put-1, window-state-put-2, window-state-put):
3193 New functions.
9a028c23
MR
3194 (display-buffer-normalize-options): Move special-display-p group
3195 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 3196
6d10d800
CY
31972011-06-18 Chong Yidong <cyd@stupidchicken.com>
3198
6420d28b
CY
3199 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3200 groups (Bug#8776).
3201 (rx-submatch-n): New function.
3202 (rx): Document it.
3203
ddb8b596
CY
3204 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3205 (Bug#8768).
3206
3207 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3208
77080289
CY
3209 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3210
61dfb316
CY
3211 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3212 anytime existing face settings are present (Bug#8889).
3213
6d10d800
CY
3214 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3215 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3216 Remove unused argument.
3217
be3fb2b8
MR
32182011-06-18 Martin Rudalics <rudalics@gmx.at>
3219
bcd70d97
SM
3220 * window.el (display-buffer-default-specifiers):
3221 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
3222 pop-up-window-min-width, and another reuse-window specifier
3223 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
3224 (display-buffer-normalize-specifiers-2):
3225 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
3226 pop-up-windows is unset. Add a reuse-window specifier for the
3227 case popping up a new window fails.
3228 (special-display-popup-frame): Remove double quoting.
28dec25a 3229 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 3230
1c6d8c76
SM
32312011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * shell.el (shell-completion-vars): Set pcomplete-termination-string
3234 according to comint-completion-addsuffix.
3235
3236 * pcomplete.el: Convert to lexical binding and fix bug#8819.
3237 (pcomplete-suffix-list): Mark as obsolete.
3238 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3239 pcomplete-seen in the closure.
3240 (pcomplete-comint-setup): Setup completion-at-point as well.
3241 (pcomplete--entries): New function.
3242 (pcomplete--env-regexp): New var.
3243 (pcomplete-entries): Rewrite to work with partial-completion and
3244 without relying on pcomplete-suffix-list.
3245 (pcomplete-pare-list): Remove, unused.
3246
25aef8b8
MR
32472011-06-17 Martin Rudalics <rudalics@gmx.at>
3248
3249 * window.el (display-buffer-alist): Set pop-up-window-min-height
3250 and pop-up-window-min-width in default value. Reported by
3251 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
3252 other-window-means-other-frame.
3253 (display-buffer-macro-specifiers): Comment out entry for
3254 other-window specifier.
3255 (display-buffer-other-window-means-other-frame): New function.
3256 (display-buffer-normalize-specifiers-1): New arguments
3257 buffer-name and label. Treat other-window case specially.
3258 (display-buffer-normalize-specifiers-2): Treat other-window case
3259 specially.
3260 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
3261 (display-buffer-normalize-specifiers):
3262 Call display-buffer-normalize-specifiers-3.
25aef8b8 3263
dbad4f69
MR
32642011-06-17 Martin Rudalics <rudalics@gmx.at>
3265
3266 * window.el (same-window-p): Fix two typos introduced when
3267 adding with-no-warnings.
d1067961
MR
3268 (display-buffer-normalize-specifiers-1): Don't check
3269 pop-up-frames for 'unset initialization.
3270 (display-buffer-normalize-specifiers-2): Major rewrite using
3271 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3272 (pop-up-frames, display-buffer-reuse-frames)
3273 (display-buffer-mark-dedicated): Don't initialize to 'unset.
3274 Suggested by David Engster <deng@randomsample.de>.
3275 (even-window-heights): Initialize to 'unset.
3276 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
3277 (display-buffer-macro-specifiers): Don't pop up a new frame in the
3278 other window case.
dbad4f69 3279
9b9c9e3a
MR
32802011-06-16 Martin Rudalics <rudalics@gmx.at>
3281
bcd70d97
SM
3282 * window.el (display-buffer-normalize-specifiers-1):
3283 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 3284 second argument of display-buffer (Bug#8865).
981d5c09
MR
3285 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3286 (switch-to-buffer-other-window-same-frame)
3287 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
3288 Adams (Bug#8875).
9c2755e9
MR
3289 (display-buffer): Don't check noninteractive when calling
3290 display-buffer-pop-up-frame.
3291 (display-buffer-pop-up-frame): Never pop up a frame in
3292 noninteractive mode (Bug#8857).
67222e1d
MR
3293 (enlarge-window, shrink-window): Don't report an error when the
3294 window can't be resized as requested (Bug#8862).
9b9c9e3a 3295
2b75be67
SM
32962011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3297
9ffdd3ba
SM
3298 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3299
cb581a67
SM
3300 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3301
2b75be67
SM
3302 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3303
8c0e3589
AM
33042011-06-15 Alan Mackenzie <acm@muc.de>
3305
cb581a67
SM
3306 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3307 for declarators, disable knr checking to speed up for normal files.
3308 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 3309
b96e6cde
LMI
33102011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3311
4bba86e6
LMI
3312 * net/network-stream.el (open-network-stream): Add the keyword
3313 :always-query-capabilities for the case where you want to force a
3314 `plain' network connection, but the protocol still requires the
3315 capabilitiy command (i.e., SMTP and EHLO).
3316
2b75be67 3317 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
3318 consistency with other `-live-p' functions.
3319
efdcdbf8
SM
33202011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * window.el (same-window-buffer-names, same-window-regexps)
3323 (special-display-frame-alist, special-display-popup-frame)
3324 (special-display-function, special-display-buffer-names)
3325 (special-display-regexps, pop-up-frame-alist)
3326 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3327 (pop-up-windows, split-window-preferred-function)
3328 (split-height-threshold, split-width-threshold, even-window-heights)
3329 (display-buffer-mark-dedicated): Don't encourage the use of
3330 display-buffer-alist from Elisp code.
3331
c5cde042
DN
33322011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3333
3334 * progmodes/python.el (python-mode): Derive from prog-mode.
3335 * progmodes/ps-mode.el (ps-mode):
3336 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 3337 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
3338 * progmodes/ld-script.el (ld-script-mode): Likewise.
3339
baa1c9ab
MR
33402011-06-15 Martin Rudalics <rudalics@gmx.at>
3341
3342 * window.el (display-buffer-alist): Trim default value to avoid
3343 popping up a new frame (Bug#8857) or reusing an arbitrary window
3344 on another frame.
3345 (display-buffer): Do not fall back on popping up a new frame in
3346 batch mode (Bug#8857).
3347
c5dd5a51
CY
33482011-06-14 Chong Yidong <cyd@stupidchicken.com>
3349
3350 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3351 (custom-theme-summary): New function.
3352 (customize-themes): Use it.
3353
d647b7c4
GM
33542011-06-13 Glenn Morris <rgm@gnu.org>
3355
3356 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3357
9481c002
MR
33582011-06-13 Martin Rudalics <rudalics@gmx.at>
3359
357f93d2
MR
3360 * help.el (help-window): Remove variable.
3361 (help-window-point-marker, temp-buffer-max-height)
3362 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3363 (help-print-return-message): Don't set help-window.
3364 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3365 (help-window-setup-finish): Remove.
3366 (help-window-display-message, help-window-setup)
3367 (with-help-window): Major rewrite based on new
3368 display-buffer-window variable.
3369
3370 * help-mode.el (help-mode-finish): Remove help-window related
3371 code.
3372
3373 * view.el (view-exits-all-viewing-windows): Remove reference to
3374 view-return-to-alist in doc-string.
3375 (view-return-to-alist): Make obsolete.
3376 (view-buffer): Call pop-to-buffer-same-window and remove
3377 undo-window code.
3378 (view-buffer-other-window): Call pop-to-buffer-other-window and
3379 simplify code. Ignore second argument.
3380 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3381 simplify code. Ignore second argument.
3382 (view-return-to-alist-update): Make obsolete.
3383 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3384 Rewrite using quit-restore window parameters.
2b75be67
SM
3385 (view-mode-exit): Rename second argument to EXIT-ONLY.
3386 Rewrite using quit-restore-window.
357f93d2
MR
3387 (View-exit, View-exit-and-edit, View-leave, View-quit)
3388 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3389 appropriate arguments.
3390 (view-end-message): Use quit-restore window parameter.
3391
9481c002
MR
3392 * window.el (display-buffer-function): Rewrite doc-string.
3393 (display-buffer-window, display-buffer-alist): New variables.
3394 (display-buffer-split-specifiers)
3395 (display-buffer-side-specifiers)
3396 (display-buffer-macro-specifiers): New constants.
3397 (display-buffer-even-window-sizes, display-buffer-set-height)
3398 (display-buffer-set-width, display-buffer-select-window)
3399 (display-buffer-in-window, display-buffer-reuse-window)
3400 (display-buffer-split-window-1, display-buffer-split-window)
3401 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3402 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3403 (display-buffer-in-side-window, normalize-buffer-to-display)
3404 (display-buffer-normalize-specifiers-1)
3405 (display-buffer-normalize-specifiers-2)
2b75be67
SM
3406 (display-buffer-normalize-specifiers, display-buffer-frame):
3407 New functions.
9481c002
MR
3408 (display-buffer): Major rewrite.
3409 (display-buffer-other-window, display-buffer-other-frame)
3410 (pop-to-buffer, switch-to-buffer-other-window)
3411 (switch-to-buffer-other-frame): Rewrite.
3412 (display-buffer-same-window, display-buffer-same-frame)
3413 (display-buffer-same-frame-other-window)
3414 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3415 (pop-to-buffer-other-window)
3416 (pop-to-buffer-same-frame-other-window)
3417 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3418 (switch-to-buffer-other-window-same-frame): New functions.
3419 (same-window-p, special-display-p): Rewrite disabling warnings.
3420 Make obsolete.
3421 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3422 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3423 Make obsolete
3424 (same-window-buffer-names, same-window-regexps)
3425 (special-display-frame-alist, special-display-popup-frame)
3426 (special-display-function, special-display-buffer-names)
3427 (special-display-regexps, pop-up-frame-alist)
3428 (pop-up-frame-function, split-window-preferred-function)
3429 (split-height-threshold, split-width-threshold)
3430 (even-window-heights): Make obsolete.
3431
9db51aca
GM
34322011-06-12 Glenn Morris <rgm@gnu.org>
3433
3434 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 3435 Misc simplifications.
9db51aca 3436
39cffb44
MR
34372011-06-12 Martin Rudalics <rudalics@gmx.at>
3438
3439 * window.el (window-safely-shrinkable-p): Restore function which
3440 was inadvertently removed in change from 2011-06-11. Declare as
3441 obsolete.
3442
2b75be67
SM
3443 * calendar/calendar.el (calendar-generate-window):
3444 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
3445 window-safely-shrinkable-p.
3446
a8955be7
GM
34472011-06-12 Glenn Morris <rgm@gnu.org>
3448
3449 * progmodes/fortran.el (fortran-mode-syntax-table):
3450 * progmodes/f90.el (f90-mode-syntax-table):
3451 Set % to punctuation. (Bug#8820)
3452 (f90-find-tag-default): Remove, no longer needed.
3453
f0d4059d
DC
34542011-06-12 Daniel Colascione <dan.colascione@gmail.com>
3455
3456 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3457
1100a63c
CY
34582011-06-11 Chong Yidong <cyd@stupidchicken.com>
3459
3460 * image.el (image-animated-p): Return animation delay in seconds.
3461 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3462 (image-animate-timeout): Remove DELAY argument. Don't assume
3463 every subimage has the same delay; get it from image-animated-p.
3464 (image-animate): Caller changed.
3465
def722bf
MA
34662011-06-11 Michael Albinus <michael.albinus@gmx.de>
3467
3468 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3469 to ignored backtrace functions.
3470
0a2bb1a9
GM
34712011-06-11 Glenn Morris <rgm@gnu.org>
3472
3473 * calendar/appt.el (appt-disp-window-function): Doc fix.
3474 (appt-check): Handle overlapping appointments. (Bug#8337)
3475
6198ccd0
MR
34762011-06-11 Martin Rudalics <rudalics@gmx.at>
3477
3478 * window.el (window-tree-1, window-tree): New functions, moving
3479 the latter to window.el.
3480 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3481 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3482 (bw-refresh-edges): Remove.
3483 (balance-windows-1, balance-windows-2): New functions.
3484 (balance-windows): Rewrite in terms of window tree functions,
3485 balance-windows-1 and balance-windows-2.
3486 (bw-adjust-window): Remove.
3487 (balance-windows-area-adjust): New function with functionality of
3488 bw-adjust-window but using resize-window.
2b75be67
SM
3489 (set-window-text-height): Rewrite doc-string.
3490 Use normalize-live-window and resize-window.
3491 (enlarge-window-horizontally, shrink-window-horizontally):
3492 Rename argument to DELTA.
6198ccd0
MR
3493 (window-buffer-height): New function.
3494 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
3495 Rewrite using new window resize routines.
2b75be67
SM
3496 (kill-buffer-and-window, mouse-autoselect-window-select):
3497 Use ignore-errors instead of condition-case.
6198ccd0
MR
3498 (quit-window): Call delete-frame instead of delete-windows-on
3499 for the only buffer on frame.
3500
9397e56f
MR
35012011-06-10 Martin Rudalics <rudalics@gmx.at>
3502
3503 * loadup.el (top-level): Load window before files for the sake
3504 of replace-buffer-in-windows.
3505
3506 * files.el (read-buffer-to-switch)
3507 (switch-to-buffer-other-window)
2b75be67
SM
3508 (switch-to-buffer-other-frame, display-buffer-other-frame):
3509 Move to window.el.
9397e56f
MR
3510
3511 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
3512 (previous-buffer): Move to window.el.
3513
3514 * bindings.el (unbury-buffer): Move to window.el.
3515
3516 * window.el (delete-other-windows-vertically): Move after
3517 definition of delete-other-windows.
3518 (other-window, delete-windows-on, replace-buffer-in-windows):
3519 Move here from window.c.
3520 (record-window-buffer, unrecord-window-buffer)
3521 (set-window-buffer-start-and-point, switch-to-prev-buffer)
3522 (switch-to-next-buffer): New functions.
3523 (get-next-valid-buffer, last-buffer, next-buffer): Move here
3524 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
3525 (previous-buffer): Move here from simple.el.
3526 Call switch-to-prev-buffer.
9397e56f
MR
3527 (bury-buffer): Move here from buffer.c. Switch to previous
3528 buffer when window cannot be deleted.
3529 (unbury-buffer): Move here from bindings.el.
3530 (ctl-x-map): Move binding for other-window from window.c to
3531 here.
3532 (read-buffer-to-switch, switch-to-buffer-other-window)
3533 (switch-to-buffer-other-frame): Move here from files.el.
3534 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
3535 (switch-to-buffer): Move here from buffer.c.
3536 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 3537
562dd5e9
MR
35382011-06-10 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (window-min-height, window-min-width): Move here
3541 from window.c. Add defcustoms and rewrite doc-strings.
3542 (resize-mini-window, resize-window): New functions.
3543 (adjust-window-trailing-edge, enlarge-window, shrink-window):
3544 Move here from window.c.
3545 (maximize-window, minimize-window): New functions.
3546 (delete-window, delete-other-windows, split-window): Move here
3547 from window.c.
3548 (window-split-min-size): New function.
3549 (split-window-keep-point): Mention split-window-above-each-other
3550 instead of split-window-vertically.
2b75be67
SM
3551 (split-window-above-each-other, split-window-vertically):
3552 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
3553 provide defalias for old definition.
3554 (split-window-side-by-side, split-window-horizontally): Rename
3555 split-window-horizontally to split-window-side-by-side and provide
3556 defalias for the old definition.
3557 (ctl-x-map): Move bindings for delete-window,
3558 delete-other-windows and enlarge-window here from window.c.
3559 Replace bindings for split-window-vertically and
3560 split-window-horizontally by bindings for
3561 split-window-above-each-other and split-window-side-by-side.
3562
3563 * cus-start.el (all): Remove entries for window-min-height and
3564 window-min-width. Add entries for window-splits and
3565 window-nest.
3566
f0da764a
GM
35672011-06-09 Glenn Morris <rgm@gnu.org>
3568
80675c21
GM
3569 * calendar/appt.el (appt-mode-line): New function.
3570 (appt-check, appt-disp-window): Use it.
3571
f0da764a
GM
3572 * files.el (hack-one-local-variable-eval-safep):
3573 Allow minor-modes with explicit +/-1 arguments.
3574
59f623b7
TZ
35752011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
3576
3577 * term/xterm.el (xterm): Add defgroup.
3578 (xterm-extra-capabilities): Add defcustom to supply known xterm
3579 capabilities, skip querying them, or query them (default).
3580 (terminal-init-xterm): Use it.
3581 (terminal-init-xterm-modify-other-keys): New function to set up
3582 modifyOtherKeys support to simplify `terminal-init-xterm'.
3583
9aab8e0d
MR
35842011-06-09 Martin Rudalics <rudalics@gmx.at>
3585
3586 * window.el (resize-window-reset, resize-window-reset-1)
3587 (resize-subwindows-skip-p, resize-subwindows-normal)
3588 (resize-subwindows, resize-other-windows, resize-this-window)
3589 (resize-root-window, resize-root-window-vertically)
3590 (window-deletable-p, window-or-subwindow-p)
3591 (frame-root-window-p): New functions.
3592
e8b08aee
GM
35932011-06-09 Glenn Morris <rgm@gnu.org>
3594
3595 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
3596 (ange-ftp-get-files): Use it.
3597
254c37a5
AK
35982011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3599
3600 * mail/sendmail.el (mail-recover-1, mail-recover):
3601 * files.el (recover-file, recover-session):
3602 Handle dired-listing-switches not being just a single short option.
3603
35d7dbd3
GM
36042011-06-09 Glenn Morris <rgm@gnu.org>
3605
3606 * calendar/appt.el (appt-display-message, appt-disp-window):
3607 Handle lists of appointments.
3608
387522b2
MR
36092011-06-08 Martin Rudalics <rudalics@gmx.at>
3610
2b75be67
SM
3611 * window.el (one-window-p): Move down in code.
3612 Rewrite doc-string.
3613 (window-current-scroll-bars): Rewrite doc-string.
3614 Normalize live window argument.
387522b2
MR
3615 (walk-windows, get-window-with-predicate, count-windows):
3616 Rewrite doc-string. Use window-list-1.
3617 (window-in-direction-2, window-in-direction, get-mru-window):
3618 New functions.
3619
d8e4b68b 36202011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
3621
3622 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
3623 Doc fix (Bug#8713).
3624
36252011-06-08 Chong Yidong <cyd@stupidchicken.com>
3626
3627 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
3628
36292011-06-08 Juanma Barranquero <lekktu@gmail.com>
3630
3631 * loadhist.el (unload-feature-special-hooks):
3632 Add `comint-output-filter-functions'.
3633
0de12c52
IK
36342011-06-08 Ivan Kanis <gnu@kanis.fr>
3635
3636 * calendar/appt.el (appt-check): Move some initializations into the let.
3637
f3d1777e
MR
36382011-06-08 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (window-height): Defalias to window-total-height.
3641 (window-width): Defalias to window-body-width.
3642
18af70d0
CY
36432011-06-07 Chong Yidong <cyd@stupidchicken.com>
3644
3645 * image-mode.el (image-toggle-animation): New command.
3646 (image-mode-map): Bind it to RET.
3647 (image-mode): Update message.
3648 (image-toggle-display-image): Avoid a spurious cache flush.
3649 (image-transform-rotation): Doc fix.
3650 (image-transform-properties): Return quickly in the normal case.
3651 (image-animate-loop): Rename from image-animate-max-time.
3652
2b75be67 3653 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
3654 (create-animated-image): Remove unnecessary function.
3655 (image-animate): Rename from image-animate-start. New arg.
2b75be67 3656 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
3657 (image-animate-timer): Use car-safe.
3658 (image-animate-timeout): Rename argument.
3659
190b47e6
MR
36602011-06-07 Martin Rudalics <rudalics@gmx.at>
3661
3662 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
3663 window.c. Rename first argument to ALL-FRAMES.
3664 Rephrase doc-strings.
3665 (get-buffer-window-list): Rewrite using window-list-1.
3666 Rephrase doc-string.
a1511caf
MR
3667 (window-safe-min-height, window-safe-min-width): New constants.
3668 (window-size-ignore, window-min-size, window-min-size-1)
3669 (window-sizable, window-sizable-p, window-size-fixed-1)
3670 (window-size-fixed-p, window-min-delta-1, window-min-delta)
3671 (window-max-delta-1, window-max-delta, window-resizable)
3672 (window-resizable-p, window-total-height, window-total-width)
3673 (window-body-width): New functions.
3674 (window-full-height-p, window-full-width-p): Rewrite using
3675 window-total-size.
3676 (window-body-height): Rewrite using window-body-size.
190b47e6 3677
85cc1f11
MR
36782011-06-06 Martin Rudalics <rudalics@gmx.at>
3679
3680 * window.el (window-right, window-left, window-child)
3681 (window-child-count, window-last-child, window-any-p)
3682 (normalize-live-buffer, normalize-live-frame)
3683 (normalize-any-window, normalize-live-window)
3684 (window-iso-combination-p, window-iso-combined-p)
3685 (window-iso-combinations)
3686 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3687 (windows-with-parameter, window-with-parameter)
3688 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
3689 (window-atom-check, window-side-check, window-check):
3690 New functions.
85cc1f11
MR
3691 (ignore-window-parameters, window-sides, window-sides-vertical)
3692 (window-sides-slots): New variables.
3693 (window-size-fixed): Move down in code. Minor doc-string fix.
3694
e7156492
AS
36952011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3696
3697 * comint.el (comint-dynamic-complete-as-filename)
3698 (comint-dynamic-complete-filename): Correctly call
3699 completion-in-region.
3700
7e821d0d
DD
37012011-06-05 Deniz Dogan <deniz@dogan.se>
3702
3703 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3704 in last change.
3705
ac09b8a1
DD
37062011-06-05 Deniz Dogan <deniz@dogan.se>
3707
3708 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3709 (rcirc): Use it to prompt for encryption.
3710
34699b85
RW
37112011-06-05 Roland Winkler <winkler@gnu.org>
3712
3713 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3714 (bibtex-search-entries): New command bound to C-c C-a.
3715 (bibtex-display-entries): New function.
3716
004dedd3
RW
37172011-06-05 Roland Winkler <winkler@gnu.org>
3718
3719 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3720 (bibtex-insert-kill): After yanking insert newline if necessary.
3721 (bibtex-initialize): Call bibtex-string-files-init only once.
3722 (bibtex-mode): Do not call easy-menu-add.
3723 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3724 (bibtex-yank): Set arg properly if nil.
3725
022fe7ce
RW
37262011-06-05 Roland Winkler <winkler@gnu.org>
3727
2b75be67
SM
3728 * textmodes/bibtex.el (bibtex-search-entry-globally):
3729 New variable.
022fe7ce
RW
3730 (bibtex-search-entry): Use it.
3731
b7c3692a
RW
37322011-06-05 Roland Winkler <winkler@gnu.org>
3733
3734 * textmodes/bibtex.el (bibtex-entry-format): New option
3735 sort-fields.
3736 (bibtex-format-entry, bibtex-reformat): Honor this option.
3737 (bibtex-parse-entry): Return fields in proper order.
3738
8eda563d
JB
37392011-06-05 Juanma Barranquero <lekktu@gmail.com>
3740
3741 * doc-view.el (doc-view-remove-if): Move computation of result out
3742 of `dolist' to silence misleading lexical-binding warning.
3743
7dbe3dbc
CY
37442011-06-04 Chong Yidong <cyd@stupidchicken.com>
3745
3746 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3747 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3748
0c33dd17
MA
37492011-06-04 Michael Albinus <michael.albinus@gmx.de>
3750
3751 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3752 "SunOS 5.10".
3753
f8f91c2b
MA
37542011-06-04 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3757 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3758 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3759 (tramp-parse-putty):
3760 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3761 (tramp-completion-function-alist-ssh)
3762 (tramp-completion-function-alist-telnet)
3763 (tramp-completion-function-alist-su)
3764 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3765 cookie.
3766
3767 * net/tramp-ftp.el:
3768 * net/tramp-sh.el:
3769 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3770 load "tramp.el" `tramp-set-completion-function'.
3771
e17d9003
SM
37722011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3773
3774 * shell.el: Require and use pcomplete.
3775 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3776 (shell-completion-vars): Set pcomplete-default-completion-function.
3777
6c4cab03
DD
37782011-06-04 Deniz Dogan <deniz@dogan.se>
3779
3780 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3781 `memq' (Bug#8799).
3782
ea9fafe0
SM
37832011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3786
b3e945d3
JB
37872011-06-02 Juanma Barranquero <lekktu@gmail.com>
3788
3789 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3790 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3791 * vc/log-view.el (log-view-beginning-of-defun):
3792 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3793 (smerge-refine-forward, smerge-refine-chopup-region):
3794 Silence warning for unused `dotimes' counter variables.
3795
7d520089
SM
37962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * net/tramp.el (tramp-with-progress-reporter): Rename from
3799 with-progress-reporter. Use `declare'.
3800 * net/tramp-smb.el:
3801 * net/tramp-sh.el:
3802 * net/tramp-gvfs.el: Update all uses.
3803
a1c2400f
JB
38042011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3805
3806 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3807 buffer isn't killed before making it current.
3808
2403c841
SM
38092011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 Silence various byte-compiler warnings.
3812 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3813 `access-type' and new obsolescence format.
3814 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3815 new format.
3816 (byte-compile-check-variable): New `access-type' argument.
3817 Only warn if the access-type is obsolete.
3818 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3819 (byte-compile-variable-set): Adjust callers.
3820 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3821 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3822 setting it as obsolete.
3823 * simple.el (minibuffer-completing-symbol):
3824 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3825 access as obsolete.
3826 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3827 obsolete yet.
3828 * international/quail.el (quail-mouse-choose-completion): Remove unused
3829 code referring to obsolete var.
3830 (quail-choose-completion-string): Remove.
3831 * server.el (server-clients-with, server-kill-buffer-query-function)
3832 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3833 * proced.el (proced-send-signal):
3834 * emacs-lisp/lisp.el (lisp-complete-symbol):
3835 Replace completion-annotate-function with completion-extra-properties.
3836
2462470b
SM
38372011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3838
fb5b2591
SM
3839 * simple.el (goto-line): Use read-number.
3840 (overriding-map-is-bound): Remove.
3841 (saved-overriding-map): Change default.
3842 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3843 Take the map as argument.
3844 (universal-argument, negative-argument, digit-argument): Use it.
3845 (restore-overriding-map): Adjust.
3846 (do-auto-fill): Use fill-forward-paragraph.
3847 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3848
fd6fa53f
SM
3849 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3850 (minibuffer-inactive-mode): New major mode.
3851 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3852 the *Messages* buffer" hack.
3853 (mouse-popup-menubar): Don't burp if the event is a normal key.
3854
2462470b
SM
3855 Miscellaneous tweaks.
3856 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3857 lexical scoping as in subr.el's dolist and dotimes.
3858 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3859 Silence compiler warning.
3860 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3861 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3862 * international/ccl.el (ccl-compile): Trivial simplification.
3863 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3864 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3865 `printflag' argument.
3866 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3867 Purecopy the whole obsolescence data.
3868
108bf785
LL
38692011-06-01 Leo Liu <sdl.web@gmail.com>
3870
3871 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3872 improve doc-string as suggested by Marco Pessotto
3873 <melmothx@gmail.com>.
3874 (rcirc-print): Fix last change.
3875
30a23501
SM
38762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * minibuffer.el (complete-with-action): Return nil for the metadata and
3879 boundaries of non-functional tables.
3880 (completion-table-dynamic): Return nil for the metadata.
3881 (completion-table-with-terminator): Add default case, using
3882 complete-with-action.
3883 (completion--metadata): New function.
3884 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3885 to try and avoid pathological performance problems.
3886 (completion--embedded-envvar-table): Return `category' metadata.
3887
bcd54f83
LMI
38882011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3889
3890 * subr.el (process-alive-p): New tiny convenience function.
3891
e227544d
SM
38922011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3895 content but also its previous major mode.
3896
e8296fdc
HE
38972011-05-31 Helmut Eller <eller.helmut@gmail.com>
3898
4d61f28d 3899 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
3900 *Backtrace* buffer when we exit with C-M-c.
3901
620c53a6
SM
39022011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3903
3904 * minibuffer.el: Add metadata method to completion tables.
3905 (completion-category-overrides): New defcustom.
3906 (completion-metadata, completion--field-metadata)
3907 (completion-metadata-get, completion--styles)
3908 (completion--cycle-threshold): New functions.
3909 (completion-try-completion, completion-all-completions):
3910 Add `metadata' argument to choose completion-styles.
3911 (completion--do-completion): Use metadata to choose cycling.
3912 (completion-all-sorted-completions): Use metadata for sorting.
3913 Remove :completion-cycle-penalty which is not needed any more.
3914 (completion--try-word-completion): Add `metadata' argument.
3915 (minibuffer-completion-help): Check metadata for annotation function
3916 and sorting.
3917 (completion-file-name-table): Return `category' metadata.
3918 (minibuffer-completing-file-name): Make obsolete.
3919 * simple.el (minibuffer-completing-symbol): Make obsolete.
3920 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3921 completion-try-completion.
3922
1257e755
SM
39232011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3924
3925 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3926
3767e706
LL
39272011-05-30 Leo Liu <sdl.web@gmail.com>
3928
3929 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
3930 (rcirc-print): Decode all incoming messages (bug#8744).
3931 (rcirc-decode-coding-system): Allow value nil for automatic coding
3932 system detection.
3767e706 3933
d1a5d56a
GM
39342011-06-01 Glenn Morris <rgm@gnu.org>
3935
3936 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3937
e8cbec34
CY
39382011-05-29 Chong Yidong <cyd@stupidchicken.com>
3939
3940 * image.el (image-animate-max-time): Allow nil and t values.
3941 Default to nil.
3942 (create-animated-image): Doc fix.
3943 (image-animate-start): Remove second arg; just use
3944 image-animate-max-time.
3945 (image-animate-timeout): Doc fix. Args changed.
3946
3947 * image-mode.el (image-toggle-display-image): Ensure that the
3948 image spec passed to the animate timer is the same object as in
3949 the the buffer's display property (Bug#6981).
3950 (image-transform-properties): Doc fix.
3951
3952 * image.el (image-animate-max-time): Default to nil.
3953
159daf87
MR
39542011-05-29 Martin Rudalics <rudalics@gmx.at>
3955
3956 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3957 entire buffer list (Bug#8184).
3958
d66c4c7c
CY
39592011-05-29 Chong Yidong <cyd@stupidchicken.com>
3960
3961 * image.el (imagemagick-types-inhibit)
3962 (imagemagick-register-types): Doc fix.
3963
80aec780
DD
39642011-05-29 Deniz Dogan <deniz@dogan.se>
3965
3966 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3967 default.
3968
1dd3c2d9
CY
39692011-05-29 Chong Yidong <cyd@stupidchicken.com>
3970
3971 * select.el: Don't perform clipboard-manager saving in hooks;
3972 leave the hooks empty.
3973
60e56523
LL
39742011-05-28 Leo Liu <sdl.web@gmail.com>
3975
3976 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3977 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3978 (occur-edit-mode): New major mode (Bug#8463).
3979 (occur-after-change-function): New function.
3980 (occur-engine): Give Occur tags a read-only property.
3981
2b1e1a22
KR
39822011-05-28 Kevin Ryde <user42@zip.com.au>
3983
3984 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3985
5d344e88
CY
39862011-05-28 Chong Yidong <cyd@stupidchicken.com>
3987
8e6ca83d
CY
3988 * bindings.el (help-echo): Make the initial non-indicator dash
3989 empty on graphical terminals (Bug#7295).
3990
5d344e88
CY
3991 * files.el (auto-mode-alist): Move config rule after the
3992 in-stripping one (Bug#8547).
3993
bfbbace7
CY
3994 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3995
fbeba6e2
CY
3996 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3997 setting (Bug#8740).
3998
60ed8c72
AA
39992011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
4000
4ac619f0
AA
4001 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
4002 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
4003 (Bug#8539).
60ed8c72 4004
23db196e
CY
40052011-05-28 Chong Yidong <cyd@stupidchicken.com>
4006
4007 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
4008
5012f24c
DK
40092011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
4010
4011 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
4012 (hs-hide-block-at-point, hs-find-block-beginning)
4013 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
4014 (Bug#8279).
4015
6a639b16
GM
40162011-05-28 Glenn Morris <rgm@gnu.org>
4017
4018 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
4019
d43eaf2c
CY
40202011-05-28 Chong Yidong <cyd@stupidchicken.com>
4021
5199bde1
CY
4022 * help-fns.el (describe-function-1): If the function is a derived
4023 major mode, print the parent mode.
4024
d43eaf2c
CY
4025 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
4026 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
4027
423428a8
SM
40282011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4029
0ff8e1ba
SM
4030 * minibuffer.el (completion--capf-wrapper): Check applicability before
4031 retuning non-nil for non-exclusive completion data.
4032 * progmodes/etags.el (tags-completion-at-point-function):
4033 * info-look.el (info-lookup-completions-at-point): Mark as
4034 non-exclusive.
4035 (info-complete): Adjust accordingly.
4036
423428a8
SM
4037 * info-look.el: Convert to lexical-binding and completion-at-point.
4038 (info-lookup-completions-at-point): New function.
4039 (info-complete): Use it and completion-in-region.
4040
b74aa22b
DA
40412011-05-28 Drew Adams <drew.adams@oracle.com>
4042
4043 * isearch.el: Let M-e start with point at the first mismatched char.
4044 (isearch-fail-pos): New function.
4045 (isearch-edit-string): Use it.
4046
66e2e71d
DK
40472011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4048
4049 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4050
eb95d01d
TC
40512009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4052
4053 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
4054 traversal functions for avl-trees.
4055 (avl-tree--stack): New struct.
4056 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
4057 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
4058 (avl-tree--do-enter): Add optional `updatefun' arg.
4059 Change return value.
eb95d01d 4060 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
4061 (avl-tree--do-delete): Add `test' and `nilflag' args.
4062 Change return value.
eb95d01d
TC
4063 (avl-tree-member): Add optional `nilflag'
4064 (avl-tree-member-p): New function.
4065 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
4066 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
4067 (avl-tree-stack-empty-p): New functions.
4068
3769ddcf
TC
40692009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4070
4071 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4072 avl-tree--del-balance1 and make it work both ways.
4073 (avl-tree--del-balance2): Remove.
4074 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4075 make it work both ways.
4076 (avl-tree--enter-balance2): Remove.
4077 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4078 New macros.
4079 (avl-tree--mapc, avl-tree-map): Add direction argument.
4080
eb95d01d 40812011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
4082
4083 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4084
a9f737ee
CY
40852011-05-27 Chong Yidong <cyd@stupidchicken.com>
4086
4087 * select.el: Support clipboard managers with built-in function
4088 x-clipboard-manager-save, via delete-frame-functions and
4089 kill-emacs-hook.
4090 (xselect-convert-to-targets): Add MULTIPLE target to list.
4091 (xselect-convert-to-save-targets): New function.
4092
c92a1e54
KH
40932011-05-27 Kenichi Handa <handa@m17n.org>
4094
4095 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4096 let-binding rfc2047-encode-encoded-words to nil.
4097
e145f188
GM
40982011-05-27 Glenn Morris <rgm@gnu.org>
4099
5ec8a862
GM
4100 * mail/emacsbug.el: Don't require url-util.
4101
4b29d9fb
GM
4102 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
4103
e145f188
GM
4104 * files.el (set-auto-mode):
4105 Also respect mode: entries at the end of the file. (Bug#8586)
4106
7d15102b
GM
41072011-05-26 Glenn Morris <rgm@gnu.org>
4108
98f593b8
GM
4109 * files.el (hack-local-variables-prop-line, hack-local-variables):
4110 Downcase mode names, as seems to be traditional.
27b48e63 4111 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 4112
7d15102b
GM
4113 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4114 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
4115
51d5b4ec
JD
41162011-05-25 Julien Danjou <julien@danjou.info>
4117
4118 * textmodes/rst.el (rst-define-level-faces): Do not define face
4119 symbol if it is already defined.
4120
91513f63
VB
41212011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4122
4123 * play/5x5.el (5x5-new-game, 5x5-randomize):
4124 Reset 5x5-solver-output to nil when a new grid is cast.
4125 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4126 these debugging traces, as defmacro breaks the compiled code.
4127
4d90d6d0
DK
41282011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4129
4130 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4131
e1b90ef6
LL
41322011-05-24 Leo Liu <sdl.web@gmail.com>
4133
4134 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4135 (vc-bzr-sha1): Adapt.
4136
d8e4b68b 4137 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
4138
4139 * bindings.el: Provide sha1 feature.
4140
db0406bb 41412011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
4142
4143 * mail/sendmail.el: Require `rfc2047'.
4144 (mail-insert-from-field): Do not perform RFC2047 encoding.
4145 (mail-encode-header): New function.
4146 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
4147 buffer to the return value of select-message-coding-system.
4148 Call mail-encode-header.
b8d747b9
KH
4149
4150 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4151
db0406bb 41522011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 4153
4d90d6d0
DK
4154 * mail/supercite.el (sc-default-cite-frame):
4155 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 4156
eb8a5e9b
GM
41572011-05-24 Glenn Morris <rgm@gnu.org>
4158
f8630703
GM
4159 * progmodes/python.el (brm-menu): Declare.
4160
8831bbed
GM
4161 * emulation/viper.el (viper-set-hooks): Declare.
4162
eb8a5e9b
GM
4163 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4164 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4165 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4166 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4167 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4168 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4169
a2a25d24
SM
41702011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 Add an :exit-function for completion-at-point.
4173
4174 * minibuffer.el (completion--done): New fun.
4175 (completion--do-completion): Use it. New arg `expect-exact'.
4176 (minibuffer-complete, minibuffer-complete-word): Don't output message,
4177 since completion--do-completion does it for us now.
4178 (minibuffer-force-complete): Use completion--done and
4179 completion--replace. Handle sole-completion case with more care.
4180 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4181 (completion-extra-properties): New var.
4182 (completion-annotate-function): Make obsolete.
4183 (minibuffer-completion-help): Adjust accordingly.
4184 Use completion-list-insert-choice-function.
4185 (completion-at-point, completion-help-at-point):
4186 Bind completion-extra-properties.
4187 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4188 * simple.el (completion-list-insert-choice-function): New var.
4189 (completion-setup-function): Preserve it.
4190 (choose-completion): Pay attention to it, shuffle the code a bit.
4191 (choose-completion-string): New arg `insert-function'.
4192
4193 * textmodes/bibtex.el: Convert to lexical binding.
4194 (bibtex-mode-map): Use completion-at-point.
4195 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4196 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4197 (bibtex-complete): Define as obsolete alias.
4198 (bibtex-complete-internal): Remove.
4199 (bibtex-format-entry): Remove unused sub-group in regexp.
4200 * shell.el (shell--command-completion-data)
4201 (shell-environment-variable-completion):
4202 * pcomplete.el (pcomplete-completions-at-point):
4203 * comint.el (comint--complete-file-name-data): Use :exit-function
4204 instead of completion-table-with-terminator so it also works for
4205 choose-completion.
4206
e44e373d
SM
42072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4208
4f91a816
SM
4209 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4210
782fc819
SM
4211 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4212 (bug#8710).
4213
e44e373d
SM
4214 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4215
381987c3
KM
42162011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
4217
4218 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4219 customization variable and implement: If non-nil, auto-fill will
4220 be inhibited while on topic's header line.
4221
b776bc70
VB
42222011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
4223
4224 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 4225 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
4226 always have a solution in grid size = 5 cases.
4227 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4228 (5x5-solver-output, 5x5-log-buffer): New vars.
4229 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4230 Make these variables buffer local to achieve 5x5 multi-session-ness.
4231 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4232 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4233 (5x5-solve-suggest): New funs.
4234 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4235 randomize a grid so that we ensure that there is always a solution.
4236 (5x5-make-random-grid): Allow other movement than flipping.
4237
7de88b6e
KR
42382011-05-23 Kevin Ryde <user42@zip.com.au>
4239
4240 * emacs-lisp/advice.el (ad-read-advised-function):
4241 Use `function-called-at-point' as the default default, if it has
4242 advice and passes PREDICATE.
4243
b1ef1257
SM
42442011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4245
bbca48fe
SM
4246 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4247 byte-compile-lambda if it's actually a lambda.
4248
b1ef1257
SM
4249 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4250 Fix function quoting. Use backquote better.
4251
92a9cc65
YS
42522011-05-22 Yuanle Song <sylecn@gmail.com>
4253
4254 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4255 matching (Bug#8516).
4256
f0fb8059
JA
42572011-01-22 Jari Aalto <jari.aalto@cante.net>
4258
4259 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4260 different face (Bug#8178).
4261
d5b44c93
CY
42622011-05-22 Chong Yidong <cyd@stupidchicken.com>
4263
4264 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4265 defface (Bug#8144).
4266
79106a44
SM
42672011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
4268
9c848d8a
SM
4269 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4270 funcall as well (bug#8712). Warn when performing those conversions.
4271 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4272
79106a44
SM
4273 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4274
88dfa756
GM
42752011-05-22 Glenn Morris <rgm@gnu.org>
4276
4277 * files.el (hack-local-variables-prop-line): Small simplifications.
4278 (hack-local-variables, hack-local-variables-prop-line):
4279 If MODE-ONLY, return the mode, rather than just `t'.
4280
b7cf2c79
SM
42812011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4284
3f1a8558
GM
42852011-05-21 Glenn Morris <rgm@gnu.org>
4286
7e4ccca3
GM
4287 * files.el (hack-local-variables-prop-line, hack-local-variables):
4288 If only interested in the mode, don't bother doing the other stuff.
4289
637d46ca
GM
4290 * image-mode.el (image-after-revert-hook):
4291 Redraw all frames on which the image is visible. (Bug#8567)
4292
973d955b
GM
4293 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4294
3f1a8558
GM
4295 * wid-edit.el (widget-checklist-match-inline):
4296 Fix 2011-04-19 change. (Bug#8649)
4297
96479927
SM
42982011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
4299
1dcf791f
SM
4300 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4301 Also allow singlespace after single-letter capitals followed by a dot.
4302
96479927
SM
4303 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4304 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4305
35fd0881
N
43062011-05-20 Nix <nix@esperi.org.uk>
4307
4308 * files.el (basic-save-buffer-2):
4309 Fix handling of break-hardlink-on-save with non-existent files.
4310
82745640
DD
43112011-05-19 Deniz Dogan <deniz@dogan.se>
4312
4313 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 4314 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 4315
4a720484
GM
43162011-05-19 Glenn Morris <rgm@gnu.org>
4317
d1f21341
GM
4318 * progmodes/f90.el (f90-type-def-re):
4319 Handle "type, bind(c)". (Bug#8691)
4320
4a720484
GM
4321 * emacs-lisp/autoload.el (batch-update-autoloads):
4322 Set autoload-excludes by parsing loadup.el rather than Makefiles.
4323
2fb0a219
MA
43242011-05-18 Michael Albinus <michael.albinus@gmx.de>
4325
4326 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4327 property for the correct connection in case of multihops.
4328
e565dd37
GM
43292011-05-18 Glenn Morris <rgm@gnu.org>
4330
c2571358 4331 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
4332 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4333
e565dd37
GM
4334 Rationalize calendar handling of day and month abbrev-arrays.
4335 * calendar/calendar.el (calendar-customized-p): New function.
4336 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4337 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4338 Add :set function.
4339 (calendar-abbrev-length, calendar-day-abbrev-array)
4340 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4341 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4342 Elements may no longer be nil.
4343 (calendar-day-name, calendar-month-name):
4344 Update for changed nature of abbrev arrays.
4345 * calendar/diary-lib.el (diary-name-pattern):
4346 Update for changed nature of abbrev arrays.
4347 (diary-mark-entries-1): Update calendar-make-alist calls.
4348 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4349 * calendar/cal-html.el (cal-html-day-abbrev-array):
4350 Simply inherit from calendar-day-abbrev-array.
4351
1d99a745
SM
43522011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * progmodes/grep.el (grep-mode): Disable default
4355 compilation-directory-matcher setting (bug#8684).
4356
7c1d9aa0
MA
43572011-05-17 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4360 instead of "head" and "tail". There were problems with SunOS 5.9,
4361 and it performs better.
4362
3952e9d8
GM
43632011-05-17 Glenn Morris <rgm@gnu.org>
4364
2dd12e7f
GM
4365 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4366
e4157b9c
GM
4367 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4368 Replace obsolete function.
4369
8e249bbd
GM
4370 * shell.el (pcomplete-parse-arguments-function): Declare.
4371
3952e9d8
GM
4372 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4373 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4374 (appt-check): Doc fixes.
4375 (appt-disp-window-function, appt-delete-window-function):
4376 Remove needless special case in custom :type.
4377 (appt-display-count): Default to 0, not nil.
4378 (appt-check): Reset appt-display-count to 0, not nil.
4379
c71a0d48 43802011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 4381
c71a0d48
GM
4382 * progmodes/python.el (python-font-lock-keywords):
4383 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 4384
31d55be9
SM
43852011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4388
3bfacb2f
KR
43892011-05-16 Kevin Ryde <user42@zip.com.au>
4390
4391 * info-look.el (makefile-automake-mode): New setups, looking in
4392 automake manual, then makefile-mode.
4393 (makefile-mode): Remove automake manual, have it just in
4394 makefile-automake-mode since there's various things different or
4395 not relevant to plain make.
4396 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4397 believe a hypothetical automake-mode would go to makefile-mode,
4398 not the other way around.
4399
c8e83751
CY
44002011-05-15 Chong Yidong <cyd@stupidchicken.com>
4401
5e9e35cd
CY
4402 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4403 hunk-end tags (Bug#8672).
4404
c8e83751
CY
4405 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4406 vc-annotate-show-diff-revision-at-line (Bug#8671).
4407
50b23e5a
GM
44082011-05-14 Glenn Morris <rgm@gnu.org>
4409
7210a739
GM
4410 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4411 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
4412 (change-log-font-lock-keywords): Also handle multiple author lines
4413 with leading tabs. (Bug#8644)
7210a739 4414
4691905a
GM
4415 * calendar/appt.el (appt-check): Rename some local variables.
4416 Some simplification/reordering.
4417
50b23e5a
GM
4418 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4419 (feedmail-sendmail-f-doesnt-sell-me-out)
4420 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4421 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4422 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
4423 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4424 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
4425 (feedmail-binmail-gnulinuxish-template):
4426 Rename from feedmail-binmail-linuxish-template.
4427 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4428 Use insert-buffer-substring.
4429
215cda7c
BC
44302011-05-14 Bill Carpenter <bill@carpenter.org>
4431
4432 * mail/feedmail.el (feedmail-patch-level): Increase.
4433 (feedmail-debug): New custom group.
4434 (feedmail-confirm-outgoing-timeout)
4435 (feedmail-sendmail-f-doesnt-sell-me-out)
4436 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4437 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4438 (feedmail-sender-line, feedmail-from-line)
4439 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 4440 (feedmail-spray-this-address)
215cda7c
BC
4441 (feedmail-spray-address-fiddle-plex-list)
4442 (feedmail-queue-use-send-time-for-date)
4443 (feedmail-queue-use-send-time-for-message-id)
4444 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4445 (feedmail-buffer-eating-function):
4446 Doc fixes.
4447 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4448 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4449 (feedmail-message-action-scroll-down): New functions.
4450 (feedmail-queue-directory, feedmail-queue-draft-directory):
4451 Use expand-file-name.
4452 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4453 Remove C-v help entry.
4454 (feedmail-queue-buffer-file-name): New variable.
4455 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4456 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4457 (feedmail-message-action-send-strong, feedmail-message-action-edit)
4458 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4459 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4460 (feedmail-message-action-toggle-spray)
4461 (feedmail-run-the-queue-no-prompts)
4462 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4463 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4464 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4465 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4466 (feedmail-envelope-deducer, feedmail-fiddle-from)
4467 (feedmail-fiddle-sender, feedmail-default-date-generator)
4468 (feedmail-fiddle-date, feedmail-fiddle-message-id)
4469 (feedmail-fiddle-spray-address)
4470 (feedmail-fiddle-list-of-spray-fiddle-plexes)
4471 (feedmail-fiddle-list-of-fiddle-plexes)
4472 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4473 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4474 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4475 Change default. Doc fix.
4476 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4477 (feedmail-binmail-linuxish-template): New constant.
4478 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
4479 Respect feedmail-sendmail-f-doesnt-sell-me-out.
4480 (feedmail-send-it): Add debug call.
4481 Use feedmail-queue-buffer-file-name, and
4482 feedmail-send-it-immediately-wrapper.
4483 (feedmail-message-action-send): Add debug call.
4484 Use feedmail-send-it-immediately-wrapper.
4485 (feedmail-queue-express-to-queue): Add debug call.
4486 Run feedmail-queue-express-hook.
4487 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
4488 (feedmail-message-action-help-blat):
4489 Rename from feedmail-queue-send-edit-prompt-help-first.
4490 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
4491 Check line-endings. Handle errors better.
4492 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
4493 Doc fix. Add debug call.
4494 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
4495 Use feedmail-queue-send-edit-prompt-inner.
4496 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
4497 (feedmail-queue-send-edit-prompt-inner): New function, extracted
4498 from feedmail-queue-send-edit-prompt.
4499 (feedmail-queue-send-edit-prompt-help)
4500 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
4501 (feedmail-tidy-up-slug): Add debug call.
4502 Respect feedmail-queue-slug-suspect-regexp.
4503 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
4504 (feedmail-dump-message-to-queue): Add debug call.
4505 Expand queue-directory.
4506 (feedmail-dump-message-to-queue): Change message slightly.
4507 Use feedmail-say-chatter.
4508 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
4509 (feedmail-send-it-immediately-wrapper): New function.
4510 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
4511 Insert empty string rather than newline. Handle full-frame case.
4512 Use catch/throw. Use feedmail-say-chatter.
4513 (feedmail-fiddle-from): Try mail-host-address.
4514 (feedmail-default-message-id-generator): Doc fix.
4515 Bind system-time-locale. Handle missing end.
4516 (feedmail-fiddle-x-mailer): Add debug call.
4517 Handle feedmail-x-mailer-line being nil.
4518 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
4519 Add debug call. Use buffer-substring-no-properties.
4520 (feedmail-say-debug, feedmail-say-chatter): New functions.
4521 (feedmail-find-eoh): Give an explicit error.
4522
42c7e61e
UJ
45232011-05-13 Ulf Jasper <ulf.jasper@web.de>
4524
c2571358 4525 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 4526 family from helvetica to sans.
c2571358 4527 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4528 etc/images/newsticker.
4529
c2571358 4530 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
4531 family from helvetica to sans.
4532
4533 * net/newst-plainview.el (newsticker-new-item-face)
4534 (newsticker-old-item-face, newsticker-immortal-item-face)
4535 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 4536 (newsticker-statistics-face): Change default family from
42c7e61e 4537 helvetica to sans.
c2571358 4538 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4539 etc/images/newsticker.
4540
4541 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
4542 (newsticker--process-auto-mark-filter-match): : Tell user about
4543 auto-marking.
4544
8497a297
DV
45452011-05-13 Didier Verna <didier@xemacs.org>
4546
4547 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
4548 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
4549 TODO entries.
8497a297
DV
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 4598
4d61f28d 4599 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
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 6042
4d61f28d 6043 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
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
4d61f28d 6715 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
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/>.