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