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