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