* doc/lispref/windows.texi (Choosing Window): Fix keybinding typo.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
05a61ee3
SM
12011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * files.el (find-file): Always use selected-window.
4
be7f5545
MR
52011-11-07 Martin Rudalics <rudalics@gmx.at>
6
7 * window.el (window-combinations): Make WINDOW argument
8 mandatory. Rewrite doc-string.
9 (walk-window-subtree, window-atom-check, window-min-delta)
10 (window-max-delta, window--resize-this-window)
11 (window--resize-root-window-vertically, window-tree)
12 (balance-windows, window-state-put): Rewrite doc-strings as to
13 not mention the term "subwindow".
14 (window--resize-subwindows-skip-p): Rename to
15 window--resize-child-windows-skip-p.
16 (window--resize-subwindows-normal): Rename to
17 window--resize-child-windows-normal.
18 (window--resize-subwindows): Rename to
19 window--resize-child-windows.
20 (window-or-subwindow-p): Rename to window--in-subtree-p.
21
3c6702ef
ML
222011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
23
24 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
25 Ensure that mbox format messages end in two newlines (Bug#9974).
26
49745b39
CY
272011-11-06 Chong Yidong <cyd@gnu.org>
28
29 * window.el (window-combination-p): Function deleted; its
30 side-effect is not used in any existing code.
31 (window-combinations, window-combined-p): Call window-*-child
32 directly.
33
24300f5f
CY
342011-11-05 Chong Yidong <cyd@gnu.org>
35
36 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
37 (window-size-ignore, window-state-get): Callers changed.
38 (window-normalize-window): Rename from window-normalize-any-window.
39 New arg LIVE-ONLY, replacing window-normalize-live-window.
40 (window-normalize-live-window): Deleted.
41 (window-combination-p, window-combined-p, window-combinations)
42 (walk-window-subtree, window-atom-root, window-min-size)
43 (window-sizable, window-sizable-p, window-size-fixed-p)
44 (window-min-delta, window-max-delta, window-resizable)
45 (window-resizable-p, window-full-height-p, window-full-width-p)
46 (window-current-scroll-bars, window-point-1, set-window-point-1)
47 (window-at-side-p, window-in-direction, window-resize)
48 (adjust-window-trailing-edge, maximize-window, minimize-window)
49 (window-deletable-p, delete-window, delete-other-windows)
50 (record-window-buffer, unrecord-window-buffer)
51 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
52 (quit-window, split-window, window-state-put)
53 (set-window-text-height, fit-window-to-buffer)
54 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 55
89bd5ee1
EZ
562011-11-04 Eli Zaretskii <eliz@gnu.org>
57
53479029
EZ
58 * mail/rmail.el (rmail-simplified-subject): Decode subject with
59 rfc2047-decode-string.
60 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
61 warnings.
62
89bd5ee1
EZ
63 * window.el (window-body-height, window-body-width): Mention in
64 the doc string that the return values are in frame's canonical
65 units. (Bug#9949)
66
bd17fdee
AM
672011-11-03 Alan Mackenzie <acm@muc.de>
68
69 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
70 change in cc-engine.el.
71
acc825c5
SM
722011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * window.el (switch-to-buffer): Use `force-same-window' interactively.
75
1885e5b8
MR
762011-11-02 Martin Rudalics <rudalics@gmx.at>
77
78 * window.el (quit-window): Call unrecord-window-buffer after
79 showing another buffer in the window. (Bug#9937)
acc825c5 80 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 81
ebe06da9
JB
822011-11-02 Juanma Barranquero <lekktu@gmail.com>
83
84 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
85 Accept status with more than 9 shelves. (Bug#9935)
86 Reported by Colin D Bennett <colin@gibibit.com>.
87
4ee88440
MR
882011-11-01 Martin Rudalics <rudalics@gmx.at>
89
90 * help.el (with-help-window): Don't reference
91 temp-buffer-show-specifiers in doc-string.
92
08e1d82c
AS
932011-10-31 Andreas Schwab <schwab@linux-m68k.org>
94
95 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
96 menu-item.
97
84bd6e9e
VJL
982011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
99
100 * whitespace.el: New version 13.2.2.
101 (whitespace-newline-mode): Disable properly. Reported by Sarah
102 <EmacsWiki>.
103
dba0634a
UJ
1042011-10-30 Ulf Jasper <ulf.jasper@web.de>
105
106 * net/newst-treeview.el: Remove "Time-stamp".
107 (newsticker--group-manage-orphan-feeds): Do not call
108 newsticker--treeview-tree-update.
db22a3c2
JB
109 (newsticker-treeview-update, newsticker-treeview):
110 Call newsticker--treeview-tree-update if necessary.
dba0634a 111
3d8daefe
MR
1122011-10-30 Martin Rudalics <rudalics@gmx.at>
113
114 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
115 (window-iso-combinations): Remove "iso-" infix.
116 Suggested by Chong Yidong.
3d8daefe
MR
117 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
118 (window-max-delta-1, window-resize, window--resize-siblings)
119 (window--resize-this-window, adjust-window-trailing-edge)
120 (split-window, balance-windows-1)
121 (shrink-window-if-larger-than-buffer):
122 * calendar/calendar.el (calendar-generate-window):
db22a3c2 123 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 124
1bc4c3ae
SM
1252011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
128 in place (bug#9907).
129 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
130 (eshell-rewrite-if-command, eshell-rewrite-for-command)
131 (eshell-structure-basic-command, eshell-rewrite-while-command)
132 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
133 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
134 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
135 (eshell-do-pipelines-synchronously, eshell-eval-command):
136 Use backquotes and prefer setq to set.
137 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
138 (eshell-macrop): Use functionp.
c1e2f5fa 139 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 140
30b65d9c
CY
1412011-10-30 Chong Yidong <cyd@gnu.org>
142
143 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
144 instead of set-mark (Bug#9810).
145
2d197ffb
CY
1462011-10-30 Chong Yidong <cyd@gnu.org>
147
148 * window.el (split-window-below, split-window-right): Rename from
149 split-window-above-each-other and split-window-side-by-side
150 respectively. All callers changed.
151 (split-window-sensibly, split-window-sensibly): Use them.
152 (split-window-keep-point): Doc fix.
153
154 * isearch.el: Add isearch-scroll property to split-window-below
155 and split-window-right.
156
157 * follow.el (follow-mode):
158 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
159 * progmodes/ada-xref.el (ada-gdb-application):
160 * emulation/vip.el (vip-buffer-in-two-windows):
161 * image-dired.el (image-dired-dired-with-window-configuration):
162 * dired-x.el (dired-do-find-marked-files):
163 * dired.el (dired-pop-to-buffer):
164 * bs.el (bs--show-with-configuration):
165 * vc/emerge.el (emerge-setup-windows):
166 * textmodes/two-column.el (2C-two-columns):
167 * textmodes/reftex-toc.el (reftex-toc):
168 * progmodes/gdb-mi.el (gdb-setup-windows):
169 * progmodes/fortran.el (fortran-window-create):
170 * net/newst-treeview.el (newsticker--treeview-window-init):
171 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
172 * emulation/tpu-edt.el (tpu-gold-map):
173 * emulation/crisp.el (crisp-mode-map):
174 * calendar/calendar.el (calendar-basic-setup): Callers changed.
175
38bb2ca8
CY
1762011-10-29 Chong Yidong <cyd@gnu.org>
177
aa4de341
CY
178 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
179
e1eb5385
CY
180 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
181
5d2ece3c
CY
182 * textmodes/flyspell.el (flyspell-word): Fix char offset for
183 forged Ispell output (Bug#7904).
184
38bb2ca8
CY
185 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
186
d0af9f77
SM
1872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * doc-view.el: Avoid ugly errors about not finding nil.
190 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
191 (doc-view-dvipdf-program, doc-view-unoconv-program)
192 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
193 Avoid nil or absolute file name as default value.
194 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
195
52bedd34
AM
1962011-10-28 Alan Mackenzie <acm@muc.de>
197
db22a3c2 198 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 199
7e43cfa5
AM
2002011-10-28 Alan Mackenzie <acm@muc.de>
201
202 Amend the handling of c-beginning/end-of-defun in nested declaration
203 scopes.
204
52bedd34
AM
205 * progmodes/cc-vars.el (c-defun-tactic): Move here from
206 cc-langs.el. Change it to a defcustom.
7e43cfa5 207
52bedd34
AM
208 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
209 cc-vars.el.
7e43cfa5 210
d0af9f77
SM
211 * progmodes/cc-engine.el (c-beginning-of-statement-1):
212 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 213
52bedd34 214 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 215 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
216 (c-widen-to-enclosing-decl-scope): New function.
217 (c-while-widening-to-decl-block): New macro.
218 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
219 outward for defun boundaries, and correspondingly change symbol
220 `respect-enclosure' to `go-outward'.
221 (c-declaration-limits): Change algorithm to report only the "innermost"
222 defun's boundaries.
223
1a2ce9ee
DD
2242011-10-28 Deniz Dogan <deniz@dogan.se>
225
226 * net/rcirc.el (rcirc-mode): Use hard newlines.
227
bc97a826
AM
2282011-10-28 Alan Mackenzie <acm@muc.de>
229
230 Amend to indent and fontify macros "which include their own semicolon"
231 correctly, using the "virtual semicolon" mechanism.
232
52bedd34 233 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 234
d0af9f77 235 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 236 Recode to scan one line at at time rather than having \n and \r
52bedd34 237 explicitly in c-stmt-delim-chars
bc97a826
AM
238 (for some modes, e.g. AWK).
239 (c-forward-label): Amend for virtual semicolons.
240 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
241
52bedd34
AM
242 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
243 of the new C macros.
bc97a826 244
52bedd34 245 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
246 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
247 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
248 (c-opt-cpp-macro-define): Make into a full language variable.
249 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
250 AWK Mode (including \n, \r) removed, no longer needed.
251
d0af9f77
SM
252 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
253 Invoke c-make-macro-with-semi-re.
bc97a826 254
52bedd34
AM
255 * progmodes/cc-vars.el (c-macro-with-semi-re):
256 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
257 (c-make-macro-with-semi-re): New function
258
7a6c0941
SM
2592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * vc/log-edit.el: Fill empty field rather than adding new one.
262 (log-edit-add-field): New function.
263 (log-edit-insert-changelog): Use it.
264
b0c4cdcf
ML
2652011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
266
267 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
268
ee1f1da9
SM
2692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
272 (gdb--check-interpreter): New function.
273 (gdb): Use it.
274
51bc5f8b
GM
2752011-10-27 Glenn Morris <rgm@gnu.org>
276
416a2c45
GM
277 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
278 (least-positive-float, least-negative-float)
279 (least-positive-normalized-float, least-negative-normalized-float)
280 (float-epsilon, float-negative-epsilon):
281 Remove unnecessary declarations.
282
283 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
284 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
285 (least-positive-float, least-negative-float)
286 (least-positive-normalized-float, least-negative-normalized-float)
287 (float-epsilon, float-negative-epsilon): Add doc-strings,
288 based on those in cl.texi.
289
51bc5f8b
GM
290 * files.el (set-visited-file-name): If the major-mode changed,
291 reload the local variables. (Bug#9796)
292
15de15c6
CY
2932011-10-27 Chong Yidong <cyd@gnu.org>
294
295 * subr.el (change-major-mode-after-body-hook): New hook.
296 (run-mode-hooks): Run it.
297
ee1f1da9
SM
298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
299 Use change-major-mode-before-body-hook.
15de15c6
CY
300
301 * simple.el (fundamental-mode):
302 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
303 change introducing fundamental-mode-hook.
304
5430d399
JB
3052011-10-26 Juanma Barranquero <lekktu@gmail.com>
306
acc825c5 307 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 308
ad74a69e
MA
3092011-10-26 Michael Albinus <michael.albinus@gmx.de>
310
311 * ido.el (ido-file-name-all-completions-1): Do not require
312 tramp.el explicitely. (Bug#7583)
313
71d4c2a5
SM
3142011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * progmodes/octave-mod.el:
317 * progmodes/octave-inf.el: Update maintainer.
318
b1f6fa26
CY
3192011-10-26 Chong Yidong <cyd@gnu.org>
320
321 * subr.el (with-wrapper-hook): Rewrite doc.
322
3f04efd6
MA
3232011-10-25 Michael Albinus <michael.albinus@gmx.de>
324
325 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 326 filenames "/method:foo:". (Bug#9793)
3f04efd6 327
410488d3
SM
3282011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
331 (bug#9865).
332
c1ebb47e
GM
3332011-10-24 Glenn Morris <rgm@gnu.org>
334
335 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
336
7f5c46c7
MA
3372011-10-24 Michael Albinus <michael.albinus@gmx.de>
338
339 * notifications.el: Add the requirement of a running D-Bus session
340 bus to the Commentary.
341
db2440b6
JL
3422011-10-24 Juri Linkov <juri@jurta.org>
343
344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
345 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
346 (Bug#9364)
347
feecf435
JL
3482011-10-24 Juri Linkov <juri@jurta.org>
349
350 * info.el (Info-following-node-name-re): Add newline to the list
351 of allowed characters for leading space. (Bug#9824)
352
a3839de2
SM
3532011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
354
acc825c5
SM
355 * progmodes/octave-inf.el (inferior-octave-mode-map):
356 Fix C-c C-h binding.
a3839de2
SM
357 * progmodes/octave-mod.el (octave-help): Remove.
358
09388e76
MA
3592011-10-23 Michael Albinus <michael.albinus@gmx.de>
360
361 Sync with Tramp 2.2.3.
362
363 * net/tramp-cache.el (top): Pacify byte-compiler using
364 `init-file-user' and `site-run-file'.
365
366 * net/trampver.el: Update release number.
367
86c60681
CY
3682011-10-23 Chong Yidong <cyd@gnu.org>
369
370 * files.el (toggle-read-only): Remove obsolete comment about
371 version control.
372
373 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
374 for toggle-read-only. Note that this hasn't called vc-next-action
375 since 2008-05-02, though it wasn't documented at the time.
376
a3839de2
SM
377 * vc/ediff-init.el (ediff-toggle-read-only-function):
378 Use toggle-read-only.
86c60681 379
cd5495ff
AM
3802011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
381
382 Fix bug #9560, sporadic wrong indentation; improve instrumentation
383 of c-parse-state.
384
00b77525 385 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 386 correct faulty logical expression.
cd5495ff
AM
387 (c-parse-state-state, c-record-parse-state-state):
388 (c-replay-parse-state-state): New defvar/defuns.
389 (c-debug-parse-state): Use new functions.
390
42ee24ed
MR
3912011-10-22 Martin Rudalics <rudalics@gmx.at>
392
393 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 394 last fix. Use window-in-direction correctly.
42ee24ed 395
a7dee7e7
CY
3962011-10-21 Chong Yidong <cyd@gnu.org>
397
398 * progmodes/idlwave.el (idlwave-mode):
399 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
400 require-final-newline; that's done in prog-mode.
401 Suggested by Stefan Monnier.
a7dee7e7 402
e07b9a6d
MR
4032011-10-21 Martin Rudalics <rudalics@gmx.at>
404
405 * mouse.el (mouse-drag-window-above)
406 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
407 (mouse-drag-mode-line-1, mouse-drag-header-line)
408 (mouse-drag-vertical-line-rightward-window): Remove.
409 (mouse-drag-line): New function.
410 (mouse-drag-mode-line, mouse-drag-header-line)
411 (mouse-drag-vertical-line): Call mouse-drag-line.
412 * window.el (window-at-side-p, windows-at-side): New functions.
413
7e1361d9
UM
4142011-10-21 Ulrich Mueller <ulm@gentoo.org>
415
416 * tar-mode.el (tar-grind-file-mode):
417 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
418
30fcaf3a
CY
4192011-10-21 Chong Yidong <cyd@gnu.org>
420
421 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
422 * progmodes/vera-mode.el (vera-mode):
423 Use mode-require-final-newline.
30fcaf3a 424
516eddb0
GM
4252011-10-20 Glenn Morris <rgm@gnu.org>
426
db22a3c2 427 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 428
10d5f513
CS
4292011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
430
431 * emulation/cua-base.el (cua-set-mark): Fix case of string.
432
ac6c8639
CY
4332011-10-20 Chong Yidong <cyd@gnu.org>
434
435 * emulation/cua-base.el (cua-mode):
436 * mail/footnote.el (footnote-mode):
437 * mail/mailabbrev.el (mail-abbrevs-mode):
438 * net/xesam.el (xesam-minor-mode):
439 * progmodes/bug-reference.el (bug-reference-mode):
440 * progmodes/cap-words.el (capitalized-words-mode):
441 * progmodes/compile.el (compilation-minor-mode)
442 (compilation-shell-minor-mode):
443 * progmodes/gud.el (gud-tooltip-mode):
444 * progmodes/hideif.el (hide-ifdef-mode):
445 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
446 * progmodes/subword.el (subword-mode):
447 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
448 * progmodes/which-func.el (which-function-mode):
449 * term/tvi970.el (tvi970-set-keypad-mode):
450 * term/vt100.el (vt100-wide-mode):
451 * textmodes/flyspell.el (flyspell-mode):
452 * textmodes/ispell.el (ispell-minor-mode):
453 * textmodes/nroff-mode.el (nroff-electric-mode):
454 * textmodes/paragraphs.el (use-hard-newlines):
455 * textmodes/refill.el (refill-mode):
456 * textmodes/reftex.el (reftex-mode):
457 * textmodes/rst.el (rst-minor-mode):
458 * textmodes/sgml-mode.el (html-autoview-mode)
459 (sgml-electric-tag-pair-mode):
460 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
461 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
462 * emulation/crisp.el (crisp-mode):
463 * emacs-lisp/eldoc.el (eldoc-mode):
464 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
465 minor mode behavior.
466
aa42ab43
JL
4672011-10-19 Juri Linkov <juri@jurta.org>
468
469 * descr-text.el (describe-char): Add #x2010 and #x2011 to
470 the list of hard-coded chars with escape-glyph face.
471
89400f1d
SM
4722011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
475
305c07f6
MA
4762011-10-19 Michael Albinus <michael.albinus@gmx.de>
477
478 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
479 running process.
480
13754b54
GM
4812011-10-19 Glenn Morris <rgm@gnu.org>
482
483 * vc/vc-bzr.el (vc-bzr-after-dir-status):
484 Ignore ignored files. (Bug#9726)
485
06e21633
CY
4862011-10-19 Chong Yidong <cyd@gnu.org>
487
488 Doc fix for minor modes, stating that an omitted argument enables
489 the mode unconditionally when called from Lisp.
490
491 * abbrev.el (abbrev-mode):
492 * allout.el (allout-mode):
493 * autoinsert.el (auto-insert-mode):
494 * autoarg.el (autoarg-mode, autoarg-kp-mode):
495 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
496 (global-auto-revert-mode):
497 * battery.el (display-battery-mode):
498 * composite.el (global-auto-composition-mode)
499 (auto-composition-mode):
500 * delsel.el (delete-selection-mode):
501 * desktop.el (desktop-save-mode):
502 * dired-x.el (dired-omit-mode):
503 * dirtrack.el (dirtrack-mode):
504 * doc-view.el (doc-view-minor-mode):
505 * double.el (double-mode):
506 * electric.el (electric-indent-mode, electric-pair-mode):
507 * emacs-lock.el (emacs-lock-mode):
508 * epa-hook.el (auto-encryption-mode):
509 * follow.el (follow-mode):
510 * font-core.el (font-lock-mode):
511 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
512 * help.el (temp-buffer-resize-mode):
513 * hilit-chg.el (highlight-changes-mode)
514 (highlight-changes-visible-mode):
515 * hi-lock.el (hi-lock-mode):
516 * hl-line.el (hl-line-mode, global-hl-line-mode):
517 * icomplete.el (icomplete-mode):
518 * ido.el (ido-everywhere):
519 * image-file.el (auto-image-file-mode):
520 * image-mode.el (image-minor-mode):
521 * iswitchb.el (iswitchb-mode):
522 * jka-cmpr-hook.el (auto-compression-mode):
523 * linum.el (linum-mode):
524 * longlines.el (longlines-mode):
525 * master.el (master-mode):
526 * mb-depth.el (minibuffer-depth-indicate-mode):
527 * menu-bar.el (menu-bar-mode):
528 * minibuf-eldef.el (minibuffer-electric-default-mode):
529 * mouse-sel.el (mouse-sel-mode):
530 * msb.el (msb-mode):
531 * mwheel.el (mouse-wheel-mode):
532 * outline.el (outline-minor-mode):
533 * paren.el (show-paren-mode):
534 * recentf.el (recentf-mode):
535 * reveal.el (reveal-mode, global-reveal-mode):
536 * rfn-eshadow.el (file-name-shadow-mode):
537 * ruler-mode.el (ruler-mode):
538 * savehist.el (savehist-mode):
539 * scroll-all.el (scroll-all-mode):
540 * scroll-bar.el (scroll-bar-mode):
541 * server.el (server-mode):
542 * shell.el (shell-dirtrack-mode):
543 * simple.el (auto-fill-mode, transient-mark-mode)
544 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
545 (line-number-mode, column-number-mode, size-indication-mode)
546 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
547 * strokes.el (strokes-mode):
548 * time.el (display-time-mode):
549 * t-mouse.el (gpm-mouse-mode):
550 * tool-bar.el (tool-bar-mode):
551 * tooltip.el (tooltip-mode):
552 * type-break.el (type-break-mode-line-message-mode)
553 (type-break-query-mode):
554 * view.el (view-mode):
555 * whitespace.el (whitespace-mode, whitespace-newline-mode)
556 (global-whitespace-mode, global-whitespace-newline-mode):
557 * xt-mouse.el (xterm-mouse-mode): Doc fix.
558
a3839de2
SM
559 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
560 Fix autogenerated docstring.
06e21633 561
5214e501
JL
5622011-10-19 Juri Linkov <juri@jurta.org>
563
564 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
565 by checking environment variables "DESKTOP_SESSION" and
566 "XDG_CURRENT_DESKTOP". (Bug#9779)
567
195f8db9
JL
5682011-10-19 Juri Linkov <juri@jurta.org>
569
570 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
571 (browse-url-chromium-program, browse-url-chromium-arguments):
572 New defcustoms.
573 (browse-url-default-browser): Check for `browse-url-chromium' and
574 call `browse-url-chromium-program'.
575 (browse-url-chromium): New command. (Bug#9779)
576
343a34ff
JB
5772011-10-18 Juanma Barranquero <lekktu@gmail.com>
578
579 * facemenu.el (list-colors-duplicates): On Windows, detect more
580 duplicates by assuming that only colors matching "^System" are
581 special "system colors". (Bug#9722)
582
6978a151
SM
5832011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
586 to distinguish the author from the committer.
587
6a80b297
MA
5882011-10-18 Michael Albinus <michael.albinus@gmx.de>
589
590 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
591
b31a5677
JK
5922011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
593
594 * international/mule.el (sgml-html-meta-auto-coding-function):
595 Add support for detecting encoding in HTML5 specified only as
596 <meta charset="UTF-8">. Implementation just makes http-equiv and
597 content-type parts from HTML4 encoding string optional. (Bug#9716)
598
80c6d77f
GM
5992011-10-18 Glenn Morris <rgm@gnu.org>
600
601 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
602
08b0fee8
CY
6032011-10-18 Chong Yidong <cyd@gnu.org>
604
605 * faces.el (cursor): Doc fix.
606
67e729a5
CY
6072011-10-17 Chong Yidong <cyd@gnu.org>
608
609 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
610
343a34ff 6112011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
612
613 * dirtrack.el (dirtrack): Support shell buffers with path
614 prefixes, e.g. tramp-based remote shells. (Bug#9647)
615
0bc06380
TZ
6162011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
617
618 * json.el: Bump version to 1.3 and note change in History.
619 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
620
8b79f3e0
SM
6212011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
622
5a7c536b
SM
623 * comint.el (comint-insert-input, comint-send-input)
624 (comint-get-old-input-default, comint-backward-matching-input)
625 (comint-next-prompt): Use nil instead of `input' for field property of
626 past user input (bug#114).
627
96a8a0df
SM
628 * minibuffer.el (completion--replace): Inherit surrounding properties
629 (bug#114).
630 (minibuffer-complete-and-exit): Use it.
631
8b79f3e0
SM
632 * comint.el (comint--table-subvert): Quote the all-completions output
633 (bug#9160).
634
b8f7ff0d
MR
6352011-10-17 Martin Rudalics <rudalics@gmx.at>
636
8b79f3e0 637 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 638
b8f7ff0d 639 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 640 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
641 entries and separate them from frame entries.
642
c235b555
GM
6432011-10-15 Glenn Morris <rgm@gnu.org>
644
645 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
646 Doc fixes.
647
6bbfa6e1
CY
6482011-10-15 Chong Yidong <cyd@stupidchicken.com>
649
8b79f3e0
SM
650 * net/network-stream.el (network-stream-open-starttls):
651 Improve detection of failure due to lack of TLS support.
ec5c990d 652
6bbfa6e1
CY
653 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
654 putting the input text in front and in bold.
655
98488977
SM
6562011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
657
3d1337be
SM
658 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
659
ee0b45e4
SM
660 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
661 empty buffer.
662
98488977
SM
663 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
664 unread-command-events rather than pushing yet-another event.
665
186f4720
EZ
6662011-10-14 Eli Zaretskii <eliz@gnu.org>
667
668 * mail/sendmail.el (sendmail-query-once): Improve the wording of
669 the explanation of the possible choices. Make the options passed
670 to completing-read shorter.
671
8b7a997c
AM
6722011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
673
674 * textmodes/flyspell.el (flyspell-large-region): Make sure
675 extended character mode is used if defined (Bug#1339).
676
12587bbb
EZ
6772011-10-13 Eli Zaretskii <eliz@gnu.org>
678
679 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
680 character info for LRE, LRO, RLE, and RLO characters by appending
681 an invisible PDF.
12587bbb 682
bad41229
SM
6832011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
686 even in case of error; add debug spec; simplify data flow.
687 (with-timeout-handler): Remove.
688
28dbc92f
MA
6892011-10-12 Michael Albinus <michael.albinus@gmx.de>
690
691 Fix Bug#6019, Bug#9315.
692
693 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
694 complete `buffer-file-name', the local file name part could look
695 remotely (for example on VMS).
696
697 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
698 `tramp-run-real-handler'.
699 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
700 already quoted by '"'.
701
702 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
703 Let `file-name-handler-alist' be nil, the local file name part
704 could look remotely (for example on VMS).
705
e1b0b23a
SM
7062011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
709 from here...
710 (flyspell-post-command-hook): ...to here.
711
a120bde9
SM
7122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
715 if not needed.
716 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
717 using completion. Protect against "slow" callers.
718 Remove the "message hack".
719
7ce7717b
JL
7202011-10-11 Juri Linkov <juri@jurta.org>
721
722 * isearch.el (isearch-lazy-highlight-word): New variable.
723 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
724 Use it. (Bug#9727)
725
c02ee9d6
GM
7262011-10-11 Glenn Morris <rgm@gnu.org>
727
728 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
729 like f90-previous-statement does.
730
93e616fd 7312011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
732
1f190e73 733 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
734 only in interactive use, to avoid error.
735
af7b6078
SM
7362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * minibuffer.el (completion-file-name-table): Fix last change,
739 i.e. ignore normal errors but not the other ones.
740
0563dae9
MR
7412011-10-10 Martin Rudalics <rudalics@gmx.at>
742
743 * window.el (special-display-buffer-names)
744 (special-display-regexps): Remove some remnants of earlier
745 changes from doc-strings.
366ca7f3
MR
746 (quit-windows-on): New function.
747
748 * vc/vc.el (vc-revert, vc-rollback):
749 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
750 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 751 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 752
49677495
MR
7532011-10-09 Martin Rudalics <rudalics@gmx.at>
754
755 * window.el (frame-auto-hide-function): Add version tag.
756 (Bug#9699)
757
56f2d1e1
MA
7582011-10-09 Michael Albinus <michael.albinus@gmx.de>
759
760 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
761 condition.
762
112a6592
LL
7632011-10-09 Leo Liu <sdl.web@gmail.com>
764
765 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
766 (Bug#9701)
767
0812589b
GM
7682011-10-08 Glenn Morris <rgm@gnu.org>
769
770 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
771 before the first code statement zero indent. (Bug#9690)
772
b2b0776e
CY
7732011-10-08 Chong Yidong <cyd@stupidchicken.com>
774
775 * simple.el (count-words-region): Always count in the region.
776 Report the number of lines and characters too.
777 (count-words): New command, which counts in the buffer if the
778 region is inactive, as count-words-region used to.
779 (count-words--message): New function. Handle plurals.
780 (count-lines-region): Make it an alias for count-words-region.
781
782 * bindings.el (esc-map): Replace count-lines-region with
783 count-words-region.
784
c557cd6b
MR
7852011-10-08 Martin Rudalics <rudalics@gmx.at>
786
787 * window.el (window--delete): Delete dedicated frame
788 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 789 (switch-to-buffer): Fix doc-string typo.
c557cd6b 790
61a57ef4 7912011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
792
793 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
794
c3833279
CY
7952011-10-07 Chong Yidong <cyd@stupidchicken.com>
796
797 * bindings.el ([M-left],[M-right]): Bind to left-word and
798 right-word respectively.
799
21ce8245
GM
8002011-10-07 Glenn Morris <rgm@gnu.org>
801
802 * cus-start.el (debug-on-quit): Fix custom type.
803
6d823bb2
LMI
8042011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
805
0181e193
LMI
806 * subr.el (define-key-after): Clarify that the function is not
807 useful for non-menu keymaps.
808
6d823bb2
LMI
809 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
810
8e3459ce 8112011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
812
21ce8245 813 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 814 in current minibuffer (Fix bug with recursive minibuffers).
815
a1c2d21e
CY
8162011-10-06 Chong Yidong <cyd@stupidchicken.com>
817
818 * progmodes/gdb-mi.el (gdb): Doc fix.
819
5a4cf282
MR
8202011-10-05 Martin Rudalics <rudalics@gmx.at>
821
822 * window.el (frame-auto-hide-function): New option replacing
823 frame-auto-delete. Suggested by Stefan Monnier.
824 (window--delete): Call frame-auto-hide-function instead of
825 investigating frame-auto-delete.
c96111ea
MR
826 (window-point-1, set-window-point-1): New functions.
827 (window-in-direction, record-window-buffer, window-state-get-1)
828 (display-buffer-record-window): Use window-point-1 instead of
829 window-point.
830 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 831
9854542e
SM
8322011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
833
834 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
835
8943cfb0
GM
8362011-10-05 Glenn Morris <rgm@gnu.org>
837
838 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
839 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
840
647ab967
LL
8412011-10-05 Leo Liu <sdl.web@gmail.com>
842
843 * subr.el (read-char-choice): Fix argument to buffer-live-p which
844 works with buffer object.
845
3ddfbced
SM
8462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * mpc.el (mpc-tool-bar-map): Add labels.
849
bdfa5dd2
GM
8502011-10-04 Glenn Morris <rgm@gnu.org>
851
852 * calendar/holidays.el (calendar-check-holidays): Doc fix.
853
0e2070b5
MR
8542011-10-04 Martin Rudalics <rudalics@gmx.at>
855
856 * window.el (window--delete): New function.
857 (frame-auto-delete): Resuscitate option.
858 (bury-buffer, replace-buffer-in-windows)
859 (quit-window): Rewrite using window--delete.
860 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
861 Pass display-buffer-mark-dedicated to window--display-buffer-2
862 (Bug#9639).
863
3dc61a09
SM
8642011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
865
915a9b64
SM
866 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
867 returns a list (bug#9554). Add remote file name completion.
868 * comint.el (comint--table-subvert): Curry and get quote&unquote
869 functions as arguments.
870 (comint--complete-file-name-data): Adjust call accordingly.
871 * pcomplete.el (pcomplete--table-subvert): Remove.
872 (pcomplete-completions-at-point): Use comint--table-subvert instead.
873
3dc61a09
SM
874 * minibuffer.el (completion-table-case-fold): Use currying.
875 (completion--styles-type, completion--cycling-threshold-type):
876 New constants.
877 (completion-styles, completion-category-overrides)
878 (completion-cycle-threshold): Use them.
879 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
880 completion-table-case-fold.
881
8ea0a993
SB
8822011-10-03 Stephen Berman <stephen.berman@gmx.net>
883
884 * minibuffer.el (completion-category-overrides): Fix type of styles
885 and add more user friendly tags (bug#9660).
886
8c24b7f6
SM
8872011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
890 (mule-input-method-string): New widget.
891 (default-input-method, language-info-custom-alist): Use it.
892
428fe61a
SM
8932011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
894
32c1fffd
SM
895 * pcomplete.el: Require comint.
896 (pcomplete--common-suffix): Remove.
897 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
898 (pcomplete--table-subvert): Sync with comint--table-subvert.
899 (pcomplete--entries): Use comint-completion-file-name-table.
900 * comint.el (comint-unquote-filename): Simplify.
901 (comint-completion-file-name-table): New function (bug#9616).
902 (comint--complete-file-name-data): Use it.
903
428fe61a
SM
904 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
905 (pcmpl-gnu-tar-buffer): Remove.
906 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
907 around. Make sure pcomplete-suffix-list is only changed temporarily.
908 Don't look inside the tar's file if it's too large.
428fe61a 909
04c52e2f
CY
9102011-10-01 Chong Yidong <cyd@stupidchicken.com>
911
ce3cefcc
CY
912 * cus-edit.el (custom-mode-map):
913 * epa.el (epa-key-list-mode-map):
914 * man.el (Man-mode-map):
915 * startup.el (splash-screen-keymap):
916 * simple.el (special-mode-map): Use scroll-up-command and
917 scroll-down-command.
918
919 * progmodes/idlw-help.el (idlwave-help-mode-map):
920 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
921 * net/newst-plainview.el (newsticker-mode-map):
922 * emulation/ws-mode.el (wordstar-mode-map):
923 * emulation/vi.el (vi-com-map):
924 * calc/calc-graph.el (calc-graph-show-dumb):
925 * term/sun.el (terminal-init-sun):
926 * term/ns-win.el (global-map):
927 * progmodes/grep.el (grep-mode-map):
928 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
929 * mail/rmail.el (rmail-mode-map):
930 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
931
04c52e2f
CY
932 * custom.el (custom-safe-themes, load-theme): Treat value of t for
933 custom-safe-themes as special.
934
79adf8c8
JD
9352011-10-01 Julien Danjou <julien@danjou.info>
936
937 * notifications.el (notifications-notify): Fix docstring.
938
63bd50d3
PS
9392011-10-01 Per Starbäck <per@starback.se>
940
941 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
942
199e4c7e
MR
9432011-09-30 Martin Rudalics <rudalics@gmx.at>
944
945 * startup.el (command-line-1): Fix last fix by inserting
946 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 947 (Bug#9605) and (Bug#9636)
199e4c7e 948
fe5f08dd
EZ
9492011-09-29 Eli Zaretskii <eliz@gnu.org>
950
951 * simple.el (line-move): If auto-hscroll-mode is disabled and the
952 window is hscrolled, move by logical lines. (Bug#9607)
953 (line-move-visual): Update the doc string to the above effect.
954
b5516bbd
MR
9552011-09-29 Martin Rudalics <rudalics@gmx.at>
956
ccee00c0
MR
957 * window.el (display-buffer-record-window): When WINDOW is the
958 selected window use `point' instead of `window-point'. (Bug#9626)
959
b5516bbd
MR
960 * startup.el (command-line-1): Use insert-before-markers when
961 inserting initial-scratch-message. (Bug#9605)
ccee00c0 962
b5516bbd
MR
963 * help.el (help-window): Remove variable.
964
52aa0014
GM
9652011-09-29 Glenn Morris <rgm@gnu.org>
966
967 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
968
df9a7357
JB
9692011-09-29 Juanma Barranquero <lekktu@gmail.com>
970
971 * descr-text.el (describe-char-categories): Accept category
972 descriptions more than one line long.
973
a8406c20
SM
9742011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
975
88d9610c
SM
976 * simple.el (delete-trailing-whitespace): Fix last change.
977
a5daf810
SM
978 * progmodes/perl-mode.el (perl-syntax-propertize-function):
979 Don't confuse "y => 3" as the beginning of a `y' operation.
980
a8406c20
SM
981 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
982 object has more than 4 slots (bug#9613).
983
a239d4e9
JB
9842011-09-28 Juanma Barranquero <lekktu@gmail.com>
985
986 * subr.el (with-output-to-temp-buffer):
987 * net/quickurl.el (quickurl, quickurl-browse-url):
988 Fix typos in docstrings.
989
693fbdb6
EZ
9902011-09-27 Eli Zaretskii <eliz@gnu.org>
991
992 * minibuffer.el (completion-styles)
993 (completion-category-overrides): Cross reference each other in doc
994 strings.
995
8b457e28
GM
9962011-09-27 Glenn Morris <rgm@gnu.org>
997
998 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
999 to split-string. (Bug#9606)
1000
85a16208
LMI
10012011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1002
1003 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1004 (bug#9615).
1005
502f9ebd
CY
10062011-09-27 Chong Yidong <cyd@stupidchicken.com>
1007
1008 * emacs-lisp/package.el (list-packages): Fix echo area message.
1009
7690bdea
LL
10102011-09-27 Leo Liu <sdl.web@gmail.com>
1011
1012 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1013
e2ee6f30
MA
10142011-09-25 Michael Albinus <michael.albinus@gmx.de>
1015
1016 * net/dbus.el (dbus-unregister-object): Don't release services for
1017 registered signals. (Bug#9581)
1018
f3f98342
TZ
10192011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1020
1021 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1022 function that picks between cfengine 2 and 3 support
1023 automatically. Update docs accordingly.
1024
dd7aa8dd
KH
10252011-09-22 Kenichi Handa <handa@m17n.org>
1026
1027 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1028 ZERO.
1029 (indian-itrans-v5-table-for-tamil): New variable.
1030 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1031
3f2b07f8
KM
10322011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1033
1034 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1035 that's true if the current command involved collapsing of text.
1036 It's reset to false at the beginning of the next command.
1037 (allout-post-command-business): Move the cursor to the beginning
1038 of entry if the cursor is hidden and collapsing activity just
1039 happened.
1040
371d6a61
CY
10412011-09-24 Chong Yidong <cyd@stupidchicken.com>
1042
1043 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1044 tracking (Bug#9541).
1045
2ac2721a
UJ
10462011-09-24 Ulf Jasper <ulf.jasper@web.de>
1047
1048 * net/newst-reader.el (newsticker-html-renderer)
1049 (newsticker-show-news): Automatically
343a34ff
JB
1050 load html rendering package if newsticker-html-renderer is set.
1051 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1052 let-bound" and the error "Symbol's value as variable is void:
1053 w3m-fill-column".
1054
fac7ae53
MA
10552011-09-24 Michael Albinus <michael.albinus@gmx.de>
1056
1057 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1058 Release services only if they are defined. (Bug#9581)
1059
e08b633b
RS
10602011-09-23 Richard Stallman <rms@gnu.org>
1061
e488d29c
RS
1062 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1063 distinguish start of paragraph from start of its text.
1064
19c38752
RS
1065 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1066
e08b633b
RS
1067 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1068 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1069 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1070
0a39f27e
AS
10712011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1072
1073 * international/mule-diag.el (mule-diag): Insert a newline after
1074 each fontset description.
1075
db4e950d
SM
10762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * simple.el (delete-trailing-whitespace):
1079 Document last change; simplify.
1080
eca3f3ea
PW
10812011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1082
d68e189a
PW
1083 * simple.el (delete-trailing-whitespace): Also delete
1084 extra newlines at the end of the buffer.
1085
eca3f3ea
PW
1086 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1087 (picture-newline): Use forward-line so as to ignore fields.
1088
01c157cc
SM
10892011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * subr.el (with-wrapper-hook): Fix edebug spec.
1092
022de23e
LMI
10932011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1094
1095 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1096 (bug#4538).
1097
91683089
MA
10982011-09-23 Michael Albinus <michael.albinus@gmx.de>
1099
eca3f3ea
PW
1100 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1101 Fix nasty bug using wrong cached values.
91683089 1102
5bdd6fa4
AM
11032011-09-23 Alan Mackenzie <acm@muc.de>
1104
1105 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1106
97adfb97
CY
11072011-09-23 Chong Yidong <cyd@stupidchicken.com>
1108
1109 * window.el (pop-to-buffer): Ensure right window is selected if we
1110 chose another frame.
1111
d4ef2b50
EZ
11122011-09-22 Eli Zaretskii <eliz@gnu.org>
1113
1114 * simple.el (what-cursor-position): Use get-char-property-change
1115 and next-single-char-property-change, to be able to show display
1116 properties that come from overlays as well as text properties.
1117
72258fe5
CY
11182011-09-22 Chong Yidong <cyd@stupidchicken.com>
1119
1120 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1121
1122 * cmuscheme.el (run-scheme, switch-to-scheme):
1123 * cus-edit.el (customize-group, custom-buffer-create)
1124 (customize-browse):
1125 * info.el (info):
1126 * shell.el (shell):
1127 * mail/sendmail.el (mail):
1128 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1129
8f098516
RS
11302011-09-22 Richard Stallman <rms@gnu.org>
1131
1132 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1133 move back only to line beg, don't move back over blank lines.
1134
e74f1bb6
MA
11352011-09-22 Michael Albinus <michael.albinus@gmx.de>
1136
1137 * files.el (copy-directory): Set directory attributes only in case
1138 they could be retrieved from the source directory. (Bug#9565)
1139
bfeef8b6
DK
11402011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1141
1142 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1143 (hs-find-block-beginning, hs-hide-level-recursive):
1144 Ignore strings as well as comments. (Bug#9502)
1145
7e423bb8
AS
11462011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1147
1148 * progmodes/sql.el (sql-comint-postgres):
1149 Convert port number to a string. (Bug#9566)
1150
b4d72fcf
MR
11512011-09-22 Martin Rudalics <rudalics@gmx.at>
1152
1153 * window.el (quit-window): Undedicate window when switching to
1154 previous buffer. Reported by Thierry Volpiatto
1155 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1156 (special-display-popup-frame): When popping up a new frame reset
1157 its previous buffers to nil. Simplify code.
b4d72fcf 1158
a7b88dc6
MA
11592011-09-21 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1162 and process filter, as done also in `shell-command'.
1163
cf4eacfd
MR
11642011-09-21 Martin Rudalics <rudalics@gmx.at>
1165
eca3f3ea
PW
1166 * window.el (set-window-buffer-start-and-point):
1167 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1168 Volpiatto <thierry.volpiatto@gmail.com>.
1169 (quit-window): Reword doc-string. Handle new format of
1170 quit-restore parameter. Don't delete window if it has a
1171 previous buffer we can show instead of the present one.
1172 (display-buffer-record-window): Rewrite using a new format for
1173 the quit-restore window parameter
1174 (special-display-popup-frame, display-buffer-same-window)
1175 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1176 (display-buffer-pop-up-window, display-buffer-use-some-window):
1177 Adapt symbol passed to display-buffer-record-window.
1178 * help.el (help-window-setup): Handle new format of quit-restore
1179 parameter.
1180
8d28cb95
SM
11812011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1182
94ab793f
SM
1183 * faces.el (face-list): Fix docstring (bug#9564).
1184
8d28cb95
SM
1185 * window.el (display-buffer--action-function-custom-type):
1186 Don't include internal functions in the Custom interface.
1187
3820edeb
JL
11882011-09-20 Juri Linkov <juri@jurta.org>
1189
1190 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1191 (Info-forward-node, Info-backward-node, Info-next-preorder)
1192 (Info-last-preorder): Use it. (Bug#9528)
1193
5147931d
JL
11942011-09-20 Juri Linkov <juri@jurta.org>
1195
1196 * info.el (Info-last-preorder): Visit last menu item only when
1197 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1198
cf499a1a
JD
11992011-09-20 Julien Danjou <julien@danjou.info>
1200
1201 * password-cache.el (password-cache-remove): Remove entries even if the
1202 value is nil, so that password with a nil value (negative caching) is
1203 possible to invalidate.
1204
f84e2fe2
LM
12052011-09-20 Lawrence Mitchell <wence@gmx.li>
1206
1207 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1208 all whitespace around breakpoint. (Bug#9553)
1209 (f90-find-breakpoint): Only break at whitespace inside a comment.
1210
78054a46
SM
12112011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * minibuffer.el (completion-file-name-table): Keep track of errors.
1214 (completion-table-with-predicate): Handle the case where pred1 is nil.
1215 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1216
345083b2
SM
12172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1218
e24e27be
SM
1219 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1220 (debugger-return-value): Signal an error if the debugging context does
1221 not await any return value.
1222
345083b2
SM
1223 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1224 * image-mode.el (image-toggle-display-text)
1225 (image-toggle-display-image): Stay away from evil `intangible'.
1226
08d355e3
LL
12272011-09-19 Leo Liu <sdl.web@gmail.com>
1228
1229 * replace.el (occur-revert-arguments): Make it permanent-local.
1230 (occur-mode): Don't call font-lock-defontify.
1231
f01da43f
CY
12322011-09-19 Chong Yidong <cyd@stupidchicken.com>
1233
1234 * net/ldap.el (ldap-search-internal): Don't push empty search
1235 result (Bug#9508).
1236
b6072fa6
SM
12372011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1240
443d6696
MA
12412011-09-19 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1244 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1245
7cc6e154
JL
12462011-09-18 Juri Linkov <juri@jurta.org>
1247
1248 * buff-menu.el (Buffer-menu-mode-map):
1249 * dired.el (dired-mode-map):
1250 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1251 (lisp-interaction-mode-map):
1252 * emacs-lisp/package.el (package-menu-mode-map):
1253 * epa.el (epa-key-list-mode-map):
1254 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1255 (menu-bar-options-menu):
1256 * outline.el (outline-mode-menu-bar-map):
1257 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1258 * vc/vc-dir.el (vc-dir-menu-map):
1259 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1260 Capitalize non-function content words in menu item strings.
1261
1262 * dired.el (dired-mode-map): Add menu item for
1263 `image-dired-dired-toggle-marked-thumbs'.
1264
80302a81
JL
12652011-09-18 Juri Linkov <juri@jurta.org>
1266
1267 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1268 to `isearch-case-fold-search' and restore its original value
1269 after the `isearch-mode' call.
1270
46c5cf66
JL
12712011-09-18 Juri Linkov <juri@jurta.org>
1272
1273 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1274 because `zgrep' returns 1 for successful matches (bug#9226).
1275
d18b513b
JL
12762011-09-18 Juri Linkov <juri@jurta.org>
1277
1278 * info.el (Info-extract-menu-node-name): Check the second match
1279 for empty string (second test-case of bug#9528).
1280 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1281 intermediate nodes to the history (first test-case of bug#9528).
1282
72753f87
JL
12832011-09-18 Juri Linkov <juri@jurta.org>
1284
1285 * info.el (Info-mode-syntax-table): New variable.
1286 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1287
c9384295
JL
12882011-09-18 Juri Linkov <juri@jurta.org>
1289
1290 * info.el (Info-file-supports-index-cookies): Increment
1291 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1292 one more line for long file names (bug#4142).
1293
d473dce8
CY
12942011-09-18 Chong Yidong <cyd@stupidchicken.com>
1295
1296 * newcomment.el (comment-normalize-vars): If prompting for
1297 comment-start, set comment-start-skip too (Bug#8424).
1298
2176854d
JB
12992011-09-18 Johan Bockgård <bojohan@gnu.org>
1300
1301 * icomplete.el: Fix previous fix of Bug#5849.
1302 (icomplete-mode): Don't set completion-show-inline-help.
1303 (icomplete-minibuffer-setup): Set completion-show-inline-help
1304 locally during icompletion.
1305
3aace4e4
CY
13062011-09-18 Chong Yidong <cyd@stupidchicken.com>
1307
c940224f
CY
1308 * woman.el (woman2-process-escapes): Don't delete unrecognized
1309 escapes (Bug#7843).
1310
3aace4e4
CY
1311 * files.el (inhibit-first-line-modes-regexps): Add image files.
1312 (hack-local-variables-prop-line): Return nil for malformed
1313 prop-lines (Bug#9044).
1314
710dec63
MA
13152011-09-18 Michael Albinus <michael.albinus@gmx.de>
1316
1317 * net/tramp.el (top): Don't require 'shell.
1318 (tramp-methods): Fix docstring.
1319 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1320 Return complete remote file name. Handle "smb" case.
1321 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1322 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1323
1324 * net/tramp-compat.el (top): Require 'shell.
1325
1326 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1327 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1328 `tramp-current-host'.
1329 (tramp-get-remote-tmpdir): Remove.
1330
1331 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1332 `tramp-tmpdir' entries.
1333 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1334 (tramp-smb-handle-file-attributes): Ignore errors.
1335 (tramp-smb-wait-for-output): Check also for process end.
1336
5d5ac8ec
LMI
13372011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1338
1339 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1340 when sending QUIT (bug#9312).
1341
8c0f49f0
CY
13422011-09-17 Chong Yidong <cyd@stupidchicken.com>
1343
1344 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1345 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1346 occur-mode-display-occurrence.
1347 (occur-edit-mode): Add usage message.
1348 (occur-cease-edit): New command.
1349 (occur-after-change-function): Use text properties to find the
1350 position of the prefix text.
1351 (occur-engine): Set stickiness of prefix text properties.
1352
8f1383f7
GM
13532011-09-17 Glenn Morris <rgm@gnu.org>
1354
1355 * progmodes/etags.el (complete-tag):
1356 Fix call to completion-in-region. (Bug#9526)
1357
744ba0e3
JL
13582011-09-17 Juri Linkov <juri@jurta.org>
1359
1360 * textmodes/ispell.el (ispell-word): Add to the error message
1361 the word, ispell program name and current dictionary (bug#9121).
1362 (ispell-tex-arg-end): Capitalize "error" in the error message.
1363
d9bbf400
AS
13642011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1367 check. (Bug#4251)
1368
8da11505
JL
13692011-09-17 Juri Linkov <juri@jurta.org>
1370
1371 * window.el (window-safe-min-height, window-safe-min-width):
1372 Fix typos (followup to bug#9522).
1373
a91adc7e
SJ
13742011-09-17 Sven Joachim <svenjoac@gmx.de>
1375
1376 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1377
064f328a
EZ
13782011-09-16 Eli Zaretskii <eliz@gnu.org>
1379
1380 * simple.el (line-move): If goal-column is set, move by logical
1381 lines, not by display lines. (Bug#971)
1382 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1383 to reflect the above change.
1384
e69df516
SM
13852011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1386
1387 * image.el (imagemagick-register-types): Use regexp-opt.
1388
cbb0f9ab
CY
13892011-09-15 Chong Yidong <cyd@stupidchicken.com>
1390
1391 * window.el (display-buffer-base-action): Rename from
1392 display-buffer-default-action. Make default value empty.
1393 (display-buffer-overriding-action): Convert to defvar.
1394 (display-buffer-fallback-action): New var.
1395
25322144
CY
13962011-09-15 Chong Yidong <cyd@stupidchicken.com>
1397
1398 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1399 declaration.
1400 (package--add-to-archive-contents): If there is a duplicate entry
1401 with an older version, remove it.
1402 (package-menu-mark-delete, package-menu-mark-install)
1403 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1404 (package-menu-mark-obsolete-for-deletion):
1405 Use package-menu-get-status instead of a regexp search.
25322144
CY
1406 (package-menu-get-status): Use tabulated-list-entry.
1407 (package-menu-mark-upgrades): New command.
d770725a 1408 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1409 (package-menu-execute): Do installation before deletion.
1410 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1411 instead of checking major-mode.
1412 (package-menu--find-upgrades): New function.
1413
7520339c
LMI
14142011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1415
1416 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1417 passwords in the log buffer.
65a046c4
LMI
1418 (smtpmail-process-filter): Update the process marker so that the
1419 "broken by peer" status message is inserted in the right place.
7520339c 1420
d3c30954
SM
14212011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1422
3fe48822
SM
1423 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1424 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1425 bibtex-completion-at-point-function.
1426 (bibtex-completion-at-point-function): Use them.
1427
1b8b3954
SM
1428 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1429
d3c30954
SM
1430 * mpc.el (mpc-constraints-tag-lookup): New function.
1431 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1432 also to browser "album|playlist".
1433
72779976
JL
14342011-09-14 Juri Linkov <juri@jurta.org>
1435
1436 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1437 (isearch-edit-string): Use length of `isearch-string' when
1438 `isearch-fail-pos' returns nil.
1439 (isearch-message): Remove duplicate code and call
1440 `isearch-fail-pos' with arg `t'.
1441
a0bf2bcd
CY
14422011-09-14 Chong Yidong <cyd@stupidchicken.com>
1443
17bb0a2d
CY
1444 * replace.el (occur-mode-goto-occurrence): Don't force using other
1445 window (Bug#9499).
1446
a0bf2bcd
CY
1447 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1448
f678e0b6
MR
14492011-09-14 Martin Rudalics <rudalics@gmx.at>
1450
1451 * window.el (display-buffer-window): Remove.
1452 (display-buffer-record-window): Use help-setup window parameter
1453 instead of variable display-buffer-window.
1454 (display-buffer-function, special-display-buffer-names)
1455 (special-display-function): Mention help-setup parameter instead
1456 of display-buffer-window in doc-string.
d3c30954
SM
1457 * help.el (help-window-setup): New argument help-window.
1458 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1459 Reword some messages.
1460 (with-help-window): Pass window used for displaying the buffer
1461 to help-window-setup. Don't set display-buffer-window.
1462
8e39b2e8
GM
14632011-09-13 Glenn Morris <rgm@gnu.org>
1464
1465 * emacs-lisp/debug.el (debugger-make-xrefs):
1466 Preserve point. (Bug#9462)
1467
85e9c04b
CY
14682011-09-13 Chong Yidong <cyd@stupidchicken.com>
1469
1470 * window.el (window-deletable-p): Use next-frame.
1471
1b36ed6a
MR
14722011-09-13 Martin Rudalics <rudalics@gmx.at>
1473
1474 * window.el (window-auto-delete): Remove.
1475 (window-deletable-p): Remove argument FORCE. Don't deal with
1476 dedicatedness and previous buffers.
1477 (switch-to-prev-buffer): Don't delete window.
1478 (delete-windows-on): Delete a window's frame if and only if the
1479 window is dedicated.
1480 (replace-buffer-in-windows): Delete buffer's window or frame if
1481 and only if window is dedicated.
1482 (quit-window): Handle quit-restore as before last change.
4d61f28d 1483 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1484
ef8ef9fb
CY
14852011-09-13 Chong Yidong <cyd@stupidchicken.com>
1486
1487 * window.el (window-deletable-p): Never delete the last frame on a
1488 given terminal.
1489
b2cba41e
GM
14902011-09-13 Glenn Morris <rgm@gnu.org>
1491
1492 * help.el (describe-key-briefly): Copy previous standard-output change.
1493
51553db6 14942011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1495
1496 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1497
b7556719
GM
14982011-09-13 Glenn Morris <rgm@gnu.org>
1499
1500 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1501 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1502
64b51947
CY
15032011-09-12 Chong Yidong <cyd@stupidchicken.com>
1504
1505 * dired-aux.el (dired-mark-read-string): Don't return default
1506 value on empty input (Bug#9361).
1507 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1508 Omit initial minibuffer contents.
1509 (dired-do-chmod): Signal an error on empty input.
1510 (dired-mark-read-string): Don't return default on empty input.
1511
1512 * files.el (file-modes-symbolic-to-number): Doc fix.
1513
393a301e
SM
15142011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1515
1516 * international/mule-cmds.el (ucs-completions): Remove.
1517 (read-char-by-name): Use complete-with-action instead; add metadata.
1518
fa5660f9
CY
15192011-09-11 Chong Yidong <cyd@stupidchicken.com>
1520
1521 * window.el (display-buffer--action-function-custom-type)
1522 (display-buffer--action-custom-type): New vars.
1523 (display-buffer-alist, display-buffer-default-action)
1524 (display-buffer-overriding-action): Add defcustom types.
1525
4a592f66
CY
1526 * frame.el (delete-other-frames): Doc fix (Bug#276).
1527
73d56dbd
LMI
15282011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1529
1530 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1531
37ac18a3
CY
15322011-09-11 Chong Yidong <cyd@stupidchicken.com>
1533
1534 Change modes that used same-window-* vars to use switch-to-buffer.
1535
1536 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1537 Use switch-to-buffer.
1538
1539 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1540 (customize-browse, custom-buffer-create-other-window):
1541 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1542
1543 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1544 (Info-prev, Info-up, Info-speedbar-goto-node)
1545 (info-display-manual): Use switch-to-buffer.
1546 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1547
1548 * mail/sendmail.el (mail): Use switch-to-buffer.
1549 (mail-recover): Use switch-to-buffer-other-window.
1550
1551 * cmuscheme.el (run-scheme, switch-to-scheme):
1552 * ielm.el (ielm):
1553 * shell.el (shell):
1554 * net/rlogin.el (rlogin):
1555 * net/telnet.el (telnet, rsh):
1556 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1557
10195bd6
AS
15582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1561
b322f63a
LMI
15622011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1563
39d7fed6
LMI
1564 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1565 so don't mention it (bug#9301).
ba5a81f1 1566 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1567
ee0e9f11
LMI
1568 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1569 match `x', `w32' and `ns', like the manual says (bug#9029).
1570
0b1c89c1 1571 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1572 (process-kill-buffer-query-function): Mention the buffer name in
1573 the query.
0b1c89c1 1574
77549ea8
LMI
1575 * image-mode.el (image-next-line): The line parameter is mandatory
1576 (bug#9258).
1577
803ef892
LMI
1578 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1579 which can be useful (bug#9301).
1580
12980837
LMI
1581 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1582
91054f8f
LMI
1583 * subr.el (match-string): Mention that the current buffer should
1584 be the same as the search was done in (bug#9282).
1585
b322f63a
LMI
1586 * facemenu.el: Disable the remove-* commands if the mark isn't
1587 active (bug#9162).
1588
3199b96f
CY
15892011-09-10 Chong Yidong <cyd@stupidchicken.com>
1590
1591 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1592 of display-buffer.
1593 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1594
1595 * replace.el (occur-mode-goto-occurrence)
1596 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1597 and display-buffer.
1598
1599 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1600 display-buffer.
1601
1602 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1603 special-display and same-window variables.
1604 (mail-other-window): Use switch-to-buffer-other-window.
1605 (mail-other-frame): USe switch-to-buffer-other-frame.
1606
393a301e
SM
1607 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1608 Use display-buffer-other-frame.
3199b96f
CY
1609 (gdb-display-gdb-buffer): Use pop-to-buffer.
1610
1611 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1612
1613 * progmodes/python.el: Don't set same-window-buffer-names.
1614
1615 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1616
1617 * window.el (display-buffer-alist): Add *Python*.
1618
8319e0bf
CY
16192011-09-10 Chong Yidong <cyd@stupidchicken.com>
1620
1621 * window.el (display-buffer-alist): Add entry for buffers
1622 previously handled same-window-*.
1623 (display-buffer-alist, display-buffer-default-action)
1624 (display-buffer-overriding-action): Mark as risky.
1625 (display-buffer-alist): Document action function changes.
1626 (display-buffer--same-window-action)
1627 (display-buffer--other-frame-action): New variables.
1628 (switch-to-buffer, display-buffer-other-frame): Use them.
1629 (display-buffer): Rename reuse-frame entry to reusable-frames.
1630 (display-buffer-reuse-selected-window): Function deleted.
1631 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1632 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1633 (display-buffer-special): New function.
1634 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1635 display-buffer-reuse-or-pop-window. Split off special-display
1636 part into display-buffer-special.
1637 (display-buffer-use-some-window): Don't perform any special
1638 pop-up-frames handling.
1639 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1640 (display-buffer--maybe-same-window): Rename from
0d3ff375 1641 display-buffer-maybe-same-window.
8319e0bf 1642
919a69aa
CY
1643 * info.el: Don't set same-window-regexps.
1644 (info-setup): New function.
1645 (info-other-window, info): Call it.
1646
1647 * cus-edit.el: Don't set same-window-regexps.
1648 (customize-group): New argument.
1649 (customize-group-other-window): Use it.
1650 (customize-face, customize-face-other-window): Likewise.
1651 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1652
8319e0bf
CY
1653 * net/rlogin.el:
1654 * net/telnet.el:
1655 * progmodes/gud.el: Don't set same-window-regexps.
1656
1657 * cmuscheme.el:
1658 * ielm.el:
1659 * shell.el:
1660 * mail/sendmail.el:
1661 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1662
25173000
JL
16632011-09-10 Juri Linkov <juri@jurta.org>
1664
1665 * isearch.el (isearch-edit-string): Remove obsolete mention of
1666 `C-w' (`isearch-yank-word-or-char') from docstring.
1667 (isearch-query-replace): Fix typo in docstring (bug#9466).
1668
056e44ef
JL
16692011-09-10 Juri Linkov <juri@jurta.org>
1670
1671 * paren.el (show-paren-function): Don't show escaped parens.
1672 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1673
c3760c17
EZ
16742011-09-10 Eli Zaretskii <eliz@gnu.org>
1675
1676 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1677 (mm-default-file-encoding): Remove autoload forms, they are
1678 replaced with autoload cookies in mml.el and mm-encode.el.
1679 (mail-add-attachment): New command.
1680 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1681 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1682 the doc string.
1683 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1684
fece895e
RT
16852011-09-10 Reuben Thomas <rrt@sc3d.org>
1686
e69df516
SM
1687 * simple.el (count-words-region): Use buffer if there's no region
1688 (bug#9429).
fece895e 1689
5e68ce4a
JL
16902011-09-09 Juri Linkov <juri@jurta.org>
1691
1692 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1693 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1694 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1695
0a6b9622
AM
16962011-09-09 Alan Mackenzie <acm@muc.de>
1697
1698 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1699 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1700
14a29deb
EZ
17012011-09-09 Eli Zaretskii <eliz@gnu.org>
1702
1703 Fix for Savannah bug#9392.
1704 * simple.el (mail-encode-mml): New defvar.
1705
1706 * mail/rmail.el (mail-encode-mml): Add a defvar.
1707 (rmail-enable-mime-composing): Default to t.
1708 (rmail-forward): Use MIME method of forwarding only if both
1709 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1710 Set mail-encode-mml non-nil if the MIME method was used.
1711
1712 * mail/sendmail.el (mml-to-mime): Add autoload form.
1713 (mail-encode-mml): Add a defvar.
1714 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1715 to nil.
1716 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1717 message through mml-to-mime, and reset mail-encode-mml to nil.
1718
28c45130
GM
17192011-09-09 Glenn Morris <rgm@gnu.org>
1720
1721 * woman.el (woman-if-body): When processing an .el block,
1722 do not delete the next .el block as well. (Bug#9447)
69f4b618 1723 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1724
9b1c252e
MR
17252011-09-08 Martin Rudalics <rudalics@gmx.at>
1726
1727 * window.el (window-deletable-p): Make sure window is live before
1728 invoking window-prev-buffers.
1729
567457e3
LL
17302011-09-08 Leo Liu <sdl.web@gmail.com>
1731
1732 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1733
97f05794
JL
17342011-09-08 Juri Linkov <juri@jurta.org>
1735
1736 * progmodes/compile.el (compilation-environment): Make it
1737 a defcustom (bug#8340).
1738
8b0874b5
MR
17392011-09-08 Martin Rudalics <rudalics@gmx.at>
1740
1741 * window.el (frame-auto-delete): Rename to window-auto-delete.
1742 Make it control auto-deletion of windows and/or frames.
1743 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1744 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1745 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1746 Rewrite handling of case when window/frame can be deleted.
1747 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1748 argument t. (Bug#9456)
8b0874b5 1749
4feb6e73
CY
17502011-09-07 Chong Yidong <cyd@stupidchicken.com>
1751
1752 * help-mode.el (help-mode): Restore autoload.
1753
91ab9c13
JL
17542011-09-07 Juri Linkov <juri@jurta.org>
1755
1756 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1757 `compilation-environment'. Set buffer-local
1758 `compilation-environment' to `thisenv' later after (funcall mode).
1759 (Bug#8340)
1760
1761 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1762 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1763 instead of replacing its value. (Bug#8340)
1764
0527e251
JL
17652011-09-07 Juri Linkov <juri@jurta.org>
1766
1767 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1768 based on text properties put by `grep-filter' instead of matching
1769 escape sequences.
1770 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1771 to the value of `grep-error-screen-columns' (bug#9438).
1772
249f792c
JL
17732011-09-07 Juri Linkov <juri@jurta.org>
1774
1775 * simple.el (next-error-highlight, next-error-highlight-no-select):
1776 Doc fix (bug#9432).
1777
ff7271b9
OT
17782011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1779
1780 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1781 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1782
183fc730
LL
17832011-09-07 Leo Liu <sdl.web@gmail.com>
1784
1785 * net/rcirc.el (rcirc-mode): Conditionally initialize
1786 rcirc-input-ring.
1787
77694924
SM
17882011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * emacs-lisp/find-func.el (find-function-C-source): Only set
1791 find-function-C-source-directory after checking that we found a source
1792 file there (bug#9440).
1793
d809b8eb
AM
17942011-09-06 Alan Mackenzie <acm@muc.de>
1795
1796 * isearch.el (isearch-other-meta-char): Wherever a key list is
1797 unread, "unread" the prefix arg, too. This fixes bug #8901.
1798
453de99f
OG
17992011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1800
1801 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1802
90439906
JL
18032011-09-05 Juri Linkov <juri@jurta.org>
1804
1805 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1806
f62bd846
JL
18072011-09-05 Juri Linkov <juri@jurta.org>
1808
1809 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1810 keeping point where processing of grep matches begins, and
1811 continue to delete remaining escape sequences from the same point.
1812 (grep-filter): Make leading zero optional in "0?1;31m" because
1813 git-grep emits "\033[1;31m" escape sequences unlike expected
1814 "\033[01;31m" as GNU Grep does (bug#9408).
1815 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1816
045820ec
JL
18172011-09-05 Juri Linkov <juri@jurta.org>
1818
1819 * subr.el (y-or-n-p): Capitalize "yes".
1820
f5e29b9b
MA
18212011-09-04 Michael Albinus <michael.albinus@gmx.de>
1822
1823 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1824 `tramp-cache-unload-hook' where appropriate.
1825 (tramp-methods): Rename `tramp-remote-sh' to
1826 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1827 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1828
1829 * net/tramp-sh.el (top): Don't require 'shell.
1830 (tramp-methods): Add `tramp-remote-shell' and
1831 `tramp-remote-shell-args' entries.
1832 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1833 (tramp-sh-handle-shell-command): Remove.
1834 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1835 Use `tramp-remote-shell'.
1836
2784c434
CY
18372011-09-03 Chong Yidong <cyd@stupidchicken.com>
1838
393a301e 1839 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1840 (sendmail-query-once): Save directly to send-mail-function.
1841 Update message-send-mail-function too.
1842
1843 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1844
464cdf56
CS
18452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1846
1847 * progmodes/python.el (python-mode-map): Use correct function to
1848 start python interpreter from menu-bar (as reported by Geert
1849 Kloosterman).
1850 (inferior-python-mode-map): Fix typo.
393a301e 1851 (python-shell-map): Remove.
464cdf56 1852
d37e5c87
DD
18532011-09-03 Deniz Dogan <deniz@dogan.se>
1854
1855 * net/rcirc.el (rcirc-print): Simplify code for
1856 rcirc-scroll-show-maximum-output. There is no need to walk
1857 through all windows to find the right one.
1858
f3ada0ee
CS
18592011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1860
1861 * help.el (help-return-method): Doc fix.
1862
1f3c99ca
MR
18632011-09-03 Martin Rudalics <rudalics@gmx.at>
1864
1865 * window.el (window-deletable-p): Don't return a non-nil value
1866 when there's a buffer that was shown in the window before.
1867 (Bug#9419)
393a301e
SM
1868 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1869 Set window's previous buffers to nil.
1f3c99ca 1870
a3cf097f
EZ
18712011-09-03 Eli Zaretskii <eliz@gnu.org>
1872
1873 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1874 newline before and after the tag line, so it doesn't interfere
1875 with determining the paragraph direction of bidirectional text.
1876
3d03de90
LL
18772011-09-03 Leo Liu <sdl.web@gmail.com>
1878
1879 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1880
c3313451
CY
18812011-09-02 Chong Yidong <cyd@stupidchicken.com>
1882
393a301e 1883 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1884 (pop-to-buffer): Change interactive spec. Pass second argument
1885 directly to display-buffer.
1886 (display-buffer): Fix interactive spec. Use functionp to
1887 distinguish between a function and a list of functions.
1888
1889 * abbrev.el (edit-abbrevs):
1890 * arc-mode.el (archive-extract):
1891 * autoinsert.el (auto-insert):
1892 * bookmark.el (bookmark-bmenu-list):
1893 * files.el (find-file):
1894 * view.el (view-buffer):
1895 * progmodes/compile.el (compilation-goto-locus):
1896 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1897
89894cd8
CY
18982011-09-02 Chong Yidong <cyd@stupidchicken.com>
1899
1900 * window.el (display-buffer-alist): Doc fix.
1901 (display-buffer): Add docstring. Don't treat
1902 display-buffer-default specially.
1903 (display-buffer-reuse-selected-window)
1904 (display-buffer-same-window, display-buffer-maybe-same-window)
1905 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1906 (display-buffer-pop-up-window)
1907 (display-buffer-reuse-or-pop-window)
1908 (display-buffer-use-some-window): New functions.
1909 (display-buffer-default-action): Use them.
393a301e 1910 (display-buffer-default): Delete.
89894cd8
CY
1911 (pop-to-buffer-1): Fix choice of actions.
1912
ae0bc9fb
SM
19132011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * minibuffer.el (completion--insert-strings): Don't get confused by
1916 completion entries that end with an LF char.
1917
e9d90883
EZ
19182011-09-01 Eli Zaretskii <eliz@gnu.org>
1919
1920 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1921
437014c8
CY
19222011-09-01 Chong Yidong <cyd@stupidchicken.com>
1923
1924 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1925 (display-buffer-same-window, display-buffer-other-window):
1926 New functions.
437014c8
CY
1927 (pop-to-buffer-1): New function. Use the above.
1928 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1929 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1930
1931 * view.el (view-buffer-other-window, view-buffer-other-frame):
1932 Just use pop-to-buffer.
1933
a5e063d5
TV
19342011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1935
1936 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1937
793d32bb
WH
19382011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1939
1940 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1941
d65e4c15
RS
19422011-08-31 Richard Stallman <rms@gnu.org>
1943
1944 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1945 of the separation of rmail-view-buffer from rmail-buffer.
1946 If you say no to "replace original", the decrypt is in the
1947 view buffer. If you say yes, the decrypt goes into the
1948 rmail buffer also.
1949
f818cd2a
MR
19502011-08-31 Martin Rudalics <rudalics@gmx.at>
1951
1952 * window.el (display-buffer-window): Rewrite doc-string.
1953 (display-buffer-record-window): New function.
1954 (display-buffer-macro-specifiers)
1955 (display-buffer-even-window-sizes, display-buffer-set-height)
1956 (display-buffer-set-width, display-buffer-in-window)
1957 (display-buffer-reuse-window, display-buffer-split-specifiers)
1958 (display-buffer-side-specifiers, display-buffer-split-window-1)
1959 (display-buffer-split-window, display-buffer-split-atom-window)
1960 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1961 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1962 (display-buffer-other-window-means-other-frame)
1963 (display-buffer-normalize-special)
1964 (display-buffer-normalize-default)
1965 (display-buffer-normalize-argument)
1966 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1967 (display-buffer-normalize-specifiers, display-buffer-frame)
1968 (display-buffer-same-window, display-buffer-same-frame)
1969 (display-buffer-other-window)
1970 (display-buffer-same-frame-other-window)
1971 (display-buffer-other-frame, pop-to-buffer-same-window)
1972 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1973 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1974 (switch-to-buffer-same-frame)
1975 (switch-to-buffer-other-window-same-frame)
1976 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1977 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1978 (display-buffer-alist-set): Remove.
1979 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1980 (special-display-regexps, special-display-function):
1981 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1982 parameter.
1983 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1984 (special-display-frame-alist, special-display-popup-frame)
1985 (same-window-buffer-names, same-window-regexps, same-window-p)
1986 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1987 (split-window-preferred-function, split-height-threshold)
1988 (split-width-threshold, window-splittable-p)
1989 (split-window-sensibly, window--try-to-split-window)
1990 (window--frame-usable-p, even-window-heights)
1991 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1992 (window--display-buffer-2, display-buffer-other-frame):
1993 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1994 (display-buffer-default, display-buffer-assq-regexp): New functions.
1995 (display-buffer-alist): Rewrite doc-string.
1996 (display-buffer-default-action)
1997 (display-buffer-overriding-action): New variables.
1998 (display-buffer, switch-to-buffer): Rewrite.
1999 (pop-to-buffer): Restore Emacs 23 behavior but use
2000 window-normalize-buffer-to-display.
2001 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2002 Restore Emacs 23 behavior but use
2003 window-normalize-buffer-to-switch-to.
2004 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2005 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2006 Rewrite using Emacs 23 options.
f818cd2a 2007
5bc3b51d
MA
20082011-08-31 Michael Albinus <michael.albinus@gmx.de>
2009
2010 * net/tramp.el (tramp-root-regexp): Remove.
2011 (tramp-completion-file-name-regexp-unified)
2012 (tramp-completion-file-name-regexp-separate)
2013 (tramp-completion-file-name-regexp-url): Don't use leading volume
2014 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2015 (tramp-drop-volume-letter): Simplify definition.
2016 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2017
b1a4f8e1
SM
20182011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2021 (bug#9356).
2022
5664fa7b
RT
20232011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2024
b1a4f8e1 2025 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2026
9a45d6c3
JL
20272011-08-29 Juri Linkov <juri@jurta.org>
2028
2029 * isearch.el (isearch-done): Don't display message "Mark saved"
2030 when arg `edit' is non-nil to prevent its flicker in the echo area.
2031
fb87e0fb
CY
20322011-08-28 Chong Yidong <cyd@stupidchicken.com>
2033
2034 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2035 obsolete packages for deletion.
2036
09ac1c2a
CS
20372011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2038
2039 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2040 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2041 view-mode from help-mode.
2042 (help-xref-override-view-map): Remove.
2043 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2044 view-mode is not used anymore.
2045
7a1ff57f
CY
20462011-08-28 Chong Yidong <cyd@stupidchicken.com>
2047
2048 * server.el (server-port): Doc fix.
2049
b9696605
CY
2050 * cus-theme.el (custom-theme-choose-mode): Inherit from
2051 special-mode (Bug#9124).
2052 (custom-theme-choose-mode-map): Add special-mode to parent.
2053
ef8cdf8c
AM
20542011-08-28 Alan Mackenzie <acm@muc.de>
2055
2056 * progmodes/cc-fonts.el
2057 (c-make-font-lock-BO-decl-search-function): New function.
2058 (c-basic-matchers-after - "Fontify the clauses after various
2059 keywords"): Extract the three keyword lists for the 3 erroneous
2060 constructs from the list of four, and use the new function above
2061 in place of an old one.
2062
27de4e20
DD
20632011-08-28 Deniz Dogan <deniz@dogan.se>
2064
2065 * net/rcirc.el (rcirc-insert-prev-input)
2066 (rcirc-insert-next-input): Remove unused argument.
2067
356a3681
SM
20682011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2069
2070 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2071
3fc9b218
AM
20722011-08-27 Alan Mackenzie <acm@muc.de>
2073
2074 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2075 handle function pointer parameters properly.
2076
538a061c
MR
20772011-08-27 Martin Rudalics <rudalics@gmx.at>
2078
2079 * window.el (display-buffer-reuse-window): Fix case where
2080 selected window was reused with non-nil OTHER-WINDOW argument.
2081 (Bug#9381)
2082
35b1c40c
DD
20832011-08-27 Deniz Dogan <deniz@dogan.se>
2084
2085 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2086 oftc's NickServ messages.
2087
2f6a3e79
GM
20882011-08-27 Glenn Morris <rgm@gnu.org>
2089
2090 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2091
7254299e
CY
20922011-08-26 Chong Yidong <cyd@stupidchicken.com>
2093
2094 * emacs-lisp/package.el (package-install): Call package-initialize
2095 if called interactively.
2096
f8ccf167
LL
20972011-08-26 Leo Liu <sdl.web@gmail.com>
2098
2099 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2100
3e8cd5ce
JL
21012011-08-25 Juri Linkov <juri@jurta.org>
2102
2103 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2104 `search-whitespace-regexp' (bug#9364).
2105
93eb7113
JL
21062011-08-25 Juri Linkov <juri@jurta.org>
2107
2108 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2109 `regexp-search-ring' to their global values to protect from
2110 updating by `read-from-minibuffer' (bug#9185).
2111
f65d1611
JL
21122011-08-25 Juri Linkov <juri@jurta.org>
2113
2114 * textmodes/ispell.el (ispell-command-loop): Add newline
2115 at the end of the "Use option `i'..." line.
2116
f1cf7a31
JL
21172011-08-25 Juri Linkov <juri@jurta.org>
2118
2119 * battery.el (display-battery-mode): If `battery-status-function'
2120 or `battery-mode-line-format' is nil, display the message and set
2121 `display-battery-mode' to nil (bug#9363).
2122
0c95fcf7
EZ
21232011-08-25 Eli Zaretskii <eliz@gnu.org>
2124
2125 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2126 bidi-string-mark-left-to-right; they are unnecessary now.
2127
a2ebe600
DD
21282011-08-25 Deniz Dogan <deniz@dogan.se>
2129
2130 * net/quickurl.el: Documentation typo fixes.
2131
e4ed06f1
CY
21322011-08-25 Chong Yidong <cyd@stupidchicken.com>
2133
2134 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2135
e5f1c99e
GM
21362011-08-25 Glenn Morris <rgm@gnu.org>
2137
b2948976
GM
2138 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2139
e5f1c99e
GM
2140 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2141 (smtpmail-via-smtp): Handle nil response from smtp.
2142
f22f4808
JL
21432011-08-24 Juri Linkov <juri@jurta.org>
2144
2145 * proced.el (proced-marked): Inherit from `error' instead of
2146 `font-lock-warning-face'.
2147
2148 * ibuffer.el (ibuffer-marked-face): Change default face from
2149 `font-lock-warning-face' to `warning'.
2150 (ibuffer-deletion-face): Change default face from
2151 `font-lock-type-face' to `error'.
2152
2153 * battery.el (battery-update): Use the face `error' instead of
2154 `font-lock-warning-face' (bug#6117).
2155
6a93965e
JL
21562011-08-24 Juri Linkov <juri@jurta.org>
2157
2158 * faces.el (success): Change face color from "Green3" to
2159 "ForestGreen" on light background (bug#9353).
2160
1ed43b09
CY
21612011-08-24 Chong Yidong <cyd@stupidchicken.com>
2162
5664fa7b
RT
2163 * window.el (quit-window): Rename from quit-restore-window.
2164 Use same arglist as old quit-window.
1ed43b09
CY
2165 (frame-auto-delete): Doc fix.
2166
2167 * view.el (view-mode-exit): Use quit-window.
2168
11dcdbb2
JL
21692011-08-24 Juri Linkov <juri@jurta.org>
2170
2171 * isearch.el (isearch-ring-adjust1): Start visiting previous
2172 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2173 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2174 for empty search string (when the last search string is reused
2175 automatically) to adjust the isearch ring to the last element and
2176 prepare the correct index for further M-p commands (bug#9185).
2177
de62b4df
KH
21782011-08-24 Kenichi Handa <handa@m17n.org>
2179
2180 * international/ucs-normalize.el: If decomposition property of
2181 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2182 nil.
2183 (nfd, nfkd): Likewise.
2184
963b492b
SM
21852011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2186
2187 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2188 from process filters aren't reliably transmitted to the surrounding
2189 accept-process-output.
2190 (mpc-proc-check): New function.
2191 (mpc-proc-sync): Use it (bug#8293)
2192
93b6b5e1
SM
21932011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2196 Add compatibility functions (bug#9313).
2197
bca633fb
EZ
21982011-08-23 Eli Zaretskii <eliz@gnu.org>
2199
b177498a
EZ
2200 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2201
bca633fb
EZ
2202 * international/uni-bidi.el: Regenerated.
2203
0902a04e
KH
22042011-08-23 Kenichi Handa <handa@m17n.org>
2205
2206 * international/charprop.el:
2207 * international/uni-bidi.el:
2208 * international/uni-category.el:
2209 * international/uni-combining.el:
2210 * international/uni-comment.el:
2211 * international/uni-decimal.el:
2212 * international/uni-decomposition.el:
2213 * international/uni-digit.el:
2214 * international/uni-lowercase.el:
2215 * international/uni-mirrored.el:
2216 * international/uni-name.el:
2217 * international/uni-numeric.el:
2218 * international/uni-old-name.el:
2219 * international/uni-titlecase.el:
2220 * international/uni-uppercase.el: Regenerate.
2221
3bbf23bc
MR
22222011-08-23 Martin Rudalics <rudalics@gmx.at>
2223
2224 * help.el (help-window-setup): Fix message displayed when other
2225 window is reused. (Bug#9341)
2226
b3fd59bd
SM
22272011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2228
1802e444
SM
2229 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2230 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2231
b3fd59bd
SM
2232 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2233 Mark obsolete.
2234 * shell.el (shell-parse-pcomplete-arguments): New function.
2235 (shell-completion-vars): Use it instead (bug#9160).
2236
4eb61348
SM
22372011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2238
867cab74
SM
2239 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2240 strings and comments (bug#9333).
2241
4eb61348
SM
2242 * emacs-lisp/debug.el (debug-arglist): New function.
2243 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2244 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2245
262a1439
JL
22462011-08-22 Juri Linkov <juri@jurta.org>
2247
56ee679c
JL
2248 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2249 Revert regexp that highlights output switches to its old
2250 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2251
262a1439
JL
2252 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2253 to check for empty output (bug#9226).
2254
f13f86fb
CY
22552011-08-22 Chong Yidong <cyd@stupidchicken.com>
2256
2257 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2258 symbol-constituent as the default, as that stops font-lock from
2259 working properly (Bug#8843).
2260
c65c9622
LMI
22612011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2262
2263 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2264 `coding-system-for-*' around the process open call to avoid
2265 auth-source side effects.
e7f2c178 2266 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2267 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2268 probe hangs.
c65c9622 2269
23a8a5ab
CY
22702011-08-21 Chong Yidong <cyd@stupidchicken.com>
2271
ff98b2dd
CY
2272 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2273
23a8a5ab
CY
2274 * emacs-lisp/find-func.el (find-function-noselect): New arg
2275 lisp-only.
2276
2277 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2278 signal an error for built-in functions (Bug#6664).
2279
f5e3c598
LMI
22802011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2281
2282 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2283 (smtpmail-try-auth-methods): Use it.
2284
a3f2468a
CY
22852011-08-21 Chong Yidong <cyd@stupidchicken.com>
2286
2c34e8da
CY
2287 * font-lock.el (font-lock-fontify-region)
2288 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2289 (font-lock-default-unfontify-buffer)
2290 (font-lock-default-fontify-region)
2291 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2292
b3fd59bd
SM
2293 * progmodes/compile.el (compilation-error-properties):
2294 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2295 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2296 `ant' regexp.
ee31aabc 2297
a3f2468a
CY
2298 * net/browse-url.el (browse-url-firefox): Don't call
2299 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2300
8e999f70
GM
23012011-08-20 Glenn Morris <rgm@gnu.org>
2302
c21a496a
GM
2303 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2304
59ee0542
GM
2305 * tutorial.el (tutorial--default-keys): Update some default bindings.
2306
8e999f70
GM
2307 * files.el (hack-local-variables): Fully ignore case for "mode:".
2308
e3715033
AM
23092011-08-20 Alan Mackenzie <acm@muc.de>
2310
2311 Resolve invalid use of a regexp in regexp-opt.
2312
4d61f28d
JB
2313 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2314 detection for a java annotation.
e3715033 2315
4d61f28d 2316 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2317 detection for a java annotation.
2318
4d61f28d
JB
2319 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2320 handling for java.
e3715033
AM
2321 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2322
04ed2e9c
CY
23232011-08-20 Chong Yidong <cyd@stupidchicken.com>
2324
2325 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2326 (Bug#9274).
2327
826cee64
AM
23282011-08-20 Alan Mackenzie <acm@muc.de>
2329
2330 * Fontify CPP expressions correctly when starting in the middle of
2331 such a construct. Mainly for when jit-lock etc. starts a chunk
2332 here.
2333
2334 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2335 variable.
2336 (c-make-font-lock-search-form): new function, extracted from
2337 c-make-font-lock-search-function.
2338 (c-make-font-lock-search-function): Use the above function.
2339 (c-make-font-lock-context-search-function): New function.
2340 (c-cpp-matchers): Enhance the preprocessor expression case with
2341 the above function
2342 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2343 which takes an expression.
2344
2345 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2346
13009bd8
MR
23472011-08-20 Martin Rudalics <rudalics@gmx.at>
2348
2349 * window.el (display-buffer-reuse-window)
2350 (display-buffer-pop-up-window): Don't reuse or split a side
2351 window.
2352
9234ff7f
GM
23532011-08-19 Glenn Morris <rgm@gnu.org>
2354
2355 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2356 Downcase "Mode:". (Bug#9331)
9234ff7f 2357
f635daa1
CY
23582011-08-18 Chong Yidong <cyd@stupidchicken.com>
2359
2360 * international/characters.el: Add L and R categories.
2361
2362 * subr.el (bidi-string-mark-left-to-right): Rename from
2363 string-mark-left-to-right. Use category search.
2364
2365 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2366
bc987f8b
JL
23672011-08-18 Juri Linkov <juri@jurta.org>
2368
2369 * faces.el (error, warning, success): New faces with definitions
2370 copied from old default values of `font-lock-warning-face',
2371 `compilation-warning', `compilation-info' (bug#6117).
2372
2373 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2374
2375 * progmodes/compile.el (compilation-error): Inherit from `error'.
2376 (compilation-warning): Inherit from `warning'.
2377 (compilation-info): Inherit from `success'.
2378
2379 * dired.el (dired-marked): Inherit from `warning'.
2380 (dired-flagged): Inherit from `error'.
2381
57173b96
LMI
23822011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2383
3e79eb87
LMI
2384 * mail/smtpmail.el (auth-source): Require to avoid problems with
2385 binding variables (bug#9298). Also clean up some unused
2386 autoloads.
2387
b3fd59bd
SM
2388 * net/network-stream.el (network-stream-open-starttls):
2389 Support using starttls.el without using gnutls-cli.
57173b96 2390
02b404de
JL
23912011-08-17 Juri Linkov <juri@jurta.org>
2392
2393 * progmodes/grep.el (rgrep): Handle the case when
2394 `grep-find-command' is a cons cell (bug#9278).
2395
8c9177f2
MR
23962011-08-17 Martin Rudalics <rudalics@gmx.at>
2397
2398 * window.el (display-buffer-pop-up-frame): Run frame creation
2399 function with BUFFER current (as special-display-popup-frame
2400 does). Reported by Drew Adams.
2401
3644a0ab
DU
24022011-08-17 Daiki Ueno <ueno@unixuser.org>
2403
2404 * epa-mail.el: Simplify GnuPG group expansion using
2405 epg-expand-group.
2406 (epa-mail-group-alist, epa-mail-group-modtime)
2407 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2408 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2409 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2410 Remove.
2411
5e617bc2 24122011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2413
2414 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2415
9c4aeabf
AM
24162011-08-16 Alan Mackenzie <acm@muc.de>
2417
2418 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2419 Correct, to avoid the inside of macros.
2420
3a99bf64
RS
24212011-08-16 Richard Stallman <rms@gnu.org>
2422
04963aa8
RS
2423 * epa-mail.el: Handle GnuPG group definitions.
2424 (epa-mail-group-alist, epa-mail-group-modtime)
2425 (epa-mail-gnupg-conf-file): New variables.
2426 (epa-mail-parse-groups, epa-mail-sync-groups)
2427 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2428 (epa-mail-expand-recipients): New functions.
2429 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2430
177549d0
RS
2431 * mail/rmail.el (rmail-epa-decrypt): New command.
2432
fe38beef
RS
2433 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2434 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2435 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2436 (epa-decrypt-armor-in-region): Make error message clearer.
2437
934eacb9
SM
24382011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2439
2440 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2441 and "a2b" to "ab" for `prefix'.
2442
d024fb4e
CY
24432011-08-14 Chong Yidong <cyd@stupidchicken.com>
2444
2445 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2446 filter groups.
de148fee
CY
2447 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2448 Fourquet (Bug#8804).
d024fb4e 2449
62f1ca49
JB
24502011-08-12 Juanma Barranquero <lekktu@gmail.com>
2451
2452 * startup.el (argi): Declare as global variable (bug#9275).
2453
9ccaaa4b
CY
24542011-08-12 Chong Yidong <cyd@stupidchicken.com>
2455
2456 * subr.el (string-mark-left-to-right): Search the entire string
2457 for RTL script, not just the terminating character. Doc fix.
2458
a3dae87a
SM
24592011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2460
6cd18349
SM
2461 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2462 New function.
2463 (js--regexp-literal, js-syntax-propertize-function): Remove.
2464 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2465 (js-mode-map): Don't rebind electric keys.
2466 (js-insert-and-indent): Remove.
2467 (js-mode): Setup electric-layout and electric-indent instead.
2468
a3dae87a
SM
2469 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2470
9d5cb631
DU
24712011-08-12 Daiki Ueno <ueno@unixuser.org>
2472
2473 * epa.el (epa-progress-callback-function): Fix the logic of
2474 displaying progress.
2475 * epa-file.el (epa-file-insert-file-contents): Make progress
2476 display more user-friendly.
2477 (epa-file-write-region): Ditto.
2478
3e26a4a2
CY
24792011-08-10 Chong Yidong <cyd@stupidchicken.com>
2480
2481 * subr.el (string-mark-left-to-right): New function.
2482
2483 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2484 Use string-mark-left-to-right.
2485 (list-buffers-noselect): Caller changed.
2486
a3dae87a
SM
2487 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2488 Use string-mark-left-to-right.
3e26a4a2
CY
2489 (tabulated-list-print): Recenter after moving point.
2490
ac8cf6e6
JL
24912011-08-10 Juri Linkov <juri@jurta.org>
2492
2493 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2494 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2495 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2496
8d96c9a4
CY
24972011-08-09 Chong Yidong <cyd@stupidchicken.com>
2498
2499 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2500 (Bug#7554).
2501
7be1c708 25022011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2503
2504 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2505 character. (Bug#6594)
2506
37e11a63
CY
25072011-08-08 Chong Yidong <cyd@stupidchicken.com>
2508
839dde57
CY
2509 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2510 (image-dired--with-db-file): New macro.
2511 (image-dired-write-tags, image-dired-remove-tag)
2512 (image-dired-create-gallery-lists, image-dired-write-comments)
2513 (image-dired-get-comment, image-dired-mark-tagged-files)
2514 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2515 (image-dired-gallery-generate): Use insert-file-contents.
2516
37e11a63
CY
2517 * time.el (display-time-world-list, display-time-world-display):
2518 * time-stamp.el (time-stamp-string):
2519 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2520 set-time-zone-rule (Bug#7337).
2521
0b4946c4
DU
25222011-08-08 Daiki Ueno <ueno@unixuser.org>
2523
2524 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2525 (epg-error-to-string, epg-errors-to-string): New function.
2526 (epg-wait-for-completion): Reverse errors list.
2527 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2528 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2529 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2530 (epg-sign-keys, epg-generate-key-from-file)
2531 (epg-generate-key-from-string): Format errors by using
2532 epg-errors-to-string (bug#9255).
2533 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2534
75bfc667
JL
25352011-08-07 Juri Linkov <juri@jurta.org>
2536
2537 * faces.el (list-faces-display): Remove extra angle bracket
2538 from `help-mode-map'.
2539
2540 * info.el (Info-history-toc-nodes): Doc fix.
2541
2542 * longlines.el (longlines-mode): Doc fix.
2543
673e08bb
SM
25442011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2545
4640dd88
SM
2546 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2547 of statements and in a few more cases (bug#9183).
2548
673e08bb
SM
2549 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2550 New functions.
2551 (cl-transform-lambda): Use them (bug#9239).
2552
89b3f019
MR
25532011-08-05 Martin Rudalics <rudalics@gmx.at>
2554
2555 * window.el (display-buffer-same-window)
2556 (display-buffer-same-frame, display-buffer-other-window)
2557 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2558 (pop-to-buffer-other-window)
2559 (pop-to-buffer-same-frame-other-window)
2560 (pop-to-buffer-other-frame): Make them defuns.
2561 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2562
640c8776
SM
25632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * subr.el (make-composed-keymap): Move from C. Change calling
2566 convention, and improve docstring to bring attention to a subtle point.
2567 * minibuffer.el (completing-read-default): Adjust accordingly.
2568
63648a95
MA
25692011-08-03 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2572 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2573
2574 * net/trampver.el: Update release number.
2575
b796c9b7
SM
25762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2579 "in" (bug#9190).
2580
2239d7d5
LMI
25812011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2582
e07dd7c3
LMI
2583 * mail/sendmail.el (sendmail-query-once): Restore the current
2584 buffer after querying (bug#9074).
2585
0e6a2bd7
LMI
2586 * dired.el (dired-flagged): Use different faces for marked and
2587 flagged files (bug#6117).
2588
ce887515
LMI
2589 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2590 (bug#4433).
2591
92f2affc
LMI
2592 * ido.el (ido-mode): Switch off the message if called
2593 non-interactively.
2594
57d5aff0
LMI
2595 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2596 before 587, since it appears that that's more likely to work for
2597 more people.
2598
98cd6c18
LMI
2599 * cus-edit.el (custom-file): When running under emacs -q, always
2600 refuse to save the customisations, even if the .emacs file doesn't
2601 exist.
2602
b96dec83
LMI
2603 * info.el: Remove the `Info-beginning-of-buffer' function
2604 (bug#8325).
2605
b796c9b7
SM
2606 * net/network-stream.el (network-stream-open-starttls):
2607 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2608
d90e2ea0
MR
26092011-08-01 Martin Rudalics <rudalics@gmx.at>
2610
2611 * window.el (display-buffer-in-window): Don't set dedicated status
2612 of window here (Bug#9215).
2613 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2614 (display-buffer-pop-up-side-window)
b796c9b7 2615 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2616
cca09170
SM
26172011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2620 before binding generated-autoload-file.
2621
027b979c
DD
26222011-08-01 Deniz Dogan <deniz@dogan.se>
2623
2624 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2625
3c7ee4f3
MA
26262011-07-30 Michael Albinus <michael.albinus@gmx.de>
2627
2628 Sync with Tramp 2.2.2.
2629
2630 * net/trampver.el: Update release number.
2631
2cc8e51a
JL
26322011-07-30 Juri Linkov <juri@jurta.org>
2633
2634 * dired-aux.el (dired-touch-initial): Remove function.
2635 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2636 current time, and `default' to the last modification time of the
2637 current marked file (bug#6887).
2638
a514d856
JM
26392011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2640
2641 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2642 numeric argument to read-number (bug#9163).
a514d856 2643
8a7eddd7
MA
26442011-07-27 Michael Albinus <michael.albinus@gmx.de>
2645
2646 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2647 connection process, it could be nil.
2648
1ddd96f5
LL
26492011-07-27 Leo Liu <sdl.web@gmail.com>
2650
2651 Simplify url handling in rcirc-mode.
2652
2653 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2654 (rcirc-browse-url-at-mouse): Remove.
2655 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2656
b248a85d
AM
26572011-07-26 Alan Mackenzie <acm@muc.de>
2658
2659 Fontify bitfield declarations properly.
2660
2661 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2662 (c-symbol-chars): Now exported as a lang variable.
2663 (c-not-primitive-type-keywords): New lang variable.
2664
2665 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2666 QT keyword "more" to prevent "more slots: ...." being spuriously
2667 parsed as a bitfield declaraion.
2668
b796c9b7
SM
2669 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2670 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2671 (c-punctuation-in): New function.
2672 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2673 declarations properly.
2674
68575ab0
UJ
26752011-07-26 Ulf Jasper <ulf.jasper@web.de>
2676
2677 * calendar/icalendar.el (icalendar--all-events): Take care of
2678 multiple vcalendars in a single file.
b796c9b7 2679 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2680
0f0a88b9
DD
26812011-07-25 Deniz Dogan <deniz@dogan.se>
2682
2683 * image.el (insert-image): Clarifying docstring.
2684
0b3f36df
MA
26852011-07-24 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2688 `tramp-send-command-and-check' if there is no error.
2689 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2690
a9901f61
AM
26912011-07-22 Alan Mackenzie <acm@muc.de>
2692
2693 Prevent cc-langs.elc being loaded at run time.
2694
2695 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2696 cc-langs.
2697
4d61f28d 2698 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2699 "(require 'cc-langs)". Quote a form so it will evaluate at
2700 (cc-mode's) compilation time.
2701
11d074b2
MA
27022011-07-22 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2705 loading. (Bug#9114)
2706
938b94c8
MR
27072011-07-21 Martin Rudalics <rudalics@gmx.at>
2708
2709 * window.el (display-buffer-pop-up-window)
2710 (display-buffer-pop-up-side-window)
2711 (display-buffer-in-side-window): Call display-buffer-set-height
2712 and display-buffer-set-width after setting the new window's
b796c9b7 2713 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2714
bfa4f190
SS
27152011-07-20 Sam Steingold <sds@gnu.org>
2716
2717 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2718 (etags-tags-included-tables): Call `convert-standard-filename' on
2719 the file names contained in TAGS so that windows Emacs can handle
2720 TAGS files created by cygwin ctags.
2721
8ca42262
LMI
27222011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2723
2724 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2725 which apparently didn't work.
2726
5db2afd2 27272011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2728
5db2afd2
RW
2729 * proced.el (proced-send-signal): For *Marked Processes* buffer
2730 put point at beginning of buffer.
2731
92e15d10
SB
27322011-07-19 Stephen Berman <stephen.berman@gmx.net>
2733
2734 * proced.el (proced-format): Make header lines align with the text
2735 (bug#1779).
2736
1bfd59e5
LMI
27372011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2738
2739 * view.el (view-buffer): Allow running in `special' modes if we're
2740 visiting a file (bug#8615).
2741
f5aae37c
MR
27422011-07-19 Martin Rudalics <rudalics@gmx.at>
2743
2744 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2745 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2746 New functions.
f5aae37c
MR
2747 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2748 more accurately.
2749
bf2c1571
AM
27502011-07-18 Alan Mackenzie <acm@muc.de>
2751
2752 Fontify declarators properly when, e.g., a jit-lock chunk begins
2753 inside a declaration.
2754
2755 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2756
b796c9b7
SM
2757 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2758 New function.
bf2c1571
AM
2759 (c-complex-decl-matchers): Insert reference to
2760 c-font-lock-enclosing-decls.
2761
2762 * progmodes/cc-engine.el (c-backward-single-comment):
2763 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2764 to nil around calls to (forward-comment -1).
2765
4e190b80
LMI
27662011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2767
12dc863d
LMI
2768 * image.el (put-image): Doc typo fix.
2769
a762e966
LMI
2770 * progmodes/etags.el (tags-search): Doc typo fix.
2771
4e190b80
LMI
2772 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2773 password if we get errors 550 to 554.
2774
f019fb21
LMI
27752011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2776
b796c9b7 2777 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2778
81746738
LMI
2779 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2780 indentation character (bug#6380).
2781
3ee3a1b5
LMI
2782 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2783
c82f64de
LMI
2784 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2785 to clarify what the problem is (bug#4291).
2786
f019fb21
LMI
2787 * simple.el (current-kill): Clarify what
2788 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2789 (auto-fill-mode): Document `auto-fill-function' in relation to
2790 `auto-fill-mode' (bug#2470).
f019fb21 2791
0794775d
LM
27922011-07-16 Lawrence Mitchell <wence@gmx.li>
2793
2794 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2795 method if slot is read-only (bug#9035).
2796
be39b8cc
MR
27972011-07-16 Martin Rudalics <rudalics@gmx.at>
2798
b796c9b7 2799 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2800 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2801 selected before, see discussion of (Bug#8615), (Bug#6954).
2802 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2803
6ccf7859
GM
28042011-07-15 Glenn Morris <rgm@gnu.org>
2805
2806 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2807 Respect help-form.
6ccf7859 2808
87e86684
LM
28092011-07-09 Lawrence Mitchell <wence@gmx.li>
2810
2811 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2812 (gnutls-negotiate): Use it.
2813
d6066239
LMI
28142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2815
b796c9b7
SM
2816 * net/gnutls.el (gnutls-negotiate):
2817 Upcase `gnutls-algorithm-priority'.
d6066239 2818
bd23ebc0
GM
28192011-07-15 Glenn Morris <rgm@gnu.org>
2820
c65bca65
GM
2821 * jka-compr.el (jka-compr-verbose): Move from here...
2822 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2823 Add missing :version tag.
2824 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2825
478615cc
LMI
28262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2827
7b41decb
LMI
2828 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2829 (gnutls-negotiate): Use it.
2830
dbc44fcd
LMI
2831 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2832
06789f97
LMI
2833 * info.el (Info-beginning-of-buffer): New command.
2834 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2835 announcing `b' as the key (bug#8325).
ab896c37 2836 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2837
c39da690
LMI
2838 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2839
3aa5f34b
LMI
2840 * international/mule-cmds.el
2841 (describe-specified-language-support): Make the error message
2842 clearer (bug#8905).
2843
4bf0979f
LMI
2844 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2845
478615cc
LMI
2846 * isearch.el (isearch-barrier): Add a doc string, since it's
2847 mentioned in a function doc string (bug#8678).
2848
75c68aa1
MR
28492011-07-15 Martin Rudalics <rudalics@gmx.at>
2850
2851 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2852 buffer argument (Bug#9083) and self-identifying label argument.
2853
a7c33da2
GM
28542011-07-15 Glenn Morris <rgm@gnu.org>
2855
2856 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2857
2f5c6024
LMI
28582011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2859
2860 * man.el (Man-fontify-manpage): Fix message when formatting the
2861 man page (bug#7929).
2862
0bb23927 28632011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2864
2865 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2866 argument LRM; if non-nil, append an invisible LRM character to the
2867 buffer name.
2868 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2869 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2870 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2871 paragraph direction.
cce4b0a7 2872
621ef9ab
LMI
28732011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2874
d1583c48
LMI
2875 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2876 the man page name (bug#7929).
2877
6a57fb5f
LMI
2878 * image.el (put-image): Mention the `put-image' overlay property
2879 (bug#7834).
2880
d7956b14
LMI
2881 * scroll-bar.el (set-scroll-bar-mode): Mention that
2882 `scroll-bar-mode' lists the values (bug#7772).
2883
5b2d4a66
LMI
2884 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2885 command (bug#7729).
2886
7509a874
LMI
2887 * rect.el (apply-on-rectangle): Return the point after the last
2888 operation.
2889 (string-rectangle): Go to the point after the last operation
2890 (bug#7522).
2891
4fe74b19
LMI
2892 * printing.el (pr-toggle-region): Clarify the documentation
2893 slightly (bug#7493).
2894
b796c9b7
SM
2895 * time.el (display-time-update):
2896 Allow `display-time-mail-function' to return nil (bug#7158).
2897 Fix suggested by Detlev Zundel.
ab283561 2898
fc233c9d
LMI
2899 * vc/diff.el (diff): Clarify the order the file names are read
2900 (bug#7111).
2901
43f5740b
LMI
2902 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2903 the doc string (bug#7015).
2904
f2182a76
LMI
2905 * font-lock.el (font-lock-maximum-decoration): Mention what
2906 numeric levels mean (bug#6935).
2907
621ef9ab
LMI
2908 * startup.el (initial-buffer-choice): Don't mention the `none'
2909 selection, which is against policy.
2910
adc47434
MR
29112011-07-14 Martin Rudalics <rudalics@gmx.at>
2912
b796c9b7
SM
2913 * window.el (display-buffer-normalize-special):
2914 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2915
7e5bfb8f
EZ
29162011-07-14 Eli Zaretskii <eliz@gnu.org>
2917
2918 * subr.el (version<, version<=, version=): Mention "-CVS" and
2919 "-12345" alpha version numbers.
2920
27fa387a
CY
29212011-07-14 Chong Yidong <cyd@stupidchicken.com>
2922
2923 * bindings.el: Add advertised binding for set-mark-command
2924 (Bug#5772).
2925
8bdfa064
CY
29262011-07-14 Chong Yidong <cyd@stupidchicken.com>
2927
2928 * bindings.el (mode-line-other-buffer):
2929 * bookmark.el (bookmark-bmenu-2-window):
2930 * bs.el (bs-cycle-next, bs-cycle-previous):
2931 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2932 switch-to-buffer.
2933
2934 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2935 Delete.
8bdfa064 2936
5eba16a3
JB
29372011-07-14 Juanma Barranquero <lekktu@gmail.com>
2938
2939 * follow.el (follow-debug-message, follow-redisplay):
2940 * jka-cmpr-hook.el (with-auto-compression-mode):
2941 Fix typos in docstrings.
2942
15853710
LMI
29432011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2944
a28e4607
LMI
2945 * subr.el (with-silent-modifications): Clarify somewhat what the
2946 macro inhibits (bug#6525).
2947
15853710
LMI
2948 * simple.el (eval-expression): Note what it does if called
2949 interactively (bug#6495).
2950
bee0fcef
CY
29512011-07-13 Chong Yidong <cyd@stupidchicken.com>
2952
b796c9b7
SM
2953 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2954 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2955
2956 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2957 Remove switch-to-buffer.
2958
58274504
LMI
29592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2960
bd2fcc8d
LMI
2961 * files.el (make-directory): Clarify that an error will be raised
2962 if there's an error (bug#6397).
2963
0f04b32c
LMI
2964 * startup.el (initial-buffer-choice): Add `none' as a choice
2965 (bug#6234).
2966
465c5fc8
LMI
2967 * subr.el (add-hook): Clarify section about buffer-local hooks
2968 (bug#6218).
2969
58274504
LMI
2970 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2971
bead9a43
JB
29722011-07-13 Juanma Barranquero <lekktu@gmail.com>
2973
2974 * tabify.el (untabify): Preserve the current column so that point
2975 doesn't move (bug#6032).
2976
3af98a7b
LMI
29772011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2978
b796c9b7
SM
2979 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2980 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2981
6240145a
GM
29822011-07-13 Glenn Morris <rgm@gnu.org>
2983
2984 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2985 (dired-insert-directory): Give a message the first time
2986 if ls is found not to support --dired.
2987
1d8c2ccc
LMI
29882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2989
2990 * simple.el (toggle-truncate-lines): Clarify what is toggled
2991 (bug#5580). Text by Drew Adams.
2992
5fc4038e
CY
29932011-07-13 Chong Yidong <cyd@stupidchicken.com>
2994
2995 * simple.el (blink-matching-open): Make the error message from the
2996 last change less verbose.
2997
bf6012e5
DN
29982011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2999
3000 * font-lock.el (font-lock-comment-face): Use the high contrast
3001 "yellow" color for font-lock-comment-face on low color terminals
3002 using a dark background color (bug#4221).
3003
343c3b5a
LMI
30042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3005
7e9505c5
LMI
3006 * dired.el (dired-insert-set-properties): Make the doc string
3007 reflect what it does now (bug#5325).
3008
c26fdcf5
LMI
3009 * simple.el (blink-matching-open): Say that we were unable to find
3010 the match within the limit, if we're limited (bug#5122).
3011
bb388cc5
LMI
3012 * international/mule-cmds.el (prefer-coding-system): Add an
3013 example (bug#4869).
3014
343c3b5a
LMI
3015 * progmodes/etags.el (tags-search): Document `file-list-form'
3016 (bug#4731).
3017
2a517d45
LM
30182011-07-13 Lawrence Mitchell <wence@gmx.li>
3019
3020 * net/browse-url.el (browse-url-default-browser)
3021 (browse-url-browser-function): Make the default browser choice a
3022 bit more logical (bug#4300). Also clean up the doc string.
3023
b6c78ef2
JB
30242011-07-13 Juanma Barranquero <lekktu@gmail.com>
3025
3026 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3027 binary endings (bug#4440).
3028
1c4dd947
LMI
30292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3030
a2014063
LMI
3031 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3032 which can be pretty annoying (bug#8971).
3033
9c9c2d88
LMI
3034 * jka-compr.el (jka-compr-verbose): New variable, and use
3035 throughout (bug#8971).
3036
1c4dd947
LMI
3037 * info.el (Info-find-file): Fall back on the installation
3038 directory if we can't find the info node anywhere else.
3039
a1c9f41b
SO
30402011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3041
3042 * vc/vc.el (vc-revert-file):
3043 Don't set file time-stamp in the past. (Bug#5181)
3044
536f3d36
LMI
30452011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046
7152b011
LMI
3047 * files.el (after-find-file): Give a better error message when
3048 trying to find a symlink that points to a file that doesn't exist
3049 (bug#4398).
3050
536f3d36
LMI
3051 * progmodes/cc-vars.el: Remove (probably) misleading comment
3052 (bug#4396).
3053
460c0fba
JB
30542011-07-12 Johan Bockgård <bojohan@gnu.org>
3055
3056 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3057
7a6bda45
CY
30582011-07-12 Chong Yidong <cyd@stupidchicken.com>
3059
3060 * mouse-sel.el: Hack restoring functionality, while keeping
3061 compatibility with 2010-07-03 changes to mouse selection.
3062 (mouse-sel-primary-overlay): New var.
3063 (mouse-sel-selection-alist): Use it.
3064 (mouse-sel-mode): Doc fix; remove points that are default features
3065 of mouse.el.
3066
c79598ef
JB
30672011-07-12 Johan Bockgård <bojohan@gnu.org>
3068
3069 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3070 Fix previous fix (bug#2490).
3071
ff8be6ef
RW
30722011-07-12 Roland Winkler <winkler@gnu.org>
3073
b796c9b7
SM
3074 * textmodes/bibtex.el (bibtex-initialize):
3075 Use pop-to-buffer-same-window.
ff8be6ef
RW
3076 (bibtex-search-entries): Fix interactive call.
3077
296ba3ee
LMI
30782011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3079
f5242a02 3080 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3081 Fontise bytecomp Error lines more correctly (bug#2490).
3082 Fix suggested by Johan Bockgård.
f5242a02 3083
296ba3ee
LMI
3084 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3085
3086 * dired-x.el (dired-guess-default): Use `delete-dups'.
3087
f69fd0d2
CY
30882011-07-12 Chong Yidong <cyd@stupidchicken.com>
3089
3090 * dired.el (dired-mark-prompt):
3091 * dired-aux.el (dired-read-shell-command): Doc fix.
3092
eab5dc07
LMI
30932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3094
b796c9b7
SM
3095 * mail/sendmail.el (sendmail-query-once):
3096 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3097 emacs -Q.
3098
3099 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3100
eab5dc07
LMI
3101 * cus-edit.el (custom-file): Take an optional no-error variable.
3102 (customize-save-variable): Set the variable, and give a warning if
3103 running under "emacs -q".
3104
a1e65d42
JB
31052011-07-11 Juanma Barranquero <lekktu@gmail.com>
3106
3107 * loadhist.el (unload-feature-special-hooks):
3108 Add `auto-coding-functions', `fill-nobreak-predicate' and
3109 `find-directory-functions' (bug#5327).
3110
1d52da10
LMI
31112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3112
be958f1d
LMI
3113 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3114
5bedb26c
LMI
3115 * cus-edit.el (custom-guess-name-alist): -alist variables should
3116 use the `alist' type (bug#3120). Suggested by Drew Adams.
3117
1d52da10
LMI
3118 * printing.el: Add documentation to all the `pr-toggle-' commands.
3119
481a51b6
LL
31202011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3121
3122 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3123 backends where it makes sense (bug#2623).
3124
dcc88d8a
LMI
31252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3126
c3de9feb
LMI
3127 * dired-x.el (dired-guess-default): Remove duplicate shell command
3128 entries (bug#2028).
8a93078b 3129 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3130 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3131
dcc88d8a
LMI
3132 * subr.el (remove-duplicates): New conveniency function.
3133
505e3645
LMI
31342011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
3136 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3137 (bug#1526).
3138
31392011-07-10 Martin Rudalics <rudalics@gmx.at>
3140
3141 * window.el (display-buffer-normalize-default): Don't invert
3142 meaning of even-window-heights. Reported by Eli Zaretskii
3143 <eliz@gnu.org>.
3144
455e4fa1
BR
31452011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3146
3147 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3148
8e0bc3e9
CY
31492011-07-10 Chong Yidong <cyd@stupidchicken.com>
3150
3151 * window.el (display-buffer): Fix arguments to
3152 display-buffer-reuse-window in last change.
3153
fa7c3228
CY
3154 * faces.el (link): Use a less saturated blue on light backgrounds.
3155
3156 * startup.el (fancy-startup-text, fancy-about-text)
3157 (fancy-startup-tail): Use font-lock faces, for background safety.
3158
c0a7f300
BN
31592011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3160
b796c9b7
SM
3161 * emulation/viper-cmd.el (viper-change-state-to-vi):
3162 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3163
4dc2a129
MR
31642011-07-09 Martin Rudalics <rudalics@gmx.at>
3165
3166 * window.el (display-buffer-default-specifiers): Remove.
3167 (display-buffer-macro-specifiers): Remove default specifiers.
3168 (display-buffer-alist): Default to nil.
b796c9b7 3169 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3170 (display-buffer-pop-up-window): Allow splitting internal
3171 windows. Check whether a live window was created.
3172 (display-buffer-other-window-means-other-frame)
3173 (display-buffer-normalize-arguments): Rename to
3174 display-buffer-normalize-argument and rewrite. Set the
3175 other-window specifier.
3176 (display-buffer-normalize-special): New function.
3177 (display-buffer-normalize-options): Rename to
3178 display-buffer-normalize-default and rewrite.
3179 (display-buffer-normalize-options-inhibit): Remove.
3180 (display-buffer-normalize-specifiers): Rewrite.
3181 (display-buffer): Process other-window specifier and call
3182 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3183 more faithfully.
b796c9b7 3184 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3185 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3186 (display-buffer-in-window, display-buffer-alist-set):
3187 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3188 <tassilo@member.fsf.org>.
3189
2d43b8c9
LL
31902011-07-09 Leo Liu <sdl.web@gmail.com>
3191
3192 * register.el (insert-register): Restore accidental change on
3193 2011-06-26. (Bug#9028)
3194
7f9b7c53
GM
31952011-07-09 Glenn Morris <rgm@gnu.org>
3196
3197 * subr.el (remq): Handle the empty list. (Bug#9024)
3198
f042cfd8
AS
31992011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3200
3201 * mail/sendmail.el (send-mail-function): No longer delay custom
3202 initialization.
3203 * custom.el (custom-initialize-delay): Doc fix.
3204
856b2f11
SM
32052011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3208
afae1d68
MA
32092011-07-08 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3212 human-friendly prompt.
3213
0757af94
SM
32142011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3217 provided by a particular plugin.
3218
d760b731
LMI
32192011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3220
3221 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3222 save customizations (with "emacs -Q"), just set the variable
3223 instead of erroring out.
3224
3225 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3226
cd79ce90
JL
32272011-07-08 Juri Linkov <juri@jurta.org>
3228
3229 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3230 (archive-zip-update-case): Use 7z if found by `executable-find'.
3231 The order of searching the available programs is the same as in
3232 `archive-zip-extract' (bug#8968).
3233
14cc04aa
CY
32342011-07-07 Chong Yidong <cyd@stupidchicken.com>
3235
3236 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3237 (menu-bar-options-menu): Tweak descriptions.
3238
0a1848ec
LMI
32392011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3240
3241 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3242 menu items into verb phrases (bug#1421). Also refill to fit under
3243 80 columns.
3244
f5bd0689
CY
32452011-07-07 Chong Yidong <cyd@stupidchicken.com>
3246
538e85c6
CY
3247 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3248 (Info-read-node-name): Doc fix (Bug#1084).
3249
f5bd0689
CY
3250 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3251 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3252 (end-of-sexp, beginning-of-sexp)
3253 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3254 (forward-symbol, forward-same-syntax, word-at-point)
3255 (sentence-at-point): Doc fix (Bug#1144).
3256
56ec5115
LMI
32572011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3258
f3f8e37f
LMI
3259 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3260 should cover it (bug#1281).
3261
0757af94 3262 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3263
12b9eb35
LMI
3264 * net/network-stream.el (network-stream-open-starttls): If gnutls
3265 negotiation fails, then possibly try again with a non-encrypted
3266 connection (bug#9017).
3267
56ec5115
LMI
3268 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3269 be used.
3270
c2f9aec8
RS
32712011-07-07 Richard Stallman <rms@gnu.org>
3272
3273 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3274 property, and handle its changed format.
3275 Look for the correct line number.
3276 Use file's line contents (but not past first =) to find
3277 correct line in message.
3278
ef7b981d 32792011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3280
3281 * international/characters.el (build-unicode-category-table):
3282 Delete it.
0757af94 3283 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3284
0757af94 3285 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3286 to src/chartab.c.
3287 (get-char-code-property): Call unicode-property-table-internal to
3288 load a file. Call get-unicode-property-internal where necessary.
3289 (put-char-code-property): Call unicode-property-table-internal to
3290 load a file. Call put-unicode-property-internal where necessary.
3291 put-unicode-property-internal where necessary.
0757af94
SM
3292 (char-code-property-description):
3293 Call unicode-property-table-internal to load a file.
c805dec0
KH
3294
3295 * international/charprop.el:
3296 * international/uni-bidi.el:
3297 * international/uni-category.el:
3298 * international/uni-combining.el:
3299 * international/uni-comment.el:
3300 * international/uni-decimal.el:
3301 * international/uni-decomposition.el:
3302 * international/uni-digit.el:
3303 * international/uni-lowercase.el:
3304 * international/uni-mirrored.el:
3305 * international/uni-name.el:
3306 * international/uni-numeric.el:
3307 * international/uni-old-name.el:
3308 * international/uni-titlecase.el:
3309 * international/uni-uppercase.el: Regenerate.
3310
3311 * loadup.el: Load international/charprop.el before
3312 international/characters.
3313
e14b388a
CY
33142011-07-07 Chong Yidong <cyd@stupidchicken.com>
3315
3316 * window.el (next-buffer, previous-buffer): Signal an error if
3317 called from a minibuffer window.
3318
3319 * bindings.el: Revert 2011-07-04 change.
3320
354cf0ba
RS
33212011-07-06 Richard Stallman <rms@gnu.org>
3322
3323 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3324 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3325 Treat markers like ints.
3326 (rmail-mime-entity): Doc fix.
3327
a48868a7
LMI
33282011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3329
4906cd3d
LMI
3330 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3331 defcustom again for backwards compatibility.
3332
e0457abe
LMI
3333 * simple.el (shell-command-on-region): Fill.
3334
d67f7e1f
LMI
3335 * dired-aux.el (dired-kill-line): Add a doc string.
3336
fe204702
LMI
3337 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3338 to "\\sw\\|\\s_" (bug#358).
3339
a48868a7
LMI
3340 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3341 (dired-unmark-backward): Ditto.
3342 (dired-flag-backup-files): Ditto.
3343
3344 * dired-x.el (dired-mark-sexp): Ditto.
3345
aa8a705c
RS
33462011-07-06 Richard Stallman <rms@gnu.org>
3347
3348 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3349 (rmail-mime-entity): New arg TRUNCATED.
3350 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3351 New functions.
3352 (rmail-mime-save): Warn if entity is truncated.
3353 (rmail-mime-toggle-hidden): Likewise, for showing.
3354 (rmail-mime-process-multipart): Record when an entity is truncated.
3355
a9a936b9
RS
3356 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3357 if ENTITY is a string.
3358
1f2b92cb
LMI
33592011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3360
f4f73198 3361 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3362 of faces when `M-C-x'-ing their definitions (bug#8378).
3363 Also clean up the code slightly.
f4f73198 3364
12b16734
LMI
3365 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3366 because that makes the colours go away.
3367
f0691d22
LMI
3368 * mail/sendmail.el (send-mail-function): Change the default to
3369 `sendmail-query-once'.
9e87df06 3370 (sendmail-query-once): Add an autoload cookie.
f0691d22 3371
1f2b92cb
LMI
3372 * net/network-stream.el (network-stream-open-starttls): Try using
3373 a plain connection even if the server offered STARTTLS, and we
3374 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3375 capability. This should make smtpmail.el work in slightly more
3376 configurations.
3377
1cdd2a1b
MA
33782011-07-06 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3381 New defun.
3382 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3383
fbcc67e2
MM
33842011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3385
3386 * progmodes/sql.el: Version 3.0
0757af94 3387 (sql-product-alist): Add product :completion-object,
fbcc67e2 3388 :completion-column, and :statement attributes.
0757af94 3389 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3390 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3391 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3392 ansi keywords.
3393 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3394 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3395 (sql-oracle-show-reserved-words): New function for development.
3396 (sql-product-font-lock): Simplify for source code buffers.
3397 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3398 New functions.
3399 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3400 (sql-mode-map): Add statement movement functions.
3401 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3402 New variable.
fbcc67e2
MM
3403 (sql-statement-regexp, sql-beginning-of-statement)
3404 (sql-end-of-statement, sql-signum): New functions.
0757af94 3405 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3406 (sql-show-sqli-buffer): Bug fix.
3407 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3408 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3409 with sql-interactive-mode.
3410 (sql-save-connection): Save buffer local settings.
0757af94 3411 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3412 (sql-product-interactive): Bug fix.
3413 (sql-preoutput-hold): New variable.
3414 (sql-interactive-remove-continuation-prompt): Bug fixes.
3415 (sql-debug-redirect): New variable.
3416 (sql-str-literal): New function.
3417 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3418 Redesign.
fbcc67e2
MM
3419 (sql-oracle-save-settings, sql-oracle-restore-settings)
3420 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3421 (sql-completion-object, sql-completion-column)
3422 (sql-completion-sqlbuf): New variables.
3423 (sql-build-completions-1, sql-build-completions)
3424 (sql-try-completion): New functions.
3425 (sql-read-table-name): Use them.
3426 (sql-contains-names): New buffer local variable.
3427 (sql-list-all, sql-list-table): Use it.
3428 (sql-oracle-completion-types): New variable.
3429 (sql-oracle-completion-object, sql-sqlite-completion-object)
3430 (sql-postgres-completion-object): New functions.
3431
d4eaeab1
GM
34322011-07-06 Glenn Morris <rgm@gnu.org>
3433
3434 * window.el (pop-to-buffer): Doc fix.
3435
322b7dab 34362011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3437
3438 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3439
322b7dab 34402011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3441
322b7dab 3442 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3443
322b7dab 3444 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3445
605dd5bf
CY
34462011-07-05 Chong Yidong <cyd@stupidchicken.com>
3447
3448 * button.el (button): Inherit from link face. Suggested by Dan
3449 Nicolaescu.
3450
7dbfa719
SM
34512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3db614b0
SM
3453 * progmodes/gdb-mi.el: Fit in 80 columns.
3454 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3455 switch-to-buffer.
3456
7dbfa719
SM
3457 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3458 if imenu is simply not configured (bug#8941).
3459
919d884a
KM
34602011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3461
3462 * allout.el (allout-post-undo-hook): New allout outline-change
3463 event hook to signal undo activity.
3464 (allout-post-command-business): Run allout-post-undo-hook if an
3465 undo just occurred.
7dbfa719
SM
3466 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3467 * allout-widgets.el (allout-widgets-after-undo-function):
3468 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3469 in the vicinity of an undo.
3470 (allout-widgets-mode): Include allout-widgets-after-undo-function
3471 on the new allout-post-undo-hook.
3472
450a0f09
SM
34732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3476 Let define-derived-mode define it.
3477 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3478 cycles of abbrev-table inheritance (bug#8998).
3479
2de69e00
RW
34802011-07-05 Roland Winkler <winkler@gnu.org>
3481
3482 * textmodes/bibtex.el: Add support for biblatex.
3483 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3484 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3485 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3486 (bibtex-entry-alist, bibtex-field-alist): New variables.
3487 (bibtex-entry-field-alist): Obsolete alias for
3488 bibtex-BibTeX-entry-alist.
3489 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3490 (bibtex-set-dialect): New command.
3491 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3492 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3493 Bind via bibtex-set-dialect.
2de69e00
RW
3494 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3495 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3496 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3497 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3498 Define via bibtex-set-dialect.
450a0f09
SM
3499 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3500 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3501 (bibtex-vec-push, bibtex-vec-incr): New functions.
3502 (bibtex-format-entry, bibtex-field-list)
3503 (bibtex-print-help-message, bibtex-validate)
3504 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3505
2dcdbdd9
SM
35062011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * progmodes/compile.el (compilation-goto-locus):
3509 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3510 * bs.el (bs-cycle-next, bs-cycle-previous):
3511 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3512 * bindings.el (mode-line-other-buffer):
3513 * autoinsert.el (auto-insert):
3514 * arc-mode.el (archive-extract):
3515 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3516
b27640fe
JB
35172011-07-05 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3520 Fix check of `emacs-lock-unlockable-modes'.
3521 Coerce true values of `emacs-lock--try-unlocking' to t.
3522
53bbe3ad
JB
35232011-07-05 Juanma Barranquero <lekktu@gmail.com>
3524
3525 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3526 * emacs-lock.el: New file.
3527
1d3cdbc7
JD
35282011-07-05 Julien Danjou <julien@danjou.info>
3529
3530 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3531 than `boundp' to check if face is set.
3532
9173deec
JB
35332011-07-05 Juanma Barranquero <lekktu@gmail.com>
3534
3535 * register.el (registerv-make):
3536 * window.el (window-min-height): Fix typos in docstrings.
3537
869795d6
JD
35382011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3539
9173deec 3540 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3541 Update doc string.
3542
b768cdcd
JB
35432011-07-04 Juanma Barranquero <lekktu@gmail.com>
3544
3545 * server.el (server-execute): Catch quit and call
3546 `server-return-error' to pass the error back to emacsclient and
3547 close the connection (bug#8942).
3548
13aa217b
KM
35492011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3550
3551 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3552 insecure exception for current topic. Also note that auto-saves
3553 are handled differently.
3554
3555 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3556 State variables for tracking auto-save inhibition situation.
3557
3558 (allout-write-contents-hook-handler): Rename from
3559 'allout-write-file-hook-handler', and describe how it depends on
3560 write-contents-functions sensitivity to non-nil value to prevent
3561 file write.
3562
3563 (allout-auto-save-hook-handler): Remove. auto-save does not check
3564 this in individual buffers, only in the starting buffer, so this
3565 is not the right way for us to inhibit auto-save in a buffer
3566 according to its condition.
3567
3568 (allout-mode): Use new allout-write-contents-hook-handler, and
3569 only with write-contents-functions. Remove auto-save provisions -
3570 they're implemented elsewhere.
3571
3572 (allout-before-change-handler): If undo is in progress, note that
3573 for attention of allout-post-command-business.
3574
3575 (allout-post-command-business): If the command we're following was
3576 an undo, check for change in the status of encrypted items and
3577 adjust auto-save inhibitions accordingly.
3578
3579 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3580 according to whether there are or aren't any plain-text topics
3581 pending encryption.
3582
2dcdbdd9
SM
3583 (allout-inhibit-auto-save-info-for-decryption):
3584 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3585 there are plain-text topics pending encryption.
3586
3587 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3588 buffer-saved-size and some allout state to not inhibit auto-saves
3589 if there are no longer any plain-text topics pending encryption.
3590
0757af94
SM
3591 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3592 No longer provide for exemption of the current topic.
13aa217b 3593
ac89b32c
JL
35942011-07-04 Juri Linkov <juri@jurta.org>
3595
3596 Add 7z operations to delete and save changed members (bug#8968).
3597 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3598 New defcustoms.
3599 (archive-7z-write-file-member): New function.
3600 (archive-7z-summarize): Fix the number of dashes in the
3601 listing output.
3602
8fa39615
SM
36032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3606 (bug#8958).
3607
2f11b3f1
CY
36082011-07-04 Chong Yidong <cyd@stupidchicken.com>
3609
d66fef2b
CY
3610 * bindings.el: Ignore next-buffer and previous-buffer in
3611 minibuffer-local-map.
3612
2f11b3f1
CY
3613 * font-lock.el (font-lock-builtin-face): Change light background
3614 color to dark slate blue (Bug#6693).
3615
f932a347
WD
36162011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3617
3618 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3619
c8af70e1
SM
36202011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3623 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3624 Add switch-to-buffer.
3625
f158badc
LMI
36262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3627
3628 * isearch.el (isearch-search-fun-function): Clarify further the
3629 meaning of the function returned.
3630
6d95bd46
MA
36312011-07-04 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3634
3635 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3636 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3637 Use it.
3638 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3639 `tramp-default-remote-path' does not exist.
3640 (tramp-send-command-and-read): New optional argument NOERROR.
3641 (tramp-open-connection-setup-interactive-shell)
3642 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3643 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3644 (tramp-process-sentinel): Flush also process' connection property.
3645 (tramp-sh-handle-start-file-process): Do not set process
3646 sentinel. It is done now ...
3647 (tramp-maybe-open-connection): ... here. (Bug#8929)
3648
909e6b67
MK
36492011-07-04 MON KEY <monkey@sandpframing.com>
3650
3651 * play/animate.el (animate-string): Doc fixes and allow changing
3652 the buffer name (bug#5417).
3653
36542011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3655
c8af70e1 3656 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3657
f34755dc
PE
36582011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3659
396cec72
PE
3660 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3661 This is simpler and helps future-proof the code.
3662 (timer-until): Use time-subtract and float-time.
08235028 3663 (timer--time-less-p): Use time-less-p.
f34755dc 3664
56e6cc31
JB
36652011-07-04 Juanma Barranquero <lekktu@gmail.com>
3666
3abb79e5
JB
3667 * type-break.el (timep): Use the value of `float-time' to avoid a
3668 byte-compiler warning.
3669
56e6cc31
JB
3670 * server.el (server-eval-and-print): Return any result, even nil.
3671
7b9430b4
PE
36722011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3673
3674 * type-break.el: Accept time formats that the builtins accept.
3675 (timep, type-break-time-difference): Accept any format that
3676 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3677 This is simpler and helps future-proof the code.
3678 (type-break-time-difference): Round rather than ignoring
3679 subseconds components.
3680
3034e9e7
LMI
36812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3682
3683 * info.el (Info-apropos-matches): Make non-interactive, since it
3684 doesn't seem to do anything useful as a command (bug#8829).
3685
1485f4c0
CY
36862011-07-03 Chong Yidong <cyd@stupidchicken.com>
3687
3688 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3689 Move from faces.el.
1485f4c0
CY
3690 (frame-default-terminal-background): New function.
3691
3692 * custom.el (custom-push-theme): Don't record faces in `changed'
3693 theme; this doesn't work correctly for per-frame face settings.
3694 (disable-theme): Use face-set-after-frame-default to reset faces.
3695 (custom--frame-color-default): New function.
3696
9fa3dd45
LMI
36972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3698
c8af70e1 3699 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3700 (bug#8769).
3701
6cbbc20c
KR
37022011-03-29 Kevin Ryde <user42@zip.com.au>
3703
3704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3705 `perl-Test2' extend to match possible "fail #N" rep count
3706 (bug#8377).
3707
c7f98048
LMI
37082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709
65676592
LMI
3710 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3711 `smtpmail-via-smtp' now returns the error instead of nil.
3712
c7f98048
LMI
3713 * isearch.el (isearch-search-fun-function): Clarify the doc string
3714 (bug#8101).
3715
56e6cc31 37162011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3717
3718 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3719 unnecessary spaces (bug#8987).
3720
2b216704
LMI
37212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3722
3723 * net/network-stream.el (open-network-stream): Use the
3724 :end-of-capability command thoughout.
3725
37262011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3727
3728 * net/network-stream.el (open-network-stream): Add the
3729 :end-of-capability command parameter, used by pop3.el.
3730
36adf6ce
LMI
37312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3732
1ca0da0e
LMI
3733 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3734
fc00f69c
LMI
3735 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3736 for list)" (bug#6475).
3737
28fd8759
LMI
3738 * files.el (file-expand-wildcards): Ignore non-readable
3739 sub-directories while trying to find matches instead of signalling
3740 an error (bug#6297).
3741
0dd8b6da
LMI
3742 * man.el (Man-reference-regexp): Allow matching possible
3743 word-wrapped references (bug#6289).
3744
ce1438d6
LMI
3745 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3746 for consistency with the other vc buffers (bug#6197).
3747 (vc-checkin): Ditto.
3748
3749 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3750
36adf6ce
LMI
3751 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3752
e83cc1f7
LMI
37532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3754
8a20ca4c
LMI
3755 * custom.el (defcustom): Clarify that :set is only used in the
3756 Customize user interface (bug#6089).
3757
83319045
LMI
3758 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3759 associated with a file, refuse to run instead of erroring out
3760 (bug#6084).
3761
a8392169
LMI
3762 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3763 the doc string, since it appears that using `fill-column' always
3764 controls the width (bug#7845).
3765
e83cc1f7
LMI
3766 * simple.el (shell-command-on-region): Say where the error output
3767 went if `shell-command-default-error-buffer' is set (bug#6857).
3768
e47ca23b
KM
37692011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3770
3771 * allout.el (allout-yank-processing): Adjust cursor position for
3772 backwards-deleted space.
3773
3774 (allout-rebullet-heading): Register changes with
3775 allout-exposure-changed-hook, so the modified topic is properly
3776 decorated.
3777
5cf56143
LMI
37782011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3779
08549772
LMI
3780 * minibuffer.el (completion-in-region): Document PREDICATE
3781 (bug#7136).
3782
48e96771
LMI
3783 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3784 of keyword/argument pairs (bug#6904).
3785
c8af70e1
SM
3786 * replace.el (multi-occur):
3787 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3788
e17d05e2
LMI
37892011-07-02 Drew Adams <drew.adams@oracle.com>
3790
3791 * dired.el (dired-mark-if): Make the message about whether it's
3792 marking or unmarking clearer (bug#8523).
3793
063b0e45
LMI
37942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3795
3796 * disp-table.el (display-table-print-array): New function.
3797 (describe-display-table): Use it to print the vectors more pretty
3798 (Bug#8859).
3799
28545e04
MR
38002011-07-02 Martin Rudalics <rudalics@gmx.at>
3801
3802 * window.el (window-state-get-1): Don't assign clone numbers.
3803 Add clone-of item to list of window parameters.
3804 (window-state-put-2): Don't process clone numbers.
3805 (display-buffer-alist): Fix doc-string.
3806
3349e122
SM
38072011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * subr.el (remq): Don't allocate if it's not needed.
3810 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3811 (keymap--merge-bindings): New functions.
3812 (keymap-canonicalize): Use them to refine the canonicalization.
3813 * minibuffer.el (minibuffer-local-completion-map)
3814 (minibuffer-local-must-match-map): Move initialization from C.
3815 (minibuffer-local-filename-completion-map): Move initialization from C;
3816 don't inherit from anything here.
3817 (minibuffer-local-filename-must-match-map): Make obsolete.
3818 (completing-read-default): Use make-composed-keymap to combine
3819 minibuffer-local-filename-completion-map with either
3820 minibuffer-local-must-match-map or
3821 minibuffer-local-filename-completion-map.
3822
d224ac83
GM
38232011-07-01 Glenn Morris <rgm@gnu.org>
3824
3de63bf8
GM
3825 * type-break.el (type-break-time-sum): Use dolist.
3826
d224ac83
GM
3827 * textmodes/flyspell.el (flyspell-word-search-backward):
3828 Replace CL function.
3829
1a1e3f32
SM
38302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3831
fe3f64d5
SM
3832 * mouse.el (mouse--strip-first-event): New function.
3833 (function-key-map): Use it to map fringe clicks to normal clicks
3834 by default.
3835
eb604e34
SM
3836 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3837 (vc-bzr-revision-completion-table): Add support for annotate and date.
3838
1a1e3f32
SM
3839 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3840 inherit from parent.
3841
5bd35902
LMI
38422011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3843
ace6c69c 3844 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3845 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3846
191e2bed
LMI
3847 * dired.el (dired-mode): Fix up the doc string as suggested by
3848 Drew Adams (bug#8817).
3849
5bd35902
LMI
3850 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3851 cookie, since the manual says that it should be possible to add
3852 this function to `find-file-hook' (bug#8709).
3853
eee8207a
TZ
38542011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3855
3856 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3857 here. Noted Ted Zlatanov as the maintainer.
3858 (cfengine-common-settings, cfengine-common-syntax): New functions
3859 to set up common things between `cfengine-mode' and
3860 `cfengine3-mode'.
3861 (cfengine3-mode): New mode.
3862 (cfengine3-defuns cfengine3-defuns-regex
3863 (cfengine3-class-selector-regex cfengine3-category-regex)
3864 (cfengine3-vartypes cfengine3-font-lock-keywords)
3865 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3866 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3867
36b148cf
MA
38682011-07-01 Michael Albinus <michael.albinus@gmx.de>
3869
3870 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3871
3872 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3873
0bf4ba9a
MR
38742011-07-01 Martin Rudalics <rudalics@gmx.at>
3875
3876 * window.el (same-window-buffer-names, same-window-regexps)
3877 (same-window-p, special-display-frame-alist)
3878 (special-display-popup-frame, special-display-function)
3879 (special-display-buffer-names, special-display-regexps)
3880 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3881 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3882 (split-window-preferred-function, split-height-threshold)
3883 (split-width-threshold, even-window-heights)
3884 (display-buffer-mark-dedicated, window-splittable-p)
3885 (split-window-sensibly, window-safely-shrinkable-p):
3886 Un-obsolete.
3887 (display-buffer): Don't spread args with function specifier
3888 because special-display-popup-frame won't like it.
3889
35837f51
PE
38902011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3891
d0672f86
PE
3892 Time-stamp simplifications and fixes.
3893 These improve accuracy slightly, and future-proof the code
3894 against some potential changes to current-time format.
3895
b9444d97
PE
3896 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3897 by using time-since and float-time.
3898
0ef923dc
PE
3899 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3900 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3901 + NNN microseconds".
3902
2f81380d
PE
3903 * type-break.el (type-break-time-sum): Rewrite using time-add.
3904
845b5c3e
PE
3905 * play/hanoi.el (hanoi-current-time-float): Remove.
3906 All uses replaced by float-time.
3907
ee6f1be0
PE
3908 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3909 This yields a more-accurate answer.
3910 (rng-time-to-float): Remove; no longer needed.
3911
fe955043
PE
3912 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3913
5777162a
PE
3914 * calendar/timeclock.el (timeclock-seconds-to-time):
3915 Defalias to seconds-to-time, since they're the same thing.
3916
3103f8b6 3917 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3918 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3919 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3920
0e61a35f
SM
39212011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * window.el (bury-buffer): Don't iconify the only frame.
3924 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3925 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3926
ddd63a1e
CY
39272011-07-01 Chong Yidong <cyd@stupidchicken.com>
3928
0e61a35f
SM
3929 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3930 Add mouse-yank-primary.
ddd63a1e 3931
055f4923
TZ
39322011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3933
3934 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3935
6a2fb145
SM
39362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3939 (find-library-name): Use it to find relative load names when provided
3940 absolute file name (bug#8803).
3941
fd4983f2
LMI
39422011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3943
887d14ad
LMI
3944 * textmodes/flyspell.el (flyspell-word): Consider words that
3945 differ only in case as potential doublons (bug#5687).
3946
c53dc7fc
LMI
3947 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3948 Remove two rather uninteresting debugging-like messages to make
3949 debbugs.el more silent.
3950
fd4983f2
LMI
3951 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3952 a password-like phrase.
3953
b14c0c55
AM
39542011-06-30 Mastake YAMATO <yamato@redhat.com>
3955
3956 * progmodes/cc-guess.el: New file.
3957
6a2fb145 3958 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3959
3960 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3961 derived from `c-basic-common-init'.
3962
3963 * progmodes/cc-mode.el (top-level): Require cc-guess.
3964 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3965
1fa280a3
LM
39662011-06-30 Lawrence Mitchell <wence@gmx.li>
3967
3968 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3969
e6597158
AM
39702011-06-30 Alan Mackenzie <acm@muc.de>
3971
1fa280a3
LM
3972 * progmodes/cc-engine.el (c-guess-continued-construct):
3973 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3974 lock is disabled. Name this case as "CASE G".
3975
68ba37fb
KM
39762011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3977
3978 * allout.el (allout-yank-processing): Fix injection of extra space
3979 between bullet and non-whitespace character in first topic when
3980 pasting, ensuring that the actual spacing in the pasted topic
3981 following the bullet char is preserved. This extra space was
3982 causing pasted encrypted topics to get a decrypted status even
3983 when the content was actually still encrypted. Now the decryption
3984 status from before the paste is preserved.
3985
3986 (allout-flag-region): Set all allout overlays so they evaporate
3987 when reduced to zero length (evanescent), to prevent overlay
3988 leakage.
3989
887a0b34
GM
39902011-06-30 Glenn Morris <rgm@gnu.org>
3991
94b9acce
GM
3992 * w32-fns.el (w32-charset-info-alist): Declare.
3993
1d9b46d4
GM
3994 * find-dired.el (find-grep-options): Simplify.
3995
cc232200
GM
3996 * term/ns-win.el (ns-set-resource): Declare.
3997
28e77c46
GM
3998 * ses.el (row, col): Declare dynamic variables honestly.
3999
887a0b34
GM
4000 * textmodes/reftex-parse.el (index-tags): Declare.
4001
658d8eb8
CY
40022011-06-30 Chong Yidong <cyd@stupidchicken.com>
4003
4004 * cus-edit.el (customize-push-and-save): New function.
4005
4006 * files.el (hack-local-variables-confirm): Use it.
4007
1fa280a3
LM
4008 * custom.el (load-theme): New arg NO-CONFIRM.
4009 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4010 (custom-enabled-themes): Doc fix.
4011
4012 * cus-theme.el (customize-create-theme)
4013 (custom-theme-merge-theme): Callers to load-theme changed.
4014
bb617717
LMI
40152011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4016
d61bdd5d
LMI
4017 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4018 short URLs have at least one dot in them (bug #7614).
4019
bb617717
LMI
4020 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4021 nil, because using a pty is apparently too slow (bug #895).
4022
2f31f37a
LMI
40232011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4024
4025 * mail/sendmail.el (sendmail-query-once): New function.
4026 (sendmail-query-once-function): New variable.
4027
3076b24e
GM
40282011-06-29 Glenn Morris <rgm@gnu.org>
4029
faf2a174
GM
4030 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4031
3076b24e
GM
4032 * ses.el (top-level): Require cl when compiling.
4033 (ses-set-localvars): Fix error statement.
4034 Call it at compile time to silence a storm of warnings.
4035
5386012d
MR
40362011-06-29 Martin Rudalics <rudalics@gmx.at>
4037
4038 * window.el (normalize-live-buffer): Rename to
4039 window-normalize-buffer.
4040 (normalize-live-frame): Rename to window-normalize-frame.
4041 (normalize-any-window): Rename to window-normalize-any-window.
4042 (normalize-live-window): Rename to window-normalize-live-window.
4043 (make-window-atom): Rename to window-make-atom.
4044 (window-resize-reset): Rename to window--resize-reset.
4045 (window-resize-reset-1): Rename to window--resize-reset-1.
4046 (resize-mini-window): Rename to window--resize-mini-window.
4047 (resize-subwindows-skip-p): Rename to
4048 window--resize-subwindows-skip-p.
4049 (resize-subwindows-normal): Rename to
4050 window--resize-subwindows-normal.
4051 (resize-subwindows): Rename to window--resize-subwindows.
4052 (resize-other-windows): Rename to window--resize-siblings.
4053 (resize-this-window): Rename to window--resize-this-window.
4054 (resize-root-window): Rename to window--resize-root-window.
4055 (resize-root-window-vertically): Rename to
4056 window--resize-root-window-vertically.
4057 (normalize-buffer-to-display): Rename to
4058 window-normalize-buffer-to-display.
4059 (normalize-buffer-to-switch-to): Rename to
4060 window-normalize-buffer-to-switch-to.
4061 Correspondingly update all callers of the functions listed
4062 above.
4063 (display-buffer-alist, display-buffer-normalize-arguments)
4064 (display-buffer-normalize-options, display-buffer)
4065 (display-buffer-alist-set): Use "function" instead of
4066 "fun-with-args".
4067
1176868d
CY
40682011-06-28 Chong Yidong <cyd@stupidchicken.com>
4069
4070 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4071 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4072 debbugs.gnu.org. Mention acknowledgment email.
4073
20a7a65f
LMI
40742011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4075
4076 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4077 buffer multibyteness, since it shouldn't matter.
4078
5f45cca5
MR
40792011-06-28 Martin Rudalics <rudalics@gmx.at>
4080
4081 * window.el (display-buffer-in-side-window): Handle dedicated
4082 windows as in display-buffer-reuse-window.
4083 (display-buffer-normalize-alist): Use value of override
4084 specifier.
4085 (display-buffer-normalize-specifiers): Use value of
4086 other-window-means-other-frame specifier.
4087 (display-buffer-alist): Rewrite some texts in widgets.
4088 (display-buffer): Spread arguments when calling function
4089 specified by fun-with-args.
4090
ad85fe1f
DD
40912011-06-28 Deniz Dogan <deniz@dogan.se>
4092
1fa280a3
LM
4093 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4094 Unnest `let'.
da68c4c8 4095
ad85fe1f
DD
4096 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4097 selectors (Bug#5732).
ec49bd31 4098 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4099
a08cc025
JA
41002011-06-27 Jari Aalto <jari.aalto@cante.net>
4101
4102 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4103 (eshell-ls-date-format): New defcustom.
4104 (eshell-ls-file): Use it.
4105
e2b551c5
SM
41062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4109
8982b231
KY
41102011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4111
4112 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4113 (ange-ftp-make-tmp-name): New arg.
4114 (ange-ftp-file-local-copy): Use it.
4115
36c9fa27
J
41162011-06-27 Jambunathan K <kjambunathan@gmail.com>
4117
4118 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4119 no-conversion (Bug#8870).
4120
d68443dc
MR
41212011-06-27 Martin Rudalics <rudalics@gmx.at>
4122
4123 * window.el (window-right, window-left, window-child)
4124 (window-child-count, window-last-child)
4125 (window-iso-combination-p, walk-window-tree-1)
4126 (window-atom-check-1, window-tree-1, delete-window)
4127 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4128 new naming conventions - window-vchild, window-hchild,
4129 window-next and window-prev are now called window-top-child,
4130 window-left-child, window-next-sibling and window-prev-sibling
4131 respectively.
d615d6d2
MR
4132 (resize-window-reset): Rename to window-resize-reset.
4133 (resize-window-reset-1): Rename to window-resize-reset-1.
4134 (resize-window): Rename to window-resize.
4135 (window-min-height, window-min-width)
4136 (resize-mini-window, resize-this-window, resize-root-window)
4137 (resize-root-window-vertically, adjust-window-trailing-edge)
4138 (enlarge-window, shrink-window, maximize-window)
4139 (minimize-window, delete-window, quit-restore-window)
4140 (split-window, balance-windows, balance-windows-area-adjust)
4141 (balance-windows-area, window-state-put-2)
4142 (display-buffer-even-window-sizes, display-buffer-set-height)
4143 (display-buffer-set-width, set-window-text-height)
4144 (fit-window-to-buffer): Rename all "resize-window" prefixed
4145 calls to use the "window-resize" prefix convention.
4146 (display-buffer-alist): Fix symbol for label specifier.
4147 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4148 corresponding specifier.
4149 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4150
b6458526
VB
41512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4152
4153 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4154 convention.
4155 (ses-call-printer): Does not pass an empty string to formatter when the
4156 cell is empty to keep from barking printer Calc math-format-value.
4157
d31fd9ac
RS
41582011-06-27 Richard Stallman <rms@gnu.org>
4159
43d5bf84
RS
4160 * battery.el (battery-mode-line-limit): New variable.
4161 (battery-update): Handle it.
4162
d31fd9ac
RS
4163 * mail/rmailmm.el (rmail-mime-process-multipart):
4164 Handle truncated messages.
4165
819a6054
GM
41662011-06-27 Glenn Morris <rgm@gnu.org>
4167
4168 * progmodes/flymake.el (flymake-err-line-patterns):
4169 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4170
cedc73f2
VB
41712011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4172
819a6054 4173 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4174 (ses--clean-!, ses--clean-_): New functions.
4175 (ses-range): Add configurability of readout order, and conversion
4176 to Calc vector.
4177
5e5d49b6
VB
4178 * ses.el (ses-repair-cell-reference-all): New function.
4179 (ses-cell-symbol): Set macro as safe, so that it can be used in
4180 formulas.
4181
56e6cc31 4182 * ses.el: Update cycle detection algorithm.
90ca8b49 4183 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4184 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4185 (ses-set-localvars): New function.
4186 (ses-make-cell): Add property-list as a cell element.
4187 (ses-cell-property-get-fun, ses-cell-property-get)
4188 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4189 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4190 New functions.
90ca8b49
VB
4191 (ses-cell-property-set, ses-cell-property-pop)
4192 (ses-cell-property-get-handle): New macro.
4193 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4194 New aliases, used for code readability.
4195 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4196 cycle detection.
4197 (ses-self-reference-early-detection): New defcustom.
4198 (ses-formula-references): Robustify against self-refering cells.
4199 (ses-mode): Use ses-set-localvars.
4200 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4201 before lauching the update processing.
4202 (ses-initialize-Dijkstra-attempt): New function.
4203 (ses-recalculate-cell): Update for cycle detection based on
4204 Dijkstra algorithm.
4205
2bb63e81
VB
4206 * ses.el: Fix commenting and indenting convention.
4207
c9d29fb8
SM
42082011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * bs.el (bs-cycle-next): Complete last change.
4211
d8e4b68b
JB
42122011-06-27 Drew Adams <drew.adams@oracle.com>
4213
4214 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4215
40098786
LMI
42162011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4217
c9d29fb8
SM
4218 * net/network-stream.el (network-stream-open-starttls):
4219 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4220 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4221
40098786
LMI
4222 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4223 to binary to possibly avoid line encoding issues on Windows (among
4224 other things).
4225
468d09d4
LMI
42262011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4227
4228 * net/network-stream.el (open-network-stream): Return an :error
4229 saying what the problem was, if possible.
4230
4231 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4232 server.
4233
4234 * net/network-stream.el (network-stream-open-starttls): If we
4235 wanted to use STARTTLS, and the server offered it, but we weren't
4236 able to because we had no STARTTLS support, then close the connection.
4237 (open-network-stream): Return an :error element, if present.
4238
16f07dd7
CY
42392011-06-26 Chong Yidong <cyd@stupidchicken.com>
4240
88821ca0
CY
4241 * hl-line.el (hl-line-sticky-flag): Doc fix.
4242 (global-hl-line-sticky-flag): New option (Bug#8323).
4243 (global-hl-line-highlight): Obey it.
4244
16f07dd7
CY
4245 * vc/vc.el (vc-revert-show-diff): Default to t.
4246
6b5ccddf
KM
42472011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4248
c9d29fb8
SM
4249 * allout-widgets.el (allout-widgets-post-command-business):
4250 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4251 undecorated when an isearch is continued past, and isearch
4252 automatically collapses them. This leads to "widget leaks", where
4253 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4254 hidden widgets can slow down cursor travel, substantially.
4255 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4256 so we're doing without this nicety.
4257
4258 (allout-widgets-tally-string): Don't try to do a hash-table-count
4259 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4260 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4261 *Messages* when allout-widgets-maintain-tally is t.
4262
355f2e07
MR
42632011-06-26 Martin Rudalics <rudalics@gmx.at>
4264
4265 * window.el (display-buffer-normalize-argument): Rename to
4266 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4267 LABEL argument. Respect special-display-function when popping up
4268 a new frame. Fix code searching for a window showing the buffer
4269 on another frame.
c9d29fb8
SM
4270 (display-buffer-normalize-specifiers):
4271 Call display-buffer-normalize-arguments.
355f2e07
MR
4272 (display-buffer-in-window): Don't undedicate the window if its
4273 buffer remains the same.
4274 Reported by Drew Adams <drew.adams@oracle.com>.
4275 (display-buffer-alist): Add choice for same-window macro
4276 specfier.
4277 (display-buffer): Mention special meaning of LABEL argument in
4278 doc-string. Fix quoting. Don't pop up a new frame even as
4279 fallback.
4280
7ca8fc42
JB
42812011-06-26 Juanma Barranquero <lekktu@gmail.com>
4282
4283 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4284 avoid deleting the current window in some cases (bug#8911).
4285
bc312254
AS
42862011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4287
4288 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4289 (Bug#8934)
4290
2db18f3f
LMI
42912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4292
c9d29fb8
SM
4293 * net/network-stream.el (network-stream-open-starttls):
4294 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4295 (network-stream-open-tls): Ditto.
4296
6302e0d3
LL
42972011-06-26 Leo Liu <sdl.web@gmail.com>
4298
4299 * register.el (registerv): New struct.
4300 (registerv-make): New function.
c9d29fb8
SM
4301 (jump-to-register, describe-register-1, insert-register):
4302 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4303 struct. (Bug#8415)
4304
5fdd4046
CY
43052011-06-26 Chong Yidong <cyd@stupidchicken.com>
4306
2afef60a
CY
4307 * vc/vc.el (vc-revert-show-diff): New defcustom.
4308 (vc-diff-internal): New arg specifying diff buffer.
4309 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4310 reuse an existing *vc-diff* buffer (Bug#8927).
4311
5fdd4046
CY
4312 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4313
e93db24a
GM
43142011-06-26 Glenn Morris <rgm@gnu.org>
4315
4316 * progmodes/f90.el (f90-critical-indent): New option.
4317 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4318 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4319 (f90-mode): Doc fix.
4320 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4321 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4322 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4323 (f90-match-end): Handle block, critical.
4324
eefff499
GM
43252011-06-25 Glenn Morris <rgm@gnu.org>
4326
f6ba4cc9
GM
4327 * calendar/diary-lib.el (diary-included-files): Doc fix.
4328 (diary-include-files): New function, extracted from
4329 diary-include-other-diary-files and diary-mark-included-diary-files.
4330 (diary-include-other-diary-files, diary-mark-included-diary-files):
4331 Just call diary-include-files.
4332 (diary-mark-entries): Reset diary-included-files on first call.
4333
16712304
GM
4334 * calendar/diary-lib.el (diary-mark-entries)
4335 (diary-mark-included-diary-files):
4336 Visit included diary-files in temp buffers.
4337
5d8e0d43
GM
4338 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4339 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4340 (f90-start-block-re, f90-imenu-generic-expression)
4341 (f90-looking-at-program-block-start, f90-no-block-limit):
4342 Add support for submodules.
4343
ccf7a5d5
GM
4344 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4345 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4346
11fdef7d 43472011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4348
4349 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4350 buffer-file-type before setting its value, to avoid disastrous
eefff499 4351 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4352
74f53697
JB
43532011-06-25 Juanma Barranquero <lekktu@gmail.com>
4354
4355 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4356
4357 * ses.el (ses-unload-function):
4358 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4359
4360 * proced.el (proced-unload-function):
4361 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4362
18a4ce5e
AR
43632011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4364
4365 * server.el (server-create-window-system-frame): Add parameters arg.
4366 (server-process-filter): Doc fix. Handle frame-parameters.
4367
519d22cc
JB
43682011-06-25 Juanma Barranquero <lekktu@gmail.com>
4369
4370 Fix bug#8730, bug#8781.
4371
4372 * loadhist.el (unload--set-major-mode): New function.
4373 (unload-feature): Use it.
4374
4375 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4376 (python-unload-function): New function.
4377
c206f5b0
SM
43782011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4381
f9ad64f3
GS
43822011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4383
4384 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4385 the candidates list.
4386
7d0da90e
JB
43872011-06-24 Juanma Barranquero <lekktu@gmail.com>
4388
4389 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4390
14b4e83d
RS
43912011-06-23 Richard Stallman <rms@gnu.org>
4392
4393 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4394 (rmail-variables): Set next-error-move-function.
4395 (rmail-what-message): Take argument POS.
4396 (rmail-next-error-move): New function.
4397
273d2baf
SM
43982011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4401 messages for adjacent non-terminals.
4402
56c2cc9a
RS
44032011-06-23 Richard Stallman <rms@gnu.org>
4404
4405 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4406 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4407 (rmail-start-mail): Don't specify use of rmail-mail-return;
4408 that's done by mail-bury now.
4409 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4410
d59eb518
MA
44112011-06-23 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4414 SIZE is a number.
4415
02cfc6d6
MR
44162011-06-23 Martin Rudalics <rudalics@gmx.at>
4417
4418 * window.el (get-lru-window, get-mru-window)
4419 (get-largest-window): Never return a minibuffer window.
4420 (display-buffer-pop-up-window): Fix a bug that could lead to
4421 reusing the minibuffer window.
4422 (display-buffer): Pass original specifier argument to
4423 display-buffer-function instead of the normalized one.
4424 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4425
4e323265
LL
44262011-06-22 Leo Liu <sdl.web@gmail.com>
4427
4428 * minibuffer.el (completing-read-function)
4429 (completing-read-default): Move from minibuf.c
4430
7a70468f
RS
44312011-06-22 Richard Stallman <rms@gnu.org>
4432
50718fc2
RS
4433 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4434 to Rmail even if not started by a special Rmail command.
4435
7a70468f
RS
4436 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4437 Copy the buffer currently showing just one message.
4438
297dde5a
RW
44392011-06-22 Roland Winkler <winkler@gnu.org>
4440
4441 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4442 (bibtex-clean-entry): First delete the old key so that a
4443 customized algorithm for generating the new key does not get
4444 confused by the old key.
4445 (bibtex-url): Obey regexp of first step.
4446 (bibtex-search-entries): Do not use add-to-list with local
4447 list-var.
4448
97bb1093
LMI
44492011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4450
4451 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4452 stored a user name, then query for the password first, instead of
4453 waiting for SMTP to give an error message and the trying again.
4454
1c0f1a19
JD
44552011-06-22 Lawrence Mitchell <wence@gmx.li>
4456
4457 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4458 BUFFER in call-process.
4459
396f7c9d
LMI
44602011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4461
4462 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4463 QUIT twice.
ddb7ffee
LMI
4464 (smtpmail-try-auth-methods): Require user name and password from
4465 auth-source.
396f7c9d 4466
8998d1b3
MR
44672011-06-22 Martin Rudalics <rudalics@gmx.at>
4468
4469 * window.el (display-buffer-default-specifiers)
4470 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4471 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4472 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4473
4474 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4475 (special-display-frame-alist, special-display-popup-frame):
4476 Remove duplicate declarations. These are now in window.el.
4477
4ea31e07
LMI
44782011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4479
c9d29fb8
SM
4480 * mail/smtpmail.el (smtpmail-via-smtp):
4481 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4482 server supports it. SMTP servers that support STARTTLS commonly
4483 require it.
4484
4485 * net/network-stream.el (network-stream-open-starttls): Support
4486 upgrading to STARTTLS always, even if we don't have built-in support.
4487 (open-network-stream): Add the :always-query-capabilies keyword.
4488
95f41d9a
LMI
4489 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4490 upgrades with `open-network-stream', and rely solely on
4491 auth-source for all credentials. Big changes throughout the file,
4492 but in particular:
c9d29fb8
SM
4493 (smtpmail-auth-credentials): Remove.
4494 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4495 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4496 MAIL FROM, too.
95f41d9a 4497
c9d29fb8
SM
4498 * net/network-stream.el (network-stream-open-starttls):
4499 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4500 STARTTLS.
4501 (auth-source): Require.
4502 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4503 (network-stream-certificate): Change cert-cert to cert and
4504 cert-key to key.
4ea31e07 4505
065ec2c7
MA
45062011-06-21 Michael Albinus <michael.albinus@gmx.de>
4507
4508 * net/tramp-cache.el (top): Don't load the persistency file when
4509 "emacs -Q" has been called.
4510
cd93b359
DR
45112011-06-21 Tim Harper <timcharper@gmail.com>
4512
d8e4b68b
JB
4513 * term/ns-win.el (ns-initialize-window-system):
4514 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4515 resource to NO as it is not yet supported by the NS port.
4516
ae9c0411
JB
45172011-06-21 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4520 (list-dynamic-libraries): ...not here.
4521
7f3f739f
LL
45222011-06-21 Leo Liu <sdl.web@gmail.com>
4523
4524 * subr.el (sha1): Implement sha1 using secure-hash.
4525
327c8fb1
MR
45262011-06-21 Martin Rudalics <rudalics@gmx.at>
4527
4528 * window.el (display-buffer-alist): In default value do not
4529 enforce searching a window on any but the selected frame.
4530 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4531 (display-buffer-select-window): Remove function.
4532 (display-buffer-in-window): When a window on another frame gets
4533 reused, do not select it any more but just raise its frame if
4534 necessary (Bug#8851) and (Bug#8856).
4535 (display-buffer-normalize-options): Handle pop-up-frames related
4536 options more faithfully.
4537 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4538 window if it is on another frame.
c9d29fb8
SM
4539 (display-buffer-alist, display-buffer-default-specifiers):
4540 Don't make new frame unsplittable by default.
9e9de014
MR
4541 (display-buffer-normalize-argument): Fix doc-string typo and use
4542 'same-frame-other-window instead of 'other-window when associating
4543 with display-buffer-macro-specifiers.
327c8fb1 4544
7cf3f556
VB
45452011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4546
4547 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4548 New functions.
4549 (5x5-mode-map, 5x5-mode-menu): Bind them.
4550 (5x5-draw-grid): Tweak the solver's rendering.
4551
60a406cf
SM
45522011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4555 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4556
d8e4b68b 45572011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4558
4559 * menu-bar.el: Use function variable instead of switch-to-buffer.
4560 (menu-bar-select-buffer-function): New variable.
60a406cf 4561 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4562
478d6f95
SM
45632011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4566 variable's status.
4567
ca530739
JD
45682011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4569
4570 * x-dnd.el (x-dnd-version-from-flags)
4571 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4572 and long as number (Bug#8899).
4573 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4574
bcd70d97
SM
45752011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4576
60a406cf 4577 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4578 (completion-try-completion, completion-all-completions): Compute the
4579 metadata argument if it's missing; make it optional (bug#8795).
4580
60a406cf 4581 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4582 (widget-complete): Use new :completion-function property.
4583 (widget-completions-at-point): New function.
4584 (default): Use :completion-function instead of :complete.
60a406cf
SM
4585 (widget-default-completions): Rename from widget-default-complete;
4586 Rewrite.
bcd70d97
SM
4587 (widget-string-complete, widget-file-complete, widget-color-complete):
4588 Remove functions.
4589 (file, symbol, function, variable, coding-system, color):
4590 * international/mule-cmds.el (default-input-method, charset)
4591 (language-info-custom-alist):
4592 * cus-edit.el (face): Use new property :completions.
4593
4594 * progmodes/pascal.el (pascal-completions-at-point): New function.
4595 (pascal-mode): Use it.
4596 (pascal-mode-map): Use completion-at-point.
4597 (pascal-toggle-completions): Make obsolete.
4598 (pascal-complete-word, pascal-show-completions):
4599 * progmodes/octave-mod.el (octave-complete-symbol):
4600 Redefine as obsolete alias.
4601 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4602 Signal absence of completion info for old Octave,
4603 (inferior-octave-complete): Redefine as obsolete alias.
4604 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4605 (meta-completions-at-point): Rename from meta-complete-symbol and
4606 adapt it for use on completion-at-point-functions.
4607 (meta-common-mode): Use it.
4608 (meta-looking-at-backward, meta-match-buffer): Remove.
4609 (meta-complete-symbol): Redefine as obsolete alias.
4610 (meta-common-mode-map): Use completion-at-point.
4611 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4612 (makefile-mode-map): Use completion-at-point.
4613 (makefile-completions-at-point): Rename from makefile-complete and
4614 adapt it for use on completion-at-point-functions.
4615 (makefile-mode): Use it.
4616 (makefile-complete): Redefine as obsolete alias.
4617
aebf69c8
DD
46182011-06-20 Deniz Dogan <deniz@dogan.se>
4619
4620 * net/rcirc.el: Delete trailing whitespaces once and for all.
4621
bfbbb27d
DC
46222011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4623
4624 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4625
d264a46b
CY
46262011-06-19 Chong Yidong <cyd@stupidchicken.com>
4627
4ca009e5
CY
4628 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4629
d264a46b
CY
4630 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4631
fbf5b3ce
MR
46322011-06-19 Martin Rudalics <rudalics@gmx.at>
4633
4634 * window.el (display-buffer-other-window-means-other-frame):
4635 Call display-buffer-normalize-alist.
4636 (display-buffer-normalize-specifiers-1): Rename to
4637 display-buffer-normalize-argument. New argument other-frame.
4638 Rewrite.
4639 (display-buffer-normalize-specifiers-2): Rename to
4640 display-buffer-normalize-options.
4641 (display-buffer-normalize-alist-1): New function.
4642 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4643 display-buffer-normalize-alist.
4644 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4645 (display-buffer-normalize-options-inhibit): New variable.
4646 (display-buffer-normalize-specifiers): Rewrite calling
4647 display-buffer-normalize-alist,
4648 display-buffer-normalize-argument, and
4649 display-buffer-normalize-options. Don't call the latter if
4650 display-buffer-normalize-options-inhibit is non-nil.
4651 (frame-auto-delete): New option.
4652 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4653 (window-list-no-nils, window-state-ignored-parameters)
4654 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4655 (window-state-put-1, window-state-put-2, window-state-put):
4656 New functions.
9a028c23
MR
4657 (display-buffer-normalize-options): Move special-display-p group
4658 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4659
6d10d800
CY
46602011-06-18 Chong Yidong <cyd@stupidchicken.com>
4661
6420d28b
CY
4662 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4663 groups (Bug#8776).
4664 (rx-submatch-n): New function.
4665 (rx): Document it.
4666
ddb8b596
CY
4667 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4668 (Bug#8768).
4669
4670 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4671
77080289
CY
4672 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4673
61dfb316
CY
4674 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4675 anytime existing face settings are present (Bug#8889).
4676
6d10d800
CY
4677 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4678 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4679 Remove unused argument.
4680
be3fb2b8
MR
46812011-06-18 Martin Rudalics <rudalics@gmx.at>
4682
bcd70d97
SM
4683 * window.el (display-buffer-default-specifiers):
4684 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4685 pop-up-window-min-width, and another reuse-window specifier
4686 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4687 (display-buffer-normalize-specifiers-2):
4688 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4689 pop-up-windows is unset. Add a reuse-window specifier for the
4690 case popping up a new window fails.
4691 (special-display-popup-frame): Remove double quoting.
28dec25a 4692 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4693
1c6d8c76
SM
46942011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4697 according to comint-completion-addsuffix.
4698
4699 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4700 (pcomplete-suffix-list): Mark as obsolete.
4701 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4702 pcomplete-seen in the closure.
4703 (pcomplete-comint-setup): Setup completion-at-point as well.
4704 (pcomplete--entries): New function.
4705 (pcomplete--env-regexp): New var.
4706 (pcomplete-entries): Rewrite to work with partial-completion and
4707 without relying on pcomplete-suffix-list.
4708 (pcomplete-pare-list): Remove, unused.
4709
25aef8b8
MR
47102011-06-17 Martin Rudalics <rudalics@gmx.at>
4711
4712 * window.el (display-buffer-alist): Set pop-up-window-min-height
4713 and pop-up-window-min-width in default value. Reported by
4714 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4715 other-window-means-other-frame.
4716 (display-buffer-macro-specifiers): Comment out entry for
4717 other-window specifier.
4718 (display-buffer-other-window-means-other-frame): New function.
4719 (display-buffer-normalize-specifiers-1): New arguments
4720 buffer-name and label. Treat other-window case specially.
4721 (display-buffer-normalize-specifiers-2): Treat other-window case
4722 specially.
4723 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4724 (display-buffer-normalize-specifiers):
4725 Call display-buffer-normalize-specifiers-3.
25aef8b8 4726
dbad4f69
MR
47272011-06-17 Martin Rudalics <rudalics@gmx.at>
4728
4729 * window.el (same-window-p): Fix two typos introduced when
4730 adding with-no-warnings.
d1067961
MR
4731 (display-buffer-normalize-specifiers-1): Don't check
4732 pop-up-frames for 'unset initialization.
4733 (display-buffer-normalize-specifiers-2): Major rewrite using
4734 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4735 (pop-up-frames, display-buffer-reuse-frames)
4736 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4737 Suggested by David Engster <deng@randomsample.de>.
4738 (even-window-heights): Initialize to 'unset.
4739 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4740 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4741 other window case.
dbad4f69 4742
9b9c9e3a
MR
47432011-06-16 Martin Rudalics <rudalics@gmx.at>
4744
bcd70d97
SM
4745 * window.el (display-buffer-normalize-specifiers-1):
4746 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4747 second argument of display-buffer (Bug#8865).
981d5c09
MR
4748 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4749 (switch-to-buffer-other-window-same-frame)
4750 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4751 Adams (Bug#8875).
9c2755e9
MR
4752 (display-buffer): Don't check noninteractive when calling
4753 display-buffer-pop-up-frame.
4754 (display-buffer-pop-up-frame): Never pop up a frame in
4755 noninteractive mode (Bug#8857).
67222e1d
MR
4756 (enlarge-window, shrink-window): Don't report an error when the
4757 window can't be resized as requested (Bug#8862).
9b9c9e3a 4758
2b75be67
SM
47592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4760
9ffdd3ba
SM
4761 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4762
cb581a67
SM
4763 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4764
2b75be67
SM
4765 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4766
8c0e3589
AM
47672011-06-15 Alan Mackenzie <acm@muc.de>
4768
cb581a67
SM
4769 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4770 for declarators, disable knr checking to speed up for normal files.
4771 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4772
b96e6cde
LMI
47732011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4bba86e6
LMI
4775 * net/network-stream.el (open-network-stream): Add the keyword
4776 :always-query-capabilities for the case where you want to force a
4777 `plain' network connection, but the protocol still requires the
4778 capabilitiy command (i.e., SMTP and EHLO).
4779
2b75be67 4780 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4781 consistency with other `-live-p' functions.
4782
efdcdbf8
SM
47832011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * window.el (same-window-buffer-names, same-window-regexps)
4786 (special-display-frame-alist, special-display-popup-frame)
4787 (special-display-function, special-display-buffer-names)
4788 (special-display-regexps, pop-up-frame-alist)
4789 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4790 (pop-up-windows, split-window-preferred-function)
4791 (split-height-threshold, split-width-threshold, even-window-heights)
4792 (display-buffer-mark-dedicated): Don't encourage the use of
4793 display-buffer-alist from Elisp code.
4794
c5cde042
DN
47952011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4796
4797 * progmodes/python.el (python-mode): Derive from prog-mode.
4798 * progmodes/ps-mode.el (ps-mode):
4799 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4800 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4801 * progmodes/ld-script.el (ld-script-mode): Likewise.
4802
baa1c9ab
MR
48032011-06-15 Martin Rudalics <rudalics@gmx.at>
4804
4805 * window.el (display-buffer-alist): Trim default value to avoid
4806 popping up a new frame (Bug#8857) or reusing an arbitrary window
4807 on another frame.
4808 (display-buffer): Do not fall back on popping up a new frame in
4809 batch mode (Bug#8857).
4810
c5dd5a51
CY
48112011-06-14 Chong Yidong <cyd@stupidchicken.com>
4812
4813 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4814 (custom-theme-summary): New function.
4815 (customize-themes): Use it.
4816
d647b7c4
GM
48172011-06-13 Glenn Morris <rgm@gnu.org>
4818
4819 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4820
9481c002
MR
48212011-06-13 Martin Rudalics <rudalics@gmx.at>
4822
357f93d2
MR
4823 * help.el (help-window): Remove variable.
4824 (help-window-point-marker, temp-buffer-max-height)
4825 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4826 (help-print-return-message): Don't set help-window.
4827 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4828 (help-window-setup-finish): Remove.
4829 (help-window-display-message, help-window-setup)
4830 (with-help-window): Major rewrite based on new
4831 display-buffer-window variable.
4832
4833 * help-mode.el (help-mode-finish): Remove help-window related
4834 code.
4835
4836 * view.el (view-exits-all-viewing-windows): Remove reference to
4837 view-return-to-alist in doc-string.
4838 (view-return-to-alist): Make obsolete.
4839 (view-buffer): Call pop-to-buffer-same-window and remove
4840 undo-window code.
4841 (view-buffer-other-window): Call pop-to-buffer-other-window and
4842 simplify code. Ignore second argument.
4843 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4844 simplify code. Ignore second argument.
4845 (view-return-to-alist-update): Make obsolete.
4846 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4847 Rewrite using quit-restore window parameters.
2b75be67
SM
4848 (view-mode-exit): Rename second argument to EXIT-ONLY.
4849 Rewrite using quit-restore-window.
357f93d2
MR
4850 (View-exit, View-exit-and-edit, View-leave, View-quit)
4851 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4852 appropriate arguments.
4853 (view-end-message): Use quit-restore window parameter.
4854
9481c002
MR
4855 * window.el (display-buffer-function): Rewrite doc-string.
4856 (display-buffer-window, display-buffer-alist): New variables.
4857 (display-buffer-split-specifiers)
4858 (display-buffer-side-specifiers)
4859 (display-buffer-macro-specifiers): New constants.
4860 (display-buffer-even-window-sizes, display-buffer-set-height)
4861 (display-buffer-set-width, display-buffer-select-window)
4862 (display-buffer-in-window, display-buffer-reuse-window)
4863 (display-buffer-split-window-1, display-buffer-split-window)
4864 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4865 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4866 (display-buffer-in-side-window, normalize-buffer-to-display)
4867 (display-buffer-normalize-specifiers-1)
4868 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4869 (display-buffer-normalize-specifiers, display-buffer-frame):
4870 New functions.
9481c002
MR
4871 (display-buffer): Major rewrite.
4872 (display-buffer-other-window, display-buffer-other-frame)
4873 (pop-to-buffer, switch-to-buffer-other-window)
4874 (switch-to-buffer-other-frame): Rewrite.
4875 (display-buffer-same-window, display-buffer-same-frame)
4876 (display-buffer-same-frame-other-window)
4877 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4878 (pop-to-buffer-other-window)
4879 (pop-to-buffer-same-frame-other-window)
4880 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4881 (switch-to-buffer-other-window-same-frame): New functions.
4882 (same-window-p, special-display-p): Rewrite disabling warnings.
4883 Make obsolete.
4884 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4885 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4886 Make obsolete
4887 (same-window-buffer-names, same-window-regexps)
4888 (special-display-frame-alist, special-display-popup-frame)
4889 (special-display-function, special-display-buffer-names)
4890 (special-display-regexps, pop-up-frame-alist)
4891 (pop-up-frame-function, split-window-preferred-function)
4892 (split-height-threshold, split-width-threshold)
4893 (even-window-heights): Make obsolete.
4894
9db51aca
GM
48952011-06-12 Glenn Morris <rgm@gnu.org>
4896
4897 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4898 Misc simplifications.
9db51aca 4899
39cffb44
MR
49002011-06-12 Martin Rudalics <rudalics@gmx.at>
4901
4902 * window.el (window-safely-shrinkable-p): Restore function which
4903 was inadvertently removed in change from 2011-06-11. Declare as
4904 obsolete.
4905
2b75be67
SM
4906 * calendar/calendar.el (calendar-generate-window):
4907 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4908 window-safely-shrinkable-p.
4909
a8955be7
GM
49102011-06-12 Glenn Morris <rgm@gnu.org>
4911
4912 * progmodes/fortran.el (fortran-mode-syntax-table):
4913 * progmodes/f90.el (f90-mode-syntax-table):
4914 Set % to punctuation. (Bug#8820)
4915 (f90-find-tag-default): Remove, no longer needed.
4916
f0d4059d
DC
49172011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4918
4919 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4920
1100a63c
CY
49212011-06-11 Chong Yidong <cyd@stupidchicken.com>
4922
4923 * image.el (image-animated-p): Return animation delay in seconds.
4924 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4925 (image-animate-timeout): Remove DELAY argument. Don't assume
4926 every subimage has the same delay; get it from image-animated-p.
4927 (image-animate): Caller changed.
4928
def722bf
MA
49292011-06-11 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4932 to ignored backtrace functions.
4933
0a2bb1a9
GM
49342011-06-11 Glenn Morris <rgm@gnu.org>
4935
4936 * calendar/appt.el (appt-disp-window-function): Doc fix.
4937 (appt-check): Handle overlapping appointments. (Bug#8337)
4938
6198ccd0
MR
49392011-06-11 Martin Rudalics <rudalics@gmx.at>
4940
4941 * window.el (window-tree-1, window-tree): New functions, moving
4942 the latter to window.el.
4943 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4944 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4945 (bw-refresh-edges): Remove.
4946 (balance-windows-1, balance-windows-2): New functions.
4947 (balance-windows): Rewrite in terms of window tree functions,
4948 balance-windows-1 and balance-windows-2.
4949 (bw-adjust-window): Remove.
4950 (balance-windows-area-adjust): New function with functionality of
4951 bw-adjust-window but using resize-window.
2b75be67
SM
4952 (set-window-text-height): Rewrite doc-string.
4953 Use normalize-live-window and resize-window.
4954 (enlarge-window-horizontally, shrink-window-horizontally):
4955 Rename argument to DELTA.
6198ccd0
MR
4956 (window-buffer-height): New function.
4957 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4958 Rewrite using new window resize routines.
2b75be67
SM
4959 (kill-buffer-and-window, mouse-autoselect-window-select):
4960 Use ignore-errors instead of condition-case.
6198ccd0
MR
4961 (quit-window): Call delete-frame instead of delete-windows-on
4962 for the only buffer on frame.
4963
9397e56f
MR
49642011-06-10 Martin Rudalics <rudalics@gmx.at>
4965
4966 * loadup.el (top-level): Load window before files for the sake
4967 of replace-buffer-in-windows.
4968
4969 * files.el (read-buffer-to-switch)
4970 (switch-to-buffer-other-window)
2b75be67
SM
4971 (switch-to-buffer-other-frame, display-buffer-other-frame):
4972 Move to window.el.
9397e56f
MR
4973
4974 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4975 (previous-buffer): Move to window.el.
4976
4977 * bindings.el (unbury-buffer): Move to window.el.
4978
4979 * window.el (delete-other-windows-vertically): Move after
4980 definition of delete-other-windows.
4981 (other-window, delete-windows-on, replace-buffer-in-windows):
4982 Move here from window.c.
4983 (record-window-buffer, unrecord-window-buffer)
4984 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4985 (switch-to-next-buffer): New functions.
4986 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4987 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4988 (previous-buffer): Move here from simple.el.
4989 Call switch-to-prev-buffer.
9397e56f
MR
4990 (bury-buffer): Move here from buffer.c. Switch to previous
4991 buffer when window cannot be deleted.
4992 (unbury-buffer): Move here from bindings.el.
4993 (ctl-x-map): Move binding for other-window from window.c to
4994 here.
4995 (read-buffer-to-switch, switch-to-buffer-other-window)
4996 (switch-to-buffer-other-frame): Move here from files.el.
4997 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4998 (switch-to-buffer): Move here from buffer.c.
4999 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5000
562dd5e9
MR
50012011-06-10 Martin Rudalics <rudalics@gmx.at>
5002
5003 * window.el (window-min-height, window-min-width): Move here
5004 from window.c. Add defcustoms and rewrite doc-strings.
5005 (resize-mini-window, resize-window): New functions.
5006 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5007 Move here from window.c.
5008 (maximize-window, minimize-window): New functions.
5009 (delete-window, delete-other-windows, split-window): Move here
5010 from window.c.
5011 (window-split-min-size): New function.
5012 (split-window-keep-point): Mention split-window-above-each-other
5013 instead of split-window-vertically.
2b75be67
SM
5014 (split-window-above-each-other, split-window-vertically):
5015 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5016 provide defalias for old definition.
5017 (split-window-side-by-side, split-window-horizontally): Rename
5018 split-window-horizontally to split-window-side-by-side and provide
5019 defalias for the old definition.
5020 (ctl-x-map): Move bindings for delete-window,
5021 delete-other-windows and enlarge-window here from window.c.
5022 Replace bindings for split-window-vertically and
5023 split-window-horizontally by bindings for
5024 split-window-above-each-other and split-window-side-by-side.
5025
5026 * cus-start.el (all): Remove entries for window-min-height and
5027 window-min-width. Add entries for window-splits and
5028 window-nest.
5029
f0da764a
GM
50302011-06-09 Glenn Morris <rgm@gnu.org>
5031
80675c21
GM
5032 * calendar/appt.el (appt-mode-line): New function.
5033 (appt-check, appt-disp-window): Use it.
5034
f0da764a
GM
5035 * files.el (hack-one-local-variable-eval-safep):
5036 Allow minor-modes with explicit +/-1 arguments.
5037
59f623b7
TZ
50382011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5039
5040 * term/xterm.el (xterm): Add defgroup.
5041 (xterm-extra-capabilities): Add defcustom to supply known xterm
5042 capabilities, skip querying them, or query them (default).
5043 (terminal-init-xterm): Use it.
5044 (terminal-init-xterm-modify-other-keys): New function to set up
5045 modifyOtherKeys support to simplify `terminal-init-xterm'.
5046
9aab8e0d
MR
50472011-06-09 Martin Rudalics <rudalics@gmx.at>
5048
5049 * window.el (resize-window-reset, resize-window-reset-1)
5050 (resize-subwindows-skip-p, resize-subwindows-normal)
5051 (resize-subwindows, resize-other-windows, resize-this-window)
5052 (resize-root-window, resize-root-window-vertically)
5053 (window-deletable-p, window-or-subwindow-p)
5054 (frame-root-window-p): New functions.
5055
e8b08aee
GM
50562011-06-09 Glenn Morris <rgm@gnu.org>
5057
5058 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5059 (ange-ftp-get-files): Use it.
5060
254c37a5
AK
50612011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5062
5063 * mail/sendmail.el (mail-recover-1, mail-recover):
5064 * files.el (recover-file, recover-session):
5065 Handle dired-listing-switches not being just a single short option.
5066
35d7dbd3
GM
50672011-06-09 Glenn Morris <rgm@gnu.org>
5068
5069 * calendar/appt.el (appt-display-message, appt-disp-window):
5070 Handle lists of appointments.
5071
387522b2
MR
50722011-06-08 Martin Rudalics <rudalics@gmx.at>
5073
2b75be67
SM
5074 * window.el (one-window-p): Move down in code.
5075 Rewrite doc-string.
5076 (window-current-scroll-bars): Rewrite doc-string.
5077 Normalize live window argument.
387522b2
MR
5078 (walk-windows, get-window-with-predicate, count-windows):
5079 Rewrite doc-string. Use window-list-1.
5080 (window-in-direction-2, window-in-direction, get-mru-window):
5081 New functions.
5082
d8e4b68b 50832011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5084
5085 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5086 Doc fix (Bug#8713).
5087
50882011-06-08 Chong Yidong <cyd@stupidchicken.com>
5089
5090 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5091
50922011-06-08 Juanma Barranquero <lekktu@gmail.com>
5093
5094 * loadhist.el (unload-feature-special-hooks):
5095 Add `comint-output-filter-functions'.
5096
0de12c52
IK
50972011-06-08 Ivan Kanis <gnu@kanis.fr>
5098
5099 * calendar/appt.el (appt-check): Move some initializations into the let.
5100
f3d1777e
MR
51012011-06-08 Martin Rudalics <rudalics@gmx.at>
5102
5103 * window.el (window-height): Defalias to window-total-height.
5104 (window-width): Defalias to window-body-width.
5105
18af70d0
CY
51062011-06-07 Chong Yidong <cyd@stupidchicken.com>
5107
5108 * image-mode.el (image-toggle-animation): New command.
5109 (image-mode-map): Bind it to RET.
5110 (image-mode): Update message.
5111 (image-toggle-display-image): Avoid a spurious cache flush.
5112 (image-transform-rotation): Doc fix.
5113 (image-transform-properties): Return quickly in the normal case.
5114 (image-animate-loop): Rename from image-animate-max-time.
5115
2b75be67 5116 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5117 (create-animated-image): Remove unnecessary function.
5118 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5119 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5120 (image-animate-timer): Use car-safe.
5121 (image-animate-timeout): Rename argument.
5122
190b47e6
MR
51232011-06-07 Martin Rudalics <rudalics@gmx.at>
5124
5125 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5126 window.c. Rename first argument to ALL-FRAMES.
5127 Rephrase doc-strings.
5128 (get-buffer-window-list): Rewrite using window-list-1.
5129 Rephrase doc-string.
a1511caf
MR
5130 (window-safe-min-height, window-safe-min-width): New constants.
5131 (window-size-ignore, window-min-size, window-min-size-1)
5132 (window-sizable, window-sizable-p, window-size-fixed-1)
5133 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5134 (window-max-delta-1, window-max-delta, window-resizable)
5135 (window-resizable-p, window-total-height, window-total-width)
5136 (window-body-width): New functions.
5137 (window-full-height-p, window-full-width-p): Rewrite using
5138 window-total-size.
5139 (window-body-height): Rewrite using window-body-size.
190b47e6 5140
85cc1f11
MR
51412011-06-06 Martin Rudalics <rudalics@gmx.at>
5142
5143 * window.el (window-right, window-left, window-child)
5144 (window-child-count, window-last-child, window-any-p)
5145 (normalize-live-buffer, normalize-live-frame)
5146 (normalize-any-window, normalize-live-window)
5147 (window-iso-combination-p, window-iso-combined-p)
5148 (window-iso-combinations)
5149 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5150 (windows-with-parameter, window-with-parameter)
5151 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5152 (window-atom-check, window-side-check, window-check):
5153 New functions.
85cc1f11
MR
5154 (ignore-window-parameters, window-sides, window-sides-vertical)
5155 (window-sides-slots): New variables.
5156 (window-size-fixed): Move down in code. Minor doc-string fix.
5157
e7156492
AS
51582011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5159
5160 * comint.el (comint-dynamic-complete-as-filename)
5161 (comint-dynamic-complete-filename): Correctly call
5162 completion-in-region.
5163
7e821d0d
DD
51642011-06-05 Deniz Dogan <deniz@dogan.se>
5165
5166 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5167 in last change.
5168
ac09b8a1
DD
51692011-06-05 Deniz Dogan <deniz@dogan.se>
5170
5171 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5172 (rcirc): Use it to prompt for encryption.
5173
34699b85
RW
51742011-06-05 Roland Winkler <winkler@gnu.org>
5175
5176 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5177 (bibtex-search-entries): New command bound to C-c C-a.
5178 (bibtex-display-entries): New function.
5179
004dedd3
RW
51802011-06-05 Roland Winkler <winkler@gnu.org>
5181
5182 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5183 (bibtex-insert-kill): After yanking insert newline if necessary.
5184 (bibtex-initialize): Call bibtex-string-files-init only once.
5185 (bibtex-mode): Do not call easy-menu-add.
5186 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5187 (bibtex-yank): Set arg properly if nil.
5188
022fe7ce
RW
51892011-06-05 Roland Winkler <winkler@gnu.org>
5190
2b75be67
SM
5191 * textmodes/bibtex.el (bibtex-search-entry-globally):
5192 New variable.
022fe7ce
RW
5193 (bibtex-search-entry): Use it.
5194
b7c3692a
RW
51952011-06-05 Roland Winkler <winkler@gnu.org>
5196
5197 * textmodes/bibtex.el (bibtex-entry-format): New option
5198 sort-fields.
5199 (bibtex-format-entry, bibtex-reformat): Honor this option.
5200 (bibtex-parse-entry): Return fields in proper order.
5201
8eda563d
JB
52022011-06-05 Juanma Barranquero <lekktu@gmail.com>
5203
5204 * doc-view.el (doc-view-remove-if): Move computation of result out
5205 of `dolist' to silence misleading lexical-binding warning.
5206
7dbe3dbc
CY
52072011-06-04 Chong Yidong <cyd@stupidchicken.com>
5208
5209 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5210 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5211
0c33dd17
MA
52122011-06-04 Michael Albinus <michael.albinus@gmx.de>
5213
5214 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5215 "SunOS 5.10".
5216
f8f91c2b
MA
52172011-06-04 Michael Albinus <michael.albinus@gmx.de>
5218
5219 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5220 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5221 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5222 (tramp-parse-putty):
5223 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5224 (tramp-completion-function-alist-ssh)
5225 (tramp-completion-function-alist-telnet)
5226 (tramp-completion-function-alist-su)
5227 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5228 cookie.
5229
5230 * net/tramp-ftp.el:
5231 * net/tramp-sh.el:
5232 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5233 load "tramp.el" `tramp-set-completion-function'.
5234
e17d9003
SM
52352011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * shell.el: Require and use pcomplete.
5238 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5239 (shell-completion-vars): Set pcomplete-default-completion-function.
5240
6c4cab03
DD
52412011-06-04 Deniz Dogan <deniz@dogan.se>
5242
5243 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5244 `memq' (Bug#8799).
5245
ea9fafe0
SM
52462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5249
b3e945d3
JB
52502011-06-02 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5253 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5254 * vc/log-view.el (log-view-beginning-of-defun):
5255 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5256 (smerge-refine-forward, smerge-refine-chopup-region):
5257 Silence warning for unused `dotimes' counter variables.
5258
7d520089
SM
52592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * net/tramp.el (tramp-with-progress-reporter): Rename from
5262 with-progress-reporter. Use `declare'.
5263 * net/tramp-smb.el:
5264 * net/tramp-sh.el:
5265 * net/tramp-gvfs.el: Update all uses.
5266
a1c2400f
JB
52672011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5268
5269 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5270 buffer isn't killed before making it current.
5271
2403c841
SM
52722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 Silence various byte-compiler warnings.
5275 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5276 `access-type' and new obsolescence format.
5277 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5278 new format.
5279 (byte-compile-check-variable): New `access-type' argument.
5280 Only warn if the access-type is obsolete.
5281 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5282 (byte-compile-variable-set): Adjust callers.
5283 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5284 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5285 setting it as obsolete.
5286 * simple.el (minibuffer-completing-symbol):
5287 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5288 access as obsolete.
5289 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5290 obsolete yet.
5291 * international/quail.el (quail-mouse-choose-completion): Remove unused
5292 code referring to obsolete var.
5293 (quail-choose-completion-string): Remove.
5294 * server.el (server-clients-with, server-kill-buffer-query-function)
5295 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5296 * proced.el (proced-send-signal):
5297 * emacs-lisp/lisp.el (lisp-complete-symbol):
5298 Replace completion-annotate-function with completion-extra-properties.
5299
2462470b
SM
53002011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5301
fb5b2591
SM
5302 * simple.el (goto-line): Use read-number.
5303 (overriding-map-is-bound): Remove.
5304 (saved-overriding-map): Change default.
5305 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5306 Take the map as argument.
5307 (universal-argument, negative-argument, digit-argument): Use it.
5308 (restore-overriding-map): Adjust.
5309 (do-auto-fill): Use fill-forward-paragraph.
5310 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5311
fd6fa53f
SM
5312 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5313 (minibuffer-inactive-mode): New major mode.
5314 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5315 the *Messages* buffer" hack.
5316 (mouse-popup-menubar): Don't burp if the event is a normal key.
5317
2462470b
SM
5318 Miscellaneous tweaks.
5319 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5320 lexical scoping as in subr.el's dolist and dotimes.
5321 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5322 Silence compiler warning.
5323 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5324 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5325 * international/ccl.el (ccl-compile): Trivial simplification.
5326 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5327 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5328 `printflag' argument.
5329 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5330 Purecopy the whole obsolescence data.
5331
108bf785
LL
53322011-06-01 Leo Liu <sdl.web@gmail.com>
5333
5334 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5335 improve doc-string as suggested by Marco Pessotto
5336 <melmothx@gmail.com>.
5337 (rcirc-print): Fix last change.
5338
30a23501
SM
53392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * minibuffer.el (complete-with-action): Return nil for the metadata and
5342 boundaries of non-functional tables.
5343 (completion-table-dynamic): Return nil for the metadata.
5344 (completion-table-with-terminator): Add default case, using
5345 complete-with-action.
5346 (completion--metadata): New function.
5347 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5348 to try and avoid pathological performance problems.
5349 (completion--embedded-envvar-table): Return `category' metadata.
5350
bcd54f83
LMI
53512011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5352
5353 * subr.el (process-alive-p): New tiny convenience function.
5354
e227544d
SM
53552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5358 content but also its previous major mode.
5359
e8296fdc
HE
53602011-05-31 Helmut Eller <eller.helmut@gmail.com>
5361
4d61f28d 5362 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5363 *Backtrace* buffer when we exit with C-M-c.
5364
620c53a6
SM
53652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * minibuffer.el: Add metadata method to completion tables.
5368 (completion-category-overrides): New defcustom.
5369 (completion-metadata, completion--field-metadata)
5370 (completion-metadata-get, completion--styles)
5371 (completion--cycle-threshold): New functions.
5372 (completion-try-completion, completion-all-completions):
5373 Add `metadata' argument to choose completion-styles.
5374 (completion--do-completion): Use metadata to choose cycling.
5375 (completion-all-sorted-completions): Use metadata for sorting.
5376 Remove :completion-cycle-penalty which is not needed any more.
5377 (completion--try-word-completion): Add `metadata' argument.
5378 (minibuffer-completion-help): Check metadata for annotation function
5379 and sorting.
5380 (completion-file-name-table): Return `category' metadata.
5381 (minibuffer-completing-file-name): Make obsolete.
5382 * simple.el (minibuffer-completing-symbol): Make obsolete.
5383 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5384 completion-try-completion.
5385
1257e755
SM
53862011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5389
3767e706
LL
53902011-05-30 Leo Liu <sdl.web@gmail.com>
5391
5392 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5393 (rcirc-print): Decode all incoming messages (bug#8744).
5394 (rcirc-decode-coding-system): Allow value nil for automatic coding
5395 system detection.
3767e706 5396
d1a5d56a
GM
53972011-06-01 Glenn Morris <rgm@gnu.org>
5398
5399 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5400
e8cbec34
CY
54012011-05-29 Chong Yidong <cyd@stupidchicken.com>
5402
5403 * image.el (image-animate-max-time): Allow nil and t values.
5404 Default to nil.
5405 (create-animated-image): Doc fix.
5406 (image-animate-start): Remove second arg; just use
5407 image-animate-max-time.
5408 (image-animate-timeout): Doc fix. Args changed.
5409
5410 * image-mode.el (image-toggle-display-image): Ensure that the
5411 image spec passed to the animate timer is the same object as in
5412 the the buffer's display property (Bug#6981).
5413 (image-transform-properties): Doc fix.
5414
5415 * image.el (image-animate-max-time): Default to nil.
5416
159daf87
MR
54172011-05-29 Martin Rudalics <rudalics@gmx.at>
5418
5419 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5420 entire buffer list (Bug#8184).
5421
d66c4c7c
CY
54222011-05-29 Chong Yidong <cyd@stupidchicken.com>
5423
5424 * image.el (imagemagick-types-inhibit)
5425 (imagemagick-register-types): Doc fix.
5426
80aec780
DD
54272011-05-29 Deniz Dogan <deniz@dogan.se>
5428
5429 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5430 default.
5431
1dd3c2d9
CY
54322011-05-29 Chong Yidong <cyd@stupidchicken.com>
5433
5434 * select.el: Don't perform clipboard-manager saving in hooks;
5435 leave the hooks empty.
5436
60e56523
LL
54372011-05-28 Leo Liu <sdl.web@gmail.com>
5438
5439 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5440 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5441 (occur-edit-mode): New major mode (Bug#8463).
5442 (occur-after-change-function): New function.
5443 (occur-engine): Give Occur tags a read-only property.
5444
2b1e1a22
KR
54452011-05-28 Kevin Ryde <user42@zip.com.au>
5446
5447 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5448
5d344e88
CY
54492011-05-28 Chong Yidong <cyd@stupidchicken.com>
5450
8e6ca83d
CY
5451 * bindings.el (help-echo): Make the initial non-indicator dash
5452 empty on graphical terminals (Bug#7295).
5453
5d344e88
CY
5454 * files.el (auto-mode-alist): Move config rule after the
5455 in-stripping one (Bug#8547).
5456
bfbbace7
CY
5457 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5458
fbeba6e2
CY
5459 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5460 setting (Bug#8740).
5461
60ed8c72
AA
54622011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5463
4ac619f0
AA
5464 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5465 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5466 (Bug#8539).
60ed8c72 5467
23db196e
CY
54682011-05-28 Chong Yidong <cyd@stupidchicken.com>
5469
5470 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5471
5012f24c
DK
54722011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5473
5474 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5475 (hs-hide-block-at-point, hs-find-block-beginning)
5476 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5477 (Bug#8279).
5478
6a639b16
GM
54792011-05-28 Glenn Morris <rgm@gnu.org>
5480
5481 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5482
d43eaf2c
CY
54832011-05-28 Chong Yidong <cyd@stupidchicken.com>
5484
5199bde1
CY
5485 * help-fns.el (describe-function-1): If the function is a derived
5486 major mode, print the parent mode.
5487
d43eaf2c
CY
5488 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5489 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5490
423428a8
SM
54912011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5492
0ff8e1ba
SM
5493 * minibuffer.el (completion--capf-wrapper): Check applicability before
5494 retuning non-nil for non-exclusive completion data.
5495 * progmodes/etags.el (tags-completion-at-point-function):
5496 * info-look.el (info-lookup-completions-at-point): Mark as
5497 non-exclusive.
5498 (info-complete): Adjust accordingly.
5499
423428a8
SM
5500 * info-look.el: Convert to lexical-binding and completion-at-point.
5501 (info-lookup-completions-at-point): New function.
5502 (info-complete): Use it and completion-in-region.
5503
b74aa22b
DA
55042011-05-28 Drew Adams <drew.adams@oracle.com>
5505
5506 * isearch.el: Let M-e start with point at the first mismatched char.
5507 (isearch-fail-pos): New function.
5508 (isearch-edit-string): Use it.
5509
66e2e71d
DK
55102011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5511
5512 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5513
eb95d01d
TC
55142009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5515
5516 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5517 traversal functions for avl-trees.
5518 (avl-tree--stack): New struct.
5519 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5520 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5521 (avl-tree--do-enter): Add optional `updatefun' arg.
5522 Change return value.
eb95d01d 5523 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5524 (avl-tree--do-delete): Add `test' and `nilflag' args.
5525 Change return value.
eb95d01d
TC
5526 (avl-tree-member): Add optional `nilflag'
5527 (avl-tree-member-p): New function.
5528 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5529 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5530 (avl-tree-stack-empty-p): New functions.
5531
3769ddcf
TC
55322009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5533
5534 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5535 avl-tree--del-balance1 and make it work both ways.
5536 (avl-tree--del-balance2): Remove.
5537 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5538 make it work both ways.
5539 (avl-tree--enter-balance2): Remove.
5540 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5541 New macros.
5542 (avl-tree--mapc, avl-tree-map): Add direction argument.
5543
eb95d01d 55442011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5545
5546 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5547
a9f737ee
CY
55482011-05-27 Chong Yidong <cyd@stupidchicken.com>
5549
5550 * select.el: Support clipboard managers with built-in function
5551 x-clipboard-manager-save, via delete-frame-functions and
5552 kill-emacs-hook.
5553 (xselect-convert-to-targets): Add MULTIPLE target to list.
5554 (xselect-convert-to-save-targets): New function.
5555
c92a1e54
KH
55562011-05-27 Kenichi Handa <handa@m17n.org>
5557
5558 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5559 let-binding rfc2047-encode-encoded-words to nil.
5560
e145f188
GM
55612011-05-27 Glenn Morris <rgm@gnu.org>
5562
5ec8a862
GM
5563 * mail/emacsbug.el: Don't require url-util.
5564
4b29d9fb
GM
5565 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5566
e145f188
GM
5567 * files.el (set-auto-mode):
5568 Also respect mode: entries at the end of the file. (Bug#8586)
5569
7d15102b
GM
55702011-05-26 Glenn Morris <rgm@gnu.org>
5571
98f593b8
GM
5572 * files.el (hack-local-variables-prop-line, hack-local-variables):
5573 Downcase mode names, as seems to be traditional.
27b48e63 5574 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5575
7d15102b
GM
5576 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5577 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5578
51d5b4ec
JD
55792011-05-25 Julien Danjou <julien@danjou.info>
5580
5581 * textmodes/rst.el (rst-define-level-faces): Do not define face
5582 symbol if it is already defined.
5583
91513f63
VB
55842011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5585
5586 * play/5x5.el (5x5-new-game, 5x5-randomize):
5587 Reset 5x5-solver-output to nil when a new grid is cast.
5588 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5589 these debugging traces, as defmacro breaks the compiled code.
5590
4d90d6d0
DK
55912011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5592
5593 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5594
e1b90ef6
LL
55952011-05-24 Leo Liu <sdl.web@gmail.com>
5596
5597 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5598 (vc-bzr-sha1): Adapt.
5599
d8e4b68b 5600 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5601
5602 * bindings.el: Provide sha1 feature.
5603
db0406bb 56042011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5605
5606 * mail/sendmail.el: Require `rfc2047'.
5607 (mail-insert-from-field): Do not perform RFC2047 encoding.
5608 (mail-encode-header): New function.
5609 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5610 buffer to the return value of select-message-coding-system.
5611 Call mail-encode-header.
b8d747b9
KH
5612
5613 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5614
db0406bb 56152011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5616
4d90d6d0
DK
5617 * mail/supercite.el (sc-default-cite-frame):
5618 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5619
eb8a5e9b
GM
56202011-05-24 Glenn Morris <rgm@gnu.org>
5621
f8630703
GM
5622 * progmodes/python.el (brm-menu): Declare.
5623
8831bbed
GM
5624 * emulation/viper.el (viper-set-hooks): Declare.
5625
eb8a5e9b
GM
5626 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5627 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5628 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5629 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5630 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5631 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5632
a2a25d24
SM
56332011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 Add an :exit-function for completion-at-point.
5636
5637 * minibuffer.el (completion--done): New fun.
5638 (completion--do-completion): Use it. New arg `expect-exact'.
5639 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5640 since completion--do-completion does it for us now.
5641 (minibuffer-force-complete): Use completion--done and
5642 completion--replace. Handle sole-completion case with more care.
5643 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5644 (completion-extra-properties): New var.
5645 (completion-annotate-function): Make obsolete.
5646 (minibuffer-completion-help): Adjust accordingly.
5647 Use completion-list-insert-choice-function.
5648 (completion-at-point, completion-help-at-point):
5649 Bind completion-extra-properties.
5650 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5651 * simple.el (completion-list-insert-choice-function): New var.
5652 (completion-setup-function): Preserve it.
5653 (choose-completion): Pay attention to it, shuffle the code a bit.
5654 (choose-completion-string): New arg `insert-function'.
5655
5656 * textmodes/bibtex.el: Convert to lexical binding.
5657 (bibtex-mode-map): Use completion-at-point.
5658 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5659 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5660 (bibtex-complete): Define as obsolete alias.
5661 (bibtex-complete-internal): Remove.
5662 (bibtex-format-entry): Remove unused sub-group in regexp.
5663 * shell.el (shell--command-completion-data)
5664 (shell-environment-variable-completion):
5665 * pcomplete.el (pcomplete-completions-at-point):
5666 * comint.el (comint--complete-file-name-data): Use :exit-function
5667 instead of completion-table-with-terminator so it also works for
5668 choose-completion.
5669
e44e373d
SM
56702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5671
4f91a816
SM
5672 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5673
782fc819
SM
5674 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5675 (bug#8710).
5676
e44e373d
SM
5677 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5678
381987c3
KM
56792011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5680
5681 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5682 customization variable and implement: If non-nil, auto-fill will
5683 be inhibited while on topic's header line.
5684
b776bc70
VB
56852011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5686
5687 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5688 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5689 always have a solution in grid size = 5 cases.
5690 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5691 (5x5-solver-output, 5x5-log-buffer): New vars.
5692 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5693 Make these variables buffer local to achieve 5x5 multi-session-ness.
5694 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5695 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5696 (5x5-solve-suggest): New funs.
5697 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5698 randomize a grid so that we ensure that there is always a solution.
5699 (5x5-make-random-grid): Allow other movement than flipping.
5700
7de88b6e
KR
57012011-05-23 Kevin Ryde <user42@zip.com.au>
5702
5703 * emacs-lisp/advice.el (ad-read-advised-function):
5704 Use `function-called-at-point' as the default default, if it has
5705 advice and passes PREDICATE.
5706
b1ef1257
SM
57072011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5708
bbca48fe
SM
5709 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5710 byte-compile-lambda if it's actually a lambda.
5711
b1ef1257
SM
5712 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5713 Fix function quoting. Use backquote better.
5714
92a9cc65
YS
57152011-05-22 Yuanle Song <sylecn@gmail.com>
5716
5717 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5718 matching (Bug#8516).
5719
f0fb8059
JA
57202011-01-22 Jari Aalto <jari.aalto@cante.net>
5721
5722 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5723 different face (Bug#8178).
5724
d5b44c93
CY
57252011-05-22 Chong Yidong <cyd@stupidchicken.com>
5726
5727 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5728 defface (Bug#8144).
5729
79106a44
SM
57302011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5731
9c848d8a
SM
5732 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5733 funcall as well (bug#8712). Warn when performing those conversions.
5734 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5735
79106a44
SM
5736 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5737
88dfa756
GM
57382011-05-22 Glenn Morris <rgm@gnu.org>
5739
5740 * files.el (hack-local-variables-prop-line): Small simplifications.
5741 (hack-local-variables, hack-local-variables-prop-line):
5742 If MODE-ONLY, return the mode, rather than just `t'.
5743
b7cf2c79
SM
57442011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5747
3f1a8558
GM
57482011-05-21 Glenn Morris <rgm@gnu.org>
5749
7e4ccca3
GM
5750 * files.el (hack-local-variables-prop-line, hack-local-variables):
5751 If only interested in the mode, don't bother doing the other stuff.
5752
637d46ca
GM
5753 * image-mode.el (image-after-revert-hook):
5754 Redraw all frames on which the image is visible. (Bug#8567)
5755
973d955b
GM
5756 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5757
3f1a8558
GM
5758 * wid-edit.el (widget-checklist-match-inline):
5759 Fix 2011-04-19 change. (Bug#8649)
5760
96479927
SM
57612011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5762
1dcf791f
SM
5763 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5764 Also allow singlespace after single-letter capitals followed by a dot.
5765
96479927
SM
5766 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5767 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5768
35fd0881
N
57692011-05-20 Nix <nix@esperi.org.uk>
5770
5771 * files.el (basic-save-buffer-2):
5772 Fix handling of break-hardlink-on-save with non-existent files.
5773
82745640
DD
57742011-05-19 Deniz Dogan <deniz@dogan.se>
5775
5776 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5777 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5778
4a720484
GM
57792011-05-19 Glenn Morris <rgm@gnu.org>
5780
d1f21341
GM
5781 * progmodes/f90.el (f90-type-def-re):
5782 Handle "type, bind(c)". (Bug#8691)
5783
4a720484
GM
5784 * emacs-lisp/autoload.el (batch-update-autoloads):
5785 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5786
2fb0a219
MA
57872011-05-18 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5790 property for the correct connection in case of multihops.
5791
e565dd37
GM
57922011-05-18 Glenn Morris <rgm@gnu.org>
5793
c2571358 5794 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5795 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5796
e565dd37
GM
5797 Rationalize calendar handling of day and month abbrev-arrays.
5798 * calendar/calendar.el (calendar-customized-p): New function.
5799 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5800 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5801 Add :set function.
5802 (calendar-abbrev-length, calendar-day-abbrev-array)
5803 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5804 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5805 Elements may no longer be nil.
5806 (calendar-day-name, calendar-month-name):
5807 Update for changed nature of abbrev arrays.
5808 * calendar/diary-lib.el (diary-name-pattern):
5809 Update for changed nature of abbrev arrays.
5810 (diary-mark-entries-1): Update calendar-make-alist calls.
5811 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5812 * calendar/cal-html.el (cal-html-day-abbrev-array):
5813 Simply inherit from calendar-day-abbrev-array.
5814
1d99a745
SM
58152011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * progmodes/grep.el (grep-mode): Disable default
5818 compilation-directory-matcher setting (bug#8684).
5819
7c1d9aa0
MA
58202011-05-17 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5823 instead of "head" and "tail". There were problems with SunOS 5.9,
5824 and it performs better.
5825
3952e9d8
GM
58262011-05-17 Glenn Morris <rgm@gnu.org>
5827
2dd12e7f
GM
5828 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5829
e4157b9c
GM
5830 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5831 Replace obsolete function.
5832
8e249bbd
GM
5833 * shell.el (pcomplete-parse-arguments-function): Declare.
5834
3952e9d8
GM
5835 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5836 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5837 (appt-check): Doc fixes.
5838 (appt-disp-window-function, appt-delete-window-function):
5839 Remove needless special case in custom :type.
5840 (appt-display-count): Default to 0, not nil.
5841 (appt-check): Reset appt-display-count to 0, not nil.
5842
c71a0d48 58432011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5844
c71a0d48
GM
5845 * progmodes/python.el (python-font-lock-keywords):
5846 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5847
31d55be9
SM
58482011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5851
3bfacb2f
KR
58522011-05-16 Kevin Ryde <user42@zip.com.au>
5853
5854 * info-look.el (makefile-automake-mode): New setups, looking in
5855 automake manual, then makefile-mode.
5856 (makefile-mode): Remove automake manual, have it just in
5857 makefile-automake-mode since there's various things different or
5858 not relevant to plain make.
5859 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5860 believe a hypothetical automake-mode would go to makefile-mode,
5861 not the other way around.
5862
c8e83751
CY
58632011-05-15 Chong Yidong <cyd@stupidchicken.com>
5864
5e9e35cd
CY
5865 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5866 hunk-end tags (Bug#8672).
5867
c8e83751
CY
5868 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5869 vc-annotate-show-diff-revision-at-line (Bug#8671).
5870
50b23e5a
GM
58712011-05-14 Glenn Morris <rgm@gnu.org>
5872
7210a739
GM
5873 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5874 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5875 (change-log-font-lock-keywords): Also handle multiple author lines
5876 with leading tabs. (Bug#8644)
7210a739 5877
4691905a
GM
5878 * calendar/appt.el (appt-check): Rename some local variables.
5879 Some simplification/reordering.
5880
50b23e5a
GM
5881 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5882 (feedmail-sendmail-f-doesnt-sell-me-out)
5883 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5884 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5885 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5886 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5887 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5888 (feedmail-binmail-gnulinuxish-template):
5889 Rename from feedmail-binmail-linuxish-template.
5890 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5891 Use insert-buffer-substring.
5892
215cda7c
BC
58932011-05-14 Bill Carpenter <bill@carpenter.org>
5894
5895 * mail/feedmail.el (feedmail-patch-level): Increase.
5896 (feedmail-debug): New custom group.
5897 (feedmail-confirm-outgoing-timeout)
5898 (feedmail-sendmail-f-doesnt-sell-me-out)
5899 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5900 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5901 (feedmail-sender-line, feedmail-from-line)
5902 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5903 (feedmail-spray-this-address)
215cda7c
BC
5904 (feedmail-spray-address-fiddle-plex-list)
5905 (feedmail-queue-use-send-time-for-date)
5906 (feedmail-queue-use-send-time-for-message-id)
5907 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5908 (feedmail-buffer-eating-function):
5909 Doc fixes.
5910 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5911 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5912 (feedmail-message-action-scroll-down): New functions.
5913 (feedmail-queue-directory, feedmail-queue-draft-directory):
5914 Use expand-file-name.
5915 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5916 Remove C-v help entry.
5917 (feedmail-queue-buffer-file-name): New variable.
5918 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5919 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5920 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5921 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5922 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5923 (feedmail-message-action-toggle-spray)
5924 (feedmail-run-the-queue-no-prompts)
5925 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5926 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5927 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5928 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5929 (feedmail-envelope-deducer, feedmail-fiddle-from)
5930 (feedmail-fiddle-sender, feedmail-default-date-generator)
5931 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5932 (feedmail-fiddle-spray-address)
5933 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5934 (feedmail-fiddle-list-of-fiddle-plexes)
5935 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5936 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5937 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5938 Change default. Doc fix.
5939 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5940 (feedmail-binmail-linuxish-template): New constant.
5941 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5942 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5943 (feedmail-send-it): Add debug call.
5944 Use feedmail-queue-buffer-file-name, and
5945 feedmail-send-it-immediately-wrapper.
5946 (feedmail-message-action-send): Add debug call.
5947 Use feedmail-send-it-immediately-wrapper.
5948 (feedmail-queue-express-to-queue): Add debug call.
5949 Run feedmail-queue-express-hook.
5950 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5951 (feedmail-message-action-help-blat):
5952 Rename from feedmail-queue-send-edit-prompt-help-first.
5953 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5954 Check line-endings. Handle errors better.
5955 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5956 Doc fix. Add debug call.
5957 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5958 Use feedmail-queue-send-edit-prompt-inner.
5959 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5960 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5961 from feedmail-queue-send-edit-prompt.
5962 (feedmail-queue-send-edit-prompt-help)
5963 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5964 (feedmail-tidy-up-slug): Add debug call.
5965 Respect feedmail-queue-slug-suspect-regexp.
5966 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5967 (feedmail-dump-message-to-queue): Add debug call.
5968 Expand queue-directory.
5969 (feedmail-dump-message-to-queue): Change message slightly.
5970 Use feedmail-say-chatter.
5971 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5972 (feedmail-send-it-immediately-wrapper): New function.
5973 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5974 Insert empty string rather than newline. Handle full-frame case.
5975 Use catch/throw. Use feedmail-say-chatter.
5976 (feedmail-fiddle-from): Try mail-host-address.
5977 (feedmail-default-message-id-generator): Doc fix.
5978 Bind system-time-locale. Handle missing end.
5979 (feedmail-fiddle-x-mailer): Add debug call.
5980 Handle feedmail-x-mailer-line being nil.
5981 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5982 Add debug call. Use buffer-substring-no-properties.
5983 (feedmail-say-debug, feedmail-say-chatter): New functions.
5984 (feedmail-find-eoh): Give an explicit error.
5985
42c7e61e
UJ
59862011-05-13 Ulf Jasper <ulf.jasper@web.de>
5987
c2571358 5988 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5989 family from helvetica to sans.
c2571358 5990 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5991 etc/images/newsticker.
5992
c2571358 5993 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5994 family from helvetica to sans.
5995
5996 * net/newst-plainview.el (newsticker-new-item-face)
5997 (newsticker-old-item-face, newsticker-immortal-item-face)
5998 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5999 (newsticker-statistics-face): Change default family from
42c7e61e 6000 helvetica to sans.
c2571358 6001 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6002 etc/images/newsticker.
6003
6004 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6005 (newsticker--process-auto-mark-filter-match): : Tell user about
6006 auto-marking.
6007
8497a297
DV
60082011-05-13 Didier Verna <didier@xemacs.org>
6009
6010 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6011 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6012 TODO entries.
8497a297
DV
6013 (lisp-lambda-list-keyword-parameter-indentation)
6014 (lisp-lambda-list-keyword-parameter-alignment)
6015 (lisp-lambda-list-keyword-alignment): New customizable user options.
6016 (lisp-indent-defun-method): Improve docstring.
6017 (extended-loop-p): Fix comment.
6018 (lisp-indent-lambda-list-keywords-regexp): New variable.
6019 (lisp-indent-lambda-list): New function.
6020 (lisp-indent-259): Use it.
6021 (lisp-indent-defmethod): Support for more than one
6022 method qualifier and properly indent methods lambda-lists.
6023 (defgeneric): Provide a missing common-lisp-indent-function property.
6024
f278f87f
SM
60252011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6026
6027 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6028 bounds for the empty string (bug#8667).
6029
5233edd7
GM
60302011-05-13 Glenn Morris <rgm@gnu.org>
6031
5237a44f
GM
6032 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6033
8340026c 6034 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6035 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6036
5233edd7 6037 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6038 (appt-time-msg-list): Doc fix.
a5464014 6039 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6040
92d10796
AS
60412011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6042
6043 * progmodes/ld-script.el (ld-script-keywords)
6044 (ld-script-builtins): Update keywords list.
6045
914a0ae1
SM
60462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6047
c89be45f
SM
6048 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6049
914a0ae1
SM
6050 * shell.el (shell-completion-vars): New function.
6051 (shell-mode):
6052 * simple.el (read-shell-command): Use it.
6053 (blink-matching-open): No need for " [...]" in minibuffer-message.
6054
98dc3df3
GM
60552011-05-12 Glenn Morris <rgm@gnu.org>
6056
6057 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6058 (appt-check): Simplify.
6059
d2fc7e3d 60602011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6061
4d61f28d 6062 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6063 literal "/dev/null".
6064
d2fc7e3d 60652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6066
6067 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6068 Fix typo.
6069
d2fc7e3d 60702011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6071
3f254caa
SM
6072 * progmodes/which-func.el (which-function):
6073 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6074 which might not be defined (Bug#8260).
6075
d45885f7
GM
60762011-05-12 Glenn Morris <rgm@gnu.org>
6077
6078 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6079 Let byte-compile-initial-macro-environment always take precedence.
6080
488086f4
SM
60812011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * net/rcirc.el: Add support for SSL/TLS connections.
6084 (rcirc-server-alist): New field `encryption'.
6085 (rcirc): Check `encryption' settings.
6086 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6087 Merge make-local-variable into `set'.
6088 (rcirc--connection-open-p): New function.
6089 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6090 the process is not a network process (e.g. running gnutls-cli).
6091 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6092 Make rcirc-(en|de)code-coding-system local here.
6093 (rcirc-mode): Merge make-local-variable into `set'.
6094 (rcirc-parent-buffer): Make permanent buffer-local.
6095 (rcirc-multiline-minor-mode): Don't do it here.
6096 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6097 there's no server buffer.
6098
7d3b9d44
GM
60992011-05-11 Glenn Morris <rgm@gnu.org>
6100
f64049c6
GM
6101 * newcomment.el (comment-kill): Prefix "unused" local.
6102
93c9df73
GM
6103 * term/w32console.el (get-screen-color): Declare.
6104
7d3b9d44
GM
6105 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6106 Handle symbol elements of byte-compile-initial-macro-environment.
6107
9e2dd53f
LL
61082011-05-10 Leo Liu <sdl.web@gmail.com>
6109
488086f4
SM
6110 * bookmark.el (bookmark-bmenu-mode-map):
6111 Bind bookmark-bmenu-search to `/'.
8b340240 6112
9e2dd53f 6113 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6114 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6115 (Footnote-unicode): New function.
6116 (footnote-style-alist): Add unicode style to the list.
6117 (footnote-style): Doc fix.
9e2dd53f 6118
79b70037
GM
61192011-05-10 Jim Meyering <meyering@redhat.com>
6120
6121 Fix doubled-word typos.
6122 * international/quail.el (quail-insert-kbd-layout): and and -> and
6123 * kermit.el: and and -> and
6124 * net/ldap.el (ldap-search-internal): to to -> to
6125 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6126 * progmodes/js.el (js-mode): and and -> and
6127 * textmodes/artist.el (artist-move-to-xy): at at -> at
6128 (artist-draw-region-trim-line-endings): if if -> if
6129 And Safetyc -> Safety.
6130 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6131
b8f82dc1 61322011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6133 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6134
6135 * files.el (hack-one-local-variable-eval-safep):
6136 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6137
4f99f44b
GM
61382011-05-10 Glenn Morris <rgm@gnu.org>
6139
6140 * calendar/diary-lib.el (diary-list-entries-hook)
6141 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6142 (diary-nongregorian-marking-hook, diary-list-entries)
6143 (diary-include-other-diary-files, diary-mark-entries)
6144 (diary-mark-included-diary-files): Doc fixes.
6145
84f29e6b
JB
61462011-05-09 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * misc.el: Require tabulated-list.el during compilation.
6149
9bedd73a
CY
61502011-05-09 Chong Yidong <cyd@stupidchicken.com>
6151
488086f4
SM
6152 * progmodes/compile.el (compilation-start):
6153 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6154 (compilation-filter-hook): Doc fix.
6155
797c735c
DD
61562011-05-09 Deniz Dogan <deniz@dogan.se>
6157
6158 * wdired.el: Remove outdated installation comment. Fix usage
6159 comment.
6160
5f4b1dfe
JB
61612011-05-09 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * misc.el: Implement new command `list-dynamic-libraries'.
6164 (list-dynamic-libraries--loaded-only-p): New variable.
6165 (list-dynamic-libraries--refresh): New function.
6166 (list-dynamic-libraries): New command.
6167
4c44026c
CY
61682011-05-09 Chong Yidong <cyd@stupidchicken.com>
6169
488086f4
SM
6170 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6171 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6172 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6173 higher priority to avoid clobbering by gnu.
6174
027f966d
CY
61752011-05-08 Chong Yidong <cyd@stupidchicken.com>
6176
6177 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6178 if the face has existing theme settings (Bug#8454).
6179
085f5d7d
CY
61802011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6181
488086f4
SM
6182 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6183 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6184
2a86a00c
RS
6185 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6186 special file names `.' and `..' (Bug#8259).
6187
d9c54a06
CY
61882011-05-08 Chong Yidong <cyd@stupidchicken.com>
6189
488086f4
SM
6190 * progmodes/grep.el (grep-mode-font-lock-keywords):
6191 Remove buffer-changing entries.
d9c54a06
CY
6192 (grep-filter): New function.
6193 (grep-mode): Add it to compilation-filter-hook.
6194
6195 * progmodes/compile.el (compilation-filter-hook)
6196 (compilation-filter-start): New defvars.
6197 (compilation-filter): Call compilation-filter-hook prior to
6198 updating the process mark.
6199
c4662635
SM
62002011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6203
b0512a1d
EZ
62042011-05-07 Eli Zaretskii <eliz@gnu.org>
6205
605c9376
EZ
6206 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6207 mailclient-send-it even if window-system is nil. (Bug#8595)
6208
c4662635
SM
6209 * term/w32console.el (terminal-init-w32console):
6210 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6211 background-mode. (Bug#8597)
6212
d1dc2cc2
SM
62132011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6216 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6217 New functions.
6218 (defgeneric, eieio--defmethod): Use them.
6219 (eieio-defgeneric): Remove.
6220 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6221
915d1300
GM
62222011-05-07 Glenn Morris <rgm@gnu.org>
6223
a3961c3e
GM
6224 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6225 Use let rather than let*.
6226 (timeclock-find-discrep): Remove unused local.
6227
314347b9
GM
6228 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6229
915d1300
GM
6230 * calendar/appt.el (appt-time-msg-list): Doc fix.
6231
275b59b0
NF
62322011-05-06 Noah Friedman <friedman@splode.com>
6233
6234 * apropos.el (apropos-print-doc): Only use
6235 emacs-lisp-docstring-fill-column when it is bound to an integer,
6236 per that variable's documentation.
6237
6c19f744
SM
62382011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6241 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6242
60f884b2
GM
62432011-05-06 Glenn Morris <rgm@gnu.org>
6244
5006e634
GM
6245 * calendar/appt.el (appt-message-warning-time): Doc fix.
6246 (appt-warning-time-regexp): New option.
6247 (appt-make-list): Respect appt-message-warning-time.
6248
548d0a63
GM
6249 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6250 New options.
6251 (diary-add-to-list): Strip comments from the displayed string.
6252 (diary-mode): Set comment-start and comment-end.
6253
60f884b2
GM
6254 * vc/diff-mode.el (smerge-refine-subst): Declare.
6255 (diff-refine-hunk): Don't require smerge-mode when compiling.
6256
989681bb
JB
62572011-05-06 Juanma Barranquero <lekktu@gmail.com>
6258
6259 * simple.el (list-processes): Return nil as the docstring says.
6260
a6bc05e1
MA
62612011-05-05 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6264 to "".
6265 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6266 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6267 determining of binary transfer. (Bug#7383)
6268
23c22e9a
MA
62692011-05-05 Michael Albinus <michael.albinus@gmx.de>
6270
c4662635
SM
6271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6272 Fix port computation bug. (Bug#8618)
23c22e9a 6273
0bff894f
GM
62742011-05-05 Glenn Morris <rgm@gnu.org>
6275
b8296902
GM
6276 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6277
1f522ce8
GM
6278 * simple.el (shell-dynamic-complete-functions)
6279 (comint-dynamic-complete-functions): Declare.
6280
cf5bee67
GM
6281 * net/network-stream.el (gnutls-negotiate):
6282 * simple.el (tabulated-list-print): Fix declarations.
6283
6284 * progmodes/gud.el (syntax-symbol, syntax-point):
6285 Remove unnecessary and incorrect declarations.
6286
0bff894f
GM
6287 * emacs-lisp/check-declare.el (check-declare-scan):
6288 Handle byte-compile-initial-macro-environment in bytecomp.el
6289
9869b3ae
SM
62902011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 Fix earlier half-done eieio-defmethod change (bug#8338).
6293 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6294 Streamline and change calling convention.
6295 (defmethod): Adjust accordingly and simplify.
6296 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6297 new eieio--defmethod.
6298 (slot-boundp): Minor CSE simplification.
6299
9c1d5ac5
MZ
63002011-05-05 Milan Zamazal <pdm@zamazal.org>
6301
6302 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6303 (glasses-make-readable): Use glasses-separate-capital-groups.
6304
455c834e
JB
63052011-05-05 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6308 (warning-series): Doc fix.
6309 (display-warning): Don't try to create the buffer if we just found it.
6310
9ed7c8cb
CY
63112011-05-04 Chong Yidong <cyd@stupidchicken.com>
6312
6313 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6314 (autoload-find-generated-file): New function.
6315 (generate-file-autoloads): Bind generated-autoload-file to
6316 buffer-file-name.
9869b3ae
SM
6317 (update-file-autoloads, update-directory-autoloads):
6318 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6319 output file (Bug#7989).
6320 (batch-update-autoloads): Doc fix.
6321
0898ca10
JB
63222011-05-04 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6325
31dfb76c
GM
63262011-05-04 Glenn Morris <rgm@gnu.org>
6327
f330b642
GM
6328 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6329 function, so it follows changes in calendar-date-style.
6330 (diary-fancy-date-matcher): New function.
6331 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6332 (diary-fancy-font-lock-fontify-region-function):
6333 Use diary-fancy-date-pattern as a function.
6334
31dfb76c
GM
6335 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6336 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6337
48e79d6a
TZ
63382011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6339
6340 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6341 instead of positional arguments. Allow :keylist and :crlfiles
6342 arguments.
6343 (open-gnutls-stream): Call it.
6344
6345 * net/network-stream.el (network-stream-open-starttls): Adjust to
6346 call `gnutls-negotiate' with :process and :hostname arguments.
6347
dd5a5ee0
SM
63482011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6349
ef80fc09
SM
6350 * minibuffer.el (completion--message): New function.
6351 (completion--do-completion, minibuffer-complete)
6352 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6353 (completion--do-completion): Don't ignore completion-auto-help when in
6354 icomplete-mode.
6355
dd5a5ee0
SM
6356 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6357 internal encoding (e.g. tibetan zero is not whitespace).
6358 (global-whitespace-mode): Prefer save-current-buffer.
6359 (whitespace-trailing-regexp): Remove useless save-match-data.
6360 (whitespace-empty-at-bob-regexp): Minor simplification.
6361
b7d22a83
CY
63622011-05-03 Chong Yidong <cyd@stupidchicken.com>
6363
6364 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6365
5192af46
AM
63662011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6367
6368 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6369 Use `concat' to create string for insertion.
5192af46 6370
5767d190
SM
63712011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6372
6373 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6374 Avoid open-line which runs post-self-insert-hook.
6375 (bibtex-fill-entry): Remove unused `end' var.
6376
bf242939
AM
63772011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6378
5767d190
SM
6379 * textmodes/ispell.el (ispell-add-per-file-word-list):
6380 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6381
25666126
LL
63822011-05-03 Leo Liu <sdl.web@gmail.com>
6383
6384 * isearch.el (isearch-yank-pop): New command.
5767d190 6385 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6386 (isearch-forward): Mention it.
6387
52d3c2d0
SM
63882011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6389
1bcace58
SM
6390 * simple.el (minibuffer-complete-shell-command): Remove.
6391 (minibuffer-local-shell-command-map): Use completion-at-point.
6392 (read-shell-command): Setup completion vars here instead.
6393 (read-expression-map): Bind TAB to symbol completion.
6394
52d3c2d0
SM
6395 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6396 error directly rather via storing it into `results'.
6397
35813471
LL
63982011-05-02 Leo Liu <sdl.web@gmail.com>
6399
6400 * vc/diff.el: Fix description.
6401
e793a940
LMI
64022011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
6404 * server.el (server-eval-at): New function.
6405
8de66e05
LMI
64062011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407
6408 * net/network-stream.el (open-network-stream): Take a :nowait
6409 parameter and pass it on to `make-network-process'.
6410 (network-stream-open-plain): Ditto.
6411
dcb79f20
AS
64122011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6413
6414 * faces.el (face-spec-set-match-display): Don't match toolkit
6415 options on terminal frames.
6416
14a7fbd8
SM
64172011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6418
7eabc1be
SM
6419 * progmodes/pascal.el: Use lexical binding.
6420 (pascal-mode-map): Remove author preferences.
6421
14a7fbd8
SM
6422 * pcomplete.el (pcomplete-std-complete): Don't abuse
6423 completion-at-point.
6424
50f84510
JB
64252011-04-28 Juanma Barranquero <lekktu@gmail.com>
6426
6e087a44
JB
6427 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6428 removing code that has been dead since 1991 or so.
6429
50f84510
JB
6430 * startup.el (command-line): When warning about "_emacs", use a
6431 delayed warning to allow the user to filter it out.
6432
0ba690bd
DD
64332011-04-28 Deniz Dogan <deniz@dogan.se>
6434
6435 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6436 user has not joined.
6437
08abfaad
SM
64382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6441 aren't any completions at point.
6442
638f053a
JB
64432011-04-28 Juanma Barranquero <lekktu@gmail.com>
6444
6445 * subr.el (display-delayed-warnings): New function.
6446 (delayed-warnings-hook): New variable.
6447
8fff8daa
SM
64482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6449
08abfaad
SM
6450 * minibuffer.el (completion-at-point, completion-help-at-point):
6451 Don't presume that a given completion-at-point-function will always
6452 use the same calling convention.
6453
8fff8daa
SM
6454 * pcomplete.el (pcomplete-completions-at-point):
6455 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6456 pcomplete-seen is non-nil.
6457 (pcomplete-comint-setup): Also recognize the new comint/shell
6458 completion functions.
6459 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6460 pcomplete-seen is non-nil.
6461
841a1577 64622011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6463
841a1577 6464 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6465 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6466 the first character in the entry. This allows for code to add its
211ec907
UJ
6467 own uid to the entry.
6468 (icalendar--convert-float-to-ical): Add export of
6469 `diary-float'-entries save for those with the optional DAY
6470 argument.
6471
2a782793
DC
64722011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6473
6474 * subr.el (shell-quote-argument): Use alternate escaping strategy
6475 when we spot a variable reference in a string.
6476
0438ce91
DC
64772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6478
6479 * cus-start.el (all): Define customization for debug-on-event.
6480
841a1577 64812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6482
6483 * subr.el (shell-quote-argument): Escape correctly under Windows.
6484
d090ed6c
SM
64852011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6488
bfd31217
MA
64892011-04-25 Michael Albinus <michael.albinus@gmx.de>
6490
d090ed6c
SM
6491 * net/tramp.el (tramp-process-actions): Add POS argument.
6492 Delete region between POS and (pos).
bfd31217 6493
d090ed6c
SM
6494 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6495 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6496 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6497
6498 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6499 position in `tramp-process-actions' call.
6500
6501 * net/trampver.el: Update release number.
6502
e92f3bd3
SM
65032011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6504
850256b5
SM
6505 * custom.el (defcustom): Obey lexical-binding.
6506
e92f3bd3
SM
6507 Fix octave-inf completion problems reported by Alexander Klimov.
6508 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6509 Inherit from octave-mode-syntax-table.
6510 (inferior-octave-mode): Set info-lookup-mode.
6511 (inferior-octave-completion-at-point): New function.
6512 (inferior-octave-complete): Use it and completion-in-region.
6513 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6514 comint-filename-completion.
6515 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6516 symbol elements which shouldn't be word elements.
6517 (octave-font-lock-keywords, octave-beginning-of-defun)
6518 (octave-function-header-regexp): Adjust regexps accordingly.
6519 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6520
cd22b309
JB
65212011-04-25 Juanma Barranquero <lekktu@gmail.com>
6522
6523 * net/gnutls.el (gnutls-errorp): Declare before first use.
6524
8b492194
TZ
65252011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6526
6527 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6528 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6529 default trustfile exists before going to use it. Add missing
6530 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6531 Reported by Claudio Bley <claudio.bley@gmail.com>.
6532 (open-gnutls-stream): Add usage example.
6533
6534 * net/network-stream.el (network-stream-open-starttls): Give host
6535 parameter to `gnutls-negotiate'.
6536 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6537 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6538
841a1577 65392011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6540
cd22b309
JB
6541 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6542 Use correct match group (bug#8438).
05842630 6543
3ba7869c
CY
65442011-04-24 Chong Yidong <cyd@stupidchicken.com>
6545
512e3ae1
CY
6546 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6547 (package-menu--generate): New arg specifying packages to show.
6548 (package-menu-refresh, package-menu-execute, list-packages):
6549 Callers changed.
6550 (package-show-package-list): New function, replacing deleted
6551 package--list-packages (renamed because it is non-internal).
6552
6553 * finder.el (finder-list-matches): Use package-show-package-list
6554 instead of deleted package--list-packages.
6555
e92f3bd3
SM
6556 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6557 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6558 (vc-annotate-mode-map): Bind it to RET.
6559
7031be6d
UR
65602011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6561
6562 * progmodes/etags.el (next-file): Don't use set-buffer to change
6563 buffers (Bug#8478).
6564
4ef177aa
CY
65652011-04-24 Chong Yidong <cyd@stupidchicken.com>
6566
c8d173eb
CY
6567 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6568
4ef177aa
CY
6569 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6570 (apropos-accumulator): Doc fix.
6571 (apropos-function, apropos-macro, apropos-command)
6572 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6573 (apropos-plist): Add face property.
6574 (apropos-symbols-internal): Fix indentation.
6575 (apropos-print): Simplify help, and recognize apropos-multi-type.
6576 (apropos-print-doc): Use button-type-get to extract the button's
6577 face property. Fill docstring (Bug#8352).
6578
4ffd0d6b 65792011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6580
6581 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6582
c6c32125 6583 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6584 (mpuz-mode-map): Use mapc.
c6c32125
JB
6585 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6586 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6587 Fix typos in docstrings.
6588
58d468b4
JB
6589 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6590 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6591
6470c3c6
JB
6592 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6593
4ffd0d6b 65942011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6595
6596 * minibuffer.el (completion--do-completion): Avoid the "Next char
6597 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6598
3ad8bad0
CY
6599 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6600 mouse-2 into unread-command-events, it is interpreted correctly.
6601
71d73c9c 6602 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6603 (image-toggle-display): Doc fix.
71d73c9c 6604
841a1577 66052011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6606
4ffd0d6b
GM
6607 * textmodes/page.el (what-page): Use line-number-at-pos to
6608 calculate line number (Bug#6825).
6e1dbaa9 6609
c2fb1b60
JB
66102011-04-22 Juanma Barranquero <lekktu@gmail.com>
6611
6612 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6613 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6614 Pass argument NO-DEFAULT to `find-tag-interactive'.
6615
e02f48d7
JB
66162011-04-22 Juanma Barranquero <lekktu@gmail.com>
6617
6618 Lexical-binding cleanup.
6619
6620 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6621 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6622 * progmodes/ada-prj.el (ada-prj-initialize-values)
6623 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6624 (ada-prj-show-value):
6625 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6626 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6627 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6628 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6629 * progmodes/bug-reference.el (bug-reference-push-button):
6630 * progmodes/fortran.el (fortran-line-length):
6631 * progmodes/glasses.el (glasses-change):
6632 * progmodes/octave-mod.el (octave-fill-paragraph):
6633 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6634 (python-pdbtrack-grub-for-buffer, python-sentinel):
6635 * progmodes/sql.el (sql-save-connection):
6636 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6637 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6638 Mark unused parameters.
6639
6640 * progmodes/compile.el (compilation--flush-directory-cache)
6641 (compilation--flush-parse, compile-internal): Mark unused parameters.
6642 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6643 (compilation-next-error-function): Remove unused variable `timestamp'.
6644
6645 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6646 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6647
6648 * progmodes/dcl-mode.el (dcl-end-of-command):
6649 Remove unused variable `start'.
6650 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6651 (dcl-option-value-basic, dcl-option-value-offset)
6652 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6653 Mark unused parameters.
6654 (dcl-save-local-variable): Remove unused variable `val'.
6655 (mode): Declare.
6656
6657 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6658 Mark unused parameters.
6659 (delphi-ignore-changes): Move before first use.
6660 (delphi-charset-token-at): Remove unused variable `start'.
6661 (delphi-else-start): Remove unused variable `if-count'.
6662 (delphi-comment-block-start, delphi-comment-block-end):
6663 Remove unused variable `kind'.
6664 (delphi-indent-line): Remove unused variable `new-point'.
6665
6666 * progmodes/ebrowse.el (ebrowse-files-list)
6667 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6668 Mark unused parameters. Don't quote `lambda'.
6669 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6670 Don't quote `lambda'.
6671 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6672 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6673 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6674 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6675 Use `ignore-errors'.
6676 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6677 (ebrowse-view/find-file-and-search-pattern)
6678 (ebrowse-view/find-member-declaration/definition):
6679 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6680 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6681 Rename parameter PREFIX-ARG to PREFIX.
6682 (ebrowse-tags-read-name): Remove unused variables `start' and
6683 `member-info'.
6684 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6685 to `tags-file'.
6686
6687 * progmodes/etags.el (local-find-tag-hook): Declare.
6688 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6689 Mark unused parameters.
6690
6691 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6692 (executable-interpret): Mark unused parameter.
6693
6694 * progmodes/flymake.el (flymake-process-sentinel)
6695 (flymake-after-change-function)
6696 (flymake-create-temp-with-folder-structure)
6697 (flymake-get-include-dirs-dot): Mark unused parameters.
6698 (flymake-safe-delete-directory): Remove unused variable `err'.
6699
6700 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6701 (speedbar-timer-fn, speedbar-line-text)
6702 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6703 (speedbar-center-buffer-smartly): Declare functions.
6704 (gdb-find-watch-expression): Remove unused variable `array'.
6705 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6706 (gdb-starting): Mark unused parameters.
6707 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6708 (gdb-table-string): Remove unused variable `res'.
6709 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6710 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6711 (gdb-display-buffer): Remove unused variable `cur-size'.
6712
6713 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6714 allow lexical-binding compilation.
6715 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6716 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6717 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6718 Mark unused parameters.
6719 (gud-gdb-marker-filter): Remove unused variable `match'.
6720 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6721 lambda expressions and funcall them, instead of using `fset'.
6722
6723 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6724 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6725
6726 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6727 variable `header-beg'; use `let'.
6728
6729 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6730 `restart', `last-sexp' and `at-do'.
6731
6732 * progmodes/js.el (js--debug): Mark unused parameter.
6733 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6734 (js--splice-into-items): Remove unused variable `item'.
6735 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6736
6737 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6738 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6739 (makefile-complete): Remove unused variable `try'.
6740 (makefile-fill-paragraph, makefile-match-function-end):
6741 Mark unused parameters.
6742
6743 * progmodes/octave-inf.el (inferior-octave-complete):
6744 Remove unused variable `proc'.
6745 (inferior-octave-output-digest): Mark unused parameter.
6746
6747 * progmodes/perl-mode.el (perl-calculate-indent):
6748 Remove unused variable `err'.
6749
6750 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6751 (prolog-indent-line): Mark unused parameters.
6752 (prolog-indent-line): Remove unused variable `beg'.
6753
6754 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6755 (reporter-dont-compact-list): Declare.
6756
6757 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6758 Remove unused variable `char'.
6759 (sh-debug): Mark unused parameter.
6760 (sh-get-indent-info): Remove unused variable `start'.
6761 (sh-calculate-indent): Remove unused variable `var'.
6762
6763 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6764 (simula-electric-keyword): Remove unused variable `null'.
6765 (simula-search-backward, simula-search-forward): Remove unused
6766 variables `begin' and `end'.
6767
6768 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6769 Remove unused variable `pos'.
6770 (vera-electric-tab, vera-comment-uncomment-region):
6771 Mark unused parameters.
6772 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6773
7ede3b65
CY
67742011-04-22 Chong Yidong <cyd@stupidchicken.com>
6775
6776 * emacs-lisp/package.el (package--builtins, package-alist)
6777 (package-load-descriptor, package-built-in-p, package-activate)
6778 (define-package, package-installed-p)
6779 (package-compute-transaction, package-buffer-info)
6780 (package--push): Doc fix. Distinguish more clearly between
6781 version strings and version lists.
6782
121656e9
JB
67832011-04-21 Juanma Barranquero <lekktu@gmail.com>
6784
6785 Lexical-binding cleanup.
6786
6787 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6788 (5x5-make-mutate-best):
6789 * play/fortune.el (fortune-in-buffer):
6790 * play/gomoku.el (gomoku-init-display):
6791 * play/solitaire.el (solitaire, solitaire-do-check):
6792 * play/tetris.el (tetris-default-update-speed-function):
6793 Mark unused parameters.
6794
6795 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6796 (bubbles--shift): Remove unused variable `char-org'.
6797 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6798 (bubbles--show-images): Remove unused variable `char'.
6799
6800 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6801 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6802 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6803 (decipher-analyze-buffer): Use ?\s.
6804 (decipher-make-checkpoint): Remove unused variable `mapping'.
6805
6806 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6807
6808 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6809 Remove unused variable `result'; use `let'.
6810
6811 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6812 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6813 (gametree-children-shown-p, gametree-compute-reduced-score):
6814 Use `ignore-errors'.
6815
6816 * play/handwrite.el (ps-lpr-switches): Declare.
6817 (handwrite): Remove unused variables `pmin' and `lastp'.
6818
6819 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6820
6821 * play/landmark.el (landmark-init-display)
6822 (landmark-update-naught-weights): Mark unused parameters.
6823 (landmark-y): Remove unused variable `noise'. Simplify.
6824 (landmark-human-plays): Remove unused variable `score'.
6825
6826 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6827 (mpuz-try-proposal): Remove unused variable `game'.
6828
6829 * play/zone.el (life-patterns): Declare.
6830
80f499c7
JB
68312011-04-20 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * vc/vc.el (ediff-vc-internal): Declare function.
6834
024ff170
SM
68352011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6836
c0a193ea
SM
6837 * shell.el: Use lexical-binding and std completion UI.
6838 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6839 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6840 comint-preoutput-filter-functions rather than on
6841 comint-output-filter-functions.
6842 (shell-command-completion, shell--command-completion-data)
6843 (shell-filename-completion, shell-environment-variable-completion)
6844 (shell-c-a-p-replace-by-expanded-directory): New functions.
6845 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6846 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6847 (shell-dynamic-complete-environment-variable): Use them.
6848 (shell-dynamic-complete-as-environment-variable)
6849 (shell-dynamic-complete-as-command): Remove.
6850 (shell-match-partial-variable): Match past point.
6851 * comint.el: Clean up use of completion-at-point-functions.
6852 (comint-completion-at-point): New function.
6853 (comint-mode): Use it completion-at-point-functions.
6854 (comint-dynamic-complete): Make it obsolete.
6855 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6856 (comint-c-a-p-replace-by-expanded-history): New function.
6857 (comint-dynamic-complete-functions)
6858 (comint-replace-by-expanded-history): Use it.
6859 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6860 termination strings. Try harder to avoid second try-completion.
6861 (completion-in-region-mode-map): Disable bindings that don't work yet.
6862
2dbaa080
SM
6863 * comint.el: Use lexical-binding. Require CL.
6864 (comint-dynamic-complete-functions): Use comint-filename-completion.
6865 (comint-completion-addsuffix): Tweak custom type.
6866 (comint-filename-completion, comint--common-suffix)
6867 (comint--common-quoted-suffix, comint--table-subvert)
6868 (comint--complete-file-name-data): New functions.
6869 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6870 (comint-dynamic-list-filename-completions): Use them.
6871 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6872
2dbaa080
SM
6873 * minibuffer.el (completion-in-region-mode):
6874 Keep completion-in-region-mode--predicate global.
6875 (completion-in-region--postch):
6876 Assume completion-in-region-mode--predicate is not null.
6877
c79a6f38
SM
6878 * progmodes/flymake.el (flymake-start-syntax-check-process):
6879 Obey `dir'. Simplify.
6880
024ff170
SM
6881 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6882 we're in VC after all.
6883
1c6c854e
CS
68842011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6885
6886 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6887 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6888 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6889
bed7f140
SM
68902011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6891
332e62ab
SM
6892 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6893 add sanity check.
6894
bed7f140
SM
6895 * obsolete/erc-hecomplete.el: Make obsolete.
6896 * obsolete/: Standardize obsolescence info in the header.
6897
f195c582
GM
68982011-04-20 Glenn Morris <rgm@gnu.org>
6899
6900 * calendar/solar.el (solar-horizontal-coordinates):
6901 Use the longitude argument rather than `calendar-longitude'.
6902 (solar-date-next-longitude): Remove unused locals.
6903
cb79b8c0
VJL
69042011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6905
6906 * whitespace.el: New version 13.2.1.
6907
69082011-04-20 felix <EmacsWiki> (tiny change)
6909
d8e4b68b 6910 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6911 switching between major modes on a file.
6912
602ea69d
SM
69132011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6916 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6917 multi-line comments as well.
6918
06b60517
JB
69192011-04-19 Juanma Barranquero <lekktu@gmail.com>
6920
6921 Lexical-binding cleanup.
6922
6923 * arc-mode.el (archive-mode-revert):
6924 * cmuscheme.el (scheme-interactively-start-process):
6925 * custom.el (custom-initialize-delay):
6926 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6927 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6928 * emacs-lock.el (emacs-lock-clear-sentinel):
6929 * ezimage.el (defezimage):
6930 * follow.el (follow-avoid-tail-recenter):
6931 * fringe.el (set-fringe-mode-1):
6932 * generic-x.el (bat-generic-mode-compile):
6933 * help-mode.el (help-info-variable, help-do-xref)
6934 (help-mode-revert-buffer):
6935 * help.el (view-emacs-todo):
6936 * iswitchb.el (iswitchb-completion-help):
6937 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6938 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6939 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6940 * locate.el (locate-update):
6941 * longlines.el (longlines-encode-region)
6942 (longlines-after-change-function):
6943 * outline.el (outline-isearch-open-invisible):
6944 * ps-def.el (declare-function, charset-dimension, char-width)
6945 (encode-char):
6946 * ps-mule.el (ps-mule-plot-string):
6947 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6948 (recentf-edit-list-select, recentf-edit-list-validate)
6949 (recentf-open-files-action):
6950 * rect.el (delete-whitespace-rectangle-line)
6951 (rectangle-number-line-callback):
6952 * register.el (window-configuration-to-register)
6953 (frame-configuration-to-register):
6954 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6955 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6956 (xselect-convert-to-targets, xselect-convert-to-delete)
6957 (xselect-convert-to-filename, xselect-convert-to-charpos)
6958 (xselect-convert-to-lineno, xselect-convert-to-colno)
6959 (xselect-convert-to-os, xselect-convert-to-host)
6960 (xselect-convert-to-user, xselect-convert-to-class)
6961 (xselect-convert-to-name, xselect-convert-to-integer)
6962 (xselect-convert-to-atom, xselect-convert-to-identity):
6963 * subr.el (declare, ignore, process-kill-without-query)
6964 (text-clone-maintain):
6965 * terminal.el (te-get-char, te-tic-sentinel):
6966 * tool-bar.el (tool-bar-make-keymap):
6967 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6968 * type-break.el (type-break-mode, type-break-noninteractive-query):
6969 * view.el (View-back-to-mark):
6970 * wid-browse.el (widget-browse-action, widget-browse-widget)
6971 (widget-browse-widgets, widget-browse-sexp):
6972 * widget.el (define-widget-keywords):
6973 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6974 Mark unused parameters.
6975
6976 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6977 (align-areas): Remove unused variable `look'.
6978 (align-region): Remove unused variables `real-end' and `pos-list'.
6979
6980 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6981
6982 * bindings.el (mode-line-modified, mode-line-remote):
6983 Mark unused parameters.
6984 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6985
6986 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6987 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6988
6989 * comint.el (comint-history-isearch-pop-state)
6990 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6991 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6992 (comint-substitute-in-file-name): Doc fix.
6993
6994 * completion.el (cmpl-statistics-block): Mark unused parameter.
6995 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6996 (save-completions-to-file, load-completions-from-file):
6997 Remove unused local variable `e'.
6998
6999 * composite.el (compose-chars): Remove unused variable `len'.
7000 (lgstring-insert-glyph): Remove unused variable `g'.
7001 (compose-glyph-string): Remove unused variables `ascent',
7002 `descent', `lbearing' and `rbearing'.
7003 (compose-glyph-string-relative): Remove unused variables
7004 `lbearing', `rbearing' and `wadjust'.
7005 (compose-gstring-for-graphic): Remove unused variables `header',
7006 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7007 (compose-gstring-for-terminal): Remove unused variables `header'
7008 and `nchars'. Use `let', not `let*'.
7009
7010 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7011 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7012 (Custom-buffer-done, custom-buffer-create-internal)
7013 (custom-browse-visibility-action, custom-browse-group-tag-action)
7014 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7015 (widget-magic-mouse-down-action, custom-toggle-parent)
7016 (custom-add-parent-links, custom-toggle-hide-variable)
7017 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7018 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7019 (custom-face-menu-create, custom-variable-menu-create, get)
7020 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7021 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7022 (customize-apropos): Remove unused variable `tests'.
7023 (custom-group-value-create): Remove unused variable `hidden-p'.
7024 (sort-fold-case): Declare.
7025
7026 * cus-theme.el (custom-reset-standard-faces-list)
7027 (custom-reset-standard-variables-list): Declare.
7028 (customize-create-theme, custom-theme-revert, custom-theme-write)
7029 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7030 Mark unused parameters.
7031
7032 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7033
7034 * delim-col.el (delimit-columns-max): Move defvar before first use.
7035
7036 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7037 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7038
7039 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7040 (auto-insert): Declare.
7041 (desktop-restore-file-buffer): Rename desktop-* parameters;
7042 mark unused ones.
7043 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7044 (desktop-buffer): Rename desktop-* parameters.
7045
7046 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7047 (dframe-reposition-frame-xemacs, dframe-help-echo)
7048 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7049 Mark unused parameters.
7050
7051 * dired-aux.el (backup-extract-version-start, overwrite-query)
7052 (overwrite-backup-query, rename-regexp-query)
7053 (rename-non-directory-query): Declare.
7054 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7055 (dired-add-entry): Remove unused variable `orig-file-name'.
7056 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7057 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7058 `dired-copy-preserve-time' directly.
7059 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7060 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7061
7062 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7063 (dired-virtual-revert, dired-make-relative-symlink):
7064 Mark unused parameters.
7065 (manual-program): Declare.
7066 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7067 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7068 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7069
7070 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7071
7072 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7073
7074 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7075 Declare.
7076
7077 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7078
7079 * electric.el (Electric-command-loop): Rename parameter
7080 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7081
7082 * expand.el (expand-in-literal): Remove unused variable `here'.
7083
7084 * facemenu.el (facemenu-add-new-color):
7085 Remove unused variable `docstring'.
7086
7087 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7088 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7089 (face-attr-construct): Mark unused parameter. Doc fix.
7090 (read-color): Remove unused variable `hex-string'.
7091
7092 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7093 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7094 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7095 (display-buffer-other-frame): Remove unused variable `old-window'.
7096 (kill-buffer-hook): Declare.
7097 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7098 Mark unused parameters.
7099 (after-find-file): Pass 1 to `auto-save-mode', not t.
7100
7101 * files-x.el (auto-insert): Declare.
7102 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7103
7104 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7105 variable `buf'. Mark unused parameter.
06b60517
JB
7106 (find-lisp-insert-directory): Mark unused parameter.
7107
7108 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7109 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7110 (format-common-tail): Remove, unused.
7111 (format-deannotate-region): Remove unused variable `loc'.
7112 (format-annotate-region): Remove unused variable `p'.
7113 (format-annotate-single-property-change): Remove unused variables
7114 `default' and `tail'.
7115
7116 * forms.el (read-file-filter): Declare.
7117 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7118
7119 * frame.el (frame-creation-function-alist): Mark unused parameter.
7120 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7121
7122 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7123 Remove unused parameters.
7124 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7125 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7126
7127 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7128 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7129 (hfy-prepare-tag-map): Mark unused parameters.
7130 (htmlfontify-buffer): Use `called-interactively-p'.
7131
7132 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7133 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7134 (ibuffer-do-occur): Mark unused parameters.
7135 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7136 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7137
7138 * ibuffer.el: Don't quote `lambda'.
7139 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7140 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7141 Mark unused parameters.
7142
7143 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7144 (ido-completing-read): Mark unused parameters.
7145 (ido-copy-current-word): Mark unused parameters;
7146 remove unused variable `name'.
7147 (ido-sort-merged-list): Remove unused parameter `dirs'.
7148
7149 * ielm.el (ielm-input-sender): Mark unused parameter.
7150 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7151 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7152 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7153 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7154 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7155
7156 * image-dired.el (image-dired-display-thumbs): Remove unused
7157 variables `curr-file' and `count'.
7158 (image-dired-remove-tag): Remove unused variable `start'.
7159 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7160 variable `curr-file'
7161 (image-dired-rotate-original): Remove unused variable `temp-file'.
7162 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7163 Remove unused variable `file'.
7164 (image-dired-gallery-generate): Remove unused variable `curr'.
7165 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7166
7167 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7168
7169 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7170
7171 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7172
7173 * isearch.el (minibuffer-history-symbol): Declare.
7174 (isearch-edit-string): Remove unused variable `err'.
7175 (isearch-message-prefix, isearch-message-suffix):
7176 Mark unused parameters.
7177
7178 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7179
7180 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7181
7182 * makesum.el (double-column): Remove unused variable `cnt'.
7183
7184 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7185 (ido-ignore-item-temp-list): Declare.
7186
7187 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7188 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7189 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7190 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7191 `mouse-col-delta'.
7192
7193 * mouse-sel.el (mouse-extend-internal):
7194 Remove unused variable `orig-window-frame'.
7195
7196 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7197 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7198 Move declarations before first use.
7199 (pcomplete-opt): Mark unused parameters; doc fix.
7200
7201 * proced.el (proced-revert): Mark unused parameter.
7202 (proced-send-signal): Remove unused variable `err'.
7203
7204 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7205 Rename parameter PREFIX-ARG to ARG.
7206 (ps-basic-plot-string, ps-basic-plot-whitespace):
7207 Mark unused parameters.
7208
7209 * replace.el (replace-count): Define.
7210 (occur-revert-function): Mark unused parameters.
7211 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7212 (isearch-case-fold-search, isearch-string): Declare.
7213 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7214 bind `case-fold-search'. Remove unused variables `beg' and `end',
7215 and simplify.
7216 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7217 COUNT and bind `replace-count'.
7218 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7219 to COUNT.
7220
7221 * savehist.el (print-readably, print-string-length): Declare.
7222
7223 * shadowfile.el (shadow-expand-cluster-in-file-name):
7224 Remove unused variable `cluster'.
7225 (shadow-copy-file): Remove unused variable `i'.
7226 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7227 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7228 (shadow-define-literal-group, shadow-define-regexp-group)
7229 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7230
7231 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7232 (shell): Use `called-interactively-p'.
7233 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7234
7235 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7236 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7237 (delete-backward-char): Remove unused variable `ocol'.
7238 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7239 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7240 (event-apply-hyper-modifier, event-apply-shift-modifier)
7241 (event-apply-control-modifier, event-apply-meta-modifier):
7242 Mark unused parameters.
7243 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7244 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7245
7246 * speedbar.el (speedbar-ignored-directory-expressions)
7247 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7248 (speedbar-find-file, speedbar-dir-follow)
7249 (speedbar-directory-buttons-follow, speedbar-tag-find)
7250 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7251 (speedbar-buffers-line-directory, speedbar-buffer-click):
7252 Mark unused parameters.
7253 (speedbar-tag-file): Remove unused variable `mode'.
7254 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7255
7256 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7257
7258 * talk.el (talk): Remove unused variable `display'.
7259
7260 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7261 (tar-write-region-annotate): Mark unused parameter.
7262
7263 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7264 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7265 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7266 warning by another.
7267
7268 * time-stamp.el (time-stamp-string-preprocess):
7269 Remove unused variable `require-padding'.
7270
7271 * tree-widget.el (widget-glyph-enable): Declare.
7272 (tree-widget-action): Mark unused parameter.
7273
7274 * w32-fns.el (x-get-selection): Mark unused parameter.
7275 (autoload-make-program, generated-autoload-file): Declare.
7276
7277 * wdired.el (wdired-revert): Mark unused parameters.
7278 (wdired-xcase-word): Remove unused variable `err'.
7279
7280 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7281 (whitespace-help-scroll): Remove unused variable `data-help'.
7282
7283 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7284 (widget-image-insert, widget-after-change, default)
7285 (widget-default-format-handler, widget-default-notify)
7286 (widget-default-prompt-value, widget-info-link-action)
7287 (widget-url-link-action, widget-function-link-action)
7288 (widget-variable-link-action, widget-file-link-action)
7289 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7290 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7291 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7292 (widget-insert-button-action, widget-delete-button-action, visibility)
7293 (widget-documentation-link-action, widget-documentation-string-action)
7294 (widget-const-prompt-value, widget-regexp-match, symbol)
7295 (widget-coding-system-prompt-value)
7296 (widget-key-sequence-value-to-external, sexp)
7297 (widget-sexp-value-to-internal, character, vector, cons)
7298 (widget-choice-prompt-value, widget-boolean-prompt-value)
7299 (widget-color--choose-action): Mark unused parameters.
7300 (widget-item-match-inline, widget-choice-match-inline)
7301 (widget-checklist-match, widget-checklist-match-inline)
7302 (widget-group-match): Rename parameter VALUES to VALS.
7303 (widget-field-value-set): Remove unused variable `size'.
7304 (widget-color-action): Remove unused variables `value' and `start'.
7305
7306 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7307 variable `dir'. Doc fix.
06b60517
JB
7308 (windmove-find-other-window): Don't pass it.
7309
7310 * window.el (count-windows): Mark unused parameter.
7311 (bw-adjust-window): Remove unused variable `err'.
7312
7313 * woman.el (woman-file-name): Remove unused variable `default'.
7314 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7315 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7316 (global-font-lock-mode): Declare.
7317 (woman-decode-region): Mark unused parameter.
7318 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7319
7320 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7321 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7322 (x-dnd-handle-moz-url): Remove unused variable `title'.
7323 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7324
7325 * xml.el (xml-parse-tag, xml-parse-attlist):
7326 Remove unused variable `pos'.
7327
bc4f7f3d
GM
73282011-04-19 Glenn Morris <rgm@gnu.org>
7329
7330 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7331 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7332 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7333 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7334 * calendar/cal-html.el (cal-html-insert-minical):
7335 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7336 (calendar-mark-date-pattern):
7337 Prefix "unused" locals.
7338
7339 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7340 optional argument `style'.
7341
7342 * calendar/appt.el (appt-make-list):
7343 * calendar/cal-china.el (calendar-chinese-date-string):
7344 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7345 (diary-hebrew-yahrzeit):
7346 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7347 * calendar/calendar.el (calendar-generate-window):
7348 * calendar/time-date.el (time-to-days):
7349 Remove unused local variables.
7350
16a43933
CY
73512011-04-18 Chong Yidong <cyd@stupidchicken.com>
7352
7353 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7354 glyphless-char-display table.
7355 (tabulated-list-glyphless-char-display): New var.
7356
7eed1860
SS
73572011-04-18 Sam Steingold <sds@gnu.org>
7358
7359 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7360 to acknowledgments.
7361
4d2d1ccd
GM
73622011-04-17 Glenn Morris <rgm@gnu.org>
7363
7364 * calendar/diary-lib.el (diary-sexp-entry):
7365 * calendar/holidays.el (holiday-sexp):
7366 Set debug-on-error rather than the removed stack-trace-on-error.
7367
239da61d
GM
73682011-04-16 Glenn Morris <rgm@gnu.org>
7369
7370 * progmodes/f90.el: Use lexical-binding.
7371 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7372
8b05752a
SM
73732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7374
daca8ba5
SM
7375 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7376 (mail-mode): Setup mailalias completion here instead.
7377 * mail/mailalias.el: Use lexical-binding.
7378 (pattern, mailalias-done): Declare dynamic.
7379 (mail-completion-at-point-function): New function, from mail-complete.
7380 (mail-complete): Use it.
7381 (mail-completion-expand): New function.
7382 (mail-get-names): Use it.
7383 (mail-directory, mail-directory-process, mail-directory-stream):
7384 Don't use `pattern' for lexically bound arg.
7385
6f542485
SM
7386 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7387
037e7c3f
SM
7388 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7389 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7390 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7391
8b05752a
SM
7392 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7393 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7394 (byte-interactive-p): Define them again, for use when inlining
7395 old code.
7396
49093f60
JB
73972011-04-15 Juanma Barranquero <lekktu@gmail.com>
7398
7399 * loadup.el: Use `string-to-number', not `string-to-int'.
7400
b5b8e7de
SM
74012011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7402
7403 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7404 gud-gdb-complete-command.
7405 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7406 (gud-gdb-completion-at-point): New function.
7407 (gud-gdb-completions): Remove.
7408
f42efeb5
MA
74092011-04-14 Michael Albinus <michael.albinus@gmx.de>
7410
49093f60
JB
7411 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7412 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7413 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7414 whether `executable-find' is bound.
f42efeb5
MA
7415
7416 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7417
e240cc21
SM
74182011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * minibuffer.el (completion-in-region-mode-predicate)
7421 (completion-in-region-mode--predicate): New vars.
7422 (completion-in-region, completion-in-region--postch)
7423 (completion-in-region-mode): Use them.
7424 (completion--capf-wrapper): Also return the hook function.
7425 (completion-at-point, completion-help-at-point):
7426 Adjust and provide a predicate.
c2bd2ab0
SM
7427
7428 Preserve arg names for advice of subr and lexical functions (bug#8457).
7429 * help-fns.el (help-function-arglist): Consolidate the subr and
7430 new-byte-code cases. Add argument `preserve-names' to extract names
7431 from the docstring when needed.
7432 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7433 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7434 (ad-arglist): Use help-function-arglist's new arg.
7435 (ad-definition-type): Use cond.
7436
c183f693
JB
74372011-04-13 Juanma Barranquero <lekktu@gmail.com>
7438
06641a47
JB
7439 * autorevert.el (auto-revert-handler):
7440 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7441 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7442 Don't quote lambda.
7443
c183f693
JB
7444 * image-mode.el (image-transform-set-scale):
7445 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7446
1e3b6001
G
74472011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7448
7449 * net/network-stream.el (network-stream-open-starttls): Only do
7450 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7451 Upgrades via gnutls-cli are too slow to be done opportunistically.
7452
2d6af8dd
JB
74532011-04-12 Juanma Barranquero <lekktu@gmail.com>
7454
7455 * dframe.el (dframe-current-frame): Remove spurious quote.
7456
c0749a51
GM
74572011-04-12 Glenn Morris <rgm@gnu.org>
7458
088d0d61
GM
7459 * calendar/cal-tex.el (cal-tex-end-document):
7460 Try to automatically use latin1 input if needed.
7461
c0749a51
GM
7462 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7463 Don't try to cons a mark onto an empty element.
7464
5c90fde0
LL
74652011-04-11 Leo Liu <sdl.web@gmail.com>
7466
7467 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7468 buffers.
7469 (ido-kill-buffer-at-head): Support killing virtual buffers.
7470
369e974d
CY
74712011-04-10 Chong Yidong <cyd@stupidchicken.com>
7472
7473 * minibuffer.el (completion-show-inline-help): New var.
7474 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7475 (minibuffer-force-complete, minibuffer-complete-word):
7476 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7477
7478 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7479 to avoid interference from inline help (Bug#5849).
7480
37f1c930
LL
74812011-04-10 Leo Liu <sdl.web@gmail.com>
7482
099c39a4
JB
7483 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7484 Fix typo.
37f1c930 7485
a32d4040
CY
74862011-04-09 Chong Yidong <cyd@stupidchicken.com>
7487
7488 * image-mode.el (image-toggle-display-image): Signal an error if
7489 not in Image mode.
7490 (image-transform-mode, image-transform-resize)
7491 (image-transform-set-rotation): Doc fix.
daca8ba5 7492 (image-transform-set-resize): Delete.
a32d4040
CY
7493 (image-transform-set-scale, image-transform-fit-to-height)
7494 (image-transform-fit-to-width): Handle image-toggle-display-image
7495 and image-transform-resize directly.
7496
099c39a4 74972011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7498
7499 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7500 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7501 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7502 (doc-view-mode-map): Add bindings for the new functions.
7503
099c39a4 75042011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7505
4d61f28d 7506 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7507 Fix typo in docstring.
7508
3726838a
EZ
75092011-04-08 Eli Zaretskii <eliz@gnu.org>
7510
04f33f1e
EZ
7511 * files.el (file-size-human-readable): Produce one digit after
7512 decimal, like "ls -lh" does.
7513
7514 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7515 the file size representation.
7516
3726838a
EZ
7517 * simple.el (list-processes): If async subprocesses are not
7518 available, error out with a clear error message.
7519
cbb59342
CY
75202011-04-08 Chong Yidong <cyd@stupidchicken.com>
7521
7522 * help.el (help-form-show): New function, to be called from C.
7523 Put help-form output in a buffer named differently than *Help*.
7524
e3971c44
EZ
75252011-04-08 Eli Zaretskii <eliz@gnu.org>
7526
7527 * files.el (file-size-human-readable): New function.
7528
7529 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7530 computing the representation inline. Don't require `cl'.
7531
12544bbe
GM
75322011-04-08 Glenn Morris <rgm@gnu.org>
7533
a1de6c6a
GM
7534 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7535
3c4671f4
GM
7536 * net/browse-url.el (browse-url-firefox):
7537 Test system-type, not system-configuration.
7538
b605679c
GM
7539 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7540 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7541 Use log-edit-empty-buffer-p. (Bug#7598)
7542
56442f0c
GM
7543 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7544 (rlogin-mode-map): Initialize in the defvar.
7545 (rlogin): Use ignore-errors.
7546
12544bbe
GM
7547 * replace.el (occur-mode-map): Some fixes for menu items.
7548
eb237b0f
AH
75492011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7550
7551 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7552
7d668f2c
CY
75532011-04-06 Chong Yidong <cyd@stupidchicken.com>
7554
e67a13ab
CY
7555 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7556 issuing unused warnings.
7557
7558 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7559 macro directly.
7560
7d668f2c
CY
7561 * simple.el: Lisp reimplement of list-processes. Based on an
7562 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7563 (process-menu-mode): New major mode.
7564 (list-processes--refresh, list-processes):
7565 (process-menu-visit-buffer): New functions.
7566
7567 * files.el (save-buffers-kill-emacs): Don't assume any return
7568 value of list-processes, which is undocumented anyway.
7569
a83ec3c9
CY
75702011-04-06 Chong Yidong <cyd@stupidchicken.com>
7571
7572 * emacs-lisp/tabulated-list.el: New file.
7573
e91a96fe
CY
7574 * emacs-lisp/package.el: Use Tabulated List mode.
7575 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7576 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7577 table format using Tabulated List mode variables.
7578 (package--push): New macro, replacing package-list-maybe-add.
7579 (package-menu--generate): Use package--push. Renamed from
7580 package--generate-package-list.
7581 (package-menu-refresh, list-packages): Use it.
daca8ba5 7582 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7583 Return insertion data instead of inserting it directly.
099c39a4
JB
7584 (package-menu-describe-package, package-menu-execute):
7585 Use tabulated-list-get-id.
e91a96fe
CY
7586 (package-menu-mark-delete, package-menu-mark-install)
7587 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7588 (package-menu-mark-obsolete-for-deletion):
7589 Use tabulated-list-put-tag.
e91a96fe
CY
7590 (package--list-packages, package-menu-revert)
7591 (package-menu-get-package, package-menu-get-version)
7592 (package-menu-sort-by-column): Functions deleted.
7593 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7594 (package-menu--status-predicate, package-menu--version-predicate)
7595 (package-menu--name-predicate)
7596 (package-menu--description-predicate): Handle arguments in the
7597 Tabulated List format.
7598 (package-list-packages-no-fetch): Call list-packages.
7599
3e214b50
JB
76002011-04-06 Juanma Barranquero <lekktu@gmail.com>
7601
7602 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7603 (after-find-file): Don't bind it.
3e214b50
JB
7604 (revert-buffer-in-progress-p): New variable.
7605 (revert-buffer): Bind it.
7606 Pass nil for `after-find-file-from-revert-buffer'.
7607
7608 * saveplace.el (save-place-find-file-hook): Use new variable
7609 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7610
3f0f1700
GM
76112011-04-06 Glenn Morris <rgm@gnu.org>
7612
c0274801
GM
7613 * Makefile.in (AUTOGEN_VCS): New variable.
7614 (autoloads): Use $AUTOGEN_VCS.
7615
3f0f1700
GM
7616 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7617 * calendar/calendar.el (calendar-mode-map):
7618 Check for toolkit scroll bars. (Bug#8305)
7619
41ea9e48
CY
76202011-04-05 Chong Yidong <cyd@stupidchicken.com>
7621
7622 * minibuffer.el (completion-in-region--postch)
7623 (completion-in-region-mode): Remove unnecessary messages.
7624
6194c800
JB
76252011-04-05 Juanma Barranquero <lekktu@gmail.com>
7626
33256f14
JB
7627 * font-lock.el (font-lock-refresh-defaults):
7628 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7629 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7630
6194c800
JB
7631 * info.el (Info-directory-list, Info-read-node-name-2)
7632 (Info-split-parameter-string): Doc fixes.
7633 (Info-virtual-nodes): Reflow docstring.
7634 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7635 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7636 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7637 Fix typos in docstrings.
7638 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7639 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7640 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7641 (Info-restore-desktop-buffer): Mark unused parameters.
7642 (Info-directory-find-file, Info-directory-find-node)
7643 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7644 (Info-virtual-index-find-node, Info-apropos-find-file)
7645 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7646 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7647 (Info-virtual-index): Remove unused local variable `nodename'.
7648
b87a8200 76492011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7650
b87a8200
DD
7651 * net/rcirc.el: Update my e-mail address.
7652 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7653
3b2ff876
CY
76542011-04-05 Chong Yidong <cyd@stupidchicken.com>
7655
7656 * startup.el (command-line): Save the cursor's theme-face
7657 directly, instead of using face-override-spec.
7658
7659 * custom.el (load-theme): Minor optimization in assigning faces.
7660
8d17e7ca
JB
76612011-04-04 Juanma Barranquero <lekktu@gmail.com>
7662
7663 * help-fns.el (describe-variable): Complete all variables having
7664 documentation, including keywords.
7665 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7666
2fbc1934
JB
76672011-04-04 Juanma Barranquero <lekktu@gmail.com>
7668
7669 Convert to lexical-binding.
7670
7671 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7672 (bs--get-marked-string, bs--get-modified-string)
7673 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7674 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7675 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7676
7677 * ehelp.el (electric-help-execute-extended)
7678 (electric-help-ctrl-x-prefix):
7679 * hexl.el (hexl-revert-buffer-function):
7680 * linum.el (linum-after-change, linum-after-scroll):
7681 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7682
7683 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7684
74f50695
DU
76852011-04-04 Daiki Ueno <ueno@unixuser.org>
7686
7687 * epa-dired.el:
7688 * epa-mail.el:
7689 * epa-hook.el:
7690 * epa-file.el:
7691 * epa.el:
7692 * epg.el: Use lexical binding.
7693
c11325f7
CY
76942011-04-03 Chong Yidong <cyd@stupidchicken.com>
7695
0d9e9a12
CY
7696 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7697
c11325f7 7698 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7699 dictionary case for flyspell-mark-duplications-exceptions.
7700 Use regexp matching for languages.
c11325f7
CY
7701 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7702 default dictionary (Bug#7926).
7703
da91b5f2
CY
77042011-04-02 Chong Yidong <cyd@stupidchicken.com>
7705
099c39a4
JB
7706 * emacs-lisp/package.el (package--with-work-buffer):
7707 Recognize https URLs.
da91b5f2 7708
099c39a4
JB
7709 * net/network-stream.el: Move from gnus/proto-stream.el.
7710 Change prefix to network-stream throughout.
da91b5f2
CY
7711 (open-protocol-stream): Merge into open-network-stream, leaving
7712 open-protocol-stream as an alias. Handle nil BUFFER args.
7713
7714 * subr.el (open-network-stream): Move to net/network-stream.el.
7715
afa8e9f6
GM
77162011-04-02 Glenn Morris <rgm@gnu.org>
7717
1d2e369d
GM
7718 * find-dired.el (find-exec-terminator): New option.
7719 (find-ls-option): Test for -ls support.
7720 (find-ls-subdir-switches): Test for -b in find-ls-option.
7721 (find-dired, find-grep-dired): Doc fixes.
7722 (find-dired): Use find-exec-terminator.
7723
8abb7da8 7724 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7725 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7726 (find-name-arg): Remove purecopy.
8abb7da8 7727
f3ca7378
GM
7728 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7729 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7730 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7731 accordingly. Don't add the null-device if not needed.
7732
afa8e9f6
GM
7733 * files.el (save-some-buffers): Doc fix.
7734
35eae264
EZ
77352011-04-02 Eli Zaretskii <eliz@gnu.org>
7736
7737 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7738
26b51db5
JB
77392011-04-01 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7742 Use `dolist' rather than `mapcar'.
7743
7200d79c
SM
77442011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7745
03408648 7746 Add lexical binding.
7200d79c 7747
03408648
SM
7748 * subr.el (apply-partially): Use new closures rather than CL.
7749 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7750 (dolist, dotimes): Use slightly different expansion for lexical code.
7751 (functionp): Move to C.
7752 (letrec): New macro.
7753 (with-wrapper-hook): Use it and apply-partially instead of CL.
7754 (eval-after-load): Preserve lexical-binding.
7755 (save-window-excursion, with-output-to-temp-buffer): Turn them
7756 into macros.
7200d79c 7757
03408648
SM
7758 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7759
7760 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7761 than the arglist.
7762 (help-add-fundoc-usage): Don't add `Not documented'.
7763 (help-function-arglist): Handle closures, subroutines, and new
7764 byte-code-functions.
7765 (help-make-usage): Remove leading underscores.
7766 (describe-function-1): Handle closures.
7767 (describe-variable): Use special-variable-p for completion.
7768
7769 * files.el (lexical-binding): Declare safe.
f488fb65 7770
03408648
SM
7771 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7772 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7773 (pcase): Add `let' pattern.
7774 Change memoization so it actually works.
7775 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7776 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7777 <let>: New case.
f488fb65 7778
03408648
SM
7779 * emacs-lisp/macroexp.el: Use lexical binding.
7780 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7781 Don't convert ' to #' without checking that it's indeed quoting
7782 a lambda.
7783
7784 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7785 Use eval-sexp-add-defvars.
03408648
SM
7786 (eval-sexp-add-defvars): New fun.
7787
7788 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7789
7790 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7791 Don't autoload.
7792 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7793 than the internal `byte-compile-lambda'.
7794 (defmethod): Don't hide code under quotes.
7795 (eieio-defmethod): New `code' argument.
7796
7797 * emacs-lisp/eieio-comp.el: Remove.
7798
7799 * emacs-lisp/edebug.el (edebug-eval-defun)
7800 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7801 (edebug-toggle): Avoid `eval'.
7802
7803 * emacs-lisp/disass.el (disassemble-internal): Handle new
7804 `closure' objects.
7805 (disassemble-1): Handle new byte codes.
7806
7807 * emacs-lisp/cl.el (pushnew): Silence warning.
7808
7809 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7810 (cl-byte-compile-throw): Remove.
7811 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7812
7813 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7814 closures.
7815
7816 * emacs-lisp/cconv.el: New file.
7817
7818 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7819 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7820 (byte-compile-initial-macro-environment):
7821 Handle declare-function here.
7822 (byte-compile--lexical-environment): New var.
7823 (byte-stack-ref, byte-stack-set, byte-discardN)
7824 (byte-discardN-preserve-tos): New lap codes.
7825 (byte-interactive-p): Don't use any more.
7826 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7827 New macros.
7828 (byte-compile-lapcode): Use them and handle new lap codes.
7829 (byte-compile-obsolete): Remove.
7830 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7831 (byte-compile-arglist-warn): Check late def of inlinable funs.
7832 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7833 since they should have been expanded by now.
7834 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7835 (byte-compile-from-buffer): Remove unused second arg.
7836 (byte-compile-preprocess): New function.
7837 (byte-compile-toplevel-file-form): New function to distinguish
7838 file-form calls from outside from file-form calls from hunk-handlers.
7839 (byte-compile-file-form): Simplify.
7840 (byte-compile-file-form-defsubst): Remove.
7841 (byte-compile-file-form-defmumble): Simplify now that
7842 byte-compile-lambda always returns a byte-code-function.
7843 (byte-compile): Preprocess.
7844 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7845 Remove, not used any more.
7846 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7847 (byte-compile-make-args-desc): New funs.
7848 (byte-compile-lambda): Handle lexical functions. Always return
7849 a byte-code-function.
7850 (byte-compile-reserved-constants): New var, to make up room for
7851 closed-over variables.
7852 (byte-compile-constants-vector): Obey it.
7853 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7854 (byte-compile-macroexpand-declare-function): New function.
7855 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7856 byte-code-functions.
7857 (byte-compile-form): Check obsolescence here.
7858 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7859 (byte-compile-variable-ref): Remove.
7860 (byte-compile-dynamic-variable-op): New fun.
7861 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7862 (byte-compile-variable-set): New funs.
7863 (byte-compile-discard): Add 2 args.
7864 (byte-compile-stack-ref, byte-compile-stack-set)
7865 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7866 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7867 macroexpand-all instead.
7868 (byte-compile-quote-form): Remove.
7869 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7870 (byte-compile-bind, byte-compile-unbind): New funs.
7871 (byte-compile-let): Handle let* and lexical binding.
7872 (byte-compile-let*): Remove.
7873 (byte-compile-catch, byte-compile-unwind-protect)
7874 (byte-compile-track-mouse, byte-compile-condition-case):
7875 Handle a new :fun-body form, used for lexical scoping.
7876 (byte-compile-save-window-excursion)
7877 (byte-compile-with-output-to-temp-buffer): Remove.
7878 (byte-compile-defun): Simplify.
7879 (byte-compile-stack-adjustment): New fun.
7880 (byte-compile-out): Use it.
7881 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7882
7883 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7884 handler any more.
7885
7886 * emacs-lisp/byte-opt.el: Use lexical binding.
7887 (byte-inline-lapcode): Remove (to bytecomp).
7888 (byte-compile-inline-expand): Pay attention to inlining to/from
7889 lexically bound code.
7890 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7891 any more.
7892 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7893 any more and don't call compiler-macros.
7894 (byte-compile-splice-in-already-compiled-code): Remove.
7895 (byte-code): Don't inline any more.
7896 (disassemble-offset): Receive `bytes' as argument rather than via
7897 dynamic scoping.
7898 (byte-compile-tag-number): Declare before first use.
7899 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7900 `return' even if make-spliceable.
7901 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7902 obsolete interactive-p.
7903 (byte-optimize-lapcode): Optimize new lap-codes.
7904 Don't trip up on new form of `byte-constant' lap code.
7905
7906 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7907
7908 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7909
7910 * custom.el (custom-initialize-default, custom-declare-variable):
7911 Use `defvar'.
7912
7913 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7914 New variables.
7915 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7916 (COMPILE_FIRST): Add macroexp and cconv.
7917 * makefile.w32-in: Mirror changes in Makefile.in.
7918
7919 * vc/cvs-status.el:
7920 * vc/diff-mode.el:
7921 * vc/log-edit.el:
7922 * vc/log-view.el:
7923 * vc/smerge-mode.el:
7924 * textmodes/bibtex-style.el:
7925 * textmodes/css.el:
7926 * startup.el:
7927 * uniquify.el:
da91b5f2
CY
7928 * minibuffer.el:
7929 * newcomment.el:
7930 * reveal.el:
7931 * server.el:
7932 * mpc.el:
7933 * emacs-lisp/smie.el:
7934 * doc-view.el:
7935 * dired.el:
03408648
SM
7936 * abbrev.el: Use lexical binding.
7937
0f0c1f27
EZ
79382011-04-01 Eli Zaretskii <eliz@gnu.org>
7939
7940 * info.el (info-display-manual): New function.
7941
c82b2579
SM
79422011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7943
7944 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7945
221ddf68
TH
79462011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7947
7948 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7949 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7950
cba6e77e
GM
79512011-03-31 Glenn Morris <rgm@gnu.org>
7952
e040639f
GM
7953 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7954
cba6e77e
GM
7955 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7956
6d0f1c9e
CS
79572011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7958
7959 * progmodes/python.el (python-default-interpreter)
7960 (python-python-command-args, python-jython-command-args)
7961 (python-which-shell, python-which-args, python-which-bufname)
7962 (python-file-queue, python-comint-output-filter-function)
7963 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7964 variables and functions.
7965
3e2d70fd
SM
79662011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7969 (completion-in-region-mode): New minor mode.
7970 (completion-in-region): Use it.
7971 (completion-in-region--data, completion-in-region-mode-map): New vars.
7972 (completion-in-region--postch): New function.
7973 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7974 New vars.
7975 (completion--capf-wrapper): New function.
7976 (completion-at-point): Use it to track well-behavedness of
7977 hook functions.
7978 (completion-help-at-point): New command.
7979
f3e4086c
JM
79802011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7981
7982 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7983 syntax class to search for whitespace on a single line
7984 (Message-ID: <4D938140.4030905@redhat.com>).
7985
eb7ffc14
LL
79862011-03-30 Leo Liu <sdl.web@gmail.com>
7987
7988 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7989 New commands.
7990 (edit-abbrevs-map): Bind them here.
7991 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7992
d806ab68
KM
79932011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7994
7995 * allout.el (allout-hide-by-annotation, allout-flag-region):
7996 Reduce possibility of overlay leakage by making them volatile.
7997
7998 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7999 hash is not shared between buffers. Mode initialization is
8000 responsible for giving it a useful starting value.
8001 (allout-item-span): Reduce possibility of overlay leakage by
8002 making them volatile.
8003 (allout-widgets-count-buttons-in-region): Add diagnostic function
8004 for tracking down button overlay leaks.
8005
ea622834
LL
80062011-03-29 Leo Liu <sdl.web@gmail.com>
8007
8008 * ido.el (ido-read-internal): Use the default history var
8009 minibuffer-history if no HISTORY is specified.
8010
b62f8267
G
80112011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8012
03408648
SM
8013 * net/imap.el (imap-shell-open, imap-process-connection-type):
8014 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8015 Kerberos, SSL, other subprocesses.
8016
947b6566
LL
80172011-03-28 Leo Liu <sdl.web@gmail.com>
8018
8019 * abbrev.el (abbrev-table-empty-p): New function.
8020 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8021 nonempty ones. (Bug#5937)
8022
5ffb62aa
JD
80232011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8024
8025 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8026
7a097943
LL
80272011-03-27 Leo Liu <sdl.web@gmail.com>
8028
8029 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8030 for foreground and background colors.
8031 (ansi-color-make-color-map): Adapt.
8032
c5b40130
LL
80332011-03-25 Leo Liu <sdl.web@gmail.com>
8034
1f48f7d2
LL
8035 * midnight.el (midnight-time-float): Remove. Note it calculates
8036 the microsecond component incorrectly and seconds-to-time does the
8037 same job.
625897ec 8038 Remove redundant (require 'timer).
1f48f7d2 8039
c5b40130
LL
8040 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8041 (ido-completions): Remove unused arguments. (Bug#8329)
8042
d86d2721
SM
80432011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * minibuffer.el (completion--flush-all-sorted-completions):
8046 Remove itself from hook.
8047 (completion-at-point): Let the functions perform the completion
8048 immediately and return nil or t.
8049 * comint.el (comint-dynamic-complete-functions): Now identical to
8050 completion-at-point-functions.
8051 (comint-dynamic-list-input-ring): Remove unused var `index'.
8052 (comint--match-partial-filename, comint--unquote&expand-filename):
8053 New funs, split from comint-match-partial-filename.
8054 (comint-dynamic-complete): Use completion-at-point.
8055 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8056
e8974c48
DA
80572011-03-24 Drew Adams <drew.adams@oracle.com>
8058
8059 * thingatpt.el: Support `defun'.
8060
def71b5e
LL
80612011-03-23 Leo Liu <sdl.web@gmail.com>
8062
cb5af48e
LL
8063 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8064
def71b5e
LL
8065 * help-mode.el (help-mode-finish): Tweak regexp.
8066
927c53e7
GM
80672011-03-23 Glenn Morris <rgm@gnu.org>
8068
18d05bed
GM
8069 * eshell/esh-opt.el (eshell-eval-using-options):
8070 Do not bind unused local variable `eshell-option-stub'.
8071
927c53e7
GM
8072 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8073
9d0da923
JB
80742011-03-22 Juanma Barranquero <lekktu@gmail.com>
8075
8076 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8077 keymap variable in `with-no-warnings' to avoid a warning when the
8078 keymap has been already `defconst'ed.
8079
4b978a67
LL
80802011-03-22 Leo Liu <sdl.web@gmail.com>
8081
8082 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8083 encode all chars in abbrevs; otherwise use emacs-mule or
8084 utf-8-emacs. (Bug#8308)
8085
5fd62452
JB
80862011-03-22 Juanma Barranquero <lekktu@gmail.com>
8087
0b1596c6
JB
8088 * simple.el (backward-delete-char-untabify):
8089 Avoid warning about using `delete-backward-char'.
8090
5fd62452
JB
8091 * image.el (image-type-file-name-regexps): Make it variable.
8092 `imagemagick-register-types' modifies it, and the user may want
8093 to add new extensions for known image types.
8094 (imagemagick-register-types): Throw error if not using ImageMagick.
8095
0b4e93f1
LL
80962011-03-22 Leo Liu <sdl.web@gmail.com>
8097
8098 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8099 located before rcirc-prompt-end-marker.
8100 (rcirc-complete): Error if point is not after rcirc prompt.
8101 Handle the case when table is nil.
9882e214 8102 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8103
fccee4ab
CY
81042011-03-22 Chong Yidong <cyd@stupidchicken.com>
8105
8106 * custom.el (custom--inhibit-theme-enable): Make it affect only
8107 custom-theme-set-variables and custom-theme-set-faces.
8108 (provide-theme): Ignore custom--inhibit-theme-enable.
8109 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8110 (custom-enabling-themes): Delete variable.
d86d2721
SM
8111 (enable-theme): Accept only loaded themes as arguments.
8112 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8113 (custom-enabled-themes): Forbid themes from setting this.
8114 Eliminate use of custom-enabling-themes.
8115 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8116
af896da6
LL
81172011-03-21 Leo Liu <sdl.web@gmail.com>
8118
8119 * ido.el (ido-read-internal): Add ido-selected to history instead
8120 of user input.
8121
78f64af0
SM
81222011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * subr.el (deferred-action-list, deferred-action-function):
8125 Mark obsolete.
8126
b16ac1ec
LL
81272011-03-21 Leo Liu <sdl.web@gmail.com>
8128
810f7698
LL
8129 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8130 change on 2011-02-13 (bug#8309).
8131
b16ac1ec
LL
8132 * minibuffer.el (read-file-name-function): Change default value.
8133 (read-file-name--defaults): Rename from read-file-name-defaults.
8134 (read-file-name-default): Rename from read-file-name.
8135 (read-file-name): Call read-file-name-function.
8136
4e05e67e
GM
81372011-03-21 Glenn Morris <rgm@gnu.org>
8138
8139 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8140 Doc fixes.
8141
4359915b
CY
81422011-03-21 Chong Yidong <cyd@stupidchicken.com>
8143
8144 * cus-theme.el: Add missing provide statement.
8145 (customize-create-theme): Extract theme value correctly.
8146 (custom-theme-visit-theme): Autoload.
8147 (customize-create-theme): Prompt before inserting default faces.
8148
1fe275ee
JB
81492011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8150
8151 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8152 units and musical notes.
8153
3ec03f7e
LL
81542011-03-20 Leo <sdl.web@gmail.com>
8155
8156 * ido.el (ido-read-internal): Use completing-read-default.
8157 (ido-completing-read): Fix compatibility with completing-read.
8158
7d476bde
CO
81592011-03-20 Christian Ohler <ohler@gnu.org>
8160
8161 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8162 (ert-delete-all-tests): Use `called-interactively-p' rather than
8163 `interactive-p'.
8164 (ert--make-xrefs-region): Respect END.
8165
fe0fb33e
CY
81662011-03-19 Chong Yidong <cyd@stupidchicken.com>
8167
ff854b0b
CY
8168 * dired-aux.el (dired-create-directory): Signal an error if the
8169 directory already exists (Bug#8246).
8170
fe0fb33e
CY
8171 * facemenu.el (list-colors-display): Call list-faces-display
8172 inside with-help-window.
8173 (list-colors-print): Use display property to align the final
8174 column, instead of checking window-width.
8175
576bce32
EZ
81762011-03-19 Eli Zaretskii <eliz@gnu.org>
8177
4d61f28d 8178 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8179 windows-nt systems.
8180 (emerge-protect-metachars): Quote correctly for ms-dos and
8181 windows-nt systems.
8182
89c41d68 81832011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8184
8185 * info.el (info-initialize): Replace all uses of `:' with
8186 path-separator for compatibility with non-Unix systems.
8187 Cache quoting of path-separator. (Bug#8258)
8188
b14e3e21 81892011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8190
8191 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8192 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8193 (mouse-avoidance-mode): Fix typos in docstrings.
8194
4525ce3e
CY
81952011-03-19 Chong Yidong <cyd@stupidchicken.com>
8196
8197 * startup.el (package-subdirectory-regexp): Move from package.el.
8198 Omit \\` and \\', and let callers add them.
8199
8200 * emacs-lisp/package.el (package-strip-version)
8201 (package-load-all-descriptors): Add \\` and \\' to
8202 package-subdirectory-regexp before using it.
8203 (package-untar-buffer): New arg DIR; ensure that file untars only
8204 into this expected directory. Remove superfluous delete-region.
8205 (package-unpack): Caller changed.
8206 (package-tar-file-info): Use package-subdirectory-regexp.
8207
a904a09a 82082011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8209
a904a09a
SM
8210 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8211 diff-mode-shared-map (bug#8284).
8212 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8213
82142011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8215
8216 * calendar/time-date.el (format-seconds): Use assoc instead of
8217 assoc-string, since assoc-string doesn't exist in XEmacs.
8218
171fc304
JB
82192011-03-17 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * custom.el (custom-known-themes): Reflow docstring.
8222 (custom-theme-load-path): Fix typo in docstring.
8223 (load-theme): Fix typo in error message.
8224 (custom-available-themes, custom-variable-theme-value):
8225 Use `let', not `let*'.
8226
d71990a1
JB
82272011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8228
8229 * calc/README: Mention inclusion of musical notes.
8230
8231 * calc/calc-units.el (calc-lu-quant): Rename from
8232 `calc-logunits-quantity'.
8233 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8234 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8235 (calc-db): Rename from `calc-dblevel'.
8236 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8237 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8238 (calc-np): Rename from `calc-nplevel'.
8239 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8240 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8241 (calc-lu-plus): Rename from `calc-logunits-add'.
8242 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8243 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8244 (calc-lu-minus): Rename from `calc-logunits-sub'.
8245 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8246 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8247 (calc-lu-times): Rename from `calc-logunits-mul'.
8248 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8249 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8250 (calc-lu-divide): Rename from `calc-logunits-div'.
8251 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8252 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8253
8254 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8255 functions being autoloaded.
8256
8257 * calc/calc.el (calc-lu-power-reference): Rename from
8258 `calc-logunits-power-reference'.
8259 (calc-lu-field-reference): Rename from
8260 `calc-logunits-field-reference'.
8261
8262 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8263
40c2934b
SM
82642011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * minibuffer.el (completion-all-sorted-completions):
8267 Use :completion-cycle-penalty text property if present.
8268
b0911414
KM
82692011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8270
8271 * allout.el (allout-yank-processing): Adjust for new rebulleting
8272 regime so bullet being yanked is used without prompting the user
8273 for a choice.
8274
8a05b668
JB
82752011-03-16 Juanma Barranquero <lekktu@gmail.com>
8276
8277 * startup.el (command-line): Warn the user that _emacs is deprecated.
8278
5ba5fb81
JB
82792011-03-16 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8282 (delphi-verbose, delphi-comment-face, delphi-string-face)
8283 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8284 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8285 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8286 (delphi-new-comment-line, delphi-font-lock-defaults)
8287 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8288 Fix typos in docstrings.
8289
2dab465b
KM
82902011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8291
5ba5fb81 8292 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8293 Invert the roles of character and string values for INSTEAD, so a
8294 string is used for the more common case of a defaulting prompt.
8295
0adf5618
SM
82962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8297
8298 * progmodes/ruby-mode.el (ruby-backward-sexp):
8299 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8300 * play/gamegrid.el (gamegrid-make-face):
8301 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8302 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8303 * notifications.el (notifications-notify):
8304 * net/xesam.el (xesam-search-engines):
8305 * net/quickurl.el (quickurl-list-insert):
8306 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8307
d72700e5
CY
83082011-03-15 Chong Yidong <cyd@stupidchicken.com>
8309
8310 * startup.el (command-line): Update package subdirectory regexp.
8311
49c5410a
SM
83122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8313
c6eee9aa
SM
8314 * allout.el (allout-abbreviate-flattened-numbering)
8315 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8316
49c5410a
SM
8317 * subr.el (read-char-choice): Only show the cursor after the prompt,
8318 not after the answer.
8319
047b2bb9
KR
83202011-03-15 Kevin Ryde <user42@zip.com.au>
8321
8322 * help-fns.el (variable-at-point): Skip leading quotes, if any
8323 (bug#8253).
8324
0a57d256
SM
83252011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8328 warning message.
8329
77c992bc
MA
83302011-03-14 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * shell.el (shell): When called interactively, offer to change the
8333 shell file name on remote hosts.
8334
eebc475d
TZ
83352011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8336
8337 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8338 integration for LDAP parameters. The host, base, user or binddn,
8339 and secret tokens can be specified in a netrc file, for instance.
8340 This is optional because an `auth-source' parameter must be
8341 specified in the search attributes.
8342
9d05d1ba
JB
83432011-03-13 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8346
09d9db2c
GM
83472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8350 into declaration. Remove redundant and harmful binding.
8351
83522011-03-12 Eli Zaretskii <eliz@gnu.org>
8353
8354 * files.el (file-ownership-preserved-p): Pass `integer' as an
8355 explicit 2nd argument to `file-attributes'. If the file's owner
8356 is the Administrators group on Windows, and the current user is
8357 Administrator, consider that a match.
8358
8359 * server.el (server-ensure-safe-dir): Consider server directory
8360 safe on MS-Windows if its owner is the Administrators group while
8361 the current Emacs user is Administrator. Use `=' to compare
8362 numerical UIDs, since they could be integers or floats.
8363
219bd536
JB
83642011-03-12 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8367
f3afd36b
MA
83682011-03-12 Michael Albinus <michael.albinus@gmx.de>
8369
8370 Sync with Tramp 2.2.1.
8371
8372 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8373
8374 * net/trampver.el: Update release number.
8375
3aaaa6f1
SM
83762011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8377
94642599
SM
8378 * progmodes/compile.el (compilation--previous-directory): Fix up
8379 various nil/dead-marker mismatches (bug#8014).
8380 (compilation-directory-properties, compilation-error-properties):
8381 Don't call it at a position past the one we're about to change.
8382
3aaaa6f1
SM
8383 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8384 Disable obsolescence warnings in the file that declares it.
8385
14239447
KM
83862011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8387
099c39a4
JB
8388 * allout-widgets.el (allout-widgets-tally):
8389 Initialize allout-widgets-tally as a hash table rather than nil to
8390 prevent mode-line redisplay warnings. Also, clarify the module
8391 description and fix a comment typo.
14239447 8392
135e287c
JB
83932011-03-11 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * help-fns.el (describe-variable): Don't complete keywords.
8396 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8397
ffbf300e
CY
83982011-03-10 Chong Yidong <cyd@stupidchicken.com>
8399
ba08b241
CY
8400 * emacs-lisp/package.el (package-version-join): Impose a standard
8401 string representation for pre/alpha/beta version lists.
8402 (package-unpack-single): Standardize the directory name by passing
8403 it through package-version-join.
8404 (package-strip-rcs-id): Accept any version string that does not
8405 signal an error in version-to-list.
ffbf300e 8406
f346fd6b
MA
84072011-03-10 Michael Albinus <michael.albinus@gmx.de>
8408
8409 * simple.el (delete-trailing-whitespace): Return nil for the
8410 benefit of `write-file-functions'.
8411
ccb55d27
GM
84122011-03-10 Glenn Morris <rgm@gnu.org>
8413
5ceaac0c
GM
8414 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8415
02da65ff
GM
8416 * vc/vc-git.el (vc-git-program): New option.
8417 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8418 (vc-git--call): Use it.
8419
b2f603cc
GM
8420 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8421
5772caab
GM
8422 * cus-edit.el (Custom-newline): If no button at point, look
8423 for a subgroup button at start-of-line. (Bug#2298)
8424
ccb55d27
GM
8425 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8426
ec6ecaed
JD
84272011-03-10 Julien Danjou <julien@danjou.info>
8428
8429 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8430 `cursor-type' is nil.
8431
9d5aa01d
JB
84322011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8433
8434 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8435
b6a5875b
KM
84362011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8437
8438 * allout.el Summary: Change so yank of distinctive-bullet items
8439 preserves the existing header prefix, rebulleting it if necessary,
8440 rather than replacing it. This is necessary for proper operation
8441 of cooperative addons like allout-widgets.
219bd536 8442 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8443 SOLICIT arg to INSTEAD, and interpret additionally a string value
8444 as alternate bullet to be used, instead of prompting the user for
8445 a bullet character.
8446
ee545c35
MA
84472011-03-09 Michael Albinus <michael.albinus@gmx.de>
8448
d86d2721
SM
8449 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8450 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8451 `tramp-default-port'.
8452
c47971d7
DD
84532011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8454
8455 * net/rcirc.el (rcirc-handler-001): Remove useless
8456 with-rcirc-process-buffer.
8457 (rcirc-check-auth-status): Swap arguments to string-match.
8458
13522cb4
GM
84592011-03-09 Glenn Morris <rgm@gnu.org>
8460
0be6f4f1
GM
8461 * shell.el (shell-mode):
8462 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8463
13522cb4
GM
8464 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8465 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8466
515de2e3
CY
84672011-03-08 Chong Yidong <cyd@stupidchicken.com>
8468
8469 * emacs-lisp/package.el (package-refresh-contents)
8470 (package-menu-execute): Use condition-case-no-debug.
8471
b511b994
MA
84722011-03-08 Michael Albinus <michael.albinus@gmx.de>
8473
8474 * simple.el (shell-command-to-string): Use `process-file'.
8475
8476 * emacs-lisp/package.el (package-tar-file-info): Handle also
8477 remote files.
8478
d86d2721
SM
8479 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8480 Use `equal' for upload base check.
b511b994 8481
25bbfb31
AM
84822011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8483
8484 * textmodes/texinfo.el (texinfo-environments):
8485 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8486
be996521
GM
84872011-03-08 Glenn Morris <rgm@gnu.org>
8488
e9c8529f
GM
8489 * cus-start.el (cursor-in-non-selected-windows):
8490 Fix :set quoting oddness. (Bug#8192)
8491
be996521
GM
8492 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8493 in some setf expressions. (Bug#2159)
8494
2bb5649e
CY
84952011-03-08 Chong Yidong <cyd@stupidchicken.com>
8496
8497 * custom.el (custom-available-themes): Return themes in
8498 alphabetical order.
8499
33383987 8500See ChangeLog.15 for earlier changes.
e3d51b27
MR
8501
8502;; Local Variables:
8503;; coding: utf-8
e3d51b27
MR
8504;; End:
8505
33383987 8506 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8507
8508 This file is part of GNU Emacs.
8509
8510 GNU Emacs is free software: you can redistribute it and/or modify
8511 it under the terms of the GNU General Public License as published by
8512 the Free Software Foundation, either version 3 of the License, or
8513 (at your option) any later version.
8514
8515 GNU Emacs is distributed in the hope that it will be useful,
8516 but WITHOUT ANY WARRANTY; without even the implied warranty of
8517 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8518 GNU General Public License for more details.
8519
8520 You should have received a copy of the GNU General Public License
8521 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.