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