* lisp/window.el: Stay away from defsubst.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4b0d61e3
SM
12011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.el: Stay away from defsubst.
4 (window-list-no-nils): Remove.
5 (window-state-get-1, window-state-get): Use backquote instead.
6
fcbcac2e 72011-11-08 thierry <thierry.volpiatto@gmail.com>
8
4b0d61e3 9 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 10 Fix incorrect use of default argument in `completing-read'.
11
e1c2c6f2
MR
122011-11-08 Martin Rudalics <rudalics@gmx.at>
13
14 * window.el (display-buffer-function, special-display-function):
15 Mention display-buffer-record-window but do not mention
16 help-setup parameter in doc-strings.
17
105216ed
CY
182011-11-08 Chong Yidong <cyd@gnu.org>
19
20 * window.el (window-total-height, window-total-width): Doc fix.
21 (window-body-size): Move from C.
22 (window-body-height, window-body-width): Move to C.
23
0a9f9ab5
SM
242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * window.el: Make special-display like display-buffer-alist (bug#9532).
27 (display-buffer--special-action): New function, morphed
28 from display-buffer--special.
29 (display-buffer): Use it to handle special-display-buffers at higher
30 priority (just after display-buffer-alist).
31 (display-buffer-fallback-action, display-buffer--other-frame-action)
32 (pop-to-buffer-same-window): Remove display-buffer--special.
33
a769dd15
GM
342011-11-07 Glenn Morris <rgm@gnu.org>
35
36 * calendar/cal-menu.el (cal-menu-set-date-title):
37 Do nothing if not in a calendar. (Bug#9976)
38
05a61ee3
SM
392011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * files.el (find-file): Always use selected-window.
42
be7f5545
MR
432011-11-07 Martin Rudalics <rudalics@gmx.at>
44
45 * window.el (window-combinations): Make WINDOW argument
46 mandatory. Rewrite doc-string.
47 (walk-window-subtree, window-atom-check, window-min-delta)
48 (window-max-delta, window--resize-this-window)
49 (window--resize-root-window-vertically, window-tree)
50 (balance-windows, window-state-put): Rewrite doc-strings as to
51 not mention the term "subwindow".
52 (window--resize-subwindows-skip-p): Rename to
53 window--resize-child-windows-skip-p.
54 (window--resize-subwindows-normal): Rename to
55 window--resize-child-windows-normal.
56 (window--resize-subwindows): Rename to
57 window--resize-child-windows.
58 (window-or-subwindow-p): Rename to window--in-subtree-p.
59
3c6702ef
ML
602011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
61
62 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
63 Ensure that mbox format messages end in two newlines (Bug#9974).
64
49745b39
CY
652011-11-06 Chong Yidong <cyd@gnu.org>
66
67 * window.el (window-combination-p): Function deleted; its
68 side-effect is not used in any existing code.
69 (window-combinations, window-combined-p): Call window-*-child
70 directly.
71
24300f5f
CY
722011-11-05 Chong Yidong <cyd@gnu.org>
73
74 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
75 (window-size-ignore, window-state-get): Callers changed.
76 (window-normalize-window): Rename from window-normalize-any-window.
77 New arg LIVE-ONLY, replacing window-normalize-live-window.
78 (window-normalize-live-window): Deleted.
79 (window-combination-p, window-combined-p, window-combinations)
80 (walk-window-subtree, window-atom-root, window-min-size)
81 (window-sizable, window-sizable-p, window-size-fixed-p)
82 (window-min-delta, window-max-delta, window-resizable)
83 (window-resizable-p, window-full-height-p, window-full-width-p)
84 (window-current-scroll-bars, window-point-1, set-window-point-1)
85 (window-at-side-p, window-in-direction, window-resize)
86 (adjust-window-trailing-edge, maximize-window, minimize-window)
87 (window-deletable-p, delete-window, delete-other-windows)
88 (record-window-buffer, unrecord-window-buffer)
89 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
90 (quit-window, split-window, window-state-put)
91 (set-window-text-height, fit-window-to-buffer)
92 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 93
89bd5ee1
EZ
942011-11-04 Eli Zaretskii <eliz@gnu.org>
95
53479029
EZ
96 * mail/rmail.el (rmail-simplified-subject): Decode subject with
97 rfc2047-decode-string.
98 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
99 warnings.
100
89bd5ee1
EZ
101 * window.el (window-body-height, window-body-width): Mention in
102 the doc string that the return values are in frame's canonical
103 units. (Bug#9949)
104
bd17fdee
AM
1052011-11-03 Alan Mackenzie <acm@muc.de>
106
107 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
108 change in cc-engine.el.
109
acc825c5
SM
1102011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * window.el (switch-to-buffer): Use `force-same-window' interactively.
113
1885e5b8
MR
1142011-11-02 Martin Rudalics <rudalics@gmx.at>
115
116 * window.el (quit-window): Call unrecord-window-buffer after
117 showing another buffer in the window. (Bug#9937)
acc825c5 118 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 119
ebe06da9
JB
1202011-11-02 Juanma Barranquero <lekktu@gmail.com>
121
122 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
123 Accept status with more than 9 shelves. (Bug#9935)
124 Reported by Colin D Bennett <colin@gibibit.com>.
125
4ee88440
MR
1262011-11-01 Martin Rudalics <rudalics@gmx.at>
127
128 * help.el (with-help-window): Don't reference
129 temp-buffer-show-specifiers in doc-string.
130
08e1d82c
AS
1312011-10-31 Andreas Schwab <schwab@linux-m68k.org>
132
133 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
134 menu-item.
135
84bd6e9e
VJL
1362011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
137
138 * whitespace.el: New version 13.2.2.
139 (whitespace-newline-mode): Disable properly. Reported by Sarah
140 <EmacsWiki>.
141
dba0634a
UJ
1422011-10-30 Ulf Jasper <ulf.jasper@web.de>
143
144 * net/newst-treeview.el: Remove "Time-stamp".
145 (newsticker--group-manage-orphan-feeds): Do not call
146 newsticker--treeview-tree-update.
db22a3c2
JB
147 (newsticker-treeview-update, newsticker-treeview):
148 Call newsticker--treeview-tree-update if necessary.
dba0634a 149
3d8daefe
MR
1502011-10-30 Martin Rudalics <rudalics@gmx.at>
151
152 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
153 (window-iso-combinations): Remove "iso-" infix.
154 Suggested by Chong Yidong.
3d8daefe
MR
155 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
156 (window-max-delta-1, window-resize, window--resize-siblings)
157 (window--resize-this-window, adjust-window-trailing-edge)
158 (split-window, balance-windows-1)
159 (shrink-window-if-larger-than-buffer):
160 * calendar/calendar.el (calendar-generate-window):
db22a3c2 161 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 162
1bc4c3ae
SM
1632011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
166 in place (bug#9907).
167 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
168 (eshell-rewrite-if-command, eshell-rewrite-for-command)
169 (eshell-structure-basic-command, eshell-rewrite-while-command)
170 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
171 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
172 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
173 (eshell-do-pipelines-synchronously, eshell-eval-command):
174 Use backquotes and prefer setq to set.
175 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
176 (eshell-macrop): Use functionp.
c1e2f5fa 177 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 178
30b65d9c
CY
1792011-10-30 Chong Yidong <cyd@gnu.org>
180
181 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
182 instead of set-mark (Bug#9810).
183
2d197ffb
CY
1842011-10-30 Chong Yidong <cyd@gnu.org>
185
186 * window.el (split-window-below, split-window-right): Rename from
187 split-window-above-each-other and split-window-side-by-side
188 respectively. All callers changed.
189 (split-window-sensibly, split-window-sensibly): Use them.
190 (split-window-keep-point): Doc fix.
191
192 * isearch.el: Add isearch-scroll property to split-window-below
193 and split-window-right.
194
195 * follow.el (follow-mode):
196 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
197 * progmodes/ada-xref.el (ada-gdb-application):
198 * emulation/vip.el (vip-buffer-in-two-windows):
199 * image-dired.el (image-dired-dired-with-window-configuration):
200 * dired-x.el (dired-do-find-marked-files):
201 * dired.el (dired-pop-to-buffer):
202 * bs.el (bs--show-with-configuration):
203 * vc/emerge.el (emerge-setup-windows):
204 * textmodes/two-column.el (2C-two-columns):
205 * textmodes/reftex-toc.el (reftex-toc):
206 * progmodes/gdb-mi.el (gdb-setup-windows):
207 * progmodes/fortran.el (fortran-window-create):
208 * net/newst-treeview.el (newsticker--treeview-window-init):
209 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
210 * emulation/tpu-edt.el (tpu-gold-map):
211 * emulation/crisp.el (crisp-mode-map):
212 * calendar/calendar.el (calendar-basic-setup): Callers changed.
213
38bb2ca8
CY
2142011-10-29 Chong Yidong <cyd@gnu.org>
215
aa4de341
CY
216 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
217
e1eb5385
CY
218 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
219
5d2ece3c
CY
220 * textmodes/flyspell.el (flyspell-word): Fix char offset for
221 forged Ispell output (Bug#7904).
222
38bb2ca8
CY
223 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
224
d0af9f77
SM
2252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * doc-view.el: Avoid ugly errors about not finding nil.
228 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
229 (doc-view-dvipdf-program, doc-view-unoconv-program)
230 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
231 Avoid nil or absolute file name as default value.
232 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
233
52bedd34
AM
2342011-10-28 Alan Mackenzie <acm@muc.de>
235
db22a3c2 236 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 237
7e43cfa5
AM
2382011-10-28 Alan Mackenzie <acm@muc.de>
239
240 Amend the handling of c-beginning/end-of-defun in nested declaration
241 scopes.
242
52bedd34
AM
243 * progmodes/cc-vars.el (c-defun-tactic): Move here from
244 cc-langs.el. Change it to a defcustom.
7e43cfa5 245
52bedd34
AM
246 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
247 cc-vars.el.
7e43cfa5 248
d0af9f77
SM
249 * progmodes/cc-engine.el (c-beginning-of-statement-1):
250 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 251
52bedd34 252 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 253 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
254 (c-widen-to-enclosing-decl-scope): New function.
255 (c-while-widening-to-decl-block): New macro.
256 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
257 outward for defun boundaries, and correspondingly change symbol
258 `respect-enclosure' to `go-outward'.
259 (c-declaration-limits): Change algorithm to report only the "innermost"
260 defun's boundaries.
261
1a2ce9ee
DD
2622011-10-28 Deniz Dogan <deniz@dogan.se>
263
264 * net/rcirc.el (rcirc-mode): Use hard newlines.
265
bc97a826
AM
2662011-10-28 Alan Mackenzie <acm@muc.de>
267
268 Amend to indent and fontify macros "which include their own semicolon"
269 correctly, using the "virtual semicolon" mechanism.
270
52bedd34 271 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 272
d0af9f77 273 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 274 Recode to scan one line at at time rather than having \n and \r
52bedd34 275 explicitly in c-stmt-delim-chars
bc97a826
AM
276 (for some modes, e.g. AWK).
277 (c-forward-label): Amend for virtual semicolons.
278 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
279
52bedd34
AM
280 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
281 of the new C macros.
bc97a826 282
52bedd34 283 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
284 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
285 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
286 (c-opt-cpp-macro-define): Make into a full language variable.
287 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
288 AWK Mode (including \n, \r) removed, no longer needed.
289
d0af9f77
SM
290 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
291 Invoke c-make-macro-with-semi-re.
bc97a826 292
52bedd34
AM
293 * progmodes/cc-vars.el (c-macro-with-semi-re):
294 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
295 (c-make-macro-with-semi-re): New function
296
7a6c0941
SM
2972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * vc/log-edit.el: Fill empty field rather than adding new one.
300 (log-edit-add-field): New function.
301 (log-edit-insert-changelog): Use it.
302
b0c4cdcf
ML
3032011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
304
305 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
306
ee1f1da9
SM
3072011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
310 (gdb--check-interpreter): New function.
311 (gdb): Use it.
312
51bc5f8b
GM
3132011-10-27 Glenn Morris <rgm@gnu.org>
314
416a2c45
GM
315 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
316 (least-positive-float, least-negative-float)
317 (least-positive-normalized-float, least-negative-normalized-float)
318 (float-epsilon, float-negative-epsilon):
319 Remove unnecessary declarations.
320
321 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
322 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
323 (least-positive-float, least-negative-float)
324 (least-positive-normalized-float, least-negative-normalized-float)
325 (float-epsilon, float-negative-epsilon): Add doc-strings,
326 based on those in cl.texi.
327
51bc5f8b
GM
328 * files.el (set-visited-file-name): If the major-mode changed,
329 reload the local variables. (Bug#9796)
330
15de15c6
CY
3312011-10-27 Chong Yidong <cyd@gnu.org>
332
333 * subr.el (change-major-mode-after-body-hook): New hook.
334 (run-mode-hooks): Run it.
335
ee1f1da9
SM
336 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
337 Use change-major-mode-before-body-hook.
15de15c6
CY
338
339 * simple.el (fundamental-mode):
340 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
341 change introducing fundamental-mode-hook.
342
5430d399
JB
3432011-10-26 Juanma Barranquero <lekktu@gmail.com>
344
acc825c5 345 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 346
ad74a69e
MA
3472011-10-26 Michael Albinus <michael.albinus@gmx.de>
348
349 * ido.el (ido-file-name-all-completions-1): Do not require
350 tramp.el explicitely. (Bug#7583)
351
71d4c2a5
SM
3522011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * progmodes/octave-mod.el:
355 * progmodes/octave-inf.el: Update maintainer.
356
b1f6fa26
CY
3572011-10-26 Chong Yidong <cyd@gnu.org>
358
359 * subr.el (with-wrapper-hook): Rewrite doc.
360
3f04efd6
MA
3612011-10-25 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 364 filenames "/method:foo:". (Bug#9793)
3f04efd6 365
410488d3
SM
3662011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
369 (bug#9865).
370
c1ebb47e
GM
3712011-10-24 Glenn Morris <rgm@gnu.org>
372
373 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
374
7f5c46c7
MA
3752011-10-24 Michael Albinus <michael.albinus@gmx.de>
376
377 * notifications.el: Add the requirement of a running D-Bus session
378 bus to the Commentary.
379
db2440b6
JL
3802011-10-24 Juri Linkov <juri@jurta.org>
381
382 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
383 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
384 (Bug#9364)
385
feecf435
JL
3862011-10-24 Juri Linkov <juri@jurta.org>
387
388 * info.el (Info-following-node-name-re): Add newline to the list
389 of allowed characters for leading space. (Bug#9824)
390
a3839de2
SM
3912011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
392
acc825c5
SM
393 * progmodes/octave-inf.el (inferior-octave-mode-map):
394 Fix C-c C-h binding.
a3839de2
SM
395 * progmodes/octave-mod.el (octave-help): Remove.
396
09388e76
MA
3972011-10-23 Michael Albinus <michael.albinus@gmx.de>
398
399 Sync with Tramp 2.2.3.
400
401 * net/tramp-cache.el (top): Pacify byte-compiler using
402 `init-file-user' and `site-run-file'.
403
404 * net/trampver.el: Update release number.
405
86c60681
CY
4062011-10-23 Chong Yidong <cyd@gnu.org>
407
408 * files.el (toggle-read-only): Remove obsolete comment about
409 version control.
410
411 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
412 for toggle-read-only. Note that this hasn't called vc-next-action
413 since 2008-05-02, though it wasn't documented at the time.
414
a3839de2
SM
415 * vc/ediff-init.el (ediff-toggle-read-only-function):
416 Use toggle-read-only.
86c60681 417
cd5495ff
AM
4182011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
419
420 Fix bug #9560, sporadic wrong indentation; improve instrumentation
421 of c-parse-state.
422
00b77525 423 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 424 correct faulty logical expression.
cd5495ff
AM
425 (c-parse-state-state, c-record-parse-state-state):
426 (c-replay-parse-state-state): New defvar/defuns.
427 (c-debug-parse-state): Use new functions.
428
42ee24ed
MR
4292011-10-22 Martin Rudalics <rudalics@gmx.at>
430
431 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 432 last fix. Use window-in-direction correctly.
42ee24ed 433
a7dee7e7
CY
4342011-10-21 Chong Yidong <cyd@gnu.org>
435
436 * progmodes/idlwave.el (idlwave-mode):
437 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
438 require-final-newline; that's done in prog-mode.
439 Suggested by Stefan Monnier.
a7dee7e7 440
e07b9a6d
MR
4412011-10-21 Martin Rudalics <rudalics@gmx.at>
442
443 * mouse.el (mouse-drag-window-above)
444 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
445 (mouse-drag-mode-line-1, mouse-drag-header-line)
446 (mouse-drag-vertical-line-rightward-window): Remove.
447 (mouse-drag-line): New function.
448 (mouse-drag-mode-line, mouse-drag-header-line)
449 (mouse-drag-vertical-line): Call mouse-drag-line.
450 * window.el (window-at-side-p, windows-at-side): New functions.
451
7e1361d9
UM
4522011-10-21 Ulrich Mueller <ulm@gentoo.org>
453
454 * tar-mode.el (tar-grind-file-mode):
455 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
456
30fcaf3a
CY
4572011-10-21 Chong Yidong <cyd@gnu.org>
458
459 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
460 * progmodes/vera-mode.el (vera-mode):
461 Use mode-require-final-newline.
30fcaf3a 462
516eddb0
GM
4632011-10-20 Glenn Morris <rgm@gnu.org>
464
db22a3c2 465 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 466
10d5f513
CS
4672011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
468
469 * emulation/cua-base.el (cua-set-mark): Fix case of string.
470
ac6c8639
CY
4712011-10-20 Chong Yidong <cyd@gnu.org>
472
473 * emulation/cua-base.el (cua-mode):
474 * mail/footnote.el (footnote-mode):
475 * mail/mailabbrev.el (mail-abbrevs-mode):
476 * net/xesam.el (xesam-minor-mode):
477 * progmodes/bug-reference.el (bug-reference-mode):
478 * progmodes/cap-words.el (capitalized-words-mode):
479 * progmodes/compile.el (compilation-minor-mode)
480 (compilation-shell-minor-mode):
481 * progmodes/gud.el (gud-tooltip-mode):
482 * progmodes/hideif.el (hide-ifdef-mode):
483 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
484 * progmodes/subword.el (subword-mode):
485 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
486 * progmodes/which-func.el (which-function-mode):
487 * term/tvi970.el (tvi970-set-keypad-mode):
488 * term/vt100.el (vt100-wide-mode):
489 * textmodes/flyspell.el (flyspell-mode):
490 * textmodes/ispell.el (ispell-minor-mode):
491 * textmodes/nroff-mode.el (nroff-electric-mode):
492 * textmodes/paragraphs.el (use-hard-newlines):
493 * textmodes/refill.el (refill-mode):
494 * textmodes/reftex.el (reftex-mode):
495 * textmodes/rst.el (rst-minor-mode):
496 * textmodes/sgml-mode.el (html-autoview-mode)
497 (sgml-electric-tag-pair-mode):
498 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
499 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
500 * emulation/crisp.el (crisp-mode):
501 * emacs-lisp/eldoc.el (eldoc-mode):
502 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
503 minor mode behavior.
504
aa42ab43
JL
5052011-10-19 Juri Linkov <juri@jurta.org>
506
507 * descr-text.el (describe-char): Add #x2010 and #x2011 to
508 the list of hard-coded chars with escape-glyph face.
509
89400f1d
SM
5102011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
513
305c07f6
MA
5142011-10-19 Michael Albinus <michael.albinus@gmx.de>
515
516 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
517 running process.
518
13754b54
GM
5192011-10-19 Glenn Morris <rgm@gnu.org>
520
521 * vc/vc-bzr.el (vc-bzr-after-dir-status):
522 Ignore ignored files. (Bug#9726)
523
06e21633
CY
5242011-10-19 Chong Yidong <cyd@gnu.org>
525
526 Doc fix for minor modes, stating that an omitted argument enables
527 the mode unconditionally when called from Lisp.
528
529 * abbrev.el (abbrev-mode):
530 * allout.el (allout-mode):
531 * autoinsert.el (auto-insert-mode):
532 * autoarg.el (autoarg-mode, autoarg-kp-mode):
533 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
534 (global-auto-revert-mode):
535 * battery.el (display-battery-mode):
536 * composite.el (global-auto-composition-mode)
537 (auto-composition-mode):
538 * delsel.el (delete-selection-mode):
539 * desktop.el (desktop-save-mode):
540 * dired-x.el (dired-omit-mode):
541 * dirtrack.el (dirtrack-mode):
542 * doc-view.el (doc-view-minor-mode):
543 * double.el (double-mode):
544 * electric.el (electric-indent-mode, electric-pair-mode):
545 * emacs-lock.el (emacs-lock-mode):
546 * epa-hook.el (auto-encryption-mode):
547 * follow.el (follow-mode):
548 * font-core.el (font-lock-mode):
549 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
550 * help.el (temp-buffer-resize-mode):
551 * hilit-chg.el (highlight-changes-mode)
552 (highlight-changes-visible-mode):
553 * hi-lock.el (hi-lock-mode):
554 * hl-line.el (hl-line-mode, global-hl-line-mode):
555 * icomplete.el (icomplete-mode):
556 * ido.el (ido-everywhere):
557 * image-file.el (auto-image-file-mode):
558 * image-mode.el (image-minor-mode):
559 * iswitchb.el (iswitchb-mode):
560 * jka-cmpr-hook.el (auto-compression-mode):
561 * linum.el (linum-mode):
562 * longlines.el (longlines-mode):
563 * master.el (master-mode):
564 * mb-depth.el (minibuffer-depth-indicate-mode):
565 * menu-bar.el (menu-bar-mode):
566 * minibuf-eldef.el (minibuffer-electric-default-mode):
567 * mouse-sel.el (mouse-sel-mode):
568 * msb.el (msb-mode):
569 * mwheel.el (mouse-wheel-mode):
570 * outline.el (outline-minor-mode):
571 * paren.el (show-paren-mode):
572 * recentf.el (recentf-mode):
573 * reveal.el (reveal-mode, global-reveal-mode):
574 * rfn-eshadow.el (file-name-shadow-mode):
575 * ruler-mode.el (ruler-mode):
576 * savehist.el (savehist-mode):
577 * scroll-all.el (scroll-all-mode):
578 * scroll-bar.el (scroll-bar-mode):
579 * server.el (server-mode):
580 * shell.el (shell-dirtrack-mode):
581 * simple.el (auto-fill-mode, transient-mark-mode)
582 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
583 (line-number-mode, column-number-mode, size-indication-mode)
584 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
585 * strokes.el (strokes-mode):
586 * time.el (display-time-mode):
587 * t-mouse.el (gpm-mouse-mode):
588 * tool-bar.el (tool-bar-mode):
589 * tooltip.el (tooltip-mode):
590 * type-break.el (type-break-mode-line-message-mode)
591 (type-break-query-mode):
592 * view.el (view-mode):
593 * whitespace.el (whitespace-mode, whitespace-newline-mode)
594 (global-whitespace-mode, global-whitespace-newline-mode):
595 * xt-mouse.el (xterm-mouse-mode): Doc fix.
596
a3839de2
SM
597 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
598 Fix autogenerated docstring.
06e21633 599
5214e501
JL
6002011-10-19 Juri Linkov <juri@jurta.org>
601
602 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
603 by checking environment variables "DESKTOP_SESSION" and
604 "XDG_CURRENT_DESKTOP". (Bug#9779)
605
195f8db9
JL
6062011-10-19 Juri Linkov <juri@jurta.org>
607
608 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
609 (browse-url-chromium-program, browse-url-chromium-arguments):
610 New defcustoms.
611 (browse-url-default-browser): Check for `browse-url-chromium' and
612 call `browse-url-chromium-program'.
613 (browse-url-chromium): New command. (Bug#9779)
614
343a34ff
JB
6152011-10-18 Juanma Barranquero <lekktu@gmail.com>
616
617 * facemenu.el (list-colors-duplicates): On Windows, detect more
618 duplicates by assuming that only colors matching "^System" are
619 special "system colors". (Bug#9722)
620
6978a151
SM
6212011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
624 to distinguish the author from the committer.
625
6a80b297
MA
6262011-10-18 Michael Albinus <michael.albinus@gmx.de>
627
628 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
629
b31a5677
JK
6302011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
631
632 * international/mule.el (sgml-html-meta-auto-coding-function):
633 Add support for detecting encoding in HTML5 specified only as
634 <meta charset="UTF-8">. Implementation just makes http-equiv and
635 content-type parts from HTML4 encoding string optional. (Bug#9716)
636
80c6d77f
GM
6372011-10-18 Glenn Morris <rgm@gnu.org>
638
639 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
640
08b0fee8
CY
6412011-10-18 Chong Yidong <cyd@gnu.org>
642
643 * faces.el (cursor): Doc fix.
644
67e729a5
CY
6452011-10-17 Chong Yidong <cyd@gnu.org>
646
647 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
648
343a34ff 6492011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
650
651 * dirtrack.el (dirtrack): Support shell buffers with path
652 prefixes, e.g. tramp-based remote shells. (Bug#9647)
653
0bc06380
TZ
6542011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
655
656 * json.el: Bump version to 1.3 and note change in History.
657 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
658
8b79f3e0
SM
6592011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
660
5a7c536b
SM
661 * comint.el (comint-insert-input, comint-send-input)
662 (comint-get-old-input-default, comint-backward-matching-input)
663 (comint-next-prompt): Use nil instead of `input' for field property of
664 past user input (bug#114).
665
96a8a0df
SM
666 * minibuffer.el (completion--replace): Inherit surrounding properties
667 (bug#114).
668 (minibuffer-complete-and-exit): Use it.
669
8b79f3e0
SM
670 * comint.el (comint--table-subvert): Quote the all-completions output
671 (bug#9160).
672
b8f7ff0d
MR
6732011-10-17 Martin Rudalics <rudalics@gmx.at>
674
8b79f3e0 675 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 676
b8f7ff0d 677 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 678 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
679 entries and separate them from frame entries.
680
c235b555
GM
6812011-10-15 Glenn Morris <rgm@gnu.org>
682
683 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
684 Doc fixes.
685
6bbfa6e1
CY
6862011-10-15 Chong Yidong <cyd@stupidchicken.com>
687
8b79f3e0
SM
688 * net/network-stream.el (network-stream-open-starttls):
689 Improve detection of failure due to lack of TLS support.
ec5c990d 690
6bbfa6e1
CY
691 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
692 putting the input text in front and in bold.
693
98488977
SM
6942011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
695
3d1337be
SM
696 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
697
ee0b45e4
SM
698 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
699 empty buffer.
700
98488977
SM
701 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
702 unread-command-events rather than pushing yet-another event.
703
186f4720
EZ
7042011-10-14 Eli Zaretskii <eliz@gnu.org>
705
706 * mail/sendmail.el (sendmail-query-once): Improve the wording of
707 the explanation of the possible choices. Make the options passed
708 to completing-read shorter.
709
8b7a997c
AM
7102011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
711
712 * textmodes/flyspell.el (flyspell-large-region): Make sure
713 extended character mode is used if defined (Bug#1339).
714
12587bbb
EZ
7152011-10-13 Eli Zaretskii <eliz@gnu.org>
716
717 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
718 character info for LRE, LRO, RLE, and RLO characters by appending
719 an invisible PDF.
12587bbb 720
bad41229
SM
7212011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
724 even in case of error; add debug spec; simplify data flow.
725 (with-timeout-handler): Remove.
726
28dbc92f
MA
7272011-10-12 Michael Albinus <michael.albinus@gmx.de>
728
729 Fix Bug#6019, Bug#9315.
730
731 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
732 complete `buffer-file-name', the local file name part could look
733 remotely (for example on VMS).
734
735 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
736 `tramp-run-real-handler'.
737 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
738 already quoted by '"'.
739
740 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
741 Let `file-name-handler-alist' be nil, the local file name part
742 could look remotely (for example on VMS).
743
e1b0b23a
SM
7442011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
747 from here...
748 (flyspell-post-command-hook): ...to here.
749
a120bde9
SM
7502011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
753 if not needed.
754 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
755 using completion. Protect against "slow" callers.
756 Remove the "message hack".
757
7ce7717b
JL
7582011-10-11 Juri Linkov <juri@jurta.org>
759
760 * isearch.el (isearch-lazy-highlight-word): New variable.
761 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
762 Use it. (Bug#9727)
763
c02ee9d6
GM
7642011-10-11 Glenn Morris <rgm@gnu.org>
765
766 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
767 like f90-previous-statement does.
768
93e616fd 7692011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
770
1f190e73 771 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
772 only in interactive use, to avoid error.
773
af7b6078
SM
7742011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * minibuffer.el (completion-file-name-table): Fix last change,
777 i.e. ignore normal errors but not the other ones.
778
0563dae9
MR
7792011-10-10 Martin Rudalics <rudalics@gmx.at>
780
781 * window.el (special-display-buffer-names)
782 (special-display-regexps): Remove some remnants of earlier
783 changes from doc-strings.
366ca7f3
MR
784 (quit-windows-on): New function.
785
786 * vc/vc.el (vc-revert, vc-rollback):
787 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
788 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 789 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 790
49677495
MR
7912011-10-09 Martin Rudalics <rudalics@gmx.at>
792
793 * window.el (frame-auto-hide-function): Add version tag.
794 (Bug#9699)
795
56f2d1e1
MA
7962011-10-09 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
799 condition.
800
112a6592
LL
8012011-10-09 Leo Liu <sdl.web@gmail.com>
802
803 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
804 (Bug#9701)
805
0812589b
GM
8062011-10-08 Glenn Morris <rgm@gnu.org>
807
808 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
809 before the first code statement zero indent. (Bug#9690)
810
b2b0776e
CY
8112011-10-08 Chong Yidong <cyd@stupidchicken.com>
812
813 * simple.el (count-words-region): Always count in the region.
814 Report the number of lines and characters too.
815 (count-words): New command, which counts in the buffer if the
816 region is inactive, as count-words-region used to.
817 (count-words--message): New function. Handle plurals.
818 (count-lines-region): Make it an alias for count-words-region.
819
820 * bindings.el (esc-map): Replace count-lines-region with
821 count-words-region.
822
c557cd6b
MR
8232011-10-08 Martin Rudalics <rudalics@gmx.at>
824
825 * window.el (window--delete): Delete dedicated frame
826 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 827 (switch-to-buffer): Fix doc-string typo.
c557cd6b 828
61a57ef4 8292011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
830
831 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
832
c3833279
CY
8332011-10-07 Chong Yidong <cyd@stupidchicken.com>
834
835 * bindings.el ([M-left],[M-right]): Bind to left-word and
836 right-word respectively.
837
21ce8245
GM
8382011-10-07 Glenn Morris <rgm@gnu.org>
839
840 * cus-start.el (debug-on-quit): Fix custom type.
841
6d823bb2
LMI
8422011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
843
0181e193
LMI
844 * subr.el (define-key-after): Clarify that the function is not
845 useful for non-menu keymaps.
846
6d823bb2
LMI
847 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
848
8e3459ce 8492011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
850
21ce8245 851 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 852 in current minibuffer (Fix bug with recursive minibuffers).
853
a1c2d21e
CY
8542011-10-06 Chong Yidong <cyd@stupidchicken.com>
855
856 * progmodes/gdb-mi.el (gdb): Doc fix.
857
5a4cf282
MR
8582011-10-05 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (frame-auto-hide-function): New option replacing
861 frame-auto-delete. Suggested by Stefan Monnier.
862 (window--delete): Call frame-auto-hide-function instead of
863 investigating frame-auto-delete.
c96111ea
MR
864 (window-point-1, set-window-point-1): New functions.
865 (window-in-direction, record-window-buffer, window-state-get-1)
866 (display-buffer-record-window): Use window-point-1 instead of
867 window-point.
868 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 869
9854542e
SM
8702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
873
8943cfb0
GM
8742011-10-05 Glenn Morris <rgm@gnu.org>
875
876 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
877 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
878
647ab967
LL
8792011-10-05 Leo Liu <sdl.web@gmail.com>
880
881 * subr.el (read-char-choice): Fix argument to buffer-live-p which
882 works with buffer object.
883
3ddfbced
SM
8842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * mpc.el (mpc-tool-bar-map): Add labels.
887
bdfa5dd2
GM
8882011-10-04 Glenn Morris <rgm@gnu.org>
889
890 * calendar/holidays.el (calendar-check-holidays): Doc fix.
891
0e2070b5
MR
8922011-10-04 Martin Rudalics <rudalics@gmx.at>
893
894 * window.el (window--delete): New function.
895 (frame-auto-delete): Resuscitate option.
896 (bury-buffer, replace-buffer-in-windows)
897 (quit-window): Rewrite using window--delete.
898 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
899 Pass display-buffer-mark-dedicated to window--display-buffer-2
900 (Bug#9639).
901
3dc61a09
SM
9022011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
903
915a9b64
SM
904 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
905 returns a list (bug#9554). Add remote file name completion.
906 * comint.el (comint--table-subvert): Curry and get quote&unquote
907 functions as arguments.
908 (comint--complete-file-name-data): Adjust call accordingly.
909 * pcomplete.el (pcomplete--table-subvert): Remove.
910 (pcomplete-completions-at-point): Use comint--table-subvert instead.
911
3dc61a09
SM
912 * minibuffer.el (completion-table-case-fold): Use currying.
913 (completion--styles-type, completion--cycling-threshold-type):
914 New constants.
915 (completion-styles, completion-category-overrides)
916 (completion-cycle-threshold): Use them.
917 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
918 completion-table-case-fold.
919
8ea0a993
SB
9202011-10-03 Stephen Berman <stephen.berman@gmx.net>
921
922 * minibuffer.el (completion-category-overrides): Fix type of styles
923 and add more user friendly tags (bug#9660).
924
8c24b7f6
SM
9252011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
928 (mule-input-method-string): New widget.
929 (default-input-method, language-info-custom-alist): Use it.
930
428fe61a
SM
9312011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
932
32c1fffd
SM
933 * pcomplete.el: Require comint.
934 (pcomplete--common-suffix): Remove.
935 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
936 (pcomplete--table-subvert): Sync with comint--table-subvert.
937 (pcomplete--entries): Use comint-completion-file-name-table.
938 * comint.el (comint-unquote-filename): Simplify.
939 (comint-completion-file-name-table): New function (bug#9616).
940 (comint--complete-file-name-data): Use it.
941
428fe61a
SM
942 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
943 (pcmpl-gnu-tar-buffer): Remove.
944 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
945 around. Make sure pcomplete-suffix-list is only changed temporarily.
946 Don't look inside the tar's file if it's too large.
428fe61a 947
04c52e2f
CY
9482011-10-01 Chong Yidong <cyd@stupidchicken.com>
949
ce3cefcc
CY
950 * cus-edit.el (custom-mode-map):
951 * epa.el (epa-key-list-mode-map):
952 * man.el (Man-mode-map):
953 * startup.el (splash-screen-keymap):
954 * simple.el (special-mode-map): Use scroll-up-command and
955 scroll-down-command.
956
957 * progmodes/idlw-help.el (idlwave-help-mode-map):
958 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
959 * net/newst-plainview.el (newsticker-mode-map):
960 * emulation/ws-mode.el (wordstar-mode-map):
961 * emulation/vi.el (vi-com-map):
962 * calc/calc-graph.el (calc-graph-show-dumb):
963 * term/sun.el (terminal-init-sun):
964 * term/ns-win.el (global-map):
965 * progmodes/grep.el (grep-mode-map):
966 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
967 * mail/rmail.el (rmail-mode-map):
968 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
969
04c52e2f
CY
970 * custom.el (custom-safe-themes, load-theme): Treat value of t for
971 custom-safe-themes as special.
972
79adf8c8
JD
9732011-10-01 Julien Danjou <julien@danjou.info>
974
975 * notifications.el (notifications-notify): Fix docstring.
976
63bd50d3
PS
9772011-10-01 Per Starbäck <per@starback.se>
978
979 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
980
199e4c7e
MR
9812011-09-30 Martin Rudalics <rudalics@gmx.at>
982
983 * startup.el (command-line-1): Fix last fix by inserting
984 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 985 (Bug#9605) and (Bug#9636)
199e4c7e 986
fe5f08dd
EZ
9872011-09-29 Eli Zaretskii <eliz@gnu.org>
988
989 * simple.el (line-move): If auto-hscroll-mode is disabled and the
990 window is hscrolled, move by logical lines. (Bug#9607)
991 (line-move-visual): Update the doc string to the above effect.
992
b5516bbd
MR
9932011-09-29 Martin Rudalics <rudalics@gmx.at>
994
ccee00c0
MR
995 * window.el (display-buffer-record-window): When WINDOW is the
996 selected window use `point' instead of `window-point'. (Bug#9626)
997
b5516bbd
MR
998 * startup.el (command-line-1): Use insert-before-markers when
999 inserting initial-scratch-message. (Bug#9605)
ccee00c0 1000
b5516bbd
MR
1001 * help.el (help-window): Remove variable.
1002
52aa0014
GM
10032011-09-29 Glenn Morris <rgm@gnu.org>
1004
1005 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
1006
df9a7357
JB
10072011-09-29 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * descr-text.el (describe-char-categories): Accept category
1010 descriptions more than one line long.
1011
a8406c20
SM
10122011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1013
88d9610c
SM
1014 * simple.el (delete-trailing-whitespace): Fix last change.
1015
a5daf810
SM
1016 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1017 Don't confuse "y => 3" as the beginning of a `y' operation.
1018
a8406c20
SM
1019 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1020 object has more than 4 slots (bug#9613).
1021
a239d4e9
JB
10222011-09-28 Juanma Barranquero <lekktu@gmail.com>
1023
1024 * subr.el (with-output-to-temp-buffer):
1025 * net/quickurl.el (quickurl, quickurl-browse-url):
1026 Fix typos in docstrings.
1027
693fbdb6
EZ
10282011-09-27 Eli Zaretskii <eliz@gnu.org>
1029
1030 * minibuffer.el (completion-styles)
1031 (completion-category-overrides): Cross reference each other in doc
1032 strings.
1033
8b457e28
GM
10342011-09-27 Glenn Morris <rgm@gnu.org>
1035
1036 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1037 to split-string. (Bug#9606)
1038
85a16208
LMI
10392011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1040
1041 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1042 (bug#9615).
1043
502f9ebd
CY
10442011-09-27 Chong Yidong <cyd@stupidchicken.com>
1045
1046 * emacs-lisp/package.el (list-packages): Fix echo area message.
1047
7690bdea
LL
10482011-09-27 Leo Liu <sdl.web@gmail.com>
1049
1050 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1051
e2ee6f30
MA
10522011-09-25 Michael Albinus <michael.albinus@gmx.de>
1053
1054 * net/dbus.el (dbus-unregister-object): Don't release services for
1055 registered signals. (Bug#9581)
1056
f3f98342
TZ
10572011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1058
1059 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1060 function that picks between cfengine 2 and 3 support
1061 automatically. Update docs accordingly.
1062
dd7aa8dd
KH
10632011-09-22 Kenichi Handa <handa@m17n.org>
1064
1065 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1066 ZERO.
1067 (indian-itrans-v5-table-for-tamil): New variable.
1068 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1069
3f2b07f8
KM
10702011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1071
1072 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1073 that's true if the current command involved collapsing of text.
1074 It's reset to false at the beginning of the next command.
1075 (allout-post-command-business): Move the cursor to the beginning
1076 of entry if the cursor is hidden and collapsing activity just
1077 happened.
1078
371d6a61
CY
10792011-09-24 Chong Yidong <cyd@stupidchicken.com>
1080
1081 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1082 tracking (Bug#9541).
1083
2ac2721a
UJ
10842011-09-24 Ulf Jasper <ulf.jasper@web.de>
1085
1086 * net/newst-reader.el (newsticker-html-renderer)
1087 (newsticker-show-news): Automatically
343a34ff
JB
1088 load html rendering package if newsticker-html-renderer is set.
1089 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1090 let-bound" and the error "Symbol's value as variable is void:
1091 w3m-fill-column".
1092
fac7ae53
MA
10932011-09-24 Michael Albinus <michael.albinus@gmx.de>
1094
1095 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1096 Release services only if they are defined. (Bug#9581)
1097
e08b633b
RS
10982011-09-23 Richard Stallman <rms@gnu.org>
1099
e488d29c
RS
1100 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1101 distinguish start of paragraph from start of its text.
1102
19c38752
RS
1103 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1104
e08b633b
RS
1105 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1106 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1107 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1108
0a39f27e
AS
11092011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1110
1111 * international/mule-diag.el (mule-diag): Insert a newline after
1112 each fontset description.
1113
db4e950d
SM
11142011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * simple.el (delete-trailing-whitespace):
1117 Document last change; simplify.
1118
eca3f3ea
PW
11192011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1120
d68e189a
PW
1121 * simple.el (delete-trailing-whitespace): Also delete
1122 extra newlines at the end of the buffer.
1123
eca3f3ea
PW
1124 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1125 (picture-newline): Use forward-line so as to ignore fields.
1126
01c157cc
SM
11272011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * subr.el (with-wrapper-hook): Fix edebug spec.
1130
022de23e
LMI
11312011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1132
1133 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1134 (bug#4538).
1135
91683089
MA
11362011-09-23 Michael Albinus <michael.albinus@gmx.de>
1137
eca3f3ea
PW
1138 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1139 Fix nasty bug using wrong cached values.
91683089 1140
5bdd6fa4
AM
11412011-09-23 Alan Mackenzie <acm@muc.de>
1142
1143 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1144
97adfb97
CY
11452011-09-23 Chong Yidong <cyd@stupidchicken.com>
1146
1147 * window.el (pop-to-buffer): Ensure right window is selected if we
1148 chose another frame.
1149
d4ef2b50
EZ
11502011-09-22 Eli Zaretskii <eliz@gnu.org>
1151
1152 * simple.el (what-cursor-position): Use get-char-property-change
1153 and next-single-char-property-change, to be able to show display
1154 properties that come from overlays as well as text properties.
1155
72258fe5
CY
11562011-09-22 Chong Yidong <cyd@stupidchicken.com>
1157
1158 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1159
1160 * cmuscheme.el (run-scheme, switch-to-scheme):
1161 * cus-edit.el (customize-group, custom-buffer-create)
1162 (customize-browse):
1163 * info.el (info):
1164 * shell.el (shell):
1165 * mail/sendmail.el (mail):
1166 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1167
8f098516
RS
11682011-09-22 Richard Stallman <rms@gnu.org>
1169
1170 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1171 move back only to line beg, don't move back over blank lines.
1172
e74f1bb6
MA
11732011-09-22 Michael Albinus <michael.albinus@gmx.de>
1174
1175 * files.el (copy-directory): Set directory attributes only in case
1176 they could be retrieved from the source directory. (Bug#9565)
1177
bfeef8b6
DK
11782011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1179
1180 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1181 (hs-find-block-beginning, hs-hide-level-recursive):
1182 Ignore strings as well as comments. (Bug#9502)
1183
7e423bb8
AS
11842011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1185
1186 * progmodes/sql.el (sql-comint-postgres):
1187 Convert port number to a string. (Bug#9566)
1188
b4d72fcf
MR
11892011-09-22 Martin Rudalics <rudalics@gmx.at>
1190
1191 * window.el (quit-window): Undedicate window when switching to
1192 previous buffer. Reported by Thierry Volpiatto
1193 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1194 (special-display-popup-frame): When popping up a new frame reset
1195 its previous buffers to nil. Simplify code.
b4d72fcf 1196
a7b88dc6
MA
11972011-09-21 Michael Albinus <michael.albinus@gmx.de>
1198
1199 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1200 and process filter, as done also in `shell-command'.
1201
cf4eacfd
MR
12022011-09-21 Martin Rudalics <rudalics@gmx.at>
1203
eca3f3ea
PW
1204 * window.el (set-window-buffer-start-and-point):
1205 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1206 Volpiatto <thierry.volpiatto@gmail.com>.
1207 (quit-window): Reword doc-string. Handle new format of
1208 quit-restore parameter. Don't delete window if it has a
1209 previous buffer we can show instead of the present one.
1210 (display-buffer-record-window): Rewrite using a new format for
1211 the quit-restore window parameter
1212 (special-display-popup-frame, display-buffer-same-window)
1213 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1214 (display-buffer-pop-up-window, display-buffer-use-some-window):
1215 Adapt symbol passed to display-buffer-record-window.
1216 * help.el (help-window-setup): Handle new format of quit-restore
1217 parameter.
1218
8d28cb95
SM
12192011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1220
94ab793f
SM
1221 * faces.el (face-list): Fix docstring (bug#9564).
1222
8d28cb95
SM
1223 * window.el (display-buffer--action-function-custom-type):
1224 Don't include internal functions in the Custom interface.
1225
3820edeb
JL
12262011-09-20 Juri Linkov <juri@jurta.org>
1227
1228 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1229 (Info-forward-node, Info-backward-node, Info-next-preorder)
1230 (Info-last-preorder): Use it. (Bug#9528)
1231
5147931d
JL
12322011-09-20 Juri Linkov <juri@jurta.org>
1233
1234 * info.el (Info-last-preorder): Visit last menu item only when
1235 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1236
cf499a1a
JD
12372011-09-20 Julien Danjou <julien@danjou.info>
1238
1239 * password-cache.el (password-cache-remove): Remove entries even if the
1240 value is nil, so that password with a nil value (negative caching) is
1241 possible to invalidate.
1242
f84e2fe2
LM
12432011-09-20 Lawrence Mitchell <wence@gmx.li>
1244
1245 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1246 all whitespace around breakpoint. (Bug#9553)
1247 (f90-find-breakpoint): Only break at whitespace inside a comment.
1248
78054a46
SM
12492011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * minibuffer.el (completion-file-name-table): Keep track of errors.
1252 (completion-table-with-predicate): Handle the case where pred1 is nil.
1253 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1254
345083b2
SM
12552011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1256
e24e27be
SM
1257 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1258 (debugger-return-value): Signal an error if the debugging context does
1259 not await any return value.
1260
345083b2
SM
1261 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1262 * image-mode.el (image-toggle-display-text)
1263 (image-toggle-display-image): Stay away from evil `intangible'.
1264
08d355e3
LL
12652011-09-19 Leo Liu <sdl.web@gmail.com>
1266
1267 * replace.el (occur-revert-arguments): Make it permanent-local.
1268 (occur-mode): Don't call font-lock-defontify.
1269
f01da43f
CY
12702011-09-19 Chong Yidong <cyd@stupidchicken.com>
1271
1272 * net/ldap.el (ldap-search-internal): Don't push empty search
1273 result (Bug#9508).
1274
b6072fa6
SM
12752011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1276
1277 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1278
443d6696
MA
12792011-09-19 Michael Albinus <michael.albinus@gmx.de>
1280
1281 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1282 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1283
7cc6e154
JL
12842011-09-18 Juri Linkov <juri@jurta.org>
1285
1286 * buff-menu.el (Buffer-menu-mode-map):
1287 * dired.el (dired-mode-map):
1288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1289 (lisp-interaction-mode-map):
1290 * emacs-lisp/package.el (package-menu-mode-map):
1291 * epa.el (epa-key-list-mode-map):
1292 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1293 (menu-bar-options-menu):
1294 * outline.el (outline-mode-menu-bar-map):
1295 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1296 * vc/vc-dir.el (vc-dir-menu-map):
1297 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1298 Capitalize non-function content words in menu item strings.
1299
1300 * dired.el (dired-mode-map): Add menu item for
1301 `image-dired-dired-toggle-marked-thumbs'.
1302
80302a81
JL
13032011-09-18 Juri Linkov <juri@jurta.org>
1304
1305 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1306 to `isearch-case-fold-search' and restore its original value
1307 after the `isearch-mode' call.
1308
46c5cf66
JL
13092011-09-18 Juri Linkov <juri@jurta.org>
1310
1311 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1312 because `zgrep' returns 1 for successful matches (bug#9226).
1313
d18b513b
JL
13142011-09-18 Juri Linkov <juri@jurta.org>
1315
1316 * info.el (Info-extract-menu-node-name): Check the second match
1317 for empty string (second test-case of bug#9528).
1318 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1319 intermediate nodes to the history (first test-case of bug#9528).
1320
72753f87
JL
13212011-09-18 Juri Linkov <juri@jurta.org>
1322
1323 * info.el (Info-mode-syntax-table): New variable.
1324 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1325
c9384295
JL
13262011-09-18 Juri Linkov <juri@jurta.org>
1327
1328 * info.el (Info-file-supports-index-cookies): Increment
1329 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1330 one more line for long file names (bug#4142).
1331
d473dce8
CY
13322011-09-18 Chong Yidong <cyd@stupidchicken.com>
1333
1334 * newcomment.el (comment-normalize-vars): If prompting for
1335 comment-start, set comment-start-skip too (Bug#8424).
1336
2176854d
JB
13372011-09-18 Johan Bockgård <bojohan@gnu.org>
1338
1339 * icomplete.el: Fix previous fix of Bug#5849.
1340 (icomplete-mode): Don't set completion-show-inline-help.
1341 (icomplete-minibuffer-setup): Set completion-show-inline-help
1342 locally during icompletion.
1343
3aace4e4
CY
13442011-09-18 Chong Yidong <cyd@stupidchicken.com>
1345
c940224f
CY
1346 * woman.el (woman2-process-escapes): Don't delete unrecognized
1347 escapes (Bug#7843).
1348
3aace4e4
CY
1349 * files.el (inhibit-first-line-modes-regexps): Add image files.
1350 (hack-local-variables-prop-line): Return nil for malformed
1351 prop-lines (Bug#9044).
1352
710dec63
MA
13532011-09-18 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/tramp.el (top): Don't require 'shell.
1356 (tramp-methods): Fix docstring.
1357 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1358 Return complete remote file name. Handle "smb" case.
1359 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1360 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1361
1362 * net/tramp-compat.el (top): Require 'shell.
1363
1364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1365 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1366 `tramp-current-host'.
1367 (tramp-get-remote-tmpdir): Remove.
1368
1369 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1370 `tramp-tmpdir' entries.
1371 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1372 (tramp-smb-handle-file-attributes): Ignore errors.
1373 (tramp-smb-wait-for-output): Check also for process end.
1374
5d5ac8ec
LMI
13752011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1376
1377 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1378 when sending QUIT (bug#9312).
1379
8c0f49f0
CY
13802011-09-17 Chong Yidong <cyd@stupidchicken.com>
1381
1382 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1383 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1384 occur-mode-display-occurrence.
1385 (occur-edit-mode): Add usage message.
1386 (occur-cease-edit): New command.
1387 (occur-after-change-function): Use text properties to find the
1388 position of the prefix text.
1389 (occur-engine): Set stickiness of prefix text properties.
1390
8f1383f7
GM
13912011-09-17 Glenn Morris <rgm@gnu.org>
1392
1393 * progmodes/etags.el (complete-tag):
1394 Fix call to completion-in-region. (Bug#9526)
1395
744ba0e3
JL
13962011-09-17 Juri Linkov <juri@jurta.org>
1397
1398 * textmodes/ispell.el (ispell-word): Add to the error message
1399 the word, ispell program name and current dictionary (bug#9121).
1400 (ispell-tex-arg-end): Capitalize "error" in the error message.
1401
d9bbf400
AS
14022011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1403
1404 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1405 check. (Bug#4251)
1406
8da11505
JL
14072011-09-17 Juri Linkov <juri@jurta.org>
1408
1409 * window.el (window-safe-min-height, window-safe-min-width):
1410 Fix typos (followup to bug#9522).
1411
a91adc7e
SJ
14122011-09-17 Sven Joachim <svenjoac@gmx.de>
1413
1414 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1415
064f328a
EZ
14162011-09-16 Eli Zaretskii <eliz@gnu.org>
1417
1418 * simple.el (line-move): If goal-column is set, move by logical
1419 lines, not by display lines. (Bug#971)
1420 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1421 to reflect the above change.
1422
e69df516
SM
14232011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * image.el (imagemagick-register-types): Use regexp-opt.
1426
cbb0f9ab
CY
14272011-09-15 Chong Yidong <cyd@stupidchicken.com>
1428
1429 * window.el (display-buffer-base-action): Rename from
1430 display-buffer-default-action. Make default value empty.
1431 (display-buffer-overriding-action): Convert to defvar.
1432 (display-buffer-fallback-action): New var.
1433
25322144
CY
14342011-09-15 Chong Yidong <cyd@stupidchicken.com>
1435
1436 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1437 declaration.
1438 (package--add-to-archive-contents): If there is a duplicate entry
1439 with an older version, remove it.
1440 (package-menu-mark-delete, package-menu-mark-install)
1441 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1442 (package-menu-mark-obsolete-for-deletion):
1443 Use package-menu-get-status instead of a regexp search.
25322144
CY
1444 (package-menu-get-status): Use tabulated-list-entry.
1445 (package-menu-mark-upgrades): New command.
d770725a 1446 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1447 (package-menu-execute): Do installation before deletion.
1448 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1449 instead of checking major-mode.
1450 (package-menu--find-upgrades): New function.
1451
7520339c
LMI
14522011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1453
1454 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1455 passwords in the log buffer.
65a046c4
LMI
1456 (smtpmail-process-filter): Update the process marker so that the
1457 "broken by peer" status message is inserted in the right place.
7520339c 1458
d3c30954
SM
14592011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1460
3fe48822
SM
1461 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1462 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1463 bibtex-completion-at-point-function.
1464 (bibtex-completion-at-point-function): Use them.
1465
1b8b3954
SM
1466 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1467
d3c30954
SM
1468 * mpc.el (mpc-constraints-tag-lookup): New function.
1469 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1470 also to browser "album|playlist".
1471
72779976
JL
14722011-09-14 Juri Linkov <juri@jurta.org>
1473
1474 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1475 (isearch-edit-string): Use length of `isearch-string' when
1476 `isearch-fail-pos' returns nil.
1477 (isearch-message): Remove duplicate code and call
1478 `isearch-fail-pos' with arg `t'.
1479
a0bf2bcd
CY
14802011-09-14 Chong Yidong <cyd@stupidchicken.com>
1481
17bb0a2d
CY
1482 * replace.el (occur-mode-goto-occurrence): Don't force using other
1483 window (Bug#9499).
1484
a0bf2bcd
CY
1485 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1486
f678e0b6
MR
14872011-09-14 Martin Rudalics <rudalics@gmx.at>
1488
1489 * window.el (display-buffer-window): Remove.
1490 (display-buffer-record-window): Use help-setup window parameter
1491 instead of variable display-buffer-window.
1492 (display-buffer-function, special-display-buffer-names)
1493 (special-display-function): Mention help-setup parameter instead
1494 of display-buffer-window in doc-string.
d3c30954
SM
1495 * help.el (help-window-setup): New argument help-window.
1496 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1497 Reword some messages.
1498 (with-help-window): Pass window used for displaying the buffer
1499 to help-window-setup. Don't set display-buffer-window.
1500
8e39b2e8
GM
15012011-09-13 Glenn Morris <rgm@gnu.org>
1502
1503 * emacs-lisp/debug.el (debugger-make-xrefs):
1504 Preserve point. (Bug#9462)
1505
85e9c04b
CY
15062011-09-13 Chong Yidong <cyd@stupidchicken.com>
1507
1508 * window.el (window-deletable-p): Use next-frame.
1509
1b36ed6a
MR
15102011-09-13 Martin Rudalics <rudalics@gmx.at>
1511
1512 * window.el (window-auto-delete): Remove.
1513 (window-deletable-p): Remove argument FORCE. Don't deal with
1514 dedicatedness and previous buffers.
1515 (switch-to-prev-buffer): Don't delete window.
1516 (delete-windows-on): Delete a window's frame if and only if the
1517 window is dedicated.
1518 (replace-buffer-in-windows): Delete buffer's window or frame if
1519 and only if window is dedicated.
1520 (quit-window): Handle quit-restore as before last change.
4d61f28d 1521 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1522
ef8ef9fb
CY
15232011-09-13 Chong Yidong <cyd@stupidchicken.com>
1524
1525 * window.el (window-deletable-p): Never delete the last frame on a
1526 given terminal.
1527
b2cba41e
GM
15282011-09-13 Glenn Morris <rgm@gnu.org>
1529
1530 * help.el (describe-key-briefly): Copy previous standard-output change.
1531
51553db6 15322011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1533
1534 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1535
b7556719
GM
15362011-09-13 Glenn Morris <rgm@gnu.org>
1537
1538 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1539 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1540
64b51947
CY
15412011-09-12 Chong Yidong <cyd@stupidchicken.com>
1542
1543 * dired-aux.el (dired-mark-read-string): Don't return default
1544 value on empty input (Bug#9361).
1545 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1546 Omit initial minibuffer contents.
1547 (dired-do-chmod): Signal an error on empty input.
1548 (dired-mark-read-string): Don't return default on empty input.
1549
1550 * files.el (file-modes-symbolic-to-number): Doc fix.
1551
393a301e
SM
15522011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * international/mule-cmds.el (ucs-completions): Remove.
1555 (read-char-by-name): Use complete-with-action instead; add metadata.
1556
fa5660f9
CY
15572011-09-11 Chong Yidong <cyd@stupidchicken.com>
1558
1559 * window.el (display-buffer--action-function-custom-type)
1560 (display-buffer--action-custom-type): New vars.
1561 (display-buffer-alist, display-buffer-default-action)
1562 (display-buffer-overriding-action): Add defcustom types.
1563
4a592f66
CY
1564 * frame.el (delete-other-frames): Doc fix (Bug#276).
1565
73d56dbd
LMI
15662011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1567
1568 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1569
37ac18a3
CY
15702011-09-11 Chong Yidong <cyd@stupidchicken.com>
1571
1572 Change modes that used same-window-* vars to use switch-to-buffer.
1573
1574 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1575 Use switch-to-buffer.
1576
1577 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1578 (customize-browse, custom-buffer-create-other-window):
1579 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1580
1581 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1582 (Info-prev, Info-up, Info-speedbar-goto-node)
1583 (info-display-manual): Use switch-to-buffer.
1584 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1585
1586 * mail/sendmail.el (mail): Use switch-to-buffer.
1587 (mail-recover): Use switch-to-buffer-other-window.
1588
1589 * cmuscheme.el (run-scheme, switch-to-scheme):
1590 * ielm.el (ielm):
1591 * shell.el (shell):
1592 * net/rlogin.el (rlogin):
1593 * net/telnet.el (telnet, rsh):
1594 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1595
10195bd6
AS
15962011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1597
1598 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1599
b322f63a
LMI
16002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1601
39d7fed6
LMI
1602 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1603 so don't mention it (bug#9301).
ba5a81f1 1604 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1605
ee0e9f11
LMI
1606 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1607 match `x', `w32' and `ns', like the manual says (bug#9029).
1608
0b1c89c1 1609 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1610 (process-kill-buffer-query-function): Mention the buffer name in
1611 the query.
0b1c89c1 1612
77549ea8
LMI
1613 * image-mode.el (image-next-line): The line parameter is mandatory
1614 (bug#9258).
1615
803ef892
LMI
1616 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1617 which can be useful (bug#9301).
1618
12980837
LMI
1619 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1620
91054f8f
LMI
1621 * subr.el (match-string): Mention that the current buffer should
1622 be the same as the search was done in (bug#9282).
1623
b322f63a
LMI
1624 * facemenu.el: Disable the remove-* commands if the mark isn't
1625 active (bug#9162).
1626
3199b96f
CY
16272011-09-10 Chong Yidong <cyd@stupidchicken.com>
1628
1629 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1630 of display-buffer.
1631 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1632
1633 * replace.el (occur-mode-goto-occurrence)
1634 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1635 and display-buffer.
1636
1637 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1638 display-buffer.
1639
1640 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1641 special-display and same-window variables.
1642 (mail-other-window): Use switch-to-buffer-other-window.
1643 (mail-other-frame): USe switch-to-buffer-other-frame.
1644
393a301e
SM
1645 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1646 Use display-buffer-other-frame.
3199b96f
CY
1647 (gdb-display-gdb-buffer): Use pop-to-buffer.
1648
1649 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1650
1651 * progmodes/python.el: Don't set same-window-buffer-names.
1652
1653 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1654
1655 * window.el (display-buffer-alist): Add *Python*.
1656
8319e0bf
CY
16572011-09-10 Chong Yidong <cyd@stupidchicken.com>
1658
1659 * window.el (display-buffer-alist): Add entry for buffers
1660 previously handled same-window-*.
1661 (display-buffer-alist, display-buffer-default-action)
1662 (display-buffer-overriding-action): Mark as risky.
1663 (display-buffer-alist): Document action function changes.
1664 (display-buffer--same-window-action)
1665 (display-buffer--other-frame-action): New variables.
1666 (switch-to-buffer, display-buffer-other-frame): Use them.
1667 (display-buffer): Rename reuse-frame entry to reusable-frames.
1668 (display-buffer-reuse-selected-window): Function deleted.
1669 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1670 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1671 (display-buffer-special): New function.
1672 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1673 display-buffer-reuse-or-pop-window. Split off special-display
1674 part into display-buffer-special.
1675 (display-buffer-use-some-window): Don't perform any special
1676 pop-up-frames handling.
1677 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1678 (display-buffer--maybe-same-window): Rename from
0d3ff375 1679 display-buffer-maybe-same-window.
8319e0bf 1680
919a69aa
CY
1681 * info.el: Don't set same-window-regexps.
1682 (info-setup): New function.
1683 (info-other-window, info): Call it.
1684
1685 * cus-edit.el: Don't set same-window-regexps.
1686 (customize-group): New argument.
1687 (customize-group-other-window): Use it.
1688 (customize-face, customize-face-other-window): Likewise.
1689 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1690
8319e0bf
CY
1691 * net/rlogin.el:
1692 * net/telnet.el:
1693 * progmodes/gud.el: Don't set same-window-regexps.
1694
1695 * cmuscheme.el:
1696 * ielm.el:
1697 * shell.el:
1698 * mail/sendmail.el:
1699 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1700
25173000
JL
17012011-09-10 Juri Linkov <juri@jurta.org>
1702
1703 * isearch.el (isearch-edit-string): Remove obsolete mention of
1704 `C-w' (`isearch-yank-word-or-char') from docstring.
1705 (isearch-query-replace): Fix typo in docstring (bug#9466).
1706
056e44ef
JL
17072011-09-10 Juri Linkov <juri@jurta.org>
1708
1709 * paren.el (show-paren-function): Don't show escaped parens.
1710 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1711
c3760c17
EZ
17122011-09-10 Eli Zaretskii <eliz@gnu.org>
1713
1714 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1715 (mm-default-file-encoding): Remove autoload forms, they are
1716 replaced with autoload cookies in mml.el and mm-encode.el.
1717 (mail-add-attachment): New command.
1718 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1719 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1720 the doc string.
1721 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1722
fece895e
RT
17232011-09-10 Reuben Thomas <rrt@sc3d.org>
1724
e69df516
SM
1725 * simple.el (count-words-region): Use buffer if there's no region
1726 (bug#9429).
fece895e 1727
5e68ce4a
JL
17282011-09-09 Juri Linkov <juri@jurta.org>
1729
1730 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1731 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1732 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1733
0a6b9622
AM
17342011-09-09 Alan Mackenzie <acm@muc.de>
1735
1736 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1737 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1738
14a29deb
EZ
17392011-09-09 Eli Zaretskii <eliz@gnu.org>
1740
1741 Fix for Savannah bug#9392.
1742 * simple.el (mail-encode-mml): New defvar.
1743
1744 * mail/rmail.el (mail-encode-mml): Add a defvar.
1745 (rmail-enable-mime-composing): Default to t.
1746 (rmail-forward): Use MIME method of forwarding only if both
1747 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1748 Set mail-encode-mml non-nil if the MIME method was used.
1749
1750 * mail/sendmail.el (mml-to-mime): Add autoload form.
1751 (mail-encode-mml): Add a defvar.
1752 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1753 to nil.
1754 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1755 message through mml-to-mime, and reset mail-encode-mml to nil.
1756
28c45130
GM
17572011-09-09 Glenn Morris <rgm@gnu.org>
1758
1759 * woman.el (woman-if-body): When processing an .el block,
1760 do not delete the next .el block as well. (Bug#9447)
69f4b618 1761 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1762
9b1c252e
MR
17632011-09-08 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (window-deletable-p): Make sure window is live before
1766 invoking window-prev-buffers.
1767
567457e3
LL
17682011-09-08 Leo Liu <sdl.web@gmail.com>
1769
1770 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1771
97f05794
JL
17722011-09-08 Juri Linkov <juri@jurta.org>
1773
1774 * progmodes/compile.el (compilation-environment): Make it
1775 a defcustom (bug#8340).
1776
8b0874b5
MR
17772011-09-08 Martin Rudalics <rudalics@gmx.at>
1778
1779 * window.el (frame-auto-delete): Rename to window-auto-delete.
1780 Make it control auto-deletion of windows and/or frames.
1781 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1782 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1783 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1784 Rewrite handling of case when window/frame can be deleted.
1785 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1786 argument t. (Bug#9456)
8b0874b5 1787
4feb6e73
CY
17882011-09-07 Chong Yidong <cyd@stupidchicken.com>
1789
1790 * help-mode.el (help-mode): Restore autoload.
1791
91ab9c13
JL
17922011-09-07 Juri Linkov <juri@jurta.org>
1793
1794 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1795 `compilation-environment'. Set buffer-local
1796 `compilation-environment' to `thisenv' later after (funcall mode).
1797 (Bug#8340)
1798
1799 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1800 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1801 instead of replacing its value. (Bug#8340)
1802
0527e251
JL
18032011-09-07 Juri Linkov <juri@jurta.org>
1804
1805 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1806 based on text properties put by `grep-filter' instead of matching
1807 escape sequences.
1808 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1809 to the value of `grep-error-screen-columns' (bug#9438).
1810
249f792c
JL
18112011-09-07 Juri Linkov <juri@jurta.org>
1812
1813 * simple.el (next-error-highlight, next-error-highlight-no-select):
1814 Doc fix (bug#9432).
1815
ff7271b9
OT
18162011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1817
1818 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1819 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1820
183fc730
LL
18212011-09-07 Leo Liu <sdl.web@gmail.com>
1822
1823 * net/rcirc.el (rcirc-mode): Conditionally initialize
1824 rcirc-input-ring.
1825
77694924
SM
18262011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * emacs-lisp/find-func.el (find-function-C-source): Only set
1829 find-function-C-source-directory after checking that we found a source
1830 file there (bug#9440).
1831
d809b8eb
AM
18322011-09-06 Alan Mackenzie <acm@muc.de>
1833
1834 * isearch.el (isearch-other-meta-char): Wherever a key list is
1835 unread, "unread" the prefix arg, too. This fixes bug #8901.
1836
453de99f
OG
18372011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1838
1839 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1840
90439906
JL
18412011-09-05 Juri Linkov <juri@jurta.org>
1842
1843 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1844
f62bd846
JL
18452011-09-05 Juri Linkov <juri@jurta.org>
1846
1847 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1848 keeping point where processing of grep matches begins, and
1849 continue to delete remaining escape sequences from the same point.
1850 (grep-filter): Make leading zero optional in "0?1;31m" because
1851 git-grep emits "\033[1;31m" escape sequences unlike expected
1852 "\033[01;31m" as GNU Grep does (bug#9408).
1853 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1854
045820ec
JL
18552011-09-05 Juri Linkov <juri@jurta.org>
1856
1857 * subr.el (y-or-n-p): Capitalize "yes".
1858
f5e29b9b
MA
18592011-09-04 Michael Albinus <michael.albinus@gmx.de>
1860
1861 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1862 `tramp-cache-unload-hook' where appropriate.
1863 (tramp-methods): Rename `tramp-remote-sh' to
1864 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1865 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1866
1867 * net/tramp-sh.el (top): Don't require 'shell.
1868 (tramp-methods): Add `tramp-remote-shell' and
1869 `tramp-remote-shell-args' entries.
1870 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1871 (tramp-sh-handle-shell-command): Remove.
1872 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1873 Use `tramp-remote-shell'.
1874
2784c434
CY
18752011-09-03 Chong Yidong <cyd@stupidchicken.com>
1876
393a301e 1877 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1878 (sendmail-query-once): Save directly to send-mail-function.
1879 Update message-send-mail-function too.
1880
1881 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1882
464cdf56
CS
18832011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1884
1885 * progmodes/python.el (python-mode-map): Use correct function to
1886 start python interpreter from menu-bar (as reported by Geert
1887 Kloosterman).
1888 (inferior-python-mode-map): Fix typo.
393a301e 1889 (python-shell-map): Remove.
464cdf56 1890
d37e5c87
DD
18912011-09-03 Deniz Dogan <deniz@dogan.se>
1892
1893 * net/rcirc.el (rcirc-print): Simplify code for
1894 rcirc-scroll-show-maximum-output. There is no need to walk
1895 through all windows to find the right one.
1896
f3ada0ee
CS
18972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1898
1899 * help.el (help-return-method): Doc fix.
1900
1f3c99ca
MR
19012011-09-03 Martin Rudalics <rudalics@gmx.at>
1902
1903 * window.el (window-deletable-p): Don't return a non-nil value
1904 when there's a buffer that was shown in the window before.
1905 (Bug#9419)
393a301e
SM
1906 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1907 Set window's previous buffers to nil.
1f3c99ca 1908
a3cf097f
EZ
19092011-09-03 Eli Zaretskii <eliz@gnu.org>
1910
1911 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1912 newline before and after the tag line, so it doesn't interfere
1913 with determining the paragraph direction of bidirectional text.
1914
3d03de90
LL
19152011-09-03 Leo Liu <sdl.web@gmail.com>
1916
1917 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1918
c3313451
CY
19192011-09-02 Chong Yidong <cyd@stupidchicken.com>
1920
393a301e 1921 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1922 (pop-to-buffer): Change interactive spec. Pass second argument
1923 directly to display-buffer.
1924 (display-buffer): Fix interactive spec. Use functionp to
1925 distinguish between a function and a list of functions.
1926
1927 * abbrev.el (edit-abbrevs):
1928 * arc-mode.el (archive-extract):
1929 * autoinsert.el (auto-insert):
1930 * bookmark.el (bookmark-bmenu-list):
1931 * files.el (find-file):
1932 * view.el (view-buffer):
1933 * progmodes/compile.el (compilation-goto-locus):
1934 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1935
89894cd8
CY
19362011-09-02 Chong Yidong <cyd@stupidchicken.com>
1937
1938 * window.el (display-buffer-alist): Doc fix.
1939 (display-buffer): Add docstring. Don't treat
1940 display-buffer-default specially.
1941 (display-buffer-reuse-selected-window)
1942 (display-buffer-same-window, display-buffer-maybe-same-window)
1943 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1944 (display-buffer-pop-up-window)
1945 (display-buffer-reuse-or-pop-window)
1946 (display-buffer-use-some-window): New functions.
1947 (display-buffer-default-action): Use them.
393a301e 1948 (display-buffer-default): Delete.
89894cd8
CY
1949 (pop-to-buffer-1): Fix choice of actions.
1950
ae0bc9fb
SM
19512011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * minibuffer.el (completion--insert-strings): Don't get confused by
1954 completion entries that end with an LF char.
1955
e9d90883
EZ
19562011-09-01 Eli Zaretskii <eliz@gnu.org>
1957
1958 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1959
437014c8
CY
19602011-09-01 Chong Yidong <cyd@stupidchicken.com>
1961
1962 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1963 (display-buffer-same-window, display-buffer-other-window):
1964 New functions.
437014c8
CY
1965 (pop-to-buffer-1): New function. Use the above.
1966 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1967 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1968
1969 * view.el (view-buffer-other-window, view-buffer-other-frame):
1970 Just use pop-to-buffer.
1971
a5e063d5
TV
19722011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1973
1974 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1975
793d32bb
WH
19762011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1977
1978 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1979
d65e4c15
RS
19802011-08-31 Richard Stallman <rms@gnu.org>
1981
1982 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1983 of the separation of rmail-view-buffer from rmail-buffer.
1984 If you say no to "replace original", the decrypt is in the
1985 view buffer. If you say yes, the decrypt goes into the
1986 rmail buffer also.
1987
f818cd2a
MR
19882011-08-31 Martin Rudalics <rudalics@gmx.at>
1989
1990 * window.el (display-buffer-window): Rewrite doc-string.
1991 (display-buffer-record-window): New function.
1992 (display-buffer-macro-specifiers)
1993 (display-buffer-even-window-sizes, display-buffer-set-height)
1994 (display-buffer-set-width, display-buffer-in-window)
1995 (display-buffer-reuse-window, display-buffer-split-specifiers)
1996 (display-buffer-side-specifiers, display-buffer-split-window-1)
1997 (display-buffer-split-window, display-buffer-split-atom-window)
1998 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1999 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
2000 (display-buffer-other-window-means-other-frame)
2001 (display-buffer-normalize-special)
2002 (display-buffer-normalize-default)
2003 (display-buffer-normalize-argument)
2004 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
2005 (display-buffer-normalize-specifiers, display-buffer-frame)
2006 (display-buffer-same-window, display-buffer-same-frame)
2007 (display-buffer-other-window)
2008 (display-buffer-same-frame-other-window)
2009 (display-buffer-other-frame, pop-to-buffer-same-window)
2010 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
2011 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
2012 (switch-to-buffer-same-frame)
2013 (switch-to-buffer-other-window-same-frame)
2014 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
2015 (display-buffer-alist-set-1, display-buffer-alist-set-2)
2016 (display-buffer-alist-set): Remove.
2017 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2018 (special-display-regexps, special-display-function):
2019 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2020 parameter.
2021 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2022 (special-display-frame-alist, special-display-popup-frame)
2023 (same-window-buffer-names, same-window-regexps, same-window-p)
2024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2025 (split-window-preferred-function, split-height-threshold)
2026 (split-width-threshold, window-splittable-p)
2027 (split-window-sensibly, window--try-to-split-window)
2028 (window--frame-usable-p, even-window-heights)
2029 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2030 (window--display-buffer-2, display-buffer-other-frame):
2031 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2032 (display-buffer-default, display-buffer-assq-regexp): New functions.
2033 (display-buffer-alist): Rewrite doc-string.
2034 (display-buffer-default-action)
2035 (display-buffer-overriding-action): New variables.
2036 (display-buffer, switch-to-buffer): Rewrite.
2037 (pop-to-buffer): Restore Emacs 23 behavior but use
2038 window-normalize-buffer-to-display.
2039 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2040 Restore Emacs 23 behavior but use
2041 window-normalize-buffer-to-switch-to.
2042 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2043 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2044 Rewrite using Emacs 23 options.
f818cd2a 2045
5bc3b51d
MA
20462011-08-31 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/tramp.el (tramp-root-regexp): Remove.
2049 (tramp-completion-file-name-regexp-unified)
2050 (tramp-completion-file-name-regexp-separate)
2051 (tramp-completion-file-name-regexp-url): Don't use leading volume
2052 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2053 (tramp-drop-volume-letter): Simplify definition.
2054 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2055
b1a4f8e1
SM
20562011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2059 (bug#9356).
2060
5664fa7b
RT
20612011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2062
b1a4f8e1 2063 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2064
9a45d6c3
JL
20652011-08-29 Juri Linkov <juri@jurta.org>
2066
2067 * isearch.el (isearch-done): Don't display message "Mark saved"
2068 when arg `edit' is non-nil to prevent its flicker in the echo area.
2069
fb87e0fb
CY
20702011-08-28 Chong Yidong <cyd@stupidchicken.com>
2071
2072 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2073 obsolete packages for deletion.
2074
09ac1c2a
CS
20752011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2076
2077 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2078 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2079 view-mode from help-mode.
2080 (help-xref-override-view-map): Remove.
2081 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2082 view-mode is not used anymore.
2083
7a1ff57f
CY
20842011-08-28 Chong Yidong <cyd@stupidchicken.com>
2085
2086 * server.el (server-port): Doc fix.
2087
b9696605
CY
2088 * cus-theme.el (custom-theme-choose-mode): Inherit from
2089 special-mode (Bug#9124).
2090 (custom-theme-choose-mode-map): Add special-mode to parent.
2091
ef8cdf8c
AM
20922011-08-28 Alan Mackenzie <acm@muc.de>
2093
2094 * progmodes/cc-fonts.el
2095 (c-make-font-lock-BO-decl-search-function): New function.
2096 (c-basic-matchers-after - "Fontify the clauses after various
2097 keywords"): Extract the three keyword lists for the 3 erroneous
2098 constructs from the list of four, and use the new function above
2099 in place of an old one.
2100
27de4e20
DD
21012011-08-28 Deniz Dogan <deniz@dogan.se>
2102
2103 * net/rcirc.el (rcirc-insert-prev-input)
2104 (rcirc-insert-next-input): Remove unused argument.
2105
356a3681
SM
21062011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2109
3fc9b218
AM
21102011-08-27 Alan Mackenzie <acm@muc.de>
2111
2112 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2113 handle function pointer parameters properly.
2114
538a061c
MR
21152011-08-27 Martin Rudalics <rudalics@gmx.at>
2116
2117 * window.el (display-buffer-reuse-window): Fix case where
2118 selected window was reused with non-nil OTHER-WINDOW argument.
2119 (Bug#9381)
2120
35b1c40c
DD
21212011-08-27 Deniz Dogan <deniz@dogan.se>
2122
2123 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2124 oftc's NickServ messages.
2125
2f6a3e79
GM
21262011-08-27 Glenn Morris <rgm@gnu.org>
2127
2128 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2129
7254299e
CY
21302011-08-26 Chong Yidong <cyd@stupidchicken.com>
2131
2132 * emacs-lisp/package.el (package-install): Call package-initialize
2133 if called interactively.
2134
f8ccf167
LL
21352011-08-26 Leo Liu <sdl.web@gmail.com>
2136
2137 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2138
3e8cd5ce
JL
21392011-08-25 Juri Linkov <juri@jurta.org>
2140
2141 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2142 `search-whitespace-regexp' (bug#9364).
2143
93eb7113
JL
21442011-08-25 Juri Linkov <juri@jurta.org>
2145
2146 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2147 `regexp-search-ring' to their global values to protect from
2148 updating by `read-from-minibuffer' (bug#9185).
2149
f65d1611
JL
21502011-08-25 Juri Linkov <juri@jurta.org>
2151
2152 * textmodes/ispell.el (ispell-command-loop): Add newline
2153 at the end of the "Use option `i'..." line.
2154
f1cf7a31
JL
21552011-08-25 Juri Linkov <juri@jurta.org>
2156
2157 * battery.el (display-battery-mode): If `battery-status-function'
2158 or `battery-mode-line-format' is nil, display the message and set
2159 `display-battery-mode' to nil (bug#9363).
2160
0c95fcf7
EZ
21612011-08-25 Eli Zaretskii <eliz@gnu.org>
2162
2163 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2164 bidi-string-mark-left-to-right; they are unnecessary now.
2165
a2ebe600
DD
21662011-08-25 Deniz Dogan <deniz@dogan.se>
2167
2168 * net/quickurl.el: Documentation typo fixes.
2169
e4ed06f1
CY
21702011-08-25 Chong Yidong <cyd@stupidchicken.com>
2171
2172 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2173
e5f1c99e
GM
21742011-08-25 Glenn Morris <rgm@gnu.org>
2175
b2948976
GM
2176 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2177
e5f1c99e
GM
2178 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2179 (smtpmail-via-smtp): Handle nil response from smtp.
2180
f22f4808
JL
21812011-08-24 Juri Linkov <juri@jurta.org>
2182
2183 * proced.el (proced-marked): Inherit from `error' instead of
2184 `font-lock-warning-face'.
2185
2186 * ibuffer.el (ibuffer-marked-face): Change default face from
2187 `font-lock-warning-face' to `warning'.
2188 (ibuffer-deletion-face): Change default face from
2189 `font-lock-type-face' to `error'.
2190
2191 * battery.el (battery-update): Use the face `error' instead of
2192 `font-lock-warning-face' (bug#6117).
2193
6a93965e
JL
21942011-08-24 Juri Linkov <juri@jurta.org>
2195
2196 * faces.el (success): Change face color from "Green3" to
2197 "ForestGreen" on light background (bug#9353).
2198
1ed43b09
CY
21992011-08-24 Chong Yidong <cyd@stupidchicken.com>
2200
5664fa7b
RT
2201 * window.el (quit-window): Rename from quit-restore-window.
2202 Use same arglist as old quit-window.
1ed43b09
CY
2203 (frame-auto-delete): Doc fix.
2204
2205 * view.el (view-mode-exit): Use quit-window.
2206
11dcdbb2
JL
22072011-08-24 Juri Linkov <juri@jurta.org>
2208
2209 * isearch.el (isearch-ring-adjust1): Start visiting previous
2210 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2211 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2212 for empty search string (when the last search string is reused
2213 automatically) to adjust the isearch ring to the last element and
2214 prepare the correct index for further M-p commands (bug#9185).
2215
de62b4df
KH
22162011-08-24 Kenichi Handa <handa@m17n.org>
2217
2218 * international/ucs-normalize.el: If decomposition property of
2219 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2220 nil.
2221 (nfd, nfkd): Likewise.
2222
963b492b
SM
22232011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2226 from process filters aren't reliably transmitted to the surrounding
2227 accept-process-output.
2228 (mpc-proc-check): New function.
2229 (mpc-proc-sync): Use it (bug#8293)
2230
93b6b5e1
SM
22312011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2232
2233 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2234 Add compatibility functions (bug#9313).
2235
bca633fb
EZ
22362011-08-23 Eli Zaretskii <eliz@gnu.org>
2237
b177498a
EZ
2238 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2239
bca633fb
EZ
2240 * international/uni-bidi.el: Regenerated.
2241
0902a04e
KH
22422011-08-23 Kenichi Handa <handa@m17n.org>
2243
2244 * international/charprop.el:
2245 * international/uni-bidi.el:
2246 * international/uni-category.el:
2247 * international/uni-combining.el:
2248 * international/uni-comment.el:
2249 * international/uni-decimal.el:
2250 * international/uni-decomposition.el:
2251 * international/uni-digit.el:
2252 * international/uni-lowercase.el:
2253 * international/uni-mirrored.el:
2254 * international/uni-name.el:
2255 * international/uni-numeric.el:
2256 * international/uni-old-name.el:
2257 * international/uni-titlecase.el:
2258 * international/uni-uppercase.el: Regenerate.
2259
3bbf23bc
MR
22602011-08-23 Martin Rudalics <rudalics@gmx.at>
2261
2262 * help.el (help-window-setup): Fix message displayed when other
2263 window is reused. (Bug#9341)
2264
b3fd59bd
SM
22652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2266
1802e444
SM
2267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2268 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2269
b3fd59bd
SM
2270 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2271 Mark obsolete.
2272 * shell.el (shell-parse-pcomplete-arguments): New function.
2273 (shell-completion-vars): Use it instead (bug#9160).
2274
4eb61348
SM
22752011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2276
867cab74
SM
2277 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2278 strings and comments (bug#9333).
2279
4eb61348
SM
2280 * emacs-lisp/debug.el (debug-arglist): New function.
2281 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2282 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2283
262a1439
JL
22842011-08-22 Juri Linkov <juri@jurta.org>
2285
56ee679c
JL
2286 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2287 Revert regexp that highlights output switches to its old
2288 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2289
262a1439
JL
2290 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2291 to check for empty output (bug#9226).
2292
f13f86fb
CY
22932011-08-22 Chong Yidong <cyd@stupidchicken.com>
2294
2295 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2296 symbol-constituent as the default, as that stops font-lock from
2297 working properly (Bug#8843).
2298
c65c9622
LMI
22992011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2300
2301 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2302 `coding-system-for-*' around the process open call to avoid
2303 auth-source side effects.
e7f2c178 2304 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2305 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2306 probe hangs.
c65c9622 2307
23a8a5ab
CY
23082011-08-21 Chong Yidong <cyd@stupidchicken.com>
2309
ff98b2dd
CY
2310 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2311
23a8a5ab
CY
2312 * emacs-lisp/find-func.el (find-function-noselect): New arg
2313 lisp-only.
2314
2315 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2316 signal an error for built-in functions (Bug#6664).
2317
f5e3c598
LMI
23182011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2319
2320 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2321 (smtpmail-try-auth-methods): Use it.
2322
a3f2468a
CY
23232011-08-21 Chong Yidong <cyd@stupidchicken.com>
2324
2c34e8da
CY
2325 * font-lock.el (font-lock-fontify-region)
2326 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2327 (font-lock-default-unfontify-buffer)
2328 (font-lock-default-fontify-region)
2329 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2330
b3fd59bd
SM
2331 * progmodes/compile.el (compilation-error-properties):
2332 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2333 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2334 `ant' regexp.
ee31aabc 2335
a3f2468a
CY
2336 * net/browse-url.el (browse-url-firefox): Don't call
2337 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2338
8e999f70
GM
23392011-08-20 Glenn Morris <rgm@gnu.org>
2340
c21a496a
GM
2341 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2342
59ee0542
GM
2343 * tutorial.el (tutorial--default-keys): Update some default bindings.
2344
8e999f70
GM
2345 * files.el (hack-local-variables): Fully ignore case for "mode:".
2346
e3715033
AM
23472011-08-20 Alan Mackenzie <acm@muc.de>
2348
2349 Resolve invalid use of a regexp in regexp-opt.
2350
4d61f28d
JB
2351 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2352 detection for a java annotation.
e3715033 2353
4d61f28d 2354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2355 detection for a java annotation.
2356
4d61f28d
JB
2357 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2358 handling for java.
e3715033
AM
2359 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2360
04ed2e9c
CY
23612011-08-20 Chong Yidong <cyd@stupidchicken.com>
2362
2363 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2364 (Bug#9274).
2365
826cee64
AM
23662011-08-20 Alan Mackenzie <acm@muc.de>
2367
2368 * Fontify CPP expressions correctly when starting in the middle of
2369 such a construct. Mainly for when jit-lock etc. starts a chunk
2370 here.
2371
2372 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2373 variable.
2374 (c-make-font-lock-search-form): new function, extracted from
2375 c-make-font-lock-search-function.
2376 (c-make-font-lock-search-function): Use the above function.
2377 (c-make-font-lock-context-search-function): New function.
2378 (c-cpp-matchers): Enhance the preprocessor expression case with
2379 the above function
2380 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2381 which takes an expression.
2382
2383 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2384
13009bd8
MR
23852011-08-20 Martin Rudalics <rudalics@gmx.at>
2386
2387 * window.el (display-buffer-reuse-window)
2388 (display-buffer-pop-up-window): Don't reuse or split a side
2389 window.
2390
9234ff7f
GM
23912011-08-19 Glenn Morris <rgm@gnu.org>
2392
2393 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2394 Downcase "Mode:". (Bug#9331)
9234ff7f 2395
f635daa1
CY
23962011-08-18 Chong Yidong <cyd@stupidchicken.com>
2397
2398 * international/characters.el: Add L and R categories.
2399
2400 * subr.el (bidi-string-mark-left-to-right): Rename from
2401 string-mark-left-to-right. Use category search.
2402
2403 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2404
bc987f8b
JL
24052011-08-18 Juri Linkov <juri@jurta.org>
2406
2407 * faces.el (error, warning, success): New faces with definitions
2408 copied from old default values of `font-lock-warning-face',
2409 `compilation-warning', `compilation-info' (bug#6117).
2410
2411 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2412
2413 * progmodes/compile.el (compilation-error): Inherit from `error'.
2414 (compilation-warning): Inherit from `warning'.
2415 (compilation-info): Inherit from `success'.
2416
2417 * dired.el (dired-marked): Inherit from `warning'.
2418 (dired-flagged): Inherit from `error'.
2419
57173b96
LMI
24202011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2421
3e79eb87
LMI
2422 * mail/smtpmail.el (auth-source): Require to avoid problems with
2423 binding variables (bug#9298). Also clean up some unused
2424 autoloads.
2425
b3fd59bd
SM
2426 * net/network-stream.el (network-stream-open-starttls):
2427 Support using starttls.el without using gnutls-cli.
57173b96 2428
02b404de
JL
24292011-08-17 Juri Linkov <juri@jurta.org>
2430
2431 * progmodes/grep.el (rgrep): Handle the case when
2432 `grep-find-command' is a cons cell (bug#9278).
2433
8c9177f2
MR
24342011-08-17 Martin Rudalics <rudalics@gmx.at>
2435
2436 * window.el (display-buffer-pop-up-frame): Run frame creation
2437 function with BUFFER current (as special-display-popup-frame
2438 does). Reported by Drew Adams.
2439
3644a0ab
DU
24402011-08-17 Daiki Ueno <ueno@unixuser.org>
2441
2442 * epa-mail.el: Simplify GnuPG group expansion using
2443 epg-expand-group.
2444 (epa-mail-group-alist, epa-mail-group-modtime)
2445 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2446 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2447 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2448 Remove.
2449
5e617bc2 24502011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2451
2452 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2453
9c4aeabf
AM
24542011-08-16 Alan Mackenzie <acm@muc.de>
2455
2456 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2457 Correct, to avoid the inside of macros.
2458
3a99bf64
RS
24592011-08-16 Richard Stallman <rms@gnu.org>
2460
04963aa8
RS
2461 * epa-mail.el: Handle GnuPG group definitions.
2462 (epa-mail-group-alist, epa-mail-group-modtime)
2463 (epa-mail-gnupg-conf-file): New variables.
2464 (epa-mail-parse-groups, epa-mail-sync-groups)
2465 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2466 (epa-mail-expand-recipients): New functions.
2467 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2468
177549d0
RS
2469 * mail/rmail.el (rmail-epa-decrypt): New command.
2470
fe38beef
RS
2471 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2472 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2473 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2474 (epa-decrypt-armor-in-region): Make error message clearer.
2475
934eacb9
SM
24762011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2479 and "a2b" to "ab" for `prefix'.
2480
d024fb4e
CY
24812011-08-14 Chong Yidong <cyd@stupidchicken.com>
2482
2483 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2484 filter groups.
de148fee
CY
2485 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2486 Fourquet (Bug#8804).
d024fb4e 2487
62f1ca49
JB
24882011-08-12 Juanma Barranquero <lekktu@gmail.com>
2489
2490 * startup.el (argi): Declare as global variable (bug#9275).
2491
9ccaaa4b
CY
24922011-08-12 Chong Yidong <cyd@stupidchicken.com>
2493
2494 * subr.el (string-mark-left-to-right): Search the entire string
2495 for RTL script, not just the terminating character. Doc fix.
2496
a3dae87a
SM
24972011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2498
6cd18349
SM
2499 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2500 New function.
2501 (js--regexp-literal, js-syntax-propertize-function): Remove.
2502 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2503 (js-mode-map): Don't rebind electric keys.
2504 (js-insert-and-indent): Remove.
2505 (js-mode): Setup electric-layout and electric-indent instead.
2506
a3dae87a
SM
2507 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2508
9d5cb631
DU
25092011-08-12 Daiki Ueno <ueno@unixuser.org>
2510
2511 * epa.el (epa-progress-callback-function): Fix the logic of
2512 displaying progress.
2513 * epa-file.el (epa-file-insert-file-contents): Make progress
2514 display more user-friendly.
2515 (epa-file-write-region): Ditto.
2516
3e26a4a2
CY
25172011-08-10 Chong Yidong <cyd@stupidchicken.com>
2518
2519 * subr.el (string-mark-left-to-right): New function.
2520
2521 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2522 Use string-mark-left-to-right.
2523 (list-buffers-noselect): Caller changed.
2524
a3dae87a
SM
2525 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2526 Use string-mark-left-to-right.
3e26a4a2
CY
2527 (tabulated-list-print): Recenter after moving point.
2528
ac8cf6e6
JL
25292011-08-10 Juri Linkov <juri@jurta.org>
2530
2531 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2532 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2533 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2534
8d96c9a4
CY
25352011-08-09 Chong Yidong <cyd@stupidchicken.com>
2536
2537 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2538 (Bug#7554).
2539
7be1c708 25402011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2541
2542 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2543 character. (Bug#6594)
2544
37e11a63
CY
25452011-08-08 Chong Yidong <cyd@stupidchicken.com>
2546
839dde57
CY
2547 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2548 (image-dired--with-db-file): New macro.
2549 (image-dired-write-tags, image-dired-remove-tag)
2550 (image-dired-create-gallery-lists, image-dired-write-comments)
2551 (image-dired-get-comment, image-dired-mark-tagged-files)
2552 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2553 (image-dired-gallery-generate): Use insert-file-contents.
2554
37e11a63
CY
2555 * time.el (display-time-world-list, display-time-world-display):
2556 * time-stamp.el (time-stamp-string):
2557 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2558 set-time-zone-rule (Bug#7337).
2559
0b4946c4
DU
25602011-08-08 Daiki Ueno <ueno@unixuser.org>
2561
2562 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2563 (epg-error-to-string, epg-errors-to-string): New function.
2564 (epg-wait-for-completion): Reverse errors list.
2565 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2566 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2567 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2568 (epg-sign-keys, epg-generate-key-from-file)
2569 (epg-generate-key-from-string): Format errors by using
2570 epg-errors-to-string (bug#9255).
2571 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2572
75bfc667
JL
25732011-08-07 Juri Linkov <juri@jurta.org>
2574
2575 * faces.el (list-faces-display): Remove extra angle bracket
2576 from `help-mode-map'.
2577
2578 * info.el (Info-history-toc-nodes): Doc fix.
2579
2580 * longlines.el (longlines-mode): Doc fix.
2581
673e08bb
SM
25822011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2583
4640dd88
SM
2584 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2585 of statements and in a few more cases (bug#9183).
2586
673e08bb
SM
2587 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2588 New functions.
2589 (cl-transform-lambda): Use them (bug#9239).
2590
89b3f019
MR
25912011-08-05 Martin Rudalics <rudalics@gmx.at>
2592
2593 * window.el (display-buffer-same-window)
2594 (display-buffer-same-frame, display-buffer-other-window)
2595 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2596 (pop-to-buffer-other-window)
2597 (pop-to-buffer-same-frame-other-window)
2598 (pop-to-buffer-other-frame): Make them defuns.
2599 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2600
640c8776
SM
26012011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * subr.el (make-composed-keymap): Move from C. Change calling
2604 convention, and improve docstring to bring attention to a subtle point.
2605 * minibuffer.el (completing-read-default): Adjust accordingly.
2606
63648a95
MA
26072011-08-03 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2610 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2611
2612 * net/trampver.el: Update release number.
2613
b796c9b7
SM
26142011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2617 "in" (bug#9190).
2618
2239d7d5
LMI
26192011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2620
e07dd7c3
LMI
2621 * mail/sendmail.el (sendmail-query-once): Restore the current
2622 buffer after querying (bug#9074).
2623
0e6a2bd7
LMI
2624 * dired.el (dired-flagged): Use different faces for marked and
2625 flagged files (bug#6117).
2626
ce887515
LMI
2627 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2628 (bug#4433).
2629
92f2affc
LMI
2630 * ido.el (ido-mode): Switch off the message if called
2631 non-interactively.
2632
57d5aff0
LMI
2633 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2634 before 587, since it appears that that's more likely to work for
2635 more people.
2636
98cd6c18
LMI
2637 * cus-edit.el (custom-file): When running under emacs -q, always
2638 refuse to save the customisations, even if the .emacs file doesn't
2639 exist.
2640
b96dec83
LMI
2641 * info.el: Remove the `Info-beginning-of-buffer' function
2642 (bug#8325).
2643
b796c9b7
SM
2644 * net/network-stream.el (network-stream-open-starttls):
2645 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2646
d90e2ea0
MR
26472011-08-01 Martin Rudalics <rudalics@gmx.at>
2648
2649 * window.el (display-buffer-in-window): Don't set dedicated status
2650 of window here (Bug#9215).
2651 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2652 (display-buffer-pop-up-side-window)
b796c9b7 2653 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2654
cca09170
SM
26552011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2658 before binding generated-autoload-file.
2659
027b979c
DD
26602011-08-01 Deniz Dogan <deniz@dogan.se>
2661
2662 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2663
3c7ee4f3
MA
26642011-07-30 Michael Albinus <michael.albinus@gmx.de>
2665
2666 Sync with Tramp 2.2.2.
2667
2668 * net/trampver.el: Update release number.
2669
2cc8e51a
JL
26702011-07-30 Juri Linkov <juri@jurta.org>
2671
2672 * dired-aux.el (dired-touch-initial): Remove function.
2673 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2674 current time, and `default' to the last modification time of the
2675 current marked file (bug#6887).
2676
a514d856
JM
26772011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2678
2679 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2680 numeric argument to read-number (bug#9163).
a514d856 2681
8a7eddd7
MA
26822011-07-27 Michael Albinus <michael.albinus@gmx.de>
2683
2684 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2685 connection process, it could be nil.
2686
1ddd96f5
LL
26872011-07-27 Leo Liu <sdl.web@gmail.com>
2688
2689 Simplify url handling in rcirc-mode.
2690
2691 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2692 (rcirc-browse-url-at-mouse): Remove.
2693 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2694
b248a85d
AM
26952011-07-26 Alan Mackenzie <acm@muc.de>
2696
2697 Fontify bitfield declarations properly.
2698
2699 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2700 (c-symbol-chars): Now exported as a lang variable.
2701 (c-not-primitive-type-keywords): New lang variable.
2702
2703 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2704 QT keyword "more" to prevent "more slots: ...." being spuriously
2705 parsed as a bitfield declaraion.
2706
b796c9b7
SM
2707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2708 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2709 (c-punctuation-in): New function.
2710 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2711 declarations properly.
2712
68575ab0
UJ
27132011-07-26 Ulf Jasper <ulf.jasper@web.de>
2714
2715 * calendar/icalendar.el (icalendar--all-events): Take care of
2716 multiple vcalendars in a single file.
b796c9b7 2717 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2718
0f0a88b9
DD
27192011-07-25 Deniz Dogan <deniz@dogan.se>
2720
2721 * image.el (insert-image): Clarifying docstring.
2722
0b3f36df
MA
27232011-07-24 Michael Albinus <michael.albinus@gmx.de>
2724
2725 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2726 `tramp-send-command-and-check' if there is no error.
2727 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2728
a9901f61
AM
27292011-07-22 Alan Mackenzie <acm@muc.de>
2730
2731 Prevent cc-langs.elc being loaded at run time.
2732
2733 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2734 cc-langs.
2735
4d61f28d 2736 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2737 "(require 'cc-langs)". Quote a form so it will evaluate at
2738 (cc-mode's) compilation time.
2739
11d074b2
MA
27402011-07-22 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2743 loading. (Bug#9114)
2744
938b94c8
MR
27452011-07-21 Martin Rudalics <rudalics@gmx.at>
2746
2747 * window.el (display-buffer-pop-up-window)
2748 (display-buffer-pop-up-side-window)
2749 (display-buffer-in-side-window): Call display-buffer-set-height
2750 and display-buffer-set-width after setting the new window's
b796c9b7 2751 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2752
bfa4f190
SS
27532011-07-20 Sam Steingold <sds@gnu.org>
2754
2755 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2756 (etags-tags-included-tables): Call `convert-standard-filename' on
2757 the file names contained in TAGS so that windows Emacs can handle
2758 TAGS files created by cygwin ctags.
2759
8ca42262
LMI
27602011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2761
2762 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2763 which apparently didn't work.
2764
5db2afd2 27652011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2766
5db2afd2
RW
2767 * proced.el (proced-send-signal): For *Marked Processes* buffer
2768 put point at beginning of buffer.
2769
92e15d10
SB
27702011-07-19 Stephen Berman <stephen.berman@gmx.net>
2771
2772 * proced.el (proced-format): Make header lines align with the text
2773 (bug#1779).
2774
1bfd59e5
LMI
27752011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2776
2777 * view.el (view-buffer): Allow running in `special' modes if we're
2778 visiting a file (bug#8615).
2779
f5aae37c
MR
27802011-07-19 Martin Rudalics <rudalics@gmx.at>
2781
2782 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2783 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2784 New functions.
f5aae37c
MR
2785 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2786 more accurately.
2787
bf2c1571
AM
27882011-07-18 Alan Mackenzie <acm@muc.de>
2789
2790 Fontify declarators properly when, e.g., a jit-lock chunk begins
2791 inside a declaration.
2792
2793 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2794
b796c9b7
SM
2795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2796 New function.
bf2c1571
AM
2797 (c-complex-decl-matchers): Insert reference to
2798 c-font-lock-enclosing-decls.
2799
2800 * progmodes/cc-engine.el (c-backward-single-comment):
2801 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2802 to nil around calls to (forward-comment -1).
2803
4e190b80
LMI
28042011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2805
12dc863d
LMI
2806 * image.el (put-image): Doc typo fix.
2807
a762e966
LMI
2808 * progmodes/etags.el (tags-search): Doc typo fix.
2809
4e190b80
LMI
2810 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2811 password if we get errors 550 to 554.
2812
f019fb21
LMI
28132011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2814
b796c9b7 2815 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2816
81746738
LMI
2817 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2818 indentation character (bug#6380).
2819
3ee3a1b5
LMI
2820 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2821
c82f64de
LMI
2822 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2823 to clarify what the problem is (bug#4291).
2824
f019fb21
LMI
2825 * simple.el (current-kill): Clarify what
2826 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2827 (auto-fill-mode): Document `auto-fill-function' in relation to
2828 `auto-fill-mode' (bug#2470).
f019fb21 2829
0794775d
LM
28302011-07-16 Lawrence Mitchell <wence@gmx.li>
2831
2832 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2833 method if slot is read-only (bug#9035).
2834
be39b8cc
MR
28352011-07-16 Martin Rudalics <rudalics@gmx.at>
2836
b796c9b7 2837 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2838 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2839 selected before, see discussion of (Bug#8615), (Bug#6954).
2840 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2841
6ccf7859
GM
28422011-07-15 Glenn Morris <rgm@gnu.org>
2843
2844 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2845 Respect help-form.
6ccf7859 2846
87e86684
LM
28472011-07-09 Lawrence Mitchell <wence@gmx.li>
2848
2849 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2850 (gnutls-negotiate): Use it.
2851
d6066239
LMI
28522011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2853
b796c9b7
SM
2854 * net/gnutls.el (gnutls-negotiate):
2855 Upcase `gnutls-algorithm-priority'.
d6066239 2856
bd23ebc0
GM
28572011-07-15 Glenn Morris <rgm@gnu.org>
2858
c65bca65
GM
2859 * jka-compr.el (jka-compr-verbose): Move from here...
2860 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2861 Add missing :version tag.
2862 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2863
478615cc
LMI
28642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2865
7b41decb
LMI
2866 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2867 (gnutls-negotiate): Use it.
2868
dbc44fcd
LMI
2869 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2870
06789f97
LMI
2871 * info.el (Info-beginning-of-buffer): New command.
2872 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2873 announcing `b' as the key (bug#8325).
ab896c37 2874 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2875
c39da690
LMI
2876 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2877
3aa5f34b
LMI
2878 * international/mule-cmds.el
2879 (describe-specified-language-support): Make the error message
2880 clearer (bug#8905).
2881
4bf0979f
LMI
2882 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2883
478615cc
LMI
2884 * isearch.el (isearch-barrier): Add a doc string, since it's
2885 mentioned in a function doc string (bug#8678).
2886
75c68aa1
MR
28872011-07-15 Martin Rudalics <rudalics@gmx.at>
2888
2889 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2890 buffer argument (Bug#9083) and self-identifying label argument.
2891
a7c33da2
GM
28922011-07-15 Glenn Morris <rgm@gnu.org>
2893
2894 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2895
2f5c6024
LMI
28962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2897
2898 * man.el (Man-fontify-manpage): Fix message when formatting the
2899 man page (bug#7929).
2900
0bb23927 29012011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2902
2903 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2904 argument LRM; if non-nil, append an invisible LRM character to the
2905 buffer name.
2906 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2907 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2908 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2909 paragraph direction.
cce4b0a7 2910
621ef9ab
LMI
29112011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2912
d1583c48
LMI
2913 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2914 the man page name (bug#7929).
2915
6a57fb5f
LMI
2916 * image.el (put-image): Mention the `put-image' overlay property
2917 (bug#7834).
2918
d7956b14
LMI
2919 * scroll-bar.el (set-scroll-bar-mode): Mention that
2920 `scroll-bar-mode' lists the values (bug#7772).
2921
5b2d4a66
LMI
2922 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2923 command (bug#7729).
2924
7509a874
LMI
2925 * rect.el (apply-on-rectangle): Return the point after the last
2926 operation.
2927 (string-rectangle): Go to the point after the last operation
2928 (bug#7522).
2929
4fe74b19
LMI
2930 * printing.el (pr-toggle-region): Clarify the documentation
2931 slightly (bug#7493).
2932
b796c9b7
SM
2933 * time.el (display-time-update):
2934 Allow `display-time-mail-function' to return nil (bug#7158).
2935 Fix suggested by Detlev Zundel.
ab283561 2936
fc233c9d
LMI
2937 * vc/diff.el (diff): Clarify the order the file names are read
2938 (bug#7111).
2939
43f5740b
LMI
2940 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2941 the doc string (bug#7015).
2942
f2182a76
LMI
2943 * font-lock.el (font-lock-maximum-decoration): Mention what
2944 numeric levels mean (bug#6935).
2945
621ef9ab
LMI
2946 * startup.el (initial-buffer-choice): Don't mention the `none'
2947 selection, which is against policy.
2948
adc47434
MR
29492011-07-14 Martin Rudalics <rudalics@gmx.at>
2950
b796c9b7
SM
2951 * window.el (display-buffer-normalize-special):
2952 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2953
7e5bfb8f
EZ
29542011-07-14 Eli Zaretskii <eliz@gnu.org>
2955
2956 * subr.el (version<, version<=, version=): Mention "-CVS" and
2957 "-12345" alpha version numbers.
2958
27fa387a
CY
29592011-07-14 Chong Yidong <cyd@stupidchicken.com>
2960
2961 * bindings.el: Add advertised binding for set-mark-command
2962 (Bug#5772).
2963
8bdfa064
CY
29642011-07-14 Chong Yidong <cyd@stupidchicken.com>
2965
2966 * bindings.el (mode-line-other-buffer):
2967 * bookmark.el (bookmark-bmenu-2-window):
2968 * bs.el (bs-cycle-next, bs-cycle-previous):
2969 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2970 switch-to-buffer.
2971
2972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2973 Delete.
8bdfa064 2974
5eba16a3
JB
29752011-07-14 Juanma Barranquero <lekktu@gmail.com>
2976
2977 * follow.el (follow-debug-message, follow-redisplay):
2978 * jka-cmpr-hook.el (with-auto-compression-mode):
2979 Fix typos in docstrings.
2980
15853710
LMI
29812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2982
a28e4607
LMI
2983 * subr.el (with-silent-modifications): Clarify somewhat what the
2984 macro inhibits (bug#6525).
2985
15853710
LMI
2986 * simple.el (eval-expression): Note what it does if called
2987 interactively (bug#6495).
2988
bee0fcef
CY
29892011-07-13 Chong Yidong <cyd@stupidchicken.com>
2990
b796c9b7
SM
2991 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2992 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2993
2994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2995 Remove switch-to-buffer.
2996
58274504
LMI
29972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2998
bd2fcc8d
LMI
2999 * files.el (make-directory): Clarify that an error will be raised
3000 if there's an error (bug#6397).
3001
0f04b32c
LMI
3002 * startup.el (initial-buffer-choice): Add `none' as a choice
3003 (bug#6234).
3004
465c5fc8
LMI
3005 * subr.el (add-hook): Clarify section about buffer-local hooks
3006 (bug#6218).
3007
58274504
LMI
3008 * dired.el (dired-flagged): Clarify doc string (bug#6117).
3009
bead9a43
JB
30102011-07-13 Juanma Barranquero <lekktu@gmail.com>
3011
3012 * tabify.el (untabify): Preserve the current column so that point
3013 doesn't move (bug#6032).
3014
3af98a7b
LMI
30152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3016
b796c9b7
SM
3017 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3018 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3019
6240145a
GM
30202011-07-13 Glenn Morris <rgm@gnu.org>
3021
3022 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3023 (dired-insert-directory): Give a message the first time
3024 if ls is found not to support --dired.
3025
1d8c2ccc
LMI
30262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3027
3028 * simple.el (toggle-truncate-lines): Clarify what is toggled
3029 (bug#5580). Text by Drew Adams.
3030
5fc4038e
CY
30312011-07-13 Chong Yidong <cyd@stupidchicken.com>
3032
3033 * simple.el (blink-matching-open): Make the error message from the
3034 last change less verbose.
3035
bf6012e5
DN
30362011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3037
3038 * font-lock.el (font-lock-comment-face): Use the high contrast
3039 "yellow" color for font-lock-comment-face on low color terminals
3040 using a dark background color (bug#4221).
3041
343c3b5a
LMI
30422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3043
7e9505c5
LMI
3044 * dired.el (dired-insert-set-properties): Make the doc string
3045 reflect what it does now (bug#5325).
3046
c26fdcf5
LMI
3047 * simple.el (blink-matching-open): Say that we were unable to find
3048 the match within the limit, if we're limited (bug#5122).
3049
bb388cc5
LMI
3050 * international/mule-cmds.el (prefer-coding-system): Add an
3051 example (bug#4869).
3052
343c3b5a
LMI
3053 * progmodes/etags.el (tags-search): Document `file-list-form'
3054 (bug#4731).
3055
2a517d45
LM
30562011-07-13 Lawrence Mitchell <wence@gmx.li>
3057
3058 * net/browse-url.el (browse-url-default-browser)
3059 (browse-url-browser-function): Make the default browser choice a
3060 bit more logical (bug#4300). Also clean up the doc string.
3061
b6c78ef2
JB
30622011-07-13 Juanma Barranquero <lekktu@gmail.com>
3063
3064 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3065 binary endings (bug#4440).
3066
1c4dd947
LMI
30672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3068
a2014063
LMI
3069 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3070 which can be pretty annoying (bug#8971).
3071
9c9c2d88
LMI
3072 * jka-compr.el (jka-compr-verbose): New variable, and use
3073 throughout (bug#8971).
3074
1c4dd947
LMI
3075 * info.el (Info-find-file): Fall back on the installation
3076 directory if we can't find the info node anywhere else.
3077
a1c9f41b
SO
30782011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3079
3080 * vc/vc.el (vc-revert-file):
3081 Don't set file time-stamp in the past. (Bug#5181)
3082
536f3d36
LMI
30832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3084
7152b011
LMI
3085 * files.el (after-find-file): Give a better error message when
3086 trying to find a symlink that points to a file that doesn't exist
3087 (bug#4398).
3088
536f3d36
LMI
3089 * progmodes/cc-vars.el: Remove (probably) misleading comment
3090 (bug#4396).
3091
460c0fba
JB
30922011-07-12 Johan Bockgård <bojohan@gnu.org>
3093
3094 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3095
7a6bda45
CY
30962011-07-12 Chong Yidong <cyd@stupidchicken.com>
3097
3098 * mouse-sel.el: Hack restoring functionality, while keeping
3099 compatibility with 2010-07-03 changes to mouse selection.
3100 (mouse-sel-primary-overlay): New var.
3101 (mouse-sel-selection-alist): Use it.
3102 (mouse-sel-mode): Doc fix; remove points that are default features
3103 of mouse.el.
3104
c79598ef
JB
31052011-07-12 Johan Bockgård <bojohan@gnu.org>
3106
3107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3108 Fix previous fix (bug#2490).
3109
ff8be6ef
RW
31102011-07-12 Roland Winkler <winkler@gnu.org>
3111
b796c9b7
SM
3112 * textmodes/bibtex.el (bibtex-initialize):
3113 Use pop-to-buffer-same-window.
ff8be6ef
RW
3114 (bibtex-search-entries): Fix interactive call.
3115
296ba3ee
LMI
31162011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3117
f5242a02 3118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3119 Fontise bytecomp Error lines more correctly (bug#2490).
3120 Fix suggested by Johan Bockgård.
f5242a02 3121
296ba3ee
LMI
3122 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3123
3124 * dired-x.el (dired-guess-default): Use `delete-dups'.
3125
f69fd0d2
CY
31262011-07-12 Chong Yidong <cyd@stupidchicken.com>
3127
3128 * dired.el (dired-mark-prompt):
3129 * dired-aux.el (dired-read-shell-command): Doc fix.
3130
eab5dc07
LMI
31312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3132
b796c9b7
SM
3133 * mail/sendmail.el (sendmail-query-once):
3134 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3135 emacs -Q.
3136
3137 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3138
eab5dc07
LMI
3139 * cus-edit.el (custom-file): Take an optional no-error variable.
3140 (customize-save-variable): Set the variable, and give a warning if
3141 running under "emacs -q".
3142
a1e65d42
JB
31432011-07-11 Juanma Barranquero <lekktu@gmail.com>
3144
3145 * loadhist.el (unload-feature-special-hooks):
3146 Add `auto-coding-functions', `fill-nobreak-predicate' and
3147 `find-directory-functions' (bug#5327).
3148
1d52da10
LMI
31492011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3150
be958f1d
LMI
3151 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3152
5bedb26c
LMI
3153 * cus-edit.el (custom-guess-name-alist): -alist variables should
3154 use the `alist' type (bug#3120). Suggested by Drew Adams.
3155
1d52da10
LMI
3156 * printing.el: Add documentation to all the `pr-toggle-' commands.
3157
481a51b6
LL
31582011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3159
3160 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3161 backends where it makes sense (bug#2623).
3162
dcc88d8a
LMI
31632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3164
c3de9feb
LMI
3165 * dired-x.el (dired-guess-default): Remove duplicate shell command
3166 entries (bug#2028).
8a93078b 3167 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3168 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3169
dcc88d8a
LMI
3170 * subr.el (remove-duplicates): New conveniency function.
3171
505e3645
LMI
31722011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3173
3174 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3175 (bug#1526).
3176
31772011-07-10 Martin Rudalics <rudalics@gmx.at>
3178
3179 * window.el (display-buffer-normalize-default): Don't invert
3180 meaning of even-window-heights. Reported by Eli Zaretskii
3181 <eliz@gnu.org>.
3182
455e4fa1
BR
31832011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3184
3185 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3186
8e0bc3e9
CY
31872011-07-10 Chong Yidong <cyd@stupidchicken.com>
3188
3189 * window.el (display-buffer): Fix arguments to
3190 display-buffer-reuse-window in last change.
3191
fa7c3228
CY
3192 * faces.el (link): Use a less saturated blue on light backgrounds.
3193
3194 * startup.el (fancy-startup-text, fancy-about-text)
3195 (fancy-startup-tail): Use font-lock faces, for background safety.
3196
c0a7f300
BN
31972011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3198
b796c9b7
SM
3199 * emulation/viper-cmd.el (viper-change-state-to-vi):
3200 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3201
4dc2a129
MR
32022011-07-09 Martin Rudalics <rudalics@gmx.at>
3203
3204 * window.el (display-buffer-default-specifiers): Remove.
3205 (display-buffer-macro-specifiers): Remove default specifiers.
3206 (display-buffer-alist): Default to nil.
b796c9b7 3207 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3208 (display-buffer-pop-up-window): Allow splitting internal
3209 windows. Check whether a live window was created.
3210 (display-buffer-other-window-means-other-frame)
3211 (display-buffer-normalize-arguments): Rename to
3212 display-buffer-normalize-argument and rewrite. Set the
3213 other-window specifier.
3214 (display-buffer-normalize-special): New function.
3215 (display-buffer-normalize-options): Rename to
3216 display-buffer-normalize-default and rewrite.
3217 (display-buffer-normalize-options-inhibit): Remove.
3218 (display-buffer-normalize-specifiers): Rewrite.
3219 (display-buffer): Process other-window specifier and call
3220 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3221 more faithfully.
b796c9b7 3222 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3223 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3224 (display-buffer-in-window, display-buffer-alist-set):
3225 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3226 <tassilo@member.fsf.org>.
3227
2d43b8c9
LL
32282011-07-09 Leo Liu <sdl.web@gmail.com>
3229
3230 * register.el (insert-register): Restore accidental change on
3231 2011-06-26. (Bug#9028)
3232
7f9b7c53
GM
32332011-07-09 Glenn Morris <rgm@gnu.org>
3234
3235 * subr.el (remq): Handle the empty list. (Bug#9024)
3236
f042cfd8
AS
32372011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3238
3239 * mail/sendmail.el (send-mail-function): No longer delay custom
3240 initialization.
3241 * custom.el (custom-initialize-delay): Doc fix.
3242
856b2f11
SM
32432011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3246
afae1d68
MA
32472011-07-08 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3250 human-friendly prompt.
3251
0757af94
SM
32522011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3253
3254 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3255 provided by a particular plugin.
3256
d760b731
LMI
32572011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3258
3259 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3260 save customizations (with "emacs -Q"), just set the variable
3261 instead of erroring out.
3262
3263 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3264
cd79ce90
JL
32652011-07-08 Juri Linkov <juri@jurta.org>
3266
3267 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3268 (archive-zip-update-case): Use 7z if found by `executable-find'.
3269 The order of searching the available programs is the same as in
3270 `archive-zip-extract' (bug#8968).
3271
14cc04aa
CY
32722011-07-07 Chong Yidong <cyd@stupidchicken.com>
3273
3274 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3275 (menu-bar-options-menu): Tweak descriptions.
3276
0a1848ec
LMI
32772011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3278
3279 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3280 menu items into verb phrases (bug#1421). Also refill to fit under
3281 80 columns.
3282
f5bd0689
CY
32832011-07-07 Chong Yidong <cyd@stupidchicken.com>
3284
538e85c6
CY
3285 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3286 (Info-read-node-name): Doc fix (Bug#1084).
3287
f5bd0689
CY
3288 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3289 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3290 (end-of-sexp, beginning-of-sexp)
3291 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3292 (forward-symbol, forward-same-syntax, word-at-point)
3293 (sentence-at-point): Doc fix (Bug#1144).
3294
56ec5115
LMI
32952011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3296
f3f8e37f
LMI
3297 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3298 should cover it (bug#1281).
3299
0757af94 3300 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3301
12b9eb35
LMI
3302 * net/network-stream.el (network-stream-open-starttls): If gnutls
3303 negotiation fails, then possibly try again with a non-encrypted
3304 connection (bug#9017).
3305
56ec5115
LMI
3306 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3307 be used.
3308
c2f9aec8
RS
33092011-07-07 Richard Stallman <rms@gnu.org>
3310
3311 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3312 property, and handle its changed format.
3313 Look for the correct line number.
3314 Use file's line contents (but not past first =) to find
3315 correct line in message.
3316
ef7b981d 33172011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3318
3319 * international/characters.el (build-unicode-category-table):
3320 Delete it.
0757af94 3321 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3322
0757af94 3323 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3324 to src/chartab.c.
3325 (get-char-code-property): Call unicode-property-table-internal to
3326 load a file. Call get-unicode-property-internal where necessary.
3327 (put-char-code-property): Call unicode-property-table-internal to
3328 load a file. Call put-unicode-property-internal where necessary.
3329 put-unicode-property-internal where necessary.
0757af94
SM
3330 (char-code-property-description):
3331 Call unicode-property-table-internal to load a file.
c805dec0
KH
3332
3333 * international/charprop.el:
3334 * international/uni-bidi.el:
3335 * international/uni-category.el:
3336 * international/uni-combining.el:
3337 * international/uni-comment.el:
3338 * international/uni-decimal.el:
3339 * international/uni-decomposition.el:
3340 * international/uni-digit.el:
3341 * international/uni-lowercase.el:
3342 * international/uni-mirrored.el:
3343 * international/uni-name.el:
3344 * international/uni-numeric.el:
3345 * international/uni-old-name.el:
3346 * international/uni-titlecase.el:
3347 * international/uni-uppercase.el: Regenerate.
3348
3349 * loadup.el: Load international/charprop.el before
3350 international/characters.
3351
e14b388a
CY
33522011-07-07 Chong Yidong <cyd@stupidchicken.com>
3353
3354 * window.el (next-buffer, previous-buffer): Signal an error if
3355 called from a minibuffer window.
3356
3357 * bindings.el: Revert 2011-07-04 change.
3358
354cf0ba
RS
33592011-07-06 Richard Stallman <rms@gnu.org>
3360
3361 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3362 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3363 Treat markers like ints.
3364 (rmail-mime-entity): Doc fix.
3365
a48868a7
LMI
33662011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3367
4906cd3d
LMI
3368 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3369 defcustom again for backwards compatibility.
3370
e0457abe
LMI
3371 * simple.el (shell-command-on-region): Fill.
3372
d67f7e1f
LMI
3373 * dired-aux.el (dired-kill-line): Add a doc string.
3374
fe204702
LMI
3375 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3376 to "\\sw\\|\\s_" (bug#358).
3377
a48868a7
LMI
3378 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3379 (dired-unmark-backward): Ditto.
3380 (dired-flag-backup-files): Ditto.
3381
3382 * dired-x.el (dired-mark-sexp): Ditto.
3383
aa8a705c
RS
33842011-07-06 Richard Stallman <rms@gnu.org>
3385
3386 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3387 (rmail-mime-entity): New arg TRUNCATED.
3388 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3389 New functions.
3390 (rmail-mime-save): Warn if entity is truncated.
3391 (rmail-mime-toggle-hidden): Likewise, for showing.
3392 (rmail-mime-process-multipart): Record when an entity is truncated.
3393
a9a936b9
RS
3394 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3395 if ENTITY is a string.
3396
1f2b92cb
LMI
33972011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3398
f4f73198 3399 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3400 of faces when `M-C-x'-ing their definitions (bug#8378).
3401 Also clean up the code slightly.
f4f73198 3402
12b16734
LMI
3403 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3404 because that makes the colours go away.
3405
f0691d22
LMI
3406 * mail/sendmail.el (send-mail-function): Change the default to
3407 `sendmail-query-once'.
9e87df06 3408 (sendmail-query-once): Add an autoload cookie.
f0691d22 3409
1f2b92cb
LMI
3410 * net/network-stream.el (network-stream-open-starttls): Try using
3411 a plain connection even if the server offered STARTTLS, and we
3412 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3413 capability. This should make smtpmail.el work in slightly more
3414 configurations.
3415
1cdd2a1b
MA
34162011-07-06 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3419 New defun.
3420 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3421
fbcc67e2
MM
34222011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3423
3424 * progmodes/sql.el: Version 3.0
0757af94 3425 (sql-product-alist): Add product :completion-object,
fbcc67e2 3426 :completion-column, and :statement attributes.
0757af94 3427 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3428 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3429 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3430 ansi keywords.
3431 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3432 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3433 (sql-oracle-show-reserved-words): New function for development.
3434 (sql-product-font-lock): Simplify for source code buffers.
3435 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3436 New functions.
3437 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3438 (sql-mode-map): Add statement movement functions.
3439 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3440 New variable.
fbcc67e2
MM
3441 (sql-statement-regexp, sql-beginning-of-statement)
3442 (sql-end-of-statement, sql-signum): New functions.
0757af94 3443 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3444 (sql-show-sqli-buffer): Bug fix.
3445 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3446 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3447 with sql-interactive-mode.
3448 (sql-save-connection): Save buffer local settings.
0757af94 3449 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3450 (sql-product-interactive): Bug fix.
3451 (sql-preoutput-hold): New variable.
3452 (sql-interactive-remove-continuation-prompt): Bug fixes.
3453 (sql-debug-redirect): New variable.
3454 (sql-str-literal): New function.
3455 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3456 Redesign.
fbcc67e2
MM
3457 (sql-oracle-save-settings, sql-oracle-restore-settings)
3458 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3459 (sql-completion-object, sql-completion-column)
3460 (sql-completion-sqlbuf): New variables.
3461 (sql-build-completions-1, sql-build-completions)
3462 (sql-try-completion): New functions.
3463 (sql-read-table-name): Use them.
3464 (sql-contains-names): New buffer local variable.
3465 (sql-list-all, sql-list-table): Use it.
3466 (sql-oracle-completion-types): New variable.
3467 (sql-oracle-completion-object, sql-sqlite-completion-object)
3468 (sql-postgres-completion-object): New functions.
3469
d4eaeab1
GM
34702011-07-06 Glenn Morris <rgm@gnu.org>
3471
3472 * window.el (pop-to-buffer): Doc fix.
3473
322b7dab 34742011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3475
3476 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3477
322b7dab 34782011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3479
322b7dab 3480 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3481
322b7dab 3482 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3483
605dd5bf
CY
34842011-07-05 Chong Yidong <cyd@stupidchicken.com>
3485
3486 * button.el (button): Inherit from link face. Suggested by Dan
3487 Nicolaescu.
3488
7dbfa719
SM
34892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3db614b0
SM
3491 * progmodes/gdb-mi.el: Fit in 80 columns.
3492 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3493 switch-to-buffer.
3494
7dbfa719
SM
3495 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3496 if imenu is simply not configured (bug#8941).
3497
919d884a
KM
34982011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3499
3500 * allout.el (allout-post-undo-hook): New allout outline-change
3501 event hook to signal undo activity.
3502 (allout-post-command-business): Run allout-post-undo-hook if an
3503 undo just occurred.
7dbfa719
SM
3504 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3505 * allout-widgets.el (allout-widgets-after-undo-function):
3506 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3507 in the vicinity of an undo.
3508 (allout-widgets-mode): Include allout-widgets-after-undo-function
3509 on the new allout-post-undo-hook.
3510
450a0f09
SM
35112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3514 Let define-derived-mode define it.
3515 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3516 cycles of abbrev-table inheritance (bug#8998).
3517
2de69e00
RW
35182011-07-05 Roland Winkler <winkler@gnu.org>
3519
3520 * textmodes/bibtex.el: Add support for biblatex.
3521 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3522 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3523 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3524 (bibtex-entry-alist, bibtex-field-alist): New variables.
3525 (bibtex-entry-field-alist): Obsolete alias for
3526 bibtex-BibTeX-entry-alist.
3527 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3528 (bibtex-set-dialect): New command.
3529 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3530 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3531 Bind via bibtex-set-dialect.
2de69e00
RW
3532 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3533 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3534 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3535 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3536 Define via bibtex-set-dialect.
450a0f09
SM
3537 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3538 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3539 (bibtex-vec-push, bibtex-vec-incr): New functions.
3540 (bibtex-format-entry, bibtex-field-list)
3541 (bibtex-print-help-message, bibtex-validate)
3542 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3543
2dcdbdd9
SM
35442011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * progmodes/compile.el (compilation-goto-locus):
3547 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3548 * bs.el (bs-cycle-next, bs-cycle-previous):
3549 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3550 * bindings.el (mode-line-other-buffer):
3551 * autoinsert.el (auto-insert):
3552 * arc-mode.el (archive-extract):
3553 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3554
b27640fe
JB
35552011-07-05 Juanma Barranquero <lekktu@gmail.com>
3556
3557 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3558 Fix check of `emacs-lock-unlockable-modes'.
3559 Coerce true values of `emacs-lock--try-unlocking' to t.
3560
53bbe3ad
JB
35612011-07-05 Juanma Barranquero <lekktu@gmail.com>
3562
3563 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3564 * emacs-lock.el: New file.
3565
1d3cdbc7
JD
35662011-07-05 Julien Danjou <julien@danjou.info>
3567
3568 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3569 than `boundp' to check if face is set.
3570
9173deec
JB
35712011-07-05 Juanma Barranquero <lekktu@gmail.com>
3572
3573 * register.el (registerv-make):
3574 * window.el (window-min-height): Fix typos in docstrings.
3575
869795d6
JD
35762011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3577
9173deec 3578 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3579 Update doc string.
3580
b768cdcd
JB
35812011-07-04 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * server.el (server-execute): Catch quit and call
3584 `server-return-error' to pass the error back to emacsclient and
3585 close the connection (bug#8942).
3586
13aa217b
KM
35872011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3588
3589 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3590 insecure exception for current topic. Also note that auto-saves
3591 are handled differently.
3592
3593 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3594 State variables for tracking auto-save inhibition situation.
3595
3596 (allout-write-contents-hook-handler): Rename from
3597 'allout-write-file-hook-handler', and describe how it depends on
3598 write-contents-functions sensitivity to non-nil value to prevent
3599 file write.
3600
3601 (allout-auto-save-hook-handler): Remove. auto-save does not check
3602 this in individual buffers, only in the starting buffer, so this
3603 is not the right way for us to inhibit auto-save in a buffer
3604 according to its condition.
3605
3606 (allout-mode): Use new allout-write-contents-hook-handler, and
3607 only with write-contents-functions. Remove auto-save provisions -
3608 they're implemented elsewhere.
3609
3610 (allout-before-change-handler): If undo is in progress, note that
3611 for attention of allout-post-command-business.
3612
3613 (allout-post-command-business): If the command we're following was
3614 an undo, check for change in the status of encrypted items and
3615 adjust auto-save inhibitions accordingly.
3616
3617 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3618 according to whether there are or aren't any plain-text topics
3619 pending encryption.
3620
2dcdbdd9
SM
3621 (allout-inhibit-auto-save-info-for-decryption):
3622 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3623 there are plain-text topics pending encryption.
3624
3625 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3626 buffer-saved-size and some allout state to not inhibit auto-saves
3627 if there are no longer any plain-text topics pending encryption.
3628
0757af94
SM
3629 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3630 No longer provide for exemption of the current topic.
13aa217b 3631
ac89b32c
JL
36322011-07-04 Juri Linkov <juri@jurta.org>
3633
3634 Add 7z operations to delete and save changed members (bug#8968).
3635 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3636 New defcustoms.
3637 (archive-7z-write-file-member): New function.
3638 (archive-7z-summarize): Fix the number of dashes in the
3639 listing output.
3640
8fa39615
SM
36412011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3644 (bug#8958).
3645
2f11b3f1
CY
36462011-07-04 Chong Yidong <cyd@stupidchicken.com>
3647
d66fef2b
CY
3648 * bindings.el: Ignore next-buffer and previous-buffer in
3649 minibuffer-local-map.
3650
2f11b3f1
CY
3651 * font-lock.el (font-lock-builtin-face): Change light background
3652 color to dark slate blue (Bug#6693).
3653
f932a347
WD
36542011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3655
3656 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3657
c8af70e1
SM
36582011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3662 Add switch-to-buffer.
3663
f158badc
LMI
36642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3665
3666 * isearch.el (isearch-search-fun-function): Clarify further the
3667 meaning of the function returned.
3668
6d95bd46
MA
36692011-07-04 Michael Albinus <michael.albinus@gmx.de>
3670
3671 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3672
3673 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3674 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3675 Use it.
3676 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3677 `tramp-default-remote-path' does not exist.
3678 (tramp-send-command-and-read): New optional argument NOERROR.
3679 (tramp-open-connection-setup-interactive-shell)
3680 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3681 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3682 (tramp-process-sentinel): Flush also process' connection property.
3683 (tramp-sh-handle-start-file-process): Do not set process
3684 sentinel. It is done now ...
3685 (tramp-maybe-open-connection): ... here. (Bug#8929)
3686
909e6b67
MK
36872011-07-04 MON KEY <monkey@sandpframing.com>
3688
3689 * play/animate.el (animate-string): Doc fixes and allow changing
3690 the buffer name (bug#5417).
3691
36922011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3693
c8af70e1 3694 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3695
f34755dc
PE
36962011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3697
396cec72
PE
3698 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3699 This is simpler and helps future-proof the code.
3700 (timer-until): Use time-subtract and float-time.
08235028 3701 (timer--time-less-p): Use time-less-p.
f34755dc 3702
56e6cc31
JB
37032011-07-04 Juanma Barranquero <lekktu@gmail.com>
3704
3abb79e5
JB
3705 * type-break.el (timep): Use the value of `float-time' to avoid a
3706 byte-compiler warning.
3707
56e6cc31
JB
3708 * server.el (server-eval-and-print): Return any result, even nil.
3709
7b9430b4
PE
37102011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3711
3712 * type-break.el: Accept time formats that the builtins accept.
3713 (timep, type-break-time-difference): Accept any format that
3714 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3715 This is simpler and helps future-proof the code.
3716 (type-break-time-difference): Round rather than ignoring
3717 subseconds components.
3718
3034e9e7
LMI
37192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3720
3721 * info.el (Info-apropos-matches): Make non-interactive, since it
3722 doesn't seem to do anything useful as a command (bug#8829).
3723
1485f4c0
CY
37242011-07-03 Chong Yidong <cyd@stupidchicken.com>
3725
3726 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3727 Move from faces.el.
1485f4c0
CY
3728 (frame-default-terminal-background): New function.
3729
3730 * custom.el (custom-push-theme): Don't record faces in `changed'
3731 theme; this doesn't work correctly for per-frame face settings.
3732 (disable-theme): Use face-set-after-frame-default to reset faces.
3733 (custom--frame-color-default): New function.
3734
9fa3dd45
LMI
37352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3736
c8af70e1 3737 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3738 (bug#8769).
3739
6cbbc20c
KR
37402011-03-29 Kevin Ryde <user42@zip.com.au>
3741
3742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3743 `perl-Test2' extend to match possible "fail #N" rep count
3744 (bug#8377).
3745
c7f98048
LMI
37462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3747
65676592
LMI
3748 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3749 `smtpmail-via-smtp' now returns the error instead of nil.
3750
c7f98048
LMI
3751 * isearch.el (isearch-search-fun-function): Clarify the doc string
3752 (bug#8101).
3753
56e6cc31 37542011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3755
3756 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3757 unnecessary spaces (bug#8987).
3758
2b216704
LMI
37592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3760
3761 * net/network-stream.el (open-network-stream): Use the
3762 :end-of-capability command thoughout.
3763
37642011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3765
3766 * net/network-stream.el (open-network-stream): Add the
3767 :end-of-capability command parameter, used by pop3.el.
3768
36adf6ce
LMI
37692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3770
1ca0da0e
LMI
3771 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3772
fc00f69c
LMI
3773 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3774 for list)" (bug#6475).
3775
28fd8759
LMI
3776 * files.el (file-expand-wildcards): Ignore non-readable
3777 sub-directories while trying to find matches instead of signalling
3778 an error (bug#6297).
3779
0dd8b6da
LMI
3780 * man.el (Man-reference-regexp): Allow matching possible
3781 word-wrapped references (bug#6289).
3782
ce1438d6
LMI
3783 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3784 for consistency with the other vc buffers (bug#6197).
3785 (vc-checkin): Ditto.
3786
3787 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3788
36adf6ce
LMI
3789 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3790
e83cc1f7
LMI
37912011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3792
8a20ca4c
LMI
3793 * custom.el (defcustom): Clarify that :set is only used in the
3794 Customize user interface (bug#6089).
3795
83319045
LMI
3796 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3797 associated with a file, refuse to run instead of erroring out
3798 (bug#6084).
3799
a8392169
LMI
3800 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3801 the doc string, since it appears that using `fill-column' always
3802 controls the width (bug#7845).
3803
e83cc1f7
LMI
3804 * simple.el (shell-command-on-region): Say where the error output
3805 went if `shell-command-default-error-buffer' is set (bug#6857).
3806
e47ca23b
KM
38072011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3808
3809 * allout.el (allout-yank-processing): Adjust cursor position for
3810 backwards-deleted space.
3811
3812 (allout-rebullet-heading): Register changes with
3813 allout-exposure-changed-hook, so the modified topic is properly
3814 decorated.
3815
5cf56143
LMI
38162011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3817
08549772
LMI
3818 * minibuffer.el (completion-in-region): Document PREDICATE
3819 (bug#7136).
3820
48e96771
LMI
3821 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3822 of keyword/argument pairs (bug#6904).
3823
c8af70e1
SM
3824 * replace.el (multi-occur):
3825 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3826
e17d05e2
LMI
38272011-07-02 Drew Adams <drew.adams@oracle.com>
3828
3829 * dired.el (dired-mark-if): Make the message about whether it's
3830 marking or unmarking clearer (bug#8523).
3831
063b0e45
LMI
38322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3833
3834 * disp-table.el (display-table-print-array): New function.
3835 (describe-display-table): Use it to print the vectors more pretty
3836 (Bug#8859).
3837
28545e04
MR
38382011-07-02 Martin Rudalics <rudalics@gmx.at>
3839
3840 * window.el (window-state-get-1): Don't assign clone numbers.
3841 Add clone-of item to list of window parameters.
3842 (window-state-put-2): Don't process clone numbers.
3843 (display-buffer-alist): Fix doc-string.
3844
3349e122
SM
38452011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * subr.el (remq): Don't allocate if it's not needed.
3848 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3849 (keymap--merge-bindings): New functions.
3850 (keymap-canonicalize): Use them to refine the canonicalization.
3851 * minibuffer.el (minibuffer-local-completion-map)
3852 (minibuffer-local-must-match-map): Move initialization from C.
3853 (minibuffer-local-filename-completion-map): Move initialization from C;
3854 don't inherit from anything here.
3855 (minibuffer-local-filename-must-match-map): Make obsolete.
3856 (completing-read-default): Use make-composed-keymap to combine
3857 minibuffer-local-filename-completion-map with either
3858 minibuffer-local-must-match-map or
3859 minibuffer-local-filename-completion-map.
3860
d224ac83
GM
38612011-07-01 Glenn Morris <rgm@gnu.org>
3862
3de63bf8
GM
3863 * type-break.el (type-break-time-sum): Use dolist.
3864
d224ac83
GM
3865 * textmodes/flyspell.el (flyspell-word-search-backward):
3866 Replace CL function.
3867
1a1e3f32
SM
38682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3869
fe3f64d5
SM
3870 * mouse.el (mouse--strip-first-event): New function.
3871 (function-key-map): Use it to map fringe clicks to normal clicks
3872 by default.
3873
eb604e34
SM
3874 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3875 (vc-bzr-revision-completion-table): Add support for annotate and date.
3876
1a1e3f32
SM
3877 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3878 inherit from parent.
3879
5bd35902
LMI
38802011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3881
ace6c69c 3882 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3883 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3884
191e2bed
LMI
3885 * dired.el (dired-mode): Fix up the doc string as suggested by
3886 Drew Adams (bug#8817).
3887
5bd35902
LMI
3888 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3889 cookie, since the manual says that it should be possible to add
3890 this function to `find-file-hook' (bug#8709).
3891
eee8207a
TZ
38922011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3893
3894 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3895 here. Noted Ted Zlatanov as the maintainer.
3896 (cfengine-common-settings, cfengine-common-syntax): New functions
3897 to set up common things between `cfengine-mode' and
3898 `cfengine3-mode'.
3899 (cfengine3-mode): New mode.
3900 (cfengine3-defuns cfengine3-defuns-regex
3901 (cfengine3-class-selector-regex cfengine3-category-regex)
3902 (cfengine3-vartypes cfengine3-font-lock-keywords)
3903 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3904 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3905
36b148cf
MA
39062011-07-01 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3909
3910 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3911
0bf4ba9a
MR
39122011-07-01 Martin Rudalics <rudalics@gmx.at>
3913
3914 * window.el (same-window-buffer-names, same-window-regexps)
3915 (same-window-p, special-display-frame-alist)
3916 (special-display-popup-frame, special-display-function)
3917 (special-display-buffer-names, special-display-regexps)
3918 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3919 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3920 (split-window-preferred-function, split-height-threshold)
3921 (split-width-threshold, even-window-heights)
3922 (display-buffer-mark-dedicated, window-splittable-p)
3923 (split-window-sensibly, window-safely-shrinkable-p):
3924 Un-obsolete.
3925 (display-buffer): Don't spread args with function specifier
3926 because special-display-popup-frame won't like it.
3927
35837f51
PE
39282011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3929
d0672f86
PE
3930 Time-stamp simplifications and fixes.
3931 These improve accuracy slightly, and future-proof the code
3932 against some potential changes to current-time format.
3933
b9444d97
PE
3934 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3935 by using time-since and float-time.
3936
0ef923dc
PE
3937 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3938 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3939 + NNN microseconds".
3940
2f81380d
PE
3941 * type-break.el (type-break-time-sum): Rewrite using time-add.
3942
845b5c3e
PE
3943 * play/hanoi.el (hanoi-current-time-float): Remove.
3944 All uses replaced by float-time.
3945
ee6f1be0
PE
3946 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3947 This yields a more-accurate answer.
3948 (rng-time-to-float): Remove; no longer needed.
3949
fe955043
PE
3950 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3951
5777162a
PE
3952 * calendar/timeclock.el (timeclock-seconds-to-time):
3953 Defalias to seconds-to-time, since they're the same thing.
3954
3103f8b6 3955 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3956 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3957 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3958
0e61a35f
SM
39592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * window.el (bury-buffer): Don't iconify the only frame.
3962 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3963 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3964
ddd63a1e
CY
39652011-07-01 Chong Yidong <cyd@stupidchicken.com>
3966
0e61a35f
SM
3967 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3968 Add mouse-yank-primary.
ddd63a1e 3969
055f4923
TZ
39702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3971
3972 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3973
6a2fb145
SM
39742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3977 (find-library-name): Use it to find relative load names when provided
3978 absolute file name (bug#8803).
3979
fd4983f2
LMI
39802011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3981
887d14ad
LMI
3982 * textmodes/flyspell.el (flyspell-word): Consider words that
3983 differ only in case as potential doublons (bug#5687).
3984
c53dc7fc
LMI
3985 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3986 Remove two rather uninteresting debugging-like messages to make
3987 debbugs.el more silent.
3988
fd4983f2
LMI
3989 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3990 a password-like phrase.
3991
b14c0c55
AM
39922011-06-30 Mastake YAMATO <yamato@redhat.com>
3993
3994 * progmodes/cc-guess.el: New file.
3995
6a2fb145 3996 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3997
3998 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3999 derived from `c-basic-common-init'.
4000
4001 * progmodes/cc-mode.el (top-level): Require cc-guess.
4002 (c-basic-common-init): Use `cc-choose-style-for-mode'.
4003
1fa280a3
LM
40042011-06-30 Lawrence Mitchell <wence@gmx.li>
4005
4006 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
4007
e6597158
AM
40082011-06-30 Alan Mackenzie <acm@muc.de>
4009
1fa280a3
LM
4010 * progmodes/cc-engine.el (c-guess-continued-construct):
4011 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
4012 lock is disabled. Name this case as "CASE G".
4013
68ba37fb
KM
40142011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
4015
4016 * allout.el (allout-yank-processing): Fix injection of extra space
4017 between bullet and non-whitespace character in first topic when
4018 pasting, ensuring that the actual spacing in the pasted topic
4019 following the bullet char is preserved. This extra space was
4020 causing pasted encrypted topics to get a decrypted status even
4021 when the content was actually still encrypted. Now the decryption
4022 status from before the paste is preserved.
4023
4024 (allout-flag-region): Set all allout overlays so they evaporate
4025 when reduced to zero length (evanescent), to prevent overlay
4026 leakage.
4027
887a0b34
GM
40282011-06-30 Glenn Morris <rgm@gnu.org>
4029
94b9acce
GM
4030 * w32-fns.el (w32-charset-info-alist): Declare.
4031
1d9b46d4
GM
4032 * find-dired.el (find-grep-options): Simplify.
4033
cc232200
GM
4034 * term/ns-win.el (ns-set-resource): Declare.
4035
28e77c46
GM
4036 * ses.el (row, col): Declare dynamic variables honestly.
4037
887a0b34
GM
4038 * textmodes/reftex-parse.el (index-tags): Declare.
4039
658d8eb8
CY
40402011-06-30 Chong Yidong <cyd@stupidchicken.com>
4041
4042 * cus-edit.el (customize-push-and-save): New function.
4043
4044 * files.el (hack-local-variables-confirm): Use it.
4045
1fa280a3
LM
4046 * custom.el (load-theme): New arg NO-CONFIRM.
4047 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4048 (custom-enabled-themes): Doc fix.
4049
4050 * cus-theme.el (customize-create-theme)
4051 (custom-theme-merge-theme): Callers to load-theme changed.
4052
bb617717
LMI
40532011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4054
d61bdd5d
LMI
4055 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4056 short URLs have at least one dot in them (bug #7614).
4057
bb617717
LMI
4058 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4059 nil, because using a pty is apparently too slow (bug #895).
4060
2f31f37a
LMI
40612011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4062
4063 * mail/sendmail.el (sendmail-query-once): New function.
4064 (sendmail-query-once-function): New variable.
4065
3076b24e
GM
40662011-06-29 Glenn Morris <rgm@gnu.org>
4067
faf2a174
GM
4068 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4069
3076b24e
GM
4070 * ses.el (top-level): Require cl when compiling.
4071 (ses-set-localvars): Fix error statement.
4072 Call it at compile time to silence a storm of warnings.
4073
5386012d
MR
40742011-06-29 Martin Rudalics <rudalics@gmx.at>
4075
4076 * window.el (normalize-live-buffer): Rename to
4077 window-normalize-buffer.
4078 (normalize-live-frame): Rename to window-normalize-frame.
4079 (normalize-any-window): Rename to window-normalize-any-window.
4080 (normalize-live-window): Rename to window-normalize-live-window.
4081 (make-window-atom): Rename to window-make-atom.
4082 (window-resize-reset): Rename to window--resize-reset.
4083 (window-resize-reset-1): Rename to window--resize-reset-1.
4084 (resize-mini-window): Rename to window--resize-mini-window.
4085 (resize-subwindows-skip-p): Rename to
4086 window--resize-subwindows-skip-p.
4087 (resize-subwindows-normal): Rename to
4088 window--resize-subwindows-normal.
4089 (resize-subwindows): Rename to window--resize-subwindows.
4090 (resize-other-windows): Rename to window--resize-siblings.
4091 (resize-this-window): Rename to window--resize-this-window.
4092 (resize-root-window): Rename to window--resize-root-window.
4093 (resize-root-window-vertically): Rename to
4094 window--resize-root-window-vertically.
4095 (normalize-buffer-to-display): Rename to
4096 window-normalize-buffer-to-display.
4097 (normalize-buffer-to-switch-to): Rename to
4098 window-normalize-buffer-to-switch-to.
4099 Correspondingly update all callers of the functions listed
4100 above.
4101 (display-buffer-alist, display-buffer-normalize-arguments)
4102 (display-buffer-normalize-options, display-buffer)
4103 (display-buffer-alist-set): Use "function" instead of
4104 "fun-with-args".
4105
1176868d
CY
41062011-06-28 Chong Yidong <cyd@stupidchicken.com>
4107
4108 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4109 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4110 debbugs.gnu.org. Mention acknowledgment email.
4111
20a7a65f
LMI
41122011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4113
4114 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4115 buffer multibyteness, since it shouldn't matter.
4116
5f45cca5
MR
41172011-06-28 Martin Rudalics <rudalics@gmx.at>
4118
4119 * window.el (display-buffer-in-side-window): Handle dedicated
4120 windows as in display-buffer-reuse-window.
4121 (display-buffer-normalize-alist): Use value of override
4122 specifier.
4123 (display-buffer-normalize-specifiers): Use value of
4124 other-window-means-other-frame specifier.
4125 (display-buffer-alist): Rewrite some texts in widgets.
4126 (display-buffer): Spread arguments when calling function
4127 specified by fun-with-args.
4128
ad85fe1f
DD
41292011-06-28 Deniz Dogan <deniz@dogan.se>
4130
1fa280a3
LM
4131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4132 Unnest `let'.
da68c4c8 4133
ad85fe1f
DD
4134 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4135 selectors (Bug#5732).
ec49bd31 4136 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4137
a08cc025
JA
41382011-06-27 Jari Aalto <jari.aalto@cante.net>
4139
4140 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4141 (eshell-ls-date-format): New defcustom.
4142 (eshell-ls-file): Use it.
4143
e2b551c5
SM
41442011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4147
8982b231
KY
41482011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4149
4150 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4151 (ange-ftp-make-tmp-name): New arg.
4152 (ange-ftp-file-local-copy): Use it.
4153
36c9fa27
J
41542011-06-27 Jambunathan K <kjambunathan@gmail.com>
4155
4156 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4157 no-conversion (Bug#8870).
4158
d68443dc
MR
41592011-06-27 Martin Rudalics <rudalics@gmx.at>
4160
4161 * window.el (window-right, window-left, window-child)
4162 (window-child-count, window-last-child)
4163 (window-iso-combination-p, walk-window-tree-1)
4164 (window-atom-check-1, window-tree-1, delete-window)
4165 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4166 new naming conventions - window-vchild, window-hchild,
4167 window-next and window-prev are now called window-top-child,
4168 window-left-child, window-next-sibling and window-prev-sibling
4169 respectively.
d615d6d2
MR
4170 (resize-window-reset): Rename to window-resize-reset.
4171 (resize-window-reset-1): Rename to window-resize-reset-1.
4172 (resize-window): Rename to window-resize.
4173 (window-min-height, window-min-width)
4174 (resize-mini-window, resize-this-window, resize-root-window)
4175 (resize-root-window-vertically, adjust-window-trailing-edge)
4176 (enlarge-window, shrink-window, maximize-window)
4177 (minimize-window, delete-window, quit-restore-window)
4178 (split-window, balance-windows, balance-windows-area-adjust)
4179 (balance-windows-area, window-state-put-2)
4180 (display-buffer-even-window-sizes, display-buffer-set-height)
4181 (display-buffer-set-width, set-window-text-height)
4182 (fit-window-to-buffer): Rename all "resize-window" prefixed
4183 calls to use the "window-resize" prefix convention.
4184 (display-buffer-alist): Fix symbol for label specifier.
4185 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4186 corresponding specifier.
4187 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4188
b6458526
VB
41892011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4190
4191 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4192 convention.
4193 (ses-call-printer): Does not pass an empty string to formatter when the
4194 cell is empty to keep from barking printer Calc math-format-value.
4195
d31fd9ac
RS
41962011-06-27 Richard Stallman <rms@gnu.org>
4197
43d5bf84
RS
4198 * battery.el (battery-mode-line-limit): New variable.
4199 (battery-update): Handle it.
4200
d31fd9ac
RS
4201 * mail/rmailmm.el (rmail-mime-process-multipart):
4202 Handle truncated messages.
4203
819a6054
GM
42042011-06-27 Glenn Morris <rgm@gnu.org>
4205
4206 * progmodes/flymake.el (flymake-err-line-patterns):
4207 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4208
cedc73f2
VB
42092011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4210
819a6054 4211 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4212 (ses--clean-!, ses--clean-_): New functions.
4213 (ses-range): Add configurability of readout order, and conversion
4214 to Calc vector.
4215
5e5d49b6
VB
4216 * ses.el (ses-repair-cell-reference-all): New function.
4217 (ses-cell-symbol): Set macro as safe, so that it can be used in
4218 formulas.
4219
56e6cc31 4220 * ses.el: Update cycle detection algorithm.
90ca8b49 4221 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4222 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4223 (ses-set-localvars): New function.
4224 (ses-make-cell): Add property-list as a cell element.
4225 (ses-cell-property-get-fun, ses-cell-property-get)
4226 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4227 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4228 New functions.
90ca8b49
VB
4229 (ses-cell-property-set, ses-cell-property-pop)
4230 (ses-cell-property-get-handle): New macro.
4231 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4232 New aliases, used for code readability.
4233 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4234 cycle detection.
4235 (ses-self-reference-early-detection): New defcustom.
4236 (ses-formula-references): Robustify against self-refering cells.
4237 (ses-mode): Use ses-set-localvars.
4238 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4239 before lauching the update processing.
4240 (ses-initialize-Dijkstra-attempt): New function.
4241 (ses-recalculate-cell): Update for cycle detection based on
4242 Dijkstra algorithm.
4243
2bb63e81
VB
4244 * ses.el: Fix commenting and indenting convention.
4245
c9d29fb8
SM
42462011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * bs.el (bs-cycle-next): Complete last change.
4249
d8e4b68b
JB
42502011-06-27 Drew Adams <drew.adams@oracle.com>
4251
4252 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4253
40098786
LMI
42542011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4255
c9d29fb8
SM
4256 * net/network-stream.el (network-stream-open-starttls):
4257 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4258 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4259
40098786
LMI
4260 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4261 to binary to possibly avoid line encoding issues on Windows (among
4262 other things).
4263
468d09d4
LMI
42642011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4265
4266 * net/network-stream.el (open-network-stream): Return an :error
4267 saying what the problem was, if possible.
4268
4269 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4270 server.
4271
4272 * net/network-stream.el (network-stream-open-starttls): If we
4273 wanted to use STARTTLS, and the server offered it, but we weren't
4274 able to because we had no STARTTLS support, then close the connection.
4275 (open-network-stream): Return an :error element, if present.
4276
16f07dd7
CY
42772011-06-26 Chong Yidong <cyd@stupidchicken.com>
4278
88821ca0
CY
4279 * hl-line.el (hl-line-sticky-flag): Doc fix.
4280 (global-hl-line-sticky-flag): New option (Bug#8323).
4281 (global-hl-line-highlight): Obey it.
4282
16f07dd7
CY
4283 * vc/vc.el (vc-revert-show-diff): Default to t.
4284
6b5ccddf
KM
42852011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4286
c9d29fb8
SM
4287 * allout-widgets.el (allout-widgets-post-command-business):
4288 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4289 undecorated when an isearch is continued past, and isearch
4290 automatically collapses them. This leads to "widget leaks", where
4291 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4292 hidden widgets can slow down cursor travel, substantially.
4293 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4294 so we're doing without this nicety.
4295
4296 (allout-widgets-tally-string): Don't try to do a hash-table-count
4297 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4298 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4299 *Messages* when allout-widgets-maintain-tally is t.
4300
355f2e07
MR
43012011-06-26 Martin Rudalics <rudalics@gmx.at>
4302
4303 * window.el (display-buffer-normalize-argument): Rename to
4304 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4305 LABEL argument. Respect special-display-function when popping up
4306 a new frame. Fix code searching for a window showing the buffer
4307 on another frame.
c9d29fb8
SM
4308 (display-buffer-normalize-specifiers):
4309 Call display-buffer-normalize-arguments.
355f2e07
MR
4310 (display-buffer-in-window): Don't undedicate the window if its
4311 buffer remains the same.
4312 Reported by Drew Adams <drew.adams@oracle.com>.
4313 (display-buffer-alist): Add choice for same-window macro
4314 specfier.
4315 (display-buffer): Mention special meaning of LABEL argument in
4316 doc-string. Fix quoting. Don't pop up a new frame even as
4317 fallback.
4318
7ca8fc42
JB
43192011-06-26 Juanma Barranquero <lekktu@gmail.com>
4320
4321 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4322 avoid deleting the current window in some cases (bug#8911).
4323
bc312254
AS
43242011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4325
4326 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4327 (Bug#8934)
4328
2db18f3f
LMI
43292011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4330
c9d29fb8
SM
4331 * net/network-stream.el (network-stream-open-starttls):
4332 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4333 (network-stream-open-tls): Ditto.
4334
6302e0d3
LL
43352011-06-26 Leo Liu <sdl.web@gmail.com>
4336
4337 * register.el (registerv): New struct.
4338 (registerv-make): New function.
c9d29fb8
SM
4339 (jump-to-register, describe-register-1, insert-register):
4340 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4341 struct. (Bug#8415)
4342
5fdd4046
CY
43432011-06-26 Chong Yidong <cyd@stupidchicken.com>
4344
2afef60a
CY
4345 * vc/vc.el (vc-revert-show-diff): New defcustom.
4346 (vc-diff-internal): New arg specifying diff buffer.
4347 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4348 reuse an existing *vc-diff* buffer (Bug#8927).
4349
5fdd4046
CY
4350 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4351
e93db24a
GM
43522011-06-26 Glenn Morris <rgm@gnu.org>
4353
4354 * progmodes/f90.el (f90-critical-indent): New option.
4355 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4356 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4357 (f90-mode): Doc fix.
4358 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4359 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4360 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4361 (f90-match-end): Handle block, critical.
4362
eefff499
GM
43632011-06-25 Glenn Morris <rgm@gnu.org>
4364
f6ba4cc9
GM
4365 * calendar/diary-lib.el (diary-included-files): Doc fix.
4366 (diary-include-files): New function, extracted from
4367 diary-include-other-diary-files and diary-mark-included-diary-files.
4368 (diary-include-other-diary-files, diary-mark-included-diary-files):
4369 Just call diary-include-files.
4370 (diary-mark-entries): Reset diary-included-files on first call.
4371
16712304
GM
4372 * calendar/diary-lib.el (diary-mark-entries)
4373 (diary-mark-included-diary-files):
4374 Visit included diary-files in temp buffers.
4375
5d8e0d43
GM
4376 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4377 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4378 (f90-start-block-re, f90-imenu-generic-expression)
4379 (f90-looking-at-program-block-start, f90-no-block-limit):
4380 Add support for submodules.
4381
ccf7a5d5
GM
4382 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4383 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4384
11fdef7d 43852011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4386
4387 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4388 buffer-file-type before setting its value, to avoid disastrous
eefff499 4389 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4390
74f53697
JB
43912011-06-25 Juanma Barranquero <lekktu@gmail.com>
4392
4393 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4394
4395 * ses.el (ses-unload-function):
4396 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4397
4398 * proced.el (proced-unload-function):
4399 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4400
18a4ce5e
AR
44012011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4402
4403 * server.el (server-create-window-system-frame): Add parameters arg.
4404 (server-process-filter): Doc fix. Handle frame-parameters.
4405
519d22cc
JB
44062011-06-25 Juanma Barranquero <lekktu@gmail.com>
4407
4408 Fix bug#8730, bug#8781.
4409
4410 * loadhist.el (unload--set-major-mode): New function.
4411 (unload-feature): Use it.
4412
4413 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4414 (python-unload-function): New function.
4415
c206f5b0
SM
44162011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4419
f9ad64f3
GS
44202011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4421
4422 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4423 the candidates list.
4424
7d0da90e
JB
44252011-06-24 Juanma Barranquero <lekktu@gmail.com>
4426
4427 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4428
14b4e83d
RS
44292011-06-23 Richard Stallman <rms@gnu.org>
4430
4431 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4432 (rmail-variables): Set next-error-move-function.
4433 (rmail-what-message): Take argument POS.
4434 (rmail-next-error-move): New function.
4435
273d2baf
SM
44362011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4439 messages for adjacent non-terminals.
4440
56c2cc9a
RS
44412011-06-23 Richard Stallman <rms@gnu.org>
4442
4443 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4444 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4445 (rmail-start-mail): Don't specify use of rmail-mail-return;
4446 that's done by mail-bury now.
4447 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4448
d59eb518
MA
44492011-06-23 Michael Albinus <michael.albinus@gmx.de>
4450
4451 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4452 SIZE is a number.
4453
02cfc6d6
MR
44542011-06-23 Martin Rudalics <rudalics@gmx.at>
4455
4456 * window.el (get-lru-window, get-mru-window)
4457 (get-largest-window): Never return a minibuffer window.
4458 (display-buffer-pop-up-window): Fix a bug that could lead to
4459 reusing the minibuffer window.
4460 (display-buffer): Pass original specifier argument to
4461 display-buffer-function instead of the normalized one.
4462 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4463
4e323265
LL
44642011-06-22 Leo Liu <sdl.web@gmail.com>
4465
4466 * minibuffer.el (completing-read-function)
4467 (completing-read-default): Move from minibuf.c
4468
7a70468f
RS
44692011-06-22 Richard Stallman <rms@gnu.org>
4470
50718fc2
RS
4471 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4472 to Rmail even if not started by a special Rmail command.
4473
7a70468f
RS
4474 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4475 Copy the buffer currently showing just one message.
4476
297dde5a
RW
44772011-06-22 Roland Winkler <winkler@gnu.org>
4478
4479 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4480 (bibtex-clean-entry): First delete the old key so that a
4481 customized algorithm for generating the new key does not get
4482 confused by the old key.
4483 (bibtex-url): Obey regexp of first step.
4484 (bibtex-search-entries): Do not use add-to-list with local
4485 list-var.
4486
97bb1093
LMI
44872011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4488
4489 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4490 stored a user name, then query for the password first, instead of
4491 waiting for SMTP to give an error message and the trying again.
4492
1c0f1a19
JD
44932011-06-22 Lawrence Mitchell <wence@gmx.li>
4494
4495 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4496 BUFFER in call-process.
4497
396f7c9d
LMI
44982011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4499
4500 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4501 QUIT twice.
ddb7ffee
LMI
4502 (smtpmail-try-auth-methods): Require user name and password from
4503 auth-source.
396f7c9d 4504
8998d1b3
MR
45052011-06-22 Martin Rudalics <rudalics@gmx.at>
4506
4507 * window.el (display-buffer-default-specifiers)
4508 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4509 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4510 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4511
4512 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4513 (special-display-frame-alist, special-display-popup-frame):
4514 Remove duplicate declarations. These are now in window.el.
4515
4ea31e07
LMI
45162011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4517
c9d29fb8
SM
4518 * mail/smtpmail.el (smtpmail-via-smtp):
4519 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4520 server supports it. SMTP servers that support STARTTLS commonly
4521 require it.
4522
4523 * net/network-stream.el (network-stream-open-starttls): Support
4524 upgrading to STARTTLS always, even if we don't have built-in support.
4525 (open-network-stream): Add the :always-query-capabilies keyword.
4526
95f41d9a
LMI
4527 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4528 upgrades with `open-network-stream', and rely solely on
4529 auth-source for all credentials. Big changes throughout the file,
4530 but in particular:
c9d29fb8
SM
4531 (smtpmail-auth-credentials): Remove.
4532 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4533 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4534 MAIL FROM, too.
95f41d9a 4535
c9d29fb8
SM
4536 * net/network-stream.el (network-stream-open-starttls):
4537 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4538 STARTTLS.
4539 (auth-source): Require.
4540 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4541 (network-stream-certificate): Change cert-cert to cert and
4542 cert-key to key.
4ea31e07 4543
065ec2c7
MA
45442011-06-21 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * net/tramp-cache.el (top): Don't load the persistency file when
4547 "emacs -Q" has been called.
4548
cd93b359
DR
45492011-06-21 Tim Harper <timcharper@gmail.com>
4550
d8e4b68b
JB
4551 * term/ns-win.el (ns-initialize-window-system):
4552 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4553 resource to NO as it is not yet supported by the NS port.
4554
ae9c0411
JB
45552011-06-21 Juanma Barranquero <lekktu@gmail.com>
4556
4557 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4558 (list-dynamic-libraries): ...not here.
4559
7f3f739f
LL
45602011-06-21 Leo Liu <sdl.web@gmail.com>
4561
4562 * subr.el (sha1): Implement sha1 using secure-hash.
4563
327c8fb1
MR
45642011-06-21 Martin Rudalics <rudalics@gmx.at>
4565
4566 * window.el (display-buffer-alist): In default value do not
4567 enforce searching a window on any but the selected frame.
4568 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4569 (display-buffer-select-window): Remove function.
4570 (display-buffer-in-window): When a window on another frame gets
4571 reused, do not select it any more but just raise its frame if
4572 necessary (Bug#8851) and (Bug#8856).
4573 (display-buffer-normalize-options): Handle pop-up-frames related
4574 options more faithfully.
4575 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4576 window if it is on another frame.
c9d29fb8
SM
4577 (display-buffer-alist, display-buffer-default-specifiers):
4578 Don't make new frame unsplittable by default.
9e9de014
MR
4579 (display-buffer-normalize-argument): Fix doc-string typo and use
4580 'same-frame-other-window instead of 'other-window when associating
4581 with display-buffer-macro-specifiers.
327c8fb1 4582
7cf3f556
VB
45832011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4584
4585 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4586 New functions.
4587 (5x5-mode-map, 5x5-mode-menu): Bind them.
4588 (5x5-draw-grid): Tweak the solver's rendering.
4589
60a406cf
SM
45902011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4593 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4594
d8e4b68b 45952011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4596
4597 * menu-bar.el: Use function variable instead of switch-to-buffer.
4598 (menu-bar-select-buffer-function): New variable.
60a406cf 4599 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4600
478d6f95
SM
46012011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4604 variable's status.
4605
ca530739
JD
46062011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4607
4608 * x-dnd.el (x-dnd-version-from-flags)
4609 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4610 and long as number (Bug#8899).
4611 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4612
bcd70d97
SM
46132011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4614
60a406cf 4615 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4616 (completion-try-completion, completion-all-completions): Compute the
4617 metadata argument if it's missing; make it optional (bug#8795).
4618
60a406cf 4619 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4620 (widget-complete): Use new :completion-function property.
4621 (widget-completions-at-point): New function.
4622 (default): Use :completion-function instead of :complete.
60a406cf
SM
4623 (widget-default-completions): Rename from widget-default-complete;
4624 Rewrite.
bcd70d97
SM
4625 (widget-string-complete, widget-file-complete, widget-color-complete):
4626 Remove functions.
4627 (file, symbol, function, variable, coding-system, color):
4628 * international/mule-cmds.el (default-input-method, charset)
4629 (language-info-custom-alist):
4630 * cus-edit.el (face): Use new property :completions.
4631
4632 * progmodes/pascal.el (pascal-completions-at-point): New function.
4633 (pascal-mode): Use it.
4634 (pascal-mode-map): Use completion-at-point.
4635 (pascal-toggle-completions): Make obsolete.
4636 (pascal-complete-word, pascal-show-completions):
4637 * progmodes/octave-mod.el (octave-complete-symbol):
4638 Redefine as obsolete alias.
4639 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4640 Signal absence of completion info for old Octave,
4641 (inferior-octave-complete): Redefine as obsolete alias.
4642 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4643 (meta-completions-at-point): Rename from meta-complete-symbol and
4644 adapt it for use on completion-at-point-functions.
4645 (meta-common-mode): Use it.
4646 (meta-looking-at-backward, meta-match-buffer): Remove.
4647 (meta-complete-symbol): Redefine as obsolete alias.
4648 (meta-common-mode-map): Use completion-at-point.
4649 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4650 (makefile-mode-map): Use completion-at-point.
4651 (makefile-completions-at-point): Rename from makefile-complete and
4652 adapt it for use on completion-at-point-functions.
4653 (makefile-mode): Use it.
4654 (makefile-complete): Redefine as obsolete alias.
4655
aebf69c8
DD
46562011-06-20 Deniz Dogan <deniz@dogan.se>
4657
4658 * net/rcirc.el: Delete trailing whitespaces once and for all.
4659
bfbbb27d
DC
46602011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4661
4662 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4663
d264a46b
CY
46642011-06-19 Chong Yidong <cyd@stupidchicken.com>
4665
4ca009e5
CY
4666 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4667
d264a46b
CY
4668 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4669
fbf5b3ce
MR
46702011-06-19 Martin Rudalics <rudalics@gmx.at>
4671
4672 * window.el (display-buffer-other-window-means-other-frame):
4673 Call display-buffer-normalize-alist.
4674 (display-buffer-normalize-specifiers-1): Rename to
4675 display-buffer-normalize-argument. New argument other-frame.
4676 Rewrite.
4677 (display-buffer-normalize-specifiers-2): Rename to
4678 display-buffer-normalize-options.
4679 (display-buffer-normalize-alist-1): New function.
4680 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4681 display-buffer-normalize-alist.
4682 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4683 (display-buffer-normalize-options-inhibit): New variable.
4684 (display-buffer-normalize-specifiers): Rewrite calling
4685 display-buffer-normalize-alist,
4686 display-buffer-normalize-argument, and
4687 display-buffer-normalize-options. Don't call the latter if
4688 display-buffer-normalize-options-inhibit is non-nil.
4689 (frame-auto-delete): New option.
4690 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4691 (window-list-no-nils, window-state-ignored-parameters)
4692 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4693 (window-state-put-1, window-state-put-2, window-state-put):
4694 New functions.
9a028c23
MR
4695 (display-buffer-normalize-options): Move special-display-p group
4696 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4697
6d10d800
CY
46982011-06-18 Chong Yidong <cyd@stupidchicken.com>
4699
6420d28b
CY
4700 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4701 groups (Bug#8776).
4702 (rx-submatch-n): New function.
4703 (rx): Document it.
4704
ddb8b596
CY
4705 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4706 (Bug#8768).
4707
4708 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4709
77080289
CY
4710 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4711
61dfb316
CY
4712 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4713 anytime existing face settings are present (Bug#8889).
4714
6d10d800
CY
4715 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4716 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4717 Remove unused argument.
4718
be3fb2b8
MR
47192011-06-18 Martin Rudalics <rudalics@gmx.at>
4720
bcd70d97
SM
4721 * window.el (display-buffer-default-specifiers):
4722 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4723 pop-up-window-min-width, and another reuse-window specifier
4724 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4725 (display-buffer-normalize-specifiers-2):
4726 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4727 pop-up-windows is unset. Add a reuse-window specifier for the
4728 case popping up a new window fails.
4729 (special-display-popup-frame): Remove double quoting.
28dec25a 4730 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4731
1c6d8c76
SM
47322011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4735 according to comint-completion-addsuffix.
4736
4737 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4738 (pcomplete-suffix-list): Mark as obsolete.
4739 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4740 pcomplete-seen in the closure.
4741 (pcomplete-comint-setup): Setup completion-at-point as well.
4742 (pcomplete--entries): New function.
4743 (pcomplete--env-regexp): New var.
4744 (pcomplete-entries): Rewrite to work with partial-completion and
4745 without relying on pcomplete-suffix-list.
4746 (pcomplete-pare-list): Remove, unused.
4747
25aef8b8
MR
47482011-06-17 Martin Rudalics <rudalics@gmx.at>
4749
4750 * window.el (display-buffer-alist): Set pop-up-window-min-height
4751 and pop-up-window-min-width in default value. Reported by
4752 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4753 other-window-means-other-frame.
4754 (display-buffer-macro-specifiers): Comment out entry for
4755 other-window specifier.
4756 (display-buffer-other-window-means-other-frame): New function.
4757 (display-buffer-normalize-specifiers-1): New arguments
4758 buffer-name and label. Treat other-window case specially.
4759 (display-buffer-normalize-specifiers-2): Treat other-window case
4760 specially.
4761 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4762 (display-buffer-normalize-specifiers):
4763 Call display-buffer-normalize-specifiers-3.
25aef8b8 4764
dbad4f69
MR
47652011-06-17 Martin Rudalics <rudalics@gmx.at>
4766
4767 * window.el (same-window-p): Fix two typos introduced when
4768 adding with-no-warnings.
d1067961
MR
4769 (display-buffer-normalize-specifiers-1): Don't check
4770 pop-up-frames for 'unset initialization.
4771 (display-buffer-normalize-specifiers-2): Major rewrite using
4772 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4773 (pop-up-frames, display-buffer-reuse-frames)
4774 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4775 Suggested by David Engster <deng@randomsample.de>.
4776 (even-window-heights): Initialize to 'unset.
4777 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4778 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4779 other window case.
dbad4f69 4780
9b9c9e3a
MR
47812011-06-16 Martin Rudalics <rudalics@gmx.at>
4782
bcd70d97
SM
4783 * window.el (display-buffer-normalize-specifiers-1):
4784 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4785 second argument of display-buffer (Bug#8865).
981d5c09
MR
4786 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4787 (switch-to-buffer-other-window-same-frame)
4788 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4789 Adams (Bug#8875).
9c2755e9
MR
4790 (display-buffer): Don't check noninteractive when calling
4791 display-buffer-pop-up-frame.
4792 (display-buffer-pop-up-frame): Never pop up a frame in
4793 noninteractive mode (Bug#8857).
67222e1d
MR
4794 (enlarge-window, shrink-window): Don't report an error when the
4795 window can't be resized as requested (Bug#8862).
9b9c9e3a 4796
2b75be67
SM
47972011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4798
9ffdd3ba
SM
4799 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4800
cb581a67
SM
4801 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4802
2b75be67
SM
4803 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4804
8c0e3589
AM
48052011-06-15 Alan Mackenzie <acm@muc.de>
4806
cb581a67
SM
4807 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4808 for declarators, disable knr checking to speed up for normal files.
4809 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4810
b96e6cde
LMI
48112011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4812
4bba86e6
LMI
4813 * net/network-stream.el (open-network-stream): Add the keyword
4814 :always-query-capabilities for the case where you want to force a
4815 `plain' network connection, but the protocol still requires the
4816 capabilitiy command (i.e., SMTP and EHLO).
4817
2b75be67 4818 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4819 consistency with other `-live-p' functions.
4820
efdcdbf8
SM
48212011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * window.el (same-window-buffer-names, same-window-regexps)
4824 (special-display-frame-alist, special-display-popup-frame)
4825 (special-display-function, special-display-buffer-names)
4826 (special-display-regexps, pop-up-frame-alist)
4827 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4828 (pop-up-windows, split-window-preferred-function)
4829 (split-height-threshold, split-width-threshold, even-window-heights)
4830 (display-buffer-mark-dedicated): Don't encourage the use of
4831 display-buffer-alist from Elisp code.
4832
c5cde042
DN
48332011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4834
4835 * progmodes/python.el (python-mode): Derive from prog-mode.
4836 * progmodes/ps-mode.el (ps-mode):
4837 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4838 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4839 * progmodes/ld-script.el (ld-script-mode): Likewise.
4840
baa1c9ab
MR
48412011-06-15 Martin Rudalics <rudalics@gmx.at>
4842
4843 * window.el (display-buffer-alist): Trim default value to avoid
4844 popping up a new frame (Bug#8857) or reusing an arbitrary window
4845 on another frame.
4846 (display-buffer): Do not fall back on popping up a new frame in
4847 batch mode (Bug#8857).
4848
c5dd5a51
CY
48492011-06-14 Chong Yidong <cyd@stupidchicken.com>
4850
4851 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4852 (custom-theme-summary): New function.
4853 (customize-themes): Use it.
4854
d647b7c4
GM
48552011-06-13 Glenn Morris <rgm@gnu.org>
4856
4857 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4858
9481c002
MR
48592011-06-13 Martin Rudalics <rudalics@gmx.at>
4860
357f93d2
MR
4861 * help.el (help-window): Remove variable.
4862 (help-window-point-marker, temp-buffer-max-height)
4863 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4864 (help-print-return-message): Don't set help-window.
4865 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4866 (help-window-setup-finish): Remove.
4867 (help-window-display-message, help-window-setup)
4868 (with-help-window): Major rewrite based on new
4869 display-buffer-window variable.
4870
4871 * help-mode.el (help-mode-finish): Remove help-window related
4872 code.
4873
4874 * view.el (view-exits-all-viewing-windows): Remove reference to
4875 view-return-to-alist in doc-string.
4876 (view-return-to-alist): Make obsolete.
4877 (view-buffer): Call pop-to-buffer-same-window and remove
4878 undo-window code.
4879 (view-buffer-other-window): Call pop-to-buffer-other-window and
4880 simplify code. Ignore second argument.
4881 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4882 simplify code. Ignore second argument.
4883 (view-return-to-alist-update): Make obsolete.
4884 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4885 Rewrite using quit-restore window parameters.
2b75be67
SM
4886 (view-mode-exit): Rename second argument to EXIT-ONLY.
4887 Rewrite using quit-restore-window.
357f93d2
MR
4888 (View-exit, View-exit-and-edit, View-leave, View-quit)
4889 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4890 appropriate arguments.
4891 (view-end-message): Use quit-restore window parameter.
4892
9481c002
MR
4893 * window.el (display-buffer-function): Rewrite doc-string.
4894 (display-buffer-window, display-buffer-alist): New variables.
4895 (display-buffer-split-specifiers)
4896 (display-buffer-side-specifiers)
4897 (display-buffer-macro-specifiers): New constants.
4898 (display-buffer-even-window-sizes, display-buffer-set-height)
4899 (display-buffer-set-width, display-buffer-select-window)
4900 (display-buffer-in-window, display-buffer-reuse-window)
4901 (display-buffer-split-window-1, display-buffer-split-window)
4902 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4903 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4904 (display-buffer-in-side-window, normalize-buffer-to-display)
4905 (display-buffer-normalize-specifiers-1)
4906 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4907 (display-buffer-normalize-specifiers, display-buffer-frame):
4908 New functions.
9481c002
MR
4909 (display-buffer): Major rewrite.
4910 (display-buffer-other-window, display-buffer-other-frame)
4911 (pop-to-buffer, switch-to-buffer-other-window)
4912 (switch-to-buffer-other-frame): Rewrite.
4913 (display-buffer-same-window, display-buffer-same-frame)
4914 (display-buffer-same-frame-other-window)
4915 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4916 (pop-to-buffer-other-window)
4917 (pop-to-buffer-same-frame-other-window)
4918 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4919 (switch-to-buffer-other-window-same-frame): New functions.
4920 (same-window-p, special-display-p): Rewrite disabling warnings.
4921 Make obsolete.
4922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4923 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4924 Make obsolete
4925 (same-window-buffer-names, same-window-regexps)
4926 (special-display-frame-alist, special-display-popup-frame)
4927 (special-display-function, special-display-buffer-names)
4928 (special-display-regexps, pop-up-frame-alist)
4929 (pop-up-frame-function, split-window-preferred-function)
4930 (split-height-threshold, split-width-threshold)
4931 (even-window-heights): Make obsolete.
4932
9db51aca
GM
49332011-06-12 Glenn Morris <rgm@gnu.org>
4934
4935 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4936 Misc simplifications.
9db51aca 4937
39cffb44
MR
49382011-06-12 Martin Rudalics <rudalics@gmx.at>
4939
4940 * window.el (window-safely-shrinkable-p): Restore function which
4941 was inadvertently removed in change from 2011-06-11. Declare as
4942 obsolete.
4943
2b75be67
SM
4944 * calendar/calendar.el (calendar-generate-window):
4945 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4946 window-safely-shrinkable-p.
4947
a8955be7
GM
49482011-06-12 Glenn Morris <rgm@gnu.org>
4949
4950 * progmodes/fortran.el (fortran-mode-syntax-table):
4951 * progmodes/f90.el (f90-mode-syntax-table):
4952 Set % to punctuation. (Bug#8820)
4953 (f90-find-tag-default): Remove, no longer needed.
4954
f0d4059d
DC
49552011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4956
4957 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4958
1100a63c
CY
49592011-06-11 Chong Yidong <cyd@stupidchicken.com>
4960
4961 * image.el (image-animated-p): Return animation delay in seconds.
4962 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4963 (image-animate-timeout): Remove DELAY argument. Don't assume
4964 every subimage has the same delay; get it from image-animated-p.
4965 (image-animate): Caller changed.
4966
def722bf
MA
49672011-06-11 Michael Albinus <michael.albinus@gmx.de>
4968
4969 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4970 to ignored backtrace functions.
4971
0a2bb1a9
GM
49722011-06-11 Glenn Morris <rgm@gnu.org>
4973
4974 * calendar/appt.el (appt-disp-window-function): Doc fix.
4975 (appt-check): Handle overlapping appointments. (Bug#8337)
4976
6198ccd0
MR
49772011-06-11 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (window-tree-1, window-tree): New functions, moving
4980 the latter to window.el.
4981 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4982 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4983 (bw-refresh-edges): Remove.
4984 (balance-windows-1, balance-windows-2): New functions.
4985 (balance-windows): Rewrite in terms of window tree functions,
4986 balance-windows-1 and balance-windows-2.
4987 (bw-adjust-window): Remove.
4988 (balance-windows-area-adjust): New function with functionality of
4989 bw-adjust-window but using resize-window.
2b75be67
SM
4990 (set-window-text-height): Rewrite doc-string.
4991 Use normalize-live-window and resize-window.
4992 (enlarge-window-horizontally, shrink-window-horizontally):
4993 Rename argument to DELTA.
6198ccd0
MR
4994 (window-buffer-height): New function.
4995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4996 Rewrite using new window resize routines.
2b75be67
SM
4997 (kill-buffer-and-window, mouse-autoselect-window-select):
4998 Use ignore-errors instead of condition-case.
6198ccd0
MR
4999 (quit-window): Call delete-frame instead of delete-windows-on
5000 for the only buffer on frame.
5001
9397e56f
MR
50022011-06-10 Martin Rudalics <rudalics@gmx.at>
5003
5004 * loadup.el (top-level): Load window before files for the sake
5005 of replace-buffer-in-windows.
5006
5007 * files.el (read-buffer-to-switch)
5008 (switch-to-buffer-other-window)
2b75be67
SM
5009 (switch-to-buffer-other-frame, display-buffer-other-frame):
5010 Move to window.el.
9397e56f
MR
5011
5012 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5013 (previous-buffer): Move to window.el.
5014
5015 * bindings.el (unbury-buffer): Move to window.el.
5016
5017 * window.el (delete-other-windows-vertically): Move after
5018 definition of delete-other-windows.
5019 (other-window, delete-windows-on, replace-buffer-in-windows):
5020 Move here from window.c.
5021 (record-window-buffer, unrecord-window-buffer)
5022 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5023 (switch-to-next-buffer): New functions.
5024 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5025 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5026 (previous-buffer): Move here from simple.el.
5027 Call switch-to-prev-buffer.
9397e56f
MR
5028 (bury-buffer): Move here from buffer.c. Switch to previous
5029 buffer when window cannot be deleted.
5030 (unbury-buffer): Move here from bindings.el.
5031 (ctl-x-map): Move binding for other-window from window.c to
5032 here.
5033 (read-buffer-to-switch, switch-to-buffer-other-window)
5034 (switch-to-buffer-other-frame): Move here from files.el.
5035 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5036 (switch-to-buffer): Move here from buffer.c.
5037 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5038
562dd5e9
MR
50392011-06-10 Martin Rudalics <rudalics@gmx.at>
5040
5041 * window.el (window-min-height, window-min-width): Move here
5042 from window.c. Add defcustoms and rewrite doc-strings.
5043 (resize-mini-window, resize-window): New functions.
5044 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5045 Move here from window.c.
5046 (maximize-window, minimize-window): New functions.
5047 (delete-window, delete-other-windows, split-window): Move here
5048 from window.c.
5049 (window-split-min-size): New function.
5050 (split-window-keep-point): Mention split-window-above-each-other
5051 instead of split-window-vertically.
2b75be67
SM
5052 (split-window-above-each-other, split-window-vertically):
5053 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5054 provide defalias for old definition.
5055 (split-window-side-by-side, split-window-horizontally): Rename
5056 split-window-horizontally to split-window-side-by-side and provide
5057 defalias for the old definition.
5058 (ctl-x-map): Move bindings for delete-window,
5059 delete-other-windows and enlarge-window here from window.c.
5060 Replace bindings for split-window-vertically and
5061 split-window-horizontally by bindings for
5062 split-window-above-each-other and split-window-side-by-side.
5063
5064 * cus-start.el (all): Remove entries for window-min-height and
5065 window-min-width. Add entries for window-splits and
5066 window-nest.
5067
f0da764a
GM
50682011-06-09 Glenn Morris <rgm@gnu.org>
5069
80675c21
GM
5070 * calendar/appt.el (appt-mode-line): New function.
5071 (appt-check, appt-disp-window): Use it.
5072
f0da764a
GM
5073 * files.el (hack-one-local-variable-eval-safep):
5074 Allow minor-modes with explicit +/-1 arguments.
5075
59f623b7
TZ
50762011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5077
5078 * term/xterm.el (xterm): Add defgroup.
5079 (xterm-extra-capabilities): Add defcustom to supply known xterm
5080 capabilities, skip querying them, or query them (default).
5081 (terminal-init-xterm): Use it.
5082 (terminal-init-xterm-modify-other-keys): New function to set up
5083 modifyOtherKeys support to simplify `terminal-init-xterm'.
5084
9aab8e0d
MR
50852011-06-09 Martin Rudalics <rudalics@gmx.at>
5086
5087 * window.el (resize-window-reset, resize-window-reset-1)
5088 (resize-subwindows-skip-p, resize-subwindows-normal)
5089 (resize-subwindows, resize-other-windows, resize-this-window)
5090 (resize-root-window, resize-root-window-vertically)
5091 (window-deletable-p, window-or-subwindow-p)
5092 (frame-root-window-p): New functions.
5093
e8b08aee
GM
50942011-06-09 Glenn Morris <rgm@gnu.org>
5095
5096 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5097 (ange-ftp-get-files): Use it.
5098
254c37a5
AK
50992011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5100
5101 * mail/sendmail.el (mail-recover-1, mail-recover):
5102 * files.el (recover-file, recover-session):
5103 Handle dired-listing-switches not being just a single short option.
5104
35d7dbd3
GM
51052011-06-09 Glenn Morris <rgm@gnu.org>
5106
5107 * calendar/appt.el (appt-display-message, appt-disp-window):
5108 Handle lists of appointments.
5109
387522b2
MR
51102011-06-08 Martin Rudalics <rudalics@gmx.at>
5111
2b75be67
SM
5112 * window.el (one-window-p): Move down in code.
5113 Rewrite doc-string.
5114 (window-current-scroll-bars): Rewrite doc-string.
5115 Normalize live window argument.
387522b2
MR
5116 (walk-windows, get-window-with-predicate, count-windows):
5117 Rewrite doc-string. Use window-list-1.
5118 (window-in-direction-2, window-in-direction, get-mru-window):
5119 New functions.
5120
d8e4b68b 51212011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5122
5123 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5124 Doc fix (Bug#8713).
5125
51262011-06-08 Chong Yidong <cyd@stupidchicken.com>
5127
5128 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5129
51302011-06-08 Juanma Barranquero <lekktu@gmail.com>
5131
5132 * loadhist.el (unload-feature-special-hooks):
5133 Add `comint-output-filter-functions'.
5134
0de12c52
IK
51352011-06-08 Ivan Kanis <gnu@kanis.fr>
5136
5137 * calendar/appt.el (appt-check): Move some initializations into the let.
5138
f3d1777e
MR
51392011-06-08 Martin Rudalics <rudalics@gmx.at>
5140
5141 * window.el (window-height): Defalias to window-total-height.
5142 (window-width): Defalias to window-body-width.
5143
18af70d0
CY
51442011-06-07 Chong Yidong <cyd@stupidchicken.com>
5145
5146 * image-mode.el (image-toggle-animation): New command.
5147 (image-mode-map): Bind it to RET.
5148 (image-mode): Update message.
5149 (image-toggle-display-image): Avoid a spurious cache flush.
5150 (image-transform-rotation): Doc fix.
5151 (image-transform-properties): Return quickly in the normal case.
5152 (image-animate-loop): Rename from image-animate-max-time.
5153
2b75be67 5154 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5155 (create-animated-image): Remove unnecessary function.
5156 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5157 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5158 (image-animate-timer): Use car-safe.
5159 (image-animate-timeout): Rename argument.
5160
190b47e6
MR
51612011-06-07 Martin Rudalics <rudalics@gmx.at>
5162
5163 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5164 window.c. Rename first argument to ALL-FRAMES.
5165 Rephrase doc-strings.
5166 (get-buffer-window-list): Rewrite using window-list-1.
5167 Rephrase doc-string.
a1511caf
MR
5168 (window-safe-min-height, window-safe-min-width): New constants.
5169 (window-size-ignore, window-min-size, window-min-size-1)
5170 (window-sizable, window-sizable-p, window-size-fixed-1)
5171 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5172 (window-max-delta-1, window-max-delta, window-resizable)
5173 (window-resizable-p, window-total-height, window-total-width)
5174 (window-body-width): New functions.
5175 (window-full-height-p, window-full-width-p): Rewrite using
5176 window-total-size.
5177 (window-body-height): Rewrite using window-body-size.
190b47e6 5178
85cc1f11
MR
51792011-06-06 Martin Rudalics <rudalics@gmx.at>
5180
5181 * window.el (window-right, window-left, window-child)
5182 (window-child-count, window-last-child, window-any-p)
5183 (normalize-live-buffer, normalize-live-frame)
5184 (normalize-any-window, normalize-live-window)
5185 (window-iso-combination-p, window-iso-combined-p)
5186 (window-iso-combinations)
5187 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5188 (windows-with-parameter, window-with-parameter)
5189 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5190 (window-atom-check, window-side-check, window-check):
5191 New functions.
85cc1f11
MR
5192 (ignore-window-parameters, window-sides, window-sides-vertical)
5193 (window-sides-slots): New variables.
5194 (window-size-fixed): Move down in code. Minor doc-string fix.
5195
e7156492
AS
51962011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5197
5198 * comint.el (comint-dynamic-complete-as-filename)
5199 (comint-dynamic-complete-filename): Correctly call
5200 completion-in-region.
5201
7e821d0d
DD
52022011-06-05 Deniz Dogan <deniz@dogan.se>
5203
5204 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5205 in last change.
5206
ac09b8a1
DD
52072011-06-05 Deniz Dogan <deniz@dogan.se>
5208
5209 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5210 (rcirc): Use it to prompt for encryption.
5211
34699b85
RW
52122011-06-05 Roland Winkler <winkler@gnu.org>
5213
5214 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5215 (bibtex-search-entries): New command bound to C-c C-a.
5216 (bibtex-display-entries): New function.
5217
004dedd3
RW
52182011-06-05 Roland Winkler <winkler@gnu.org>
5219
5220 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5221 (bibtex-insert-kill): After yanking insert newline if necessary.
5222 (bibtex-initialize): Call bibtex-string-files-init only once.
5223 (bibtex-mode): Do not call easy-menu-add.
5224 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5225 (bibtex-yank): Set arg properly if nil.
5226
022fe7ce
RW
52272011-06-05 Roland Winkler <winkler@gnu.org>
5228
2b75be67
SM
5229 * textmodes/bibtex.el (bibtex-search-entry-globally):
5230 New variable.
022fe7ce
RW
5231 (bibtex-search-entry): Use it.
5232
b7c3692a
RW
52332011-06-05 Roland Winkler <winkler@gnu.org>
5234
5235 * textmodes/bibtex.el (bibtex-entry-format): New option
5236 sort-fields.
5237 (bibtex-format-entry, bibtex-reformat): Honor this option.
5238 (bibtex-parse-entry): Return fields in proper order.
5239
8eda563d
JB
52402011-06-05 Juanma Barranquero <lekktu@gmail.com>
5241
5242 * doc-view.el (doc-view-remove-if): Move computation of result out
5243 of `dolist' to silence misleading lexical-binding warning.
5244
7dbe3dbc
CY
52452011-06-04 Chong Yidong <cyd@stupidchicken.com>
5246
5247 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5248 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5249
0c33dd17
MA
52502011-06-04 Michael Albinus <michael.albinus@gmx.de>
5251
5252 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5253 "SunOS 5.10".
5254
f8f91c2b
MA
52552011-06-04 Michael Albinus <michael.albinus@gmx.de>
5256
5257 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5258 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5259 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5260 (tramp-parse-putty):
5261 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5262 (tramp-completion-function-alist-ssh)
5263 (tramp-completion-function-alist-telnet)
5264 (tramp-completion-function-alist-su)
5265 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5266 cookie.
5267
5268 * net/tramp-ftp.el:
5269 * net/tramp-sh.el:
5270 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5271 load "tramp.el" `tramp-set-completion-function'.
5272
e17d9003
SM
52732011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * shell.el: Require and use pcomplete.
5276 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5277 (shell-completion-vars): Set pcomplete-default-completion-function.
5278
6c4cab03
DD
52792011-06-04 Deniz Dogan <deniz@dogan.se>
5280
5281 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5282 `memq' (Bug#8799).
5283
ea9fafe0
SM
52842011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5287
b3e945d3
JB
52882011-06-02 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5291 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5292 * vc/log-view.el (log-view-beginning-of-defun):
5293 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5294 (smerge-refine-forward, smerge-refine-chopup-region):
5295 Silence warning for unused `dotimes' counter variables.
5296
7d520089
SM
52972011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * net/tramp.el (tramp-with-progress-reporter): Rename from
5300 with-progress-reporter. Use `declare'.
5301 * net/tramp-smb.el:
5302 * net/tramp-sh.el:
5303 * net/tramp-gvfs.el: Update all uses.
5304
a1c2400f
JB
53052011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5306
5307 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5308 buffer isn't killed before making it current.
5309
2403c841
SM
53102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 Silence various byte-compiler warnings.
5313 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5314 `access-type' and new obsolescence format.
5315 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5316 new format.
5317 (byte-compile-check-variable): New `access-type' argument.
5318 Only warn if the access-type is obsolete.
5319 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5320 (byte-compile-variable-set): Adjust callers.
5321 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5322 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5323 setting it as obsolete.
5324 * simple.el (minibuffer-completing-symbol):
5325 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5326 access as obsolete.
5327 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5328 obsolete yet.
5329 * international/quail.el (quail-mouse-choose-completion): Remove unused
5330 code referring to obsolete var.
5331 (quail-choose-completion-string): Remove.
5332 * server.el (server-clients-with, server-kill-buffer-query-function)
5333 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5334 * proced.el (proced-send-signal):
5335 * emacs-lisp/lisp.el (lisp-complete-symbol):
5336 Replace completion-annotate-function with completion-extra-properties.
5337
2462470b
SM
53382011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5339
fb5b2591
SM
5340 * simple.el (goto-line): Use read-number.
5341 (overriding-map-is-bound): Remove.
5342 (saved-overriding-map): Change default.
5343 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5344 Take the map as argument.
5345 (universal-argument, negative-argument, digit-argument): Use it.
5346 (restore-overriding-map): Adjust.
5347 (do-auto-fill): Use fill-forward-paragraph.
5348 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5349
fd6fa53f
SM
5350 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5351 (minibuffer-inactive-mode): New major mode.
5352 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5353 the *Messages* buffer" hack.
5354 (mouse-popup-menubar): Don't burp if the event is a normal key.
5355
2462470b
SM
5356 Miscellaneous tweaks.
5357 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5358 lexical scoping as in subr.el's dolist and dotimes.
5359 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5360 Silence compiler warning.
5361 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5362 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5363 * international/ccl.el (ccl-compile): Trivial simplification.
5364 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5365 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5366 `printflag' argument.
5367 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5368 Purecopy the whole obsolescence data.
5369
108bf785
LL
53702011-06-01 Leo Liu <sdl.web@gmail.com>
5371
5372 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5373 improve doc-string as suggested by Marco Pessotto
5374 <melmothx@gmail.com>.
5375 (rcirc-print): Fix last change.
5376
30a23501
SM
53772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * minibuffer.el (complete-with-action): Return nil for the metadata and
5380 boundaries of non-functional tables.
5381 (completion-table-dynamic): Return nil for the metadata.
5382 (completion-table-with-terminator): Add default case, using
5383 complete-with-action.
5384 (completion--metadata): New function.
5385 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5386 to try and avoid pathological performance problems.
5387 (completion--embedded-envvar-table): Return `category' metadata.
5388
bcd54f83
LMI
53892011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5390
5391 * subr.el (process-alive-p): New tiny convenience function.
5392
e227544d
SM
53932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5396 content but also its previous major mode.
5397
e8296fdc
HE
53982011-05-31 Helmut Eller <eller.helmut@gmail.com>
5399
4d61f28d 5400 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5401 *Backtrace* buffer when we exit with C-M-c.
5402
620c53a6
SM
54032011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * minibuffer.el: Add metadata method to completion tables.
5406 (completion-category-overrides): New defcustom.
5407 (completion-metadata, completion--field-metadata)
5408 (completion-metadata-get, completion--styles)
5409 (completion--cycle-threshold): New functions.
5410 (completion-try-completion, completion-all-completions):
5411 Add `metadata' argument to choose completion-styles.
5412 (completion--do-completion): Use metadata to choose cycling.
5413 (completion-all-sorted-completions): Use metadata for sorting.
5414 Remove :completion-cycle-penalty which is not needed any more.
5415 (completion--try-word-completion): Add `metadata' argument.
5416 (minibuffer-completion-help): Check metadata for annotation function
5417 and sorting.
5418 (completion-file-name-table): Return `category' metadata.
5419 (minibuffer-completing-file-name): Make obsolete.
5420 * simple.el (minibuffer-completing-symbol): Make obsolete.
5421 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5422 completion-try-completion.
5423
1257e755
SM
54242011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5427
3767e706
LL
54282011-05-30 Leo Liu <sdl.web@gmail.com>
5429
5430 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5431 (rcirc-print): Decode all incoming messages (bug#8744).
5432 (rcirc-decode-coding-system): Allow value nil for automatic coding
5433 system detection.
3767e706 5434
d1a5d56a
GM
54352011-06-01 Glenn Morris <rgm@gnu.org>
5436
5437 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5438
e8cbec34
CY
54392011-05-29 Chong Yidong <cyd@stupidchicken.com>
5440
5441 * image.el (image-animate-max-time): Allow nil and t values.
5442 Default to nil.
5443 (create-animated-image): Doc fix.
5444 (image-animate-start): Remove second arg; just use
5445 image-animate-max-time.
5446 (image-animate-timeout): Doc fix. Args changed.
5447
5448 * image-mode.el (image-toggle-display-image): Ensure that the
5449 image spec passed to the animate timer is the same object as in
5450 the the buffer's display property (Bug#6981).
5451 (image-transform-properties): Doc fix.
5452
5453 * image.el (image-animate-max-time): Default to nil.
5454
159daf87
MR
54552011-05-29 Martin Rudalics <rudalics@gmx.at>
5456
5457 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5458 entire buffer list (Bug#8184).
5459
d66c4c7c
CY
54602011-05-29 Chong Yidong <cyd@stupidchicken.com>
5461
5462 * image.el (imagemagick-types-inhibit)
5463 (imagemagick-register-types): Doc fix.
5464
80aec780
DD
54652011-05-29 Deniz Dogan <deniz@dogan.se>
5466
5467 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5468 default.
5469
1dd3c2d9
CY
54702011-05-29 Chong Yidong <cyd@stupidchicken.com>
5471
5472 * select.el: Don't perform clipboard-manager saving in hooks;
5473 leave the hooks empty.
5474
60e56523
LL
54752011-05-28 Leo Liu <sdl.web@gmail.com>
5476
5477 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5478 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5479 (occur-edit-mode): New major mode (Bug#8463).
5480 (occur-after-change-function): New function.
5481 (occur-engine): Give Occur tags a read-only property.
5482
2b1e1a22
KR
54832011-05-28 Kevin Ryde <user42@zip.com.au>
5484
5485 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5486
5d344e88
CY
54872011-05-28 Chong Yidong <cyd@stupidchicken.com>
5488
8e6ca83d
CY
5489 * bindings.el (help-echo): Make the initial non-indicator dash
5490 empty on graphical terminals (Bug#7295).
5491
5d344e88
CY
5492 * files.el (auto-mode-alist): Move config rule after the
5493 in-stripping one (Bug#8547).
5494
bfbbace7
CY
5495 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5496
fbeba6e2
CY
5497 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5498 setting (Bug#8740).
5499
60ed8c72
AA
55002011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5501
4ac619f0
AA
5502 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5503 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5504 (Bug#8539).
60ed8c72 5505
23db196e
CY
55062011-05-28 Chong Yidong <cyd@stupidchicken.com>
5507
5508 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5509
5012f24c
DK
55102011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5511
5512 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5513 (hs-hide-block-at-point, hs-find-block-beginning)
5514 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5515 (Bug#8279).
5516
6a639b16
GM
55172011-05-28 Glenn Morris <rgm@gnu.org>
5518
5519 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5520
d43eaf2c
CY
55212011-05-28 Chong Yidong <cyd@stupidchicken.com>
5522
5199bde1
CY
5523 * help-fns.el (describe-function-1): If the function is a derived
5524 major mode, print the parent mode.
5525
d43eaf2c
CY
5526 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5527 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5528
423428a8
SM
55292011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5530
0ff8e1ba
SM
5531 * minibuffer.el (completion--capf-wrapper): Check applicability before
5532 retuning non-nil for non-exclusive completion data.
5533 * progmodes/etags.el (tags-completion-at-point-function):
5534 * info-look.el (info-lookup-completions-at-point): Mark as
5535 non-exclusive.
5536 (info-complete): Adjust accordingly.
5537
423428a8
SM
5538 * info-look.el: Convert to lexical-binding and completion-at-point.
5539 (info-lookup-completions-at-point): New function.
5540 (info-complete): Use it and completion-in-region.
5541
b74aa22b
DA
55422011-05-28 Drew Adams <drew.adams@oracle.com>
5543
5544 * isearch.el: Let M-e start with point at the first mismatched char.
5545 (isearch-fail-pos): New function.
5546 (isearch-edit-string): Use it.
5547
66e2e71d
DK
55482011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5549
5550 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5551
eb95d01d
TC
55522009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5553
5554 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5555 traversal functions for avl-trees.
5556 (avl-tree--stack): New struct.
5557 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5558 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5559 (avl-tree--do-enter): Add optional `updatefun' arg.
5560 Change return value.
eb95d01d 5561 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5562 (avl-tree--do-delete): Add `test' and `nilflag' args.
5563 Change return value.
eb95d01d
TC
5564 (avl-tree-member): Add optional `nilflag'
5565 (avl-tree-member-p): New function.
5566 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5567 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5568 (avl-tree-stack-empty-p): New functions.
5569
3769ddcf
TC
55702009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5571
5572 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5573 avl-tree--del-balance1 and make it work both ways.
5574 (avl-tree--del-balance2): Remove.
5575 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5576 make it work both ways.
5577 (avl-tree--enter-balance2): Remove.
5578 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5579 New macros.
5580 (avl-tree--mapc, avl-tree-map): Add direction argument.
5581
eb95d01d 55822011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5583
5584 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5585
a9f737ee
CY
55862011-05-27 Chong Yidong <cyd@stupidchicken.com>
5587
5588 * select.el: Support clipboard managers with built-in function
5589 x-clipboard-manager-save, via delete-frame-functions and
5590 kill-emacs-hook.
5591 (xselect-convert-to-targets): Add MULTIPLE target to list.
5592 (xselect-convert-to-save-targets): New function.
5593
c92a1e54
KH
55942011-05-27 Kenichi Handa <handa@m17n.org>
5595
5596 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5597 let-binding rfc2047-encode-encoded-words to nil.
5598
e145f188
GM
55992011-05-27 Glenn Morris <rgm@gnu.org>
5600
5ec8a862
GM
5601 * mail/emacsbug.el: Don't require url-util.
5602
4b29d9fb
GM
5603 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5604
e145f188
GM
5605 * files.el (set-auto-mode):
5606 Also respect mode: entries at the end of the file. (Bug#8586)
5607
7d15102b
GM
56082011-05-26 Glenn Morris <rgm@gnu.org>
5609
98f593b8
GM
5610 * files.el (hack-local-variables-prop-line, hack-local-variables):
5611 Downcase mode names, as seems to be traditional.
27b48e63 5612 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5613
7d15102b
GM
5614 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5615 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5616
51d5b4ec
JD
56172011-05-25 Julien Danjou <julien@danjou.info>
5618
5619 * textmodes/rst.el (rst-define-level-faces): Do not define face
5620 symbol if it is already defined.
5621
91513f63
VB
56222011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5623
5624 * play/5x5.el (5x5-new-game, 5x5-randomize):
5625 Reset 5x5-solver-output to nil when a new grid is cast.
5626 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5627 these debugging traces, as defmacro breaks the compiled code.
5628
4d90d6d0
DK
56292011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5630
5631 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5632
e1b90ef6
LL
56332011-05-24 Leo Liu <sdl.web@gmail.com>
5634
5635 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5636 (vc-bzr-sha1): Adapt.
5637
d8e4b68b 5638 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5639
5640 * bindings.el: Provide sha1 feature.
5641
db0406bb 56422011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5643
5644 * mail/sendmail.el: Require `rfc2047'.
5645 (mail-insert-from-field): Do not perform RFC2047 encoding.
5646 (mail-encode-header): New function.
5647 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5648 buffer to the return value of select-message-coding-system.
5649 Call mail-encode-header.
b8d747b9
KH
5650
5651 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5652
db0406bb 56532011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5654
4d90d6d0
DK
5655 * mail/supercite.el (sc-default-cite-frame):
5656 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5657
eb8a5e9b
GM
56582011-05-24 Glenn Morris <rgm@gnu.org>
5659
f8630703
GM
5660 * progmodes/python.el (brm-menu): Declare.
5661
8831bbed
GM
5662 * emulation/viper.el (viper-set-hooks): Declare.
5663
eb8a5e9b
GM
5664 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5665 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5666 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5667 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5668 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5669 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5670
a2a25d24
SM
56712011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 Add an :exit-function for completion-at-point.
5674
5675 * minibuffer.el (completion--done): New fun.
5676 (completion--do-completion): Use it. New arg `expect-exact'.
5677 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5678 since completion--do-completion does it for us now.
5679 (minibuffer-force-complete): Use completion--done and
5680 completion--replace. Handle sole-completion case with more care.
5681 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5682 (completion-extra-properties): New var.
5683 (completion-annotate-function): Make obsolete.
5684 (minibuffer-completion-help): Adjust accordingly.
5685 Use completion-list-insert-choice-function.
5686 (completion-at-point, completion-help-at-point):
5687 Bind completion-extra-properties.
5688 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5689 * simple.el (completion-list-insert-choice-function): New var.
5690 (completion-setup-function): Preserve it.
5691 (choose-completion): Pay attention to it, shuffle the code a bit.
5692 (choose-completion-string): New arg `insert-function'.
5693
5694 * textmodes/bibtex.el: Convert to lexical binding.
5695 (bibtex-mode-map): Use completion-at-point.
5696 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5697 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5698 (bibtex-complete): Define as obsolete alias.
5699 (bibtex-complete-internal): Remove.
5700 (bibtex-format-entry): Remove unused sub-group in regexp.
5701 * shell.el (shell--command-completion-data)
5702 (shell-environment-variable-completion):
5703 * pcomplete.el (pcomplete-completions-at-point):
5704 * comint.el (comint--complete-file-name-data): Use :exit-function
5705 instead of completion-table-with-terminator so it also works for
5706 choose-completion.
5707
e44e373d
SM
57082011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5709
4f91a816
SM
5710 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5711
782fc819
SM
5712 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5713 (bug#8710).
5714
e44e373d
SM
5715 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5716
381987c3
KM
57172011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5718
5719 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5720 customization variable and implement: If non-nil, auto-fill will
5721 be inhibited while on topic's header line.
5722
b776bc70
VB
57232011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5724
5725 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5726 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5727 always have a solution in grid size = 5 cases.
5728 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5729 (5x5-solver-output, 5x5-log-buffer): New vars.
5730 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5731 Make these variables buffer local to achieve 5x5 multi-session-ness.
5732 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5733 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5734 (5x5-solve-suggest): New funs.
5735 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5736 randomize a grid so that we ensure that there is always a solution.
5737 (5x5-make-random-grid): Allow other movement than flipping.
5738
7de88b6e
KR
57392011-05-23 Kevin Ryde <user42@zip.com.au>
5740
5741 * emacs-lisp/advice.el (ad-read-advised-function):
5742 Use `function-called-at-point' as the default default, if it has
5743 advice and passes PREDICATE.
5744
b1ef1257
SM
57452011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5746
bbca48fe
SM
5747 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5748 byte-compile-lambda if it's actually a lambda.
5749
b1ef1257
SM
5750 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5751 Fix function quoting. Use backquote better.
5752
92a9cc65
YS
57532011-05-22 Yuanle Song <sylecn@gmail.com>
5754
5755 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5756 matching (Bug#8516).
5757
f0fb8059
JA
57582011-01-22 Jari Aalto <jari.aalto@cante.net>
5759
5760 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5761 different face (Bug#8178).
5762
d5b44c93
CY
57632011-05-22 Chong Yidong <cyd@stupidchicken.com>
5764
5765 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5766 defface (Bug#8144).
5767
79106a44
SM
57682011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5769
9c848d8a
SM
5770 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5771 funcall as well (bug#8712). Warn when performing those conversions.
5772 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5773
79106a44
SM
5774 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5775
88dfa756
GM
57762011-05-22 Glenn Morris <rgm@gnu.org>
5777
5778 * files.el (hack-local-variables-prop-line): Small simplifications.
5779 (hack-local-variables, hack-local-variables-prop-line):
5780 If MODE-ONLY, return the mode, rather than just `t'.
5781
b7cf2c79
SM
57822011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5785
3f1a8558
GM
57862011-05-21 Glenn Morris <rgm@gnu.org>
5787
7e4ccca3
GM
5788 * files.el (hack-local-variables-prop-line, hack-local-variables):
5789 If only interested in the mode, don't bother doing the other stuff.
5790
637d46ca
GM
5791 * image-mode.el (image-after-revert-hook):
5792 Redraw all frames on which the image is visible. (Bug#8567)
5793
973d955b
GM
5794 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5795
3f1a8558
GM
5796 * wid-edit.el (widget-checklist-match-inline):
5797 Fix 2011-04-19 change. (Bug#8649)
5798
96479927
SM
57992011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5800
1dcf791f
SM
5801 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5802 Also allow singlespace after single-letter capitals followed by a dot.
5803
96479927
SM
5804 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5805 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5806
35fd0881
N
58072011-05-20 Nix <nix@esperi.org.uk>
5808
5809 * files.el (basic-save-buffer-2):
5810 Fix handling of break-hardlink-on-save with non-existent files.
5811
82745640
DD
58122011-05-19 Deniz Dogan <deniz@dogan.se>
5813
5814 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5815 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5816
4a720484
GM
58172011-05-19 Glenn Morris <rgm@gnu.org>
5818
d1f21341
GM
5819 * progmodes/f90.el (f90-type-def-re):
5820 Handle "type, bind(c)". (Bug#8691)
5821
4a720484
GM
5822 * emacs-lisp/autoload.el (batch-update-autoloads):
5823 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5824
2fb0a219
MA
58252011-05-18 Michael Albinus <michael.albinus@gmx.de>
5826
5827 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5828 property for the correct connection in case of multihops.
5829
e565dd37
GM
58302011-05-18 Glenn Morris <rgm@gnu.org>
5831
c2571358 5832 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5833 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5834
e565dd37
GM
5835 Rationalize calendar handling of day and month abbrev-arrays.
5836 * calendar/calendar.el (calendar-customized-p): New function.
5837 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5838 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5839 Add :set function.
5840 (calendar-abbrev-length, calendar-day-abbrev-array)
5841 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5842 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5843 Elements may no longer be nil.
5844 (calendar-day-name, calendar-month-name):
5845 Update for changed nature of abbrev arrays.
5846 * calendar/diary-lib.el (diary-name-pattern):
5847 Update for changed nature of abbrev arrays.
5848 (diary-mark-entries-1): Update calendar-make-alist calls.
5849 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5850 * calendar/cal-html.el (cal-html-day-abbrev-array):
5851 Simply inherit from calendar-day-abbrev-array.
5852
1d99a745
SM
58532011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * progmodes/grep.el (grep-mode): Disable default
5856 compilation-directory-matcher setting (bug#8684).
5857
7c1d9aa0
MA
58582011-05-17 Michael Albinus <michael.albinus@gmx.de>
5859
5860 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5861 instead of "head" and "tail". There were problems with SunOS 5.9,
5862 and it performs better.
5863
3952e9d8
GM
58642011-05-17 Glenn Morris <rgm@gnu.org>
5865
2dd12e7f
GM
5866 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5867
e4157b9c
GM
5868 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5869 Replace obsolete function.
5870
8e249bbd
GM
5871 * shell.el (pcomplete-parse-arguments-function): Declare.
5872
3952e9d8
GM
5873 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5874 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5875 (appt-check): Doc fixes.
5876 (appt-disp-window-function, appt-delete-window-function):
5877 Remove needless special case in custom :type.
5878 (appt-display-count): Default to 0, not nil.
5879 (appt-check): Reset appt-display-count to 0, not nil.
5880
c71a0d48 58812011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5882
c71a0d48
GM
5883 * progmodes/python.el (python-font-lock-keywords):
5884 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5885
31d55be9
SM
58862011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5889
3bfacb2f
KR
58902011-05-16 Kevin Ryde <user42@zip.com.au>
5891
5892 * info-look.el (makefile-automake-mode): New setups, looking in
5893 automake manual, then makefile-mode.
5894 (makefile-mode): Remove automake manual, have it just in
5895 makefile-automake-mode since there's various things different or
5896 not relevant to plain make.
5897 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5898 believe a hypothetical automake-mode would go to makefile-mode,
5899 not the other way around.
5900
c8e83751
CY
59012011-05-15 Chong Yidong <cyd@stupidchicken.com>
5902
5e9e35cd
CY
5903 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5904 hunk-end tags (Bug#8672).
5905
c8e83751
CY
5906 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5907 vc-annotate-show-diff-revision-at-line (Bug#8671).
5908
50b23e5a
GM
59092011-05-14 Glenn Morris <rgm@gnu.org>
5910
7210a739
GM
5911 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5912 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5913 (change-log-font-lock-keywords): Also handle multiple author lines
5914 with leading tabs. (Bug#8644)
7210a739 5915
4691905a
GM
5916 * calendar/appt.el (appt-check): Rename some local variables.
5917 Some simplification/reordering.
5918
50b23e5a
GM
5919 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5920 (feedmail-sendmail-f-doesnt-sell-me-out)
5921 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5922 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5923 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5924 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5925 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5926 (feedmail-binmail-gnulinuxish-template):
5927 Rename from feedmail-binmail-linuxish-template.
5928 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5929 Use insert-buffer-substring.
5930
215cda7c
BC
59312011-05-14 Bill Carpenter <bill@carpenter.org>
5932
5933 * mail/feedmail.el (feedmail-patch-level): Increase.
5934 (feedmail-debug): New custom group.
5935 (feedmail-confirm-outgoing-timeout)
5936 (feedmail-sendmail-f-doesnt-sell-me-out)
5937 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5938 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5939 (feedmail-sender-line, feedmail-from-line)
5940 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5941 (feedmail-spray-this-address)
215cda7c
BC
5942 (feedmail-spray-address-fiddle-plex-list)
5943 (feedmail-queue-use-send-time-for-date)
5944 (feedmail-queue-use-send-time-for-message-id)
5945 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5946 (feedmail-buffer-eating-function):
5947 Doc fixes.
5948 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5949 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5950 (feedmail-message-action-scroll-down): New functions.
5951 (feedmail-queue-directory, feedmail-queue-draft-directory):
5952 Use expand-file-name.
5953 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5954 Remove C-v help entry.
5955 (feedmail-queue-buffer-file-name): New variable.
5956 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5957 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5958 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5959 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5960 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5961 (feedmail-message-action-toggle-spray)
5962 (feedmail-run-the-queue-no-prompts)
5963 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5964 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5965 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5966 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5967 (feedmail-envelope-deducer, feedmail-fiddle-from)
5968 (feedmail-fiddle-sender, feedmail-default-date-generator)
5969 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5970 (feedmail-fiddle-spray-address)
5971 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5972 (feedmail-fiddle-list-of-fiddle-plexes)
5973 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5974 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5975 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5976 Change default. Doc fix.
5977 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5978 (feedmail-binmail-linuxish-template): New constant.
5979 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5980 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5981 (feedmail-send-it): Add debug call.
5982 Use feedmail-queue-buffer-file-name, and
5983 feedmail-send-it-immediately-wrapper.
5984 (feedmail-message-action-send): Add debug call.
5985 Use feedmail-send-it-immediately-wrapper.
5986 (feedmail-queue-express-to-queue): Add debug call.
5987 Run feedmail-queue-express-hook.
5988 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5989 (feedmail-message-action-help-blat):
5990 Rename from feedmail-queue-send-edit-prompt-help-first.
5991 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5992 Check line-endings. Handle errors better.
5993 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5994 Doc fix. Add debug call.
5995 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5996 Use feedmail-queue-send-edit-prompt-inner.
5997 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5998 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5999 from feedmail-queue-send-edit-prompt.
6000 (feedmail-queue-send-edit-prompt-help)
6001 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
6002 (feedmail-tidy-up-slug): Add debug call.
6003 Respect feedmail-queue-slug-suspect-regexp.
6004 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
6005 (feedmail-dump-message-to-queue): Add debug call.
6006 Expand queue-directory.
6007 (feedmail-dump-message-to-queue): Change message slightly.
6008 Use feedmail-say-chatter.
6009 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
6010 (feedmail-send-it-immediately-wrapper): New function.
6011 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
6012 Insert empty string rather than newline. Handle full-frame case.
6013 Use catch/throw. Use feedmail-say-chatter.
6014 (feedmail-fiddle-from): Try mail-host-address.
6015 (feedmail-default-message-id-generator): Doc fix.
6016 Bind system-time-locale. Handle missing end.
6017 (feedmail-fiddle-x-mailer): Add debug call.
6018 Handle feedmail-x-mailer-line being nil.
6019 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6020 Add debug call. Use buffer-substring-no-properties.
6021 (feedmail-say-debug, feedmail-say-chatter): New functions.
6022 (feedmail-find-eoh): Give an explicit error.
6023
42c7e61e
UJ
60242011-05-13 Ulf Jasper <ulf.jasper@web.de>
6025
c2571358 6026 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6027 family from helvetica to sans.
c2571358 6028 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6029 etc/images/newsticker.
6030
c2571358 6031 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6032 family from helvetica to sans.
6033
6034 * net/newst-plainview.el (newsticker-new-item-face)
6035 (newsticker-old-item-face, newsticker-immortal-item-face)
6036 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6037 (newsticker-statistics-face): Change default family from
42c7e61e 6038 helvetica to sans.
c2571358 6039 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6040 etc/images/newsticker.
6041
6042 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6043 (newsticker--process-auto-mark-filter-match): : Tell user about
6044 auto-marking.
6045
8497a297
DV
60462011-05-13 Didier Verna <didier@xemacs.org>
6047
6048 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6049 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6050 TODO entries.
8497a297
DV
6051 (lisp-lambda-list-keyword-parameter-indentation)
6052 (lisp-lambda-list-keyword-parameter-alignment)
6053 (lisp-lambda-list-keyword-alignment): New customizable user options.
6054 (lisp-indent-defun-method): Improve docstring.
6055 (extended-loop-p): Fix comment.
6056 (lisp-indent-lambda-list-keywords-regexp): New variable.
6057 (lisp-indent-lambda-list): New function.
6058 (lisp-indent-259): Use it.
6059 (lisp-indent-defmethod): Support for more than one
6060 method qualifier and properly indent methods lambda-lists.
6061 (defgeneric): Provide a missing common-lisp-indent-function property.
6062
f278f87f
SM
60632011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6064
6065 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6066 bounds for the empty string (bug#8667).
6067
5233edd7
GM
60682011-05-13 Glenn Morris <rgm@gnu.org>
6069
5237a44f
GM
6070 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6071
8340026c 6072 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6073 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6074
5233edd7 6075 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6076 (appt-time-msg-list): Doc fix.
a5464014 6077 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6078
92d10796
AS
60792011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6080
6081 * progmodes/ld-script.el (ld-script-keywords)
6082 (ld-script-builtins): Update keywords list.
6083
914a0ae1
SM
60842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6085
c89be45f
SM
6086 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6087
914a0ae1
SM
6088 * shell.el (shell-completion-vars): New function.
6089 (shell-mode):
6090 * simple.el (read-shell-command): Use it.
6091 (blink-matching-open): No need for " [...]" in minibuffer-message.
6092
98dc3df3
GM
60932011-05-12 Glenn Morris <rgm@gnu.org>
6094
6095 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6096 (appt-check): Simplify.
6097
d2fc7e3d 60982011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6099
4d61f28d 6100 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6101 literal "/dev/null".
6102
d2fc7e3d 61032011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6104
6105 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6106 Fix typo.
6107
d2fc7e3d 61082011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6109
3f254caa
SM
6110 * progmodes/which-func.el (which-function):
6111 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6112 which might not be defined (Bug#8260).
6113
d45885f7
GM
61142011-05-12 Glenn Morris <rgm@gnu.org>
6115
6116 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6117 Let byte-compile-initial-macro-environment always take precedence.
6118
488086f4
SM
61192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6120
6121 * net/rcirc.el: Add support for SSL/TLS connections.
6122 (rcirc-server-alist): New field `encryption'.
6123 (rcirc): Check `encryption' settings.
6124 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6125 Merge make-local-variable into `set'.
6126 (rcirc--connection-open-p): New function.
6127 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6128 the process is not a network process (e.g. running gnutls-cli).
6129 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6130 Make rcirc-(en|de)code-coding-system local here.
6131 (rcirc-mode): Merge make-local-variable into `set'.
6132 (rcirc-parent-buffer): Make permanent buffer-local.
6133 (rcirc-multiline-minor-mode): Don't do it here.
6134 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6135 there's no server buffer.
6136
7d3b9d44
GM
61372011-05-11 Glenn Morris <rgm@gnu.org>
6138
f64049c6
GM
6139 * newcomment.el (comment-kill): Prefix "unused" local.
6140
93c9df73
GM
6141 * term/w32console.el (get-screen-color): Declare.
6142
7d3b9d44
GM
6143 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6144 Handle symbol elements of byte-compile-initial-macro-environment.
6145
9e2dd53f
LL
61462011-05-10 Leo Liu <sdl.web@gmail.com>
6147
488086f4
SM
6148 * bookmark.el (bookmark-bmenu-mode-map):
6149 Bind bookmark-bmenu-search to `/'.
8b340240 6150
9e2dd53f 6151 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6152 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6153 (Footnote-unicode): New function.
6154 (footnote-style-alist): Add unicode style to the list.
6155 (footnote-style): Doc fix.
9e2dd53f 6156
79b70037
GM
61572011-05-10 Jim Meyering <meyering@redhat.com>
6158
6159 Fix doubled-word typos.
6160 * international/quail.el (quail-insert-kbd-layout): and and -> and
6161 * kermit.el: and and -> and
6162 * net/ldap.el (ldap-search-internal): to to -> to
6163 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6164 * progmodes/js.el (js-mode): and and -> and
6165 * textmodes/artist.el (artist-move-to-xy): at at -> at
6166 (artist-draw-region-trim-line-endings): if if -> if
6167 And Safetyc -> Safety.
6168 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6169
b8f82dc1 61702011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6171 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6172
6173 * files.el (hack-one-local-variable-eval-safep):
6174 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6175
4f99f44b
GM
61762011-05-10 Glenn Morris <rgm@gnu.org>
6177
6178 * calendar/diary-lib.el (diary-list-entries-hook)
6179 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6180 (diary-nongregorian-marking-hook, diary-list-entries)
6181 (diary-include-other-diary-files, diary-mark-entries)
6182 (diary-mark-included-diary-files): Doc fixes.
6183
84f29e6b
JB
61842011-05-09 Juanma Barranquero <lekktu@gmail.com>
6185
6186 * misc.el: Require tabulated-list.el during compilation.
6187
9bedd73a
CY
61882011-05-09 Chong Yidong <cyd@stupidchicken.com>
6189
488086f4
SM
6190 * progmodes/compile.el (compilation-start):
6191 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6192 (compilation-filter-hook): Doc fix.
6193
797c735c
DD
61942011-05-09 Deniz Dogan <deniz@dogan.se>
6195
6196 * wdired.el: Remove outdated installation comment. Fix usage
6197 comment.
6198
5f4b1dfe
JB
61992011-05-09 Juanma Barranquero <lekktu@gmail.com>
6200
6201 * misc.el: Implement new command `list-dynamic-libraries'.
6202 (list-dynamic-libraries--loaded-only-p): New variable.
6203 (list-dynamic-libraries--refresh): New function.
6204 (list-dynamic-libraries): New command.
6205
4c44026c
CY
62062011-05-09 Chong Yidong <cyd@stupidchicken.com>
6207
488086f4
SM
6208 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6209 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6210 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6211 higher priority to avoid clobbering by gnu.
6212
027f966d
CY
62132011-05-08 Chong Yidong <cyd@stupidchicken.com>
6214
6215 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6216 if the face has existing theme settings (Bug#8454).
6217
085f5d7d
CY
62182011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6219
488086f4
SM
6220 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6221 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6222
2a86a00c
RS
6223 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6224 special file names `.' and `..' (Bug#8259).
6225
d9c54a06
CY
62262011-05-08 Chong Yidong <cyd@stupidchicken.com>
6227
488086f4
SM
6228 * progmodes/grep.el (grep-mode-font-lock-keywords):
6229 Remove buffer-changing entries.
d9c54a06
CY
6230 (grep-filter): New function.
6231 (grep-mode): Add it to compilation-filter-hook.
6232
6233 * progmodes/compile.el (compilation-filter-hook)
6234 (compilation-filter-start): New defvars.
6235 (compilation-filter): Call compilation-filter-hook prior to
6236 updating the process mark.
6237
c4662635
SM
62382011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6241
b0512a1d
EZ
62422011-05-07 Eli Zaretskii <eliz@gnu.org>
6243
605c9376
EZ
6244 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6245 mailclient-send-it even if window-system is nil. (Bug#8595)
6246
c4662635
SM
6247 * term/w32console.el (terminal-init-w32console):
6248 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6249 background-mode. (Bug#8597)
6250
d1dc2cc2
SM
62512011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6254 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6255 New functions.
6256 (defgeneric, eieio--defmethod): Use them.
6257 (eieio-defgeneric): Remove.
6258 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6259
915d1300
GM
62602011-05-07 Glenn Morris <rgm@gnu.org>
6261
a3961c3e
GM
6262 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6263 Use let rather than let*.
6264 (timeclock-find-discrep): Remove unused local.
6265
314347b9
GM
6266 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6267
915d1300
GM
6268 * calendar/appt.el (appt-time-msg-list): Doc fix.
6269
275b59b0
NF
62702011-05-06 Noah Friedman <friedman@splode.com>
6271
6272 * apropos.el (apropos-print-doc): Only use
6273 emacs-lisp-docstring-fill-column when it is bound to an integer,
6274 per that variable's documentation.
6275
6c19f744
SM
62762011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6279 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6280
60f884b2
GM
62812011-05-06 Glenn Morris <rgm@gnu.org>
6282
5006e634
GM
6283 * calendar/appt.el (appt-message-warning-time): Doc fix.
6284 (appt-warning-time-regexp): New option.
6285 (appt-make-list): Respect appt-message-warning-time.
6286
548d0a63
GM
6287 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6288 New options.
6289 (diary-add-to-list): Strip comments from the displayed string.
6290 (diary-mode): Set comment-start and comment-end.
6291
60f884b2
GM
6292 * vc/diff-mode.el (smerge-refine-subst): Declare.
6293 (diff-refine-hunk): Don't require smerge-mode when compiling.
6294
989681bb
JB
62952011-05-06 Juanma Barranquero <lekktu@gmail.com>
6296
6297 * simple.el (list-processes): Return nil as the docstring says.
6298
a6bc05e1
MA
62992011-05-05 Michael Albinus <michael.albinus@gmx.de>
6300
6301 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6302 to "".
6303 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6304 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6305 determining of binary transfer. (Bug#7383)
6306
23c22e9a
MA
63072011-05-05 Michael Albinus <michael.albinus@gmx.de>
6308
c4662635
SM
6309 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6310 Fix port computation bug. (Bug#8618)
23c22e9a 6311
0bff894f
GM
63122011-05-05 Glenn Morris <rgm@gnu.org>
6313
b8296902
GM
6314 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6315
1f522ce8
GM
6316 * simple.el (shell-dynamic-complete-functions)
6317 (comint-dynamic-complete-functions): Declare.
6318
cf5bee67
GM
6319 * net/network-stream.el (gnutls-negotiate):
6320 * simple.el (tabulated-list-print): Fix declarations.
6321
6322 * progmodes/gud.el (syntax-symbol, syntax-point):
6323 Remove unnecessary and incorrect declarations.
6324
0bff894f
GM
6325 * emacs-lisp/check-declare.el (check-declare-scan):
6326 Handle byte-compile-initial-macro-environment in bytecomp.el
6327
9869b3ae
SM
63282011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 Fix earlier half-done eieio-defmethod change (bug#8338).
6331 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6332 Streamline and change calling convention.
6333 (defmethod): Adjust accordingly and simplify.
6334 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6335 new eieio--defmethod.
6336 (slot-boundp): Minor CSE simplification.
6337
9c1d5ac5
MZ
63382011-05-05 Milan Zamazal <pdm@zamazal.org>
6339
6340 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6341 (glasses-make-readable): Use glasses-separate-capital-groups.
6342
455c834e
JB
63432011-05-05 Juanma Barranquero <lekktu@gmail.com>
6344
6345 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6346 (warning-series): Doc fix.
6347 (display-warning): Don't try to create the buffer if we just found it.
6348
9ed7c8cb
CY
63492011-05-04 Chong Yidong <cyd@stupidchicken.com>
6350
6351 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6352 (autoload-find-generated-file): New function.
6353 (generate-file-autoloads): Bind generated-autoload-file to
6354 buffer-file-name.
9869b3ae
SM
6355 (update-file-autoloads, update-directory-autoloads):
6356 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6357 output file (Bug#7989).
6358 (batch-update-autoloads): Doc fix.
6359
0898ca10
JB
63602011-05-04 Juanma Barranquero <lekktu@gmail.com>
6361
6362 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6363
31dfb76c
GM
63642011-05-04 Glenn Morris <rgm@gnu.org>
6365
f330b642
GM
6366 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6367 function, so it follows changes in calendar-date-style.
6368 (diary-fancy-date-matcher): New function.
6369 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6370 (diary-fancy-font-lock-fontify-region-function):
6371 Use diary-fancy-date-pattern as a function.
6372
31dfb76c
GM
6373 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6374 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6375
48e79d6a
TZ
63762011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6377
6378 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6379 instead of positional arguments. Allow :keylist and :crlfiles
6380 arguments.
6381 (open-gnutls-stream): Call it.
6382
6383 * net/network-stream.el (network-stream-open-starttls): Adjust to
6384 call `gnutls-negotiate' with :process and :hostname arguments.
6385
dd5a5ee0
SM
63862011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6387
ef80fc09
SM
6388 * minibuffer.el (completion--message): New function.
6389 (completion--do-completion, minibuffer-complete)
6390 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6391 (completion--do-completion): Don't ignore completion-auto-help when in
6392 icomplete-mode.
6393
dd5a5ee0
SM
6394 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6395 internal encoding (e.g. tibetan zero is not whitespace).
6396 (global-whitespace-mode): Prefer save-current-buffer.
6397 (whitespace-trailing-regexp): Remove useless save-match-data.
6398 (whitespace-empty-at-bob-regexp): Minor simplification.
6399
b7d22a83
CY
64002011-05-03 Chong Yidong <cyd@stupidchicken.com>
6401
6402 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6403
5192af46
AM
64042011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6405
6406 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6407 Use `concat' to create string for insertion.
5192af46 6408
5767d190
SM
64092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6412 Avoid open-line which runs post-self-insert-hook.
6413 (bibtex-fill-entry): Remove unused `end' var.
6414
bf242939
AM
64152011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6416
5767d190
SM
6417 * textmodes/ispell.el (ispell-add-per-file-word-list):
6418 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6419
25666126
LL
64202011-05-03 Leo Liu <sdl.web@gmail.com>
6421
6422 * isearch.el (isearch-yank-pop): New command.
5767d190 6423 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6424 (isearch-forward): Mention it.
6425
52d3c2d0
SM
64262011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6427
1bcace58
SM
6428 * simple.el (minibuffer-complete-shell-command): Remove.
6429 (minibuffer-local-shell-command-map): Use completion-at-point.
6430 (read-shell-command): Setup completion vars here instead.
6431 (read-expression-map): Bind TAB to symbol completion.
6432
52d3c2d0
SM
6433 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6434 error directly rather via storing it into `results'.
6435
35813471
LL
64362011-05-02 Leo Liu <sdl.web@gmail.com>
6437
6438 * vc/diff.el: Fix description.
6439
e793a940
LMI
64402011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6441
6442 * server.el (server-eval-at): New function.
6443
8de66e05
LMI
64442011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445
6446 * net/network-stream.el (open-network-stream): Take a :nowait
6447 parameter and pass it on to `make-network-process'.
6448 (network-stream-open-plain): Ditto.
6449
dcb79f20
AS
64502011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6451
6452 * faces.el (face-spec-set-match-display): Don't match toolkit
6453 options on terminal frames.
6454
14a7fbd8
SM
64552011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6456
7eabc1be
SM
6457 * progmodes/pascal.el: Use lexical binding.
6458 (pascal-mode-map): Remove author preferences.
6459
14a7fbd8
SM
6460 * pcomplete.el (pcomplete-std-complete): Don't abuse
6461 completion-at-point.
6462
50f84510
JB
64632011-04-28 Juanma Barranquero <lekktu@gmail.com>
6464
6e087a44
JB
6465 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6466 removing code that has been dead since 1991 or so.
6467
50f84510
JB
6468 * startup.el (command-line): When warning about "_emacs", use a
6469 delayed warning to allow the user to filter it out.
6470
0ba690bd
DD
64712011-04-28 Deniz Dogan <deniz@dogan.se>
6472
6473 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6474 user has not joined.
6475
08abfaad
SM
64762011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6479 aren't any completions at point.
6480
638f053a
JB
64812011-04-28 Juanma Barranquero <lekktu@gmail.com>
6482
6483 * subr.el (display-delayed-warnings): New function.
6484 (delayed-warnings-hook): New variable.
6485
8fff8daa
SM
64862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6487
08abfaad
SM
6488 * minibuffer.el (completion-at-point, completion-help-at-point):
6489 Don't presume that a given completion-at-point-function will always
6490 use the same calling convention.
6491
8fff8daa
SM
6492 * pcomplete.el (pcomplete-completions-at-point):
6493 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6494 pcomplete-seen is non-nil.
6495 (pcomplete-comint-setup): Also recognize the new comint/shell
6496 completion functions.
6497 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6498 pcomplete-seen is non-nil.
6499
841a1577 65002011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6501
841a1577 6502 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6503 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6504 the first character in the entry. This allows for code to add its
211ec907
UJ
6505 own uid to the entry.
6506 (icalendar--convert-float-to-ical): Add export of
6507 `diary-float'-entries save for those with the optional DAY
6508 argument.
6509
2a782793
DC
65102011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6511
6512 * subr.el (shell-quote-argument): Use alternate escaping strategy
6513 when we spot a variable reference in a string.
6514
0438ce91
DC
65152011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6516
6517 * cus-start.el (all): Define customization for debug-on-event.
6518
841a1577 65192011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6520
6521 * subr.el (shell-quote-argument): Escape correctly under Windows.
6522
d090ed6c
SM
65232011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6524
6525 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6526
bfd31217
MA
65272011-04-25 Michael Albinus <michael.albinus@gmx.de>
6528
d090ed6c
SM
6529 * net/tramp.el (tramp-process-actions): Add POS argument.
6530 Delete region between POS and (pos).
bfd31217 6531
d090ed6c
SM
6532 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6533 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6534 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6535
6536 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6537 position in `tramp-process-actions' call.
6538
6539 * net/trampver.el: Update release number.
6540
e92f3bd3
SM
65412011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6542
850256b5
SM
6543 * custom.el (defcustom): Obey lexical-binding.
6544
e92f3bd3
SM
6545 Fix octave-inf completion problems reported by Alexander Klimov.
6546 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6547 Inherit from octave-mode-syntax-table.
6548 (inferior-octave-mode): Set info-lookup-mode.
6549 (inferior-octave-completion-at-point): New function.
6550 (inferior-octave-complete): Use it and completion-in-region.
6551 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6552 comint-filename-completion.
6553 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6554 symbol elements which shouldn't be word elements.
6555 (octave-font-lock-keywords, octave-beginning-of-defun)
6556 (octave-function-header-regexp): Adjust regexps accordingly.
6557 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6558
cd22b309
JB
65592011-04-25 Juanma Barranquero <lekktu@gmail.com>
6560
6561 * net/gnutls.el (gnutls-errorp): Declare before first use.
6562
8b492194
TZ
65632011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6564
6565 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6566 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6567 default trustfile exists before going to use it. Add missing
6568 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6569 Reported by Claudio Bley <claudio.bley@gmail.com>.
6570 (open-gnutls-stream): Add usage example.
6571
6572 * net/network-stream.el (network-stream-open-starttls): Give host
6573 parameter to `gnutls-negotiate'.
6574 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6575 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6576
841a1577 65772011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6578
cd22b309
JB
6579 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6580 Use correct match group (bug#8438).
05842630 6581
3ba7869c
CY
65822011-04-24 Chong Yidong <cyd@stupidchicken.com>
6583
512e3ae1
CY
6584 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6585 (package-menu--generate): New arg specifying packages to show.
6586 (package-menu-refresh, package-menu-execute, list-packages):
6587 Callers changed.
6588 (package-show-package-list): New function, replacing deleted
6589 package--list-packages (renamed because it is non-internal).
6590
6591 * finder.el (finder-list-matches): Use package-show-package-list
6592 instead of deleted package--list-packages.
6593
e92f3bd3
SM
6594 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6595 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6596 (vc-annotate-mode-map): Bind it to RET.
6597
7031be6d
UR
65982011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6599
6600 * progmodes/etags.el (next-file): Don't use set-buffer to change
6601 buffers (Bug#8478).
6602
4ef177aa
CY
66032011-04-24 Chong Yidong <cyd@stupidchicken.com>
6604
c8d173eb
CY
6605 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6606
4ef177aa
CY
6607 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6608 (apropos-accumulator): Doc fix.
6609 (apropos-function, apropos-macro, apropos-command)
6610 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6611 (apropos-plist): Add face property.
6612 (apropos-symbols-internal): Fix indentation.
6613 (apropos-print): Simplify help, and recognize apropos-multi-type.
6614 (apropos-print-doc): Use button-type-get to extract the button's
6615 face property. Fill docstring (Bug#8352).
6616
4ffd0d6b 66172011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6618
6619 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6620
c6c32125 6621 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6622 (mpuz-mode-map): Use mapc.
c6c32125
JB
6623 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6624 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6625 Fix typos in docstrings.
6626
58d468b4
JB
6627 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6628 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6629
6470c3c6
JB
6630 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6631
4ffd0d6b 66322011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6633
6634 * minibuffer.el (completion--do-completion): Avoid the "Next char
6635 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6636
3ad8bad0
CY
6637 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6638 mouse-2 into unread-command-events, it is interpreted correctly.
6639
71d73c9c 6640 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6641 (image-toggle-display): Doc fix.
71d73c9c 6642
841a1577 66432011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6644
4ffd0d6b
GM
6645 * textmodes/page.el (what-page): Use line-number-at-pos to
6646 calculate line number (Bug#6825).
6e1dbaa9 6647
c2fb1b60
JB
66482011-04-22 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6651 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6652 Pass argument NO-DEFAULT to `find-tag-interactive'.
6653
e02f48d7
JB
66542011-04-22 Juanma Barranquero <lekktu@gmail.com>
6655
6656 Lexical-binding cleanup.
6657
6658 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6659 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6660 * progmodes/ada-prj.el (ada-prj-initialize-values)
6661 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6662 (ada-prj-show-value):
6663 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6664 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6665 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6666 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6667 * progmodes/bug-reference.el (bug-reference-push-button):
6668 * progmodes/fortran.el (fortran-line-length):
6669 * progmodes/glasses.el (glasses-change):
6670 * progmodes/octave-mod.el (octave-fill-paragraph):
6671 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6672 (python-pdbtrack-grub-for-buffer, python-sentinel):
6673 * progmodes/sql.el (sql-save-connection):
6674 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6675 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6676 Mark unused parameters.
6677
6678 * progmodes/compile.el (compilation--flush-directory-cache)
6679 (compilation--flush-parse, compile-internal): Mark unused parameters.
6680 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6681 (compilation-next-error-function): Remove unused variable `timestamp'.
6682
6683 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6684 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6685
6686 * progmodes/dcl-mode.el (dcl-end-of-command):
6687 Remove unused variable `start'.
6688 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6689 (dcl-option-value-basic, dcl-option-value-offset)
6690 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6691 Mark unused parameters.
6692 (dcl-save-local-variable): Remove unused variable `val'.
6693 (mode): Declare.
6694
6695 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6696 Mark unused parameters.
6697 (delphi-ignore-changes): Move before first use.
6698 (delphi-charset-token-at): Remove unused variable `start'.
6699 (delphi-else-start): Remove unused variable `if-count'.
6700 (delphi-comment-block-start, delphi-comment-block-end):
6701 Remove unused variable `kind'.
6702 (delphi-indent-line): Remove unused variable `new-point'.
6703
6704 * progmodes/ebrowse.el (ebrowse-files-list)
6705 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6706 Mark unused parameters. Don't quote `lambda'.
6707 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6708 Don't quote `lambda'.
6709 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6710 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6711 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6712 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6713 Use `ignore-errors'.
6714 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6715 (ebrowse-view/find-file-and-search-pattern)
6716 (ebrowse-view/find-member-declaration/definition):
6717 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6718 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6719 Rename parameter PREFIX-ARG to PREFIX.
6720 (ebrowse-tags-read-name): Remove unused variables `start' and
6721 `member-info'.
6722 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6723 to `tags-file'.
6724
6725 * progmodes/etags.el (local-find-tag-hook): Declare.
6726 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6727 Mark unused parameters.
6728
6729 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6730 (executable-interpret): Mark unused parameter.
6731
6732 * progmodes/flymake.el (flymake-process-sentinel)
6733 (flymake-after-change-function)
6734 (flymake-create-temp-with-folder-structure)
6735 (flymake-get-include-dirs-dot): Mark unused parameters.
6736 (flymake-safe-delete-directory): Remove unused variable `err'.
6737
6738 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6739 (speedbar-timer-fn, speedbar-line-text)
6740 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6741 (speedbar-center-buffer-smartly): Declare functions.
6742 (gdb-find-watch-expression): Remove unused variable `array'.
6743 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6744 (gdb-starting): Mark unused parameters.
6745 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6746 (gdb-table-string): Remove unused variable `res'.
6747 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6748 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6749 (gdb-display-buffer): Remove unused variable `cur-size'.
6750
6751 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6752 allow lexical-binding compilation.
6753 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6754 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6755 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6756 Mark unused parameters.
6757 (gud-gdb-marker-filter): Remove unused variable `match'.
6758 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6759 lambda expressions and funcall them, instead of using `fset'.
6760
6761 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6762 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6763
6764 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6765 variable `header-beg'; use `let'.
6766
6767 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6768 `restart', `last-sexp' and `at-do'.
6769
6770 * progmodes/js.el (js--debug): Mark unused parameter.
6771 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6772 (js--splice-into-items): Remove unused variable `item'.
6773 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6774
6775 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6776 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6777 (makefile-complete): Remove unused variable `try'.
6778 (makefile-fill-paragraph, makefile-match-function-end):
6779 Mark unused parameters.
6780
6781 * progmodes/octave-inf.el (inferior-octave-complete):
6782 Remove unused variable `proc'.
6783 (inferior-octave-output-digest): Mark unused parameter.
6784
6785 * progmodes/perl-mode.el (perl-calculate-indent):
6786 Remove unused variable `err'.
6787
6788 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6789 (prolog-indent-line): Mark unused parameters.
6790 (prolog-indent-line): Remove unused variable `beg'.
6791
6792 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6793 (reporter-dont-compact-list): Declare.
6794
6795 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6796 Remove unused variable `char'.
6797 (sh-debug): Mark unused parameter.
6798 (sh-get-indent-info): Remove unused variable `start'.
6799 (sh-calculate-indent): Remove unused variable `var'.
6800
6801 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6802 (simula-electric-keyword): Remove unused variable `null'.
6803 (simula-search-backward, simula-search-forward): Remove unused
6804 variables `begin' and `end'.
6805
6806 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6807 Remove unused variable `pos'.
6808 (vera-electric-tab, vera-comment-uncomment-region):
6809 Mark unused parameters.
6810 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6811
7ede3b65
CY
68122011-04-22 Chong Yidong <cyd@stupidchicken.com>
6813
6814 * emacs-lisp/package.el (package--builtins, package-alist)
6815 (package-load-descriptor, package-built-in-p, package-activate)
6816 (define-package, package-installed-p)
6817 (package-compute-transaction, package-buffer-info)
6818 (package--push): Doc fix. Distinguish more clearly between
6819 version strings and version lists.
6820
121656e9
JB
68212011-04-21 Juanma Barranquero <lekktu@gmail.com>
6822
6823 Lexical-binding cleanup.
6824
6825 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6826 (5x5-make-mutate-best):
6827 * play/fortune.el (fortune-in-buffer):
6828 * play/gomoku.el (gomoku-init-display):
6829 * play/solitaire.el (solitaire, solitaire-do-check):
6830 * play/tetris.el (tetris-default-update-speed-function):
6831 Mark unused parameters.
6832
6833 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6834 (bubbles--shift): Remove unused variable `char-org'.
6835 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6836 (bubbles--show-images): Remove unused variable `char'.
6837
6838 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6839 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6840 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6841 (decipher-analyze-buffer): Use ?\s.
6842 (decipher-make-checkpoint): Remove unused variable `mapping'.
6843
6844 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6845
6846 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6847 Remove unused variable `result'; use `let'.
6848
6849 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6850 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6851 (gametree-children-shown-p, gametree-compute-reduced-score):
6852 Use `ignore-errors'.
6853
6854 * play/handwrite.el (ps-lpr-switches): Declare.
6855 (handwrite): Remove unused variables `pmin' and `lastp'.
6856
6857 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6858
6859 * play/landmark.el (landmark-init-display)
6860 (landmark-update-naught-weights): Mark unused parameters.
6861 (landmark-y): Remove unused variable `noise'. Simplify.
6862 (landmark-human-plays): Remove unused variable `score'.
6863
6864 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6865 (mpuz-try-proposal): Remove unused variable `game'.
6866
6867 * play/zone.el (life-patterns): Declare.
6868
80f499c7
JB
68692011-04-20 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * vc/vc.el (ediff-vc-internal): Declare function.
6872
024ff170
SM
68732011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6874
c0a193ea
SM
6875 * shell.el: Use lexical-binding and std completion UI.
6876 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6877 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6878 comint-preoutput-filter-functions rather than on
6879 comint-output-filter-functions.
6880 (shell-command-completion, shell--command-completion-data)
6881 (shell-filename-completion, shell-environment-variable-completion)
6882 (shell-c-a-p-replace-by-expanded-directory): New functions.
6883 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6884 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6885 (shell-dynamic-complete-environment-variable): Use them.
6886 (shell-dynamic-complete-as-environment-variable)
6887 (shell-dynamic-complete-as-command): Remove.
6888 (shell-match-partial-variable): Match past point.
6889 * comint.el: Clean up use of completion-at-point-functions.
6890 (comint-completion-at-point): New function.
6891 (comint-mode): Use it completion-at-point-functions.
6892 (comint-dynamic-complete): Make it obsolete.
6893 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6894 (comint-c-a-p-replace-by-expanded-history): New function.
6895 (comint-dynamic-complete-functions)
6896 (comint-replace-by-expanded-history): Use it.
6897 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6898 termination strings. Try harder to avoid second try-completion.
6899 (completion-in-region-mode-map): Disable bindings that don't work yet.
6900
2dbaa080
SM
6901 * comint.el: Use lexical-binding. Require CL.
6902 (comint-dynamic-complete-functions): Use comint-filename-completion.
6903 (comint-completion-addsuffix): Tweak custom type.
6904 (comint-filename-completion, comint--common-suffix)
6905 (comint--common-quoted-suffix, comint--table-subvert)
6906 (comint--complete-file-name-data): New functions.
6907 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6908 (comint-dynamic-list-filename-completions): Use them.
6909 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6910
2dbaa080
SM
6911 * minibuffer.el (completion-in-region-mode):
6912 Keep completion-in-region-mode--predicate global.
6913 (completion-in-region--postch):
6914 Assume completion-in-region-mode--predicate is not null.
6915
c79a6f38
SM
6916 * progmodes/flymake.el (flymake-start-syntax-check-process):
6917 Obey `dir'. Simplify.
6918
024ff170
SM
6919 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6920 we're in VC after all.
6921
1c6c854e
CS
69222011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6923
6924 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6925 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6926 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6927
bed7f140
SM
69282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6929
332e62ab
SM
6930 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6931 add sanity check.
6932
bed7f140
SM
6933 * obsolete/erc-hecomplete.el: Make obsolete.
6934 * obsolete/: Standardize obsolescence info in the header.
6935
f195c582
GM
69362011-04-20 Glenn Morris <rgm@gnu.org>
6937
6938 * calendar/solar.el (solar-horizontal-coordinates):
6939 Use the longitude argument rather than `calendar-longitude'.
6940 (solar-date-next-longitude): Remove unused locals.
6941
cb79b8c0
VJL
69422011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6943
6944 * whitespace.el: New version 13.2.1.
6945
69462011-04-20 felix <EmacsWiki> (tiny change)
6947
d8e4b68b 6948 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6949 switching between major modes on a file.
6950
602ea69d
SM
69512011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6954 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6955 multi-line comments as well.
6956
06b60517
JB
69572011-04-19 Juanma Barranquero <lekktu@gmail.com>
6958
6959 Lexical-binding cleanup.
6960
6961 * arc-mode.el (archive-mode-revert):
6962 * cmuscheme.el (scheme-interactively-start-process):
6963 * custom.el (custom-initialize-delay):
6964 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6965 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6966 * emacs-lock.el (emacs-lock-clear-sentinel):
6967 * ezimage.el (defezimage):
6968 * follow.el (follow-avoid-tail-recenter):
6969 * fringe.el (set-fringe-mode-1):
6970 * generic-x.el (bat-generic-mode-compile):
6971 * help-mode.el (help-info-variable, help-do-xref)
6972 (help-mode-revert-buffer):
6973 * help.el (view-emacs-todo):
6974 * iswitchb.el (iswitchb-completion-help):
6975 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6976 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6977 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6978 * locate.el (locate-update):
6979 * longlines.el (longlines-encode-region)
6980 (longlines-after-change-function):
6981 * outline.el (outline-isearch-open-invisible):
6982 * ps-def.el (declare-function, charset-dimension, char-width)
6983 (encode-char):
6984 * ps-mule.el (ps-mule-plot-string):
6985 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6986 (recentf-edit-list-select, recentf-edit-list-validate)
6987 (recentf-open-files-action):
6988 * rect.el (delete-whitespace-rectangle-line)
6989 (rectangle-number-line-callback):
6990 * register.el (window-configuration-to-register)
6991 (frame-configuration-to-register):
6992 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6993 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6994 (xselect-convert-to-targets, xselect-convert-to-delete)
6995 (xselect-convert-to-filename, xselect-convert-to-charpos)
6996 (xselect-convert-to-lineno, xselect-convert-to-colno)
6997 (xselect-convert-to-os, xselect-convert-to-host)
6998 (xselect-convert-to-user, xselect-convert-to-class)
6999 (xselect-convert-to-name, xselect-convert-to-integer)
7000 (xselect-convert-to-atom, xselect-convert-to-identity):
7001 * subr.el (declare, ignore, process-kill-without-query)
7002 (text-clone-maintain):
7003 * terminal.el (te-get-char, te-tic-sentinel):
7004 * tool-bar.el (tool-bar-make-keymap):
7005 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
7006 * type-break.el (type-break-mode, type-break-noninteractive-query):
7007 * view.el (View-back-to-mark):
7008 * wid-browse.el (widget-browse-action, widget-browse-widget)
7009 (widget-browse-widgets, widget-browse-sexp):
7010 * widget.el (define-widget-keywords):
7011 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
7012 Mark unused parameters.
7013
7014 * align.el (align-adjust-col-for-rule): Mark unused parameter.
7015 (align-areas): Remove unused variable `look'.
7016 (align-region): Remove unused variables `real-end' and `pos-list'.
7017
7018 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7019
7020 * bindings.el (mode-line-modified, mode-line-remote):
7021 Mark unused parameters.
7022 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7023
7024 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7025 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7026
7027 * comint.el (comint-history-isearch-pop-state)
7028 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7029 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7030 (comint-substitute-in-file-name): Doc fix.
7031
7032 * completion.el (cmpl-statistics-block): Mark unused parameter.
7033 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7034 (save-completions-to-file, load-completions-from-file):
7035 Remove unused local variable `e'.
7036
7037 * composite.el (compose-chars): Remove unused variable `len'.
7038 (lgstring-insert-glyph): Remove unused variable `g'.
7039 (compose-glyph-string): Remove unused variables `ascent',
7040 `descent', `lbearing' and `rbearing'.
7041 (compose-glyph-string-relative): Remove unused variables
7042 `lbearing', `rbearing' and `wadjust'.
7043 (compose-gstring-for-graphic): Remove unused variables `header',
7044 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7045 (compose-gstring-for-terminal): Remove unused variables `header'
7046 and `nchars'. Use `let', not `let*'.
7047
7048 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7049 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7050 (Custom-buffer-done, custom-buffer-create-internal)
7051 (custom-browse-visibility-action, custom-browse-group-tag-action)
7052 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7053 (widget-magic-mouse-down-action, custom-toggle-parent)
7054 (custom-add-parent-links, custom-toggle-hide-variable)
7055 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7056 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7057 (custom-face-menu-create, custom-variable-menu-create, get)
7058 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7059 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7060 (customize-apropos): Remove unused variable `tests'.
7061 (custom-group-value-create): Remove unused variable `hidden-p'.
7062 (sort-fold-case): Declare.
7063
7064 * cus-theme.el (custom-reset-standard-faces-list)
7065 (custom-reset-standard-variables-list): Declare.
7066 (customize-create-theme, custom-theme-revert, custom-theme-write)
7067 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7068 Mark unused parameters.
7069
7070 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7071
7072 * delim-col.el (delimit-columns-max): Move defvar before first use.
7073
7074 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7075 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7076
7077 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7078 (auto-insert): Declare.
7079 (desktop-restore-file-buffer): Rename desktop-* parameters;
7080 mark unused ones.
7081 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7082 (desktop-buffer): Rename desktop-* parameters.
7083
7084 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7085 (dframe-reposition-frame-xemacs, dframe-help-echo)
7086 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7087 Mark unused parameters.
7088
7089 * dired-aux.el (backup-extract-version-start, overwrite-query)
7090 (overwrite-backup-query, rename-regexp-query)
7091 (rename-non-directory-query): Declare.
7092 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7093 (dired-add-entry): Remove unused variable `orig-file-name'.
7094 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7095 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7096 `dired-copy-preserve-time' directly.
7097 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7098 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7099
7100 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7101 (dired-virtual-revert, dired-make-relative-symlink):
7102 Mark unused parameters.
7103 (manual-program): Declare.
7104 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7105 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7106 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7107
7108 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7109
7110 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7111
7112 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7113 Declare.
7114
7115 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7116
7117 * electric.el (Electric-command-loop): Rename parameter
7118 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7119
7120 * expand.el (expand-in-literal): Remove unused variable `here'.
7121
7122 * facemenu.el (facemenu-add-new-color):
7123 Remove unused variable `docstring'.
7124
7125 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7126 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7127 (face-attr-construct): Mark unused parameter. Doc fix.
7128 (read-color): Remove unused variable `hex-string'.
7129
7130 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7131 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7132 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7133 (display-buffer-other-frame): Remove unused variable `old-window'.
7134 (kill-buffer-hook): Declare.
7135 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7136 Mark unused parameters.
7137 (after-find-file): Pass 1 to `auto-save-mode', not t.
7138
7139 * files-x.el (auto-insert): Declare.
7140 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7141
7142 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7143 variable `buf'. Mark unused parameter.
06b60517
JB
7144 (find-lisp-insert-directory): Mark unused parameter.
7145
7146 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7147 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7148 (format-common-tail): Remove, unused.
7149 (format-deannotate-region): Remove unused variable `loc'.
7150 (format-annotate-region): Remove unused variable `p'.
7151 (format-annotate-single-property-change): Remove unused variables
7152 `default' and `tail'.
7153
7154 * forms.el (read-file-filter): Declare.
7155 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7156
7157 * frame.el (frame-creation-function-alist): Mark unused parameter.
7158 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7159
7160 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7161 Remove unused parameters.
7162 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7163 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7164
7165 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7166 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7167 (hfy-prepare-tag-map): Mark unused parameters.
7168 (htmlfontify-buffer): Use `called-interactively-p'.
7169
7170 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7171 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7172 (ibuffer-do-occur): Mark unused parameters.
7173 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7174 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7175
7176 * ibuffer.el: Don't quote `lambda'.
7177 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7178 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7179 Mark unused parameters.
7180
7181 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7182 (ido-completing-read): Mark unused parameters.
7183 (ido-copy-current-word): Mark unused parameters;
7184 remove unused variable `name'.
7185 (ido-sort-merged-list): Remove unused parameter `dirs'.
7186
7187 * ielm.el (ielm-input-sender): Mark unused parameter.
7188 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7189 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7190 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7191 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7192 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7193
7194 * image-dired.el (image-dired-display-thumbs): Remove unused
7195 variables `curr-file' and `count'.
7196 (image-dired-remove-tag): Remove unused variable `start'.
7197 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7198 variable `curr-file'
7199 (image-dired-rotate-original): Remove unused variable `temp-file'.
7200 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7201 Remove unused variable `file'.
7202 (image-dired-gallery-generate): Remove unused variable `curr'.
7203 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7204
7205 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7206
7207 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7208
7209 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7210
7211 * isearch.el (minibuffer-history-symbol): Declare.
7212 (isearch-edit-string): Remove unused variable `err'.
7213 (isearch-message-prefix, isearch-message-suffix):
7214 Mark unused parameters.
7215
7216 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7217
7218 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7219
7220 * makesum.el (double-column): Remove unused variable `cnt'.
7221
7222 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7223 (ido-ignore-item-temp-list): Declare.
7224
7225 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7226 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7227 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7228 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7229 `mouse-col-delta'.
7230
7231 * mouse-sel.el (mouse-extend-internal):
7232 Remove unused variable `orig-window-frame'.
7233
7234 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7235 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7236 Move declarations before first use.
7237 (pcomplete-opt): Mark unused parameters; doc fix.
7238
7239 * proced.el (proced-revert): Mark unused parameter.
7240 (proced-send-signal): Remove unused variable `err'.
7241
7242 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7243 Rename parameter PREFIX-ARG to ARG.
7244 (ps-basic-plot-string, ps-basic-plot-whitespace):
7245 Mark unused parameters.
7246
7247 * replace.el (replace-count): Define.
7248 (occur-revert-function): Mark unused parameters.
7249 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7250 (isearch-case-fold-search, isearch-string): Declare.
7251 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7252 bind `case-fold-search'. Remove unused variables `beg' and `end',
7253 and simplify.
7254 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7255 COUNT and bind `replace-count'.
7256 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7257 to COUNT.
7258
7259 * savehist.el (print-readably, print-string-length): Declare.
7260
7261 * shadowfile.el (shadow-expand-cluster-in-file-name):
7262 Remove unused variable `cluster'.
7263 (shadow-copy-file): Remove unused variable `i'.
7264 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7265 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7266 (shadow-define-literal-group, shadow-define-regexp-group)
7267 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7268
7269 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7270 (shell): Use `called-interactively-p'.
7271 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7272
7273 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7274 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7275 (delete-backward-char): Remove unused variable `ocol'.
7276 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7277 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7278 (event-apply-hyper-modifier, event-apply-shift-modifier)
7279 (event-apply-control-modifier, event-apply-meta-modifier):
7280 Mark unused parameters.
7281 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7282 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7283
7284 * speedbar.el (speedbar-ignored-directory-expressions)
7285 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7286 (speedbar-find-file, speedbar-dir-follow)
7287 (speedbar-directory-buttons-follow, speedbar-tag-find)
7288 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7289 (speedbar-buffers-line-directory, speedbar-buffer-click):
7290 Mark unused parameters.
7291 (speedbar-tag-file): Remove unused variable `mode'.
7292 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7293
7294 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7295
7296 * talk.el (talk): Remove unused variable `display'.
7297
7298 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7299 (tar-write-region-annotate): Mark unused parameter.
7300
7301 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7302 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7303 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7304 warning by another.
7305
7306 * time-stamp.el (time-stamp-string-preprocess):
7307 Remove unused variable `require-padding'.
7308
7309 * tree-widget.el (widget-glyph-enable): Declare.
7310 (tree-widget-action): Mark unused parameter.
7311
7312 * w32-fns.el (x-get-selection): Mark unused parameter.
7313 (autoload-make-program, generated-autoload-file): Declare.
7314
7315 * wdired.el (wdired-revert): Mark unused parameters.
7316 (wdired-xcase-word): Remove unused variable `err'.
7317
7318 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7319 (whitespace-help-scroll): Remove unused variable `data-help'.
7320
7321 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7322 (widget-image-insert, widget-after-change, default)
7323 (widget-default-format-handler, widget-default-notify)
7324 (widget-default-prompt-value, widget-info-link-action)
7325 (widget-url-link-action, widget-function-link-action)
7326 (widget-variable-link-action, widget-file-link-action)
7327 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7328 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7329 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7330 (widget-insert-button-action, widget-delete-button-action, visibility)
7331 (widget-documentation-link-action, widget-documentation-string-action)
7332 (widget-const-prompt-value, widget-regexp-match, symbol)
7333 (widget-coding-system-prompt-value)
7334 (widget-key-sequence-value-to-external, sexp)
7335 (widget-sexp-value-to-internal, character, vector, cons)
7336 (widget-choice-prompt-value, widget-boolean-prompt-value)
7337 (widget-color--choose-action): Mark unused parameters.
7338 (widget-item-match-inline, widget-choice-match-inline)
7339 (widget-checklist-match, widget-checklist-match-inline)
7340 (widget-group-match): Rename parameter VALUES to VALS.
7341 (widget-field-value-set): Remove unused variable `size'.
7342 (widget-color-action): Remove unused variables `value' and `start'.
7343
7344 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7345 variable `dir'. Doc fix.
06b60517
JB
7346 (windmove-find-other-window): Don't pass it.
7347
7348 * window.el (count-windows): Mark unused parameter.
7349 (bw-adjust-window): Remove unused variable `err'.
7350
7351 * woman.el (woman-file-name): Remove unused variable `default'.
7352 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7353 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7354 (global-font-lock-mode): Declare.
7355 (woman-decode-region): Mark unused parameter.
7356 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7357
7358 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7359 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7360 (x-dnd-handle-moz-url): Remove unused variable `title'.
7361 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7362
7363 * xml.el (xml-parse-tag, xml-parse-attlist):
7364 Remove unused variable `pos'.
7365
bc4f7f3d
GM
73662011-04-19 Glenn Morris <rgm@gnu.org>
7367
7368 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7369 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7370 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7371 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7372 * calendar/cal-html.el (cal-html-insert-minical):
7373 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7374 (calendar-mark-date-pattern):
7375 Prefix "unused" locals.
7376
7377 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7378 optional argument `style'.
7379
7380 * calendar/appt.el (appt-make-list):
7381 * calendar/cal-china.el (calendar-chinese-date-string):
7382 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7383 (diary-hebrew-yahrzeit):
7384 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7385 * calendar/calendar.el (calendar-generate-window):
7386 * calendar/time-date.el (time-to-days):
7387 Remove unused local variables.
7388
16a43933
CY
73892011-04-18 Chong Yidong <cyd@stupidchicken.com>
7390
7391 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7392 glyphless-char-display table.
7393 (tabulated-list-glyphless-char-display): New var.
7394
7eed1860
SS
73952011-04-18 Sam Steingold <sds@gnu.org>
7396
7397 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7398 to acknowledgments.
7399
4d2d1ccd
GM
74002011-04-17 Glenn Morris <rgm@gnu.org>
7401
7402 * calendar/diary-lib.el (diary-sexp-entry):
7403 * calendar/holidays.el (holiday-sexp):
7404 Set debug-on-error rather than the removed stack-trace-on-error.
7405
239da61d
GM
74062011-04-16 Glenn Morris <rgm@gnu.org>
7407
7408 * progmodes/f90.el: Use lexical-binding.
7409 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7410
8b05752a
SM
74112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7412
daca8ba5
SM
7413 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7414 (mail-mode): Setup mailalias completion here instead.
7415 * mail/mailalias.el: Use lexical-binding.
7416 (pattern, mailalias-done): Declare dynamic.
7417 (mail-completion-at-point-function): New function, from mail-complete.
7418 (mail-complete): Use it.
7419 (mail-completion-expand): New function.
7420 (mail-get-names): Use it.
7421 (mail-directory, mail-directory-process, mail-directory-stream):
7422 Don't use `pattern' for lexically bound arg.
7423
6f542485
SM
7424 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7425
037e7c3f
SM
7426 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7427 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7428 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7429
8b05752a
SM
7430 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7431 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7432 (byte-interactive-p): Define them again, for use when inlining
7433 old code.
7434
49093f60
JB
74352011-04-15 Juanma Barranquero <lekktu@gmail.com>
7436
7437 * loadup.el: Use `string-to-number', not `string-to-int'.
7438
b5b8e7de
SM
74392011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7442 gud-gdb-complete-command.
7443 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7444 (gud-gdb-completion-at-point): New function.
7445 (gud-gdb-completions): Remove.
7446
f42efeb5
MA
74472011-04-14 Michael Albinus <michael.albinus@gmx.de>
7448
49093f60
JB
7449 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7450 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7451 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7452 whether `executable-find' is bound.
f42efeb5
MA
7453
7454 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7455
e240cc21
SM
74562011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * minibuffer.el (completion-in-region-mode-predicate)
7459 (completion-in-region-mode--predicate): New vars.
7460 (completion-in-region, completion-in-region--postch)
7461 (completion-in-region-mode): Use them.
7462 (completion--capf-wrapper): Also return the hook function.
7463 (completion-at-point, completion-help-at-point):
7464 Adjust and provide a predicate.
c2bd2ab0
SM
7465
7466 Preserve arg names for advice of subr and lexical functions (bug#8457).
7467 * help-fns.el (help-function-arglist): Consolidate the subr and
7468 new-byte-code cases. Add argument `preserve-names' to extract names
7469 from the docstring when needed.
7470 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7471 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7472 (ad-arglist): Use help-function-arglist's new arg.
7473 (ad-definition-type): Use cond.
7474
c183f693
JB
74752011-04-13 Juanma Barranquero <lekktu@gmail.com>
7476
06641a47
JB
7477 * autorevert.el (auto-revert-handler):
7478 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7479 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7480 Don't quote lambda.
7481
c183f693
JB
7482 * image-mode.el (image-transform-set-scale):
7483 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7484
1e3b6001
G
74852011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7486
7487 * net/network-stream.el (network-stream-open-starttls): Only do
7488 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7489 Upgrades via gnutls-cli are too slow to be done opportunistically.
7490
2d6af8dd
JB
74912011-04-12 Juanma Barranquero <lekktu@gmail.com>
7492
7493 * dframe.el (dframe-current-frame): Remove spurious quote.
7494
c0749a51
GM
74952011-04-12 Glenn Morris <rgm@gnu.org>
7496
088d0d61
GM
7497 * calendar/cal-tex.el (cal-tex-end-document):
7498 Try to automatically use latin1 input if needed.
7499
c0749a51
GM
7500 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7501 Don't try to cons a mark onto an empty element.
7502
5c90fde0
LL
75032011-04-11 Leo Liu <sdl.web@gmail.com>
7504
7505 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7506 buffers.
7507 (ido-kill-buffer-at-head): Support killing virtual buffers.
7508
369e974d
CY
75092011-04-10 Chong Yidong <cyd@stupidchicken.com>
7510
7511 * minibuffer.el (completion-show-inline-help): New var.
7512 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7513 (minibuffer-force-complete, minibuffer-complete-word):
7514 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7515
7516 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7517 to avoid interference from inline help (Bug#5849).
7518
37f1c930
LL
75192011-04-10 Leo Liu <sdl.web@gmail.com>
7520
099c39a4
JB
7521 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7522 Fix typo.
37f1c930 7523
a32d4040
CY
75242011-04-09 Chong Yidong <cyd@stupidchicken.com>
7525
7526 * image-mode.el (image-toggle-display-image): Signal an error if
7527 not in Image mode.
7528 (image-transform-mode, image-transform-resize)
7529 (image-transform-set-rotation): Doc fix.
daca8ba5 7530 (image-transform-set-resize): Delete.
a32d4040
CY
7531 (image-transform-set-scale, image-transform-fit-to-height)
7532 (image-transform-fit-to-width): Handle image-toggle-display-image
7533 and image-transform-resize directly.
7534
099c39a4 75352011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7536
7537 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7538 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7539 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7540 (doc-view-mode-map): Add bindings for the new functions.
7541
099c39a4 75422011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7543
4d61f28d 7544 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7545 Fix typo in docstring.
7546
3726838a
EZ
75472011-04-08 Eli Zaretskii <eliz@gnu.org>
7548
04f33f1e
EZ
7549 * files.el (file-size-human-readable): Produce one digit after
7550 decimal, like "ls -lh" does.
7551
7552 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7553 the file size representation.
7554
3726838a
EZ
7555 * simple.el (list-processes): If async subprocesses are not
7556 available, error out with a clear error message.
7557
cbb59342
CY
75582011-04-08 Chong Yidong <cyd@stupidchicken.com>
7559
7560 * help.el (help-form-show): New function, to be called from C.
7561 Put help-form output in a buffer named differently than *Help*.
7562
e3971c44
EZ
75632011-04-08 Eli Zaretskii <eliz@gnu.org>
7564
7565 * files.el (file-size-human-readable): New function.
7566
7567 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7568 computing the representation inline. Don't require `cl'.
7569
12544bbe
GM
75702011-04-08 Glenn Morris <rgm@gnu.org>
7571
a1de6c6a
GM
7572 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7573
3c4671f4
GM
7574 * net/browse-url.el (browse-url-firefox):
7575 Test system-type, not system-configuration.
7576
b605679c
GM
7577 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7578 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7579 Use log-edit-empty-buffer-p. (Bug#7598)
7580
56442f0c
GM
7581 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7582 (rlogin-mode-map): Initialize in the defvar.
7583 (rlogin): Use ignore-errors.
7584
12544bbe
GM
7585 * replace.el (occur-mode-map): Some fixes for menu items.
7586
eb237b0f
AH
75872011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7588
7589 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7590
7d668f2c
CY
75912011-04-06 Chong Yidong <cyd@stupidchicken.com>
7592
e67a13ab
CY
7593 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7594 issuing unused warnings.
7595
7596 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7597 macro directly.
7598
7d668f2c
CY
7599 * simple.el: Lisp reimplement of list-processes. Based on an
7600 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7601 (process-menu-mode): New major mode.
7602 (list-processes--refresh, list-processes):
7603 (process-menu-visit-buffer): New functions.
7604
7605 * files.el (save-buffers-kill-emacs): Don't assume any return
7606 value of list-processes, which is undocumented anyway.
7607
a83ec3c9
CY
76082011-04-06 Chong Yidong <cyd@stupidchicken.com>
7609
7610 * emacs-lisp/tabulated-list.el: New file.
7611
e91a96fe
CY
7612 * emacs-lisp/package.el: Use Tabulated List mode.
7613 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7614 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7615 table format using Tabulated List mode variables.
7616 (package--push): New macro, replacing package-list-maybe-add.
7617 (package-menu--generate): Use package--push. Renamed from
7618 package--generate-package-list.
7619 (package-menu-refresh, list-packages): Use it.
daca8ba5 7620 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7621 Return insertion data instead of inserting it directly.
099c39a4
JB
7622 (package-menu-describe-package, package-menu-execute):
7623 Use tabulated-list-get-id.
e91a96fe
CY
7624 (package-menu-mark-delete, package-menu-mark-install)
7625 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7626 (package-menu-mark-obsolete-for-deletion):
7627 Use tabulated-list-put-tag.
e91a96fe
CY
7628 (package--list-packages, package-menu-revert)
7629 (package-menu-get-package, package-menu-get-version)
7630 (package-menu-sort-by-column): Functions deleted.
7631 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7632 (package-menu--status-predicate, package-menu--version-predicate)
7633 (package-menu--name-predicate)
7634 (package-menu--description-predicate): Handle arguments in the
7635 Tabulated List format.
7636 (package-list-packages-no-fetch): Call list-packages.
7637
3e214b50
JB
76382011-04-06 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7641 (after-find-file): Don't bind it.
3e214b50
JB
7642 (revert-buffer-in-progress-p): New variable.
7643 (revert-buffer): Bind it.
7644 Pass nil for `after-find-file-from-revert-buffer'.
7645
7646 * saveplace.el (save-place-find-file-hook): Use new variable
7647 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7648
3f0f1700
GM
76492011-04-06 Glenn Morris <rgm@gnu.org>
7650
c0274801
GM
7651 * Makefile.in (AUTOGEN_VCS): New variable.
7652 (autoloads): Use $AUTOGEN_VCS.
7653
3f0f1700
GM
7654 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7655 * calendar/calendar.el (calendar-mode-map):
7656 Check for toolkit scroll bars. (Bug#8305)
7657
41ea9e48
CY
76582011-04-05 Chong Yidong <cyd@stupidchicken.com>
7659
7660 * minibuffer.el (completion-in-region--postch)
7661 (completion-in-region-mode): Remove unnecessary messages.
7662
6194c800
JB
76632011-04-05 Juanma Barranquero <lekktu@gmail.com>
7664
33256f14
JB
7665 * font-lock.el (font-lock-refresh-defaults):
7666 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7667 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7668
6194c800
JB
7669 * info.el (Info-directory-list, Info-read-node-name-2)
7670 (Info-split-parameter-string): Doc fixes.
7671 (Info-virtual-nodes): Reflow docstring.
7672 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7673 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7674 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7675 Fix typos in docstrings.
7676 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7677 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7678 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7679 (Info-restore-desktop-buffer): Mark unused parameters.
7680 (Info-directory-find-file, Info-directory-find-node)
7681 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7682 (Info-virtual-index-find-node, Info-apropos-find-file)
7683 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7684 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7685 (Info-virtual-index): Remove unused local variable `nodename'.
7686
b87a8200 76872011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7688
b87a8200
DD
7689 * net/rcirc.el: Update my e-mail address.
7690 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7691
3b2ff876
CY
76922011-04-05 Chong Yidong <cyd@stupidchicken.com>
7693
7694 * startup.el (command-line): Save the cursor's theme-face
7695 directly, instead of using face-override-spec.
7696
7697 * custom.el (load-theme): Minor optimization in assigning faces.
7698
8d17e7ca
JB
76992011-04-04 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * help-fns.el (describe-variable): Complete all variables having
7702 documentation, including keywords.
7703 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7704
2fbc1934
JB
77052011-04-04 Juanma Barranquero <lekktu@gmail.com>
7706
7707 Convert to lexical-binding.
7708
7709 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7710 (bs--get-marked-string, bs--get-modified-string)
7711 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7712 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7713 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7714
7715 * ehelp.el (electric-help-execute-extended)
7716 (electric-help-ctrl-x-prefix):
7717 * hexl.el (hexl-revert-buffer-function):
7718 * linum.el (linum-after-change, linum-after-scroll):
7719 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7720
7721 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7722
74f50695
DU
77232011-04-04 Daiki Ueno <ueno@unixuser.org>
7724
7725 * epa-dired.el:
7726 * epa-mail.el:
7727 * epa-hook.el:
7728 * epa-file.el:
7729 * epa.el:
7730 * epg.el: Use lexical binding.
7731
c11325f7
CY
77322011-04-03 Chong Yidong <cyd@stupidchicken.com>
7733
0d9e9a12
CY
7734 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7735
c11325f7 7736 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7737 dictionary case for flyspell-mark-duplications-exceptions.
7738 Use regexp matching for languages.
c11325f7
CY
7739 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7740 default dictionary (Bug#7926).
7741
da91b5f2
CY
77422011-04-02 Chong Yidong <cyd@stupidchicken.com>
7743
099c39a4
JB
7744 * emacs-lisp/package.el (package--with-work-buffer):
7745 Recognize https URLs.
da91b5f2 7746
099c39a4
JB
7747 * net/network-stream.el: Move from gnus/proto-stream.el.
7748 Change prefix to network-stream throughout.
da91b5f2
CY
7749 (open-protocol-stream): Merge into open-network-stream, leaving
7750 open-protocol-stream as an alias. Handle nil BUFFER args.
7751
7752 * subr.el (open-network-stream): Move to net/network-stream.el.
7753
afa8e9f6
GM
77542011-04-02 Glenn Morris <rgm@gnu.org>
7755
1d2e369d
GM
7756 * find-dired.el (find-exec-terminator): New option.
7757 (find-ls-option): Test for -ls support.
7758 (find-ls-subdir-switches): Test for -b in find-ls-option.
7759 (find-dired, find-grep-dired): Doc fixes.
7760 (find-dired): Use find-exec-terminator.
7761
8abb7da8 7762 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7763 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7764 (find-name-arg): Remove purecopy.
8abb7da8 7765
f3ca7378
GM
7766 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7767 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7768 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7769 accordingly. Don't add the null-device if not needed.
7770
afa8e9f6
GM
7771 * files.el (save-some-buffers): Doc fix.
7772
35eae264
EZ
77732011-04-02 Eli Zaretskii <eliz@gnu.org>
7774
7775 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7776
26b51db5
JB
77772011-04-01 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7780 Use `dolist' rather than `mapcar'.
7781
7200d79c
SM
77822011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7783
03408648 7784 Add lexical binding.
7200d79c 7785
03408648
SM
7786 * subr.el (apply-partially): Use new closures rather than CL.
7787 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7788 (dolist, dotimes): Use slightly different expansion for lexical code.
7789 (functionp): Move to C.
7790 (letrec): New macro.
7791 (with-wrapper-hook): Use it and apply-partially instead of CL.
7792 (eval-after-load): Preserve lexical-binding.
7793 (save-window-excursion, with-output-to-temp-buffer): Turn them
7794 into macros.
7200d79c 7795
03408648
SM
7796 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7797
7798 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7799 than the arglist.
7800 (help-add-fundoc-usage): Don't add `Not documented'.
7801 (help-function-arglist): Handle closures, subroutines, and new
7802 byte-code-functions.
7803 (help-make-usage): Remove leading underscores.
7804 (describe-function-1): Handle closures.
7805 (describe-variable): Use special-variable-p for completion.
7806
7807 * files.el (lexical-binding): Declare safe.
f488fb65 7808
03408648
SM
7809 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7810 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7811 (pcase): Add `let' pattern.
7812 Change memoization so it actually works.
7813 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7814 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7815 <let>: New case.
f488fb65 7816
03408648
SM
7817 * emacs-lisp/macroexp.el: Use lexical binding.
7818 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7819 Don't convert ' to #' without checking that it's indeed quoting
7820 a lambda.
7821
7822 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7823 Use eval-sexp-add-defvars.
03408648
SM
7824 (eval-sexp-add-defvars): New fun.
7825
7826 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7827
7828 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7829 Don't autoload.
7830 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7831 than the internal `byte-compile-lambda'.
7832 (defmethod): Don't hide code under quotes.
7833 (eieio-defmethod): New `code' argument.
7834
7835 * emacs-lisp/eieio-comp.el: Remove.
7836
7837 * emacs-lisp/edebug.el (edebug-eval-defun)
7838 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7839 (edebug-toggle): Avoid `eval'.
7840
7841 * emacs-lisp/disass.el (disassemble-internal): Handle new
7842 `closure' objects.
7843 (disassemble-1): Handle new byte codes.
7844
7845 * emacs-lisp/cl.el (pushnew): Silence warning.
7846
7847 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7848 (cl-byte-compile-throw): Remove.
7849 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7850
7851 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7852 closures.
7853
7854 * emacs-lisp/cconv.el: New file.
7855
7856 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7857 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7858 (byte-compile-initial-macro-environment):
7859 Handle declare-function here.
7860 (byte-compile--lexical-environment): New var.
7861 (byte-stack-ref, byte-stack-set, byte-discardN)
7862 (byte-discardN-preserve-tos): New lap codes.
7863 (byte-interactive-p): Don't use any more.
7864 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7865 New macros.
7866 (byte-compile-lapcode): Use them and handle new lap codes.
7867 (byte-compile-obsolete): Remove.
7868 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7869 (byte-compile-arglist-warn): Check late def of inlinable funs.
7870 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7871 since they should have been expanded by now.
7872 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7873 (byte-compile-from-buffer): Remove unused second arg.
7874 (byte-compile-preprocess): New function.
7875 (byte-compile-toplevel-file-form): New function to distinguish
7876 file-form calls from outside from file-form calls from hunk-handlers.
7877 (byte-compile-file-form): Simplify.
7878 (byte-compile-file-form-defsubst): Remove.
7879 (byte-compile-file-form-defmumble): Simplify now that
7880 byte-compile-lambda always returns a byte-code-function.
7881 (byte-compile): Preprocess.
7882 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7883 Remove, not used any more.
7884 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7885 (byte-compile-make-args-desc): New funs.
7886 (byte-compile-lambda): Handle lexical functions. Always return
7887 a byte-code-function.
7888 (byte-compile-reserved-constants): New var, to make up room for
7889 closed-over variables.
7890 (byte-compile-constants-vector): Obey it.
7891 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7892 (byte-compile-macroexpand-declare-function): New function.
7893 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7894 byte-code-functions.
7895 (byte-compile-form): Check obsolescence here.
7896 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7897 (byte-compile-variable-ref): Remove.
7898 (byte-compile-dynamic-variable-op): New fun.
7899 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7900 (byte-compile-variable-set): New funs.
7901 (byte-compile-discard): Add 2 args.
7902 (byte-compile-stack-ref, byte-compile-stack-set)
7903 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7904 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7905 macroexpand-all instead.
7906 (byte-compile-quote-form): Remove.
7907 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7908 (byte-compile-bind, byte-compile-unbind): New funs.
7909 (byte-compile-let): Handle let* and lexical binding.
7910 (byte-compile-let*): Remove.
7911 (byte-compile-catch, byte-compile-unwind-protect)
7912 (byte-compile-track-mouse, byte-compile-condition-case):
7913 Handle a new :fun-body form, used for lexical scoping.
7914 (byte-compile-save-window-excursion)
7915 (byte-compile-with-output-to-temp-buffer): Remove.
7916 (byte-compile-defun): Simplify.
7917 (byte-compile-stack-adjustment): New fun.
7918 (byte-compile-out): Use it.
7919 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7920
7921 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7922 handler any more.
7923
7924 * emacs-lisp/byte-opt.el: Use lexical binding.
7925 (byte-inline-lapcode): Remove (to bytecomp).
7926 (byte-compile-inline-expand): Pay attention to inlining to/from
7927 lexically bound code.
7928 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7929 any more.
7930 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7931 any more and don't call compiler-macros.
7932 (byte-compile-splice-in-already-compiled-code): Remove.
7933 (byte-code): Don't inline any more.
7934 (disassemble-offset): Receive `bytes' as argument rather than via
7935 dynamic scoping.
7936 (byte-compile-tag-number): Declare before first use.
7937 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7938 `return' even if make-spliceable.
7939 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7940 obsolete interactive-p.
7941 (byte-optimize-lapcode): Optimize new lap-codes.
7942 Don't trip up on new form of `byte-constant' lap code.
7943
7944 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7945
7946 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7947
7948 * custom.el (custom-initialize-default, custom-declare-variable):
7949 Use `defvar'.
7950
7951 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7952 New variables.
7953 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7954 (COMPILE_FIRST): Add macroexp and cconv.
7955 * makefile.w32-in: Mirror changes in Makefile.in.
7956
7957 * vc/cvs-status.el:
7958 * vc/diff-mode.el:
7959 * vc/log-edit.el:
7960 * vc/log-view.el:
7961 * vc/smerge-mode.el:
7962 * textmodes/bibtex-style.el:
7963 * textmodes/css.el:
7964 * startup.el:
7965 * uniquify.el:
da91b5f2
CY
7966 * minibuffer.el:
7967 * newcomment.el:
7968 * reveal.el:
7969 * server.el:
7970 * mpc.el:
7971 * emacs-lisp/smie.el:
7972 * doc-view.el:
7973 * dired.el:
03408648
SM
7974 * abbrev.el: Use lexical binding.
7975
0f0c1f27
EZ
79762011-04-01 Eli Zaretskii <eliz@gnu.org>
7977
7978 * info.el (info-display-manual): New function.
7979
c82b2579
SM
79802011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7983
221ddf68
TH
79842011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7985
7986 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7987 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7988
cba6e77e
GM
79892011-03-31 Glenn Morris <rgm@gnu.org>
7990
e040639f
GM
7991 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7992
cba6e77e
GM
7993 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7994
6d0f1c9e
CS
79952011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7996
7997 * progmodes/python.el (python-default-interpreter)
7998 (python-python-command-args, python-jython-command-args)
7999 (python-which-shell, python-which-args, python-which-bufname)
8000 (python-file-queue, python-comint-output-filter-function)
8001 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
8002 variables and functions.
8003
3e2d70fd
SM
80042011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8005
8006 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
8007 (completion-in-region-mode): New minor mode.
8008 (completion-in-region): Use it.
8009 (completion-in-region--data, completion-in-region-mode-map): New vars.
8010 (completion-in-region--postch): New function.
8011 (completion--capf-misbehave-funs, completion--capf-safe-funs):
8012 New vars.
8013 (completion--capf-wrapper): New function.
8014 (completion-at-point): Use it to track well-behavedness of
8015 hook functions.
8016 (completion-help-at-point): New command.
8017
f3e4086c
JM
80182011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8019
8020 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8021 syntax class to search for whitespace on a single line
8022 (Message-ID: <4D938140.4030905@redhat.com>).
8023
eb7ffc14
LL
80242011-03-30 Leo Liu <sdl.web@gmail.com>
8025
8026 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8027 New commands.
8028 (edit-abbrevs-map): Bind them here.
8029 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8030
d806ab68
KM
80312011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8032
8033 * allout.el (allout-hide-by-annotation, allout-flag-region):
8034 Reduce possibility of overlay leakage by making them volatile.
8035
8036 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8037 hash is not shared between buffers. Mode initialization is
8038 responsible for giving it a useful starting value.
8039 (allout-item-span): Reduce possibility of overlay leakage by
8040 making them volatile.
8041 (allout-widgets-count-buttons-in-region): Add diagnostic function
8042 for tracking down button overlay leaks.
8043
ea622834
LL
80442011-03-29 Leo Liu <sdl.web@gmail.com>
8045
8046 * ido.el (ido-read-internal): Use the default history var
8047 minibuffer-history if no HISTORY is specified.
8048
b62f8267
G
80492011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8050
03408648
SM
8051 * net/imap.el (imap-shell-open, imap-process-connection-type):
8052 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8053 Kerberos, SSL, other subprocesses.
8054
947b6566
LL
80552011-03-28 Leo Liu <sdl.web@gmail.com>
8056
8057 * abbrev.el (abbrev-table-empty-p): New function.
8058 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8059 nonempty ones. (Bug#5937)
8060
5ffb62aa
JD
80612011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8062
8063 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8064
7a097943
LL
80652011-03-27 Leo Liu <sdl.web@gmail.com>
8066
8067 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8068 for foreground and background colors.
8069 (ansi-color-make-color-map): Adapt.
8070
c5b40130
LL
80712011-03-25 Leo Liu <sdl.web@gmail.com>
8072
1f48f7d2
LL
8073 * midnight.el (midnight-time-float): Remove. Note it calculates
8074 the microsecond component incorrectly and seconds-to-time does the
8075 same job.
625897ec 8076 Remove redundant (require 'timer).
1f48f7d2 8077
c5b40130
LL
8078 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8079 (ido-completions): Remove unused arguments. (Bug#8329)
8080
d86d2721
SM
80812011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * minibuffer.el (completion--flush-all-sorted-completions):
8084 Remove itself from hook.
8085 (completion-at-point): Let the functions perform the completion
8086 immediately and return nil or t.
8087 * comint.el (comint-dynamic-complete-functions): Now identical to
8088 completion-at-point-functions.
8089 (comint-dynamic-list-input-ring): Remove unused var `index'.
8090 (comint--match-partial-filename, comint--unquote&expand-filename):
8091 New funs, split from comint-match-partial-filename.
8092 (comint-dynamic-complete): Use completion-at-point.
8093 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8094
e8974c48
DA
80952011-03-24 Drew Adams <drew.adams@oracle.com>
8096
8097 * thingatpt.el: Support `defun'.
8098
def71b5e
LL
80992011-03-23 Leo Liu <sdl.web@gmail.com>
8100
cb5af48e
LL
8101 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8102
def71b5e
LL
8103 * help-mode.el (help-mode-finish): Tweak regexp.
8104
927c53e7
GM
81052011-03-23 Glenn Morris <rgm@gnu.org>
8106
18d05bed
GM
8107 * eshell/esh-opt.el (eshell-eval-using-options):
8108 Do not bind unused local variable `eshell-option-stub'.
8109
927c53e7
GM
8110 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8111
9d0da923
JB
81122011-03-22 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8115 keymap variable in `with-no-warnings' to avoid a warning when the
8116 keymap has been already `defconst'ed.
8117
4b978a67
LL
81182011-03-22 Leo Liu <sdl.web@gmail.com>
8119
8120 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8121 encode all chars in abbrevs; otherwise use emacs-mule or
8122 utf-8-emacs. (Bug#8308)
8123
5fd62452
JB
81242011-03-22 Juanma Barranquero <lekktu@gmail.com>
8125
0b1596c6
JB
8126 * simple.el (backward-delete-char-untabify):
8127 Avoid warning about using `delete-backward-char'.
8128
5fd62452
JB
8129 * image.el (image-type-file-name-regexps): Make it variable.
8130 `imagemagick-register-types' modifies it, and the user may want
8131 to add new extensions for known image types.
8132 (imagemagick-register-types): Throw error if not using ImageMagick.
8133
0b4e93f1
LL
81342011-03-22 Leo Liu <sdl.web@gmail.com>
8135
8136 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8137 located before rcirc-prompt-end-marker.
8138 (rcirc-complete): Error if point is not after rcirc prompt.
8139 Handle the case when table is nil.
9882e214 8140 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8141
fccee4ab
CY
81422011-03-22 Chong Yidong <cyd@stupidchicken.com>
8143
8144 * custom.el (custom--inhibit-theme-enable): Make it affect only
8145 custom-theme-set-variables and custom-theme-set-faces.
8146 (provide-theme): Ignore custom--inhibit-theme-enable.
8147 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8148 (custom-enabling-themes): Delete variable.
d86d2721
SM
8149 (enable-theme): Accept only loaded themes as arguments.
8150 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8151 (custom-enabled-themes): Forbid themes from setting this.
8152 Eliminate use of custom-enabling-themes.
8153 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8154
af896da6
LL
81552011-03-21 Leo Liu <sdl.web@gmail.com>
8156
8157 * ido.el (ido-read-internal): Add ido-selected to history instead
8158 of user input.
8159
78f64af0
SM
81602011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * subr.el (deferred-action-list, deferred-action-function):
8163 Mark obsolete.
8164
b16ac1ec
LL
81652011-03-21 Leo Liu <sdl.web@gmail.com>
8166
810f7698
LL
8167 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8168 change on 2011-02-13 (bug#8309).
8169
b16ac1ec
LL
8170 * minibuffer.el (read-file-name-function): Change default value.
8171 (read-file-name--defaults): Rename from read-file-name-defaults.
8172 (read-file-name-default): Rename from read-file-name.
8173 (read-file-name): Call read-file-name-function.
8174
4e05e67e
GM
81752011-03-21 Glenn Morris <rgm@gnu.org>
8176
8177 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8178 Doc fixes.
8179
4359915b
CY
81802011-03-21 Chong Yidong <cyd@stupidchicken.com>
8181
8182 * cus-theme.el: Add missing provide statement.
8183 (customize-create-theme): Extract theme value correctly.
8184 (custom-theme-visit-theme): Autoload.
8185 (customize-create-theme): Prompt before inserting default faces.
8186
1fe275ee
JB
81872011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8188
8189 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8190 units and musical notes.
8191
3ec03f7e
LL
81922011-03-20 Leo <sdl.web@gmail.com>
8193
8194 * ido.el (ido-read-internal): Use completing-read-default.
8195 (ido-completing-read): Fix compatibility with completing-read.
8196
7d476bde
CO
81972011-03-20 Christian Ohler <ohler@gnu.org>
8198
8199 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8200 (ert-delete-all-tests): Use `called-interactively-p' rather than
8201 `interactive-p'.
8202 (ert--make-xrefs-region): Respect END.
8203
fe0fb33e
CY
82042011-03-19 Chong Yidong <cyd@stupidchicken.com>
8205
ff854b0b
CY
8206 * dired-aux.el (dired-create-directory): Signal an error if the
8207 directory already exists (Bug#8246).
8208
fe0fb33e
CY
8209 * facemenu.el (list-colors-display): Call list-faces-display
8210 inside with-help-window.
8211 (list-colors-print): Use display property to align the final
8212 column, instead of checking window-width.
8213
576bce32
EZ
82142011-03-19 Eli Zaretskii <eliz@gnu.org>
8215
4d61f28d 8216 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8217 windows-nt systems.
8218 (emerge-protect-metachars): Quote correctly for ms-dos and
8219 windows-nt systems.
8220
89c41d68 82212011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8222
8223 * info.el (info-initialize): Replace all uses of `:' with
8224 path-separator for compatibility with non-Unix systems.
8225 Cache quoting of path-separator. (Bug#8258)
8226
b14e3e21 82272011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8228
8229 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8230 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8231 (mouse-avoidance-mode): Fix typos in docstrings.
8232
4525ce3e
CY
82332011-03-19 Chong Yidong <cyd@stupidchicken.com>
8234
8235 * startup.el (package-subdirectory-regexp): Move from package.el.
8236 Omit \\` and \\', and let callers add them.
8237
8238 * emacs-lisp/package.el (package-strip-version)
8239 (package-load-all-descriptors): Add \\` and \\' to
8240 package-subdirectory-regexp before using it.
8241 (package-untar-buffer): New arg DIR; ensure that file untars only
8242 into this expected directory. Remove superfluous delete-region.
8243 (package-unpack): Caller changed.
8244 (package-tar-file-info): Use package-subdirectory-regexp.
8245
a904a09a 82462011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8247
a904a09a
SM
8248 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8249 diff-mode-shared-map (bug#8284).
8250 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8251
82522011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8253
8254 * calendar/time-date.el (format-seconds): Use assoc instead of
8255 assoc-string, since assoc-string doesn't exist in XEmacs.
8256
171fc304
JB
82572011-03-17 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * custom.el (custom-known-themes): Reflow docstring.
8260 (custom-theme-load-path): Fix typo in docstring.
8261 (load-theme): Fix typo in error message.
8262 (custom-available-themes, custom-variable-theme-value):
8263 Use `let', not `let*'.
8264
d71990a1
JB
82652011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8266
8267 * calc/README: Mention inclusion of musical notes.
8268
8269 * calc/calc-units.el (calc-lu-quant): Rename from
8270 `calc-logunits-quantity'.
8271 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8272 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8273 (calc-db): Rename from `calc-dblevel'.
8274 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8275 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8276 (calc-np): Rename from `calc-nplevel'.
8277 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8278 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8279 (calc-lu-plus): Rename from `calc-logunits-add'.
8280 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8281 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8282 (calc-lu-minus): Rename from `calc-logunits-sub'.
8283 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8284 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8285 (calc-lu-times): Rename from `calc-logunits-mul'.
8286 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8287 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8288 (calc-lu-divide): Rename from `calc-logunits-div'.
8289 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8290 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8291
8292 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8293 functions being autoloaded.
8294
8295 * calc/calc.el (calc-lu-power-reference): Rename from
8296 `calc-logunits-power-reference'.
8297 (calc-lu-field-reference): Rename from
8298 `calc-logunits-field-reference'.
8299
8300 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8301
40c2934b
SM
83022011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * minibuffer.el (completion-all-sorted-completions):
8305 Use :completion-cycle-penalty text property if present.
8306
b0911414
KM
83072011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8308
8309 * allout.el (allout-yank-processing): Adjust for new rebulleting
8310 regime so bullet being yanked is used without prompting the user
8311 for a choice.
8312
8a05b668
JB
83132011-03-16 Juanma Barranquero <lekktu@gmail.com>
8314
8315 * startup.el (command-line): Warn the user that _emacs is deprecated.
8316
5ba5fb81
JB
83172011-03-16 Juanma Barranquero <lekktu@gmail.com>
8318
8319 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8320 (delphi-verbose, delphi-comment-face, delphi-string-face)
8321 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8322 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8323 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8324 (delphi-new-comment-line, delphi-font-lock-defaults)
8325 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8326 Fix typos in docstrings.
8327
2dab465b
KM
83282011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8329
5ba5fb81 8330 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8331 Invert the roles of character and string values for INSTEAD, so a
8332 string is used for the more common case of a defaulting prompt.
8333
0adf5618
SM
83342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * progmodes/ruby-mode.el (ruby-backward-sexp):
8337 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8338 * play/gamegrid.el (gamegrid-make-face):
8339 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8340 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8341 * notifications.el (notifications-notify):
8342 * net/xesam.el (xesam-search-engines):
8343 * net/quickurl.el (quickurl-list-insert):
8344 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8345
d72700e5
CY
83462011-03-15 Chong Yidong <cyd@stupidchicken.com>
8347
8348 * startup.el (command-line): Update package subdirectory regexp.
8349
49c5410a
SM
83502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8351
c6eee9aa
SM
8352 * allout.el (allout-abbreviate-flattened-numbering)
8353 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8354
49c5410a
SM
8355 * subr.el (read-char-choice): Only show the cursor after the prompt,
8356 not after the answer.
8357
047b2bb9
KR
83582011-03-15 Kevin Ryde <user42@zip.com.au>
8359
8360 * help-fns.el (variable-at-point): Skip leading quotes, if any
8361 (bug#8253).
8362
0a57d256
SM
83632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8366 warning message.
8367
77c992bc
MA
83682011-03-14 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * shell.el (shell): When called interactively, offer to change the
8371 shell file name on remote hosts.
8372
eebc475d
TZ
83732011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8374
8375 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8376 integration for LDAP parameters. The host, base, user or binddn,
8377 and secret tokens can be specified in a netrc file, for instance.
8378 This is optional because an `auth-source' parameter must be
8379 specified in the search attributes.
8380
9d05d1ba
JB
83812011-03-13 Juanma Barranquero <lekktu@gmail.com>
8382
8383 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8384
09d9db2c
GM
83852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8388 into declaration. Remove redundant and harmful binding.
8389
83902011-03-12 Eli Zaretskii <eliz@gnu.org>
8391
8392 * files.el (file-ownership-preserved-p): Pass `integer' as an
8393 explicit 2nd argument to `file-attributes'. If the file's owner
8394 is the Administrators group on Windows, and the current user is
8395 Administrator, consider that a match.
8396
8397 * server.el (server-ensure-safe-dir): Consider server directory
8398 safe on MS-Windows if its owner is the Administrators group while
8399 the current Emacs user is Administrator. Use `=' to compare
8400 numerical UIDs, since they could be integers or floats.
8401
219bd536
JB
84022011-03-12 Juanma Barranquero <lekktu@gmail.com>
8403
8404 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8405
f3afd36b
MA
84062011-03-12 Michael Albinus <michael.albinus@gmx.de>
8407
8408 Sync with Tramp 2.2.1.
8409
8410 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8411
8412 * net/trampver.el: Update release number.
8413
3aaaa6f1
SM
84142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8415
94642599
SM
8416 * progmodes/compile.el (compilation--previous-directory): Fix up
8417 various nil/dead-marker mismatches (bug#8014).
8418 (compilation-directory-properties, compilation-error-properties):
8419 Don't call it at a position past the one we're about to change.
8420
3aaaa6f1
SM
8421 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8422 Disable obsolescence warnings in the file that declares it.
8423
14239447
KM
84242011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8425
099c39a4
JB
8426 * allout-widgets.el (allout-widgets-tally):
8427 Initialize allout-widgets-tally as a hash table rather than nil to
8428 prevent mode-line redisplay warnings. Also, clarify the module
8429 description and fix a comment typo.
14239447 8430
135e287c
JB
84312011-03-11 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * help-fns.el (describe-variable): Don't complete keywords.
8434 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8435
ffbf300e
CY
84362011-03-10 Chong Yidong <cyd@stupidchicken.com>
8437
ba08b241
CY
8438 * emacs-lisp/package.el (package-version-join): Impose a standard
8439 string representation for pre/alpha/beta version lists.
8440 (package-unpack-single): Standardize the directory name by passing
8441 it through package-version-join.
8442 (package-strip-rcs-id): Accept any version string that does not
8443 signal an error in version-to-list.
ffbf300e 8444
f346fd6b
MA
84452011-03-10 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * simple.el (delete-trailing-whitespace): Return nil for the
8448 benefit of `write-file-functions'.
8449
ccb55d27
GM
84502011-03-10 Glenn Morris <rgm@gnu.org>
8451
5ceaac0c
GM
8452 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8453
02da65ff
GM
8454 * vc/vc-git.el (vc-git-program): New option.
8455 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8456 (vc-git--call): Use it.
8457
b2f603cc
GM
8458 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8459
5772caab
GM
8460 * cus-edit.el (Custom-newline): If no button at point, look
8461 for a subgroup button at start-of-line. (Bug#2298)
8462
ccb55d27
GM
8463 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8464
ec6ecaed
JD
84652011-03-10 Julien Danjou <julien@danjou.info>
8466
8467 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8468 `cursor-type' is nil.
8469
9d5aa01d
JB
84702011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8471
8472 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8473
b6a5875b
KM
84742011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8475
8476 * allout.el Summary: Change so yank of distinctive-bullet items
8477 preserves the existing header prefix, rebulleting it if necessary,
8478 rather than replacing it. This is necessary for proper operation
8479 of cooperative addons like allout-widgets.
219bd536 8480 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8481 SOLICIT arg to INSTEAD, and interpret additionally a string value
8482 as alternate bullet to be used, instead of prompting the user for
8483 a bullet character.
8484
ee545c35
MA
84852011-03-09 Michael Albinus <michael.albinus@gmx.de>
8486
d86d2721
SM
8487 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8488 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8489 `tramp-default-port'.
8490
c47971d7
DD
84912011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8492
8493 * net/rcirc.el (rcirc-handler-001): Remove useless
8494 with-rcirc-process-buffer.
8495 (rcirc-check-auth-status): Swap arguments to string-match.
8496
13522cb4
GM
84972011-03-09 Glenn Morris <rgm@gnu.org>
8498
0be6f4f1
GM
8499 * shell.el (shell-mode):
8500 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8501
13522cb4
GM
8502 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8503 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8504
515de2e3
CY
85052011-03-08 Chong Yidong <cyd@stupidchicken.com>
8506
8507 * emacs-lisp/package.el (package-refresh-contents)
8508 (package-menu-execute): Use condition-case-no-debug.
8509
b511b994
MA
85102011-03-08 Michael Albinus <michael.albinus@gmx.de>
8511
8512 * simple.el (shell-command-to-string): Use `process-file'.
8513
8514 * emacs-lisp/package.el (package-tar-file-info): Handle also
8515 remote files.
8516
d86d2721
SM
8517 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8518 Use `equal' for upload base check.
b511b994 8519
25bbfb31
AM
85202011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8521
8522 * textmodes/texinfo.el (texinfo-environments):
8523 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8524
be996521
GM
85252011-03-08 Glenn Morris <rgm@gnu.org>
8526
e9c8529f
GM
8527 * cus-start.el (cursor-in-non-selected-windows):
8528 Fix :set quoting oddness. (Bug#8192)
8529
be996521
GM
8530 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8531 in some setf expressions. (Bug#2159)
8532
2bb5649e
CY
85332011-03-08 Chong Yidong <cyd@stupidchicken.com>
8534
8535 * custom.el (custom-available-themes): Return themes in
8536 alphabetical order.
8537
33383987 8538See ChangeLog.15 for earlier changes.
e3d51b27
MR
8539
8540;; Local Variables:
8541;; coding: utf-8
e3d51b27
MR
8542;; End:
8543
33383987 8544 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8545
8546 This file is part of GNU Emacs.
8547
8548 GNU Emacs is free software: you can redistribute it and/or modify
8549 it under the terms of the GNU General Public License as published by
8550 the Free Software Foundation, either version 3 of the License, or
8551 (at your option) any later version.
8552
8553 GNU Emacs is distributed in the hope that it will be useful,
8554 but WITHOUT ANY WARRANTY; without even the implied warranty of
8555 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8556 GNU General Public License for more details.
8557
8558 You should have received a copy of the GNU General Public License
8559 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.