Fix permissions inadvertently changed in 2011-10-31T00:37:09Z!viniciusjl@ig.com.br.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
105216ed
CY
12011-11-08 Chong Yidong <cyd@gnu.org>
2
3 * window.el (window-total-height, window-total-width): Doc fix.
4 (window-body-size): Move from C.
5 (window-body-height, window-body-width): Move to C.
6
0a9f9ab5
SM
72011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * window.el: Make special-display like display-buffer-alist (bug#9532).
10 (display-buffer--special-action): New function, morphed
11 from display-buffer--special.
12 (display-buffer): Use it to handle special-display-buffers at higher
13 priority (just after display-buffer-alist).
14 (display-buffer-fallback-action, display-buffer--other-frame-action)
15 (pop-to-buffer-same-window): Remove display-buffer--special.
16
a769dd15
GM
172011-11-07 Glenn Morris <rgm@gnu.org>
18
19 * calendar/cal-menu.el (cal-menu-set-date-title):
20 Do nothing if not in a calendar. (Bug#9976)
21
05a61ee3
SM
222011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * files.el (find-file): Always use selected-window.
25
be7f5545
MR
262011-11-07 Martin Rudalics <rudalics@gmx.at>
27
28 * window.el (window-combinations): Make WINDOW argument
29 mandatory. Rewrite doc-string.
30 (walk-window-subtree, window-atom-check, window-min-delta)
31 (window-max-delta, window--resize-this-window)
32 (window--resize-root-window-vertically, window-tree)
33 (balance-windows, window-state-put): Rewrite doc-strings as to
34 not mention the term "subwindow".
35 (window--resize-subwindows-skip-p): Rename to
36 window--resize-child-windows-skip-p.
37 (window--resize-subwindows-normal): Rename to
38 window--resize-child-windows-normal.
39 (window--resize-subwindows): Rename to
40 window--resize-child-windows.
41 (window-or-subwindow-p): Rename to window--in-subtree-p.
42
3c6702ef
ML
432011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
44
45 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
46 Ensure that mbox format messages end in two newlines (Bug#9974).
47
49745b39
CY
482011-11-06 Chong Yidong <cyd@gnu.org>
49
50 * window.el (window-combination-p): Function deleted; its
51 side-effect is not used in any existing code.
52 (window-combinations, window-combined-p): Call window-*-child
53 directly.
54
24300f5f
CY
552011-11-05 Chong Yidong <cyd@gnu.org>
56
57 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
58 (window-size-ignore, window-state-get): Callers changed.
59 (window-normalize-window): Rename from window-normalize-any-window.
60 New arg LIVE-ONLY, replacing window-normalize-live-window.
61 (window-normalize-live-window): Deleted.
62 (window-combination-p, window-combined-p, window-combinations)
63 (walk-window-subtree, window-atom-root, window-min-size)
64 (window-sizable, window-sizable-p, window-size-fixed-p)
65 (window-min-delta, window-max-delta, window-resizable)
66 (window-resizable-p, window-full-height-p, window-full-width-p)
67 (window-current-scroll-bars, window-point-1, set-window-point-1)
68 (window-at-side-p, window-in-direction, window-resize)
69 (adjust-window-trailing-edge, maximize-window, minimize-window)
70 (window-deletable-p, delete-window, delete-other-windows)
71 (record-window-buffer, unrecord-window-buffer)
72 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
73 (quit-window, split-window, window-state-put)
74 (set-window-text-height, fit-window-to-buffer)
75 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 76
89bd5ee1
EZ
772011-11-04 Eli Zaretskii <eliz@gnu.org>
78
53479029
EZ
79 * mail/rmail.el (rmail-simplified-subject): Decode subject with
80 rfc2047-decode-string.
81 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
82 warnings.
83
89bd5ee1
EZ
84 * window.el (window-body-height, window-body-width): Mention in
85 the doc string that the return values are in frame's canonical
86 units. (Bug#9949)
87
bd17fdee
AM
882011-11-03 Alan Mackenzie <acm@muc.de>
89
90 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
91 change in cc-engine.el.
92
acc825c5
SM
932011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * window.el (switch-to-buffer): Use `force-same-window' interactively.
96
1885e5b8
MR
972011-11-02 Martin Rudalics <rudalics@gmx.at>
98
99 * window.el (quit-window): Call unrecord-window-buffer after
100 showing another buffer in the window. (Bug#9937)
acc825c5 101 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 102
ebe06da9
JB
1032011-11-02 Juanma Barranquero <lekktu@gmail.com>
104
105 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
106 Accept status with more than 9 shelves. (Bug#9935)
107 Reported by Colin D Bennett <colin@gibibit.com>.
108
4ee88440
MR
1092011-11-01 Martin Rudalics <rudalics@gmx.at>
110
111 * help.el (with-help-window): Don't reference
112 temp-buffer-show-specifiers in doc-string.
113
08e1d82c
AS
1142011-10-31 Andreas Schwab <schwab@linux-m68k.org>
115
116 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
117 menu-item.
118
84bd6e9e
VJL
1192011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
120
121 * whitespace.el: New version 13.2.2.
122 (whitespace-newline-mode): Disable properly. Reported by Sarah
123 <EmacsWiki>.
124
dba0634a
UJ
1252011-10-30 Ulf Jasper <ulf.jasper@web.de>
126
127 * net/newst-treeview.el: Remove "Time-stamp".
128 (newsticker--group-manage-orphan-feeds): Do not call
129 newsticker--treeview-tree-update.
db22a3c2
JB
130 (newsticker-treeview-update, newsticker-treeview):
131 Call newsticker--treeview-tree-update if necessary.
dba0634a 132
3d8daefe
MR
1332011-10-30 Martin Rudalics <rudalics@gmx.at>
134
135 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
136 (window-iso-combinations): Remove "iso-" infix.
137 Suggested by Chong Yidong.
3d8daefe
MR
138 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
139 (window-max-delta-1, window-resize, window--resize-siblings)
140 (window--resize-this-window, adjust-window-trailing-edge)
141 (split-window, balance-windows-1)
142 (shrink-window-if-larger-than-buffer):
143 * calendar/calendar.el (calendar-generate-window):
db22a3c2 144 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 145
1bc4c3ae
SM
1462011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
149 in place (bug#9907).
150 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
151 (eshell-rewrite-if-command, eshell-rewrite-for-command)
152 (eshell-structure-basic-command, eshell-rewrite-while-command)
153 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
154 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
155 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
156 (eshell-do-pipelines-synchronously, eshell-eval-command):
157 Use backquotes and prefer setq to set.
158 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
159 (eshell-macrop): Use functionp.
c1e2f5fa 160 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 161
30b65d9c
CY
1622011-10-30 Chong Yidong <cyd@gnu.org>
163
164 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
165 instead of set-mark (Bug#9810).
166
2d197ffb
CY
1672011-10-30 Chong Yidong <cyd@gnu.org>
168
169 * window.el (split-window-below, split-window-right): Rename from
170 split-window-above-each-other and split-window-side-by-side
171 respectively. All callers changed.
172 (split-window-sensibly, split-window-sensibly): Use them.
173 (split-window-keep-point): Doc fix.
174
175 * isearch.el: Add isearch-scroll property to split-window-below
176 and split-window-right.
177
178 * follow.el (follow-mode):
179 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
180 * progmodes/ada-xref.el (ada-gdb-application):
181 * emulation/vip.el (vip-buffer-in-two-windows):
182 * image-dired.el (image-dired-dired-with-window-configuration):
183 * dired-x.el (dired-do-find-marked-files):
184 * dired.el (dired-pop-to-buffer):
185 * bs.el (bs--show-with-configuration):
186 * vc/emerge.el (emerge-setup-windows):
187 * textmodes/two-column.el (2C-two-columns):
188 * textmodes/reftex-toc.el (reftex-toc):
189 * progmodes/gdb-mi.el (gdb-setup-windows):
190 * progmodes/fortran.el (fortran-window-create):
191 * net/newst-treeview.el (newsticker--treeview-window-init):
192 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
193 * emulation/tpu-edt.el (tpu-gold-map):
194 * emulation/crisp.el (crisp-mode-map):
195 * calendar/calendar.el (calendar-basic-setup): Callers changed.
196
38bb2ca8
CY
1972011-10-29 Chong Yidong <cyd@gnu.org>
198
aa4de341
CY
199 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
200
e1eb5385
CY
201 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
202
5d2ece3c
CY
203 * textmodes/flyspell.el (flyspell-word): Fix char offset for
204 forged Ispell output (Bug#7904).
205
38bb2ca8
CY
206 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
207
d0af9f77
SM
2082011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * doc-view.el: Avoid ugly errors about not finding nil.
211 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
212 (doc-view-dvipdf-program, doc-view-unoconv-program)
213 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
214 Avoid nil or absolute file name as default value.
215 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
216
52bedd34
AM
2172011-10-28 Alan Mackenzie <acm@muc.de>
218
db22a3c2 219 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 220
7e43cfa5
AM
2212011-10-28 Alan Mackenzie <acm@muc.de>
222
223 Amend the handling of c-beginning/end-of-defun in nested declaration
224 scopes.
225
52bedd34
AM
226 * progmodes/cc-vars.el (c-defun-tactic): Move here from
227 cc-langs.el. Change it to a defcustom.
7e43cfa5 228
52bedd34
AM
229 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
230 cc-vars.el.
7e43cfa5 231
d0af9f77
SM
232 * progmodes/cc-engine.el (c-beginning-of-statement-1):
233 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 234
52bedd34 235 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 236 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
237 (c-widen-to-enclosing-decl-scope): New function.
238 (c-while-widening-to-decl-block): New macro.
239 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
240 outward for defun boundaries, and correspondingly change symbol
241 `respect-enclosure' to `go-outward'.
242 (c-declaration-limits): Change algorithm to report only the "innermost"
243 defun's boundaries.
244
1a2ce9ee
DD
2452011-10-28 Deniz Dogan <deniz@dogan.se>
246
247 * net/rcirc.el (rcirc-mode): Use hard newlines.
248
bc97a826
AM
2492011-10-28 Alan Mackenzie <acm@muc.de>
250
251 Amend to indent and fontify macros "which include their own semicolon"
252 correctly, using the "virtual semicolon" mechanism.
253
52bedd34 254 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 255
d0af9f77 256 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
acc825c5 257 Recode to scan one line at at time rather than having \n and \r
52bedd34 258 explicitly in c-stmt-delim-chars
bc97a826
AM
259 (for some modes, e.g. AWK).
260 (c-forward-label): Amend for virtual semicolons.
261 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
262
52bedd34
AM
263 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
264 of the new C macros.
bc97a826 265
52bedd34 266 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
267 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
268 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
269 (c-opt-cpp-macro-define): Make into a full language variable.
270 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
271 AWK Mode (including \n, \r) removed, no longer needed.
272
d0af9f77
SM
273 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
274 Invoke c-make-macro-with-semi-re.
bc97a826 275
52bedd34
AM
276 * progmodes/cc-vars.el (c-macro-with-semi-re):
277 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
278 (c-make-macro-with-semi-re): New function
279
7a6c0941
SM
2802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * vc/log-edit.el: Fill empty field rather than adding new one.
283 (log-edit-add-field): New function.
284 (log-edit-insert-changelog): Use it.
285
b0c4cdcf
ML
2862011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
287
288 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
289
ee1f1da9
SM
2902011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
293 (gdb--check-interpreter): New function.
294 (gdb): Use it.
295
51bc5f8b
GM
2962011-10-27 Glenn Morris <rgm@gnu.org>
297
416a2c45
GM
298 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
299 (least-positive-float, least-negative-float)
300 (least-positive-normalized-float, least-negative-normalized-float)
301 (float-epsilon, float-negative-epsilon):
302 Remove unnecessary declarations.
303
304 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
305 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
306 (least-positive-float, least-negative-float)
307 (least-positive-normalized-float, least-negative-normalized-float)
308 (float-epsilon, float-negative-epsilon): Add doc-strings,
309 based on those in cl.texi.
310
51bc5f8b
GM
311 * files.el (set-visited-file-name): If the major-mode changed,
312 reload the local variables. (Bug#9796)
313
15de15c6
CY
3142011-10-27 Chong Yidong <cyd@gnu.org>
315
316 * subr.el (change-major-mode-after-body-hook): New hook.
317 (run-mode-hooks): Run it.
318
ee1f1da9
SM
319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
320 Use change-major-mode-before-body-hook.
15de15c6
CY
321
322 * simple.el (fundamental-mode):
323 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
324 change introducing fundamental-mode-hook.
325
5430d399
JB
3262011-10-26 Juanma Barranquero <lekktu@gmail.com>
327
acc825c5 328 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 329
ad74a69e
MA
3302011-10-26 Michael Albinus <michael.albinus@gmx.de>
331
332 * ido.el (ido-file-name-all-completions-1): Do not require
333 tramp.el explicitely. (Bug#7583)
334
71d4c2a5
SM
3352011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * progmodes/octave-mod.el:
338 * progmodes/octave-inf.el: Update maintainer.
339
b1f6fa26
CY
3402011-10-26 Chong Yidong <cyd@gnu.org>
341
342 * subr.el (with-wrapper-hook): Rewrite doc.
343
3f04efd6
MA
3442011-10-25 Michael Albinus <michael.albinus@gmx.de>
345
346 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 347 filenames "/method:foo:". (Bug#9793)
3f04efd6 348
410488d3
SM
3492011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
352 (bug#9865).
353
c1ebb47e
GM
3542011-10-24 Glenn Morris <rgm@gnu.org>
355
356 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
357
7f5c46c7
MA
3582011-10-24 Michael Albinus <michael.albinus@gmx.de>
359
360 * notifications.el: Add the requirement of a running D-Bus session
361 bus to the Commentary.
362
db2440b6
JL
3632011-10-24 Juri Linkov <juri@jurta.org>
364
365 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
366 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
367 (Bug#9364)
368
feecf435
JL
3692011-10-24 Juri Linkov <juri@jurta.org>
370
371 * info.el (Info-following-node-name-re): Add newline to the list
372 of allowed characters for leading space. (Bug#9824)
373
a3839de2
SM
3742011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
375
acc825c5
SM
376 * progmodes/octave-inf.el (inferior-octave-mode-map):
377 Fix C-c C-h binding.
a3839de2
SM
378 * progmodes/octave-mod.el (octave-help): Remove.
379
09388e76
MA
3802011-10-23 Michael Albinus <michael.albinus@gmx.de>
381
382 Sync with Tramp 2.2.3.
383
384 * net/tramp-cache.el (top): Pacify byte-compiler using
385 `init-file-user' and `site-run-file'.
386
387 * net/trampver.el: Update release number.
388
86c60681
CY
3892011-10-23 Chong Yidong <cyd@gnu.org>
390
391 * files.el (toggle-read-only): Remove obsolete comment about
392 version control.
393
394 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
395 for toggle-read-only. Note that this hasn't called vc-next-action
396 since 2008-05-02, though it wasn't documented at the time.
397
a3839de2
SM
398 * vc/ediff-init.el (ediff-toggle-read-only-function):
399 Use toggle-read-only.
86c60681 400
cd5495ff
AM
4012011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
402
403 Fix bug #9560, sporadic wrong indentation; improve instrumentation
404 of c-parse-state.
405
00b77525 406 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 407 correct faulty logical expression.
cd5495ff
AM
408 (c-parse-state-state, c-record-parse-state-state):
409 (c-replay-parse-state-state): New defvar/defuns.
410 (c-debug-parse-state): Use new functions.
411
42ee24ed
MR
4122011-10-22 Martin Rudalics <rudalics@gmx.at>
413
414 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 415 last fix. Use window-in-direction correctly.
42ee24ed 416
a7dee7e7
CY
4172011-10-21 Chong Yidong <cyd@gnu.org>
418
419 * progmodes/idlwave.el (idlwave-mode):
420 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
421 require-final-newline; that's done in prog-mode.
422 Suggested by Stefan Monnier.
a7dee7e7 423
e07b9a6d
MR
4242011-10-21 Martin Rudalics <rudalics@gmx.at>
425
426 * mouse.el (mouse-drag-window-above)
427 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
428 (mouse-drag-mode-line-1, mouse-drag-header-line)
429 (mouse-drag-vertical-line-rightward-window): Remove.
430 (mouse-drag-line): New function.
431 (mouse-drag-mode-line, mouse-drag-header-line)
432 (mouse-drag-vertical-line): Call mouse-drag-line.
433 * window.el (window-at-side-p, windows-at-side): New functions.
434
7e1361d9
UM
4352011-10-21 Ulrich Mueller <ulm@gentoo.org>
436
437 * tar-mode.el (tar-grind-file-mode):
438 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
439
30fcaf3a
CY
4402011-10-21 Chong Yidong <cyd@gnu.org>
441
442 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
443 * progmodes/vera-mode.el (vera-mode):
444 Use mode-require-final-newline.
30fcaf3a 445
516eddb0
GM
4462011-10-20 Glenn Morris <rgm@gnu.org>
447
db22a3c2 448 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 449
10d5f513
CS
4502011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
451
452 * emulation/cua-base.el (cua-set-mark): Fix case of string.
453
ac6c8639
CY
4542011-10-20 Chong Yidong <cyd@gnu.org>
455
456 * emulation/cua-base.el (cua-mode):
457 * mail/footnote.el (footnote-mode):
458 * mail/mailabbrev.el (mail-abbrevs-mode):
459 * net/xesam.el (xesam-minor-mode):
460 * progmodes/bug-reference.el (bug-reference-mode):
461 * progmodes/cap-words.el (capitalized-words-mode):
462 * progmodes/compile.el (compilation-minor-mode)
463 (compilation-shell-minor-mode):
464 * progmodes/gud.el (gud-tooltip-mode):
465 * progmodes/hideif.el (hide-ifdef-mode):
466 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
467 * progmodes/subword.el (subword-mode):
468 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
469 * progmodes/which-func.el (which-function-mode):
470 * term/tvi970.el (tvi970-set-keypad-mode):
471 * term/vt100.el (vt100-wide-mode):
472 * textmodes/flyspell.el (flyspell-mode):
473 * textmodes/ispell.el (ispell-minor-mode):
474 * textmodes/nroff-mode.el (nroff-electric-mode):
475 * textmodes/paragraphs.el (use-hard-newlines):
476 * textmodes/refill.el (refill-mode):
477 * textmodes/reftex.el (reftex-mode):
478 * textmodes/rst.el (rst-minor-mode):
479 * textmodes/sgml-mode.el (html-autoview-mode)
480 (sgml-electric-tag-pair-mode):
481 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
482 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
483 * emulation/crisp.el (crisp-mode):
484 * emacs-lisp/eldoc.el (eldoc-mode):
485 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
486 minor mode behavior.
487
aa42ab43
JL
4882011-10-19 Juri Linkov <juri@jurta.org>
489
490 * descr-text.el (describe-char): Add #x2010 and #x2011 to
491 the list of hard-coded chars with escape-glyph face.
492
89400f1d
SM
4932011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
496
305c07f6
MA
4972011-10-19 Michael Albinus <michael.albinus@gmx.de>
498
499 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
500 running process.
501
13754b54
GM
5022011-10-19 Glenn Morris <rgm@gnu.org>
503
504 * vc/vc-bzr.el (vc-bzr-after-dir-status):
505 Ignore ignored files. (Bug#9726)
506
06e21633
CY
5072011-10-19 Chong Yidong <cyd@gnu.org>
508
509 Doc fix for minor modes, stating that an omitted argument enables
510 the mode unconditionally when called from Lisp.
511
512 * abbrev.el (abbrev-mode):
513 * allout.el (allout-mode):
514 * autoinsert.el (auto-insert-mode):
515 * autoarg.el (autoarg-mode, autoarg-kp-mode):
516 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
517 (global-auto-revert-mode):
518 * battery.el (display-battery-mode):
519 * composite.el (global-auto-composition-mode)
520 (auto-composition-mode):
521 * delsel.el (delete-selection-mode):
522 * desktop.el (desktop-save-mode):
523 * dired-x.el (dired-omit-mode):
524 * dirtrack.el (dirtrack-mode):
525 * doc-view.el (doc-view-minor-mode):
526 * double.el (double-mode):
527 * electric.el (electric-indent-mode, electric-pair-mode):
528 * emacs-lock.el (emacs-lock-mode):
529 * epa-hook.el (auto-encryption-mode):
530 * follow.el (follow-mode):
531 * font-core.el (font-lock-mode):
532 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
533 * help.el (temp-buffer-resize-mode):
534 * hilit-chg.el (highlight-changes-mode)
535 (highlight-changes-visible-mode):
536 * hi-lock.el (hi-lock-mode):
537 * hl-line.el (hl-line-mode, global-hl-line-mode):
538 * icomplete.el (icomplete-mode):
539 * ido.el (ido-everywhere):
540 * image-file.el (auto-image-file-mode):
541 * image-mode.el (image-minor-mode):
542 * iswitchb.el (iswitchb-mode):
543 * jka-cmpr-hook.el (auto-compression-mode):
544 * linum.el (linum-mode):
545 * longlines.el (longlines-mode):
546 * master.el (master-mode):
547 * mb-depth.el (minibuffer-depth-indicate-mode):
548 * menu-bar.el (menu-bar-mode):
549 * minibuf-eldef.el (minibuffer-electric-default-mode):
550 * mouse-sel.el (mouse-sel-mode):
551 * msb.el (msb-mode):
552 * mwheel.el (mouse-wheel-mode):
553 * outline.el (outline-minor-mode):
554 * paren.el (show-paren-mode):
555 * recentf.el (recentf-mode):
556 * reveal.el (reveal-mode, global-reveal-mode):
557 * rfn-eshadow.el (file-name-shadow-mode):
558 * ruler-mode.el (ruler-mode):
559 * savehist.el (savehist-mode):
560 * scroll-all.el (scroll-all-mode):
561 * scroll-bar.el (scroll-bar-mode):
562 * server.el (server-mode):
563 * shell.el (shell-dirtrack-mode):
564 * simple.el (auto-fill-mode, transient-mark-mode)
565 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
566 (line-number-mode, column-number-mode, size-indication-mode)
567 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
568 * strokes.el (strokes-mode):
569 * time.el (display-time-mode):
570 * t-mouse.el (gpm-mouse-mode):
571 * tool-bar.el (tool-bar-mode):
572 * tooltip.el (tooltip-mode):
573 * type-break.el (type-break-mode-line-message-mode)
574 (type-break-query-mode):
575 * view.el (view-mode):
576 * whitespace.el (whitespace-mode, whitespace-newline-mode)
577 (global-whitespace-mode, global-whitespace-newline-mode):
578 * xt-mouse.el (xterm-mouse-mode): Doc fix.
579
a3839de2
SM
580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
581 Fix autogenerated docstring.
06e21633 582
5214e501
JL
5832011-10-19 Juri Linkov <juri@jurta.org>
584
585 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
586 by checking environment variables "DESKTOP_SESSION" and
587 "XDG_CURRENT_DESKTOP". (Bug#9779)
588
195f8db9
JL
5892011-10-19 Juri Linkov <juri@jurta.org>
590
591 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
592 (browse-url-chromium-program, browse-url-chromium-arguments):
593 New defcustoms.
594 (browse-url-default-browser): Check for `browse-url-chromium' and
595 call `browse-url-chromium-program'.
596 (browse-url-chromium): New command. (Bug#9779)
597
343a34ff
JB
5982011-10-18 Juanma Barranquero <lekktu@gmail.com>
599
600 * facemenu.el (list-colors-duplicates): On Windows, detect more
601 duplicates by assuming that only colors matching "^System" are
602 special "system colors". (Bug#9722)
603
6978a151
SM
6042011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
607 to distinguish the author from the committer.
608
6a80b297
MA
6092011-10-18 Michael Albinus <michael.albinus@gmx.de>
610
611 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
612
b31a5677
JK
6132011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
614
615 * international/mule.el (sgml-html-meta-auto-coding-function):
616 Add support for detecting encoding in HTML5 specified only as
617 <meta charset="UTF-8">. Implementation just makes http-equiv and
618 content-type parts from HTML4 encoding string optional. (Bug#9716)
619
80c6d77f
GM
6202011-10-18 Glenn Morris <rgm@gnu.org>
621
622 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
623
08b0fee8
CY
6242011-10-18 Chong Yidong <cyd@gnu.org>
625
626 * faces.el (cursor): Doc fix.
627
67e729a5
CY
6282011-10-17 Chong Yidong <cyd@gnu.org>
629
630 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
631
343a34ff 6322011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
633
634 * dirtrack.el (dirtrack): Support shell buffers with path
635 prefixes, e.g. tramp-based remote shells. (Bug#9647)
636
0bc06380
TZ
6372011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
638
639 * json.el: Bump version to 1.3 and note change in History.
640 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
641
8b79f3e0
SM
6422011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
643
5a7c536b
SM
644 * comint.el (comint-insert-input, comint-send-input)
645 (comint-get-old-input-default, comint-backward-matching-input)
646 (comint-next-prompt): Use nil instead of `input' for field property of
647 past user input (bug#114).
648
96a8a0df
SM
649 * minibuffer.el (completion--replace): Inherit surrounding properties
650 (bug#114).
651 (minibuffer-complete-and-exit): Use it.
652
8b79f3e0
SM
653 * comint.el (comint--table-subvert): Quote the all-completions output
654 (bug#9160).
655
b8f7ff0d
MR
6562011-10-17 Martin Rudalics <rudalics@gmx.at>
657
8b79f3e0 658 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 659
b8f7ff0d 660 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 661 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
662 entries and separate them from frame entries.
663
c235b555
GM
6642011-10-15 Glenn Morris <rgm@gnu.org>
665
666 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
667 Doc fixes.
668
6bbfa6e1
CY
6692011-10-15 Chong Yidong <cyd@stupidchicken.com>
670
8b79f3e0
SM
671 * net/network-stream.el (network-stream-open-starttls):
672 Improve detection of failure due to lack of TLS support.
ec5c990d 673
6bbfa6e1
CY
674 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
675 putting the input text in front and in bold.
676
98488977
SM
6772011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
678
3d1337be
SM
679 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
680
ee0b45e4
SM
681 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
682 empty buffer.
683
98488977
SM
684 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
685 unread-command-events rather than pushing yet-another event.
686
186f4720
EZ
6872011-10-14 Eli Zaretskii <eliz@gnu.org>
688
689 * mail/sendmail.el (sendmail-query-once): Improve the wording of
690 the explanation of the possible choices. Make the options passed
691 to completing-read shorter.
692
8b7a997c
AM
6932011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
694
695 * textmodes/flyspell.el (flyspell-large-region): Make sure
696 extended character mode is used if defined (Bug#1339).
697
12587bbb
EZ
6982011-10-13 Eli Zaretskii <eliz@gnu.org>
699
700 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
701 character info for LRE, LRO, RLE, and RLO characters by appending
702 an invisible PDF.
12587bbb 703
bad41229
SM
7042011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
707 even in case of error; add debug spec; simplify data flow.
708 (with-timeout-handler): Remove.
709
28dbc92f
MA
7102011-10-12 Michael Albinus <michael.albinus@gmx.de>
711
712 Fix Bug#6019, Bug#9315.
713
714 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
715 complete `buffer-file-name', the local file name part could look
716 remotely (for example on VMS).
717
718 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
719 `tramp-run-real-handler'.
720 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
721 already quoted by '"'.
722
723 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
724 Let `file-name-handler-alist' be nil, the local file name part
725 could look remotely (for example on VMS).
726
e1b0b23a
SM
7272011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
730 from here...
731 (flyspell-post-command-hook): ...to here.
732
a120bde9
SM
7332011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
736 if not needed.
737 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
738 using completion. Protect against "slow" callers.
739 Remove the "message hack".
740
7ce7717b
JL
7412011-10-11 Juri Linkov <juri@jurta.org>
742
743 * isearch.el (isearch-lazy-highlight-word): New variable.
744 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
745 Use it. (Bug#9727)
746
c02ee9d6
GM
7472011-10-11 Glenn Morris <rgm@gnu.org>
748
749 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
750 like f90-previous-statement does.
751
93e616fd 7522011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
753
1f190e73 754 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
755 only in interactive use, to avoid error.
756
af7b6078
SM
7572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * minibuffer.el (completion-file-name-table): Fix last change,
760 i.e. ignore normal errors but not the other ones.
761
0563dae9
MR
7622011-10-10 Martin Rudalics <rudalics@gmx.at>
763
764 * window.el (special-display-buffer-names)
765 (special-display-regexps): Remove some remnants of earlier
766 changes from doc-strings.
366ca7f3
MR
767 (quit-windows-on): New function.
768
769 * vc/vc.el (vc-revert, vc-rollback):
770 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
771 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 772 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 773
49677495
MR
7742011-10-09 Martin Rudalics <rudalics@gmx.at>
775
776 * window.el (frame-auto-hide-function): Add version tag.
777 (Bug#9699)
778
56f2d1e1
MA
7792011-10-09 Michael Albinus <michael.albinus@gmx.de>
780
781 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
782 condition.
783
112a6592
LL
7842011-10-09 Leo Liu <sdl.web@gmail.com>
785
786 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
787 (Bug#9701)
788
0812589b
GM
7892011-10-08 Glenn Morris <rgm@gnu.org>
790
791 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
792 before the first code statement zero indent. (Bug#9690)
793
b2b0776e
CY
7942011-10-08 Chong Yidong <cyd@stupidchicken.com>
795
796 * simple.el (count-words-region): Always count in the region.
797 Report the number of lines and characters too.
798 (count-words): New command, which counts in the buffer if the
799 region is inactive, as count-words-region used to.
800 (count-words--message): New function. Handle plurals.
801 (count-lines-region): Make it an alias for count-words-region.
802
803 * bindings.el (esc-map): Replace count-lines-region with
804 count-words-region.
805
c557cd6b
MR
8062011-10-08 Martin Rudalics <rudalics@gmx.at>
807
808 * window.el (window--delete): Delete dedicated frame
809 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 810 (switch-to-buffer): Fix doc-string typo.
c557cd6b 811
61a57ef4 8122011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
813
814 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
815
c3833279
CY
8162011-10-07 Chong Yidong <cyd@stupidchicken.com>
817
818 * bindings.el ([M-left],[M-right]): Bind to left-word and
819 right-word respectively.
820
21ce8245
GM
8212011-10-07 Glenn Morris <rgm@gnu.org>
822
823 * cus-start.el (debug-on-quit): Fix custom type.
824
6d823bb2
LMI
8252011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
826
0181e193
LMI
827 * subr.el (define-key-after): Clarify that the function is not
828 useful for non-menu keymaps.
829
6d823bb2
LMI
830 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
831
8e3459ce 8322011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
833
21ce8245 834 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 835 in current minibuffer (Fix bug with recursive minibuffers).
836
a1c2d21e
CY
8372011-10-06 Chong Yidong <cyd@stupidchicken.com>
838
839 * progmodes/gdb-mi.el (gdb): Doc fix.
840
5a4cf282
MR
8412011-10-05 Martin Rudalics <rudalics@gmx.at>
842
843 * window.el (frame-auto-hide-function): New option replacing
844 frame-auto-delete. Suggested by Stefan Monnier.
845 (window--delete): Call frame-auto-hide-function instead of
846 investigating frame-auto-delete.
c96111ea
MR
847 (window-point-1, set-window-point-1): New functions.
848 (window-in-direction, record-window-buffer, window-state-get-1)
849 (display-buffer-record-window): Use window-point-1 instead of
850 window-point.
851 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 852
9854542e
SM
8532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
854
855 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
856
8943cfb0
GM
8572011-10-05 Glenn Morris <rgm@gnu.org>
858
859 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
860 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
861
647ab967
LL
8622011-10-05 Leo Liu <sdl.web@gmail.com>
863
864 * subr.el (read-char-choice): Fix argument to buffer-live-p which
865 works with buffer object.
866
3ddfbced
SM
8672011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * mpc.el (mpc-tool-bar-map): Add labels.
870
bdfa5dd2
GM
8712011-10-04 Glenn Morris <rgm@gnu.org>
872
873 * calendar/holidays.el (calendar-check-holidays): Doc fix.
874
0e2070b5
MR
8752011-10-04 Martin Rudalics <rudalics@gmx.at>
876
877 * window.el (window--delete): New function.
878 (frame-auto-delete): Resuscitate option.
879 (bury-buffer, replace-buffer-in-windows)
880 (quit-window): Rewrite using window--delete.
881 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
882 Pass display-buffer-mark-dedicated to window--display-buffer-2
883 (Bug#9639).
884
3dc61a09
SM
8852011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
886
915a9b64
SM
887 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
888 returns a list (bug#9554). Add remote file name completion.
889 * comint.el (comint--table-subvert): Curry and get quote&unquote
890 functions as arguments.
891 (comint--complete-file-name-data): Adjust call accordingly.
892 * pcomplete.el (pcomplete--table-subvert): Remove.
893 (pcomplete-completions-at-point): Use comint--table-subvert instead.
894
3dc61a09
SM
895 * minibuffer.el (completion-table-case-fold): Use currying.
896 (completion--styles-type, completion--cycling-threshold-type):
897 New constants.
898 (completion-styles, completion-category-overrides)
899 (completion-cycle-threshold): Use them.
900 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
901 completion-table-case-fold.
902
8ea0a993
SB
9032011-10-03 Stephen Berman <stephen.berman@gmx.net>
904
905 * minibuffer.el (completion-category-overrides): Fix type of styles
906 and add more user friendly tags (bug#9660).
907
8c24b7f6
SM
9082011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
911 (mule-input-method-string): New widget.
912 (default-input-method, language-info-custom-alist): Use it.
913
428fe61a
SM
9142011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
915
32c1fffd
SM
916 * pcomplete.el: Require comint.
917 (pcomplete--common-suffix): Remove.
918 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
919 (pcomplete--table-subvert): Sync with comint--table-subvert.
920 (pcomplete--entries): Use comint-completion-file-name-table.
921 * comint.el (comint-unquote-filename): Simplify.
922 (comint-completion-file-name-table): New function (bug#9616).
923 (comint--complete-file-name-data): Use it.
924
428fe61a
SM
925 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
926 (pcmpl-gnu-tar-buffer): Remove.
927 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
928 around. Make sure pcomplete-suffix-list is only changed temporarily.
929 Don't look inside the tar's file if it's too large.
428fe61a 930
04c52e2f
CY
9312011-10-01 Chong Yidong <cyd@stupidchicken.com>
932
ce3cefcc
CY
933 * cus-edit.el (custom-mode-map):
934 * epa.el (epa-key-list-mode-map):
935 * man.el (Man-mode-map):
936 * startup.el (splash-screen-keymap):
937 * simple.el (special-mode-map): Use scroll-up-command and
938 scroll-down-command.
939
940 * progmodes/idlw-help.el (idlwave-help-mode-map):
941 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
942 * net/newst-plainview.el (newsticker-mode-map):
943 * emulation/ws-mode.el (wordstar-mode-map):
944 * emulation/vi.el (vi-com-map):
945 * calc/calc-graph.el (calc-graph-show-dumb):
946 * term/sun.el (terminal-init-sun):
947 * term/ns-win.el (global-map):
948 * progmodes/grep.el (grep-mode-map):
949 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
950 * mail/rmail.el (rmail-mode-map):
951 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
952
04c52e2f
CY
953 * custom.el (custom-safe-themes, load-theme): Treat value of t for
954 custom-safe-themes as special.
955
79adf8c8
JD
9562011-10-01 Julien Danjou <julien@danjou.info>
957
958 * notifications.el (notifications-notify): Fix docstring.
959
63bd50d3
PS
9602011-10-01 Per Starbäck <per@starback.se>
961
962 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
963
199e4c7e
MR
9642011-09-30 Martin Rudalics <rudalics@gmx.at>
965
966 * startup.el (command-line-1): Fix last fix by inserting
967 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 968 (Bug#9605) and (Bug#9636)
199e4c7e 969
fe5f08dd
EZ
9702011-09-29 Eli Zaretskii <eliz@gnu.org>
971
972 * simple.el (line-move): If auto-hscroll-mode is disabled and the
973 window is hscrolled, move by logical lines. (Bug#9607)
974 (line-move-visual): Update the doc string to the above effect.
975
b5516bbd
MR
9762011-09-29 Martin Rudalics <rudalics@gmx.at>
977
ccee00c0
MR
978 * window.el (display-buffer-record-window): When WINDOW is the
979 selected window use `point' instead of `window-point'. (Bug#9626)
980
b5516bbd
MR
981 * startup.el (command-line-1): Use insert-before-markers when
982 inserting initial-scratch-message. (Bug#9605)
ccee00c0 983
b5516bbd
MR
984 * help.el (help-window): Remove variable.
985
52aa0014
GM
9862011-09-29 Glenn Morris <rgm@gnu.org>
987
988 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
989
df9a7357
JB
9902011-09-29 Juanma Barranquero <lekktu@gmail.com>
991
992 * descr-text.el (describe-char-categories): Accept category
993 descriptions more than one line long.
994
a8406c20
SM
9952011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
996
88d9610c
SM
997 * simple.el (delete-trailing-whitespace): Fix last change.
998
a5daf810
SM
999 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1000 Don't confuse "y => 3" as the beginning of a `y' operation.
1001
a8406c20
SM
1002 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
1003 object has more than 4 slots (bug#9613).
1004
a239d4e9
JB
10052011-09-28 Juanma Barranquero <lekktu@gmail.com>
1006
1007 * subr.el (with-output-to-temp-buffer):
1008 * net/quickurl.el (quickurl, quickurl-browse-url):
1009 Fix typos in docstrings.
1010
693fbdb6
EZ
10112011-09-27 Eli Zaretskii <eliz@gnu.org>
1012
1013 * minibuffer.el (completion-styles)
1014 (completion-category-overrides): Cross reference each other in doc
1015 strings.
1016
8b457e28
GM
10172011-09-27 Glenn Morris <rgm@gnu.org>
1018
1019 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
1020 to split-string. (Bug#9606)
1021
85a16208
LMI
10222011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
1023
1024 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
1025 (bug#9615).
1026
502f9ebd
CY
10272011-09-27 Chong Yidong <cyd@stupidchicken.com>
1028
1029 * emacs-lisp/package.el (list-packages): Fix echo area message.
1030
7690bdea
LL
10312011-09-27 Leo Liu <sdl.web@gmail.com>
1032
1033 * ido.el (ido-read-internal): Accept cons cell HIST arg.
1034
e2ee6f30
MA
10352011-09-25 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * net/dbus.el (dbus-unregister-object): Don't release services for
1038 registered signals. (Bug#9581)
1039
f3f98342
TZ
10402011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
1041
1042 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
1043 function that picks between cfengine 2 and 3 support
1044 automatically. Update docs accordingly.
1045
dd7aa8dd
KH
10462011-09-22 Kenichi Handa <handa@m17n.org>
1047
1048 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
1049 ZERO.
1050 (indian-itrans-v5-table-for-tamil): New variable.
1051 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
1052
3f2b07f8
KM
10532011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
1054
1055 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
1056 that's true if the current command involved collapsing of text.
1057 It's reset to false at the beginning of the next command.
1058 (allout-post-command-business): Move the cursor to the beginning
1059 of entry if the cursor is hidden and collapsing activity just
1060 happened.
1061
371d6a61
CY
10622011-09-24 Chong Yidong <cyd@stupidchicken.com>
1063
1064 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
1065 tracking (Bug#9541).
1066
2ac2721a
UJ
10672011-09-24 Ulf Jasper <ulf.jasper@web.de>
1068
1069 * net/newst-reader.el (newsticker-html-renderer)
1070 (newsticker-show-news): Automatically
343a34ff
JB
1071 load html rendering package if newsticker-html-renderer is set.
1072 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
1073 let-bound" and the error "Symbol's value as variable is void:
1074 w3m-fill-column".
1075
fac7ae53
MA
10762011-09-24 Michael Albinus <michael.albinus@gmx.de>
1077
1078 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
1079 Release services only if they are defined. (Bug#9581)
1080
e08b633b
RS
10812011-09-23 Richard Stallman <rms@gnu.org>
1082
e488d29c
RS
1083 * textmodes/paragraphs.el (forward-sentence): For backwards case,
1084 distinguish start of paragraph from start of its text.
1085
19c38752
RS
1086 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
1087
e08b633b
RS
1088 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
1089 (rmail-generate-viewer-buffer): Put that hook on view buffer.
1090 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
1091
0a39f27e
AS
10922011-09-23 Andreas Schwab <schwab@linux-m68k.org>
1093
1094 * international/mule-diag.el (mule-diag): Insert a newline after
1095 each fontset description.
1096
db4e950d
SM
10972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * simple.el (delete-trailing-whitespace):
1100 Document last change; simplify.
1101
eca3f3ea
PW
11022011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
1103
d68e189a
PW
1104 * simple.el (delete-trailing-whitespace): Also delete
1105 extra newlines at the end of the buffer.
1106
eca3f3ea
PW
1107 * textmodes/picture.el: Make motion commands obey shift-select-mode.
1108 (picture-newline): Use forward-line so as to ignore fields.
1109
01c157cc
SM
11102011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * subr.el (with-wrapper-hook): Fix edebug spec.
1113
022de23e
LMI
11142011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
1115
1116 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
1117 (bug#4538).
1118
91683089
MA
11192011-09-23 Michael Albinus <michael.albinus@gmx.de>
1120
eca3f3ea
PW
1121 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1122 Fix nasty bug using wrong cached values.
91683089 1123
5bdd6fa4
AM
11242011-09-23 Alan Mackenzie <acm@muc.de>
1125
1126 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
1127
97adfb97
CY
11282011-09-23 Chong Yidong <cyd@stupidchicken.com>
1129
1130 * window.el (pop-to-buffer): Ensure right window is selected if we
1131 chose another frame.
1132
d4ef2b50
EZ
11332011-09-22 Eli Zaretskii <eliz@gnu.org>
1134
1135 * simple.el (what-cursor-position): Use get-char-property-change
1136 and next-single-char-property-change, to be able to show display
1137 properties that come from overlays as well as text properties.
1138
72258fe5
CY
11392011-09-22 Chong Yidong <cyd@stupidchicken.com>
1140
1141 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
1142
1143 * cmuscheme.el (run-scheme, switch-to-scheme):
1144 * cus-edit.el (customize-group, custom-buffer-create)
1145 (customize-browse):
1146 * info.el (info):
1147 * shell.el (shell):
1148 * mail/sendmail.el (mail):
1149 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1150
8f098516
RS
11512011-09-22 Richard Stallman <rms@gnu.org>
1152
1153 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1154 move back only to line beg, don't move back over blank lines.
1155
e74f1bb6
MA
11562011-09-22 Michael Albinus <michael.albinus@gmx.de>
1157
1158 * files.el (copy-directory): Set directory attributes only in case
1159 they could be retrieved from the source directory. (Bug#9565)
1160
bfeef8b6
DK
11612011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1162
1163 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1164 (hs-find-block-beginning, hs-hide-level-recursive):
1165 Ignore strings as well as comments. (Bug#9502)
1166
7e423bb8
AS
11672011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1168
1169 * progmodes/sql.el (sql-comint-postgres):
1170 Convert port number to a string. (Bug#9566)
1171
b4d72fcf
MR
11722011-09-22 Martin Rudalics <rudalics@gmx.at>
1173
1174 * window.el (quit-window): Undedicate window when switching to
1175 previous buffer. Reported by Thierry Volpiatto
1176 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1177 (special-display-popup-frame): When popping up a new frame reset
1178 its previous buffers to nil. Simplify code.
b4d72fcf 1179
a7b88dc6
MA
11802011-09-21 Michael Albinus <michael.albinus@gmx.de>
1181
1182 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1183 and process filter, as done also in `shell-command'.
1184
cf4eacfd
MR
11852011-09-21 Martin Rudalics <rudalics@gmx.at>
1186
eca3f3ea
PW
1187 * window.el (set-window-buffer-start-and-point):
1188 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1189 Volpiatto <thierry.volpiatto@gmail.com>.
1190 (quit-window): Reword doc-string. Handle new format of
1191 quit-restore parameter. Don't delete window if it has a
1192 previous buffer we can show instead of the present one.
1193 (display-buffer-record-window): Rewrite using a new format for
1194 the quit-restore window parameter
1195 (special-display-popup-frame, display-buffer-same-window)
1196 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1197 (display-buffer-pop-up-window, display-buffer-use-some-window):
1198 Adapt symbol passed to display-buffer-record-window.
1199 * help.el (help-window-setup): Handle new format of quit-restore
1200 parameter.
1201
8d28cb95
SM
12022011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1203
94ab793f
SM
1204 * faces.el (face-list): Fix docstring (bug#9564).
1205
8d28cb95
SM
1206 * window.el (display-buffer--action-function-custom-type):
1207 Don't include internal functions in the Custom interface.
1208
3820edeb
JL
12092011-09-20 Juri Linkov <juri@jurta.org>
1210
1211 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1212 (Info-forward-node, Info-backward-node, Info-next-preorder)
1213 (Info-last-preorder): Use it. (Bug#9528)
1214
5147931d
JL
12152011-09-20 Juri Linkov <juri@jurta.org>
1216
1217 * info.el (Info-last-preorder): Visit last menu item only when
1218 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1219
cf499a1a
JD
12202011-09-20 Julien Danjou <julien@danjou.info>
1221
1222 * password-cache.el (password-cache-remove): Remove entries even if the
1223 value is nil, so that password with a nil value (negative caching) is
1224 possible to invalidate.
1225
f84e2fe2
LM
12262011-09-20 Lawrence Mitchell <wence@gmx.li>
1227
1228 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1229 all whitespace around breakpoint. (Bug#9553)
1230 (f90-find-breakpoint): Only break at whitespace inside a comment.
1231
78054a46
SM
12322011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * minibuffer.el (completion-file-name-table): Keep track of errors.
1235 (completion-table-with-predicate): Handle the case where pred1 is nil.
1236 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1237
345083b2
SM
12382011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1239
e24e27be
SM
1240 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1241 (debugger-return-value): Signal an error if the debugging context does
1242 not await any return value.
1243
345083b2
SM
1244 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1245 * image-mode.el (image-toggle-display-text)
1246 (image-toggle-display-image): Stay away from evil `intangible'.
1247
08d355e3
LL
12482011-09-19 Leo Liu <sdl.web@gmail.com>
1249
1250 * replace.el (occur-revert-arguments): Make it permanent-local.
1251 (occur-mode): Don't call font-lock-defontify.
1252
f01da43f
CY
12532011-09-19 Chong Yidong <cyd@stupidchicken.com>
1254
1255 * net/ldap.el (ldap-search-internal): Don't push empty search
1256 result (Bug#9508).
1257
b6072fa6
SM
12582011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1261
443d6696
MA
12622011-09-19 Michael Albinus <michael.albinus@gmx.de>
1263
1264 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1265 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1266
7cc6e154
JL
12672011-09-18 Juri Linkov <juri@jurta.org>
1268
1269 * buff-menu.el (Buffer-menu-mode-map):
1270 * dired.el (dired-mode-map):
1271 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1272 (lisp-interaction-mode-map):
1273 * emacs-lisp/package.el (package-menu-mode-map):
1274 * epa.el (epa-key-list-mode-map):
1275 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1276 (menu-bar-options-menu):
1277 * outline.el (outline-mode-menu-bar-map):
1278 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1279 * vc/vc-dir.el (vc-dir-menu-map):
1280 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1281 Capitalize non-function content words in menu item strings.
1282
1283 * dired.el (dired-mode-map): Add menu item for
1284 `image-dired-dired-toggle-marked-thumbs'.
1285
80302a81
JL
12862011-09-18 Juri Linkov <juri@jurta.org>
1287
1288 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1289 to `isearch-case-fold-search' and restore its original value
1290 after the `isearch-mode' call.
1291
46c5cf66
JL
12922011-09-18 Juri Linkov <juri@jurta.org>
1293
1294 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1295 because `zgrep' returns 1 for successful matches (bug#9226).
1296
d18b513b
JL
12972011-09-18 Juri Linkov <juri@jurta.org>
1298
1299 * info.el (Info-extract-menu-node-name): Check the second match
1300 for empty string (second test-case of bug#9528).
1301 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1302 intermediate nodes to the history (first test-case of bug#9528).
1303
72753f87
JL
13042011-09-18 Juri Linkov <juri@jurta.org>
1305
1306 * info.el (Info-mode-syntax-table): New variable.
1307 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1308
c9384295
JL
13092011-09-18 Juri Linkov <juri@jurta.org>
1310
1311 * info.el (Info-file-supports-index-cookies): Increment
1312 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1313 one more line for long file names (bug#4142).
1314
d473dce8
CY
13152011-09-18 Chong Yidong <cyd@stupidchicken.com>
1316
1317 * newcomment.el (comment-normalize-vars): If prompting for
1318 comment-start, set comment-start-skip too (Bug#8424).
1319
2176854d
JB
13202011-09-18 Johan Bockgård <bojohan@gnu.org>
1321
1322 * icomplete.el: Fix previous fix of Bug#5849.
1323 (icomplete-mode): Don't set completion-show-inline-help.
1324 (icomplete-minibuffer-setup): Set completion-show-inline-help
1325 locally during icompletion.
1326
3aace4e4
CY
13272011-09-18 Chong Yidong <cyd@stupidchicken.com>
1328
c940224f
CY
1329 * woman.el (woman2-process-escapes): Don't delete unrecognized
1330 escapes (Bug#7843).
1331
3aace4e4
CY
1332 * files.el (inhibit-first-line-modes-regexps): Add image files.
1333 (hack-local-variables-prop-line): Return nil for malformed
1334 prop-lines (Bug#9044).
1335
710dec63
MA
13362011-09-18 Michael Albinus <michael.albinus@gmx.de>
1337
1338 * net/tramp.el (top): Don't require 'shell.
1339 (tramp-methods): Fix docstring.
1340 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1341 Return complete remote file name. Handle "smb" case.
1342 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1343 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1344
1345 * net/tramp-compat.el (top): Require 'shell.
1346
1347 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1348 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1349 `tramp-current-host'.
1350 (tramp-get-remote-tmpdir): Remove.
1351
1352 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1353 `tramp-tmpdir' entries.
1354 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1355 (tramp-smb-handle-file-attributes): Ignore errors.
1356 (tramp-smb-wait-for-output): Check also for process end.
1357
5d5ac8ec
LMI
13582011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1359
1360 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1361 when sending QUIT (bug#9312).
1362
8c0f49f0
CY
13632011-09-17 Chong Yidong <cyd@stupidchicken.com>
1364
1365 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1366 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1367 occur-mode-display-occurrence.
1368 (occur-edit-mode): Add usage message.
1369 (occur-cease-edit): New command.
1370 (occur-after-change-function): Use text properties to find the
1371 position of the prefix text.
1372 (occur-engine): Set stickiness of prefix text properties.
1373
8f1383f7
GM
13742011-09-17 Glenn Morris <rgm@gnu.org>
1375
1376 * progmodes/etags.el (complete-tag):
1377 Fix call to completion-in-region. (Bug#9526)
1378
744ba0e3
JL
13792011-09-17 Juri Linkov <juri@jurta.org>
1380
1381 * textmodes/ispell.el (ispell-word): Add to the error message
1382 the word, ispell program name and current dictionary (bug#9121).
1383 (ispell-tex-arg-end): Capitalize "error" in the error message.
1384
d9bbf400
AS
13852011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1386
1387 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1388 check. (Bug#4251)
1389
8da11505
JL
13902011-09-17 Juri Linkov <juri@jurta.org>
1391
1392 * window.el (window-safe-min-height, window-safe-min-width):
1393 Fix typos (followup to bug#9522).
1394
a91adc7e
SJ
13952011-09-17 Sven Joachim <svenjoac@gmx.de>
1396
1397 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1398
064f328a
EZ
13992011-09-16 Eli Zaretskii <eliz@gnu.org>
1400
1401 * simple.el (line-move): If goal-column is set, move by logical
1402 lines, not by display lines. (Bug#971)
1403 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1404 to reflect the above change.
1405
e69df516
SM
14062011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * image.el (imagemagick-register-types): Use regexp-opt.
1409
cbb0f9ab
CY
14102011-09-15 Chong Yidong <cyd@stupidchicken.com>
1411
1412 * window.el (display-buffer-base-action): Rename from
1413 display-buffer-default-action. Make default value empty.
1414 (display-buffer-overriding-action): Convert to defvar.
1415 (display-buffer-fallback-action): New var.
1416
25322144
CY
14172011-09-15 Chong Yidong <cyd@stupidchicken.com>
1418
1419 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1420 declaration.
1421 (package--add-to-archive-contents): If there is a duplicate entry
1422 with an older version, remove it.
1423 (package-menu-mark-delete, package-menu-mark-install)
1424 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1425 (package-menu-mark-obsolete-for-deletion):
1426 Use package-menu-get-status instead of a regexp search.
25322144
CY
1427 (package-menu-get-status): Use tabulated-list-entry.
1428 (package-menu-mark-upgrades): New command.
d770725a 1429 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1430 (package-menu-execute): Do installation before deletion.
1431 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1432 instead of checking major-mode.
1433 (package-menu--find-upgrades): New function.
1434
7520339c
LMI
14352011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1436
1437 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1438 passwords in the log buffer.
65a046c4
LMI
1439 (smtpmail-process-filter): Update the process marker so that the
1440 "broken by peer" status message is inserted in the right place.
7520339c 1441
d3c30954
SM
14422011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1443
3fe48822
SM
1444 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1445 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1446 bibtex-completion-at-point-function.
1447 (bibtex-completion-at-point-function): Use them.
1448
1b8b3954
SM
1449 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1450
d3c30954
SM
1451 * mpc.el (mpc-constraints-tag-lookup): New function.
1452 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1453 also to browser "album|playlist".
1454
72779976
JL
14552011-09-14 Juri Linkov <juri@jurta.org>
1456
1457 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1458 (isearch-edit-string): Use length of `isearch-string' when
1459 `isearch-fail-pos' returns nil.
1460 (isearch-message): Remove duplicate code and call
1461 `isearch-fail-pos' with arg `t'.
1462
a0bf2bcd
CY
14632011-09-14 Chong Yidong <cyd@stupidchicken.com>
1464
17bb0a2d
CY
1465 * replace.el (occur-mode-goto-occurrence): Don't force using other
1466 window (Bug#9499).
1467
a0bf2bcd
CY
1468 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1469
f678e0b6
MR
14702011-09-14 Martin Rudalics <rudalics@gmx.at>
1471
1472 * window.el (display-buffer-window): Remove.
1473 (display-buffer-record-window): Use help-setup window parameter
1474 instead of variable display-buffer-window.
1475 (display-buffer-function, special-display-buffer-names)
1476 (special-display-function): Mention help-setup parameter instead
1477 of display-buffer-window in doc-string.
d3c30954
SM
1478 * help.el (help-window-setup): New argument help-window.
1479 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1480 Reword some messages.
1481 (with-help-window): Pass window used for displaying the buffer
1482 to help-window-setup. Don't set display-buffer-window.
1483
8e39b2e8
GM
14842011-09-13 Glenn Morris <rgm@gnu.org>
1485
1486 * emacs-lisp/debug.el (debugger-make-xrefs):
1487 Preserve point. (Bug#9462)
1488
85e9c04b
CY
14892011-09-13 Chong Yidong <cyd@stupidchicken.com>
1490
1491 * window.el (window-deletable-p): Use next-frame.
1492
1b36ed6a
MR
14932011-09-13 Martin Rudalics <rudalics@gmx.at>
1494
1495 * window.el (window-auto-delete): Remove.
1496 (window-deletable-p): Remove argument FORCE. Don't deal with
1497 dedicatedness and previous buffers.
1498 (switch-to-prev-buffer): Don't delete window.
1499 (delete-windows-on): Delete a window's frame if and only if the
1500 window is dedicated.
1501 (replace-buffer-in-windows): Delete buffer's window or frame if
1502 and only if window is dedicated.
1503 (quit-window): Handle quit-restore as before last change.
4d61f28d 1504 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1505
ef8ef9fb
CY
15062011-09-13 Chong Yidong <cyd@stupidchicken.com>
1507
1508 * window.el (window-deletable-p): Never delete the last frame on a
1509 given terminal.
1510
b2cba41e
GM
15112011-09-13 Glenn Morris <rgm@gnu.org>
1512
1513 * help.el (describe-key-briefly): Copy previous standard-output change.
1514
51553db6 15152011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1516
1517 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1518
b7556719
GM
15192011-09-13 Glenn Morris <rgm@gnu.org>
1520
1521 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1522 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1523
64b51947
CY
15242011-09-12 Chong Yidong <cyd@stupidchicken.com>
1525
1526 * dired-aux.el (dired-mark-read-string): Don't return default
1527 value on empty input (Bug#9361).
1528 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1529 Omit initial minibuffer contents.
1530 (dired-do-chmod): Signal an error on empty input.
1531 (dired-mark-read-string): Don't return default on empty input.
1532
1533 * files.el (file-modes-symbolic-to-number): Doc fix.
1534
393a301e
SM
15352011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * international/mule-cmds.el (ucs-completions): Remove.
1538 (read-char-by-name): Use complete-with-action instead; add metadata.
1539
fa5660f9
CY
15402011-09-11 Chong Yidong <cyd@stupidchicken.com>
1541
1542 * window.el (display-buffer--action-function-custom-type)
1543 (display-buffer--action-custom-type): New vars.
1544 (display-buffer-alist, display-buffer-default-action)
1545 (display-buffer-overriding-action): Add defcustom types.
1546
4a592f66
CY
1547 * frame.el (delete-other-frames): Doc fix (Bug#276).
1548
73d56dbd
LMI
15492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1550
1551 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1552
37ac18a3
CY
15532011-09-11 Chong Yidong <cyd@stupidchicken.com>
1554
1555 Change modes that used same-window-* vars to use switch-to-buffer.
1556
1557 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1558 Use switch-to-buffer.
1559
1560 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1561 (customize-browse, custom-buffer-create-other-window):
1562 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1563
1564 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1565 (Info-prev, Info-up, Info-speedbar-goto-node)
1566 (info-display-manual): Use switch-to-buffer.
1567 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1568
1569 * mail/sendmail.el (mail): Use switch-to-buffer.
1570 (mail-recover): Use switch-to-buffer-other-window.
1571
1572 * cmuscheme.el (run-scheme, switch-to-scheme):
1573 * ielm.el (ielm):
1574 * shell.el (shell):
1575 * net/rlogin.el (rlogin):
1576 * net/telnet.el (telnet, rsh):
1577 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1578
10195bd6
AS
15792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1580
1581 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1582
b322f63a
LMI
15832011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1584
39d7fed6
LMI
1585 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1586 so don't mention it (bug#9301).
ba5a81f1 1587 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1588
ee0e9f11
LMI
1589 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1590 match `x', `w32' and `ns', like the manual says (bug#9029).
1591
0b1c89c1 1592 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1593 (process-kill-buffer-query-function): Mention the buffer name in
1594 the query.
0b1c89c1 1595
77549ea8
LMI
1596 * image-mode.el (image-next-line): The line parameter is mandatory
1597 (bug#9258).
1598
803ef892
LMI
1599 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1600 which can be useful (bug#9301).
1601
12980837
LMI
1602 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1603
91054f8f
LMI
1604 * subr.el (match-string): Mention that the current buffer should
1605 be the same as the search was done in (bug#9282).
1606
b322f63a
LMI
1607 * facemenu.el: Disable the remove-* commands if the mark isn't
1608 active (bug#9162).
1609
3199b96f
CY
16102011-09-10 Chong Yidong <cyd@stupidchicken.com>
1611
1612 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1613 of display-buffer.
1614 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1615
1616 * replace.el (occur-mode-goto-occurrence)
1617 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1618 and display-buffer.
1619
1620 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1621 display-buffer.
1622
1623 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1624 special-display and same-window variables.
1625 (mail-other-window): Use switch-to-buffer-other-window.
1626 (mail-other-frame): USe switch-to-buffer-other-frame.
1627
393a301e
SM
1628 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1629 Use display-buffer-other-frame.
3199b96f
CY
1630 (gdb-display-gdb-buffer): Use pop-to-buffer.
1631
1632 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1633
1634 * progmodes/python.el: Don't set same-window-buffer-names.
1635
1636 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1637
1638 * window.el (display-buffer-alist): Add *Python*.
1639
8319e0bf
CY
16402011-09-10 Chong Yidong <cyd@stupidchicken.com>
1641
1642 * window.el (display-buffer-alist): Add entry for buffers
1643 previously handled same-window-*.
1644 (display-buffer-alist, display-buffer-default-action)
1645 (display-buffer-overriding-action): Mark as risky.
1646 (display-buffer-alist): Document action function changes.
1647 (display-buffer--same-window-action)
1648 (display-buffer--other-frame-action): New variables.
1649 (switch-to-buffer, display-buffer-other-frame): Use them.
1650 (display-buffer): Rename reuse-frame entry to reusable-frames.
1651 (display-buffer-reuse-selected-window): Function deleted.
1652 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1653 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1654 (display-buffer-special): New function.
1655 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1656 display-buffer-reuse-or-pop-window. Split off special-display
1657 part into display-buffer-special.
1658 (display-buffer-use-some-window): Don't perform any special
1659 pop-up-frames handling.
1660 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1661 (display-buffer--maybe-same-window): Rename from
0d3ff375 1662 display-buffer-maybe-same-window.
8319e0bf 1663
919a69aa
CY
1664 * info.el: Don't set same-window-regexps.
1665 (info-setup): New function.
1666 (info-other-window, info): Call it.
1667
1668 * cus-edit.el: Don't set same-window-regexps.
1669 (customize-group): New argument.
1670 (customize-group-other-window): Use it.
1671 (customize-face, customize-face-other-window): Likewise.
1672 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1673
8319e0bf
CY
1674 * net/rlogin.el:
1675 * net/telnet.el:
1676 * progmodes/gud.el: Don't set same-window-regexps.
1677
1678 * cmuscheme.el:
1679 * ielm.el:
1680 * shell.el:
1681 * mail/sendmail.el:
1682 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1683
25173000
JL
16842011-09-10 Juri Linkov <juri@jurta.org>
1685
1686 * isearch.el (isearch-edit-string): Remove obsolete mention of
1687 `C-w' (`isearch-yank-word-or-char') from docstring.
1688 (isearch-query-replace): Fix typo in docstring (bug#9466).
1689
056e44ef
JL
16902011-09-10 Juri Linkov <juri@jurta.org>
1691
1692 * paren.el (show-paren-function): Don't show escaped parens.
1693 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1694
c3760c17
EZ
16952011-09-10 Eli Zaretskii <eliz@gnu.org>
1696
1697 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1698 (mm-default-file-encoding): Remove autoload forms, they are
1699 replaced with autoload cookies in mml.el and mm-encode.el.
1700 (mail-add-attachment): New command.
1701 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1702 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1703 the doc string.
1704 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1705
fece895e
RT
17062011-09-10 Reuben Thomas <rrt@sc3d.org>
1707
e69df516
SM
1708 * simple.el (count-words-region): Use buffer if there's no region
1709 (bug#9429).
fece895e 1710
5e68ce4a
JL
17112011-09-09 Juri Linkov <juri@jurta.org>
1712
1713 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1714 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1715 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1716
0a6b9622
AM
17172011-09-09 Alan Mackenzie <acm@muc.de>
1718
1719 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1720 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1721
14a29deb
EZ
17222011-09-09 Eli Zaretskii <eliz@gnu.org>
1723
1724 Fix for Savannah bug#9392.
1725 * simple.el (mail-encode-mml): New defvar.
1726
1727 * mail/rmail.el (mail-encode-mml): Add a defvar.
1728 (rmail-enable-mime-composing): Default to t.
1729 (rmail-forward): Use MIME method of forwarding only if both
1730 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1731 Set mail-encode-mml non-nil if the MIME method was used.
1732
1733 * mail/sendmail.el (mml-to-mime): Add autoload form.
1734 (mail-encode-mml): Add a defvar.
1735 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1736 to nil.
1737 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1738 message through mml-to-mime, and reset mail-encode-mml to nil.
1739
28c45130
GM
17402011-09-09 Glenn Morris <rgm@gnu.org>
1741
1742 * woman.el (woman-if-body): When processing an .el block,
1743 do not delete the next .el block as well. (Bug#9447)
69f4b618 1744 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1745
9b1c252e
MR
17462011-09-08 Martin Rudalics <rudalics@gmx.at>
1747
1748 * window.el (window-deletable-p): Make sure window is live before
1749 invoking window-prev-buffers.
1750
567457e3
LL
17512011-09-08 Leo Liu <sdl.web@gmail.com>
1752
1753 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1754
97f05794
JL
17552011-09-08 Juri Linkov <juri@jurta.org>
1756
1757 * progmodes/compile.el (compilation-environment): Make it
1758 a defcustom (bug#8340).
1759
8b0874b5
MR
17602011-09-08 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (frame-auto-delete): Rename to window-auto-delete.
1763 Make it control auto-deletion of windows and/or frames.
1764 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1765 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1766 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1767 Rewrite handling of case when window/frame can be deleted.
1768 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1769 argument t. (Bug#9456)
8b0874b5 1770
4feb6e73
CY
17712011-09-07 Chong Yidong <cyd@stupidchicken.com>
1772
1773 * help-mode.el (help-mode): Restore autoload.
1774
91ab9c13
JL
17752011-09-07 Juri Linkov <juri@jurta.org>
1776
1777 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1778 `compilation-environment'. Set buffer-local
1779 `compilation-environment' to `thisenv' later after (funcall mode).
1780 (Bug#8340)
1781
1782 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1783 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1784 instead of replacing its value. (Bug#8340)
1785
0527e251
JL
17862011-09-07 Juri Linkov <juri@jurta.org>
1787
1788 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1789 based on text properties put by `grep-filter' instead of matching
1790 escape sequences.
1791 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1792 to the value of `grep-error-screen-columns' (bug#9438).
1793
249f792c
JL
17942011-09-07 Juri Linkov <juri@jurta.org>
1795
1796 * simple.el (next-error-highlight, next-error-highlight-no-select):
1797 Doc fix (bug#9432).
1798
ff7271b9
OT
17992011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1800
1801 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1802 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1803
183fc730
LL
18042011-09-07 Leo Liu <sdl.web@gmail.com>
1805
1806 * net/rcirc.el (rcirc-mode): Conditionally initialize
1807 rcirc-input-ring.
1808
77694924
SM
18092011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * emacs-lisp/find-func.el (find-function-C-source): Only set
1812 find-function-C-source-directory after checking that we found a source
1813 file there (bug#9440).
1814
d809b8eb
AM
18152011-09-06 Alan Mackenzie <acm@muc.de>
1816
1817 * isearch.el (isearch-other-meta-char): Wherever a key list is
1818 unread, "unread" the prefix arg, too. This fixes bug #8901.
1819
453de99f
OG
18202011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1821
1822 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1823
90439906
JL
18242011-09-05 Juri Linkov <juri@jurta.org>
1825
1826 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1827
f62bd846
JL
18282011-09-05 Juri Linkov <juri@jurta.org>
1829
1830 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1831 keeping point where processing of grep matches begins, and
1832 continue to delete remaining escape sequences from the same point.
1833 (grep-filter): Make leading zero optional in "0?1;31m" because
1834 git-grep emits "\033[1;31m" escape sequences unlike expected
1835 "\033[01;31m" as GNU Grep does (bug#9408).
1836 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1837
045820ec
JL
18382011-09-05 Juri Linkov <juri@jurta.org>
1839
1840 * subr.el (y-or-n-p): Capitalize "yes".
1841
f5e29b9b
MA
18422011-09-04 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1845 `tramp-cache-unload-hook' where appropriate.
1846 (tramp-methods): Rename `tramp-remote-sh' to
1847 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1848 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1849
1850 * net/tramp-sh.el (top): Don't require 'shell.
1851 (tramp-methods): Add `tramp-remote-shell' and
1852 `tramp-remote-shell-args' entries.
1853 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1854 (tramp-sh-handle-shell-command): Remove.
1855 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1856 Use `tramp-remote-shell'.
1857
2784c434
CY
18582011-09-03 Chong Yidong <cyd@stupidchicken.com>
1859
393a301e 1860 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1861 (sendmail-query-once): Save directly to send-mail-function.
1862 Update message-send-mail-function too.
1863
1864 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1865
464cdf56
CS
18662011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1867
1868 * progmodes/python.el (python-mode-map): Use correct function to
1869 start python interpreter from menu-bar (as reported by Geert
1870 Kloosterman).
1871 (inferior-python-mode-map): Fix typo.
393a301e 1872 (python-shell-map): Remove.
464cdf56 1873
d37e5c87
DD
18742011-09-03 Deniz Dogan <deniz@dogan.se>
1875
1876 * net/rcirc.el (rcirc-print): Simplify code for
1877 rcirc-scroll-show-maximum-output. There is no need to walk
1878 through all windows to find the right one.
1879
f3ada0ee
CS
18802011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1881
1882 * help.el (help-return-method): Doc fix.
1883
1f3c99ca
MR
18842011-09-03 Martin Rudalics <rudalics@gmx.at>
1885
1886 * window.el (window-deletable-p): Don't return a non-nil value
1887 when there's a buffer that was shown in the window before.
1888 (Bug#9419)
393a301e
SM
1889 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1890 Set window's previous buffers to nil.
1f3c99ca 1891
a3cf097f
EZ
18922011-09-03 Eli Zaretskii <eliz@gnu.org>
1893
1894 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1895 newline before and after the tag line, so it doesn't interfere
1896 with determining the paragraph direction of bidirectional text.
1897
3d03de90
LL
18982011-09-03 Leo Liu <sdl.web@gmail.com>
1899
1900 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1901
c3313451
CY
19022011-09-02 Chong Yidong <cyd@stupidchicken.com>
1903
393a301e 1904 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1905 (pop-to-buffer): Change interactive spec. Pass second argument
1906 directly to display-buffer.
1907 (display-buffer): Fix interactive spec. Use functionp to
1908 distinguish between a function and a list of functions.
1909
1910 * abbrev.el (edit-abbrevs):
1911 * arc-mode.el (archive-extract):
1912 * autoinsert.el (auto-insert):
1913 * bookmark.el (bookmark-bmenu-list):
1914 * files.el (find-file):
1915 * view.el (view-buffer):
1916 * progmodes/compile.el (compilation-goto-locus):
1917 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1918
89894cd8
CY
19192011-09-02 Chong Yidong <cyd@stupidchicken.com>
1920
1921 * window.el (display-buffer-alist): Doc fix.
1922 (display-buffer): Add docstring. Don't treat
1923 display-buffer-default specially.
1924 (display-buffer-reuse-selected-window)
1925 (display-buffer-same-window, display-buffer-maybe-same-window)
1926 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1927 (display-buffer-pop-up-window)
1928 (display-buffer-reuse-or-pop-window)
1929 (display-buffer-use-some-window): New functions.
1930 (display-buffer-default-action): Use them.
393a301e 1931 (display-buffer-default): Delete.
89894cd8
CY
1932 (pop-to-buffer-1): Fix choice of actions.
1933
ae0bc9fb
SM
19342011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * minibuffer.el (completion--insert-strings): Don't get confused by
1937 completion entries that end with an LF char.
1938
e9d90883
EZ
19392011-09-01 Eli Zaretskii <eliz@gnu.org>
1940
1941 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1942
437014c8
CY
19432011-09-01 Chong Yidong <cyd@stupidchicken.com>
1944
1945 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1946 (display-buffer-same-window, display-buffer-other-window):
1947 New functions.
437014c8
CY
1948 (pop-to-buffer-1): New function. Use the above.
1949 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1950 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1951
1952 * view.el (view-buffer-other-window, view-buffer-other-frame):
1953 Just use pop-to-buffer.
1954
a5e063d5
TV
19552011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1956
1957 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1958
793d32bb
WH
19592011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1960
1961 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1962
d65e4c15
RS
19632011-08-31 Richard Stallman <rms@gnu.org>
1964
1965 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1966 of the separation of rmail-view-buffer from rmail-buffer.
1967 If you say no to "replace original", the decrypt is in the
1968 view buffer. If you say yes, the decrypt goes into the
1969 rmail buffer also.
1970
f818cd2a
MR
19712011-08-31 Martin Rudalics <rudalics@gmx.at>
1972
1973 * window.el (display-buffer-window): Rewrite doc-string.
1974 (display-buffer-record-window): New function.
1975 (display-buffer-macro-specifiers)
1976 (display-buffer-even-window-sizes, display-buffer-set-height)
1977 (display-buffer-set-width, display-buffer-in-window)
1978 (display-buffer-reuse-window, display-buffer-split-specifiers)
1979 (display-buffer-side-specifiers, display-buffer-split-window-1)
1980 (display-buffer-split-window, display-buffer-split-atom-window)
1981 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1982 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1983 (display-buffer-other-window-means-other-frame)
1984 (display-buffer-normalize-special)
1985 (display-buffer-normalize-default)
1986 (display-buffer-normalize-argument)
1987 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1988 (display-buffer-normalize-specifiers, display-buffer-frame)
1989 (display-buffer-same-window, display-buffer-same-frame)
1990 (display-buffer-other-window)
1991 (display-buffer-same-frame-other-window)
1992 (display-buffer-other-frame, pop-to-buffer-same-window)
1993 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1994 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1995 (switch-to-buffer-same-frame)
1996 (switch-to-buffer-other-window-same-frame)
1997 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1998 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1999 (display-buffer-alist-set): Remove.
2000 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
2001 (special-display-regexps, special-display-function):
2002 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
2003 parameter.
2004 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
2005 (special-display-frame-alist, special-display-popup-frame)
2006 (same-window-buffer-names, same-window-regexps, same-window-p)
2007 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2008 (split-window-preferred-function, split-height-threshold)
2009 (split-width-threshold, window-splittable-p)
2010 (split-window-sensibly, window--try-to-split-window)
2011 (window--frame-usable-p, even-window-heights)
2012 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
2013 (window--display-buffer-2, display-buffer-other-frame):
2014 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
2015 (display-buffer-default, display-buffer-assq-regexp): New functions.
2016 (display-buffer-alist): Rewrite doc-string.
2017 (display-buffer-default-action)
2018 (display-buffer-overriding-action): New variables.
2019 (display-buffer, switch-to-buffer): Rewrite.
2020 (pop-to-buffer): Restore Emacs 23 behavior but use
2021 window-normalize-buffer-to-display.
2022 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
2023 Restore Emacs 23 behavior but use
2024 window-normalize-buffer-to-switch-to.
2025 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
2026 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
2027 Rewrite using Emacs 23 options.
f818cd2a 2028
5bc3b51d
MA
20292011-08-31 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * net/tramp.el (tramp-root-regexp): Remove.
2032 (tramp-completion-file-name-regexp-unified)
2033 (tramp-completion-file-name-regexp-separate)
2034 (tramp-completion-file-name-regexp-url): Don't use leading volume
2035 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
2036 (tramp-drop-volume-letter): Simplify definition.
2037 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 2038
b1a4f8e1
SM
20392011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
2042 (bug#9356).
2043
5664fa7b
RT
20442011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
2045
b1a4f8e1 2046 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 2047
9a45d6c3
JL
20482011-08-29 Juri Linkov <juri@jurta.org>
2049
2050 * isearch.el (isearch-done): Don't display message "Mark saved"
2051 when arg `edit' is non-nil to prevent its flicker in the echo area.
2052
fb87e0fb
CY
20532011-08-28 Chong Yidong <cyd@stupidchicken.com>
2054
2055 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
2056 obsolete packages for deletion.
2057
09ac1c2a
CS
20582011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
2059
2060 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 2061 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
2062 view-mode from help-mode.
2063 (help-xref-override-view-map): Remove.
2064 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
2065 view-mode is not used anymore.
2066
7a1ff57f
CY
20672011-08-28 Chong Yidong <cyd@stupidchicken.com>
2068
2069 * server.el (server-port): Doc fix.
2070
b9696605
CY
2071 * cus-theme.el (custom-theme-choose-mode): Inherit from
2072 special-mode (Bug#9124).
2073 (custom-theme-choose-mode-map): Add special-mode to parent.
2074
ef8cdf8c
AM
20752011-08-28 Alan Mackenzie <acm@muc.de>
2076
2077 * progmodes/cc-fonts.el
2078 (c-make-font-lock-BO-decl-search-function): New function.
2079 (c-basic-matchers-after - "Fontify the clauses after various
2080 keywords"): Extract the three keyword lists for the 3 erroneous
2081 constructs from the list of four, and use the new function above
2082 in place of an old one.
2083
27de4e20
DD
20842011-08-28 Deniz Dogan <deniz@dogan.se>
2085
2086 * net/rcirc.el (rcirc-insert-prev-input)
2087 (rcirc-insert-next-input): Remove unused argument.
2088
356a3681
SM
20892011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
2092
3fc9b218
AM
20932011-08-27 Alan Mackenzie <acm@muc.de>
2094
2095 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
2096 handle function pointer parameters properly.
2097
538a061c
MR
20982011-08-27 Martin Rudalics <rudalics@gmx.at>
2099
2100 * window.el (display-buffer-reuse-window): Fix case where
2101 selected window was reused with non-nil OTHER-WINDOW argument.
2102 (Bug#9381)
2103
35b1c40c
DD
21042011-08-27 Deniz Dogan <deniz@dogan.se>
2105
2106 * net/rcirc.el (rcirc-check-auth-status): Adding support for
2107 oftc's NickServ messages.
2108
2f6a3e79
GM
21092011-08-27 Glenn Morris <rgm@gnu.org>
2110
2111 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
2112
7254299e
CY
21132011-08-26 Chong Yidong <cyd@stupidchicken.com>
2114
2115 * emacs-lisp/package.el (package-install): Call package-initialize
2116 if called interactively.
2117
f8ccf167
LL
21182011-08-26 Leo Liu <sdl.web@gmail.com>
2119
2120 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
2121
3e8cd5ce
JL
21222011-08-25 Juri Linkov <juri@jurta.org>
2123
2124 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
2125 `search-whitespace-regexp' (bug#9364).
2126
93eb7113
JL
21272011-08-25 Juri Linkov <juri@jurta.org>
2128
2129 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
2130 `regexp-search-ring' to their global values to protect from
2131 updating by `read-from-minibuffer' (bug#9185).
2132
f65d1611
JL
21332011-08-25 Juri Linkov <juri@jurta.org>
2134
2135 * textmodes/ispell.el (ispell-command-loop): Add newline
2136 at the end of the "Use option `i'..." line.
2137
f1cf7a31
JL
21382011-08-25 Juri Linkov <juri@jurta.org>
2139
2140 * battery.el (display-battery-mode): If `battery-status-function'
2141 or `battery-mode-line-format' is nil, display the message and set
2142 `display-battery-mode' to nil (bug#9363).
2143
0c95fcf7
EZ
21442011-08-25 Eli Zaretskii <eliz@gnu.org>
2145
2146 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2147 bidi-string-mark-left-to-right; they are unnecessary now.
2148
a2ebe600
DD
21492011-08-25 Deniz Dogan <deniz@dogan.se>
2150
2151 * net/quickurl.el: Documentation typo fixes.
2152
e4ed06f1
CY
21532011-08-25 Chong Yidong <cyd@stupidchicken.com>
2154
2155 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2156
e5f1c99e
GM
21572011-08-25 Glenn Morris <rgm@gnu.org>
2158
b2948976
GM
2159 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2160
e5f1c99e
GM
2161 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2162 (smtpmail-via-smtp): Handle nil response from smtp.
2163
f22f4808
JL
21642011-08-24 Juri Linkov <juri@jurta.org>
2165
2166 * proced.el (proced-marked): Inherit from `error' instead of
2167 `font-lock-warning-face'.
2168
2169 * ibuffer.el (ibuffer-marked-face): Change default face from
2170 `font-lock-warning-face' to `warning'.
2171 (ibuffer-deletion-face): Change default face from
2172 `font-lock-type-face' to `error'.
2173
2174 * battery.el (battery-update): Use the face `error' instead of
2175 `font-lock-warning-face' (bug#6117).
2176
6a93965e
JL
21772011-08-24 Juri Linkov <juri@jurta.org>
2178
2179 * faces.el (success): Change face color from "Green3" to
2180 "ForestGreen" on light background (bug#9353).
2181
1ed43b09
CY
21822011-08-24 Chong Yidong <cyd@stupidchicken.com>
2183
5664fa7b
RT
2184 * window.el (quit-window): Rename from quit-restore-window.
2185 Use same arglist as old quit-window.
1ed43b09
CY
2186 (frame-auto-delete): Doc fix.
2187
2188 * view.el (view-mode-exit): Use quit-window.
2189
11dcdbb2
JL
21902011-08-24 Juri Linkov <juri@jurta.org>
2191
2192 * isearch.el (isearch-ring-adjust1): Start visiting previous
2193 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2194 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2195 for empty search string (when the last search string is reused
2196 automatically) to adjust the isearch ring to the last element and
2197 prepare the correct index for further M-p commands (bug#9185).
2198
de62b4df
KH
21992011-08-24 Kenichi Handa <handa@m17n.org>
2200
2201 * international/ucs-normalize.el: If decomposition property of
2202 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2203 nil.
2204 (nfd, nfkd): Likewise.
2205
963b492b
SM
22062011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2209 from process filters aren't reliably transmitted to the surrounding
2210 accept-process-output.
2211 (mpc-proc-check): New function.
2212 (mpc-proc-sync): Use it (bug#8293)
2213
93b6b5e1
SM
22142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2217 Add compatibility functions (bug#9313).
2218
bca633fb
EZ
22192011-08-23 Eli Zaretskii <eliz@gnu.org>
2220
b177498a
EZ
2221 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2222
bca633fb
EZ
2223 * international/uni-bidi.el: Regenerated.
2224
0902a04e
KH
22252011-08-23 Kenichi Handa <handa@m17n.org>
2226
2227 * international/charprop.el:
2228 * international/uni-bidi.el:
2229 * international/uni-category.el:
2230 * international/uni-combining.el:
2231 * international/uni-comment.el:
2232 * international/uni-decimal.el:
2233 * international/uni-decomposition.el:
2234 * international/uni-digit.el:
2235 * international/uni-lowercase.el:
2236 * international/uni-mirrored.el:
2237 * international/uni-name.el:
2238 * international/uni-numeric.el:
2239 * international/uni-old-name.el:
2240 * international/uni-titlecase.el:
2241 * international/uni-uppercase.el: Regenerate.
2242
3bbf23bc
MR
22432011-08-23 Martin Rudalics <rudalics@gmx.at>
2244
2245 * help.el (help-window-setup): Fix message displayed when other
2246 window is reused. (Bug#9341)
2247
b3fd59bd
SM
22482011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2249
1802e444
SM
2250 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2251 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2252
b3fd59bd
SM
2253 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2254 Mark obsolete.
2255 * shell.el (shell-parse-pcomplete-arguments): New function.
2256 (shell-completion-vars): Use it instead (bug#9160).
2257
4eb61348
SM
22582011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2259
867cab74
SM
2260 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2261 strings and comments (bug#9333).
2262
4eb61348
SM
2263 * emacs-lisp/debug.el (debug-arglist): New function.
2264 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2265 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2266
262a1439
JL
22672011-08-22 Juri Linkov <juri@jurta.org>
2268
56ee679c
JL
2269 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2270 Revert regexp that highlights output switches to its old
2271 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2272
262a1439
JL
2273 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2274 to check for empty output (bug#9226).
2275
f13f86fb
CY
22762011-08-22 Chong Yidong <cyd@stupidchicken.com>
2277
2278 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2279 symbol-constituent as the default, as that stops font-lock from
2280 working properly (Bug#8843).
2281
c65c9622
LMI
22822011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2283
2284 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2285 `coding-system-for-*' around the process open call to avoid
2286 auth-source side effects.
e7f2c178 2287 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2288 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2289 probe hangs.
c65c9622 2290
23a8a5ab
CY
22912011-08-21 Chong Yidong <cyd@stupidchicken.com>
2292
ff98b2dd
CY
2293 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2294
23a8a5ab
CY
2295 * emacs-lisp/find-func.el (find-function-noselect): New arg
2296 lisp-only.
2297
2298 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2299 signal an error for built-in functions (Bug#6664).
2300
f5e3c598
LMI
23012011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2302
2303 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2304 (smtpmail-try-auth-methods): Use it.
2305
a3f2468a
CY
23062011-08-21 Chong Yidong <cyd@stupidchicken.com>
2307
2c34e8da
CY
2308 * font-lock.el (font-lock-fontify-region)
2309 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2310 (font-lock-default-unfontify-buffer)
2311 (font-lock-default-fontify-region)
2312 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2313
b3fd59bd
SM
2314 * progmodes/compile.el (compilation-error-properties):
2315 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2316 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2317 `ant' regexp.
ee31aabc 2318
a3f2468a
CY
2319 * net/browse-url.el (browse-url-firefox): Don't call
2320 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2321
8e999f70
GM
23222011-08-20 Glenn Morris <rgm@gnu.org>
2323
c21a496a
GM
2324 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2325
59ee0542
GM
2326 * tutorial.el (tutorial--default-keys): Update some default bindings.
2327
8e999f70
GM
2328 * files.el (hack-local-variables): Fully ignore case for "mode:".
2329
e3715033
AM
23302011-08-20 Alan Mackenzie <acm@muc.de>
2331
2332 Resolve invalid use of a regexp in regexp-opt.
2333
4d61f28d
JB
2334 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2335 detection for a java annotation.
e3715033 2336
4d61f28d 2337 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2338 detection for a java annotation.
2339
4d61f28d
JB
2340 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2341 handling for java.
e3715033
AM
2342 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2343
04ed2e9c
CY
23442011-08-20 Chong Yidong <cyd@stupidchicken.com>
2345
2346 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2347 (Bug#9274).
2348
826cee64
AM
23492011-08-20 Alan Mackenzie <acm@muc.de>
2350
2351 * Fontify CPP expressions correctly when starting in the middle of
2352 such a construct. Mainly for when jit-lock etc. starts a chunk
2353 here.
2354
2355 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2356 variable.
2357 (c-make-font-lock-search-form): new function, extracted from
2358 c-make-font-lock-search-function.
2359 (c-make-font-lock-search-function): Use the above function.
2360 (c-make-font-lock-context-search-function): New function.
2361 (c-cpp-matchers): Enhance the preprocessor expression case with
2362 the above function
2363 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2364 which takes an expression.
2365
2366 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2367
13009bd8
MR
23682011-08-20 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (display-buffer-reuse-window)
2371 (display-buffer-pop-up-window): Don't reuse or split a side
2372 window.
2373
9234ff7f
GM
23742011-08-19 Glenn Morris <rgm@gnu.org>
2375
2376 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2377 Downcase "Mode:". (Bug#9331)
9234ff7f 2378
f635daa1
CY
23792011-08-18 Chong Yidong <cyd@stupidchicken.com>
2380
2381 * international/characters.el: Add L and R categories.
2382
2383 * subr.el (bidi-string-mark-left-to-right): Rename from
2384 string-mark-left-to-right. Use category search.
2385
2386 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2387
bc987f8b
JL
23882011-08-18 Juri Linkov <juri@jurta.org>
2389
2390 * faces.el (error, warning, success): New faces with definitions
2391 copied from old default values of `font-lock-warning-face',
2392 `compilation-warning', `compilation-info' (bug#6117).
2393
2394 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2395
2396 * progmodes/compile.el (compilation-error): Inherit from `error'.
2397 (compilation-warning): Inherit from `warning'.
2398 (compilation-info): Inherit from `success'.
2399
2400 * dired.el (dired-marked): Inherit from `warning'.
2401 (dired-flagged): Inherit from `error'.
2402
57173b96
LMI
24032011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2404
3e79eb87
LMI
2405 * mail/smtpmail.el (auth-source): Require to avoid problems with
2406 binding variables (bug#9298). Also clean up some unused
2407 autoloads.
2408
b3fd59bd
SM
2409 * net/network-stream.el (network-stream-open-starttls):
2410 Support using starttls.el without using gnutls-cli.
57173b96 2411
02b404de
JL
24122011-08-17 Juri Linkov <juri@jurta.org>
2413
2414 * progmodes/grep.el (rgrep): Handle the case when
2415 `grep-find-command' is a cons cell (bug#9278).
2416
8c9177f2
MR
24172011-08-17 Martin Rudalics <rudalics@gmx.at>
2418
2419 * window.el (display-buffer-pop-up-frame): Run frame creation
2420 function with BUFFER current (as special-display-popup-frame
2421 does). Reported by Drew Adams.
2422
3644a0ab
DU
24232011-08-17 Daiki Ueno <ueno@unixuser.org>
2424
2425 * epa-mail.el: Simplify GnuPG group expansion using
2426 epg-expand-group.
2427 (epa-mail-group-alist, epa-mail-group-modtime)
2428 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2429 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2430 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2431 Remove.
2432
5e617bc2 24332011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2434
2435 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2436
9c4aeabf
AM
24372011-08-16 Alan Mackenzie <acm@muc.de>
2438
2439 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2440 Correct, to avoid the inside of macros.
2441
3a99bf64
RS
24422011-08-16 Richard Stallman <rms@gnu.org>
2443
04963aa8
RS
2444 * epa-mail.el: Handle GnuPG group definitions.
2445 (epa-mail-group-alist, epa-mail-group-modtime)
2446 (epa-mail-gnupg-conf-file): New variables.
2447 (epa-mail-parse-groups, epa-mail-sync-groups)
2448 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2449 (epa-mail-expand-recipients): New functions.
2450 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2451
177549d0
RS
2452 * mail/rmail.el (rmail-epa-decrypt): New command.
2453
fe38beef
RS
2454 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2455 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2456 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2457 (epa-decrypt-armor-in-region): Make error message clearer.
2458
934eacb9
SM
24592011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2462 and "a2b" to "ab" for `prefix'.
2463
d024fb4e
CY
24642011-08-14 Chong Yidong <cyd@stupidchicken.com>
2465
2466 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2467 filter groups.
de148fee
CY
2468 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2469 Fourquet (Bug#8804).
d024fb4e 2470
62f1ca49
JB
24712011-08-12 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * startup.el (argi): Declare as global variable (bug#9275).
2474
9ccaaa4b
CY
24752011-08-12 Chong Yidong <cyd@stupidchicken.com>
2476
2477 * subr.el (string-mark-left-to-right): Search the entire string
2478 for RTL script, not just the terminating character. Doc fix.
2479
a3dae87a
SM
24802011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2481
6cd18349
SM
2482 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2483 New function.
2484 (js--regexp-literal, js-syntax-propertize-function): Remove.
2485 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2486 (js-mode-map): Don't rebind electric keys.
2487 (js-insert-and-indent): Remove.
2488 (js-mode): Setup electric-layout and electric-indent instead.
2489
a3dae87a
SM
2490 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2491
9d5cb631
DU
24922011-08-12 Daiki Ueno <ueno@unixuser.org>
2493
2494 * epa.el (epa-progress-callback-function): Fix the logic of
2495 displaying progress.
2496 * epa-file.el (epa-file-insert-file-contents): Make progress
2497 display more user-friendly.
2498 (epa-file-write-region): Ditto.
2499
3e26a4a2
CY
25002011-08-10 Chong Yidong <cyd@stupidchicken.com>
2501
2502 * subr.el (string-mark-left-to-right): New function.
2503
2504 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2505 Use string-mark-left-to-right.
2506 (list-buffers-noselect): Caller changed.
2507
a3dae87a
SM
2508 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2509 Use string-mark-left-to-right.
3e26a4a2
CY
2510 (tabulated-list-print): Recenter after moving point.
2511
ac8cf6e6
JL
25122011-08-10 Juri Linkov <juri@jurta.org>
2513
2514 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2515 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2516 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2517
8d96c9a4
CY
25182011-08-09 Chong Yidong <cyd@stupidchicken.com>
2519
2520 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2521 (Bug#7554).
2522
7be1c708 25232011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2524
2525 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2526 character. (Bug#6594)
2527
37e11a63
CY
25282011-08-08 Chong Yidong <cyd@stupidchicken.com>
2529
839dde57
CY
2530 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2531 (image-dired--with-db-file): New macro.
2532 (image-dired-write-tags, image-dired-remove-tag)
2533 (image-dired-create-gallery-lists, image-dired-write-comments)
2534 (image-dired-get-comment, image-dired-mark-tagged-files)
2535 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2536 (image-dired-gallery-generate): Use insert-file-contents.
2537
37e11a63
CY
2538 * time.el (display-time-world-list, display-time-world-display):
2539 * time-stamp.el (time-stamp-string):
2540 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2541 set-time-zone-rule (Bug#7337).
2542
0b4946c4
DU
25432011-08-08 Daiki Ueno <ueno@unixuser.org>
2544
2545 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2546 (epg-error-to-string, epg-errors-to-string): New function.
2547 (epg-wait-for-completion): Reverse errors list.
2548 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2549 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2550 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2551 (epg-sign-keys, epg-generate-key-from-file)
2552 (epg-generate-key-from-string): Format errors by using
2553 epg-errors-to-string (bug#9255).
2554 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2555
75bfc667
JL
25562011-08-07 Juri Linkov <juri@jurta.org>
2557
2558 * faces.el (list-faces-display): Remove extra angle bracket
2559 from `help-mode-map'.
2560
2561 * info.el (Info-history-toc-nodes): Doc fix.
2562
2563 * longlines.el (longlines-mode): Doc fix.
2564
673e08bb
SM
25652011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2566
4640dd88
SM
2567 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2568 of statements and in a few more cases (bug#9183).
2569
673e08bb
SM
2570 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2571 New functions.
2572 (cl-transform-lambda): Use them (bug#9239).
2573
89b3f019
MR
25742011-08-05 Martin Rudalics <rudalics@gmx.at>
2575
2576 * window.el (display-buffer-same-window)
2577 (display-buffer-same-frame, display-buffer-other-window)
2578 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2579 (pop-to-buffer-other-window)
2580 (pop-to-buffer-same-frame-other-window)
2581 (pop-to-buffer-other-frame): Make them defuns.
2582 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2583
640c8776
SM
25842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * subr.el (make-composed-keymap): Move from C. Change calling
2587 convention, and improve docstring to bring attention to a subtle point.
2588 * minibuffer.el (completing-read-default): Adjust accordingly.
2589
63648a95
MA
25902011-08-03 Michael Albinus <michael.albinus@gmx.de>
2591
2592 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2593 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2594
2595 * net/trampver.el: Update release number.
2596
b796c9b7
SM
25972011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2598
2599 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2600 "in" (bug#9190).
2601
2239d7d5
LMI
26022011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2603
e07dd7c3
LMI
2604 * mail/sendmail.el (sendmail-query-once): Restore the current
2605 buffer after querying (bug#9074).
2606
0e6a2bd7
LMI
2607 * dired.el (dired-flagged): Use different faces for marked and
2608 flagged files (bug#6117).
2609
ce887515
LMI
2610 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2611 (bug#4433).
2612
92f2affc
LMI
2613 * ido.el (ido-mode): Switch off the message if called
2614 non-interactively.
2615
57d5aff0
LMI
2616 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2617 before 587, since it appears that that's more likely to work for
2618 more people.
2619
98cd6c18
LMI
2620 * cus-edit.el (custom-file): When running under emacs -q, always
2621 refuse to save the customisations, even if the .emacs file doesn't
2622 exist.
2623
b96dec83
LMI
2624 * info.el: Remove the `Info-beginning-of-buffer' function
2625 (bug#8325).
2626
b796c9b7
SM
2627 * net/network-stream.el (network-stream-open-starttls):
2628 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2629
d90e2ea0
MR
26302011-08-01 Martin Rudalics <rudalics@gmx.at>
2631
2632 * window.el (display-buffer-in-window): Don't set dedicated status
2633 of window here (Bug#9215).
2634 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2635 (display-buffer-pop-up-side-window)
b796c9b7 2636 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2637
cca09170
SM
26382011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2641 before binding generated-autoload-file.
2642
027b979c
DD
26432011-08-01 Deniz Dogan <deniz@dogan.se>
2644
2645 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2646
3c7ee4f3
MA
26472011-07-30 Michael Albinus <michael.albinus@gmx.de>
2648
2649 Sync with Tramp 2.2.2.
2650
2651 * net/trampver.el: Update release number.
2652
2cc8e51a
JL
26532011-07-30 Juri Linkov <juri@jurta.org>
2654
2655 * dired-aux.el (dired-touch-initial): Remove function.
2656 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2657 current time, and `default' to the last modification time of the
2658 current marked file (bug#6887).
2659
a514d856
JM
26602011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2661
2662 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2663 numeric argument to read-number (bug#9163).
a514d856 2664
8a7eddd7
MA
26652011-07-27 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2668 connection process, it could be nil.
2669
1ddd96f5
LL
26702011-07-27 Leo Liu <sdl.web@gmail.com>
2671
2672 Simplify url handling in rcirc-mode.
2673
2674 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2675 (rcirc-browse-url-at-mouse): Remove.
2676 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2677
b248a85d
AM
26782011-07-26 Alan Mackenzie <acm@muc.de>
2679
2680 Fontify bitfield declarations properly.
2681
2682 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2683 (c-symbol-chars): Now exported as a lang variable.
2684 (c-not-primitive-type-keywords): New lang variable.
2685
2686 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2687 QT keyword "more" to prevent "more slots: ...." being spuriously
2688 parsed as a bitfield declaraion.
2689
b796c9b7
SM
2690 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2691 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2692 (c-punctuation-in): New function.
2693 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2694 declarations properly.
2695
68575ab0
UJ
26962011-07-26 Ulf Jasper <ulf.jasper@web.de>
2697
2698 * calendar/icalendar.el (icalendar--all-events): Take care of
2699 multiple vcalendars in a single file.
b796c9b7 2700 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2701
0f0a88b9
DD
27022011-07-25 Deniz Dogan <deniz@dogan.se>
2703
2704 * image.el (insert-image): Clarifying docstring.
2705
0b3f36df
MA
27062011-07-24 Michael Albinus <michael.albinus@gmx.de>
2707
2708 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2709 `tramp-send-command-and-check' if there is no error.
2710 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2711
a9901f61
AM
27122011-07-22 Alan Mackenzie <acm@muc.de>
2713
2714 Prevent cc-langs.elc being loaded at run time.
2715
2716 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2717 cc-langs.
2718
4d61f28d 2719 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2720 "(require 'cc-langs)". Quote a form so it will evaluate at
2721 (cc-mode's) compilation time.
2722
11d074b2
MA
27232011-07-22 Michael Albinus <michael.albinus@gmx.de>
2724
2725 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2726 loading. (Bug#9114)
2727
938b94c8
MR
27282011-07-21 Martin Rudalics <rudalics@gmx.at>
2729
2730 * window.el (display-buffer-pop-up-window)
2731 (display-buffer-pop-up-side-window)
2732 (display-buffer-in-side-window): Call display-buffer-set-height
2733 and display-buffer-set-width after setting the new window's
b796c9b7 2734 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2735
bfa4f190
SS
27362011-07-20 Sam Steingold <sds@gnu.org>
2737
2738 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2739 (etags-tags-included-tables): Call `convert-standard-filename' on
2740 the file names contained in TAGS so that windows Emacs can handle
2741 TAGS files created by cygwin ctags.
2742
8ca42262
LMI
27432011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2744
2745 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2746 which apparently didn't work.
2747
5db2afd2 27482011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2749
5db2afd2
RW
2750 * proced.el (proced-send-signal): For *Marked Processes* buffer
2751 put point at beginning of buffer.
2752
92e15d10
SB
27532011-07-19 Stephen Berman <stephen.berman@gmx.net>
2754
2755 * proced.el (proced-format): Make header lines align with the text
2756 (bug#1779).
2757
1bfd59e5
LMI
27582011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2759
2760 * view.el (view-buffer): Allow running in `special' modes if we're
2761 visiting a file (bug#8615).
2762
f5aae37c
MR
27632011-07-19 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2766 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2767 New functions.
f5aae37c
MR
2768 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2769 more accurately.
2770
bf2c1571
AM
27712011-07-18 Alan Mackenzie <acm@muc.de>
2772
2773 Fontify declarators properly when, e.g., a jit-lock chunk begins
2774 inside a declaration.
2775
2776 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2777
b796c9b7
SM
2778 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2779 New function.
bf2c1571
AM
2780 (c-complex-decl-matchers): Insert reference to
2781 c-font-lock-enclosing-decls.
2782
2783 * progmodes/cc-engine.el (c-backward-single-comment):
2784 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2785 to nil around calls to (forward-comment -1).
2786
4e190b80
LMI
27872011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2788
12dc863d
LMI
2789 * image.el (put-image): Doc typo fix.
2790
a762e966
LMI
2791 * progmodes/etags.el (tags-search): Doc typo fix.
2792
4e190b80
LMI
2793 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2794 password if we get errors 550 to 554.
2795
f019fb21
LMI
27962011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2797
b796c9b7 2798 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2799
81746738
LMI
2800 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2801 indentation character (bug#6380).
2802
3ee3a1b5
LMI
2803 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2804
c82f64de
LMI
2805 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2806 to clarify what the problem is (bug#4291).
2807
f019fb21
LMI
2808 * simple.el (current-kill): Clarify what
2809 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2810 (auto-fill-mode): Document `auto-fill-function' in relation to
2811 `auto-fill-mode' (bug#2470).
f019fb21 2812
0794775d
LM
28132011-07-16 Lawrence Mitchell <wence@gmx.li>
2814
2815 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2816 method if slot is read-only (bug#9035).
2817
be39b8cc
MR
28182011-07-16 Martin Rudalics <rudalics@gmx.at>
2819
b796c9b7 2820 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2821 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2822 selected before, see discussion of (Bug#8615), (Bug#6954).
2823 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2824
6ccf7859
GM
28252011-07-15 Glenn Morris <rgm@gnu.org>
2826
2827 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2828 Respect help-form.
6ccf7859 2829
87e86684
LM
28302011-07-09 Lawrence Mitchell <wence@gmx.li>
2831
2832 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2833 (gnutls-negotiate): Use it.
2834
d6066239
LMI
28352011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836
b796c9b7
SM
2837 * net/gnutls.el (gnutls-negotiate):
2838 Upcase `gnutls-algorithm-priority'.
d6066239 2839
bd23ebc0
GM
28402011-07-15 Glenn Morris <rgm@gnu.org>
2841
c65bca65
GM
2842 * jka-compr.el (jka-compr-verbose): Move from here...
2843 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2844 Add missing :version tag.
2845 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2846
478615cc
LMI
28472011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2848
7b41decb
LMI
2849 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2850 (gnutls-negotiate): Use it.
2851
dbc44fcd
LMI
2852 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2853
06789f97
LMI
2854 * info.el (Info-beginning-of-buffer): New command.
2855 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2856 announcing `b' as the key (bug#8325).
ab896c37 2857 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2858
c39da690
LMI
2859 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2860
3aa5f34b
LMI
2861 * international/mule-cmds.el
2862 (describe-specified-language-support): Make the error message
2863 clearer (bug#8905).
2864
4bf0979f
LMI
2865 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2866
478615cc
LMI
2867 * isearch.el (isearch-barrier): Add a doc string, since it's
2868 mentioned in a function doc string (bug#8678).
2869
75c68aa1
MR
28702011-07-15 Martin Rudalics <rudalics@gmx.at>
2871
2872 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2873 buffer argument (Bug#9083) and self-identifying label argument.
2874
a7c33da2
GM
28752011-07-15 Glenn Morris <rgm@gnu.org>
2876
2877 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2878
2f5c6024
LMI
28792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2880
2881 * man.el (Man-fontify-manpage): Fix message when formatting the
2882 man page (bug#7929).
2883
0bb23927 28842011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2885
2886 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2887 argument LRM; if non-nil, append an invisible LRM character to the
2888 buffer name.
2889 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2890 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2891 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2892 paragraph direction.
cce4b0a7 2893
621ef9ab
LMI
28942011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2895
d1583c48
LMI
2896 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2897 the man page name (bug#7929).
2898
6a57fb5f
LMI
2899 * image.el (put-image): Mention the `put-image' overlay property
2900 (bug#7834).
2901
d7956b14
LMI
2902 * scroll-bar.el (set-scroll-bar-mode): Mention that
2903 `scroll-bar-mode' lists the values (bug#7772).
2904
5b2d4a66
LMI
2905 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2906 command (bug#7729).
2907
7509a874
LMI
2908 * rect.el (apply-on-rectangle): Return the point after the last
2909 operation.
2910 (string-rectangle): Go to the point after the last operation
2911 (bug#7522).
2912
4fe74b19
LMI
2913 * printing.el (pr-toggle-region): Clarify the documentation
2914 slightly (bug#7493).
2915
b796c9b7
SM
2916 * time.el (display-time-update):
2917 Allow `display-time-mail-function' to return nil (bug#7158).
2918 Fix suggested by Detlev Zundel.
ab283561 2919
fc233c9d
LMI
2920 * vc/diff.el (diff): Clarify the order the file names are read
2921 (bug#7111).
2922
43f5740b
LMI
2923 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2924 the doc string (bug#7015).
2925
f2182a76
LMI
2926 * font-lock.el (font-lock-maximum-decoration): Mention what
2927 numeric levels mean (bug#6935).
2928
621ef9ab
LMI
2929 * startup.el (initial-buffer-choice): Don't mention the `none'
2930 selection, which is against policy.
2931
adc47434
MR
29322011-07-14 Martin Rudalics <rudalics@gmx.at>
2933
b796c9b7
SM
2934 * window.el (display-buffer-normalize-special):
2935 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2936
7e5bfb8f
EZ
29372011-07-14 Eli Zaretskii <eliz@gnu.org>
2938
2939 * subr.el (version<, version<=, version=): Mention "-CVS" and
2940 "-12345" alpha version numbers.
2941
27fa387a
CY
29422011-07-14 Chong Yidong <cyd@stupidchicken.com>
2943
2944 * bindings.el: Add advertised binding for set-mark-command
2945 (Bug#5772).
2946
8bdfa064
CY
29472011-07-14 Chong Yidong <cyd@stupidchicken.com>
2948
2949 * bindings.el (mode-line-other-buffer):
2950 * bookmark.el (bookmark-bmenu-2-window):
2951 * bs.el (bs-cycle-next, bs-cycle-previous):
2952 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2953 switch-to-buffer.
2954
2955 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2956 Delete.
8bdfa064 2957
5eba16a3
JB
29582011-07-14 Juanma Barranquero <lekktu@gmail.com>
2959
2960 * follow.el (follow-debug-message, follow-redisplay):
2961 * jka-cmpr-hook.el (with-auto-compression-mode):
2962 Fix typos in docstrings.
2963
15853710
LMI
29642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2965
a28e4607
LMI
2966 * subr.el (with-silent-modifications): Clarify somewhat what the
2967 macro inhibits (bug#6525).
2968
15853710
LMI
2969 * simple.el (eval-expression): Note what it does if called
2970 interactively (bug#6495).
2971
bee0fcef
CY
29722011-07-13 Chong Yidong <cyd@stupidchicken.com>
2973
b796c9b7
SM
2974 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2975 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2976
2977 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2978 Remove switch-to-buffer.
2979
58274504
LMI
29802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2981
bd2fcc8d
LMI
2982 * files.el (make-directory): Clarify that an error will be raised
2983 if there's an error (bug#6397).
2984
0f04b32c
LMI
2985 * startup.el (initial-buffer-choice): Add `none' as a choice
2986 (bug#6234).
2987
465c5fc8
LMI
2988 * subr.el (add-hook): Clarify section about buffer-local hooks
2989 (bug#6218).
2990
58274504
LMI
2991 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2992
bead9a43
JB
29932011-07-13 Juanma Barranquero <lekktu@gmail.com>
2994
2995 * tabify.el (untabify): Preserve the current column so that point
2996 doesn't move (bug#6032).
2997
3af98a7b
LMI
29982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2999
b796c9b7
SM
3000 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
3001 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 3002
6240145a
GM
30032011-07-13 Glenn Morris <rgm@gnu.org>
3004
3005 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
3006 (dired-insert-directory): Give a message the first time
3007 if ls is found not to support --dired.
3008
1d8c2ccc
LMI
30092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3010
3011 * simple.el (toggle-truncate-lines): Clarify what is toggled
3012 (bug#5580). Text by Drew Adams.
3013
5fc4038e
CY
30142011-07-13 Chong Yidong <cyd@stupidchicken.com>
3015
3016 * simple.el (blink-matching-open): Make the error message from the
3017 last change less verbose.
3018
bf6012e5
DN
30192011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
3020
3021 * font-lock.el (font-lock-comment-face): Use the high contrast
3022 "yellow" color for font-lock-comment-face on low color terminals
3023 using a dark background color (bug#4221).
3024
343c3b5a
LMI
30252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026
7e9505c5
LMI
3027 * dired.el (dired-insert-set-properties): Make the doc string
3028 reflect what it does now (bug#5325).
3029
c26fdcf5
LMI
3030 * simple.el (blink-matching-open): Say that we were unable to find
3031 the match within the limit, if we're limited (bug#5122).
3032
bb388cc5
LMI
3033 * international/mule-cmds.el (prefer-coding-system): Add an
3034 example (bug#4869).
3035
343c3b5a
LMI
3036 * progmodes/etags.el (tags-search): Document `file-list-form'
3037 (bug#4731).
3038
2a517d45
LM
30392011-07-13 Lawrence Mitchell <wence@gmx.li>
3040
3041 * net/browse-url.el (browse-url-default-browser)
3042 (browse-url-browser-function): Make the default browser choice a
3043 bit more logical (bug#4300). Also clean up the doc string.
3044
b6c78ef2
JB
30452011-07-13 Juanma Barranquero <lekktu@gmail.com>
3046
3047 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
3048 binary endings (bug#4440).
3049
1c4dd947
LMI
30502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3051
a2014063
LMI
3052 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
3053 which can be pretty annoying (bug#8971).
3054
9c9c2d88
LMI
3055 * jka-compr.el (jka-compr-verbose): New variable, and use
3056 throughout (bug#8971).
3057
1c4dd947
LMI
3058 * info.el (Info-find-file): Fall back on the installation
3059 directory if we can't find the info node anywhere else.
3060
a1c9f41b
SO
30612011-07-13 Sergei Organov <osv@javad.com> (tiny change)
3062
3063 * vc/vc.el (vc-revert-file):
3064 Don't set file time-stamp in the past. (Bug#5181)
3065
536f3d36
LMI
30662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3067
7152b011
LMI
3068 * files.el (after-find-file): Give a better error message when
3069 trying to find a symlink that points to a file that doesn't exist
3070 (bug#4398).
3071
536f3d36
LMI
3072 * progmodes/cc-vars.el: Remove (probably) misleading comment
3073 (bug#4396).
3074
460c0fba
JB
30752011-07-12 Johan Bockgård <bojohan@gnu.org>
3076
3077 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
3078
7a6bda45
CY
30792011-07-12 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * mouse-sel.el: Hack restoring functionality, while keeping
3082 compatibility with 2010-07-03 changes to mouse selection.
3083 (mouse-sel-primary-overlay): New var.
3084 (mouse-sel-selection-alist): Use it.
3085 (mouse-sel-mode): Doc fix; remove points that are default features
3086 of mouse.el.
3087
c79598ef
JB
30882011-07-12 Johan Bockgård <bojohan@gnu.org>
3089
3090 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3091 Fix previous fix (bug#2490).
3092
ff8be6ef
RW
30932011-07-12 Roland Winkler <winkler@gnu.org>
3094
b796c9b7
SM
3095 * textmodes/bibtex.el (bibtex-initialize):
3096 Use pop-to-buffer-same-window.
ff8be6ef
RW
3097 (bibtex-search-entries): Fix interactive call.
3098
296ba3ee
LMI
30992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3100
f5242a02 3101 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
3102 Fontise bytecomp Error lines more correctly (bug#2490).
3103 Fix suggested by Johan Bockgård.
f5242a02 3104
296ba3ee
LMI
3105 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
3106
3107 * dired-x.el (dired-guess-default): Use `delete-dups'.
3108
f69fd0d2
CY
31092011-07-12 Chong Yidong <cyd@stupidchicken.com>
3110
3111 * dired.el (dired-mark-prompt):
3112 * dired-aux.el (dired-read-shell-command): Doc fix.
3113
eab5dc07
LMI
31142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3115
b796c9b7
SM
3116 * mail/sendmail.el (sendmail-query-once):
3117 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
3118 emacs -Q.
3119
3120 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3121
eab5dc07
LMI
3122 * cus-edit.el (custom-file): Take an optional no-error variable.
3123 (customize-save-variable): Set the variable, and give a warning if
3124 running under "emacs -q".
3125
a1e65d42
JB
31262011-07-11 Juanma Barranquero <lekktu@gmail.com>
3127
3128 * loadhist.el (unload-feature-special-hooks):
3129 Add `auto-coding-functions', `fill-nobreak-predicate' and
3130 `find-directory-functions' (bug#5327).
3131
1d52da10
LMI
31322011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3133
be958f1d
LMI
3134 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
3135
5bedb26c
LMI
3136 * cus-edit.el (custom-guess-name-alist): -alist variables should
3137 use the `alist' type (bug#3120). Suggested by Drew Adams.
3138
1d52da10
LMI
3139 * printing.el: Add documentation to all the `pr-toggle-' commands.
3140
481a51b6
LL
31412011-07-11 Leo <sdl.web@gmail.com> (tiny change)
3142
3143 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
3144 backends where it makes sense (bug#2623).
3145
dcc88d8a
LMI
31462011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3147
c3de9feb
LMI
3148 * dired-x.el (dired-guess-default): Remove duplicate shell command
3149 entries (bug#2028).
8a93078b 3150 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3151 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3152
dcc88d8a
LMI
3153 * subr.el (remove-duplicates): New conveniency function.
3154
505e3645
LMI
31552011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3156
3157 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3158 (bug#1526).
3159
31602011-07-10 Martin Rudalics <rudalics@gmx.at>
3161
3162 * window.el (display-buffer-normalize-default): Don't invert
3163 meaning of even-window-heights. Reported by Eli Zaretskii
3164 <eliz@gnu.org>.
3165
455e4fa1
BR
31662011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3167
3168 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3169
8e0bc3e9
CY
31702011-07-10 Chong Yidong <cyd@stupidchicken.com>
3171
3172 * window.el (display-buffer): Fix arguments to
3173 display-buffer-reuse-window in last change.
3174
fa7c3228
CY
3175 * faces.el (link): Use a less saturated blue on light backgrounds.
3176
3177 * startup.el (fancy-startup-text, fancy-about-text)
3178 (fancy-startup-tail): Use font-lock faces, for background safety.
3179
c0a7f300
BN
31802011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3181
b796c9b7
SM
3182 * emulation/viper-cmd.el (viper-change-state-to-vi):
3183 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3184
4dc2a129
MR
31852011-07-09 Martin Rudalics <rudalics@gmx.at>
3186
3187 * window.el (display-buffer-default-specifiers): Remove.
3188 (display-buffer-macro-specifiers): Remove default specifiers.
3189 (display-buffer-alist): Default to nil.
b796c9b7 3190 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3191 (display-buffer-pop-up-window): Allow splitting internal
3192 windows. Check whether a live window was created.
3193 (display-buffer-other-window-means-other-frame)
3194 (display-buffer-normalize-arguments): Rename to
3195 display-buffer-normalize-argument and rewrite. Set the
3196 other-window specifier.
3197 (display-buffer-normalize-special): New function.
3198 (display-buffer-normalize-options): Rename to
3199 display-buffer-normalize-default and rewrite.
3200 (display-buffer-normalize-options-inhibit): Remove.
3201 (display-buffer-normalize-specifiers): Rewrite.
3202 (display-buffer): Process other-window specifier and call
3203 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3204 more faithfully.
b796c9b7 3205 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3206 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3207 (display-buffer-in-window, display-buffer-alist-set):
3208 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3209 <tassilo@member.fsf.org>.
3210
2d43b8c9
LL
32112011-07-09 Leo Liu <sdl.web@gmail.com>
3212
3213 * register.el (insert-register): Restore accidental change on
3214 2011-06-26. (Bug#9028)
3215
7f9b7c53
GM
32162011-07-09 Glenn Morris <rgm@gnu.org>
3217
3218 * subr.el (remq): Handle the empty list. (Bug#9024)
3219
f042cfd8
AS
32202011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * mail/sendmail.el (send-mail-function): No longer delay custom
3223 initialization.
3224 * custom.el (custom-initialize-delay): Doc fix.
3225
856b2f11
SM
32262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3229
afae1d68
MA
32302011-07-08 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3233 human-friendly prompt.
3234
0757af94
SM
32352011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3238 provided by a particular plugin.
3239
d760b731
LMI
32402011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3241
3242 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3243 save customizations (with "emacs -Q"), just set the variable
3244 instead of erroring out.
3245
3246 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3247
cd79ce90
JL
32482011-07-08 Juri Linkov <juri@jurta.org>
3249
3250 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3251 (archive-zip-update-case): Use 7z if found by `executable-find'.
3252 The order of searching the available programs is the same as in
3253 `archive-zip-extract' (bug#8968).
3254
14cc04aa
CY
32552011-07-07 Chong Yidong <cyd@stupidchicken.com>
3256
3257 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3258 (menu-bar-options-menu): Tweak descriptions.
3259
0a1848ec
LMI
32602011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3261
3262 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3263 menu items into verb phrases (bug#1421). Also refill to fit under
3264 80 columns.
3265
f5bd0689
CY
32662011-07-07 Chong Yidong <cyd@stupidchicken.com>
3267
538e85c6
CY
3268 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3269 (Info-read-node-name): Doc fix (Bug#1084).
3270
f5bd0689
CY
3271 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3272 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3273 (end-of-sexp, beginning-of-sexp)
3274 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3275 (forward-symbol, forward-same-syntax, word-at-point)
3276 (sentence-at-point): Doc fix (Bug#1144).
3277
56ec5115
LMI
32782011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3279
f3f8e37f
LMI
3280 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3281 should cover it (bug#1281).
3282
0757af94 3283 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3284
12b9eb35
LMI
3285 * net/network-stream.el (network-stream-open-starttls): If gnutls
3286 negotiation fails, then possibly try again with a non-encrypted
3287 connection (bug#9017).
3288
56ec5115
LMI
3289 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3290 be used.
3291
c2f9aec8
RS
32922011-07-07 Richard Stallman <rms@gnu.org>
3293
3294 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3295 property, and handle its changed format.
3296 Look for the correct line number.
3297 Use file's line contents (but not past first =) to find
3298 correct line in message.
3299
ef7b981d 33002011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3301
3302 * international/characters.el (build-unicode-category-table):
3303 Delete it.
0757af94 3304 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3305
0757af94 3306 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3307 to src/chartab.c.
3308 (get-char-code-property): Call unicode-property-table-internal to
3309 load a file. Call get-unicode-property-internal where necessary.
3310 (put-char-code-property): Call unicode-property-table-internal to
3311 load a file. Call put-unicode-property-internal where necessary.
3312 put-unicode-property-internal where necessary.
0757af94
SM
3313 (char-code-property-description):
3314 Call unicode-property-table-internal to load a file.
c805dec0
KH
3315
3316 * international/charprop.el:
3317 * international/uni-bidi.el:
3318 * international/uni-category.el:
3319 * international/uni-combining.el:
3320 * international/uni-comment.el:
3321 * international/uni-decimal.el:
3322 * international/uni-decomposition.el:
3323 * international/uni-digit.el:
3324 * international/uni-lowercase.el:
3325 * international/uni-mirrored.el:
3326 * international/uni-name.el:
3327 * international/uni-numeric.el:
3328 * international/uni-old-name.el:
3329 * international/uni-titlecase.el:
3330 * international/uni-uppercase.el: Regenerate.
3331
3332 * loadup.el: Load international/charprop.el before
3333 international/characters.
3334
e14b388a
CY
33352011-07-07 Chong Yidong <cyd@stupidchicken.com>
3336
3337 * window.el (next-buffer, previous-buffer): Signal an error if
3338 called from a minibuffer window.
3339
3340 * bindings.el: Revert 2011-07-04 change.
3341
354cf0ba
RS
33422011-07-06 Richard Stallman <rms@gnu.org>
3343
3344 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3345 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3346 Treat markers like ints.
3347 (rmail-mime-entity): Doc fix.
3348
a48868a7
LMI
33492011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3350
4906cd3d
LMI
3351 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3352 defcustom again for backwards compatibility.
3353
e0457abe
LMI
3354 * simple.el (shell-command-on-region): Fill.
3355
d67f7e1f
LMI
3356 * dired-aux.el (dired-kill-line): Add a doc string.
3357
fe204702
LMI
3358 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3359 to "\\sw\\|\\s_" (bug#358).
3360
a48868a7
LMI
3361 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3362 (dired-unmark-backward): Ditto.
3363 (dired-flag-backup-files): Ditto.
3364
3365 * dired-x.el (dired-mark-sexp): Ditto.
3366
aa8a705c
RS
33672011-07-06 Richard Stallman <rms@gnu.org>
3368
3369 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3370 (rmail-mime-entity): New arg TRUNCATED.
3371 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3372 New functions.
3373 (rmail-mime-save): Warn if entity is truncated.
3374 (rmail-mime-toggle-hidden): Likewise, for showing.
3375 (rmail-mime-process-multipart): Record when an entity is truncated.
3376
a9a936b9
RS
3377 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3378 if ENTITY is a string.
3379
1f2b92cb
LMI
33802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3381
f4f73198 3382 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3383 of faces when `M-C-x'-ing their definitions (bug#8378).
3384 Also clean up the code slightly.
f4f73198 3385
12b16734
LMI
3386 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3387 because that makes the colours go away.
3388
f0691d22
LMI
3389 * mail/sendmail.el (send-mail-function): Change the default to
3390 `sendmail-query-once'.
9e87df06 3391 (sendmail-query-once): Add an autoload cookie.
f0691d22 3392
1f2b92cb
LMI
3393 * net/network-stream.el (network-stream-open-starttls): Try using
3394 a plain connection even if the server offered STARTTLS, and we
3395 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3396 capability. This should make smtpmail.el work in slightly more
3397 configurations.
3398
1cdd2a1b
MA
33992011-07-06 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3402 New defun.
3403 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3404
fbcc67e2
MM
34052011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3406
3407 * progmodes/sql.el: Version 3.0
0757af94 3408 (sql-product-alist): Add product :completion-object,
fbcc67e2 3409 :completion-column, and :statement attributes.
0757af94 3410 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3411 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3412 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3413 ansi keywords.
3414 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3415 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3416 (sql-oracle-show-reserved-words): New function for development.
3417 (sql-product-font-lock): Simplify for source code buffers.
3418 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3419 New functions.
3420 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3421 (sql-mode-map): Add statement movement functions.
3422 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3423 New variable.
fbcc67e2
MM
3424 (sql-statement-regexp, sql-beginning-of-statement)
3425 (sql-end-of-statement, sql-signum): New functions.
0757af94 3426 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3427 (sql-show-sqli-buffer): Bug fix.
3428 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3429 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3430 with sql-interactive-mode.
3431 (sql-save-connection): Save buffer local settings.
0757af94 3432 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3433 (sql-product-interactive): Bug fix.
3434 (sql-preoutput-hold): New variable.
3435 (sql-interactive-remove-continuation-prompt): Bug fixes.
3436 (sql-debug-redirect): New variable.
3437 (sql-str-literal): New function.
3438 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3439 Redesign.
fbcc67e2
MM
3440 (sql-oracle-save-settings, sql-oracle-restore-settings)
3441 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3442 (sql-completion-object, sql-completion-column)
3443 (sql-completion-sqlbuf): New variables.
3444 (sql-build-completions-1, sql-build-completions)
3445 (sql-try-completion): New functions.
3446 (sql-read-table-name): Use them.
3447 (sql-contains-names): New buffer local variable.
3448 (sql-list-all, sql-list-table): Use it.
3449 (sql-oracle-completion-types): New variable.
3450 (sql-oracle-completion-object, sql-sqlite-completion-object)
3451 (sql-postgres-completion-object): New functions.
3452
d4eaeab1
GM
34532011-07-06 Glenn Morris <rgm@gnu.org>
3454
3455 * window.el (pop-to-buffer): Doc fix.
3456
322b7dab 34572011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3458
3459 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3460
322b7dab 34612011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3462
322b7dab 3463 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3464
322b7dab 3465 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3466
605dd5bf
CY
34672011-07-05 Chong Yidong <cyd@stupidchicken.com>
3468
3469 * button.el (button): Inherit from link face. Suggested by Dan
3470 Nicolaescu.
3471
7dbfa719
SM
34722011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3db614b0
SM
3474 * progmodes/gdb-mi.el: Fit in 80 columns.
3475 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3476 switch-to-buffer.
3477
7dbfa719
SM
3478 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3479 if imenu is simply not configured (bug#8941).
3480
919d884a
KM
34812011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3482
3483 * allout.el (allout-post-undo-hook): New allout outline-change
3484 event hook to signal undo activity.
3485 (allout-post-command-business): Run allout-post-undo-hook if an
3486 undo just occurred.
7dbfa719
SM
3487 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3488 * allout-widgets.el (allout-widgets-after-undo-function):
3489 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3490 in the vicinity of an undo.
3491 (allout-widgets-mode): Include allout-widgets-after-undo-function
3492 on the new allout-post-undo-hook.
3493
450a0f09
SM
34942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3495
3496 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3497 Let define-derived-mode define it.
3498 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3499 cycles of abbrev-table inheritance (bug#8998).
3500
2de69e00
RW
35012011-07-05 Roland Winkler <winkler@gnu.org>
3502
3503 * textmodes/bibtex.el: Add support for biblatex.
3504 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3505 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3506 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3507 (bibtex-entry-alist, bibtex-field-alist): New variables.
3508 (bibtex-entry-field-alist): Obsolete alias for
3509 bibtex-BibTeX-entry-alist.
3510 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3511 (bibtex-set-dialect): New command.
3512 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3513 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3514 Bind via bibtex-set-dialect.
2de69e00
RW
3515 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3516 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3517 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3518 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3519 Define via bibtex-set-dialect.
450a0f09
SM
3520 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3521 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3522 (bibtex-vec-push, bibtex-vec-incr): New functions.
3523 (bibtex-format-entry, bibtex-field-list)
3524 (bibtex-print-help-message, bibtex-validate)
3525 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3526
2dcdbdd9
SM
35272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3528
3529 * progmodes/compile.el (compilation-goto-locus):
3530 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3531 * bs.el (bs-cycle-next, bs-cycle-previous):
3532 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3533 * bindings.el (mode-line-other-buffer):
3534 * autoinsert.el (auto-insert):
3535 * arc-mode.el (archive-extract):
3536 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3537
b27640fe
JB
35382011-07-05 Juanma Barranquero <lekktu@gmail.com>
3539
3540 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3541 Fix check of `emacs-lock-unlockable-modes'.
3542 Coerce true values of `emacs-lock--try-unlocking' to t.
3543
53bbe3ad
JB
35442011-07-05 Juanma Barranquero <lekktu@gmail.com>
3545
3546 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3547 * emacs-lock.el: New file.
3548
1d3cdbc7
JD
35492011-07-05 Julien Danjou <julien@danjou.info>
3550
3551 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3552 than `boundp' to check if face is set.
3553
9173deec
JB
35542011-07-05 Juanma Barranquero <lekktu@gmail.com>
3555
3556 * register.el (registerv-make):
3557 * window.el (window-min-height): Fix typos in docstrings.
3558
869795d6
JD
35592011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3560
9173deec 3561 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3562 Update doc string.
3563
b768cdcd
JB
35642011-07-04 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * server.el (server-execute): Catch quit and call
3567 `server-return-error' to pass the error back to emacsclient and
3568 close the connection (bug#8942).
3569
13aa217b
KM
35702011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3571
3572 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3573 insecure exception for current topic. Also note that auto-saves
3574 are handled differently.
3575
3576 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3577 State variables for tracking auto-save inhibition situation.
3578
3579 (allout-write-contents-hook-handler): Rename from
3580 'allout-write-file-hook-handler', and describe how it depends on
3581 write-contents-functions sensitivity to non-nil value to prevent
3582 file write.
3583
3584 (allout-auto-save-hook-handler): Remove. auto-save does not check
3585 this in individual buffers, only in the starting buffer, so this
3586 is not the right way for us to inhibit auto-save in a buffer
3587 according to its condition.
3588
3589 (allout-mode): Use new allout-write-contents-hook-handler, and
3590 only with write-contents-functions. Remove auto-save provisions -
3591 they're implemented elsewhere.
3592
3593 (allout-before-change-handler): If undo is in progress, note that
3594 for attention of allout-post-command-business.
3595
3596 (allout-post-command-business): If the command we're following was
3597 an undo, check for change in the status of encrypted items and
3598 adjust auto-save inhibitions accordingly.
3599
3600 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3601 according to whether there are or aren't any plain-text topics
3602 pending encryption.
3603
2dcdbdd9
SM
3604 (allout-inhibit-auto-save-info-for-decryption):
3605 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3606 there are plain-text topics pending encryption.
3607
3608 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3609 buffer-saved-size and some allout state to not inhibit auto-saves
3610 if there are no longer any plain-text topics pending encryption.
3611
0757af94
SM
3612 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3613 No longer provide for exemption of the current topic.
13aa217b 3614
ac89b32c
JL
36152011-07-04 Juri Linkov <juri@jurta.org>
3616
3617 Add 7z operations to delete and save changed members (bug#8968).
3618 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3619 New defcustoms.
3620 (archive-7z-write-file-member): New function.
3621 (archive-7z-summarize): Fix the number of dashes in the
3622 listing output.
3623
8fa39615
SM
36242011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3627 (bug#8958).
3628
2f11b3f1
CY
36292011-07-04 Chong Yidong <cyd@stupidchicken.com>
3630
d66fef2b
CY
3631 * bindings.el: Ignore next-buffer and previous-buffer in
3632 minibuffer-local-map.
3633
2f11b3f1
CY
3634 * font-lock.el (font-lock-builtin-face): Change light background
3635 color to dark slate blue (Bug#6693).
3636
f932a347
WD
36372011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3638
3639 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3640
c8af70e1
SM
36412011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3644 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3645 Add switch-to-buffer.
3646
f158badc
LMI
36472011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3648
3649 * isearch.el (isearch-search-fun-function): Clarify further the
3650 meaning of the function returned.
3651
6d95bd46
MA
36522011-07-04 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3655
3656 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3657 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3658 Use it.
3659 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3660 `tramp-default-remote-path' does not exist.
3661 (tramp-send-command-and-read): New optional argument NOERROR.
3662 (tramp-open-connection-setup-interactive-shell)
3663 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3664 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3665 (tramp-process-sentinel): Flush also process' connection property.
3666 (tramp-sh-handle-start-file-process): Do not set process
3667 sentinel. It is done now ...
3668 (tramp-maybe-open-connection): ... here. (Bug#8929)
3669
909e6b67
MK
36702011-07-04 MON KEY <monkey@sandpframing.com>
3671
3672 * play/animate.el (animate-string): Doc fixes and allow changing
3673 the buffer name (bug#5417).
3674
36752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3676
c8af70e1 3677 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3678
f34755dc
PE
36792011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3680
396cec72
PE
3681 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3682 This is simpler and helps future-proof the code.
3683 (timer-until): Use time-subtract and float-time.
08235028 3684 (timer--time-less-p): Use time-less-p.
f34755dc 3685
56e6cc31
JB
36862011-07-04 Juanma Barranquero <lekktu@gmail.com>
3687
3abb79e5
JB
3688 * type-break.el (timep): Use the value of `float-time' to avoid a
3689 byte-compiler warning.
3690
56e6cc31
JB
3691 * server.el (server-eval-and-print): Return any result, even nil.
3692
7b9430b4
PE
36932011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3694
3695 * type-break.el: Accept time formats that the builtins accept.
3696 (timep, type-break-time-difference): Accept any format that
3697 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3698 This is simpler and helps future-proof the code.
3699 (type-break-time-difference): Round rather than ignoring
3700 subseconds components.
3701
3034e9e7
LMI
37022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3703
3704 * info.el (Info-apropos-matches): Make non-interactive, since it
3705 doesn't seem to do anything useful as a command (bug#8829).
3706
1485f4c0
CY
37072011-07-03 Chong Yidong <cyd@stupidchicken.com>
3708
3709 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3710 Move from faces.el.
1485f4c0
CY
3711 (frame-default-terminal-background): New function.
3712
3713 * custom.el (custom-push-theme): Don't record faces in `changed'
3714 theme; this doesn't work correctly for per-frame face settings.
3715 (disable-theme): Use face-set-after-frame-default to reset faces.
3716 (custom--frame-color-default): New function.
3717
9fa3dd45
LMI
37182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3719
c8af70e1 3720 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3721 (bug#8769).
3722
6cbbc20c
KR
37232011-03-29 Kevin Ryde <user42@zip.com.au>
3724
3725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3726 `perl-Test2' extend to match possible "fail #N" rep count
3727 (bug#8377).
3728
c7f98048
LMI
37292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3730
65676592
LMI
3731 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3732 `smtpmail-via-smtp' now returns the error instead of nil.
3733
c7f98048
LMI
3734 * isearch.el (isearch-search-fun-function): Clarify the doc string
3735 (bug#8101).
3736
56e6cc31 37372011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3738
3739 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3740 unnecessary spaces (bug#8987).
3741
2b216704
LMI
37422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3743
3744 * net/network-stream.el (open-network-stream): Use the
3745 :end-of-capability command thoughout.
3746
37472011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3748
3749 * net/network-stream.el (open-network-stream): Add the
3750 :end-of-capability command parameter, used by pop3.el.
3751
36adf6ce
LMI
37522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3753
1ca0da0e
LMI
3754 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3755
fc00f69c
LMI
3756 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3757 for list)" (bug#6475).
3758
28fd8759
LMI
3759 * files.el (file-expand-wildcards): Ignore non-readable
3760 sub-directories while trying to find matches instead of signalling
3761 an error (bug#6297).
3762
0dd8b6da
LMI
3763 * man.el (Man-reference-regexp): Allow matching possible
3764 word-wrapped references (bug#6289).
3765
ce1438d6
LMI
3766 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3767 for consistency with the other vc buffers (bug#6197).
3768 (vc-checkin): Ditto.
3769
3770 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3771
36adf6ce
LMI
3772 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3773
e83cc1f7
LMI
37742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3775
8a20ca4c
LMI
3776 * custom.el (defcustom): Clarify that :set is only used in the
3777 Customize user interface (bug#6089).
3778
83319045
LMI
3779 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3780 associated with a file, refuse to run instead of erroring out
3781 (bug#6084).
3782
a8392169
LMI
3783 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3784 the doc string, since it appears that using `fill-column' always
3785 controls the width (bug#7845).
3786
e83cc1f7
LMI
3787 * simple.el (shell-command-on-region): Say where the error output
3788 went if `shell-command-default-error-buffer' is set (bug#6857).
3789
e47ca23b
KM
37902011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3791
3792 * allout.el (allout-yank-processing): Adjust cursor position for
3793 backwards-deleted space.
3794
3795 (allout-rebullet-heading): Register changes with
3796 allout-exposure-changed-hook, so the modified topic is properly
3797 decorated.
3798
5cf56143
LMI
37992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3800
08549772
LMI
3801 * minibuffer.el (completion-in-region): Document PREDICATE
3802 (bug#7136).
3803
48e96771
LMI
3804 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3805 of keyword/argument pairs (bug#6904).
3806
c8af70e1
SM
3807 * replace.el (multi-occur):
3808 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3809
e17d05e2
LMI
38102011-07-02 Drew Adams <drew.adams@oracle.com>
3811
3812 * dired.el (dired-mark-if): Make the message about whether it's
3813 marking or unmarking clearer (bug#8523).
3814
063b0e45
LMI
38152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3816
3817 * disp-table.el (display-table-print-array): New function.
3818 (describe-display-table): Use it to print the vectors more pretty
3819 (Bug#8859).
3820
28545e04
MR
38212011-07-02 Martin Rudalics <rudalics@gmx.at>
3822
3823 * window.el (window-state-get-1): Don't assign clone numbers.
3824 Add clone-of item to list of window parameters.
3825 (window-state-put-2): Don't process clone numbers.
3826 (display-buffer-alist): Fix doc-string.
3827
3349e122
SM
38282011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * subr.el (remq): Don't allocate if it's not needed.
3831 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3832 (keymap--merge-bindings): New functions.
3833 (keymap-canonicalize): Use them to refine the canonicalization.
3834 * minibuffer.el (minibuffer-local-completion-map)
3835 (minibuffer-local-must-match-map): Move initialization from C.
3836 (minibuffer-local-filename-completion-map): Move initialization from C;
3837 don't inherit from anything here.
3838 (minibuffer-local-filename-must-match-map): Make obsolete.
3839 (completing-read-default): Use make-composed-keymap to combine
3840 minibuffer-local-filename-completion-map with either
3841 minibuffer-local-must-match-map or
3842 minibuffer-local-filename-completion-map.
3843
d224ac83
GM
38442011-07-01 Glenn Morris <rgm@gnu.org>
3845
3de63bf8
GM
3846 * type-break.el (type-break-time-sum): Use dolist.
3847
d224ac83
GM
3848 * textmodes/flyspell.el (flyspell-word-search-backward):
3849 Replace CL function.
3850
1a1e3f32
SM
38512011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3852
fe3f64d5
SM
3853 * mouse.el (mouse--strip-first-event): New function.
3854 (function-key-map): Use it to map fringe clicks to normal clicks
3855 by default.
3856
eb604e34
SM
3857 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3858 (vc-bzr-revision-completion-table): Add support for annotate and date.
3859
1a1e3f32
SM
3860 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3861 inherit from parent.
3862
5bd35902
LMI
38632011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3864
ace6c69c 3865 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3866 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3867
191e2bed
LMI
3868 * dired.el (dired-mode): Fix up the doc string as suggested by
3869 Drew Adams (bug#8817).
3870
5bd35902
LMI
3871 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3872 cookie, since the manual says that it should be possible to add
3873 this function to `find-file-hook' (bug#8709).
3874
eee8207a
TZ
38752011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3876
3877 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3878 here. Noted Ted Zlatanov as the maintainer.
3879 (cfengine-common-settings, cfengine-common-syntax): New functions
3880 to set up common things between `cfengine-mode' and
3881 `cfengine3-mode'.
3882 (cfengine3-mode): New mode.
3883 (cfengine3-defuns cfengine3-defuns-regex
3884 (cfengine3-class-selector-regex cfengine3-category-regex)
3885 (cfengine3-vartypes cfengine3-font-lock-keywords)
3886 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3887 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3888
36b148cf
MA
38892011-07-01 Michael Albinus <michael.albinus@gmx.de>
3890
3891 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3892
3893 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3894
0bf4ba9a
MR
38952011-07-01 Martin Rudalics <rudalics@gmx.at>
3896
3897 * window.el (same-window-buffer-names, same-window-regexps)
3898 (same-window-p, special-display-frame-alist)
3899 (special-display-popup-frame, special-display-function)
3900 (special-display-buffer-names, special-display-regexps)
3901 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3902 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3903 (split-window-preferred-function, split-height-threshold)
3904 (split-width-threshold, even-window-heights)
3905 (display-buffer-mark-dedicated, window-splittable-p)
3906 (split-window-sensibly, window-safely-shrinkable-p):
3907 Un-obsolete.
3908 (display-buffer): Don't spread args with function specifier
3909 because special-display-popup-frame won't like it.
3910
35837f51
PE
39112011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3912
d0672f86
PE
3913 Time-stamp simplifications and fixes.
3914 These improve accuracy slightly, and future-proof the code
3915 against some potential changes to current-time format.
3916
b9444d97
PE
3917 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3918 by using time-since and float-time.
3919
0ef923dc
PE
3920 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3921 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3922 + NNN microseconds".
3923
2f81380d
PE
3924 * type-break.el (type-break-time-sum): Rewrite using time-add.
3925
845b5c3e
PE
3926 * play/hanoi.el (hanoi-current-time-float): Remove.
3927 All uses replaced by float-time.
3928
ee6f1be0
PE
3929 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3930 This yields a more-accurate answer.
3931 (rng-time-to-float): Remove; no longer needed.
3932
fe955043
PE
3933 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3934
5777162a
PE
3935 * calendar/timeclock.el (timeclock-seconds-to-time):
3936 Defalias to seconds-to-time, since they're the same thing.
3937
3103f8b6 3938 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3939 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3940 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3941
0e61a35f
SM
39422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * window.el (bury-buffer): Don't iconify the only frame.
3945 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3946 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3947
ddd63a1e
CY
39482011-07-01 Chong Yidong <cyd@stupidchicken.com>
3949
0e61a35f
SM
3950 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3951 Add mouse-yank-primary.
ddd63a1e 3952
055f4923
TZ
39532011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3954
3955 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3956
6a2fb145
SM
39572011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3960 (find-library-name): Use it to find relative load names when provided
3961 absolute file name (bug#8803).
3962
fd4983f2
LMI
39632011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3964
887d14ad
LMI
3965 * textmodes/flyspell.el (flyspell-word): Consider words that
3966 differ only in case as potential doublons (bug#5687).
3967
c53dc7fc
LMI
3968 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3969 Remove two rather uninteresting debugging-like messages to make
3970 debbugs.el more silent.
3971
fd4983f2
LMI
3972 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3973 a password-like phrase.
3974
b14c0c55
AM
39752011-06-30 Mastake YAMATO <yamato@redhat.com>
3976
3977 * progmodes/cc-guess.el: New file.
3978
6a2fb145 3979 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3980
3981 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3982 derived from `c-basic-common-init'.
3983
3984 * progmodes/cc-mode.el (top-level): Require cc-guess.
3985 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3986
1fa280a3
LM
39872011-06-30 Lawrence Mitchell <wence@gmx.li>
3988
3989 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3990
e6597158
AM
39912011-06-30 Alan Mackenzie <acm@muc.de>
3992
1fa280a3
LM
3993 * progmodes/cc-engine.el (c-guess-continued-construct):
3994 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3995 lock is disabled. Name this case as "CASE G".
3996
68ba37fb
KM
39972011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3998
3999 * allout.el (allout-yank-processing): Fix injection of extra space
4000 between bullet and non-whitespace character in first topic when
4001 pasting, ensuring that the actual spacing in the pasted topic
4002 following the bullet char is preserved. This extra space was
4003 causing pasted encrypted topics to get a decrypted status even
4004 when the content was actually still encrypted. Now the decryption
4005 status from before the paste is preserved.
4006
4007 (allout-flag-region): Set all allout overlays so they evaporate
4008 when reduced to zero length (evanescent), to prevent overlay
4009 leakage.
4010
887a0b34
GM
40112011-06-30 Glenn Morris <rgm@gnu.org>
4012
94b9acce
GM
4013 * w32-fns.el (w32-charset-info-alist): Declare.
4014
1d9b46d4
GM
4015 * find-dired.el (find-grep-options): Simplify.
4016
cc232200
GM
4017 * term/ns-win.el (ns-set-resource): Declare.
4018
28e77c46
GM
4019 * ses.el (row, col): Declare dynamic variables honestly.
4020
887a0b34
GM
4021 * textmodes/reftex-parse.el (index-tags): Declare.
4022
658d8eb8
CY
40232011-06-30 Chong Yidong <cyd@stupidchicken.com>
4024
4025 * cus-edit.el (customize-push-and-save): New function.
4026
4027 * files.el (hack-local-variables-confirm): Use it.
4028
1fa280a3
LM
4029 * custom.el (load-theme): New arg NO-CONFIRM.
4030 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
4031 (custom-enabled-themes): Doc fix.
4032
4033 * cus-theme.el (customize-create-theme)
4034 (custom-theme-merge-theme): Callers to load-theme changed.
4035
bb617717
LMI
40362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4037
d61bdd5d
LMI
4038 * thingatpt.el (thing-at-point-short-url-regexp): Require that
4039 short URLs have at least one dot in them (bug #7614).
4040
bb617717
LMI
4041 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
4042 nil, because using a pty is apparently too slow (bug #895).
4043
2f31f37a
LMI
40442011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
4045
4046 * mail/sendmail.el (sendmail-query-once): New function.
4047 (sendmail-query-once-function): New variable.
4048
3076b24e
GM
40492011-06-29 Glenn Morris <rgm@gnu.org>
4050
faf2a174
GM
4051 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
4052
3076b24e
GM
4053 * ses.el (top-level): Require cl when compiling.
4054 (ses-set-localvars): Fix error statement.
4055 Call it at compile time to silence a storm of warnings.
4056
5386012d
MR
40572011-06-29 Martin Rudalics <rudalics@gmx.at>
4058
4059 * window.el (normalize-live-buffer): Rename to
4060 window-normalize-buffer.
4061 (normalize-live-frame): Rename to window-normalize-frame.
4062 (normalize-any-window): Rename to window-normalize-any-window.
4063 (normalize-live-window): Rename to window-normalize-live-window.
4064 (make-window-atom): Rename to window-make-atom.
4065 (window-resize-reset): Rename to window--resize-reset.
4066 (window-resize-reset-1): Rename to window--resize-reset-1.
4067 (resize-mini-window): Rename to window--resize-mini-window.
4068 (resize-subwindows-skip-p): Rename to
4069 window--resize-subwindows-skip-p.
4070 (resize-subwindows-normal): Rename to
4071 window--resize-subwindows-normal.
4072 (resize-subwindows): Rename to window--resize-subwindows.
4073 (resize-other-windows): Rename to window--resize-siblings.
4074 (resize-this-window): Rename to window--resize-this-window.
4075 (resize-root-window): Rename to window--resize-root-window.
4076 (resize-root-window-vertically): Rename to
4077 window--resize-root-window-vertically.
4078 (normalize-buffer-to-display): Rename to
4079 window-normalize-buffer-to-display.
4080 (normalize-buffer-to-switch-to): Rename to
4081 window-normalize-buffer-to-switch-to.
4082 Correspondingly update all callers of the functions listed
4083 above.
4084 (display-buffer-alist, display-buffer-normalize-arguments)
4085 (display-buffer-normalize-options, display-buffer)
4086 (display-buffer-alist-set): Use "function" instead of
4087 "fun-with-args".
4088
1176868d
CY
40892011-06-28 Chong Yidong <cyd@stupidchicken.com>
4090
4091 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
4092 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
4093 debbugs.gnu.org. Mention acknowledgment email.
4094
20a7a65f
LMI
40952011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096
4097 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
4098 buffer multibyteness, since it shouldn't matter.
4099
5f45cca5
MR
41002011-06-28 Martin Rudalics <rudalics@gmx.at>
4101
4102 * window.el (display-buffer-in-side-window): Handle dedicated
4103 windows as in display-buffer-reuse-window.
4104 (display-buffer-normalize-alist): Use value of override
4105 specifier.
4106 (display-buffer-normalize-specifiers): Use value of
4107 other-window-means-other-frame specifier.
4108 (display-buffer-alist): Rewrite some texts in widgets.
4109 (display-buffer): Spread arguments when calling function
4110 specified by fun-with-args.
4111
ad85fe1f
DD
41122011-06-28 Deniz Dogan <deniz@dogan.se>
4113
1fa280a3
LM
4114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
4115 Unnest `let'.
da68c4c8 4116
ad85fe1f
DD
4117 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
4118 selectors (Bug#5732).
ec49bd31 4119 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 4120
a08cc025
JA
41212011-06-27 Jari Aalto <jari.aalto@cante.net>
4122
4123 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
4124 (eshell-ls-date-format): New defcustom.
4125 (eshell-ls-file): Use it.
4126
e2b551c5
SM
41272011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 * help-fns.el (describe-variable): Fix message for terminal-local vars.
4130
8982b231
KY
41312011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
4132
4133 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
4134 (ange-ftp-make-tmp-name): New arg.
4135 (ange-ftp-file-local-copy): Use it.
4136
36c9fa27
J
41372011-06-27 Jambunathan K <kjambunathan@gmail.com>
4138
4139 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
4140 no-conversion (Bug#8870).
4141
d68443dc
MR
41422011-06-27 Martin Rudalics <rudalics@gmx.at>
4143
4144 * window.el (window-right, window-left, window-child)
4145 (window-child-count, window-last-child)
4146 (window-iso-combination-p, walk-window-tree-1)
4147 (window-atom-check-1, window-tree-1, delete-window)
4148 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4149 new naming conventions - window-vchild, window-hchild,
4150 window-next and window-prev are now called window-top-child,
4151 window-left-child, window-next-sibling and window-prev-sibling
4152 respectively.
d615d6d2
MR
4153 (resize-window-reset): Rename to window-resize-reset.
4154 (resize-window-reset-1): Rename to window-resize-reset-1.
4155 (resize-window): Rename to window-resize.
4156 (window-min-height, window-min-width)
4157 (resize-mini-window, resize-this-window, resize-root-window)
4158 (resize-root-window-vertically, adjust-window-trailing-edge)
4159 (enlarge-window, shrink-window, maximize-window)
4160 (minimize-window, delete-window, quit-restore-window)
4161 (split-window, balance-windows, balance-windows-area-adjust)
4162 (balance-windows-area, window-state-put-2)
4163 (display-buffer-even-window-sizes, display-buffer-set-height)
4164 (display-buffer-set-width, set-window-text-height)
4165 (fit-window-to-buffer): Rename all "resize-window" prefixed
4166 calls to use the "window-resize" prefix convention.
4167 (display-buffer-alist): Fix symbol for label specifier.
4168 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4169 corresponding specifier.
4170 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4171
b6458526
VB
41722011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4173
4174 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4175 convention.
4176 (ses-call-printer): Does not pass an empty string to formatter when the
4177 cell is empty to keep from barking printer Calc math-format-value.
4178
d31fd9ac
RS
41792011-06-27 Richard Stallman <rms@gnu.org>
4180
43d5bf84
RS
4181 * battery.el (battery-mode-line-limit): New variable.
4182 (battery-update): Handle it.
4183
d31fd9ac
RS
4184 * mail/rmailmm.el (rmail-mime-process-multipart):
4185 Handle truncated messages.
4186
819a6054
GM
41872011-06-27 Glenn Morris <rgm@gnu.org>
4188
4189 * progmodes/flymake.el (flymake-err-line-patterns):
4190 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4191
cedc73f2
VB
41922011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4193
819a6054 4194 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4195 (ses--clean-!, ses--clean-_): New functions.
4196 (ses-range): Add configurability of readout order, and conversion
4197 to Calc vector.
4198
5e5d49b6
VB
4199 * ses.el (ses-repair-cell-reference-all): New function.
4200 (ses-cell-symbol): Set macro as safe, so that it can be used in
4201 formulas.
4202
56e6cc31 4203 * ses.el: Update cycle detection algorithm.
90ca8b49 4204 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4205 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4206 (ses-set-localvars): New function.
4207 (ses-make-cell): Add property-list as a cell element.
4208 (ses-cell-property-get-fun, ses-cell-property-get)
4209 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4210 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4211 New functions.
90ca8b49
VB
4212 (ses-cell-property-set, ses-cell-property-pop)
4213 (ses-cell-property-get-handle): New macro.
4214 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4215 New aliases, used for code readability.
4216 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4217 cycle detection.
4218 (ses-self-reference-early-detection): New defcustom.
4219 (ses-formula-references): Robustify against self-refering cells.
4220 (ses-mode): Use ses-set-localvars.
4221 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4222 before lauching the update processing.
4223 (ses-initialize-Dijkstra-attempt): New function.
4224 (ses-recalculate-cell): Update for cycle detection based on
4225 Dijkstra algorithm.
4226
2bb63e81
VB
4227 * ses.el: Fix commenting and indenting convention.
4228
c9d29fb8
SM
42292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * bs.el (bs-cycle-next): Complete last change.
4232
d8e4b68b
JB
42332011-06-27 Drew Adams <drew.adams@oracle.com>
4234
4235 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4236
40098786
LMI
42372011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4238
c9d29fb8
SM
4239 * net/network-stream.el (network-stream-open-starttls):
4240 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4241 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4242
40098786
LMI
4243 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4244 to binary to possibly avoid line encoding issues on Windows (among
4245 other things).
4246
468d09d4
LMI
42472011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4248
4249 * net/network-stream.el (open-network-stream): Return an :error
4250 saying what the problem was, if possible.
4251
4252 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4253 server.
4254
4255 * net/network-stream.el (network-stream-open-starttls): If we
4256 wanted to use STARTTLS, and the server offered it, but we weren't
4257 able to because we had no STARTTLS support, then close the connection.
4258 (open-network-stream): Return an :error element, if present.
4259
16f07dd7
CY
42602011-06-26 Chong Yidong <cyd@stupidchicken.com>
4261
88821ca0
CY
4262 * hl-line.el (hl-line-sticky-flag): Doc fix.
4263 (global-hl-line-sticky-flag): New option (Bug#8323).
4264 (global-hl-line-highlight): Obey it.
4265
16f07dd7
CY
4266 * vc/vc.el (vc-revert-show-diff): Default to t.
4267
6b5ccddf
KM
42682011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4269
c9d29fb8
SM
4270 * allout-widgets.el (allout-widgets-post-command-business):
4271 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4272 undecorated when an isearch is continued past, and isearch
4273 automatically collapses them. This leads to "widget leaks", where
4274 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4275 hidden widgets can slow down cursor travel, substantially.
4276 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4277 so we're doing without this nicety.
4278
4279 (allout-widgets-tally-string): Don't try to do a hash-table-count
4280 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4281 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4282 *Messages* when allout-widgets-maintain-tally is t.
4283
355f2e07
MR
42842011-06-26 Martin Rudalics <rudalics@gmx.at>
4285
4286 * window.el (display-buffer-normalize-argument): Rename to
4287 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4288 LABEL argument. Respect special-display-function when popping up
4289 a new frame. Fix code searching for a window showing the buffer
4290 on another frame.
c9d29fb8
SM
4291 (display-buffer-normalize-specifiers):
4292 Call display-buffer-normalize-arguments.
355f2e07
MR
4293 (display-buffer-in-window): Don't undedicate the window if its
4294 buffer remains the same.
4295 Reported by Drew Adams <drew.adams@oracle.com>.
4296 (display-buffer-alist): Add choice for same-window macro
4297 specfier.
4298 (display-buffer): Mention special meaning of LABEL argument in
4299 doc-string. Fix quoting. Don't pop up a new frame even as
4300 fallback.
4301
7ca8fc42
JB
43022011-06-26 Juanma Barranquero <lekktu@gmail.com>
4303
4304 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4305 avoid deleting the current window in some cases (bug#8911).
4306
bc312254
AS
43072011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4308
4309 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4310 (Bug#8934)
4311
2db18f3f
LMI
43122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4313
c9d29fb8
SM
4314 * net/network-stream.el (network-stream-open-starttls):
4315 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4316 (network-stream-open-tls): Ditto.
4317
6302e0d3
LL
43182011-06-26 Leo Liu <sdl.web@gmail.com>
4319
4320 * register.el (registerv): New struct.
4321 (registerv-make): New function.
c9d29fb8
SM
4322 (jump-to-register, describe-register-1, insert-register):
4323 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4324 struct. (Bug#8415)
4325
5fdd4046
CY
43262011-06-26 Chong Yidong <cyd@stupidchicken.com>
4327
2afef60a
CY
4328 * vc/vc.el (vc-revert-show-diff): New defcustom.
4329 (vc-diff-internal): New arg specifying diff buffer.
4330 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4331 reuse an existing *vc-diff* buffer (Bug#8927).
4332
5fdd4046
CY
4333 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4334
e93db24a
GM
43352011-06-26 Glenn Morris <rgm@gnu.org>
4336
4337 * progmodes/f90.el (f90-critical-indent): New option.
4338 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4339 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4340 (f90-mode): Doc fix.
4341 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4342 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4343 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4344 (f90-match-end): Handle block, critical.
4345
eefff499
GM
43462011-06-25 Glenn Morris <rgm@gnu.org>
4347
f6ba4cc9
GM
4348 * calendar/diary-lib.el (diary-included-files): Doc fix.
4349 (diary-include-files): New function, extracted from
4350 diary-include-other-diary-files and diary-mark-included-diary-files.
4351 (diary-include-other-diary-files, diary-mark-included-diary-files):
4352 Just call diary-include-files.
4353 (diary-mark-entries): Reset diary-included-files on first call.
4354
16712304
GM
4355 * calendar/diary-lib.el (diary-mark-entries)
4356 (diary-mark-included-diary-files):
4357 Visit included diary-files in temp buffers.
4358
5d8e0d43
GM
4359 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4360 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4361 (f90-start-block-re, f90-imenu-generic-expression)
4362 (f90-looking-at-program-block-start, f90-no-block-limit):
4363 Add support for submodules.
4364
ccf7a5d5
GM
4365 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4366 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4367
11fdef7d 43682011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4369
4370 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4371 buffer-file-type before setting its value, to avoid disastrous
eefff499 4372 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4373
74f53697
JB
43742011-06-25 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4377
4378 * ses.el (ses-unload-function):
4379 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4380
4381 * proced.el (proced-unload-function):
4382 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4383
18a4ce5e
AR
43842011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4385
4386 * server.el (server-create-window-system-frame): Add parameters arg.
4387 (server-process-filter): Doc fix. Handle frame-parameters.
4388
519d22cc
JB
43892011-06-25 Juanma Barranquero <lekktu@gmail.com>
4390
4391 Fix bug#8730, bug#8781.
4392
4393 * loadhist.el (unload--set-major-mode): New function.
4394 (unload-feature): Use it.
4395
4396 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4397 (python-unload-function): New function.
4398
c206f5b0
SM
43992011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4402
f9ad64f3
GS
44032011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4404
4405 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4406 the candidates list.
4407
7d0da90e
JB
44082011-06-24 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4411
14b4e83d
RS
44122011-06-23 Richard Stallman <rms@gnu.org>
4413
4414 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4415 (rmail-variables): Set next-error-move-function.
4416 (rmail-what-message): Take argument POS.
4417 (rmail-next-error-move): New function.
4418
273d2baf
SM
44192011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4422 messages for adjacent non-terminals.
4423
56c2cc9a
RS
44242011-06-23 Richard Stallman <rms@gnu.org>
4425
4426 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4427 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4428 (rmail-start-mail): Don't specify use of rmail-mail-return;
4429 that's done by mail-bury now.
4430 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4431
d59eb518
MA
44322011-06-23 Michael Albinus <michael.albinus@gmx.de>
4433
4434 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4435 SIZE is a number.
4436
02cfc6d6
MR
44372011-06-23 Martin Rudalics <rudalics@gmx.at>
4438
4439 * window.el (get-lru-window, get-mru-window)
4440 (get-largest-window): Never return a minibuffer window.
4441 (display-buffer-pop-up-window): Fix a bug that could lead to
4442 reusing the minibuffer window.
4443 (display-buffer): Pass original specifier argument to
4444 display-buffer-function instead of the normalized one.
4445 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4446
4e323265
LL
44472011-06-22 Leo Liu <sdl.web@gmail.com>
4448
4449 * minibuffer.el (completing-read-function)
4450 (completing-read-default): Move from minibuf.c
4451
7a70468f
RS
44522011-06-22 Richard Stallman <rms@gnu.org>
4453
50718fc2
RS
4454 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4455 to Rmail even if not started by a special Rmail command.
4456
7a70468f
RS
4457 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4458 Copy the buffer currently showing just one message.
4459
297dde5a
RW
44602011-06-22 Roland Winkler <winkler@gnu.org>
4461
4462 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4463 (bibtex-clean-entry): First delete the old key so that a
4464 customized algorithm for generating the new key does not get
4465 confused by the old key.
4466 (bibtex-url): Obey regexp of first step.
4467 (bibtex-search-entries): Do not use add-to-list with local
4468 list-var.
4469
97bb1093
LMI
44702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4471
4472 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4473 stored a user name, then query for the password first, instead of
4474 waiting for SMTP to give an error message and the trying again.
4475
1c0f1a19
JD
44762011-06-22 Lawrence Mitchell <wence@gmx.li>
4477
4478 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4479 BUFFER in call-process.
4480
396f7c9d
LMI
44812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4482
4483 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4484 QUIT twice.
ddb7ffee
LMI
4485 (smtpmail-try-auth-methods): Require user name and password from
4486 auth-source.
396f7c9d 4487
8998d1b3
MR
44882011-06-22 Martin Rudalics <rudalics@gmx.at>
4489
4490 * window.el (display-buffer-default-specifiers)
4491 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4492 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4493 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4494
4495 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4496 (special-display-frame-alist, special-display-popup-frame):
4497 Remove duplicate declarations. These are now in window.el.
4498
4ea31e07
LMI
44992011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4500
c9d29fb8
SM
4501 * mail/smtpmail.el (smtpmail-via-smtp):
4502 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4503 server supports it. SMTP servers that support STARTTLS commonly
4504 require it.
4505
4506 * net/network-stream.el (network-stream-open-starttls): Support
4507 upgrading to STARTTLS always, even if we don't have built-in support.
4508 (open-network-stream): Add the :always-query-capabilies keyword.
4509
95f41d9a
LMI
4510 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4511 upgrades with `open-network-stream', and rely solely on
4512 auth-source for all credentials. Big changes throughout the file,
4513 but in particular:
c9d29fb8
SM
4514 (smtpmail-auth-credentials): Remove.
4515 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4516 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4517 MAIL FROM, too.
95f41d9a 4518
c9d29fb8
SM
4519 * net/network-stream.el (network-stream-open-starttls):
4520 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4521 STARTTLS.
4522 (auth-source): Require.
4523 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4524 (network-stream-certificate): Change cert-cert to cert and
4525 cert-key to key.
4ea31e07 4526
065ec2c7
MA
45272011-06-21 Michael Albinus <michael.albinus@gmx.de>
4528
4529 * net/tramp-cache.el (top): Don't load the persistency file when
4530 "emacs -Q" has been called.
4531
cd93b359
DR
45322011-06-21 Tim Harper <timcharper@gmail.com>
4533
d8e4b68b
JB
4534 * term/ns-win.el (ns-initialize-window-system):
4535 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4536 resource to NO as it is not yet supported by the NS port.
4537
ae9c0411
JB
45382011-06-21 Juanma Barranquero <lekktu@gmail.com>
4539
4540 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4541 (list-dynamic-libraries): ...not here.
4542
7f3f739f
LL
45432011-06-21 Leo Liu <sdl.web@gmail.com>
4544
4545 * subr.el (sha1): Implement sha1 using secure-hash.
4546
327c8fb1
MR
45472011-06-21 Martin Rudalics <rudalics@gmx.at>
4548
4549 * window.el (display-buffer-alist): In default value do not
4550 enforce searching a window on any but the selected frame.
4551 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4552 (display-buffer-select-window): Remove function.
4553 (display-buffer-in-window): When a window on another frame gets
4554 reused, do not select it any more but just raise its frame if
4555 necessary (Bug#8851) and (Bug#8856).
4556 (display-buffer-normalize-options): Handle pop-up-frames related
4557 options more faithfully.
4558 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4559 window if it is on another frame.
c9d29fb8
SM
4560 (display-buffer-alist, display-buffer-default-specifiers):
4561 Don't make new frame unsplittable by default.
9e9de014
MR
4562 (display-buffer-normalize-argument): Fix doc-string typo and use
4563 'same-frame-other-window instead of 'other-window when associating
4564 with display-buffer-macro-specifiers.
327c8fb1 4565
7cf3f556
VB
45662011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4567
4568 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4569 New functions.
4570 (5x5-mode-map, 5x5-mode-menu): Bind them.
4571 (5x5-draw-grid): Tweak the solver's rendering.
4572
60a406cf
SM
45732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4574
4575 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4576 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4577
d8e4b68b 45782011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4579
4580 * menu-bar.el: Use function variable instead of switch-to-buffer.
4581 (menu-bar-select-buffer-function): New variable.
60a406cf 4582 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4583
478d6f95
SM
45842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4587 variable's status.
4588
ca530739
JD
45892011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4590
4591 * x-dnd.el (x-dnd-version-from-flags)
4592 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4593 and long as number (Bug#8899).
4594 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4595
bcd70d97
SM
45962011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4597
60a406cf 4598 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4599 (completion-try-completion, completion-all-completions): Compute the
4600 metadata argument if it's missing; make it optional (bug#8795).
4601
60a406cf 4602 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4603 (widget-complete): Use new :completion-function property.
4604 (widget-completions-at-point): New function.
4605 (default): Use :completion-function instead of :complete.
60a406cf
SM
4606 (widget-default-completions): Rename from widget-default-complete;
4607 Rewrite.
bcd70d97
SM
4608 (widget-string-complete, widget-file-complete, widget-color-complete):
4609 Remove functions.
4610 (file, symbol, function, variable, coding-system, color):
4611 * international/mule-cmds.el (default-input-method, charset)
4612 (language-info-custom-alist):
4613 * cus-edit.el (face): Use new property :completions.
4614
4615 * progmodes/pascal.el (pascal-completions-at-point): New function.
4616 (pascal-mode): Use it.
4617 (pascal-mode-map): Use completion-at-point.
4618 (pascal-toggle-completions): Make obsolete.
4619 (pascal-complete-word, pascal-show-completions):
4620 * progmodes/octave-mod.el (octave-complete-symbol):
4621 Redefine as obsolete alias.
4622 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4623 Signal absence of completion info for old Octave,
4624 (inferior-octave-complete): Redefine as obsolete alias.
4625 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4626 (meta-completions-at-point): Rename from meta-complete-symbol and
4627 adapt it for use on completion-at-point-functions.
4628 (meta-common-mode): Use it.
4629 (meta-looking-at-backward, meta-match-buffer): Remove.
4630 (meta-complete-symbol): Redefine as obsolete alias.
4631 (meta-common-mode-map): Use completion-at-point.
4632 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4633 (makefile-mode-map): Use completion-at-point.
4634 (makefile-completions-at-point): Rename from makefile-complete and
4635 adapt it for use on completion-at-point-functions.
4636 (makefile-mode): Use it.
4637 (makefile-complete): Redefine as obsolete alias.
4638
aebf69c8
DD
46392011-06-20 Deniz Dogan <deniz@dogan.se>
4640
4641 * net/rcirc.el: Delete trailing whitespaces once and for all.
4642
bfbbb27d
DC
46432011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4644
4645 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4646
d264a46b
CY
46472011-06-19 Chong Yidong <cyd@stupidchicken.com>
4648
4ca009e5
CY
4649 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4650
d264a46b
CY
4651 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4652
fbf5b3ce
MR
46532011-06-19 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (display-buffer-other-window-means-other-frame):
4656 Call display-buffer-normalize-alist.
4657 (display-buffer-normalize-specifiers-1): Rename to
4658 display-buffer-normalize-argument. New argument other-frame.
4659 Rewrite.
4660 (display-buffer-normalize-specifiers-2): Rename to
4661 display-buffer-normalize-options.
4662 (display-buffer-normalize-alist-1): New function.
4663 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4664 display-buffer-normalize-alist.
4665 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4666 (display-buffer-normalize-options-inhibit): New variable.
4667 (display-buffer-normalize-specifiers): Rewrite calling
4668 display-buffer-normalize-alist,
4669 display-buffer-normalize-argument, and
4670 display-buffer-normalize-options. Don't call the latter if
4671 display-buffer-normalize-options-inhibit is non-nil.
4672 (frame-auto-delete): New option.
4673 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4674 (window-list-no-nils, window-state-ignored-parameters)
4675 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4676 (window-state-put-1, window-state-put-2, window-state-put):
4677 New functions.
9a028c23
MR
4678 (display-buffer-normalize-options): Move special-display-p group
4679 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4680
6d10d800
CY
46812011-06-18 Chong Yidong <cyd@stupidchicken.com>
4682
6420d28b
CY
4683 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4684 groups (Bug#8776).
4685 (rx-submatch-n): New function.
4686 (rx): Document it.
4687
ddb8b596
CY
4688 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4689 (Bug#8768).
4690
4691 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4692
77080289
CY
4693 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4694
61dfb316
CY
4695 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4696 anytime existing face settings are present (Bug#8889).
4697
6d10d800
CY
4698 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4699 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4700 Remove unused argument.
4701
be3fb2b8
MR
47022011-06-18 Martin Rudalics <rudalics@gmx.at>
4703
bcd70d97
SM
4704 * window.el (display-buffer-default-specifiers):
4705 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4706 pop-up-window-min-width, and another reuse-window specifier
4707 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4708 (display-buffer-normalize-specifiers-2):
4709 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4710 pop-up-windows is unset. Add a reuse-window specifier for the
4711 case popping up a new window fails.
4712 (special-display-popup-frame): Remove double quoting.
28dec25a 4713 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4714
1c6d8c76
SM
47152011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4718 according to comint-completion-addsuffix.
4719
4720 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4721 (pcomplete-suffix-list): Mark as obsolete.
4722 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4723 pcomplete-seen in the closure.
4724 (pcomplete-comint-setup): Setup completion-at-point as well.
4725 (pcomplete--entries): New function.
4726 (pcomplete--env-regexp): New var.
4727 (pcomplete-entries): Rewrite to work with partial-completion and
4728 without relying on pcomplete-suffix-list.
4729 (pcomplete-pare-list): Remove, unused.
4730
25aef8b8
MR
47312011-06-17 Martin Rudalics <rudalics@gmx.at>
4732
4733 * window.el (display-buffer-alist): Set pop-up-window-min-height
4734 and pop-up-window-min-width in default value. Reported by
4735 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4736 other-window-means-other-frame.
4737 (display-buffer-macro-specifiers): Comment out entry for
4738 other-window specifier.
4739 (display-buffer-other-window-means-other-frame): New function.
4740 (display-buffer-normalize-specifiers-1): New arguments
4741 buffer-name and label. Treat other-window case specially.
4742 (display-buffer-normalize-specifiers-2): Treat other-window case
4743 specially.
4744 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4745 (display-buffer-normalize-specifiers):
4746 Call display-buffer-normalize-specifiers-3.
25aef8b8 4747
dbad4f69
MR
47482011-06-17 Martin Rudalics <rudalics@gmx.at>
4749
4750 * window.el (same-window-p): Fix two typos introduced when
4751 adding with-no-warnings.
d1067961
MR
4752 (display-buffer-normalize-specifiers-1): Don't check
4753 pop-up-frames for 'unset initialization.
4754 (display-buffer-normalize-specifiers-2): Major rewrite using
4755 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4756 (pop-up-frames, display-buffer-reuse-frames)
4757 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4758 Suggested by David Engster <deng@randomsample.de>.
4759 (even-window-heights): Initialize to 'unset.
4760 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4761 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4762 other window case.
dbad4f69 4763
9b9c9e3a
MR
47642011-06-16 Martin Rudalics <rudalics@gmx.at>
4765
bcd70d97
SM
4766 * window.el (display-buffer-normalize-specifiers-1):
4767 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4768 second argument of display-buffer (Bug#8865).
981d5c09
MR
4769 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4770 (switch-to-buffer-other-window-same-frame)
4771 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4772 Adams (Bug#8875).
9c2755e9
MR
4773 (display-buffer): Don't check noninteractive when calling
4774 display-buffer-pop-up-frame.
4775 (display-buffer-pop-up-frame): Never pop up a frame in
4776 noninteractive mode (Bug#8857).
67222e1d
MR
4777 (enlarge-window, shrink-window): Don't report an error when the
4778 window can't be resized as requested (Bug#8862).
9b9c9e3a 4779
2b75be67
SM
47802011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4781
9ffdd3ba
SM
4782 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4783
cb581a67
SM
4784 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4785
2b75be67
SM
4786 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4787
8c0e3589
AM
47882011-06-15 Alan Mackenzie <acm@muc.de>
4789
cb581a67
SM
4790 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4791 for declarators, disable knr checking to speed up for normal files.
4792 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4793
b96e6cde
LMI
47942011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4795
4bba86e6
LMI
4796 * net/network-stream.el (open-network-stream): Add the keyword
4797 :always-query-capabilities for the case where you want to force a
4798 `plain' network connection, but the protocol still requires the
4799 capabilitiy command (i.e., SMTP and EHLO).
4800
2b75be67 4801 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4802 consistency with other `-live-p' functions.
4803
efdcdbf8
SM
48042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4805
4806 * window.el (same-window-buffer-names, same-window-regexps)
4807 (special-display-frame-alist, special-display-popup-frame)
4808 (special-display-function, special-display-buffer-names)
4809 (special-display-regexps, pop-up-frame-alist)
4810 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4811 (pop-up-windows, split-window-preferred-function)
4812 (split-height-threshold, split-width-threshold, even-window-heights)
4813 (display-buffer-mark-dedicated): Don't encourage the use of
4814 display-buffer-alist from Elisp code.
4815
c5cde042
DN
48162011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4817
4818 * progmodes/python.el (python-mode): Derive from prog-mode.
4819 * progmodes/ps-mode.el (ps-mode):
4820 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4821 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4822 * progmodes/ld-script.el (ld-script-mode): Likewise.
4823
baa1c9ab
MR
48242011-06-15 Martin Rudalics <rudalics@gmx.at>
4825
4826 * window.el (display-buffer-alist): Trim default value to avoid
4827 popping up a new frame (Bug#8857) or reusing an arbitrary window
4828 on another frame.
4829 (display-buffer): Do not fall back on popping up a new frame in
4830 batch mode (Bug#8857).
4831
c5dd5a51
CY
48322011-06-14 Chong Yidong <cyd@stupidchicken.com>
4833
4834 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4835 (custom-theme-summary): New function.
4836 (customize-themes): Use it.
4837
d647b7c4
GM
48382011-06-13 Glenn Morris <rgm@gnu.org>
4839
4840 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4841
9481c002
MR
48422011-06-13 Martin Rudalics <rudalics@gmx.at>
4843
357f93d2
MR
4844 * help.el (help-window): Remove variable.
4845 (help-window-point-marker, temp-buffer-max-height)
4846 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4847 (help-print-return-message): Don't set help-window.
4848 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4849 (help-window-setup-finish): Remove.
4850 (help-window-display-message, help-window-setup)
4851 (with-help-window): Major rewrite based on new
4852 display-buffer-window variable.
4853
4854 * help-mode.el (help-mode-finish): Remove help-window related
4855 code.
4856
4857 * view.el (view-exits-all-viewing-windows): Remove reference to
4858 view-return-to-alist in doc-string.
4859 (view-return-to-alist): Make obsolete.
4860 (view-buffer): Call pop-to-buffer-same-window and remove
4861 undo-window code.
4862 (view-buffer-other-window): Call pop-to-buffer-other-window and
4863 simplify code. Ignore second argument.
4864 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4865 simplify code. Ignore second argument.
4866 (view-return-to-alist-update): Make obsolete.
4867 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4868 Rewrite using quit-restore window parameters.
2b75be67
SM
4869 (view-mode-exit): Rename second argument to EXIT-ONLY.
4870 Rewrite using quit-restore-window.
357f93d2
MR
4871 (View-exit, View-exit-and-edit, View-leave, View-quit)
4872 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4873 appropriate arguments.
4874 (view-end-message): Use quit-restore window parameter.
4875
9481c002
MR
4876 * window.el (display-buffer-function): Rewrite doc-string.
4877 (display-buffer-window, display-buffer-alist): New variables.
4878 (display-buffer-split-specifiers)
4879 (display-buffer-side-specifiers)
4880 (display-buffer-macro-specifiers): New constants.
4881 (display-buffer-even-window-sizes, display-buffer-set-height)
4882 (display-buffer-set-width, display-buffer-select-window)
4883 (display-buffer-in-window, display-buffer-reuse-window)
4884 (display-buffer-split-window-1, display-buffer-split-window)
4885 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4886 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4887 (display-buffer-in-side-window, normalize-buffer-to-display)
4888 (display-buffer-normalize-specifiers-1)
4889 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4890 (display-buffer-normalize-specifiers, display-buffer-frame):
4891 New functions.
9481c002
MR
4892 (display-buffer): Major rewrite.
4893 (display-buffer-other-window, display-buffer-other-frame)
4894 (pop-to-buffer, switch-to-buffer-other-window)
4895 (switch-to-buffer-other-frame): Rewrite.
4896 (display-buffer-same-window, display-buffer-same-frame)
4897 (display-buffer-same-frame-other-window)
4898 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4899 (pop-to-buffer-other-window)
4900 (pop-to-buffer-same-frame-other-window)
4901 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4902 (switch-to-buffer-other-window-same-frame): New functions.
4903 (same-window-p, special-display-p): Rewrite disabling warnings.
4904 Make obsolete.
4905 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4906 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4907 Make obsolete
4908 (same-window-buffer-names, same-window-regexps)
4909 (special-display-frame-alist, special-display-popup-frame)
4910 (special-display-function, special-display-buffer-names)
4911 (special-display-regexps, pop-up-frame-alist)
4912 (pop-up-frame-function, split-window-preferred-function)
4913 (split-height-threshold, split-width-threshold)
4914 (even-window-heights): Make obsolete.
4915
9db51aca
GM
49162011-06-12 Glenn Morris <rgm@gnu.org>
4917
4918 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4919 Misc simplifications.
9db51aca 4920
39cffb44
MR
49212011-06-12 Martin Rudalics <rudalics@gmx.at>
4922
4923 * window.el (window-safely-shrinkable-p): Restore function which
4924 was inadvertently removed in change from 2011-06-11. Declare as
4925 obsolete.
4926
2b75be67
SM
4927 * calendar/calendar.el (calendar-generate-window):
4928 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4929 window-safely-shrinkable-p.
4930
a8955be7
GM
49312011-06-12 Glenn Morris <rgm@gnu.org>
4932
4933 * progmodes/fortran.el (fortran-mode-syntax-table):
4934 * progmodes/f90.el (f90-mode-syntax-table):
4935 Set % to punctuation. (Bug#8820)
4936 (f90-find-tag-default): Remove, no longer needed.
4937
f0d4059d
DC
49382011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4939
4940 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4941
1100a63c
CY
49422011-06-11 Chong Yidong <cyd@stupidchicken.com>
4943
4944 * image.el (image-animated-p): Return animation delay in seconds.
4945 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4946 (image-animate-timeout): Remove DELAY argument. Don't assume
4947 every subimage has the same delay; get it from image-animated-p.
4948 (image-animate): Caller changed.
4949
def722bf
MA
49502011-06-11 Michael Albinus <michael.albinus@gmx.de>
4951
4952 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4953 to ignored backtrace functions.
4954
0a2bb1a9
GM
49552011-06-11 Glenn Morris <rgm@gnu.org>
4956
4957 * calendar/appt.el (appt-disp-window-function): Doc fix.
4958 (appt-check): Handle overlapping appointments. (Bug#8337)
4959
6198ccd0
MR
49602011-06-11 Martin Rudalics <rudalics@gmx.at>
4961
4962 * window.el (window-tree-1, window-tree): New functions, moving
4963 the latter to window.el.
4964 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4965 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4966 (bw-refresh-edges): Remove.
4967 (balance-windows-1, balance-windows-2): New functions.
4968 (balance-windows): Rewrite in terms of window tree functions,
4969 balance-windows-1 and balance-windows-2.
4970 (bw-adjust-window): Remove.
4971 (balance-windows-area-adjust): New function with functionality of
4972 bw-adjust-window but using resize-window.
2b75be67
SM
4973 (set-window-text-height): Rewrite doc-string.
4974 Use normalize-live-window and resize-window.
4975 (enlarge-window-horizontally, shrink-window-horizontally):
4976 Rename argument to DELTA.
6198ccd0
MR
4977 (window-buffer-height): New function.
4978 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4979 Rewrite using new window resize routines.
2b75be67
SM
4980 (kill-buffer-and-window, mouse-autoselect-window-select):
4981 Use ignore-errors instead of condition-case.
6198ccd0
MR
4982 (quit-window): Call delete-frame instead of delete-windows-on
4983 for the only buffer on frame.
4984
9397e56f
MR
49852011-06-10 Martin Rudalics <rudalics@gmx.at>
4986
4987 * loadup.el (top-level): Load window before files for the sake
4988 of replace-buffer-in-windows.
4989
4990 * files.el (read-buffer-to-switch)
4991 (switch-to-buffer-other-window)
2b75be67
SM
4992 (switch-to-buffer-other-frame, display-buffer-other-frame):
4993 Move to window.el.
9397e56f
MR
4994
4995 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4996 (previous-buffer): Move to window.el.
4997
4998 * bindings.el (unbury-buffer): Move to window.el.
4999
5000 * window.el (delete-other-windows-vertically): Move after
5001 definition of delete-other-windows.
5002 (other-window, delete-windows-on, replace-buffer-in-windows):
5003 Move here from window.c.
5004 (record-window-buffer, unrecord-window-buffer)
5005 (set-window-buffer-start-and-point, switch-to-prev-buffer)
5006 (switch-to-next-buffer): New functions.
5007 (get-next-valid-buffer, last-buffer, next-buffer): Move here
5008 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
5009 (previous-buffer): Move here from simple.el.
5010 Call switch-to-prev-buffer.
9397e56f
MR
5011 (bury-buffer): Move here from buffer.c. Switch to previous
5012 buffer when window cannot be deleted.
5013 (unbury-buffer): Move here from bindings.el.
5014 (ctl-x-map): Move binding for other-window from window.c to
5015 here.
5016 (read-buffer-to-switch, switch-to-buffer-other-window)
5017 (switch-to-buffer-other-frame): Move here from files.el.
5018 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
5019 (switch-to-buffer): Move here from buffer.c.
5020 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 5021
562dd5e9
MR
50222011-06-10 Martin Rudalics <rudalics@gmx.at>
5023
5024 * window.el (window-min-height, window-min-width): Move here
5025 from window.c. Add defcustoms and rewrite doc-strings.
5026 (resize-mini-window, resize-window): New functions.
5027 (adjust-window-trailing-edge, enlarge-window, shrink-window):
5028 Move here from window.c.
5029 (maximize-window, minimize-window): New functions.
5030 (delete-window, delete-other-windows, split-window): Move here
5031 from window.c.
5032 (window-split-min-size): New function.
5033 (split-window-keep-point): Mention split-window-above-each-other
5034 instead of split-window-vertically.
2b75be67
SM
5035 (split-window-above-each-other, split-window-vertically):
5036 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
5037 provide defalias for old definition.
5038 (split-window-side-by-side, split-window-horizontally): Rename
5039 split-window-horizontally to split-window-side-by-side and provide
5040 defalias for the old definition.
5041 (ctl-x-map): Move bindings for delete-window,
5042 delete-other-windows and enlarge-window here from window.c.
5043 Replace bindings for split-window-vertically and
5044 split-window-horizontally by bindings for
5045 split-window-above-each-other and split-window-side-by-side.
5046
5047 * cus-start.el (all): Remove entries for window-min-height and
5048 window-min-width. Add entries for window-splits and
5049 window-nest.
5050
f0da764a
GM
50512011-06-09 Glenn Morris <rgm@gnu.org>
5052
80675c21
GM
5053 * calendar/appt.el (appt-mode-line): New function.
5054 (appt-check, appt-disp-window): Use it.
5055
f0da764a
GM
5056 * files.el (hack-one-local-variable-eval-safep):
5057 Allow minor-modes with explicit +/-1 arguments.
5058
59f623b7
TZ
50592011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
5060
5061 * term/xterm.el (xterm): Add defgroup.
5062 (xterm-extra-capabilities): Add defcustom to supply known xterm
5063 capabilities, skip querying them, or query them (default).
5064 (terminal-init-xterm): Use it.
5065 (terminal-init-xterm-modify-other-keys): New function to set up
5066 modifyOtherKeys support to simplify `terminal-init-xterm'.
5067
9aab8e0d
MR
50682011-06-09 Martin Rudalics <rudalics@gmx.at>
5069
5070 * window.el (resize-window-reset, resize-window-reset-1)
5071 (resize-subwindows-skip-p, resize-subwindows-normal)
5072 (resize-subwindows, resize-other-windows, resize-this-window)
5073 (resize-root-window, resize-root-window-vertically)
5074 (window-deletable-p, window-or-subwindow-p)
5075 (frame-root-window-p): New functions.
5076
e8b08aee
GM
50772011-06-09 Glenn Morris <rgm@gnu.org>
5078
5079 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
5080 (ange-ftp-get-files): Use it.
5081
254c37a5
AK
50822011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5083
5084 * mail/sendmail.el (mail-recover-1, mail-recover):
5085 * files.el (recover-file, recover-session):
5086 Handle dired-listing-switches not being just a single short option.
5087
35d7dbd3
GM
50882011-06-09 Glenn Morris <rgm@gnu.org>
5089
5090 * calendar/appt.el (appt-display-message, appt-disp-window):
5091 Handle lists of appointments.
5092
387522b2
MR
50932011-06-08 Martin Rudalics <rudalics@gmx.at>
5094
2b75be67
SM
5095 * window.el (one-window-p): Move down in code.
5096 Rewrite doc-string.
5097 (window-current-scroll-bars): Rewrite doc-string.
5098 Normalize live window argument.
387522b2
MR
5099 (walk-windows, get-window-with-predicate, count-windows):
5100 Rewrite doc-string. Use window-list-1.
5101 (window-in-direction-2, window-in-direction, get-mru-window):
5102 New functions.
5103
d8e4b68b 51042011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
5105
5106 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
5107 Doc fix (Bug#8713).
5108
51092011-06-08 Chong Yidong <cyd@stupidchicken.com>
5110
5111 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
5112
51132011-06-08 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * loadhist.el (unload-feature-special-hooks):
5116 Add `comint-output-filter-functions'.
5117
0de12c52
IK
51182011-06-08 Ivan Kanis <gnu@kanis.fr>
5119
5120 * calendar/appt.el (appt-check): Move some initializations into the let.
5121
f3d1777e
MR
51222011-06-08 Martin Rudalics <rudalics@gmx.at>
5123
5124 * window.el (window-height): Defalias to window-total-height.
5125 (window-width): Defalias to window-body-width.
5126
18af70d0
CY
51272011-06-07 Chong Yidong <cyd@stupidchicken.com>
5128
5129 * image-mode.el (image-toggle-animation): New command.
5130 (image-mode-map): Bind it to RET.
5131 (image-mode): Update message.
5132 (image-toggle-display-image): Avoid a spurious cache flush.
5133 (image-transform-rotation): Doc fix.
5134 (image-transform-properties): Return quickly in the normal case.
5135 (image-animate-loop): Rename from image-animate-max-time.
5136
2b75be67 5137 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
5138 (create-animated-image): Remove unnecessary function.
5139 (image-animate): Rename from image-animate-start. New arg.
2b75be67 5140 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
5141 (image-animate-timer): Use car-safe.
5142 (image-animate-timeout): Rename argument.
5143
190b47e6
MR
51442011-06-07 Martin Rudalics <rudalics@gmx.at>
5145
5146 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5147 window.c. Rename first argument to ALL-FRAMES.
5148 Rephrase doc-strings.
5149 (get-buffer-window-list): Rewrite using window-list-1.
5150 Rephrase doc-string.
a1511caf
MR
5151 (window-safe-min-height, window-safe-min-width): New constants.
5152 (window-size-ignore, window-min-size, window-min-size-1)
5153 (window-sizable, window-sizable-p, window-size-fixed-1)
5154 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5155 (window-max-delta-1, window-max-delta, window-resizable)
5156 (window-resizable-p, window-total-height, window-total-width)
5157 (window-body-width): New functions.
5158 (window-full-height-p, window-full-width-p): Rewrite using
5159 window-total-size.
5160 (window-body-height): Rewrite using window-body-size.
190b47e6 5161
85cc1f11
MR
51622011-06-06 Martin Rudalics <rudalics@gmx.at>
5163
5164 * window.el (window-right, window-left, window-child)
5165 (window-child-count, window-last-child, window-any-p)
5166 (normalize-live-buffer, normalize-live-frame)
5167 (normalize-any-window, normalize-live-window)
5168 (window-iso-combination-p, window-iso-combined-p)
5169 (window-iso-combinations)
5170 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5171 (windows-with-parameter, window-with-parameter)
5172 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5173 (window-atom-check, window-side-check, window-check):
5174 New functions.
85cc1f11
MR
5175 (ignore-window-parameters, window-sides, window-sides-vertical)
5176 (window-sides-slots): New variables.
5177 (window-size-fixed): Move down in code. Minor doc-string fix.
5178
e7156492
AS
51792011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5180
5181 * comint.el (comint-dynamic-complete-as-filename)
5182 (comint-dynamic-complete-filename): Correctly call
5183 completion-in-region.
5184
7e821d0d
DD
51852011-06-05 Deniz Dogan <deniz@dogan.se>
5186
5187 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5188 in last change.
5189
ac09b8a1
DD
51902011-06-05 Deniz Dogan <deniz@dogan.se>
5191
5192 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5193 (rcirc): Use it to prompt for encryption.
5194
34699b85
RW
51952011-06-05 Roland Winkler <winkler@gnu.org>
5196
5197 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5198 (bibtex-search-entries): New command bound to C-c C-a.
5199 (bibtex-display-entries): New function.
5200
004dedd3
RW
52012011-06-05 Roland Winkler <winkler@gnu.org>
5202
5203 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5204 (bibtex-insert-kill): After yanking insert newline if necessary.
5205 (bibtex-initialize): Call bibtex-string-files-init only once.
5206 (bibtex-mode): Do not call easy-menu-add.
5207 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5208 (bibtex-yank): Set arg properly if nil.
5209
022fe7ce
RW
52102011-06-05 Roland Winkler <winkler@gnu.org>
5211
2b75be67
SM
5212 * textmodes/bibtex.el (bibtex-search-entry-globally):
5213 New variable.
022fe7ce
RW
5214 (bibtex-search-entry): Use it.
5215
b7c3692a
RW
52162011-06-05 Roland Winkler <winkler@gnu.org>
5217
5218 * textmodes/bibtex.el (bibtex-entry-format): New option
5219 sort-fields.
5220 (bibtex-format-entry, bibtex-reformat): Honor this option.
5221 (bibtex-parse-entry): Return fields in proper order.
5222
8eda563d
JB
52232011-06-05 Juanma Barranquero <lekktu@gmail.com>
5224
5225 * doc-view.el (doc-view-remove-if): Move computation of result out
5226 of `dolist' to silence misleading lexical-binding warning.
5227
7dbe3dbc
CY
52282011-06-04 Chong Yidong <cyd@stupidchicken.com>
5229
5230 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5231 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5232
0c33dd17
MA
52332011-06-04 Michael Albinus <michael.albinus@gmx.de>
5234
5235 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5236 "SunOS 5.10".
5237
f8f91c2b
MA
52382011-06-04 Michael Albinus <michael.albinus@gmx.de>
5239
5240 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5241 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5242 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5243 (tramp-parse-putty):
5244 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5245 (tramp-completion-function-alist-ssh)
5246 (tramp-completion-function-alist-telnet)
5247 (tramp-completion-function-alist-su)
5248 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5249 cookie.
5250
5251 * net/tramp-ftp.el:
5252 * net/tramp-sh.el:
5253 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5254 load "tramp.el" `tramp-set-completion-function'.
5255
e17d9003
SM
52562011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * shell.el: Require and use pcomplete.
5259 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5260 (shell-completion-vars): Set pcomplete-default-completion-function.
5261
6c4cab03
DD
52622011-06-04 Deniz Dogan <deniz@dogan.se>
5263
5264 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5265 `memq' (Bug#8799).
5266
ea9fafe0
SM
52672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5270
b3e945d3
JB
52712011-06-02 Juanma Barranquero <lekktu@gmail.com>
5272
5273 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5274 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5275 * vc/log-view.el (log-view-beginning-of-defun):
5276 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5277 (smerge-refine-forward, smerge-refine-chopup-region):
5278 Silence warning for unused `dotimes' counter variables.
5279
7d520089
SM
52802011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * net/tramp.el (tramp-with-progress-reporter): Rename from
5283 with-progress-reporter. Use `declare'.
5284 * net/tramp-smb.el:
5285 * net/tramp-sh.el:
5286 * net/tramp-gvfs.el: Update all uses.
5287
a1c2400f
JB
52882011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5289
5290 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5291 buffer isn't killed before making it current.
5292
2403c841
SM
52932011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 Silence various byte-compiler warnings.
5296 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5297 `access-type' and new obsolescence format.
5298 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5299 new format.
5300 (byte-compile-check-variable): New `access-type' argument.
5301 Only warn if the access-type is obsolete.
5302 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5303 (byte-compile-variable-set): Adjust callers.
5304 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5305 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5306 setting it as obsolete.
5307 * simple.el (minibuffer-completing-symbol):
5308 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5309 access as obsolete.
5310 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5311 obsolete yet.
5312 * international/quail.el (quail-mouse-choose-completion): Remove unused
5313 code referring to obsolete var.
5314 (quail-choose-completion-string): Remove.
5315 * server.el (server-clients-with, server-kill-buffer-query-function)
5316 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5317 * proced.el (proced-send-signal):
5318 * emacs-lisp/lisp.el (lisp-complete-symbol):
5319 Replace completion-annotate-function with completion-extra-properties.
5320
2462470b
SM
53212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5322
fb5b2591
SM
5323 * simple.el (goto-line): Use read-number.
5324 (overriding-map-is-bound): Remove.
5325 (saved-overriding-map): Change default.
5326 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5327 Take the map as argument.
5328 (universal-argument, negative-argument, digit-argument): Use it.
5329 (restore-overriding-map): Adjust.
5330 (do-auto-fill): Use fill-forward-paragraph.
5331 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5332
fd6fa53f
SM
5333 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5334 (minibuffer-inactive-mode): New major mode.
5335 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5336 the *Messages* buffer" hack.
5337 (mouse-popup-menubar): Don't burp if the event is a normal key.
5338
2462470b
SM
5339 Miscellaneous tweaks.
5340 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5341 lexical scoping as in subr.el's dolist and dotimes.
5342 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5343 Silence compiler warning.
5344 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5345 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5346 * international/ccl.el (ccl-compile): Trivial simplification.
5347 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5348 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5349 `printflag' argument.
5350 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5351 Purecopy the whole obsolescence data.
5352
108bf785
LL
53532011-06-01 Leo Liu <sdl.web@gmail.com>
5354
5355 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5356 improve doc-string as suggested by Marco Pessotto
5357 <melmothx@gmail.com>.
5358 (rcirc-print): Fix last change.
5359
30a23501
SM
53602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * minibuffer.el (complete-with-action): Return nil for the metadata and
5363 boundaries of non-functional tables.
5364 (completion-table-dynamic): Return nil for the metadata.
5365 (completion-table-with-terminator): Add default case, using
5366 complete-with-action.
5367 (completion--metadata): New function.
5368 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5369 to try and avoid pathological performance problems.
5370 (completion--embedded-envvar-table): Return `category' metadata.
5371
bcd54f83
LMI
53722011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5373
5374 * subr.el (process-alive-p): New tiny convenience function.
5375
e227544d
SM
53762011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5377
5378 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5379 content but also its previous major mode.
5380
e8296fdc
HE
53812011-05-31 Helmut Eller <eller.helmut@gmail.com>
5382
4d61f28d 5383 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5384 *Backtrace* buffer when we exit with C-M-c.
5385
620c53a6
SM
53862011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * minibuffer.el: Add metadata method to completion tables.
5389 (completion-category-overrides): New defcustom.
5390 (completion-metadata, completion--field-metadata)
5391 (completion-metadata-get, completion--styles)
5392 (completion--cycle-threshold): New functions.
5393 (completion-try-completion, completion-all-completions):
5394 Add `metadata' argument to choose completion-styles.
5395 (completion--do-completion): Use metadata to choose cycling.
5396 (completion-all-sorted-completions): Use metadata for sorting.
5397 Remove :completion-cycle-penalty which is not needed any more.
5398 (completion--try-word-completion): Add `metadata' argument.
5399 (minibuffer-completion-help): Check metadata for annotation function
5400 and sorting.
5401 (completion-file-name-table): Return `category' metadata.
5402 (minibuffer-completing-file-name): Make obsolete.
5403 * simple.el (minibuffer-completing-symbol): Make obsolete.
5404 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5405 completion-try-completion.
5406
1257e755
SM
54072011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5410
3767e706
LL
54112011-05-30 Leo Liu <sdl.web@gmail.com>
5412
5413 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5414 (rcirc-print): Decode all incoming messages (bug#8744).
5415 (rcirc-decode-coding-system): Allow value nil for automatic coding
5416 system detection.
3767e706 5417
d1a5d56a
GM
54182011-06-01 Glenn Morris <rgm@gnu.org>
5419
5420 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5421
e8cbec34
CY
54222011-05-29 Chong Yidong <cyd@stupidchicken.com>
5423
5424 * image.el (image-animate-max-time): Allow nil and t values.
5425 Default to nil.
5426 (create-animated-image): Doc fix.
5427 (image-animate-start): Remove second arg; just use
5428 image-animate-max-time.
5429 (image-animate-timeout): Doc fix. Args changed.
5430
5431 * image-mode.el (image-toggle-display-image): Ensure that the
5432 image spec passed to the animate timer is the same object as in
5433 the the buffer's display property (Bug#6981).
5434 (image-transform-properties): Doc fix.
5435
5436 * image.el (image-animate-max-time): Default to nil.
5437
159daf87
MR
54382011-05-29 Martin Rudalics <rudalics@gmx.at>
5439
5440 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5441 entire buffer list (Bug#8184).
5442
d66c4c7c
CY
54432011-05-29 Chong Yidong <cyd@stupidchicken.com>
5444
5445 * image.el (imagemagick-types-inhibit)
5446 (imagemagick-register-types): Doc fix.
5447
80aec780
DD
54482011-05-29 Deniz Dogan <deniz@dogan.se>
5449
5450 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5451 default.
5452
1dd3c2d9
CY
54532011-05-29 Chong Yidong <cyd@stupidchicken.com>
5454
5455 * select.el: Don't perform clipboard-manager saving in hooks;
5456 leave the hooks empty.
5457
60e56523
LL
54582011-05-28 Leo Liu <sdl.web@gmail.com>
5459
5460 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5461 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5462 (occur-edit-mode): New major mode (Bug#8463).
5463 (occur-after-change-function): New function.
5464 (occur-engine): Give Occur tags a read-only property.
5465
2b1e1a22
KR
54662011-05-28 Kevin Ryde <user42@zip.com.au>
5467
5468 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5469
5d344e88
CY
54702011-05-28 Chong Yidong <cyd@stupidchicken.com>
5471
8e6ca83d
CY
5472 * bindings.el (help-echo): Make the initial non-indicator dash
5473 empty on graphical terminals (Bug#7295).
5474
5d344e88
CY
5475 * files.el (auto-mode-alist): Move config rule after the
5476 in-stripping one (Bug#8547).
5477
bfbbace7
CY
5478 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5479
fbeba6e2
CY
5480 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5481 setting (Bug#8740).
5482
60ed8c72
AA
54832011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5484
4ac619f0
AA
5485 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5486 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5487 (Bug#8539).
60ed8c72 5488
23db196e
CY
54892011-05-28 Chong Yidong <cyd@stupidchicken.com>
5490
5491 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5492
5012f24c
DK
54932011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5494
5495 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5496 (hs-hide-block-at-point, hs-find-block-beginning)
5497 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5498 (Bug#8279).
5499
6a639b16
GM
55002011-05-28 Glenn Morris <rgm@gnu.org>
5501
5502 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5503
d43eaf2c
CY
55042011-05-28 Chong Yidong <cyd@stupidchicken.com>
5505
5199bde1
CY
5506 * help-fns.el (describe-function-1): If the function is a derived
5507 major mode, print the parent mode.
5508
d43eaf2c
CY
5509 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5510 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5511
423428a8
SM
55122011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5513
0ff8e1ba
SM
5514 * minibuffer.el (completion--capf-wrapper): Check applicability before
5515 retuning non-nil for non-exclusive completion data.
5516 * progmodes/etags.el (tags-completion-at-point-function):
5517 * info-look.el (info-lookup-completions-at-point): Mark as
5518 non-exclusive.
5519 (info-complete): Adjust accordingly.
5520
423428a8
SM
5521 * info-look.el: Convert to lexical-binding and completion-at-point.
5522 (info-lookup-completions-at-point): New function.
5523 (info-complete): Use it and completion-in-region.
5524
b74aa22b
DA
55252011-05-28 Drew Adams <drew.adams@oracle.com>
5526
5527 * isearch.el: Let M-e start with point at the first mismatched char.
5528 (isearch-fail-pos): New function.
5529 (isearch-edit-string): Use it.
5530
66e2e71d
DK
55312011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5532
5533 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5534
eb95d01d
TC
55352009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5536
5537 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5538 traversal functions for avl-trees.
5539 (avl-tree--stack): New struct.
5540 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5541 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5542 (avl-tree--do-enter): Add optional `updatefun' arg.
5543 Change return value.
eb95d01d 5544 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5545 (avl-tree--do-delete): Add `test' and `nilflag' args.
5546 Change return value.
eb95d01d
TC
5547 (avl-tree-member): Add optional `nilflag'
5548 (avl-tree-member-p): New function.
5549 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5550 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5551 (avl-tree-stack-empty-p): New functions.
5552
3769ddcf
TC
55532009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5554
5555 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5556 avl-tree--del-balance1 and make it work both ways.
5557 (avl-tree--del-balance2): Remove.
5558 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5559 make it work both ways.
5560 (avl-tree--enter-balance2): Remove.
5561 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5562 New macros.
5563 (avl-tree--mapc, avl-tree-map): Add direction argument.
5564
eb95d01d 55652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5566
5567 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5568
a9f737ee
CY
55692011-05-27 Chong Yidong <cyd@stupidchicken.com>
5570
5571 * select.el: Support clipboard managers with built-in function
5572 x-clipboard-manager-save, via delete-frame-functions and
5573 kill-emacs-hook.
5574 (xselect-convert-to-targets): Add MULTIPLE target to list.
5575 (xselect-convert-to-save-targets): New function.
5576
c92a1e54
KH
55772011-05-27 Kenichi Handa <handa@m17n.org>
5578
5579 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5580 let-binding rfc2047-encode-encoded-words to nil.
5581
e145f188
GM
55822011-05-27 Glenn Morris <rgm@gnu.org>
5583
5ec8a862
GM
5584 * mail/emacsbug.el: Don't require url-util.
5585
4b29d9fb
GM
5586 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5587
e145f188
GM
5588 * files.el (set-auto-mode):
5589 Also respect mode: entries at the end of the file. (Bug#8586)
5590
7d15102b
GM
55912011-05-26 Glenn Morris <rgm@gnu.org>
5592
98f593b8
GM
5593 * files.el (hack-local-variables-prop-line, hack-local-variables):
5594 Downcase mode names, as seems to be traditional.
27b48e63 5595 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5596
7d15102b
GM
5597 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5598 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5599
51d5b4ec
JD
56002011-05-25 Julien Danjou <julien@danjou.info>
5601
5602 * textmodes/rst.el (rst-define-level-faces): Do not define face
5603 symbol if it is already defined.
5604
91513f63
VB
56052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5606
5607 * play/5x5.el (5x5-new-game, 5x5-randomize):
5608 Reset 5x5-solver-output to nil when a new grid is cast.
5609 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5610 these debugging traces, as defmacro breaks the compiled code.
5611
4d90d6d0
DK
56122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5613
5614 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5615
e1b90ef6
LL
56162011-05-24 Leo Liu <sdl.web@gmail.com>
5617
5618 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5619 (vc-bzr-sha1): Adapt.
5620
d8e4b68b 5621 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5622
5623 * bindings.el: Provide sha1 feature.
5624
db0406bb 56252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5626
5627 * mail/sendmail.el: Require `rfc2047'.
5628 (mail-insert-from-field): Do not perform RFC2047 encoding.
5629 (mail-encode-header): New function.
5630 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5631 buffer to the return value of select-message-coding-system.
5632 Call mail-encode-header.
b8d747b9
KH
5633
5634 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5635
db0406bb 56362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5637
4d90d6d0
DK
5638 * mail/supercite.el (sc-default-cite-frame):
5639 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5640
eb8a5e9b
GM
56412011-05-24 Glenn Morris <rgm@gnu.org>
5642
f8630703
GM
5643 * progmodes/python.el (brm-menu): Declare.
5644
8831bbed
GM
5645 * emulation/viper.el (viper-set-hooks): Declare.
5646
eb8a5e9b
GM
5647 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5648 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5649 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5650 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5651 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5652 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5653
a2a25d24
SM
56542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 Add an :exit-function for completion-at-point.
5657
5658 * minibuffer.el (completion--done): New fun.
5659 (completion--do-completion): Use it. New arg `expect-exact'.
5660 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5661 since completion--do-completion does it for us now.
5662 (minibuffer-force-complete): Use completion--done and
5663 completion--replace. Handle sole-completion case with more care.
5664 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5665 (completion-extra-properties): New var.
5666 (completion-annotate-function): Make obsolete.
5667 (minibuffer-completion-help): Adjust accordingly.
5668 Use completion-list-insert-choice-function.
5669 (completion-at-point, completion-help-at-point):
5670 Bind completion-extra-properties.
5671 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5672 * simple.el (completion-list-insert-choice-function): New var.
5673 (completion-setup-function): Preserve it.
5674 (choose-completion): Pay attention to it, shuffle the code a bit.
5675 (choose-completion-string): New arg `insert-function'.
5676
5677 * textmodes/bibtex.el: Convert to lexical binding.
5678 (bibtex-mode-map): Use completion-at-point.
5679 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5680 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5681 (bibtex-complete): Define as obsolete alias.
5682 (bibtex-complete-internal): Remove.
5683 (bibtex-format-entry): Remove unused sub-group in regexp.
5684 * shell.el (shell--command-completion-data)
5685 (shell-environment-variable-completion):
5686 * pcomplete.el (pcomplete-completions-at-point):
5687 * comint.el (comint--complete-file-name-data): Use :exit-function
5688 instead of completion-table-with-terminator so it also works for
5689 choose-completion.
5690
e44e373d
SM
56912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5692
4f91a816
SM
5693 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5694
782fc819
SM
5695 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5696 (bug#8710).
5697
e44e373d
SM
5698 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5699
381987c3
KM
57002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5701
5702 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5703 customization variable and implement: If non-nil, auto-fill will
5704 be inhibited while on topic's header line.
5705
b776bc70
VB
57062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5707
5708 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5709 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5710 always have a solution in grid size = 5 cases.
5711 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5712 (5x5-solver-output, 5x5-log-buffer): New vars.
5713 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5714 Make these variables buffer local to achieve 5x5 multi-session-ness.
5715 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5716 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5717 (5x5-solve-suggest): New funs.
5718 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5719 randomize a grid so that we ensure that there is always a solution.
5720 (5x5-make-random-grid): Allow other movement than flipping.
5721
7de88b6e
KR
57222011-05-23 Kevin Ryde <user42@zip.com.au>
5723
5724 * emacs-lisp/advice.el (ad-read-advised-function):
5725 Use `function-called-at-point' as the default default, if it has
5726 advice and passes PREDICATE.
5727
b1ef1257
SM
57282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5729
bbca48fe
SM
5730 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5731 byte-compile-lambda if it's actually a lambda.
5732
b1ef1257
SM
5733 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5734 Fix function quoting. Use backquote better.
5735
92a9cc65
YS
57362011-05-22 Yuanle Song <sylecn@gmail.com>
5737
5738 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5739 matching (Bug#8516).
5740
f0fb8059
JA
57412011-01-22 Jari Aalto <jari.aalto@cante.net>
5742
5743 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5744 different face (Bug#8178).
5745
d5b44c93
CY
57462011-05-22 Chong Yidong <cyd@stupidchicken.com>
5747
5748 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5749 defface (Bug#8144).
5750
79106a44
SM
57512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5752
9c848d8a
SM
5753 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5754 funcall as well (bug#8712). Warn when performing those conversions.
5755 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5756
79106a44
SM
5757 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5758
88dfa756
GM
57592011-05-22 Glenn Morris <rgm@gnu.org>
5760
5761 * files.el (hack-local-variables-prop-line): Small simplifications.
5762 (hack-local-variables, hack-local-variables-prop-line):
5763 If MODE-ONLY, return the mode, rather than just `t'.
5764
b7cf2c79
SM
57652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5768
3f1a8558
GM
57692011-05-21 Glenn Morris <rgm@gnu.org>
5770
7e4ccca3
GM
5771 * files.el (hack-local-variables-prop-line, hack-local-variables):
5772 If only interested in the mode, don't bother doing the other stuff.
5773
637d46ca
GM
5774 * image-mode.el (image-after-revert-hook):
5775 Redraw all frames on which the image is visible. (Bug#8567)
5776
973d955b
GM
5777 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5778
3f1a8558
GM
5779 * wid-edit.el (widget-checklist-match-inline):
5780 Fix 2011-04-19 change. (Bug#8649)
5781
96479927
SM
57822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5783
1dcf791f
SM
5784 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5785 Also allow singlespace after single-letter capitals followed by a dot.
5786
96479927
SM
5787 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5788 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5789
35fd0881
N
57902011-05-20 Nix <nix@esperi.org.uk>
5791
5792 * files.el (basic-save-buffer-2):
5793 Fix handling of break-hardlink-on-save with non-existent files.
5794
82745640
DD
57952011-05-19 Deniz Dogan <deniz@dogan.se>
5796
5797 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5798 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5799
4a720484
GM
58002011-05-19 Glenn Morris <rgm@gnu.org>
5801
d1f21341
GM
5802 * progmodes/f90.el (f90-type-def-re):
5803 Handle "type, bind(c)". (Bug#8691)
5804
4a720484
GM
5805 * emacs-lisp/autoload.el (batch-update-autoloads):
5806 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5807
2fb0a219
MA
58082011-05-18 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5811 property for the correct connection in case of multihops.
5812
e565dd37
GM
58132011-05-18 Glenn Morris <rgm@gnu.org>
5814
c2571358 5815 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5816 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5817
e565dd37
GM
5818 Rationalize calendar handling of day and month abbrev-arrays.
5819 * calendar/calendar.el (calendar-customized-p): New function.
5820 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5821 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5822 Add :set function.
5823 (calendar-abbrev-length, calendar-day-abbrev-array)
5824 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5825 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5826 Elements may no longer be nil.
5827 (calendar-day-name, calendar-month-name):
5828 Update for changed nature of abbrev arrays.
5829 * calendar/diary-lib.el (diary-name-pattern):
5830 Update for changed nature of abbrev arrays.
5831 (diary-mark-entries-1): Update calendar-make-alist calls.
5832 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5833 * calendar/cal-html.el (cal-html-day-abbrev-array):
5834 Simply inherit from calendar-day-abbrev-array.
5835
1d99a745
SM
58362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * progmodes/grep.el (grep-mode): Disable default
5839 compilation-directory-matcher setting (bug#8684).
5840
7c1d9aa0
MA
58412011-05-17 Michael Albinus <michael.albinus@gmx.de>
5842
5843 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5844 instead of "head" and "tail". There were problems with SunOS 5.9,
5845 and it performs better.
5846
3952e9d8
GM
58472011-05-17 Glenn Morris <rgm@gnu.org>
5848
2dd12e7f
GM
5849 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5850
e4157b9c
GM
5851 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5852 Replace obsolete function.
5853
8e249bbd
GM
5854 * shell.el (pcomplete-parse-arguments-function): Declare.
5855
3952e9d8
GM
5856 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5857 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5858 (appt-check): Doc fixes.
5859 (appt-disp-window-function, appt-delete-window-function):
5860 Remove needless special case in custom :type.
5861 (appt-display-count): Default to 0, not nil.
5862 (appt-check): Reset appt-display-count to 0, not nil.
5863
c71a0d48 58642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5865
c71a0d48
GM
5866 * progmodes/python.el (python-font-lock-keywords):
5867 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5868
31d55be9
SM
58692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5872
3bfacb2f
KR
58732011-05-16 Kevin Ryde <user42@zip.com.au>
5874
5875 * info-look.el (makefile-automake-mode): New setups, looking in
5876 automake manual, then makefile-mode.
5877 (makefile-mode): Remove automake manual, have it just in
5878 makefile-automake-mode since there's various things different or
5879 not relevant to plain make.
5880 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5881 believe a hypothetical automake-mode would go to makefile-mode,
5882 not the other way around.
5883
c8e83751
CY
58842011-05-15 Chong Yidong <cyd@stupidchicken.com>
5885
5e9e35cd
CY
5886 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5887 hunk-end tags (Bug#8672).
5888
c8e83751
CY
5889 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5890 vc-annotate-show-diff-revision-at-line (Bug#8671).
5891
50b23e5a
GM
58922011-05-14 Glenn Morris <rgm@gnu.org>
5893
7210a739
GM
5894 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5895 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5896 (change-log-font-lock-keywords): Also handle multiple author lines
5897 with leading tabs. (Bug#8644)
7210a739 5898
4691905a
GM
5899 * calendar/appt.el (appt-check): Rename some local variables.
5900 Some simplification/reordering.
5901
50b23e5a
GM
5902 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5903 (feedmail-sendmail-f-doesnt-sell-me-out)
5904 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5905 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5906 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5907 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5908 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5909 (feedmail-binmail-gnulinuxish-template):
5910 Rename from feedmail-binmail-linuxish-template.
5911 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5912 Use insert-buffer-substring.
5913
215cda7c
BC
59142011-05-14 Bill Carpenter <bill@carpenter.org>
5915
5916 * mail/feedmail.el (feedmail-patch-level): Increase.
5917 (feedmail-debug): New custom group.
5918 (feedmail-confirm-outgoing-timeout)
5919 (feedmail-sendmail-f-doesnt-sell-me-out)
5920 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5921 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5922 (feedmail-sender-line, feedmail-from-line)
5923 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5924 (feedmail-spray-this-address)
215cda7c
BC
5925 (feedmail-spray-address-fiddle-plex-list)
5926 (feedmail-queue-use-send-time-for-date)
5927 (feedmail-queue-use-send-time-for-message-id)
5928 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5929 (feedmail-buffer-eating-function):
5930 Doc fixes.
5931 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5932 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5933 (feedmail-message-action-scroll-down): New functions.
5934 (feedmail-queue-directory, feedmail-queue-draft-directory):
5935 Use expand-file-name.
5936 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5937 Remove C-v help entry.
5938 (feedmail-queue-buffer-file-name): New variable.
5939 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5940 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5941 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5942 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5943 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5944 (feedmail-message-action-toggle-spray)
5945 (feedmail-run-the-queue-no-prompts)
5946 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5947 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5948 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5949 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5950 (feedmail-envelope-deducer, feedmail-fiddle-from)
5951 (feedmail-fiddle-sender, feedmail-default-date-generator)
5952 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5953 (feedmail-fiddle-spray-address)
5954 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5955 (feedmail-fiddle-list-of-fiddle-plexes)
5956 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5957 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5958 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5959 Change default. Doc fix.
5960 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5961 (feedmail-binmail-linuxish-template): New constant.
5962 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5963 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5964 (feedmail-send-it): Add debug call.
5965 Use feedmail-queue-buffer-file-name, and
5966 feedmail-send-it-immediately-wrapper.
5967 (feedmail-message-action-send): Add debug call.
5968 Use feedmail-send-it-immediately-wrapper.
5969 (feedmail-queue-express-to-queue): Add debug call.
5970 Run feedmail-queue-express-hook.
5971 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5972 (feedmail-message-action-help-blat):
5973 Rename from feedmail-queue-send-edit-prompt-help-first.
5974 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5975 Check line-endings. Handle errors better.
5976 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5977 Doc fix. Add debug call.
5978 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5979 Use feedmail-queue-send-edit-prompt-inner.
5980 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5981 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5982 from feedmail-queue-send-edit-prompt.
5983 (feedmail-queue-send-edit-prompt-help)
5984 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5985 (feedmail-tidy-up-slug): Add debug call.
5986 Respect feedmail-queue-slug-suspect-regexp.
5987 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5988 (feedmail-dump-message-to-queue): Add debug call.
5989 Expand queue-directory.
5990 (feedmail-dump-message-to-queue): Change message slightly.
5991 Use feedmail-say-chatter.
5992 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5993 (feedmail-send-it-immediately-wrapper): New function.
5994 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5995 Insert empty string rather than newline. Handle full-frame case.
5996 Use catch/throw. Use feedmail-say-chatter.
5997 (feedmail-fiddle-from): Try mail-host-address.
5998 (feedmail-default-message-id-generator): Doc fix.
5999 Bind system-time-locale. Handle missing end.
6000 (feedmail-fiddle-x-mailer): Add debug call.
6001 Handle feedmail-x-mailer-line being nil.
6002 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
6003 Add debug call. Use buffer-substring-no-properties.
6004 (feedmail-say-debug, feedmail-say-chatter): New functions.
6005 (feedmail-find-eoh): Give an explicit error.
6006
42c7e61e
UJ
60072011-05-13 Ulf Jasper <ulf.jasper@web.de>
6008
c2571358 6009 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 6010 family from helvetica to sans.
c2571358 6011 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6012 etc/images/newsticker.
6013
c2571358 6014 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
6015 family from helvetica to sans.
6016
6017 * net/newst-plainview.el (newsticker-new-item-face)
6018 (newsticker-old-item-face, newsticker-immortal-item-face)
6019 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 6020 (newsticker-statistics-face): Change default family from
42c7e61e 6021 helvetica to sans.
c2571358 6022 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
6023 etc/images/newsticker.
6024
6025 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
6026 (newsticker--process-auto-mark-filter-match): : Tell user about
6027 auto-marking.
6028
8497a297
DV
60292011-05-13 Didier Verna <didier@xemacs.org>
6030
6031 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
6032 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
6033 TODO entries.
8497a297
DV
6034 (lisp-lambda-list-keyword-parameter-indentation)
6035 (lisp-lambda-list-keyword-parameter-alignment)
6036 (lisp-lambda-list-keyword-alignment): New customizable user options.
6037 (lisp-indent-defun-method): Improve docstring.
6038 (extended-loop-p): Fix comment.
6039 (lisp-indent-lambda-list-keywords-regexp): New variable.
6040 (lisp-indent-lambda-list): New function.
6041 (lisp-indent-259): Use it.
6042 (lisp-indent-defmethod): Support for more than one
6043 method qualifier and properly indent methods lambda-lists.
6044 (defgeneric): Provide a missing common-lisp-indent-function property.
6045
f278f87f
SM
60462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
6049 bounds for the empty string (bug#8667).
6050
5233edd7
GM
60512011-05-13 Glenn Morris <rgm@gnu.org>
6052
5237a44f
GM
6053 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
6054
8340026c 6055 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 6056 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 6057
5233edd7 6058 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 6059 (appt-time-msg-list): Doc fix.
a5464014 6060 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 6061
92d10796
AS
60622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
6063
6064 * progmodes/ld-script.el (ld-script-keywords)
6065 (ld-script-builtins): Update keywords list.
6066
914a0ae1
SM
60672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6068
c89be45f
SM
6069 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
6070
914a0ae1
SM
6071 * shell.el (shell-completion-vars): New function.
6072 (shell-mode):
6073 * simple.el (read-shell-command): Use it.
6074 (blink-matching-open): No need for " [...]" in minibuffer-message.
6075
98dc3df3
GM
60762011-05-12 Glenn Morris <rgm@gnu.org>
6077
6078 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
6079 (appt-check): Simplify.
6080
d2fc7e3d 60812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 6082
4d61f28d 6083 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
6084 literal "/dev/null".
6085
d2fc7e3d 60862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
6087
6088 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
6089 Fix typo.
6090
d2fc7e3d 60912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 6092
3f254caa
SM
6093 * progmodes/which-func.el (which-function):
6094 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
6095 which might not be defined (Bug#8260).
6096
d45885f7
GM
60972011-05-12 Glenn Morris <rgm@gnu.org>
6098
6099 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
6100 Let byte-compile-initial-macro-environment always take precedence.
6101
488086f4
SM
61022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * net/rcirc.el: Add support for SSL/TLS connections.
6105 (rcirc-server-alist): New field `encryption'.
6106 (rcirc): Check `encryption' settings.
6107 (rcirc-connect): New arg `encryption'. Use open-network-stream.
6108 Merge make-local-variable into `set'.
6109 (rcirc--connection-open-p): New function.
6110 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
6111 the process is not a network process (e.g. running gnutls-cli).
6112 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
6113 Make rcirc-(en|de)code-coding-system local here.
6114 (rcirc-mode): Merge make-local-variable into `set'.
6115 (rcirc-parent-buffer): Make permanent buffer-local.
6116 (rcirc-multiline-minor-mode): Don't do it here.
6117 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
6118 there's no server buffer.
6119
7d3b9d44
GM
61202011-05-11 Glenn Morris <rgm@gnu.org>
6121
f64049c6
GM
6122 * newcomment.el (comment-kill): Prefix "unused" local.
6123
93c9df73
GM
6124 * term/w32console.el (get-screen-color): Declare.
6125
7d3b9d44
GM
6126 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6127 Handle symbol elements of byte-compile-initial-macro-environment.
6128
9e2dd53f
LL
61292011-05-10 Leo Liu <sdl.web@gmail.com>
6130
488086f4
SM
6131 * bookmark.el (bookmark-bmenu-mode-map):
6132 Bind bookmark-bmenu-search to `/'.
8b340240 6133
9e2dd53f 6134 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
6135 (footnote-unicode-string, footnote-unicode-regexp): New variable.
6136 (Footnote-unicode): New function.
6137 (footnote-style-alist): Add unicode style to the list.
6138 (footnote-style): Doc fix.
9e2dd53f 6139
79b70037
GM
61402011-05-10 Jim Meyering <meyering@redhat.com>
6141
6142 Fix doubled-word typos.
6143 * international/quail.el (quail-insert-kbd-layout): and and -> and
6144 * kermit.el: and and -> and
6145 * net/ldap.el (ldap-search-internal): to to -> to
6146 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6147 * progmodes/js.el (js-mode): and and -> and
6148 * textmodes/artist.el (artist-move-to-xy): at at -> at
6149 (artist-draw-region-trim-line-endings): if if -> if
6150 And Safetyc -> Safety.
6151 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6152
b8f82dc1 61532011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6154 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6155
6156 * files.el (hack-one-local-variable-eval-safep):
6157 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6158
4f99f44b
GM
61592011-05-10 Glenn Morris <rgm@gnu.org>
6160
6161 * calendar/diary-lib.el (diary-list-entries-hook)
6162 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6163 (diary-nongregorian-marking-hook, diary-list-entries)
6164 (diary-include-other-diary-files, diary-mark-entries)
6165 (diary-mark-included-diary-files): Doc fixes.
6166
84f29e6b
JB
61672011-05-09 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * misc.el: Require tabulated-list.el during compilation.
6170
9bedd73a
CY
61712011-05-09 Chong Yidong <cyd@stupidchicken.com>
6172
488086f4
SM
6173 * progmodes/compile.el (compilation-start):
6174 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6175 (compilation-filter-hook): Doc fix.
6176
797c735c
DD
61772011-05-09 Deniz Dogan <deniz@dogan.se>
6178
6179 * wdired.el: Remove outdated installation comment. Fix usage
6180 comment.
6181
5f4b1dfe
JB
61822011-05-09 Juanma Barranquero <lekktu@gmail.com>
6183
6184 * misc.el: Implement new command `list-dynamic-libraries'.
6185 (list-dynamic-libraries--loaded-only-p): New variable.
6186 (list-dynamic-libraries--refresh): New function.
6187 (list-dynamic-libraries): New command.
6188
4c44026c
CY
61892011-05-09 Chong Yidong <cyd@stupidchicken.com>
6190
488086f4
SM
6191 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6192 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6193 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6194 higher priority to avoid clobbering by gnu.
6195
027f966d
CY
61962011-05-08 Chong Yidong <cyd@stupidchicken.com>
6197
6198 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6199 if the face has existing theme settings (Bug#8454).
6200
085f5d7d
CY
62012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6202
488086f4
SM
6203 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6204 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6205
2a86a00c
RS
6206 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6207 special file names `.' and `..' (Bug#8259).
6208
d9c54a06
CY
62092011-05-08 Chong Yidong <cyd@stupidchicken.com>
6210
488086f4
SM
6211 * progmodes/grep.el (grep-mode-font-lock-keywords):
6212 Remove buffer-changing entries.
d9c54a06
CY
6213 (grep-filter): New function.
6214 (grep-mode): Add it to compilation-filter-hook.
6215
6216 * progmodes/compile.el (compilation-filter-hook)
6217 (compilation-filter-start): New defvars.
6218 (compilation-filter): Call compilation-filter-hook prior to
6219 updating the process mark.
6220
c4662635
SM
62212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6224
b0512a1d
EZ
62252011-05-07 Eli Zaretskii <eliz@gnu.org>
6226
605c9376
EZ
6227 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6228 mailclient-send-it even if window-system is nil. (Bug#8595)
6229
c4662635
SM
6230 * term/w32console.el (terminal-init-w32console):
6231 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6232 background-mode. (Bug#8597)
6233
d1dc2cc2
SM
62342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6237 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6238 New functions.
6239 (defgeneric, eieio--defmethod): Use them.
6240 (eieio-defgeneric): Remove.
6241 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6242
915d1300
GM
62432011-05-07 Glenn Morris <rgm@gnu.org>
6244
a3961c3e
GM
6245 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6246 Use let rather than let*.
6247 (timeclock-find-discrep): Remove unused local.
6248
314347b9
GM
6249 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6250
915d1300
GM
6251 * calendar/appt.el (appt-time-msg-list): Doc fix.
6252
275b59b0
NF
62532011-05-06 Noah Friedman <friedman@splode.com>
6254
6255 * apropos.el (apropos-print-doc): Only use
6256 emacs-lisp-docstring-fill-column when it is bound to an integer,
6257 per that variable's documentation.
6258
6c19f744
SM
62592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6262 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6263
60f884b2
GM
62642011-05-06 Glenn Morris <rgm@gnu.org>
6265
5006e634
GM
6266 * calendar/appt.el (appt-message-warning-time): Doc fix.
6267 (appt-warning-time-regexp): New option.
6268 (appt-make-list): Respect appt-message-warning-time.
6269
548d0a63
GM
6270 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6271 New options.
6272 (diary-add-to-list): Strip comments from the displayed string.
6273 (diary-mode): Set comment-start and comment-end.
6274
60f884b2
GM
6275 * vc/diff-mode.el (smerge-refine-subst): Declare.
6276 (diff-refine-hunk): Don't require smerge-mode when compiling.
6277
989681bb
JB
62782011-05-06 Juanma Barranquero <lekktu@gmail.com>
6279
6280 * simple.el (list-processes): Return nil as the docstring says.
6281
a6bc05e1
MA
62822011-05-05 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6285 to "".
6286 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6287 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6288 determining of binary transfer. (Bug#7383)
6289
23c22e9a
MA
62902011-05-05 Michael Albinus <michael.albinus@gmx.de>
6291
c4662635
SM
6292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6293 Fix port computation bug. (Bug#8618)
23c22e9a 6294
0bff894f
GM
62952011-05-05 Glenn Morris <rgm@gnu.org>
6296
b8296902
GM
6297 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6298
1f522ce8
GM
6299 * simple.el (shell-dynamic-complete-functions)
6300 (comint-dynamic-complete-functions): Declare.
6301
cf5bee67
GM
6302 * net/network-stream.el (gnutls-negotiate):
6303 * simple.el (tabulated-list-print): Fix declarations.
6304
6305 * progmodes/gud.el (syntax-symbol, syntax-point):
6306 Remove unnecessary and incorrect declarations.
6307
0bff894f
GM
6308 * emacs-lisp/check-declare.el (check-declare-scan):
6309 Handle byte-compile-initial-macro-environment in bytecomp.el
6310
9869b3ae
SM
63112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 Fix earlier half-done eieio-defmethod change (bug#8338).
6314 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6315 Streamline and change calling convention.
6316 (defmethod): Adjust accordingly and simplify.
6317 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6318 new eieio--defmethod.
6319 (slot-boundp): Minor CSE simplification.
6320
9c1d5ac5
MZ
63212011-05-05 Milan Zamazal <pdm@zamazal.org>
6322
6323 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6324 (glasses-make-readable): Use glasses-separate-capital-groups.
6325
455c834e
JB
63262011-05-05 Juanma Barranquero <lekktu@gmail.com>
6327
6328 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6329 (warning-series): Doc fix.
6330 (display-warning): Don't try to create the buffer if we just found it.
6331
9ed7c8cb
CY
63322011-05-04 Chong Yidong <cyd@stupidchicken.com>
6333
6334 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6335 (autoload-find-generated-file): New function.
6336 (generate-file-autoloads): Bind generated-autoload-file to
6337 buffer-file-name.
9869b3ae
SM
6338 (update-file-autoloads, update-directory-autoloads):
6339 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6340 output file (Bug#7989).
6341 (batch-update-autoloads): Doc fix.
6342
0898ca10
JB
63432011-05-04 Juanma Barranquero <lekktu@gmail.com>
6344
6345 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6346
31dfb76c
GM
63472011-05-04 Glenn Morris <rgm@gnu.org>
6348
f330b642
GM
6349 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6350 function, so it follows changes in calendar-date-style.
6351 (diary-fancy-date-matcher): New function.
6352 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6353 (diary-fancy-font-lock-fontify-region-function):
6354 Use diary-fancy-date-pattern as a function.
6355
31dfb76c
GM
6356 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6357 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6358
48e79d6a
TZ
63592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6360
6361 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6362 instead of positional arguments. Allow :keylist and :crlfiles
6363 arguments.
6364 (open-gnutls-stream): Call it.
6365
6366 * net/network-stream.el (network-stream-open-starttls): Adjust to
6367 call `gnutls-negotiate' with :process and :hostname arguments.
6368
dd5a5ee0
SM
63692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6370
ef80fc09
SM
6371 * minibuffer.el (completion--message): New function.
6372 (completion--do-completion, minibuffer-complete)
6373 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6374 (completion--do-completion): Don't ignore completion-auto-help when in
6375 icomplete-mode.
6376
dd5a5ee0
SM
6377 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6378 internal encoding (e.g. tibetan zero is not whitespace).
6379 (global-whitespace-mode): Prefer save-current-buffer.
6380 (whitespace-trailing-regexp): Remove useless save-match-data.
6381 (whitespace-empty-at-bob-regexp): Minor simplification.
6382
b7d22a83
CY
63832011-05-03 Chong Yidong <cyd@stupidchicken.com>
6384
6385 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6386
5192af46
AM
63872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6388
6389 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6390 Use `concat' to create string for insertion.
5192af46 6391
5767d190
SM
63922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6395 Avoid open-line which runs post-self-insert-hook.
6396 (bibtex-fill-entry): Remove unused `end' var.
6397
bf242939
AM
63982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6399
5767d190
SM
6400 * textmodes/ispell.el (ispell-add-per-file-word-list):
6401 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6402
25666126
LL
64032011-05-03 Leo Liu <sdl.web@gmail.com>
6404
6405 * isearch.el (isearch-yank-pop): New command.
5767d190 6406 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6407 (isearch-forward): Mention it.
6408
52d3c2d0
SM
64092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6410
1bcace58
SM
6411 * simple.el (minibuffer-complete-shell-command): Remove.
6412 (minibuffer-local-shell-command-map): Use completion-at-point.
6413 (read-shell-command): Setup completion vars here instead.
6414 (read-expression-map): Bind TAB to symbol completion.
6415
52d3c2d0
SM
6416 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6417 error directly rather via storing it into `results'.
6418
35813471
LL
64192011-05-02 Leo Liu <sdl.web@gmail.com>
6420
6421 * vc/diff.el: Fix description.
6422
e793a940
LMI
64232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6424
6425 * server.el (server-eval-at): New function.
6426
8de66e05
LMI
64272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428
6429 * net/network-stream.el (open-network-stream): Take a :nowait
6430 parameter and pass it on to `make-network-process'.
6431 (network-stream-open-plain): Ditto.
6432
dcb79f20
AS
64332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6434
6435 * faces.el (face-spec-set-match-display): Don't match toolkit
6436 options on terminal frames.
6437
14a7fbd8
SM
64382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6439
7eabc1be
SM
6440 * progmodes/pascal.el: Use lexical binding.
6441 (pascal-mode-map): Remove author preferences.
6442
14a7fbd8
SM
6443 * pcomplete.el (pcomplete-std-complete): Don't abuse
6444 completion-at-point.
6445
50f84510
JB
64462011-04-28 Juanma Barranquero <lekktu@gmail.com>
6447
6e087a44
JB
6448 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6449 removing code that has been dead since 1991 or so.
6450
50f84510
JB
6451 * startup.el (command-line): When warning about "_emacs", use a
6452 delayed warning to allow the user to filter it out.
6453
0ba690bd
DD
64542011-04-28 Deniz Dogan <deniz@dogan.se>
6455
6456 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6457 user has not joined.
6458
08abfaad
SM
64592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6460
6461 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6462 aren't any completions at point.
6463
638f053a
JB
64642011-04-28 Juanma Barranquero <lekktu@gmail.com>
6465
6466 * subr.el (display-delayed-warnings): New function.
6467 (delayed-warnings-hook): New variable.
6468
8fff8daa
SM
64692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6470
08abfaad
SM
6471 * minibuffer.el (completion-at-point, completion-help-at-point):
6472 Don't presume that a given completion-at-point-function will always
6473 use the same calling convention.
6474
8fff8daa
SM
6475 * pcomplete.el (pcomplete-completions-at-point):
6476 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6477 pcomplete-seen is non-nil.
6478 (pcomplete-comint-setup): Also recognize the new comint/shell
6479 completion functions.
6480 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6481 pcomplete-seen is non-nil.
6482
841a1577 64832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6484
841a1577 6485 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6486 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6487 the first character in the entry. This allows for code to add its
211ec907
UJ
6488 own uid to the entry.
6489 (icalendar--convert-float-to-ical): Add export of
6490 `diary-float'-entries save for those with the optional DAY
6491 argument.
6492
2a782793
DC
64932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6494
6495 * subr.el (shell-quote-argument): Use alternate escaping strategy
6496 when we spot a variable reference in a string.
6497
0438ce91
DC
64982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6499
6500 * cus-start.el (all): Define customization for debug-on-event.
6501
841a1577 65022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6503
6504 * subr.el (shell-quote-argument): Escape correctly under Windows.
6505
d090ed6c
SM
65062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6509
bfd31217
MA
65102011-04-25 Michael Albinus <michael.albinus@gmx.de>
6511
d090ed6c
SM
6512 * net/tramp.el (tramp-process-actions): Add POS argument.
6513 Delete region between POS and (pos).
bfd31217 6514
d090ed6c
SM
6515 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6516 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6517 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6518
6519 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6520 position in `tramp-process-actions' call.
6521
6522 * net/trampver.el: Update release number.
6523
e92f3bd3
SM
65242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6525
850256b5
SM
6526 * custom.el (defcustom): Obey lexical-binding.
6527
e92f3bd3
SM
6528 Fix octave-inf completion problems reported by Alexander Klimov.
6529 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6530 Inherit from octave-mode-syntax-table.
6531 (inferior-octave-mode): Set info-lookup-mode.
6532 (inferior-octave-completion-at-point): New function.
6533 (inferior-octave-complete): Use it and completion-in-region.
6534 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6535 comint-filename-completion.
6536 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6537 symbol elements which shouldn't be word elements.
6538 (octave-font-lock-keywords, octave-beginning-of-defun)
6539 (octave-function-header-regexp): Adjust regexps accordingly.
6540 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6541
cd22b309
JB
65422011-04-25 Juanma Barranquero <lekktu@gmail.com>
6543
6544 * net/gnutls.el (gnutls-errorp): Declare before first use.
6545
8b492194
TZ
65462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6547
6548 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6549 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6550 default trustfile exists before going to use it. Add missing
6551 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6552 Reported by Claudio Bley <claudio.bley@gmail.com>.
6553 (open-gnutls-stream): Add usage example.
6554
6555 * net/network-stream.el (network-stream-open-starttls): Give host
6556 parameter to `gnutls-negotiate'.
6557 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6558 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6559
841a1577 65602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6561
cd22b309
JB
6562 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6563 Use correct match group (bug#8438).
05842630 6564
3ba7869c
CY
65652011-04-24 Chong Yidong <cyd@stupidchicken.com>
6566
512e3ae1
CY
6567 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6568 (package-menu--generate): New arg specifying packages to show.
6569 (package-menu-refresh, package-menu-execute, list-packages):
6570 Callers changed.
6571 (package-show-package-list): New function, replacing deleted
6572 package--list-packages (renamed because it is non-internal).
6573
6574 * finder.el (finder-list-matches): Use package-show-package-list
6575 instead of deleted package--list-packages.
6576
e92f3bd3
SM
6577 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6578 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6579 (vc-annotate-mode-map): Bind it to RET.
6580
7031be6d
UR
65812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6582
6583 * progmodes/etags.el (next-file): Don't use set-buffer to change
6584 buffers (Bug#8478).
6585
4ef177aa
CY
65862011-04-24 Chong Yidong <cyd@stupidchicken.com>
6587
c8d173eb
CY
6588 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6589
4ef177aa
CY
6590 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6591 (apropos-accumulator): Doc fix.
6592 (apropos-function, apropos-macro, apropos-command)
6593 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6594 (apropos-plist): Add face property.
6595 (apropos-symbols-internal): Fix indentation.
6596 (apropos-print): Simplify help, and recognize apropos-multi-type.
6597 (apropos-print-doc): Use button-type-get to extract the button's
6598 face property. Fill docstring (Bug#8352).
6599
4ffd0d6b 66002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6601
6602 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6603
c6c32125 6604 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6605 (mpuz-mode-map): Use mapc.
c6c32125
JB
6606 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6607 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6608 Fix typos in docstrings.
6609
58d468b4
JB
6610 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6611 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6612
6470c3c6
JB
6613 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6614
4ffd0d6b 66152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6616
6617 * minibuffer.el (completion--do-completion): Avoid the "Next char
6618 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6619
3ad8bad0
CY
6620 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6621 mouse-2 into unread-command-events, it is interpreted correctly.
6622
71d73c9c 6623 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6624 (image-toggle-display): Doc fix.
71d73c9c 6625
841a1577 66262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6627
4ffd0d6b
GM
6628 * textmodes/page.el (what-page): Use line-number-at-pos to
6629 calculate line number (Bug#6825).
6e1dbaa9 6630
c2fb1b60
JB
66312011-04-22 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6634 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6635 Pass argument NO-DEFAULT to `find-tag-interactive'.
6636
e02f48d7
JB
66372011-04-22 Juanma Barranquero <lekktu@gmail.com>
6638
6639 Lexical-binding cleanup.
6640
6641 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6642 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6643 * progmodes/ada-prj.el (ada-prj-initialize-values)
6644 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6645 (ada-prj-show-value):
6646 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6647 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6648 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6649 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6650 * progmodes/bug-reference.el (bug-reference-push-button):
6651 * progmodes/fortran.el (fortran-line-length):
6652 * progmodes/glasses.el (glasses-change):
6653 * progmodes/octave-mod.el (octave-fill-paragraph):
6654 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6655 (python-pdbtrack-grub-for-buffer, python-sentinel):
6656 * progmodes/sql.el (sql-save-connection):
6657 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6658 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6659 Mark unused parameters.
6660
6661 * progmodes/compile.el (compilation--flush-directory-cache)
6662 (compilation--flush-parse, compile-internal): Mark unused parameters.
6663 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6664 (compilation-next-error-function): Remove unused variable `timestamp'.
6665
6666 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6667 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6668
6669 * progmodes/dcl-mode.el (dcl-end-of-command):
6670 Remove unused variable `start'.
6671 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6672 (dcl-option-value-basic, dcl-option-value-offset)
6673 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6674 Mark unused parameters.
6675 (dcl-save-local-variable): Remove unused variable `val'.
6676 (mode): Declare.
6677
6678 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6679 Mark unused parameters.
6680 (delphi-ignore-changes): Move before first use.
6681 (delphi-charset-token-at): Remove unused variable `start'.
6682 (delphi-else-start): Remove unused variable `if-count'.
6683 (delphi-comment-block-start, delphi-comment-block-end):
6684 Remove unused variable `kind'.
6685 (delphi-indent-line): Remove unused variable `new-point'.
6686
6687 * progmodes/ebrowse.el (ebrowse-files-list)
6688 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6689 Mark unused parameters. Don't quote `lambda'.
6690 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6691 Don't quote `lambda'.
6692 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6693 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6694 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6695 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6696 Use `ignore-errors'.
6697 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6698 (ebrowse-view/find-file-and-search-pattern)
6699 (ebrowse-view/find-member-declaration/definition):
6700 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6701 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6702 Rename parameter PREFIX-ARG to PREFIX.
6703 (ebrowse-tags-read-name): Remove unused variables `start' and
6704 `member-info'.
6705 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6706 to `tags-file'.
6707
6708 * progmodes/etags.el (local-find-tag-hook): Declare.
6709 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6710 Mark unused parameters.
6711
6712 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6713 (executable-interpret): Mark unused parameter.
6714
6715 * progmodes/flymake.el (flymake-process-sentinel)
6716 (flymake-after-change-function)
6717 (flymake-create-temp-with-folder-structure)
6718 (flymake-get-include-dirs-dot): Mark unused parameters.
6719 (flymake-safe-delete-directory): Remove unused variable `err'.
6720
6721 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6722 (speedbar-timer-fn, speedbar-line-text)
6723 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6724 (speedbar-center-buffer-smartly): Declare functions.
6725 (gdb-find-watch-expression): Remove unused variable `array'.
6726 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6727 (gdb-starting): Mark unused parameters.
6728 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6729 (gdb-table-string): Remove unused variable `res'.
6730 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6731 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6732 (gdb-display-buffer): Remove unused variable `cur-size'.
6733
6734 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6735 allow lexical-binding compilation.
6736 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6737 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6738 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6739 Mark unused parameters.
6740 (gud-gdb-marker-filter): Remove unused variable `match'.
6741 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6742 lambda expressions and funcall them, instead of using `fset'.
6743
6744 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6745 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6746
6747 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6748 variable `header-beg'; use `let'.
6749
6750 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6751 `restart', `last-sexp' and `at-do'.
6752
6753 * progmodes/js.el (js--debug): Mark unused parameter.
6754 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6755 (js--splice-into-items): Remove unused variable `item'.
6756 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6757
6758 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6759 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6760 (makefile-complete): Remove unused variable `try'.
6761 (makefile-fill-paragraph, makefile-match-function-end):
6762 Mark unused parameters.
6763
6764 * progmodes/octave-inf.el (inferior-octave-complete):
6765 Remove unused variable `proc'.
6766 (inferior-octave-output-digest): Mark unused parameter.
6767
6768 * progmodes/perl-mode.el (perl-calculate-indent):
6769 Remove unused variable `err'.
6770
6771 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6772 (prolog-indent-line): Mark unused parameters.
6773 (prolog-indent-line): Remove unused variable `beg'.
6774
6775 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6776 (reporter-dont-compact-list): Declare.
6777
6778 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6779 Remove unused variable `char'.
6780 (sh-debug): Mark unused parameter.
6781 (sh-get-indent-info): Remove unused variable `start'.
6782 (sh-calculate-indent): Remove unused variable `var'.
6783
6784 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6785 (simula-electric-keyword): Remove unused variable `null'.
6786 (simula-search-backward, simula-search-forward): Remove unused
6787 variables `begin' and `end'.
6788
6789 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6790 Remove unused variable `pos'.
6791 (vera-electric-tab, vera-comment-uncomment-region):
6792 Mark unused parameters.
6793 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6794
7ede3b65
CY
67952011-04-22 Chong Yidong <cyd@stupidchicken.com>
6796
6797 * emacs-lisp/package.el (package--builtins, package-alist)
6798 (package-load-descriptor, package-built-in-p, package-activate)
6799 (define-package, package-installed-p)
6800 (package-compute-transaction, package-buffer-info)
6801 (package--push): Doc fix. Distinguish more clearly between
6802 version strings and version lists.
6803
121656e9
JB
68042011-04-21 Juanma Barranquero <lekktu@gmail.com>
6805
6806 Lexical-binding cleanup.
6807
6808 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6809 (5x5-make-mutate-best):
6810 * play/fortune.el (fortune-in-buffer):
6811 * play/gomoku.el (gomoku-init-display):
6812 * play/solitaire.el (solitaire, solitaire-do-check):
6813 * play/tetris.el (tetris-default-update-speed-function):
6814 Mark unused parameters.
6815
6816 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6817 (bubbles--shift): Remove unused variable `char-org'.
6818 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6819 (bubbles--show-images): Remove unused variable `char'.
6820
6821 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6822 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6823 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6824 (decipher-analyze-buffer): Use ?\s.
6825 (decipher-make-checkpoint): Remove unused variable `mapping'.
6826
6827 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6828
6829 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6830 Remove unused variable `result'; use `let'.
6831
6832 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6833 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6834 (gametree-children-shown-p, gametree-compute-reduced-score):
6835 Use `ignore-errors'.
6836
6837 * play/handwrite.el (ps-lpr-switches): Declare.
6838 (handwrite): Remove unused variables `pmin' and `lastp'.
6839
6840 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6841
6842 * play/landmark.el (landmark-init-display)
6843 (landmark-update-naught-weights): Mark unused parameters.
6844 (landmark-y): Remove unused variable `noise'. Simplify.
6845 (landmark-human-plays): Remove unused variable `score'.
6846
6847 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6848 (mpuz-try-proposal): Remove unused variable `game'.
6849
6850 * play/zone.el (life-patterns): Declare.
6851
80f499c7
JB
68522011-04-20 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * vc/vc.el (ediff-vc-internal): Declare function.
6855
024ff170
SM
68562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6857
c0a193ea
SM
6858 * shell.el: Use lexical-binding and std completion UI.
6859 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6860 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6861 comint-preoutput-filter-functions rather than on
6862 comint-output-filter-functions.
6863 (shell-command-completion, shell--command-completion-data)
6864 (shell-filename-completion, shell-environment-variable-completion)
6865 (shell-c-a-p-replace-by-expanded-directory): New functions.
6866 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6867 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6868 (shell-dynamic-complete-environment-variable): Use them.
6869 (shell-dynamic-complete-as-environment-variable)
6870 (shell-dynamic-complete-as-command): Remove.
6871 (shell-match-partial-variable): Match past point.
6872 * comint.el: Clean up use of completion-at-point-functions.
6873 (comint-completion-at-point): New function.
6874 (comint-mode): Use it completion-at-point-functions.
6875 (comint-dynamic-complete): Make it obsolete.
6876 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6877 (comint-c-a-p-replace-by-expanded-history): New function.
6878 (comint-dynamic-complete-functions)
6879 (comint-replace-by-expanded-history): Use it.
6880 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6881 termination strings. Try harder to avoid second try-completion.
6882 (completion-in-region-mode-map): Disable bindings that don't work yet.
6883
2dbaa080
SM
6884 * comint.el: Use lexical-binding. Require CL.
6885 (comint-dynamic-complete-functions): Use comint-filename-completion.
6886 (comint-completion-addsuffix): Tweak custom type.
6887 (comint-filename-completion, comint--common-suffix)
6888 (comint--common-quoted-suffix, comint--table-subvert)
6889 (comint--complete-file-name-data): New functions.
6890 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6891 (comint-dynamic-list-filename-completions): Use them.
6892 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6893
2dbaa080
SM
6894 * minibuffer.el (completion-in-region-mode):
6895 Keep completion-in-region-mode--predicate global.
6896 (completion-in-region--postch):
6897 Assume completion-in-region-mode--predicate is not null.
6898
c79a6f38
SM
6899 * progmodes/flymake.el (flymake-start-syntax-check-process):
6900 Obey `dir'. Simplify.
6901
024ff170
SM
6902 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6903 we're in VC after all.
6904
1c6c854e
CS
69052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6906
6907 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6908 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6909 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6910
bed7f140
SM
69112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6912
332e62ab
SM
6913 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6914 add sanity check.
6915
bed7f140
SM
6916 * obsolete/erc-hecomplete.el: Make obsolete.
6917 * obsolete/: Standardize obsolescence info in the header.
6918
f195c582
GM
69192011-04-20 Glenn Morris <rgm@gnu.org>
6920
6921 * calendar/solar.el (solar-horizontal-coordinates):
6922 Use the longitude argument rather than `calendar-longitude'.
6923 (solar-date-next-longitude): Remove unused locals.
6924
cb79b8c0
VJL
69252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6926
6927 * whitespace.el: New version 13.2.1.
6928
69292011-04-20 felix <EmacsWiki> (tiny change)
6930
d8e4b68b 6931 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6932 switching between major modes on a file.
6933
602ea69d
SM
69342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6937 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6938 multi-line comments as well.
6939
06b60517
JB
69402011-04-19 Juanma Barranquero <lekktu@gmail.com>
6941
6942 Lexical-binding cleanup.
6943
6944 * arc-mode.el (archive-mode-revert):
6945 * cmuscheme.el (scheme-interactively-start-process):
6946 * custom.el (custom-initialize-delay):
6947 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6948 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6949 * emacs-lock.el (emacs-lock-clear-sentinel):
6950 * ezimage.el (defezimage):
6951 * follow.el (follow-avoid-tail-recenter):
6952 * fringe.el (set-fringe-mode-1):
6953 * generic-x.el (bat-generic-mode-compile):
6954 * help-mode.el (help-info-variable, help-do-xref)
6955 (help-mode-revert-buffer):
6956 * help.el (view-emacs-todo):
6957 * iswitchb.el (iswitchb-completion-help):
6958 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6959 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6960 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6961 * locate.el (locate-update):
6962 * longlines.el (longlines-encode-region)
6963 (longlines-after-change-function):
6964 * outline.el (outline-isearch-open-invisible):
6965 * ps-def.el (declare-function, charset-dimension, char-width)
6966 (encode-char):
6967 * ps-mule.el (ps-mule-plot-string):
6968 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6969 (recentf-edit-list-select, recentf-edit-list-validate)
6970 (recentf-open-files-action):
6971 * rect.el (delete-whitespace-rectangle-line)
6972 (rectangle-number-line-callback):
6973 * register.el (window-configuration-to-register)
6974 (frame-configuration-to-register):
6975 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6976 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6977 (xselect-convert-to-targets, xselect-convert-to-delete)
6978 (xselect-convert-to-filename, xselect-convert-to-charpos)
6979 (xselect-convert-to-lineno, xselect-convert-to-colno)
6980 (xselect-convert-to-os, xselect-convert-to-host)
6981 (xselect-convert-to-user, xselect-convert-to-class)
6982 (xselect-convert-to-name, xselect-convert-to-integer)
6983 (xselect-convert-to-atom, xselect-convert-to-identity):
6984 * subr.el (declare, ignore, process-kill-without-query)
6985 (text-clone-maintain):
6986 * terminal.el (te-get-char, te-tic-sentinel):
6987 * tool-bar.el (tool-bar-make-keymap):
6988 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6989 * type-break.el (type-break-mode, type-break-noninteractive-query):
6990 * view.el (View-back-to-mark):
6991 * wid-browse.el (widget-browse-action, widget-browse-widget)
6992 (widget-browse-widgets, widget-browse-sexp):
6993 * widget.el (define-widget-keywords):
6994 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6995 Mark unused parameters.
6996
6997 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6998 (align-areas): Remove unused variable `look'.
6999 (align-region): Remove unused variables `real-end' and `pos-list'.
7000
7001 * apropos.el (apropos-score-doc): Remove unused variable `i'.
7002
7003 * bindings.el (mode-line-modified, mode-line-remote):
7004 Mark unused parameters.
7005 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
7006
7007 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
7008 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
7009
7010 * comint.el (comint-history-isearch-pop-state)
7011 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
7012 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
7013 (comint-substitute-in-file-name): Doc fix.
7014
7015 * completion.el (cmpl-statistics-block): Mark unused parameter.
7016 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
7017 (save-completions-to-file, load-completions-from-file):
7018 Remove unused local variable `e'.
7019
7020 * composite.el (compose-chars): Remove unused variable `len'.
7021 (lgstring-insert-glyph): Remove unused variable `g'.
7022 (compose-glyph-string): Remove unused variables `ascent',
7023 `descent', `lbearing' and `rbearing'.
7024 (compose-glyph-string-relative): Remove unused variables
7025 `lbearing', `rbearing' and `wadjust'.
7026 (compose-gstring-for-graphic): Remove unused variables `header',
7027 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
7028 (compose-gstring-for-terminal): Remove unused variables `header'
7029 and `nchars'. Use `let', not `let*'.
7030
7031 * cus-edit.el (Custom-set, Custom-save, custom-reset)
7032 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
7033 (Custom-buffer-done, custom-buffer-create-internal)
7034 (custom-browse-visibility-action, custom-browse-group-tag-action)
7035 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
7036 (widget-magic-mouse-down-action, custom-toggle-parent)
7037 (custom-add-parent-links, custom-toggle-hide-variable)
7038 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
7039 (custom-toggle-hide-face, face, hook, custom-group-link-action)
7040 (custom-face-menu-create, custom-variable-menu-create, get)
7041 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
7042 (custom-reset-standard-save-and-update): Remove unused variable `value'.
7043 (customize-apropos): Remove unused variable `tests'.
7044 (custom-group-value-create): Remove unused variable `hidden-p'.
7045 (sort-fold-case): Declare.
7046
7047 * cus-theme.el (custom-reset-standard-faces-list)
7048 (custom-reset-standard-variables-list): Declare.
7049 (customize-create-theme, custom-theme-revert, custom-theme-write)
7050 (custom-theme-choose-mode, customize-themes, custom-theme-save):
7051 Mark unused parameters.
7052
7053 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
7054
7055 * delim-col.el (delimit-columns-max): Move defvar before first use.
7056
7057 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 7058 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
7059
7060 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
7061 (auto-insert): Declare.
7062 (desktop-restore-file-buffer): Rename desktop-* parameters;
7063 mark unused ones.
7064 (desktop-create-buffer): Rename desktop-* parameters and bind them.
7065 (desktop-buffer): Rename desktop-* parameters.
7066
7067 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7068 (dframe-reposition-frame-xemacs, dframe-help-echo)
7069 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
7070 Mark unused parameters.
7071
7072 * dired-aux.el (backup-extract-version-start, overwrite-query)
7073 (overwrite-backup-query, rename-regexp-query)
7074 (rename-non-directory-query): Declare.
7075 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
7076 (dired-add-entry): Remove unused variable `orig-file-name'.
7077 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
7078 Use parameter PRESERVE-TIME instead of accessing dynamic variable
7079 `dired-copy-preserve-time' directly.
7080 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
7081 (dired-insert-subdir-newpos): Rename unused variable `pos'.
7082
7083 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
7084 (dired-virtual-revert, dired-make-relative-symlink):
7085 Mark unused parameters.
7086 (manual-program): Declare.
7087 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
7088 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
7089 wrapped in `with-no-warnings' to avoid replacing one warning by another.
7090
7091 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
7092
7093 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
7094
7095 * echistory.el (electric-history-in-progress, Helper-return-blurb):
7096 Declare.
7097
7098 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
7099
7100 * electric.el (Electric-command-loop): Rename parameter
7101 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
7102
7103 * expand.el (expand-in-literal): Remove unused variable `here'.
7104
7105 * facemenu.el (facemenu-add-new-color):
7106 Remove unused variable `docstring'.
7107
7108 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
7109 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
7110 (face-attr-construct): Mark unused parameter. Doc fix.
7111 (read-color): Remove unused variable `hex-string'.
7112
7113 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
7114 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
7115 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
7116 (display-buffer-other-frame): Remove unused variable `old-window'.
7117 (kill-buffer-hook): Declare.
7118 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
7119 Mark unused parameters.
7120 (after-find-file): Pass 1 to `auto-save-mode', not t.
7121
7122 * files-x.el (auto-insert): Declare.
7123 (modify-file-local-variable-prop-line): Remove unused variable `val'.
7124
7125 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 7126 variable `buf'. Mark unused parameter.
06b60517
JB
7127 (find-lisp-insert-directory): Mark unused parameter.
7128
7129 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
7130 (format-encode-region): Remove unused variables `cur-buf' and `result'.
7131 (format-common-tail): Remove, unused.
7132 (format-deannotate-region): Remove unused variable `loc'.
7133 (format-annotate-region): Remove unused variable `p'.
7134 (format-annotate-single-property-change): Remove unused variables
7135 `default' and `tail'.
7136
7137 * forms.el (read-file-filter): Declare.
7138 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
7139
7140 * frame.el (frame-creation-function-alist): Mark unused parameter.
7141 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
7142
7143 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
7144 Remove unused parameters.
7145 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7146 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7147
7148 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7149 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7150 (hfy-prepare-tag-map): Mark unused parameters.
7151 (htmlfontify-buffer): Use `called-interactively-p'.
7152
7153 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7154 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7155 (ibuffer-do-occur): Mark unused parameters.
7156 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7157 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7158
7159 * ibuffer.el: Don't quote `lambda'.
7160 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7161 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7162 Mark unused parameters.
7163
7164 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7165 (ido-completing-read): Mark unused parameters.
7166 (ido-copy-current-word): Mark unused parameters;
7167 remove unused variable `name'.
7168 (ido-sort-merged-list): Remove unused parameter `dirs'.
7169
7170 * ielm.el (ielm-input-sender): Mark unused parameter.
7171 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7172 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7173 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7174 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7175 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7176
7177 * image-dired.el (image-dired-display-thumbs): Remove unused
7178 variables `curr-file' and `count'.
7179 (image-dired-remove-tag): Remove unused variable `start'.
7180 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7181 variable `curr-file'
7182 (image-dired-rotate-original): Remove unused variable `temp-file'.
7183 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7184 Remove unused variable `file'.
7185 (image-dired-gallery-generate): Remove unused variable `curr'.
7186 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7187
7188 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7189
7190 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7191
7192 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7193
7194 * isearch.el (minibuffer-history-symbol): Declare.
7195 (isearch-edit-string): Remove unused variable `err'.
7196 (isearch-message-prefix, isearch-message-suffix):
7197 Mark unused parameters.
7198
7199 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7200
7201 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7202
7203 * makesum.el (double-column): Remove unused variable `cnt'.
7204
7205 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7206 (ido-ignore-item-temp-list): Declare.
7207
7208 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7209 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7210 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7211 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7212 `mouse-col-delta'.
7213
7214 * mouse-sel.el (mouse-extend-internal):
7215 Remove unused variable `orig-window-frame'.
7216
7217 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7218 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7219 Move declarations before first use.
7220 (pcomplete-opt): Mark unused parameters; doc fix.
7221
7222 * proced.el (proced-revert): Mark unused parameter.
7223 (proced-send-signal): Remove unused variable `err'.
7224
7225 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7226 Rename parameter PREFIX-ARG to ARG.
7227 (ps-basic-plot-string, ps-basic-plot-whitespace):
7228 Mark unused parameters.
7229
7230 * replace.el (replace-count): Define.
7231 (occur-revert-function): Mark unused parameters.
7232 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7233 (isearch-case-fold-search, isearch-string): Declare.
7234 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7235 bind `case-fold-search'. Remove unused variables `beg' and `end',
7236 and simplify.
7237 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7238 COUNT and bind `replace-count'.
7239 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7240 to COUNT.
7241
7242 * savehist.el (print-readably, print-string-length): Declare.
7243
7244 * shadowfile.el (shadow-expand-cluster-in-file-name):
7245 Remove unused variable `cluster'.
7246 (shadow-copy-file): Remove unused variable `i'.
7247 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7248 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7249 (shadow-define-literal-group, shadow-define-regexp-group)
7250 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7251
7252 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7253 (shell): Use `called-interactively-p'.
7254 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7255
7256 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7257 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7258 (delete-backward-char): Remove unused variable `ocol'.
7259 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7260 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7261 (event-apply-hyper-modifier, event-apply-shift-modifier)
7262 (event-apply-control-modifier, event-apply-meta-modifier):
7263 Mark unused parameters.
7264 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7265 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7266
7267 * speedbar.el (speedbar-ignored-directory-expressions)
7268 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7269 (speedbar-find-file, speedbar-dir-follow)
7270 (speedbar-directory-buttons-follow, speedbar-tag-find)
7271 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7272 (speedbar-buffers-line-directory, speedbar-buffer-click):
7273 Mark unused parameters.
7274 (speedbar-tag-file): Remove unused variable `mode'.
7275 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7276
7277 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7278
7279 * talk.el (talk): Remove unused variable `display'.
7280
7281 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7282 (tar-write-region-annotate): Mark unused parameter.
7283
7284 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7285 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7286 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7287 warning by another.
7288
7289 * time-stamp.el (time-stamp-string-preprocess):
7290 Remove unused variable `require-padding'.
7291
7292 * tree-widget.el (widget-glyph-enable): Declare.
7293 (tree-widget-action): Mark unused parameter.
7294
7295 * w32-fns.el (x-get-selection): Mark unused parameter.
7296 (autoload-make-program, generated-autoload-file): Declare.
7297
7298 * wdired.el (wdired-revert): Mark unused parameters.
7299 (wdired-xcase-word): Remove unused variable `err'.
7300
7301 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7302 (whitespace-help-scroll): Remove unused variable `data-help'.
7303
7304 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7305 (widget-image-insert, widget-after-change, default)
7306 (widget-default-format-handler, widget-default-notify)
7307 (widget-default-prompt-value, widget-info-link-action)
7308 (widget-url-link-action, widget-function-link-action)
7309 (widget-variable-link-action, widget-file-link-action)
7310 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7311 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7312 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7313 (widget-insert-button-action, widget-delete-button-action, visibility)
7314 (widget-documentation-link-action, widget-documentation-string-action)
7315 (widget-const-prompt-value, widget-regexp-match, symbol)
7316 (widget-coding-system-prompt-value)
7317 (widget-key-sequence-value-to-external, sexp)
7318 (widget-sexp-value-to-internal, character, vector, cons)
7319 (widget-choice-prompt-value, widget-boolean-prompt-value)
7320 (widget-color--choose-action): Mark unused parameters.
7321 (widget-item-match-inline, widget-choice-match-inline)
7322 (widget-checklist-match, widget-checklist-match-inline)
7323 (widget-group-match): Rename parameter VALUES to VALS.
7324 (widget-field-value-set): Remove unused variable `size'.
7325 (widget-color-action): Remove unused variables `value' and `start'.
7326
7327 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7328 variable `dir'. Doc fix.
06b60517
JB
7329 (windmove-find-other-window): Don't pass it.
7330
7331 * window.el (count-windows): Mark unused parameter.
7332 (bw-adjust-window): Remove unused variable `err'.
7333
7334 * woman.el (woman-file-name): Remove unused variable `default'.
7335 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7336 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7337 (global-font-lock-mode): Declare.
7338 (woman-decode-region): Mark unused parameter.
7339 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7340
7341 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7342 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7343 (x-dnd-handle-moz-url): Remove unused variable `title'.
7344 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7345
7346 * xml.el (xml-parse-tag, xml-parse-attlist):
7347 Remove unused variable `pos'.
7348
bc4f7f3d
GM
73492011-04-19 Glenn Morris <rgm@gnu.org>
7350
7351 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7352 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7353 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7354 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7355 * calendar/cal-html.el (cal-html-insert-minical):
7356 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7357 (calendar-mark-date-pattern):
7358 Prefix "unused" locals.
7359
7360 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7361 optional argument `style'.
7362
7363 * calendar/appt.el (appt-make-list):
7364 * calendar/cal-china.el (calendar-chinese-date-string):
7365 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7366 (diary-hebrew-yahrzeit):
7367 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7368 * calendar/calendar.el (calendar-generate-window):
7369 * calendar/time-date.el (time-to-days):
7370 Remove unused local variables.
7371
16a43933
CY
73722011-04-18 Chong Yidong <cyd@stupidchicken.com>
7373
7374 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7375 glyphless-char-display table.
7376 (tabulated-list-glyphless-char-display): New var.
7377
7eed1860
SS
73782011-04-18 Sam Steingold <sds@gnu.org>
7379
7380 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7381 to acknowledgments.
7382
4d2d1ccd
GM
73832011-04-17 Glenn Morris <rgm@gnu.org>
7384
7385 * calendar/diary-lib.el (diary-sexp-entry):
7386 * calendar/holidays.el (holiday-sexp):
7387 Set debug-on-error rather than the removed stack-trace-on-error.
7388
239da61d
GM
73892011-04-16 Glenn Morris <rgm@gnu.org>
7390
7391 * progmodes/f90.el: Use lexical-binding.
7392 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7393
8b05752a
SM
73942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7395
daca8ba5
SM
7396 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7397 (mail-mode): Setup mailalias completion here instead.
7398 * mail/mailalias.el: Use lexical-binding.
7399 (pattern, mailalias-done): Declare dynamic.
7400 (mail-completion-at-point-function): New function, from mail-complete.
7401 (mail-complete): Use it.
7402 (mail-completion-expand): New function.
7403 (mail-get-names): Use it.
7404 (mail-directory, mail-directory-process, mail-directory-stream):
7405 Don't use `pattern' for lexically bound arg.
7406
6f542485
SM
7407 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7408
037e7c3f
SM
7409 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7410 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7411 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7412
8b05752a
SM
7413 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7414 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7415 (byte-interactive-p): Define them again, for use when inlining
7416 old code.
7417
49093f60
JB
74182011-04-15 Juanma Barranquero <lekktu@gmail.com>
7419
7420 * loadup.el: Use `string-to-number', not `string-to-int'.
7421
b5b8e7de
SM
74222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7425 gud-gdb-complete-command.
7426 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7427 (gud-gdb-completion-at-point): New function.
7428 (gud-gdb-completions): Remove.
7429
f42efeb5
MA
74302011-04-14 Michael Albinus <michael.albinus@gmx.de>
7431
49093f60
JB
7432 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7433 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7434 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7435 whether `executable-find' is bound.
f42efeb5
MA
7436
7437 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7438
e240cc21
SM
74392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * minibuffer.el (completion-in-region-mode-predicate)
7442 (completion-in-region-mode--predicate): New vars.
7443 (completion-in-region, completion-in-region--postch)
7444 (completion-in-region-mode): Use them.
7445 (completion--capf-wrapper): Also return the hook function.
7446 (completion-at-point, completion-help-at-point):
7447 Adjust and provide a predicate.
c2bd2ab0
SM
7448
7449 Preserve arg names for advice of subr and lexical functions (bug#8457).
7450 * help-fns.el (help-function-arglist): Consolidate the subr and
7451 new-byte-code cases. Add argument `preserve-names' to extract names
7452 from the docstring when needed.
7453 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7454 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7455 (ad-arglist): Use help-function-arglist's new arg.
7456 (ad-definition-type): Use cond.
7457
c183f693
JB
74582011-04-13 Juanma Barranquero <lekktu@gmail.com>
7459
06641a47
JB
7460 * autorevert.el (auto-revert-handler):
7461 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7462 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7463 Don't quote lambda.
7464
c183f693
JB
7465 * image-mode.el (image-transform-set-scale):
7466 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7467
1e3b6001
G
74682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
7470 * net/network-stream.el (network-stream-open-starttls): Only do
7471 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7472 Upgrades via gnutls-cli are too slow to be done opportunistically.
7473
2d6af8dd
JB
74742011-04-12 Juanma Barranquero <lekktu@gmail.com>
7475
7476 * dframe.el (dframe-current-frame): Remove spurious quote.
7477
c0749a51
GM
74782011-04-12 Glenn Morris <rgm@gnu.org>
7479
088d0d61
GM
7480 * calendar/cal-tex.el (cal-tex-end-document):
7481 Try to automatically use latin1 input if needed.
7482
c0749a51
GM
7483 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7484 Don't try to cons a mark onto an empty element.
7485
5c90fde0
LL
74862011-04-11 Leo Liu <sdl.web@gmail.com>
7487
7488 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7489 buffers.
7490 (ido-kill-buffer-at-head): Support killing virtual buffers.
7491
369e974d
CY
74922011-04-10 Chong Yidong <cyd@stupidchicken.com>
7493
7494 * minibuffer.el (completion-show-inline-help): New var.
7495 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7496 (minibuffer-force-complete, minibuffer-complete-word):
7497 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7498
7499 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7500 to avoid interference from inline help (Bug#5849).
7501
37f1c930
LL
75022011-04-10 Leo Liu <sdl.web@gmail.com>
7503
099c39a4
JB
7504 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7505 Fix typo.
37f1c930 7506
a32d4040
CY
75072011-04-09 Chong Yidong <cyd@stupidchicken.com>
7508
7509 * image-mode.el (image-toggle-display-image): Signal an error if
7510 not in Image mode.
7511 (image-transform-mode, image-transform-resize)
7512 (image-transform-set-rotation): Doc fix.
daca8ba5 7513 (image-transform-set-resize): Delete.
a32d4040
CY
7514 (image-transform-set-scale, image-transform-fit-to-height)
7515 (image-transform-fit-to-width): Handle image-toggle-display-image
7516 and image-transform-resize directly.
7517
099c39a4 75182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7519
7520 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7521 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7522 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7523 (doc-view-mode-map): Add bindings for the new functions.
7524
099c39a4 75252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7526
4d61f28d 7527 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7528 Fix typo in docstring.
7529
3726838a
EZ
75302011-04-08 Eli Zaretskii <eliz@gnu.org>
7531
04f33f1e
EZ
7532 * files.el (file-size-human-readable): Produce one digit after
7533 decimal, like "ls -lh" does.
7534
7535 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7536 the file size representation.
7537
3726838a
EZ
7538 * simple.el (list-processes): If async subprocesses are not
7539 available, error out with a clear error message.
7540
cbb59342
CY
75412011-04-08 Chong Yidong <cyd@stupidchicken.com>
7542
7543 * help.el (help-form-show): New function, to be called from C.
7544 Put help-form output in a buffer named differently than *Help*.
7545
e3971c44
EZ
75462011-04-08 Eli Zaretskii <eliz@gnu.org>
7547
7548 * files.el (file-size-human-readable): New function.
7549
7550 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7551 computing the representation inline. Don't require `cl'.
7552
12544bbe
GM
75532011-04-08 Glenn Morris <rgm@gnu.org>
7554
a1de6c6a
GM
7555 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7556
3c4671f4
GM
7557 * net/browse-url.el (browse-url-firefox):
7558 Test system-type, not system-configuration.
7559
b605679c
GM
7560 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7561 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7562 Use log-edit-empty-buffer-p. (Bug#7598)
7563
56442f0c
GM
7564 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7565 (rlogin-mode-map): Initialize in the defvar.
7566 (rlogin): Use ignore-errors.
7567
12544bbe
GM
7568 * replace.el (occur-mode-map): Some fixes for menu items.
7569
eb237b0f
AH
75702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7571
7572 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7573
7d668f2c
CY
75742011-04-06 Chong Yidong <cyd@stupidchicken.com>
7575
e67a13ab
CY
7576 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7577 issuing unused warnings.
7578
7579 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7580 macro directly.
7581
7d668f2c
CY
7582 * simple.el: Lisp reimplement of list-processes. Based on an
7583 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7584 (process-menu-mode): New major mode.
7585 (list-processes--refresh, list-processes):
7586 (process-menu-visit-buffer): New functions.
7587
7588 * files.el (save-buffers-kill-emacs): Don't assume any return
7589 value of list-processes, which is undocumented anyway.
7590
a83ec3c9
CY
75912011-04-06 Chong Yidong <cyd@stupidchicken.com>
7592
7593 * emacs-lisp/tabulated-list.el: New file.
7594
e91a96fe
CY
7595 * emacs-lisp/package.el: Use Tabulated List mode.
7596 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7597 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7598 table format using Tabulated List mode variables.
7599 (package--push): New macro, replacing package-list-maybe-add.
7600 (package-menu--generate): Use package--push. Renamed from
7601 package--generate-package-list.
7602 (package-menu-refresh, list-packages): Use it.
daca8ba5 7603 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7604 Return insertion data instead of inserting it directly.
099c39a4
JB
7605 (package-menu-describe-package, package-menu-execute):
7606 Use tabulated-list-get-id.
e91a96fe
CY
7607 (package-menu-mark-delete, package-menu-mark-install)
7608 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7609 (package-menu-mark-obsolete-for-deletion):
7610 Use tabulated-list-put-tag.
e91a96fe
CY
7611 (package--list-packages, package-menu-revert)
7612 (package-menu-get-package, package-menu-get-version)
7613 (package-menu-sort-by-column): Functions deleted.
7614 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7615 (package-menu--status-predicate, package-menu--version-predicate)
7616 (package-menu--name-predicate)
7617 (package-menu--description-predicate): Handle arguments in the
7618 Tabulated List format.
7619 (package-list-packages-no-fetch): Call list-packages.
7620
3e214b50
JB
76212011-04-06 Juanma Barranquero <lekktu@gmail.com>
7622
7623 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7624 (after-find-file): Don't bind it.
3e214b50
JB
7625 (revert-buffer-in-progress-p): New variable.
7626 (revert-buffer): Bind it.
7627 Pass nil for `after-find-file-from-revert-buffer'.
7628
7629 * saveplace.el (save-place-find-file-hook): Use new variable
7630 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7631
3f0f1700
GM
76322011-04-06 Glenn Morris <rgm@gnu.org>
7633
c0274801
GM
7634 * Makefile.in (AUTOGEN_VCS): New variable.
7635 (autoloads): Use $AUTOGEN_VCS.
7636
3f0f1700
GM
7637 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7638 * calendar/calendar.el (calendar-mode-map):
7639 Check for toolkit scroll bars. (Bug#8305)
7640
41ea9e48
CY
76412011-04-05 Chong Yidong <cyd@stupidchicken.com>
7642
7643 * minibuffer.el (completion-in-region--postch)
7644 (completion-in-region-mode): Remove unnecessary messages.
7645
6194c800
JB
76462011-04-05 Juanma Barranquero <lekktu@gmail.com>
7647
33256f14
JB
7648 * font-lock.el (font-lock-refresh-defaults):
7649 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7650 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7651
6194c800
JB
7652 * info.el (Info-directory-list, Info-read-node-name-2)
7653 (Info-split-parameter-string): Doc fixes.
7654 (Info-virtual-nodes): Reflow docstring.
7655 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7656 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7657 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7658 Fix typos in docstrings.
7659 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7660 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7661 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7662 (Info-restore-desktop-buffer): Mark unused parameters.
7663 (Info-directory-find-file, Info-directory-find-node)
7664 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7665 (Info-virtual-index-find-node, Info-apropos-find-file)
7666 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7667 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7668 (Info-virtual-index): Remove unused local variable `nodename'.
7669
b87a8200 76702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7671
b87a8200
DD
7672 * net/rcirc.el: Update my e-mail address.
7673 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7674
3b2ff876
CY
76752011-04-05 Chong Yidong <cyd@stupidchicken.com>
7676
7677 * startup.el (command-line): Save the cursor's theme-face
7678 directly, instead of using face-override-spec.
7679
7680 * custom.el (load-theme): Minor optimization in assigning faces.
7681
8d17e7ca
JB
76822011-04-04 Juanma Barranquero <lekktu@gmail.com>
7683
7684 * help-fns.el (describe-variable): Complete all variables having
7685 documentation, including keywords.
7686 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7687
2fbc1934
JB
76882011-04-04 Juanma Barranquero <lekktu@gmail.com>
7689
7690 Convert to lexical-binding.
7691
7692 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7693 (bs--get-marked-string, bs--get-modified-string)
7694 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7695 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7696 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7697
7698 * ehelp.el (electric-help-execute-extended)
7699 (electric-help-ctrl-x-prefix):
7700 * hexl.el (hexl-revert-buffer-function):
7701 * linum.el (linum-after-change, linum-after-scroll):
7702 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7703
7704 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7705
74f50695
DU
77062011-04-04 Daiki Ueno <ueno@unixuser.org>
7707
7708 * epa-dired.el:
7709 * epa-mail.el:
7710 * epa-hook.el:
7711 * epa-file.el:
7712 * epa.el:
7713 * epg.el: Use lexical binding.
7714
c11325f7
CY
77152011-04-03 Chong Yidong <cyd@stupidchicken.com>
7716
0d9e9a12
CY
7717 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7718
c11325f7 7719 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7720 dictionary case for flyspell-mark-duplications-exceptions.
7721 Use regexp matching for languages.
c11325f7
CY
7722 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7723 default dictionary (Bug#7926).
7724
da91b5f2
CY
77252011-04-02 Chong Yidong <cyd@stupidchicken.com>
7726
099c39a4
JB
7727 * emacs-lisp/package.el (package--with-work-buffer):
7728 Recognize https URLs.
da91b5f2 7729
099c39a4
JB
7730 * net/network-stream.el: Move from gnus/proto-stream.el.
7731 Change prefix to network-stream throughout.
da91b5f2
CY
7732 (open-protocol-stream): Merge into open-network-stream, leaving
7733 open-protocol-stream as an alias. Handle nil BUFFER args.
7734
7735 * subr.el (open-network-stream): Move to net/network-stream.el.
7736
afa8e9f6
GM
77372011-04-02 Glenn Morris <rgm@gnu.org>
7738
1d2e369d
GM
7739 * find-dired.el (find-exec-terminator): New option.
7740 (find-ls-option): Test for -ls support.
7741 (find-ls-subdir-switches): Test for -b in find-ls-option.
7742 (find-dired, find-grep-dired): Doc fixes.
7743 (find-dired): Use find-exec-terminator.
7744
8abb7da8 7745 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7746 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7747 (find-name-arg): Remove purecopy.
8abb7da8 7748
f3ca7378
GM
7749 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7750 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7751 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7752 accordingly. Don't add the null-device if not needed.
7753
afa8e9f6
GM
7754 * files.el (save-some-buffers): Doc fix.
7755
35eae264
EZ
77562011-04-02 Eli Zaretskii <eliz@gnu.org>
7757
7758 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7759
26b51db5
JB
77602011-04-01 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7763 Use `dolist' rather than `mapcar'.
7764
7200d79c
SM
77652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7766
03408648 7767 Add lexical binding.
7200d79c 7768
03408648
SM
7769 * subr.el (apply-partially): Use new closures rather than CL.
7770 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7771 (dolist, dotimes): Use slightly different expansion for lexical code.
7772 (functionp): Move to C.
7773 (letrec): New macro.
7774 (with-wrapper-hook): Use it and apply-partially instead of CL.
7775 (eval-after-load): Preserve lexical-binding.
7776 (save-window-excursion, with-output-to-temp-buffer): Turn them
7777 into macros.
7200d79c 7778
03408648
SM
7779 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7780
7781 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7782 than the arglist.
7783 (help-add-fundoc-usage): Don't add `Not documented'.
7784 (help-function-arglist): Handle closures, subroutines, and new
7785 byte-code-functions.
7786 (help-make-usage): Remove leading underscores.
7787 (describe-function-1): Handle closures.
7788 (describe-variable): Use special-variable-p for completion.
7789
7790 * files.el (lexical-binding): Declare safe.
f488fb65 7791
03408648
SM
7792 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7793 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7794 (pcase): Add `let' pattern.
7795 Change memoization so it actually works.
7796 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7797 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7798 <let>: New case.
f488fb65 7799
03408648
SM
7800 * emacs-lisp/macroexp.el: Use lexical binding.
7801 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7802 Don't convert ' to #' without checking that it's indeed quoting
7803 a lambda.
7804
7805 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7806 Use eval-sexp-add-defvars.
03408648
SM
7807 (eval-sexp-add-defvars): New fun.
7808
7809 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7810
7811 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7812 Don't autoload.
7813 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7814 than the internal `byte-compile-lambda'.
7815 (defmethod): Don't hide code under quotes.
7816 (eieio-defmethod): New `code' argument.
7817
7818 * emacs-lisp/eieio-comp.el: Remove.
7819
7820 * emacs-lisp/edebug.el (edebug-eval-defun)
7821 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7822 (edebug-toggle): Avoid `eval'.
7823
7824 * emacs-lisp/disass.el (disassemble-internal): Handle new
7825 `closure' objects.
7826 (disassemble-1): Handle new byte codes.
7827
7828 * emacs-lisp/cl.el (pushnew): Silence warning.
7829
7830 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7831 (cl-byte-compile-throw): Remove.
7832 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7833
7834 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7835 closures.
7836
7837 * emacs-lisp/cconv.el: New file.
7838
7839 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7840 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7841 (byte-compile-initial-macro-environment):
7842 Handle declare-function here.
7843 (byte-compile--lexical-environment): New var.
7844 (byte-stack-ref, byte-stack-set, byte-discardN)
7845 (byte-discardN-preserve-tos): New lap codes.
7846 (byte-interactive-p): Don't use any more.
7847 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7848 New macros.
7849 (byte-compile-lapcode): Use them and handle new lap codes.
7850 (byte-compile-obsolete): Remove.
7851 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7852 (byte-compile-arglist-warn): Check late def of inlinable funs.
7853 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7854 since they should have been expanded by now.
7855 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7856 (byte-compile-from-buffer): Remove unused second arg.
7857 (byte-compile-preprocess): New function.
7858 (byte-compile-toplevel-file-form): New function to distinguish
7859 file-form calls from outside from file-form calls from hunk-handlers.
7860 (byte-compile-file-form): Simplify.
7861 (byte-compile-file-form-defsubst): Remove.
7862 (byte-compile-file-form-defmumble): Simplify now that
7863 byte-compile-lambda always returns a byte-code-function.
7864 (byte-compile): Preprocess.
7865 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7866 Remove, not used any more.
7867 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7868 (byte-compile-make-args-desc): New funs.
7869 (byte-compile-lambda): Handle lexical functions. Always return
7870 a byte-code-function.
7871 (byte-compile-reserved-constants): New var, to make up room for
7872 closed-over variables.
7873 (byte-compile-constants-vector): Obey it.
7874 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7875 (byte-compile-macroexpand-declare-function): New function.
7876 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7877 byte-code-functions.
7878 (byte-compile-form): Check obsolescence here.
7879 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7880 (byte-compile-variable-ref): Remove.
7881 (byte-compile-dynamic-variable-op): New fun.
7882 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7883 (byte-compile-variable-set): New funs.
7884 (byte-compile-discard): Add 2 args.
7885 (byte-compile-stack-ref, byte-compile-stack-set)
7886 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7887 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7888 macroexpand-all instead.
7889 (byte-compile-quote-form): Remove.
7890 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7891 (byte-compile-bind, byte-compile-unbind): New funs.
7892 (byte-compile-let): Handle let* and lexical binding.
7893 (byte-compile-let*): Remove.
7894 (byte-compile-catch, byte-compile-unwind-protect)
7895 (byte-compile-track-mouse, byte-compile-condition-case):
7896 Handle a new :fun-body form, used for lexical scoping.
7897 (byte-compile-save-window-excursion)
7898 (byte-compile-with-output-to-temp-buffer): Remove.
7899 (byte-compile-defun): Simplify.
7900 (byte-compile-stack-adjustment): New fun.
7901 (byte-compile-out): Use it.
7902 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7903
7904 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7905 handler any more.
7906
7907 * emacs-lisp/byte-opt.el: Use lexical binding.
7908 (byte-inline-lapcode): Remove (to bytecomp).
7909 (byte-compile-inline-expand): Pay attention to inlining to/from
7910 lexically bound code.
7911 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7912 any more.
7913 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7914 any more and don't call compiler-macros.
7915 (byte-compile-splice-in-already-compiled-code): Remove.
7916 (byte-code): Don't inline any more.
7917 (disassemble-offset): Receive `bytes' as argument rather than via
7918 dynamic scoping.
7919 (byte-compile-tag-number): Declare before first use.
7920 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7921 `return' even if make-spliceable.
7922 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7923 obsolete interactive-p.
7924 (byte-optimize-lapcode): Optimize new lap-codes.
7925 Don't trip up on new form of `byte-constant' lap code.
7926
7927 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7928
7929 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7930
7931 * custom.el (custom-initialize-default, custom-declare-variable):
7932 Use `defvar'.
7933
7934 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7935 New variables.
7936 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7937 (COMPILE_FIRST): Add macroexp and cconv.
7938 * makefile.w32-in: Mirror changes in Makefile.in.
7939
7940 * vc/cvs-status.el:
7941 * vc/diff-mode.el:
7942 * vc/log-edit.el:
7943 * vc/log-view.el:
7944 * vc/smerge-mode.el:
7945 * textmodes/bibtex-style.el:
7946 * textmodes/css.el:
7947 * startup.el:
7948 * uniquify.el:
da91b5f2
CY
7949 * minibuffer.el:
7950 * newcomment.el:
7951 * reveal.el:
7952 * server.el:
7953 * mpc.el:
7954 * emacs-lisp/smie.el:
7955 * doc-view.el:
7956 * dired.el:
03408648
SM
7957 * abbrev.el: Use lexical binding.
7958
0f0c1f27
EZ
79592011-04-01 Eli Zaretskii <eliz@gnu.org>
7960
7961 * info.el (info-display-manual): New function.
7962
c82b2579
SM
79632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7966
221ddf68
TH
79672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7968
7969 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7970 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7971
cba6e77e
GM
79722011-03-31 Glenn Morris <rgm@gnu.org>
7973
e040639f
GM
7974 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7975
cba6e77e
GM
7976 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7977
6d0f1c9e
CS
79782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7979
7980 * progmodes/python.el (python-default-interpreter)
7981 (python-python-command-args, python-jython-command-args)
7982 (python-which-shell, python-which-args, python-which-bufname)
7983 (python-file-queue, python-comint-output-filter-function)
7984 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7985 variables and functions.
7986
3e2d70fd
SM
79872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7990 (completion-in-region-mode): New minor mode.
7991 (completion-in-region): Use it.
7992 (completion-in-region--data, completion-in-region-mode-map): New vars.
7993 (completion-in-region--postch): New function.
7994 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7995 New vars.
7996 (completion--capf-wrapper): New function.
7997 (completion-at-point): Use it to track well-behavedness of
7998 hook functions.
7999 (completion-help-at-point): New command.
8000
f3e4086c
JM
80012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
8002
8003 * vc/add-log.el (add-change-log-entry): Don't use whitespace
8004 syntax class to search for whitespace on a single line
8005 (Message-ID: <4D938140.4030905@redhat.com>).
8006
eb7ffc14
LL
80072011-03-30 Leo Liu <sdl.web@gmail.com>
8008
8009 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
8010 New commands.
8011 (edit-abbrevs-map): Bind them here.
8012 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
8013
d806ab68
KM
80142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
8015
8016 * allout.el (allout-hide-by-annotation, allout-flag-region):
8017 Reduce possibility of overlay leakage by making them volatile.
8018
8019 * allout-widgets.el (allout-widgets-tally): Define as nil so the
8020 hash is not shared between buffers. Mode initialization is
8021 responsible for giving it a useful starting value.
8022 (allout-item-span): Reduce possibility of overlay leakage by
8023 making them volatile.
8024 (allout-widgets-count-buttons-in-region): Add diagnostic function
8025 for tracking down button overlay leaks.
8026
ea622834
LL
80272011-03-29 Leo Liu <sdl.web@gmail.com>
8028
8029 * ido.el (ido-read-internal): Use the default history var
8030 minibuffer-history if no HISTORY is specified.
8031
b62f8267
G
80322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
8033
03408648
SM
8034 * net/imap.el (imap-shell-open, imap-process-connection-type):
8035 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
8036 Kerberos, SSL, other subprocesses.
8037
947b6566
LL
80382011-03-28 Leo Liu <sdl.web@gmail.com>
8039
8040 * abbrev.el (abbrev-table-empty-p): New function.
8041 (prepare-abbrev-list-buffer): Place empty abbrev tables after
8042 nonempty ones. (Bug#5937)
8043
5ffb62aa
JD
80442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
8045
8046 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
8047
7a097943
LL
80482011-03-27 Leo Liu <sdl.web@gmail.com>
8049
8050 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
8051 for foreground and background colors.
8052 (ansi-color-make-color-map): Adapt.
8053
c5b40130
LL
80542011-03-25 Leo Liu <sdl.web@gmail.com>
8055
1f48f7d2
LL
8056 * midnight.el (midnight-time-float): Remove. Note it calculates
8057 the microsecond component incorrectly and seconds-to-time does the
8058 same job.
625897ec 8059 Remove redundant (require 'timer).
1f48f7d2 8060
c5b40130
LL
8061 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
8062 (ido-completions): Remove unused arguments. (Bug#8329)
8063
d86d2721
SM
80642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * minibuffer.el (completion--flush-all-sorted-completions):
8067 Remove itself from hook.
8068 (completion-at-point): Let the functions perform the completion
8069 immediately and return nil or t.
8070 * comint.el (comint-dynamic-complete-functions): Now identical to
8071 completion-at-point-functions.
8072 (comint-dynamic-list-input-ring): Remove unused var `index'.
8073 (comint--match-partial-filename, comint--unquote&expand-filename):
8074 New funs, split from comint-match-partial-filename.
8075 (comint-dynamic-complete): Use completion-at-point.
8076 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
8077
e8974c48
DA
80782011-03-24 Drew Adams <drew.adams@oracle.com>
8079
8080 * thingatpt.el: Support `defun'.
8081
def71b5e
LL
80822011-03-23 Leo Liu <sdl.web@gmail.com>
8083
cb5af48e
LL
8084 * abbrevlist.el: Move to obsolete/abbrevlist.el.
8085
def71b5e
LL
8086 * help-mode.el (help-mode-finish): Tweak regexp.
8087
927c53e7
GM
80882011-03-23 Glenn Morris <rgm@gnu.org>
8089
18d05bed
GM
8090 * eshell/esh-opt.el (eshell-eval-using-options):
8091 Do not bind unused local variable `eshell-option-stub'.
8092
927c53e7
GM
8093 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
8094
9d0da923
JB
80952011-03-22 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
8098 keymap variable in `with-no-warnings' to avoid a warning when the
8099 keymap has been already `defconst'ed.
8100
4b978a67
LL
81012011-03-22 Leo Liu <sdl.web@gmail.com>
8102
8103 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
8104 encode all chars in abbrevs; otherwise use emacs-mule or
8105 utf-8-emacs. (Bug#8308)
8106
5fd62452
JB
81072011-03-22 Juanma Barranquero <lekktu@gmail.com>
8108
0b1596c6
JB
8109 * simple.el (backward-delete-char-untabify):
8110 Avoid warning about using `delete-backward-char'.
8111
5fd62452
JB
8112 * image.el (image-type-file-name-regexps): Make it variable.
8113 `imagemagick-register-types' modifies it, and the user may want
8114 to add new extensions for known image types.
8115 (imagemagick-register-types): Throw error if not using ImageMagick.
8116
0b4e93f1
LL
81172011-03-22 Leo Liu <sdl.web@gmail.com>
8118
8119 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
8120 located before rcirc-prompt-end-marker.
8121 (rcirc-complete): Error if point is not after rcirc prompt.
8122 Handle the case when table is nil.
9882e214 8123 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 8124
fccee4ab
CY
81252011-03-22 Chong Yidong <cyd@stupidchicken.com>
8126
8127 * custom.el (custom--inhibit-theme-enable): Make it affect only
8128 custom-theme-set-variables and custom-theme-set-faces.
8129 (provide-theme): Ignore custom--inhibit-theme-enable.
8130 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
8131 (custom-enabling-themes): Delete variable.
d86d2721
SM
8132 (enable-theme): Accept only loaded themes as arguments.
8133 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
8134 (custom-enabled-themes): Forbid themes from setting this.
8135 Eliminate use of custom-enabling-themes.
8136 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 8137
af896da6
LL
81382011-03-21 Leo Liu <sdl.web@gmail.com>
8139
8140 * ido.el (ido-read-internal): Add ido-selected to history instead
8141 of user input.
8142
78f64af0
SM
81432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * subr.el (deferred-action-list, deferred-action-function):
8146 Mark obsolete.
8147
b16ac1ec
LL
81482011-03-21 Leo Liu <sdl.web@gmail.com>
8149
810f7698
LL
8150 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8151 change on 2011-02-13 (bug#8309).
8152
b16ac1ec
LL
8153 * minibuffer.el (read-file-name-function): Change default value.
8154 (read-file-name--defaults): Rename from read-file-name-defaults.
8155 (read-file-name-default): Rename from read-file-name.
8156 (read-file-name): Call read-file-name-function.
8157
4e05e67e
GM
81582011-03-21 Glenn Morris <rgm@gnu.org>
8159
8160 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8161 Doc fixes.
8162
4359915b
CY
81632011-03-21 Chong Yidong <cyd@stupidchicken.com>
8164
8165 * cus-theme.el: Add missing provide statement.
8166 (customize-create-theme): Extract theme value correctly.
8167 (custom-theme-visit-theme): Autoload.
8168 (customize-create-theme): Prompt before inserting default faces.
8169
1fe275ee
JB
81702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8171
8172 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8173 units and musical notes.
8174
3ec03f7e
LL
81752011-03-20 Leo <sdl.web@gmail.com>
8176
8177 * ido.el (ido-read-internal): Use completing-read-default.
8178 (ido-completing-read): Fix compatibility with completing-read.
8179
7d476bde
CO
81802011-03-20 Christian Ohler <ohler@gnu.org>
8181
8182 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8183 (ert-delete-all-tests): Use `called-interactively-p' rather than
8184 `interactive-p'.
8185 (ert--make-xrefs-region): Respect END.
8186
fe0fb33e
CY
81872011-03-19 Chong Yidong <cyd@stupidchicken.com>
8188
ff854b0b
CY
8189 * dired-aux.el (dired-create-directory): Signal an error if the
8190 directory already exists (Bug#8246).
8191
fe0fb33e
CY
8192 * facemenu.el (list-colors-display): Call list-faces-display
8193 inside with-help-window.
8194 (list-colors-print): Use display property to align the final
8195 column, instead of checking window-width.
8196
576bce32
EZ
81972011-03-19 Eli Zaretskii <eliz@gnu.org>
8198
4d61f28d 8199 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8200 windows-nt systems.
8201 (emerge-protect-metachars): Quote correctly for ms-dos and
8202 windows-nt systems.
8203
89c41d68 82042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8205
8206 * info.el (info-initialize): Replace all uses of `:' with
8207 path-separator for compatibility with non-Unix systems.
8208 Cache quoting of path-separator. (Bug#8258)
8209
b14e3e21 82102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8211
8212 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8213 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8214 (mouse-avoidance-mode): Fix typos in docstrings.
8215
4525ce3e
CY
82162011-03-19 Chong Yidong <cyd@stupidchicken.com>
8217
8218 * startup.el (package-subdirectory-regexp): Move from package.el.
8219 Omit \\` and \\', and let callers add them.
8220
8221 * emacs-lisp/package.el (package-strip-version)
8222 (package-load-all-descriptors): Add \\` and \\' to
8223 package-subdirectory-regexp before using it.
8224 (package-untar-buffer): New arg DIR; ensure that file untars only
8225 into this expected directory. Remove superfluous delete-region.
8226 (package-unpack): Caller changed.
8227 (package-tar-file-info): Use package-subdirectory-regexp.
8228
a904a09a 82292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8230
a904a09a
SM
8231 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8232 diff-mode-shared-map (bug#8284).
8233 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8234
82352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8236
8237 * calendar/time-date.el (format-seconds): Use assoc instead of
8238 assoc-string, since assoc-string doesn't exist in XEmacs.
8239
171fc304
JB
82402011-03-17 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * custom.el (custom-known-themes): Reflow docstring.
8243 (custom-theme-load-path): Fix typo in docstring.
8244 (load-theme): Fix typo in error message.
8245 (custom-available-themes, custom-variable-theme-value):
8246 Use `let', not `let*'.
8247
d71990a1
JB
82482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8249
8250 * calc/README: Mention inclusion of musical notes.
8251
8252 * calc/calc-units.el (calc-lu-quant): Rename from
8253 `calc-logunits-quantity'.
8254 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8255 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8256 (calc-db): Rename from `calc-dblevel'.
8257 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8258 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8259 (calc-np): Rename from `calc-nplevel'.
8260 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8261 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8262 (calc-lu-plus): Rename from `calc-logunits-add'.
8263 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8264 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8265 (calc-lu-minus): Rename from `calc-logunits-sub'.
8266 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8267 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8268 (calc-lu-times): Rename from `calc-logunits-mul'.
8269 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8270 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8271 (calc-lu-divide): Rename from `calc-logunits-div'.
8272 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8273 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8274
8275 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8276 functions being autoloaded.
8277
8278 * calc/calc.el (calc-lu-power-reference): Rename from
8279 `calc-logunits-power-reference'.
8280 (calc-lu-field-reference): Rename from
8281 `calc-logunits-field-reference'.
8282
8283 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8284
40c2934b
SM
82852011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * minibuffer.el (completion-all-sorted-completions):
8288 Use :completion-cycle-penalty text property if present.
8289
b0911414
KM
82902011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8291
8292 * allout.el (allout-yank-processing): Adjust for new rebulleting
8293 regime so bullet being yanked is used without prompting the user
8294 for a choice.
8295
8a05b668
JB
82962011-03-16 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * startup.el (command-line): Warn the user that _emacs is deprecated.
8299
5ba5fb81
JB
83002011-03-16 Juanma Barranquero <lekktu@gmail.com>
8301
8302 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8303 (delphi-verbose, delphi-comment-face, delphi-string-face)
8304 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8305 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8306 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8307 (delphi-new-comment-line, delphi-font-lock-defaults)
8308 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8309 Fix typos in docstrings.
8310
2dab465b
KM
83112011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8312
5ba5fb81 8313 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8314 Invert the roles of character and string values for INSTEAD, so a
8315 string is used for the more common case of a defaulting prompt.
8316
0adf5618
SM
83172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8318
8319 * progmodes/ruby-mode.el (ruby-backward-sexp):
8320 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8321 * play/gamegrid.el (gamegrid-make-face):
8322 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8323 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8324 * notifications.el (notifications-notify):
8325 * net/xesam.el (xesam-search-engines):
8326 * net/quickurl.el (quickurl-list-insert):
8327 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8328
d72700e5
CY
83292011-03-15 Chong Yidong <cyd@stupidchicken.com>
8330
8331 * startup.el (command-line): Update package subdirectory regexp.
8332
49c5410a
SM
83332011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8334
c6eee9aa
SM
8335 * allout.el (allout-abbreviate-flattened-numbering)
8336 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8337
49c5410a
SM
8338 * subr.el (read-char-choice): Only show the cursor after the prompt,
8339 not after the answer.
8340
047b2bb9
KR
83412011-03-15 Kevin Ryde <user42@zip.com.au>
8342
8343 * help-fns.el (variable-at-point): Skip leading quotes, if any
8344 (bug#8253).
8345
0a57d256
SM
83462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8349 warning message.
8350
77c992bc
MA
83512011-03-14 Michael Albinus <michael.albinus@gmx.de>
8352
8353 * shell.el (shell): When called interactively, offer to change the
8354 shell file name on remote hosts.
8355
eebc475d
TZ
83562011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8357
8358 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8359 integration for LDAP parameters. The host, base, user or binddn,
8360 and secret tokens can be specified in a netrc file, for instance.
8361 This is optional because an `auth-source' parameter must be
8362 specified in the search attributes.
8363
9d05d1ba
JB
83642011-03-13 Juanma Barranquero <lekktu@gmail.com>
8365
8366 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8367
09d9db2c
GM
83682011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8371 into declaration. Remove redundant and harmful binding.
8372
83732011-03-12 Eli Zaretskii <eliz@gnu.org>
8374
8375 * files.el (file-ownership-preserved-p): Pass `integer' as an
8376 explicit 2nd argument to `file-attributes'. If the file's owner
8377 is the Administrators group on Windows, and the current user is
8378 Administrator, consider that a match.
8379
8380 * server.el (server-ensure-safe-dir): Consider server directory
8381 safe on MS-Windows if its owner is the Administrators group while
8382 the current Emacs user is Administrator. Use `=' to compare
8383 numerical UIDs, since they could be integers or floats.
8384
219bd536
JB
83852011-03-12 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8388
f3afd36b
MA
83892011-03-12 Michael Albinus <michael.albinus@gmx.de>
8390
8391 Sync with Tramp 2.2.1.
8392
8393 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8394
8395 * net/trampver.el: Update release number.
8396
3aaaa6f1
SM
83972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8398
94642599
SM
8399 * progmodes/compile.el (compilation--previous-directory): Fix up
8400 various nil/dead-marker mismatches (bug#8014).
8401 (compilation-directory-properties, compilation-error-properties):
8402 Don't call it at a position past the one we're about to change.
8403
3aaaa6f1
SM
8404 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8405 Disable obsolescence warnings in the file that declares it.
8406
14239447
KM
84072011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8408
099c39a4
JB
8409 * allout-widgets.el (allout-widgets-tally):
8410 Initialize allout-widgets-tally as a hash table rather than nil to
8411 prevent mode-line redisplay warnings. Also, clarify the module
8412 description and fix a comment typo.
14239447 8413
135e287c
JB
84142011-03-11 Juanma Barranquero <lekktu@gmail.com>
8415
8416 * help-fns.el (describe-variable): Don't complete keywords.
8417 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8418
ffbf300e
CY
84192011-03-10 Chong Yidong <cyd@stupidchicken.com>
8420
ba08b241
CY
8421 * emacs-lisp/package.el (package-version-join): Impose a standard
8422 string representation for pre/alpha/beta version lists.
8423 (package-unpack-single): Standardize the directory name by passing
8424 it through package-version-join.
8425 (package-strip-rcs-id): Accept any version string that does not
8426 signal an error in version-to-list.
ffbf300e 8427
f346fd6b
MA
84282011-03-10 Michael Albinus <michael.albinus@gmx.de>
8429
8430 * simple.el (delete-trailing-whitespace): Return nil for the
8431 benefit of `write-file-functions'.
8432
ccb55d27
GM
84332011-03-10 Glenn Morris <rgm@gnu.org>
8434
5ceaac0c
GM
8435 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8436
02da65ff
GM
8437 * vc/vc-git.el (vc-git-program): New option.
8438 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8439 (vc-git--call): Use it.
8440
b2f603cc
GM
8441 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8442
5772caab
GM
8443 * cus-edit.el (Custom-newline): If no button at point, look
8444 for a subgroup button at start-of-line. (Bug#2298)
8445
ccb55d27
GM
8446 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8447
ec6ecaed
JD
84482011-03-10 Julien Danjou <julien@danjou.info>
8449
8450 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8451 `cursor-type' is nil.
8452
9d5aa01d
JB
84532011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8454
8455 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8456
b6a5875b
KM
84572011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8458
8459 * allout.el Summary: Change so yank of distinctive-bullet items
8460 preserves the existing header prefix, rebulleting it if necessary,
8461 rather than replacing it. This is necessary for proper operation
8462 of cooperative addons like allout-widgets.
219bd536 8463 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8464 SOLICIT arg to INSTEAD, and interpret additionally a string value
8465 as alternate bullet to be used, instead of prompting the user for
8466 a bullet character.
8467
ee545c35
MA
84682011-03-09 Michael Albinus <michael.albinus@gmx.de>
8469
d86d2721
SM
8470 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8471 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8472 `tramp-default-port'.
8473
c47971d7
DD
84742011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8475
8476 * net/rcirc.el (rcirc-handler-001): Remove useless
8477 with-rcirc-process-buffer.
8478 (rcirc-check-auth-status): Swap arguments to string-match.
8479
13522cb4
GM
84802011-03-09 Glenn Morris <rgm@gnu.org>
8481
0be6f4f1
GM
8482 * shell.el (shell-mode):
8483 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8484
13522cb4
GM
8485 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8486 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8487
515de2e3
CY
84882011-03-08 Chong Yidong <cyd@stupidchicken.com>
8489
8490 * emacs-lisp/package.el (package-refresh-contents)
8491 (package-menu-execute): Use condition-case-no-debug.
8492
b511b994
MA
84932011-03-08 Michael Albinus <michael.albinus@gmx.de>
8494
8495 * simple.el (shell-command-to-string): Use `process-file'.
8496
8497 * emacs-lisp/package.el (package-tar-file-info): Handle also
8498 remote files.
8499
d86d2721
SM
8500 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8501 Use `equal' for upload base check.
b511b994 8502
25bbfb31
AM
85032011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8504
8505 * textmodes/texinfo.el (texinfo-environments):
8506 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8507
be996521
GM
85082011-03-08 Glenn Morris <rgm@gnu.org>
8509
e9c8529f
GM
8510 * cus-start.el (cursor-in-non-selected-windows):
8511 Fix :set quoting oddness. (Bug#8192)
8512
be996521
GM
8513 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8514 in some setf expressions. (Bug#2159)
8515
2bb5649e
CY
85162011-03-08 Chong Yidong <cyd@stupidchicken.com>
8517
8518 * custom.el (custom-available-themes): Return themes in
8519 alphabetical order.
8520
33383987 8521See ChangeLog.15 for earlier changes.
e3d51b27
MR
8522
8523;; Local Variables:
8524;; coding: utf-8
e3d51b27
MR
8525;; End:
8526
33383987 8527 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8528
8529 This file is part of GNU Emacs.
8530
8531 GNU Emacs is free software: you can redistribute it and/or modify
8532 it under the terms of the GNU General Public License as published by
8533 the Free Software Foundation, either version 3 of the License, or
8534 (at your option) any later version.
8535
8536 GNU Emacs is distributed in the hope that it will be useful,
8537 but WITHOUT ANY WARRANTY; without even the implied warranty of
8538 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8539 GNU General Public License for more details.
8540
8541 You should have received a copy of the GNU General Public License
8542 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.