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