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